@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,803 @@
1
+ // source: google/api/documentation.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
+ goog.exportSymbol('proto.google.api.Documentation', null, global);
25
+ goog.exportSymbol('proto.google.api.DocumentationRule', null, global);
26
+ goog.exportSymbol('proto.google.api.Page', null, global);
27
+ /**
28
+ * Generated by JsPbCodeGenerator.
29
+ * @param {Array=} opt_data Optional initial data array, typically from a
30
+ * server response, or constructed directly in Javascript. The array is used
31
+ * in place and becomes part of the constructed object. It is not cloned.
32
+ * If no data is provided, the constructed object will be empty, but still
33
+ * valid.
34
+ * @extends {jspb.Message}
35
+ * @constructor
36
+ */
37
+ proto.google.api.Documentation = function(opt_data) {
38
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Documentation.repeatedFields_, null);
39
+ };
40
+ goog.inherits(proto.google.api.Documentation, jspb.Message);
41
+ if (goog.DEBUG && !COMPILED) {
42
+ /**
43
+ * @public
44
+ * @override
45
+ */
46
+ proto.google.api.Documentation.displayName = 'proto.google.api.Documentation';
47
+ }
48
+ /**
49
+ * Generated by JsPbCodeGenerator.
50
+ * @param {Array=} opt_data Optional initial data array, typically from a
51
+ * server response, or constructed directly in Javascript. The array is used
52
+ * in place and becomes part of the constructed object. It is not cloned.
53
+ * If no data is provided, the constructed object will be empty, but still
54
+ * valid.
55
+ * @extends {jspb.Message}
56
+ * @constructor
57
+ */
58
+ proto.google.api.DocumentationRule = function(opt_data) {
59
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
60
+ };
61
+ goog.inherits(proto.google.api.DocumentationRule, jspb.Message);
62
+ if (goog.DEBUG && !COMPILED) {
63
+ /**
64
+ * @public
65
+ * @override
66
+ */
67
+ proto.google.api.DocumentationRule.displayName = 'proto.google.api.DocumentationRule';
68
+ }
69
+ /**
70
+ * Generated by JsPbCodeGenerator.
71
+ * @param {Array=} opt_data Optional initial data array, typically from a
72
+ * server response, or constructed directly in Javascript. The array is used
73
+ * in place and becomes part of the constructed object. It is not cloned.
74
+ * If no data is provided, the constructed object will be empty, but still
75
+ * valid.
76
+ * @extends {jspb.Message}
77
+ * @constructor
78
+ */
79
+ proto.google.api.Page = function(opt_data) {
80
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Page.repeatedFields_, null);
81
+ };
82
+ goog.inherits(proto.google.api.Page, jspb.Message);
83
+ if (goog.DEBUG && !COMPILED) {
84
+ /**
85
+ * @public
86
+ * @override
87
+ */
88
+ proto.google.api.Page.displayName = 'proto.google.api.Page';
89
+ }
90
+
91
+ /**
92
+ * List of repeated fields within this message type.
93
+ * @private {!Array<number>}
94
+ * @const
95
+ */
96
+ proto.google.api.Documentation.repeatedFields_ = [5,3];
97
+
98
+
99
+
100
+ if (jspb.Message.GENERATE_TO_OBJECT) {
101
+ /**
102
+ * Creates an object representation of this proto.
103
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
104
+ * Optional fields that are not set will be set to undefined.
105
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
106
+ * For the list of reserved names please see:
107
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
108
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
109
+ * JSPB instance for transitional soy proto support:
110
+ * http://goto/soy-param-migration
111
+ * @return {!Object}
112
+ */
113
+ proto.google.api.Documentation.prototype.toObject = function(opt_includeInstance) {
114
+ return proto.google.api.Documentation.toObject(opt_includeInstance, this);
115
+ };
116
+
117
+
118
+ /**
119
+ * Static version of the {@see toObject} method.
120
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
121
+ * the JSPB instance for transitional soy proto support:
122
+ * http://goto/soy-param-migration
123
+ * @param {!proto.google.api.Documentation} msg The msg instance to transform.
124
+ * @return {!Object}
125
+ * @suppress {unusedLocalVariables} f is only used for nested messages
126
+ */
127
+ proto.google.api.Documentation.toObject = function(includeInstance, msg) {
128
+ var f, obj = {
129
+ summary: jspb.Message.getFieldWithDefault(msg, 1, ""),
130
+ pagesList: jspb.Message.toObjectList(msg.getPagesList(),
131
+ proto.google.api.Page.toObject, includeInstance),
132
+ rulesList: jspb.Message.toObjectList(msg.getRulesList(),
133
+ proto.google.api.DocumentationRule.toObject, includeInstance),
134
+ documentationRootUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
135
+ overview: jspb.Message.getFieldWithDefault(msg, 2, "")
136
+ };
137
+
138
+ if (includeInstance) {
139
+ obj.$jspbMessageInstance = msg;
140
+ }
141
+ return obj;
142
+ };
143
+ }
144
+
145
+
146
+ /**
147
+ * Deserializes binary data (in protobuf wire format).
148
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
149
+ * @return {!proto.google.api.Documentation}
150
+ */
151
+ proto.google.api.Documentation.deserializeBinary = function(bytes) {
152
+ var reader = new jspb.BinaryReader(bytes);
153
+ var msg = new proto.google.api.Documentation;
154
+ return proto.google.api.Documentation.deserializeBinaryFromReader(msg, reader);
155
+ };
156
+
157
+
158
+ /**
159
+ * Deserializes binary data (in protobuf wire format) from the
160
+ * given reader into the given message object.
161
+ * @param {!proto.google.api.Documentation} msg The message object to deserialize into.
162
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
163
+ * @return {!proto.google.api.Documentation}
164
+ */
165
+ proto.google.api.Documentation.deserializeBinaryFromReader = function(msg, reader) {
166
+ while (reader.nextField()) {
167
+ if (reader.isEndGroup()) {
168
+ break;
169
+ }
170
+ var field = reader.getFieldNumber();
171
+ switch (field) {
172
+ case 1:
173
+ var value = /** @type {string} */ (reader.readString());
174
+ msg.setSummary(value);
175
+ break;
176
+ case 5:
177
+ var value = new proto.google.api.Page;
178
+ reader.readMessage(value,proto.google.api.Page.deserializeBinaryFromReader);
179
+ msg.addPages(value);
180
+ break;
181
+ case 3:
182
+ var value = new proto.google.api.DocumentationRule;
183
+ reader.readMessage(value,proto.google.api.DocumentationRule.deserializeBinaryFromReader);
184
+ msg.addRules(value);
185
+ break;
186
+ case 4:
187
+ var value = /** @type {string} */ (reader.readString());
188
+ msg.setDocumentationRootUrl(value);
189
+ break;
190
+ case 2:
191
+ var value = /** @type {string} */ (reader.readString());
192
+ msg.setOverview(value);
193
+ break;
194
+ default:
195
+ reader.skipField();
196
+ break;
197
+ }
198
+ }
199
+ return msg;
200
+ };
201
+
202
+
203
+ /**
204
+ * Serializes the message to binary data (in protobuf wire format).
205
+ * @return {!Uint8Array}
206
+ */
207
+ proto.google.api.Documentation.prototype.serializeBinary = function() {
208
+ var writer = new jspb.BinaryWriter();
209
+ proto.google.api.Documentation.serializeBinaryToWriter(this, writer);
210
+ return writer.getResultBuffer();
211
+ };
212
+
213
+
214
+ /**
215
+ * Serializes the given message to binary data (in protobuf wire
216
+ * format), writing to the given BinaryWriter.
217
+ * @param {!proto.google.api.Documentation} message
218
+ * @param {!jspb.BinaryWriter} writer
219
+ * @suppress {unusedLocalVariables} f is only used for nested messages
220
+ */
221
+ proto.google.api.Documentation.serializeBinaryToWriter = function(message, writer) {
222
+ var f = undefined;
223
+ f = message.getSummary();
224
+ if (f.length > 0) {
225
+ writer.writeString(
226
+ 1,
227
+ f
228
+ );
229
+ }
230
+ f = message.getPagesList();
231
+ if (f.length > 0) {
232
+ writer.writeRepeatedMessage(
233
+ 5,
234
+ f,
235
+ proto.google.api.Page.serializeBinaryToWriter
236
+ );
237
+ }
238
+ f = message.getRulesList();
239
+ if (f.length > 0) {
240
+ writer.writeRepeatedMessage(
241
+ 3,
242
+ f,
243
+ proto.google.api.DocumentationRule.serializeBinaryToWriter
244
+ );
245
+ }
246
+ f = message.getDocumentationRootUrl();
247
+ if (f.length > 0) {
248
+ writer.writeString(
249
+ 4,
250
+ f
251
+ );
252
+ }
253
+ f = message.getOverview();
254
+ if (f.length > 0) {
255
+ writer.writeString(
256
+ 2,
257
+ f
258
+ );
259
+ }
260
+ };
261
+
262
+
263
+ /**
264
+ * optional string summary = 1;
265
+ * @return {string}
266
+ */
267
+ proto.google.api.Documentation.prototype.getSummary = function() {
268
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
269
+ };
270
+
271
+
272
+ /**
273
+ * @param {string} value
274
+ * @return {!proto.google.api.Documentation} returns this
275
+ */
276
+ proto.google.api.Documentation.prototype.setSummary = function(value) {
277
+ return jspb.Message.setProto3StringField(this, 1, value);
278
+ };
279
+
280
+
281
+ /**
282
+ * repeated Page pages = 5;
283
+ * @return {!Array<!proto.google.api.Page>}
284
+ */
285
+ proto.google.api.Documentation.prototype.getPagesList = function() {
286
+ return /** @type{!Array<!proto.google.api.Page>} */ (
287
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.Page, 5));
288
+ };
289
+
290
+
291
+ /**
292
+ * @param {!Array<!proto.google.api.Page>} value
293
+ * @return {!proto.google.api.Documentation} returns this
294
+ */
295
+ proto.google.api.Documentation.prototype.setPagesList = function(value) {
296
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
297
+ };
298
+
299
+
300
+ /**
301
+ * @param {!proto.google.api.Page=} opt_value
302
+ * @param {number=} opt_index
303
+ * @return {!proto.google.api.Page}
304
+ */
305
+ proto.google.api.Documentation.prototype.addPages = function(opt_value, opt_index) {
306
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.google.api.Page, opt_index);
307
+ };
308
+
309
+
310
+ /**
311
+ * Clears the list making it empty but non-null.
312
+ * @return {!proto.google.api.Documentation} returns this
313
+ */
314
+ proto.google.api.Documentation.prototype.clearPagesList = function() {
315
+ return this.setPagesList([]);
316
+ };
317
+
318
+
319
+ /**
320
+ * repeated DocumentationRule rules = 3;
321
+ * @return {!Array<!proto.google.api.DocumentationRule>}
322
+ */
323
+ proto.google.api.Documentation.prototype.getRulesList = function() {
324
+ return /** @type{!Array<!proto.google.api.DocumentationRule>} */ (
325
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.DocumentationRule, 3));
326
+ };
327
+
328
+
329
+ /**
330
+ * @param {!Array<!proto.google.api.DocumentationRule>} value
331
+ * @return {!proto.google.api.Documentation} returns this
332
+ */
333
+ proto.google.api.Documentation.prototype.setRulesList = function(value) {
334
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
335
+ };
336
+
337
+
338
+ /**
339
+ * @param {!proto.google.api.DocumentationRule=} opt_value
340
+ * @param {number=} opt_index
341
+ * @return {!proto.google.api.DocumentationRule}
342
+ */
343
+ proto.google.api.Documentation.prototype.addRules = function(opt_value, opt_index) {
344
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.DocumentationRule, opt_index);
345
+ };
346
+
347
+
348
+ /**
349
+ * Clears the list making it empty but non-null.
350
+ * @return {!proto.google.api.Documentation} returns this
351
+ */
352
+ proto.google.api.Documentation.prototype.clearRulesList = function() {
353
+ return this.setRulesList([]);
354
+ };
355
+
356
+
357
+ /**
358
+ * optional string documentation_root_url = 4;
359
+ * @return {string}
360
+ */
361
+ proto.google.api.Documentation.prototype.getDocumentationRootUrl = function() {
362
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
363
+ };
364
+
365
+
366
+ /**
367
+ * @param {string} value
368
+ * @return {!proto.google.api.Documentation} returns this
369
+ */
370
+ proto.google.api.Documentation.prototype.setDocumentationRootUrl = function(value) {
371
+ return jspb.Message.setProto3StringField(this, 4, value);
372
+ };
373
+
374
+
375
+ /**
376
+ * optional string overview = 2;
377
+ * @return {string}
378
+ */
379
+ proto.google.api.Documentation.prototype.getOverview = function() {
380
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
381
+ };
382
+
383
+
384
+ /**
385
+ * @param {string} value
386
+ * @return {!proto.google.api.Documentation} returns this
387
+ */
388
+ proto.google.api.Documentation.prototype.setOverview = function(value) {
389
+ return jspb.Message.setProto3StringField(this, 2, value);
390
+ };
391
+
392
+
393
+
394
+
395
+
396
+ if (jspb.Message.GENERATE_TO_OBJECT) {
397
+ /**
398
+ * Creates an object representation of this proto.
399
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
400
+ * Optional fields that are not set will be set to undefined.
401
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
402
+ * For the list of reserved names please see:
403
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
404
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
405
+ * JSPB instance for transitional soy proto support:
406
+ * http://goto/soy-param-migration
407
+ * @return {!Object}
408
+ */
409
+ proto.google.api.DocumentationRule.prototype.toObject = function(opt_includeInstance) {
410
+ return proto.google.api.DocumentationRule.toObject(opt_includeInstance, this);
411
+ };
412
+
413
+
414
+ /**
415
+ * Static version of the {@see toObject} method.
416
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
417
+ * the JSPB instance for transitional soy proto support:
418
+ * http://goto/soy-param-migration
419
+ * @param {!proto.google.api.DocumentationRule} msg The msg instance to transform.
420
+ * @return {!Object}
421
+ * @suppress {unusedLocalVariables} f is only used for nested messages
422
+ */
423
+ proto.google.api.DocumentationRule.toObject = function(includeInstance, msg) {
424
+ var f, obj = {
425
+ selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
426
+ description: jspb.Message.getFieldWithDefault(msg, 2, ""),
427
+ deprecationDescription: jspb.Message.getFieldWithDefault(msg, 3, "")
428
+ };
429
+
430
+ if (includeInstance) {
431
+ obj.$jspbMessageInstance = msg;
432
+ }
433
+ return obj;
434
+ };
435
+ }
436
+
437
+
438
+ /**
439
+ * Deserializes binary data (in protobuf wire format).
440
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
441
+ * @return {!proto.google.api.DocumentationRule}
442
+ */
443
+ proto.google.api.DocumentationRule.deserializeBinary = function(bytes) {
444
+ var reader = new jspb.BinaryReader(bytes);
445
+ var msg = new proto.google.api.DocumentationRule;
446
+ return proto.google.api.DocumentationRule.deserializeBinaryFromReader(msg, reader);
447
+ };
448
+
449
+
450
+ /**
451
+ * Deserializes binary data (in protobuf wire format) from the
452
+ * given reader into the given message object.
453
+ * @param {!proto.google.api.DocumentationRule} msg The message object to deserialize into.
454
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
455
+ * @return {!proto.google.api.DocumentationRule}
456
+ */
457
+ proto.google.api.DocumentationRule.deserializeBinaryFromReader = function(msg, reader) {
458
+ while (reader.nextField()) {
459
+ if (reader.isEndGroup()) {
460
+ break;
461
+ }
462
+ var field = reader.getFieldNumber();
463
+ switch (field) {
464
+ case 1:
465
+ var value = /** @type {string} */ (reader.readString());
466
+ msg.setSelector(value);
467
+ break;
468
+ case 2:
469
+ var value = /** @type {string} */ (reader.readString());
470
+ msg.setDescription(value);
471
+ break;
472
+ case 3:
473
+ var value = /** @type {string} */ (reader.readString());
474
+ msg.setDeprecationDescription(value);
475
+ break;
476
+ default:
477
+ reader.skipField();
478
+ break;
479
+ }
480
+ }
481
+ return msg;
482
+ };
483
+
484
+
485
+ /**
486
+ * Serializes the message to binary data (in protobuf wire format).
487
+ * @return {!Uint8Array}
488
+ */
489
+ proto.google.api.DocumentationRule.prototype.serializeBinary = function() {
490
+ var writer = new jspb.BinaryWriter();
491
+ proto.google.api.DocumentationRule.serializeBinaryToWriter(this, writer);
492
+ return writer.getResultBuffer();
493
+ };
494
+
495
+
496
+ /**
497
+ * Serializes the given message to binary data (in protobuf wire
498
+ * format), writing to the given BinaryWriter.
499
+ * @param {!proto.google.api.DocumentationRule} message
500
+ * @param {!jspb.BinaryWriter} writer
501
+ * @suppress {unusedLocalVariables} f is only used for nested messages
502
+ */
503
+ proto.google.api.DocumentationRule.serializeBinaryToWriter = function(message, writer) {
504
+ var f = undefined;
505
+ f = message.getSelector();
506
+ if (f.length > 0) {
507
+ writer.writeString(
508
+ 1,
509
+ f
510
+ );
511
+ }
512
+ f = message.getDescription();
513
+ if (f.length > 0) {
514
+ writer.writeString(
515
+ 2,
516
+ f
517
+ );
518
+ }
519
+ f = message.getDeprecationDescription();
520
+ if (f.length > 0) {
521
+ writer.writeString(
522
+ 3,
523
+ f
524
+ );
525
+ }
526
+ };
527
+
528
+
529
+ /**
530
+ * optional string selector = 1;
531
+ * @return {string}
532
+ */
533
+ proto.google.api.DocumentationRule.prototype.getSelector = function() {
534
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
535
+ };
536
+
537
+
538
+ /**
539
+ * @param {string} value
540
+ * @return {!proto.google.api.DocumentationRule} returns this
541
+ */
542
+ proto.google.api.DocumentationRule.prototype.setSelector = function(value) {
543
+ return jspb.Message.setProto3StringField(this, 1, value);
544
+ };
545
+
546
+
547
+ /**
548
+ * optional string description = 2;
549
+ * @return {string}
550
+ */
551
+ proto.google.api.DocumentationRule.prototype.getDescription = function() {
552
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
553
+ };
554
+
555
+
556
+ /**
557
+ * @param {string} value
558
+ * @return {!proto.google.api.DocumentationRule} returns this
559
+ */
560
+ proto.google.api.DocumentationRule.prototype.setDescription = function(value) {
561
+ return jspb.Message.setProto3StringField(this, 2, value);
562
+ };
563
+
564
+
565
+ /**
566
+ * optional string deprecation_description = 3;
567
+ * @return {string}
568
+ */
569
+ proto.google.api.DocumentationRule.prototype.getDeprecationDescription = function() {
570
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
571
+ };
572
+
573
+
574
+ /**
575
+ * @param {string} value
576
+ * @return {!proto.google.api.DocumentationRule} returns this
577
+ */
578
+ proto.google.api.DocumentationRule.prototype.setDeprecationDescription = function(value) {
579
+ return jspb.Message.setProto3StringField(this, 3, value);
580
+ };
581
+
582
+
583
+
584
+ /**
585
+ * List of repeated fields within this message type.
586
+ * @private {!Array<number>}
587
+ * @const
588
+ */
589
+ proto.google.api.Page.repeatedFields_ = [3];
590
+
591
+
592
+
593
+ if (jspb.Message.GENERATE_TO_OBJECT) {
594
+ /**
595
+ * Creates an object representation of this proto.
596
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
597
+ * Optional fields that are not set will be set to undefined.
598
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
599
+ * For the list of reserved names please see:
600
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
601
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
602
+ * JSPB instance for transitional soy proto support:
603
+ * http://goto/soy-param-migration
604
+ * @return {!Object}
605
+ */
606
+ proto.google.api.Page.prototype.toObject = function(opt_includeInstance) {
607
+ return proto.google.api.Page.toObject(opt_includeInstance, this);
608
+ };
609
+
610
+
611
+ /**
612
+ * Static version of the {@see toObject} method.
613
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
614
+ * the JSPB instance for transitional soy proto support:
615
+ * http://goto/soy-param-migration
616
+ * @param {!proto.google.api.Page} msg The msg instance to transform.
617
+ * @return {!Object}
618
+ * @suppress {unusedLocalVariables} f is only used for nested messages
619
+ */
620
+ proto.google.api.Page.toObject = function(includeInstance, msg) {
621
+ var f, obj = {
622
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
623
+ content: jspb.Message.getFieldWithDefault(msg, 2, ""),
624
+ subpagesList: jspb.Message.toObjectList(msg.getSubpagesList(),
625
+ proto.google.api.Page.toObject, includeInstance)
626
+ };
627
+
628
+ if (includeInstance) {
629
+ obj.$jspbMessageInstance = msg;
630
+ }
631
+ return obj;
632
+ };
633
+ }
634
+
635
+
636
+ /**
637
+ * Deserializes binary data (in protobuf wire format).
638
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
639
+ * @return {!proto.google.api.Page}
640
+ */
641
+ proto.google.api.Page.deserializeBinary = function(bytes) {
642
+ var reader = new jspb.BinaryReader(bytes);
643
+ var msg = new proto.google.api.Page;
644
+ return proto.google.api.Page.deserializeBinaryFromReader(msg, reader);
645
+ };
646
+
647
+
648
+ /**
649
+ * Deserializes binary data (in protobuf wire format) from the
650
+ * given reader into the given message object.
651
+ * @param {!proto.google.api.Page} msg The message object to deserialize into.
652
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
653
+ * @return {!proto.google.api.Page}
654
+ */
655
+ proto.google.api.Page.deserializeBinaryFromReader = function(msg, reader) {
656
+ while (reader.nextField()) {
657
+ if (reader.isEndGroup()) {
658
+ break;
659
+ }
660
+ var field = reader.getFieldNumber();
661
+ switch (field) {
662
+ case 1:
663
+ var value = /** @type {string} */ (reader.readString());
664
+ msg.setName(value);
665
+ break;
666
+ case 2:
667
+ var value = /** @type {string} */ (reader.readString());
668
+ msg.setContent(value);
669
+ break;
670
+ case 3:
671
+ var value = new proto.google.api.Page;
672
+ reader.readMessage(value,proto.google.api.Page.deserializeBinaryFromReader);
673
+ msg.addSubpages(value);
674
+ break;
675
+ default:
676
+ reader.skipField();
677
+ break;
678
+ }
679
+ }
680
+ return msg;
681
+ };
682
+
683
+
684
+ /**
685
+ * Serializes the message to binary data (in protobuf wire format).
686
+ * @return {!Uint8Array}
687
+ */
688
+ proto.google.api.Page.prototype.serializeBinary = function() {
689
+ var writer = new jspb.BinaryWriter();
690
+ proto.google.api.Page.serializeBinaryToWriter(this, writer);
691
+ return writer.getResultBuffer();
692
+ };
693
+
694
+
695
+ /**
696
+ * Serializes the given message to binary data (in protobuf wire
697
+ * format), writing to the given BinaryWriter.
698
+ * @param {!proto.google.api.Page} message
699
+ * @param {!jspb.BinaryWriter} writer
700
+ * @suppress {unusedLocalVariables} f is only used for nested messages
701
+ */
702
+ proto.google.api.Page.serializeBinaryToWriter = function(message, writer) {
703
+ var f = undefined;
704
+ f = message.getName();
705
+ if (f.length > 0) {
706
+ writer.writeString(
707
+ 1,
708
+ f
709
+ );
710
+ }
711
+ f = message.getContent();
712
+ if (f.length > 0) {
713
+ writer.writeString(
714
+ 2,
715
+ f
716
+ );
717
+ }
718
+ f = message.getSubpagesList();
719
+ if (f.length > 0) {
720
+ writer.writeRepeatedMessage(
721
+ 3,
722
+ f,
723
+ proto.google.api.Page.serializeBinaryToWriter
724
+ );
725
+ }
726
+ };
727
+
728
+
729
+ /**
730
+ * optional string name = 1;
731
+ * @return {string}
732
+ */
733
+ proto.google.api.Page.prototype.getName = function() {
734
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
735
+ };
736
+
737
+
738
+ /**
739
+ * @param {string} value
740
+ * @return {!proto.google.api.Page} returns this
741
+ */
742
+ proto.google.api.Page.prototype.setName = function(value) {
743
+ return jspb.Message.setProto3StringField(this, 1, value);
744
+ };
745
+
746
+
747
+ /**
748
+ * optional string content = 2;
749
+ * @return {string}
750
+ */
751
+ proto.google.api.Page.prototype.getContent = function() {
752
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
753
+ };
754
+
755
+
756
+ /**
757
+ * @param {string} value
758
+ * @return {!proto.google.api.Page} returns this
759
+ */
760
+ proto.google.api.Page.prototype.setContent = function(value) {
761
+ return jspb.Message.setProto3StringField(this, 2, value);
762
+ };
763
+
764
+
765
+ /**
766
+ * repeated Page subpages = 3;
767
+ * @return {!Array<!proto.google.api.Page>}
768
+ */
769
+ proto.google.api.Page.prototype.getSubpagesList = function() {
770
+ return /** @type{!Array<!proto.google.api.Page>} */ (
771
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.Page, 3));
772
+ };
773
+
774
+
775
+ /**
776
+ * @param {!Array<!proto.google.api.Page>} value
777
+ * @return {!proto.google.api.Page} returns this
778
+ */
779
+ proto.google.api.Page.prototype.setSubpagesList = function(value) {
780
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
781
+ };
782
+
783
+
784
+ /**
785
+ * @param {!proto.google.api.Page=} opt_value
786
+ * @param {number=} opt_index
787
+ * @return {!proto.google.api.Page}
788
+ */
789
+ proto.google.api.Page.prototype.addSubpages = function(opt_value, opt_index) {
790
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.Page, opt_index);
791
+ };
792
+
793
+
794
+ /**
795
+ * Clears the list making it empty but non-null.
796
+ * @return {!proto.google.api.Page} returns this
797
+ */
798
+ proto.google.api.Page.prototype.clearSubpagesList = function() {
799
+ return this.setSubpagesList([]);
800
+ };
801
+
802
+
803
+ goog.object.extend(exports, proto.google.api);