@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,1050 @@
1
+ // source: auth.cluster.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.Auth.ClusterProto', null, global);
29
+ goog.exportSymbol('proto.Auth.ClusterProto.RetrieveRequest', null, global);
30
+ goog.exportSymbol('proto.Auth.ClusterProto.RetrieveRequest.SearchCase', null, global);
31
+ goog.exportSymbol('proto.Auth.ClusterProto.SearchReply', null, global);
32
+ goog.exportSymbol('proto.Auth.ClusterProto.SearchRequest', null, global);
33
+ /**
34
+ * Generated by JsPbCodeGenerator.
35
+ * @param {Array=} opt_data Optional initial data array, typically from a
36
+ * server response, or constructed directly in Javascript. The array is used
37
+ * in place and becomes part of the constructed object. It is not cloned.
38
+ * If no data is provided, the constructed object will be empty, but still
39
+ * valid.
40
+ * @extends {jspb.Message}
41
+ * @constructor
42
+ */
43
+ proto.Auth.ClusterProto = function(opt_data) {
44
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
45
+ };
46
+ goog.inherits(proto.Auth.ClusterProto, jspb.Message);
47
+ if (goog.DEBUG && !COMPILED) {
48
+ /**
49
+ * @public
50
+ * @override
51
+ */
52
+ proto.Auth.ClusterProto.displayName = 'proto.Auth.ClusterProto';
53
+ }
54
+ /**
55
+ * Generated by JsPbCodeGenerator.
56
+ * @param {Array=} opt_data Optional initial data array, typically from a
57
+ * server response, or constructed directly in Javascript. The array is used
58
+ * in place and becomes part of the constructed object. It is not cloned.
59
+ * If no data is provided, the constructed object will be empty, but still
60
+ * valid.
61
+ * @extends {jspb.Message}
62
+ * @constructor
63
+ */
64
+ proto.Auth.ClusterProto.RetrieveRequest = function(opt_data) {
65
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_);
66
+ };
67
+ goog.inherits(proto.Auth.ClusterProto.RetrieveRequest, jspb.Message);
68
+ if (goog.DEBUG && !COMPILED) {
69
+ /**
70
+ * @public
71
+ * @override
72
+ */
73
+ proto.Auth.ClusterProto.RetrieveRequest.displayName = 'proto.Auth.ClusterProto.RetrieveRequest';
74
+ }
75
+ /**
76
+ * Generated by JsPbCodeGenerator.
77
+ * @param {Array=} opt_data Optional initial data array, typically from a
78
+ * server response, or constructed directly in Javascript. The array is used
79
+ * in place and becomes part of the constructed object. It is not cloned.
80
+ * If no data is provided, the constructed object will be empty, but still
81
+ * valid.
82
+ * @extends {jspb.Message}
83
+ * @constructor
84
+ */
85
+ proto.Auth.ClusterProto.SearchRequest = function(opt_data) {
86
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
87
+ };
88
+ goog.inherits(proto.Auth.ClusterProto.SearchRequest, jspb.Message);
89
+ if (goog.DEBUG && !COMPILED) {
90
+ /**
91
+ * @public
92
+ * @override
93
+ */
94
+ proto.Auth.ClusterProto.SearchRequest.displayName = 'proto.Auth.ClusterProto.SearchRequest';
95
+ }
96
+ /**
97
+ * Generated by JsPbCodeGenerator.
98
+ * @param {Array=} opt_data Optional initial data array, typically from a
99
+ * server response, or constructed directly in Javascript. The array is used
100
+ * in place and becomes part of the constructed object. It is not cloned.
101
+ * If no data is provided, the constructed object will be empty, but still
102
+ * valid.
103
+ * @extends {jspb.Message}
104
+ * @constructor
105
+ */
106
+ proto.Auth.ClusterProto.SearchReply = function(opt_data) {
107
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.ClusterProto.SearchReply.repeatedFields_, null);
108
+ };
109
+ goog.inherits(proto.Auth.ClusterProto.SearchReply, jspb.Message);
110
+ if (goog.DEBUG && !COMPILED) {
111
+ /**
112
+ * @public
113
+ * @override
114
+ */
115
+ proto.Auth.ClusterProto.SearchReply.displayName = 'proto.Auth.ClusterProto.SearchReply';
116
+ }
117
+
118
+
119
+
120
+ if (jspb.Message.GENERATE_TO_OBJECT) {
121
+ /**
122
+ * Creates an object representation of this proto.
123
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
124
+ * Optional fields that are not set will be set to undefined.
125
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
126
+ * For the list of reserved names please see:
127
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
128
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
129
+ * JSPB instance for transitional soy proto support:
130
+ * http://goto/soy-param-migration
131
+ * @return {!Object}
132
+ */
133
+ proto.Auth.ClusterProto.prototype.toObject = function(opt_includeInstance) {
134
+ return proto.Auth.ClusterProto.toObject(opt_includeInstance, this);
135
+ };
136
+
137
+
138
+ /**
139
+ * Static version of the {@see toObject} method.
140
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
141
+ * the JSPB instance for transitional soy proto support:
142
+ * http://goto/soy-param-migration
143
+ * @param {!proto.Auth.ClusterProto} msg The msg instance to transform.
144
+ * @return {!Object}
145
+ * @suppress {unusedLocalVariables} f is only used for nested messages
146
+ */
147
+ proto.Auth.ClusterProto.toObject = function(includeInstance, msg) {
148
+ var f, obj = {
149
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
150
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
151
+ customName: jspb.Message.getFieldWithDefault(msg, 3, ""),
152
+ endpoint: jspb.Message.getFieldWithDefault(msg, 4, ""),
153
+ country: jspb.Message.getFieldWithDefault(msg, 6, "")
154
+ };
155
+
156
+ if (includeInstance) {
157
+ obj.$jspbMessageInstance = msg;
158
+ }
159
+ return obj;
160
+ };
161
+ }
162
+
163
+
164
+ /**
165
+ * Deserializes binary data (in protobuf wire format).
166
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
167
+ * @return {!proto.Auth.ClusterProto}
168
+ */
169
+ proto.Auth.ClusterProto.deserializeBinary = function(bytes) {
170
+ var reader = new jspb.BinaryReader(bytes);
171
+ var msg = new proto.Auth.ClusterProto;
172
+ return proto.Auth.ClusterProto.deserializeBinaryFromReader(msg, reader);
173
+ };
174
+
175
+
176
+ /**
177
+ * Deserializes binary data (in protobuf wire format) from the
178
+ * given reader into the given message object.
179
+ * @param {!proto.Auth.ClusterProto} msg The message object to deserialize into.
180
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
181
+ * @return {!proto.Auth.ClusterProto}
182
+ */
183
+ proto.Auth.ClusterProto.deserializeBinaryFromReader = function(msg, reader) {
184
+ while (reader.nextField()) {
185
+ if (reader.isEndGroup()) {
186
+ break;
187
+ }
188
+ var field = reader.getFieldNumber();
189
+ switch (field) {
190
+ case 1:
191
+ var value = /** @type {number} */ (reader.readInt64());
192
+ msg.setId(value);
193
+ break;
194
+ case 2:
195
+ var value = /** @type {string} */ (reader.readString());
196
+ msg.setName(value);
197
+ break;
198
+ case 3:
199
+ var value = /** @type {string} */ (reader.readString());
200
+ msg.setCustomName(value);
201
+ break;
202
+ case 4:
203
+ var value = /** @type {string} */ (reader.readString());
204
+ msg.setEndpoint(value);
205
+ break;
206
+ case 6:
207
+ var value = /** @type {string} */ (reader.readString());
208
+ msg.setCountry(value);
209
+ break;
210
+ default:
211
+ reader.skipField();
212
+ break;
213
+ }
214
+ }
215
+ return msg;
216
+ };
217
+
218
+
219
+ /**
220
+ * Serializes the message to binary data (in protobuf wire format).
221
+ * @return {!Uint8Array}
222
+ */
223
+ proto.Auth.ClusterProto.prototype.serializeBinary = function() {
224
+ var writer = new jspb.BinaryWriter();
225
+ proto.Auth.ClusterProto.serializeBinaryToWriter(this, writer);
226
+ return writer.getResultBuffer();
227
+ };
228
+
229
+
230
+ /**
231
+ * Serializes the given message to binary data (in protobuf wire
232
+ * format), writing to the given BinaryWriter.
233
+ * @param {!proto.Auth.ClusterProto} message
234
+ * @param {!jspb.BinaryWriter} writer
235
+ * @suppress {unusedLocalVariables} f is only used for nested messages
236
+ */
237
+ proto.Auth.ClusterProto.serializeBinaryToWriter = function(message, writer) {
238
+ var f = undefined;
239
+ f = message.getId();
240
+ if (f !== 0) {
241
+ writer.writeInt64(
242
+ 1,
243
+ f
244
+ );
245
+ }
246
+ f = message.getName();
247
+ if (f.length > 0) {
248
+ writer.writeString(
249
+ 2,
250
+ f
251
+ );
252
+ }
253
+ f = message.getCustomName();
254
+ if (f.length > 0) {
255
+ writer.writeString(
256
+ 3,
257
+ f
258
+ );
259
+ }
260
+ f = message.getEndpoint();
261
+ if (f.length > 0) {
262
+ writer.writeString(
263
+ 4,
264
+ f
265
+ );
266
+ }
267
+ f = message.getCountry();
268
+ if (f.length > 0) {
269
+ writer.writeString(
270
+ 6,
271
+ f
272
+ );
273
+ }
274
+ };
275
+
276
+
277
+
278
+ /**
279
+ * Oneof group definitions for this message. Each group defines the field
280
+ * numbers belonging to that group. When of these fields' value is set, all
281
+ * other fields in the group are cleared. During deserialization, if multiple
282
+ * fields are encountered for a group, only the last value seen will be kept.
283
+ * @private {!Array<!Array<number>>}
284
+ * @const
285
+ */
286
+ proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_ = [[1,2]];
287
+
288
+ /**
289
+ * @enum {number}
290
+ */
291
+ proto.Auth.ClusterProto.RetrieveRequest.SearchCase = {
292
+ SEARCH_NOT_SET: 0,
293
+ ID: 1,
294
+ NAME: 2
295
+ };
296
+
297
+ /**
298
+ * @return {proto.Auth.ClusterProto.RetrieveRequest.SearchCase}
299
+ */
300
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.getSearchCase = function() {
301
+ return /** @type {proto.Auth.ClusterProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0]));
302
+ };
303
+
304
+
305
+
306
+ if (jspb.Message.GENERATE_TO_OBJECT) {
307
+ /**
308
+ * Creates an object representation of this proto.
309
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
310
+ * Optional fields that are not set will be set to undefined.
311
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
312
+ * For the list of reserved names please see:
313
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
314
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
315
+ * JSPB instance for transitional soy proto support:
316
+ * http://goto/soy-param-migration
317
+ * @return {!Object}
318
+ */
319
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
320
+ return proto.Auth.ClusterProto.RetrieveRequest.toObject(opt_includeInstance, this);
321
+ };
322
+
323
+
324
+ /**
325
+ * Static version of the {@see toObject} method.
326
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
327
+ * the JSPB instance for transitional soy proto support:
328
+ * http://goto/soy-param-migration
329
+ * @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The msg instance to transform.
330
+ * @return {!Object}
331
+ * @suppress {unusedLocalVariables} f is only used for nested messages
332
+ */
333
+ proto.Auth.ClusterProto.RetrieveRequest.toObject = function(includeInstance, msg) {
334
+ var f, obj = {
335
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
336
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
337
+ };
338
+
339
+ if (includeInstance) {
340
+ obj.$jspbMessageInstance = msg;
341
+ }
342
+ return obj;
343
+ };
344
+ }
345
+
346
+
347
+ /**
348
+ * Deserializes binary data (in protobuf wire format).
349
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
350
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest}
351
+ */
352
+ proto.Auth.ClusterProto.RetrieveRequest.deserializeBinary = function(bytes) {
353
+ var reader = new jspb.BinaryReader(bytes);
354
+ var msg = new proto.Auth.ClusterProto.RetrieveRequest;
355
+ return proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
356
+ };
357
+
358
+
359
+ /**
360
+ * Deserializes binary data (in protobuf wire format) from the
361
+ * given reader into the given message object.
362
+ * @param {!proto.Auth.ClusterProto.RetrieveRequest} msg The message object to deserialize into.
363
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
364
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest}
365
+ */
366
+ proto.Auth.ClusterProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
367
+ while (reader.nextField()) {
368
+ if (reader.isEndGroup()) {
369
+ break;
370
+ }
371
+ var field = reader.getFieldNumber();
372
+ switch (field) {
373
+ case 1:
374
+ var value = /** @type {number} */ (reader.readInt64());
375
+ msg.setId(value);
376
+ break;
377
+ case 2:
378
+ var value = /** @type {string} */ (reader.readString());
379
+ msg.setName(value);
380
+ break;
381
+ default:
382
+ reader.skipField();
383
+ break;
384
+ }
385
+ }
386
+ return msg;
387
+ };
388
+
389
+
390
+ /**
391
+ * Serializes the message to binary data (in protobuf wire format).
392
+ * @return {!Uint8Array}
393
+ */
394
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.serializeBinary = function() {
395
+ var writer = new jspb.BinaryWriter();
396
+ proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
397
+ return writer.getResultBuffer();
398
+ };
399
+
400
+
401
+ /**
402
+ * Serializes the given message to binary data (in protobuf wire
403
+ * format), writing to the given BinaryWriter.
404
+ * @param {!proto.Auth.ClusterProto.RetrieveRequest} message
405
+ * @param {!jspb.BinaryWriter} writer
406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
407
+ */
408
+ proto.Auth.ClusterProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
409
+ var f = undefined;
410
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
411
+ if (f != null) {
412
+ writer.writeInt64(
413
+ 1,
414
+ f
415
+ );
416
+ }
417
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
418
+ if (f != null) {
419
+ writer.writeString(
420
+ 2,
421
+ f
422
+ );
423
+ }
424
+ };
425
+
426
+
427
+ /**
428
+ * optional int64 id = 1;
429
+ * @return {number}
430
+ */
431
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.getId = function() {
432
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
433
+ };
434
+
435
+
436
+ /**
437
+ * @param {number} value
438
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
439
+ */
440
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.setId = function(value) {
441
+ return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
442
+ };
443
+
444
+
445
+ /**
446
+ * Clears the field making it undefined.
447
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
448
+ */
449
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.clearId = function() {
450
+ return jspb.Message.setOneofField(this, 1, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
451
+ };
452
+
453
+
454
+ /**
455
+ * Returns whether this field is set.
456
+ * @return {boolean}
457
+ */
458
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.hasId = function() {
459
+ return jspb.Message.getField(this, 1) != null;
460
+ };
461
+
462
+
463
+ /**
464
+ * optional string name = 2;
465
+ * @return {string}
466
+ */
467
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.getName = function() {
468
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
469
+ };
470
+
471
+
472
+ /**
473
+ * @param {string} value
474
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
475
+ */
476
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.setName = function(value) {
477
+ return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], value);
478
+ };
479
+
480
+
481
+ /**
482
+ * Clears the field making it undefined.
483
+ * @return {!proto.Auth.ClusterProto.RetrieveRequest} returns this
484
+ */
485
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.clearName = function() {
486
+ return jspb.Message.setOneofField(this, 2, proto.Auth.ClusterProto.RetrieveRequest.oneofGroups_[0], undefined);
487
+ };
488
+
489
+
490
+ /**
491
+ * Returns whether this field is set.
492
+ * @return {boolean}
493
+ */
494
+ proto.Auth.ClusterProto.RetrieveRequest.prototype.hasName = function() {
495
+ return jspb.Message.getField(this, 2) != null;
496
+ };
497
+
498
+
499
+
500
+
501
+
502
+ if (jspb.Message.GENERATE_TO_OBJECT) {
503
+ /**
504
+ * Creates an object representation of this proto.
505
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
506
+ * Optional fields that are not set will be set to undefined.
507
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
508
+ * For the list of reserved names please see:
509
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
510
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
511
+ * JSPB instance for transitional soy proto support:
512
+ * http://goto/soy-param-migration
513
+ * @return {!Object}
514
+ */
515
+ proto.Auth.ClusterProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
516
+ return proto.Auth.ClusterProto.SearchRequest.toObject(opt_includeInstance, this);
517
+ };
518
+
519
+
520
+ /**
521
+ * Static version of the {@see toObject} method.
522
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
523
+ * the JSPB instance for transitional soy proto support:
524
+ * http://goto/soy-param-migration
525
+ * @param {!proto.Auth.ClusterProto.SearchRequest} msg The msg instance to transform.
526
+ * @return {!Object}
527
+ * @suppress {unusedLocalVariables} f is only used for nested messages
528
+ */
529
+ proto.Auth.ClusterProto.SearchRequest.toObject = function(includeInstance, msg) {
530
+ var f, obj = {
531
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
532
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
533
+ customName: jspb.Message.getFieldWithDefault(msg, 3, ""),
534
+ page: jspb.Message.getFieldWithDefault(msg, 4, 0),
535
+ count: jspb.Message.getFieldWithDefault(msg, 5, 0)
536
+ };
537
+
538
+ if (includeInstance) {
539
+ obj.$jspbMessageInstance = msg;
540
+ }
541
+ return obj;
542
+ };
543
+ }
544
+
545
+
546
+ /**
547
+ * Deserializes binary data (in protobuf wire format).
548
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
549
+ * @return {!proto.Auth.ClusterProto.SearchRequest}
550
+ */
551
+ proto.Auth.ClusterProto.SearchRequest.deserializeBinary = function(bytes) {
552
+ var reader = new jspb.BinaryReader(bytes);
553
+ var msg = new proto.Auth.ClusterProto.SearchRequest;
554
+ return proto.Auth.ClusterProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
555
+ };
556
+
557
+
558
+ /**
559
+ * Deserializes binary data (in protobuf wire format) from the
560
+ * given reader into the given message object.
561
+ * @param {!proto.Auth.ClusterProto.SearchRequest} msg The message object to deserialize into.
562
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
563
+ * @return {!proto.Auth.ClusterProto.SearchRequest}
564
+ */
565
+ proto.Auth.ClusterProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
566
+ while (reader.nextField()) {
567
+ if (reader.isEndGroup()) {
568
+ break;
569
+ }
570
+ var field = reader.getFieldNumber();
571
+ switch (field) {
572
+ case 1:
573
+ var value = /** @type {number} */ (reader.readInt64());
574
+ msg.setId(value);
575
+ break;
576
+ case 2:
577
+ var value = /** @type {string} */ (reader.readString());
578
+ msg.setName(value);
579
+ break;
580
+ case 3:
581
+ var value = /** @type {string} */ (reader.readString());
582
+ msg.setCustomName(value);
583
+ break;
584
+ case 4:
585
+ var value = /** @type {number} */ (reader.readInt32());
586
+ msg.setPage(value);
587
+ break;
588
+ case 5:
589
+ var value = /** @type {number} */ (reader.readInt32());
590
+ msg.setCount(value);
591
+ break;
592
+ default:
593
+ reader.skipField();
594
+ break;
595
+ }
596
+ }
597
+ return msg;
598
+ };
599
+
600
+
601
+ /**
602
+ * Serializes the message to binary data (in protobuf wire format).
603
+ * @return {!Uint8Array}
604
+ */
605
+ proto.Auth.ClusterProto.SearchRequest.prototype.serializeBinary = function() {
606
+ var writer = new jspb.BinaryWriter();
607
+ proto.Auth.ClusterProto.SearchRequest.serializeBinaryToWriter(this, writer);
608
+ return writer.getResultBuffer();
609
+ };
610
+
611
+
612
+ /**
613
+ * Serializes the given message to binary data (in protobuf wire
614
+ * format), writing to the given BinaryWriter.
615
+ * @param {!proto.Auth.ClusterProto.SearchRequest} message
616
+ * @param {!jspb.BinaryWriter} writer
617
+ * @suppress {unusedLocalVariables} f is only used for nested messages
618
+ */
619
+ proto.Auth.ClusterProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
620
+ var f = undefined;
621
+ f = message.getId();
622
+ if (f !== 0) {
623
+ writer.writeInt64(
624
+ 1,
625
+ f
626
+ );
627
+ }
628
+ f = message.getName();
629
+ if (f.length > 0) {
630
+ writer.writeString(
631
+ 2,
632
+ f
633
+ );
634
+ }
635
+ f = message.getCustomName();
636
+ if (f.length > 0) {
637
+ writer.writeString(
638
+ 3,
639
+ f
640
+ );
641
+ }
642
+ f = message.getPage();
643
+ if (f !== 0) {
644
+ writer.writeInt32(
645
+ 4,
646
+ f
647
+ );
648
+ }
649
+ f = message.getCount();
650
+ if (f !== 0) {
651
+ writer.writeInt32(
652
+ 5,
653
+ f
654
+ );
655
+ }
656
+ };
657
+
658
+
659
+ /**
660
+ * optional int64 id = 1;
661
+ * @return {number}
662
+ */
663
+ proto.Auth.ClusterProto.SearchRequest.prototype.getId = function() {
664
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
665
+ };
666
+
667
+
668
+ /**
669
+ * @param {number} value
670
+ * @return {!proto.Auth.ClusterProto.SearchRequest} returns this
671
+ */
672
+ proto.Auth.ClusterProto.SearchRequest.prototype.setId = function(value) {
673
+ return jspb.Message.setProto3IntField(this, 1, value);
674
+ };
675
+
676
+
677
+ /**
678
+ * optional string name = 2;
679
+ * @return {string}
680
+ */
681
+ proto.Auth.ClusterProto.SearchRequest.prototype.getName = function() {
682
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
683
+ };
684
+
685
+
686
+ /**
687
+ * @param {string} value
688
+ * @return {!proto.Auth.ClusterProto.SearchRequest} returns this
689
+ */
690
+ proto.Auth.ClusterProto.SearchRequest.prototype.setName = function(value) {
691
+ return jspb.Message.setProto3StringField(this, 2, value);
692
+ };
693
+
694
+
695
+ /**
696
+ * optional string custom_name = 3;
697
+ * @return {string}
698
+ */
699
+ proto.Auth.ClusterProto.SearchRequest.prototype.getCustomName = function() {
700
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
701
+ };
702
+
703
+
704
+ /**
705
+ * @param {string} value
706
+ * @return {!proto.Auth.ClusterProto.SearchRequest} returns this
707
+ */
708
+ proto.Auth.ClusterProto.SearchRequest.prototype.setCustomName = function(value) {
709
+ return jspb.Message.setProto3StringField(this, 3, value);
710
+ };
711
+
712
+
713
+ /**
714
+ * optional int32 page = 4;
715
+ * @return {number}
716
+ */
717
+ proto.Auth.ClusterProto.SearchRequest.prototype.getPage = function() {
718
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
719
+ };
720
+
721
+
722
+ /**
723
+ * @param {number} value
724
+ * @return {!proto.Auth.ClusterProto.SearchRequest} returns this
725
+ */
726
+ proto.Auth.ClusterProto.SearchRequest.prototype.setPage = function(value) {
727
+ return jspb.Message.setProto3IntField(this, 4, value);
728
+ };
729
+
730
+
731
+ /**
732
+ * optional int32 count = 5;
733
+ * @return {number}
734
+ */
735
+ proto.Auth.ClusterProto.SearchRequest.prototype.getCount = function() {
736
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
737
+ };
738
+
739
+
740
+ /**
741
+ * @param {number} value
742
+ * @return {!proto.Auth.ClusterProto.SearchRequest} returns this
743
+ */
744
+ proto.Auth.ClusterProto.SearchRequest.prototype.setCount = function(value) {
745
+ return jspb.Message.setProto3IntField(this, 5, value);
746
+ };
747
+
748
+
749
+
750
+ /**
751
+ * List of repeated fields within this message type.
752
+ * @private {!Array<number>}
753
+ * @const
754
+ */
755
+ proto.Auth.ClusterProto.SearchReply.repeatedFields_ = [1];
756
+
757
+
758
+
759
+ if (jspb.Message.GENERATE_TO_OBJECT) {
760
+ /**
761
+ * Creates an object representation of this proto.
762
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
763
+ * Optional fields that are not set will be set to undefined.
764
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
765
+ * For the list of reserved names please see:
766
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
767
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
768
+ * JSPB instance for transitional soy proto support:
769
+ * http://goto/soy-param-migration
770
+ * @return {!Object}
771
+ */
772
+ proto.Auth.ClusterProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
773
+ return proto.Auth.ClusterProto.SearchReply.toObject(opt_includeInstance, this);
774
+ };
775
+
776
+
777
+ /**
778
+ * Static version of the {@see toObject} method.
779
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
780
+ * the JSPB instance for transitional soy proto support:
781
+ * http://goto/soy-param-migration
782
+ * @param {!proto.Auth.ClusterProto.SearchReply} msg The msg instance to transform.
783
+ * @return {!Object}
784
+ * @suppress {unusedLocalVariables} f is only used for nested messages
785
+ */
786
+ proto.Auth.ClusterProto.SearchReply.toObject = function(includeInstance, msg) {
787
+ var f, obj = {
788
+ clustersList: jspb.Message.toObjectList(msg.getClustersList(),
789
+ proto.Auth.ClusterProto.toObject, includeInstance),
790
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
791
+ };
792
+
793
+ if (includeInstance) {
794
+ obj.$jspbMessageInstance = msg;
795
+ }
796
+ return obj;
797
+ };
798
+ }
799
+
800
+
801
+ /**
802
+ * Deserializes binary data (in protobuf wire format).
803
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
804
+ * @return {!proto.Auth.ClusterProto.SearchReply}
805
+ */
806
+ proto.Auth.ClusterProto.SearchReply.deserializeBinary = function(bytes) {
807
+ var reader = new jspb.BinaryReader(bytes);
808
+ var msg = new proto.Auth.ClusterProto.SearchReply;
809
+ return proto.Auth.ClusterProto.SearchReply.deserializeBinaryFromReader(msg, reader);
810
+ };
811
+
812
+
813
+ /**
814
+ * Deserializes binary data (in protobuf wire format) from the
815
+ * given reader into the given message object.
816
+ * @param {!proto.Auth.ClusterProto.SearchReply} msg The message object to deserialize into.
817
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
818
+ * @return {!proto.Auth.ClusterProto.SearchReply}
819
+ */
820
+ proto.Auth.ClusterProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
821
+ while (reader.nextField()) {
822
+ if (reader.isEndGroup()) {
823
+ break;
824
+ }
825
+ var field = reader.getFieldNumber();
826
+ switch (field) {
827
+ case 1:
828
+ var value = new proto.Auth.ClusterProto;
829
+ reader.readMessage(value,proto.Auth.ClusterProto.deserializeBinaryFromReader);
830
+ msg.addClusters(value);
831
+ break;
832
+ case 2:
833
+ var value = new platform_pagination_pb.PaginationProto;
834
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
835
+ msg.setPagination(value);
836
+ break;
837
+ default:
838
+ reader.skipField();
839
+ break;
840
+ }
841
+ }
842
+ return msg;
843
+ };
844
+
845
+
846
+ /**
847
+ * Serializes the message to binary data (in protobuf wire format).
848
+ * @return {!Uint8Array}
849
+ */
850
+ proto.Auth.ClusterProto.SearchReply.prototype.serializeBinary = function() {
851
+ var writer = new jspb.BinaryWriter();
852
+ proto.Auth.ClusterProto.SearchReply.serializeBinaryToWriter(this, writer);
853
+ return writer.getResultBuffer();
854
+ };
855
+
856
+
857
+ /**
858
+ * Serializes the given message to binary data (in protobuf wire
859
+ * format), writing to the given BinaryWriter.
860
+ * @param {!proto.Auth.ClusterProto.SearchReply} message
861
+ * @param {!jspb.BinaryWriter} writer
862
+ * @suppress {unusedLocalVariables} f is only used for nested messages
863
+ */
864
+ proto.Auth.ClusterProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
865
+ var f = undefined;
866
+ f = message.getClustersList();
867
+ if (f.length > 0) {
868
+ writer.writeRepeatedMessage(
869
+ 1,
870
+ f,
871
+ proto.Auth.ClusterProto.serializeBinaryToWriter
872
+ );
873
+ }
874
+ f = message.getPagination();
875
+ if (f != null) {
876
+ writer.writeMessage(
877
+ 2,
878
+ f,
879
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
880
+ );
881
+ }
882
+ };
883
+
884
+
885
+ /**
886
+ * repeated ClusterProto Clusters = 1;
887
+ * @return {!Array<!proto.Auth.ClusterProto>}
888
+ */
889
+ proto.Auth.ClusterProto.SearchReply.prototype.getClustersList = function() {
890
+ return /** @type{!Array<!proto.Auth.ClusterProto>} */ (
891
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.ClusterProto, 1));
892
+ };
893
+
894
+
895
+ /**
896
+ * @param {!Array<!proto.Auth.ClusterProto>} value
897
+ * @return {!proto.Auth.ClusterProto.SearchReply} returns this
898
+ */
899
+ proto.Auth.ClusterProto.SearchReply.prototype.setClustersList = function(value) {
900
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
901
+ };
902
+
903
+
904
+ /**
905
+ * @param {!proto.Auth.ClusterProto=} opt_value
906
+ * @param {number=} opt_index
907
+ * @return {!proto.Auth.ClusterProto}
908
+ */
909
+ proto.Auth.ClusterProto.SearchReply.prototype.addClusters = function(opt_value, opt_index) {
910
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.ClusterProto, opt_index);
911
+ };
912
+
913
+
914
+ /**
915
+ * Clears the list making it empty but non-null.
916
+ * @return {!proto.Auth.ClusterProto.SearchReply} returns this
917
+ */
918
+ proto.Auth.ClusterProto.SearchReply.prototype.clearClustersList = function() {
919
+ return this.setClustersList([]);
920
+ };
921
+
922
+
923
+ /**
924
+ * optional Platform.PaginationProto pagination = 2;
925
+ * @return {?proto.Platform.PaginationProto}
926
+ */
927
+ proto.Auth.ClusterProto.SearchReply.prototype.getPagination = function() {
928
+ return /** @type{?proto.Platform.PaginationProto} */ (
929
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
930
+ };
931
+
932
+
933
+ /**
934
+ * @param {?proto.Platform.PaginationProto|undefined} value
935
+ * @return {!proto.Auth.ClusterProto.SearchReply} returns this
936
+ */
937
+ proto.Auth.ClusterProto.SearchReply.prototype.setPagination = function(value) {
938
+ return jspb.Message.setWrapperField(this, 2, value);
939
+ };
940
+
941
+
942
+ /**
943
+ * Clears the message field making it undefined.
944
+ * @return {!proto.Auth.ClusterProto.SearchReply} returns this
945
+ */
946
+ proto.Auth.ClusterProto.SearchReply.prototype.clearPagination = function() {
947
+ return this.setPagination(undefined);
948
+ };
949
+
950
+
951
+ /**
952
+ * Returns whether this field is set.
953
+ * @return {boolean}
954
+ */
955
+ proto.Auth.ClusterProto.SearchReply.prototype.hasPagination = function() {
956
+ return jspb.Message.getField(this, 2) != null;
957
+ };
958
+
959
+
960
+ /**
961
+ * optional int64 id = 1;
962
+ * @return {number}
963
+ */
964
+ proto.Auth.ClusterProto.prototype.getId = function() {
965
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
966
+ };
967
+
968
+
969
+ /**
970
+ * @param {number} value
971
+ * @return {!proto.Auth.ClusterProto} returns this
972
+ */
973
+ proto.Auth.ClusterProto.prototype.setId = function(value) {
974
+ return jspb.Message.setProto3IntField(this, 1, value);
975
+ };
976
+
977
+
978
+ /**
979
+ * optional string name = 2;
980
+ * @return {string}
981
+ */
982
+ proto.Auth.ClusterProto.prototype.getName = function() {
983
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
984
+ };
985
+
986
+
987
+ /**
988
+ * @param {string} value
989
+ * @return {!proto.Auth.ClusterProto} returns this
990
+ */
991
+ proto.Auth.ClusterProto.prototype.setName = function(value) {
992
+ return jspb.Message.setProto3StringField(this, 2, value);
993
+ };
994
+
995
+
996
+ /**
997
+ * optional string custom_name = 3;
998
+ * @return {string}
999
+ */
1000
+ proto.Auth.ClusterProto.prototype.getCustomName = function() {
1001
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1002
+ };
1003
+
1004
+
1005
+ /**
1006
+ * @param {string} value
1007
+ * @return {!proto.Auth.ClusterProto} returns this
1008
+ */
1009
+ proto.Auth.ClusterProto.prototype.setCustomName = function(value) {
1010
+ return jspb.Message.setProto3StringField(this, 3, value);
1011
+ };
1012
+
1013
+
1014
+ /**
1015
+ * optional string endpoint = 4;
1016
+ * @return {string}
1017
+ */
1018
+ proto.Auth.ClusterProto.prototype.getEndpoint = function() {
1019
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1020
+ };
1021
+
1022
+
1023
+ /**
1024
+ * @param {string} value
1025
+ * @return {!proto.Auth.ClusterProto} returns this
1026
+ */
1027
+ proto.Auth.ClusterProto.prototype.setEndpoint = function(value) {
1028
+ return jspb.Message.setProto3StringField(this, 4, value);
1029
+ };
1030
+
1031
+
1032
+ /**
1033
+ * optional string country = 6;
1034
+ * @return {string}
1035
+ */
1036
+ proto.Auth.ClusterProto.prototype.getCountry = function() {
1037
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1038
+ };
1039
+
1040
+
1041
+ /**
1042
+ * @param {string} value
1043
+ * @return {!proto.Auth.ClusterProto} returns this
1044
+ */
1045
+ proto.Auth.ClusterProto.prototype.setCountry = function(value) {
1046
+ return jspb.Message.setProto3StringField(this, 6, value);
1047
+ };
1048
+
1049
+
1050
+ goog.object.extend(exports, proto.Auth);