@aceplus/smartace-api 1.3.0-alpha.124 → 1.3.0-alpha.125

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 (209) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -521
  7. package/auth.account_pb.js +0 -3953
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -157
  11. package/auth.app_account_pb.js +0 -1155
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -165
  15. package/auth.app_authn_pb.js +0 -1180
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -85
  23. package/auth.authn_pb.js +0 -625
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -235
  35. package/auth.email_pb.js +0 -1632
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -80
  43. package/auth.sms_pb.js +0 -577
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/google/api/annotations_pb.d.ts +0 -9
  47. package/google/api/annotations_pb.js +0 -54
  48. package/google/api/annotations_pb_service.d.ts +0 -3
  49. package/google/api/annotations_pb_service.js +0 -3
  50. package/google/api/auth_pb.d.ts +0 -150
  51. package/google/api/auth_pb.js +0 -1160
  52. package/google/api/auth_pb_service.d.ts +0 -3
  53. package/google/api/auth_pb_service.js +0 -3
  54. package/google/api/backend_pb.d.ts +0 -59
  55. package/google/api/backend_pb.js +0 -448
  56. package/google/api/backend_pb_service.d.ts +0 -3
  57. package/google/api/backend_pb_service.js +0 -3
  58. package/google/api/billing_pb.d.ts +0 -54
  59. package/google/api/billing_pb.js +0 -416
  60. package/google/api/billing_pb_service.d.ts +0 -3
  61. package/google/api/billing_pb_service.js +0 -3
  62. package/google/api/client_pb.d.ts +0 -12
  63. package/google/api/client_pb.js +0 -104
  64. package/google/api/client_pb_service.d.ts +0 -3
  65. package/google/api/client_pb_service.js +0 -3
  66. package/google/api/config_change_pb.d.ts +0 -72
  67. package/google/api/config_change_pb.js +0 -489
  68. package/google/api/config_change_pb_service.d.ts +0 -3
  69. package/google/api/config_change_pb_service.js +0 -3
  70. package/google/api/consumer_pb.d.ts +0 -65
  71. package/google/api/consumer_pb.js +0 -430
  72. package/google/api/consumer_pb_service.d.ts +0 -3
  73. package/google/api/consumer_pb_service.js +0 -3
  74. package/google/api/context_pb.d.ts +0 -59
  75. package/google/api/context_pb.js +0 -463
  76. package/google/api/context_pb_service.d.ts +0 -3
  77. package/google/api/context_pb_service.js +0 -3
  78. package/google/api/control_pb.d.ts +0 -25
  79. package/google/api/control_pb.js +0 -176
  80. package/google/api/control_pb_service.d.ts +0 -3
  81. package/google/api/control_pb_service.js +0 -3
  82. package/google/api/distribution_pb.d.ts +0 -235
  83. package/google/api/distribution_pb.js +0 -1805
  84. package/google/api/distribution_pb_service.d.ts +0 -3
  85. package/google/api/distribution_pb_service.js +0 -3
  86. package/google/api/documentation_pb.d.ts +0 -103
  87. package/google/api/documentation_pb.js +0 -803
  88. package/google/api/documentation_pb_service.d.ts +0 -3
  89. package/google/api/documentation_pb_service.js +0 -3
  90. package/google/api/endpoint_pb.d.ts +0 -46
  91. package/google/api/endpoint_pb.js +0 -343
  92. package/google/api/endpoint_pb_service.d.ts +0 -3
  93. package/google/api/endpoint_pb_service.js +0 -3
  94. package/google/api/error_reason_pb.d.ts +0 -40
  95. package/google/api/error_reason_pb.js +0 -61
  96. package/google/api/error_reason_pb_service.d.ts +0 -3
  97. package/google/api/error_reason_pb_service.js +0 -3
  98. package/google/api/field_behavior_pb.d.ts +0 -20
  99. package/google/api/field_behavior_pb.js +0 -66
  100. package/google/api/field_behavior_pb_service.d.ts +0 -3
  101. package/google/api/field_behavior_pb_service.js +0 -3
  102. package/google/api/http_pb.d.ts +0 -136
  103. package/google/api/http_pb.js +0 -1012
  104. package/google/api/http_pb_service.d.ts +0 -3
  105. package/google/api/http_pb_service.js +0 -3
  106. package/google/api/httpbody_pb.d.ts +0 -38
  107. package/google/api/httpbody_pb.js +0 -292
  108. package/google/api/httpbody_pb_service.d.ts +0 -3
  109. package/google/api/httpbody_pb_service.js +0 -3
  110. package/google/api/label_pb.d.ts +0 -41
  111. package/google/api/label_pb.js +0 -246
  112. package/google/api/label_pb_service.d.ts +0 -3
  113. package/google/api/label_pb_service.js +0 -3
  114. package/google/api/launch_stage_pb.d.ts +0 -16
  115. package/google/api/launch_stage_pb.js +0 -37
  116. package/google/api/launch_stage_pb_service.d.ts +0 -3
  117. package/google/api/launch_stage_pb_service.js +0 -3
  118. package/google/api/log_pb.d.ts +0 -40
  119. package/google/api/log_pb.js +0 -298
  120. package/google/api/log_pb_service.d.ts +0 -3
  121. package/google/api/log_pb_service.js +0 -3
  122. package/google/api/logging_pb.d.ts +0 -60
  123. package/google/api/logging_pb.js +0 -469
  124. package/google/api/logging_pb_service.d.ts +0 -3
  125. package/google/api/logging_pb_service.js +0 -3
  126. package/google/api/metric_pb.d.ts +0 -100
  127. package/google/api/metric_pb.js +0 -629
  128. package/google/api/metric_pb_service.d.ts +0 -3
  129. package/google/api/metric_pb_service.js +0 -3
  130. package/google/api/monitored_resource_pb.d.ts +0 -93
  131. package/google/api/monitored_resource_pb.js +0 -723
  132. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  133. package/google/api/monitored_resource_pb_service.js +0 -3
  134. package/google/api/monitoring_pb.d.ts +0 -60
  135. package/google/api/monitoring_pb.js +0 -469
  136. package/google/api/monitoring_pb_service.d.ts +0 -3
  137. package/google/api/monitoring_pb_service.js +0 -3
  138. package/google/api/policy_pb.d.ts +0 -64
  139. package/google/api/policy_pb.js +0 -502
  140. package/google/api/policy_pb_service.d.ts +0 -3
  141. package/google/api/policy_pb_service.js +0 -3
  142. package/google/api/quota_pb.d.ts +0 -112
  143. package/google/api/quota_pb.js +0 -873
  144. package/google/api/quota_pb_service.d.ts +0 -3
  145. package/google/api/quota_pb_service.js +0 -3
  146. package/google/api/resource_pb.d.ts +0 -99
  147. package/google/api/resource_pb.js +0 -684
  148. package/google/api/resource_pb_service.d.ts +0 -3
  149. package/google/api/resource_pb_service.js +0 -3
  150. package/google/api/routing_pb.d.ts +0 -54
  151. package/google/api/routing_pb.js +0 -416
  152. package/google/api/routing_pb_service.d.ts +0 -3
  153. package/google/api/routing_pb_service.js +0 -3
  154. package/google/api/service_pb.d.ts +0 -184
  155. package/google/api/service_pb.js +0 -1400
  156. package/google/api/service_pb_service.d.ts +0 -3
  157. package/google/api/service_pb_service.js +0 -3
  158. package/google/api/source_info_pb.d.ts +0 -28
  159. package/google/api/source_info_pb.js +0 -208
  160. package/google/api/source_info_pb_service.d.ts +0 -3
  161. package/google/api/source_info_pb_service.js +0 -3
  162. package/google/api/system_parameter_pb.d.ts +0 -81
  163. package/google/api/system_parameter_pb.js +0 -630
  164. package/google/api/system_parameter_pb_service.d.ts +0 -3
  165. package/google/api/system_parameter_pb_service.js +0 -3
  166. package/google/api/usage_pb.d.ts +0 -66
  167. package/google/api/usage_pb.js +0 -499
  168. package/google/api/usage_pb_service.d.ts +0 -3
  169. package/google/api/usage_pb_service.js +0 -3
  170. package/google/api/visibility_pb.d.ts +0 -64
  171. package/google/api/visibility_pb.js +0 -546
  172. package/google/api/visibility_pb_service.d.ts +0 -3
  173. package/google/api/visibility_pb_service.js +0 -3
  174. package/platform.activity_log_pb.d.ts +0 -177
  175. package/platform.activity_log_pb.js +0 -1294
  176. package/platform.activity_log_pb_service.d.ts +0 -82
  177. package/platform.activity_log_pb_service.js +0 -101
  178. package/platform.client_pb.d.ts +0 -308
  179. package/platform.client_pb.js +0 -2339
  180. package/platform.client_pb_service.d.ts +0 -158
  181. package/platform.client_pb_service.js +0 -261
  182. package/platform.group_pb.d.ts +0 -195
  183. package/platform.group_pb.js +0 -1476
  184. package/platform.group_pb_service.d.ts +0 -139
  185. package/platform.group_pb_service.js +0 -221
  186. package/platform.local_account_pb.d.ts +0 -315
  187. package/platform.local_account_pb.js +0 -2372
  188. package/platform.local_account_pb_service.d.ts +0 -293
  189. package/platform.local_account_pb_service.js +0 -543
  190. package/platform.local_distribution_pb.d.ts +0 -69
  191. package/platform.local_distribution_pb.js +0 -506
  192. package/platform.local_distribution_pb_service.d.ts +0 -63
  193. package/platform.local_distribution_pb_service.js +0 -61
  194. package/platform.location_pb.d.ts +0 -271
  195. package/platform.location_pb.js +0 -2046
  196. package/platform.location_pb_service.d.ts +0 -139
  197. package/platform.location_pb_service.js +0 -221
  198. package/platform.pagination_pb.d.ts +0 -37
  199. package/platform.pagination_pb.js +0 -266
  200. package/platform.pagination_pb_service.d.ts +0 -3
  201. package/platform.pagination_pb_service.js +0 -3
  202. package/spic.cabinet_pb.d.ts +0 -1296
  203. package/spic.cabinet_pb.js +0 -9667
  204. package/spic.cabinet_pb_service.d.ts +0 -359
  205. package/spic.cabinet_pb_service.js +0 -677
  206. package/spic.contractor_pb.d.ts +0 -195
  207. package/spic.contractor_pb.js +0 -1476
  208. package/spic.contractor_pb_service.d.ts +0 -139
  209. package/spic.contractor_pb_service.js +0 -221
@@ -1,803 +0,0 @@
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);