@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,463 +0,0 @@
1
- // source: google/api/context.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.Context', null, global);
25
- goog.exportSymbol('proto.google.api.ContextRule', null, global);
26
- /**
27
- * Generated by JsPbCodeGenerator.
28
- * @param {Array=} opt_data Optional initial data array, typically from a
29
- * server response, or constructed directly in Javascript. The array is used
30
- * in place and becomes part of the constructed object. It is not cloned.
31
- * If no data is provided, the constructed object will be empty, but still
32
- * valid.
33
- * @extends {jspb.Message}
34
- * @constructor
35
- */
36
- proto.google.api.Context = function(opt_data) {
37
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Context.repeatedFields_, null);
38
- };
39
- goog.inherits(proto.google.api.Context, jspb.Message);
40
- if (goog.DEBUG && !COMPILED) {
41
- /**
42
- * @public
43
- * @override
44
- */
45
- proto.google.api.Context.displayName = 'proto.google.api.Context';
46
- }
47
- /**
48
- * Generated by JsPbCodeGenerator.
49
- * @param {Array=} opt_data Optional initial data array, typically from a
50
- * server response, or constructed directly in Javascript. The array is used
51
- * in place and becomes part of the constructed object. It is not cloned.
52
- * If no data is provided, the constructed object will be empty, but still
53
- * valid.
54
- * @extends {jspb.Message}
55
- * @constructor
56
- */
57
- proto.google.api.ContextRule = function(opt_data) {
58
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.ContextRule.repeatedFields_, null);
59
- };
60
- goog.inherits(proto.google.api.ContextRule, jspb.Message);
61
- if (goog.DEBUG && !COMPILED) {
62
- /**
63
- * @public
64
- * @override
65
- */
66
- proto.google.api.ContextRule.displayName = 'proto.google.api.ContextRule';
67
- }
68
-
69
- /**
70
- * List of repeated fields within this message type.
71
- * @private {!Array<number>}
72
- * @const
73
- */
74
- proto.google.api.Context.repeatedFields_ = [1];
75
-
76
-
77
-
78
- if (jspb.Message.GENERATE_TO_OBJECT) {
79
- /**
80
- * Creates an object representation of this proto.
81
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
82
- * Optional fields that are not set will be set to undefined.
83
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
84
- * For the list of reserved names please see:
85
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
86
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
87
- * JSPB instance for transitional soy proto support:
88
- * http://goto/soy-param-migration
89
- * @return {!Object}
90
- */
91
- proto.google.api.Context.prototype.toObject = function(opt_includeInstance) {
92
- return proto.google.api.Context.toObject(opt_includeInstance, this);
93
- };
94
-
95
-
96
- /**
97
- * Static version of the {@see toObject} method.
98
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
99
- * the JSPB instance for transitional soy proto support:
100
- * http://goto/soy-param-migration
101
- * @param {!proto.google.api.Context} msg The msg instance to transform.
102
- * @return {!Object}
103
- * @suppress {unusedLocalVariables} f is only used for nested messages
104
- */
105
- proto.google.api.Context.toObject = function(includeInstance, msg) {
106
- var f, obj = {
107
- rulesList: jspb.Message.toObjectList(msg.getRulesList(),
108
- proto.google.api.ContextRule.toObject, includeInstance)
109
- };
110
-
111
- if (includeInstance) {
112
- obj.$jspbMessageInstance = msg;
113
- }
114
- return obj;
115
- };
116
- }
117
-
118
-
119
- /**
120
- * Deserializes binary data (in protobuf wire format).
121
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
122
- * @return {!proto.google.api.Context}
123
- */
124
- proto.google.api.Context.deserializeBinary = function(bytes) {
125
- var reader = new jspb.BinaryReader(bytes);
126
- var msg = new proto.google.api.Context;
127
- return proto.google.api.Context.deserializeBinaryFromReader(msg, reader);
128
- };
129
-
130
-
131
- /**
132
- * Deserializes binary data (in protobuf wire format) from the
133
- * given reader into the given message object.
134
- * @param {!proto.google.api.Context} msg The message object to deserialize into.
135
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
136
- * @return {!proto.google.api.Context}
137
- */
138
- proto.google.api.Context.deserializeBinaryFromReader = function(msg, reader) {
139
- while (reader.nextField()) {
140
- if (reader.isEndGroup()) {
141
- break;
142
- }
143
- var field = reader.getFieldNumber();
144
- switch (field) {
145
- case 1:
146
- var value = new proto.google.api.ContextRule;
147
- reader.readMessage(value,proto.google.api.ContextRule.deserializeBinaryFromReader);
148
- msg.addRules(value);
149
- break;
150
- default:
151
- reader.skipField();
152
- break;
153
- }
154
- }
155
- return msg;
156
- };
157
-
158
-
159
- /**
160
- * Serializes the message to binary data (in protobuf wire format).
161
- * @return {!Uint8Array}
162
- */
163
- proto.google.api.Context.prototype.serializeBinary = function() {
164
- var writer = new jspb.BinaryWriter();
165
- proto.google.api.Context.serializeBinaryToWriter(this, writer);
166
- return writer.getResultBuffer();
167
- };
168
-
169
-
170
- /**
171
- * Serializes the given message to binary data (in protobuf wire
172
- * format), writing to the given BinaryWriter.
173
- * @param {!proto.google.api.Context} message
174
- * @param {!jspb.BinaryWriter} writer
175
- * @suppress {unusedLocalVariables} f is only used for nested messages
176
- */
177
- proto.google.api.Context.serializeBinaryToWriter = function(message, writer) {
178
- var f = undefined;
179
- f = message.getRulesList();
180
- if (f.length > 0) {
181
- writer.writeRepeatedMessage(
182
- 1,
183
- f,
184
- proto.google.api.ContextRule.serializeBinaryToWriter
185
- );
186
- }
187
- };
188
-
189
-
190
- /**
191
- * repeated ContextRule rules = 1;
192
- * @return {!Array<!proto.google.api.ContextRule>}
193
- */
194
- proto.google.api.Context.prototype.getRulesList = function() {
195
- return /** @type{!Array<!proto.google.api.ContextRule>} */ (
196
- jspb.Message.getRepeatedWrapperField(this, proto.google.api.ContextRule, 1));
197
- };
198
-
199
-
200
- /**
201
- * @param {!Array<!proto.google.api.ContextRule>} value
202
- * @return {!proto.google.api.Context} returns this
203
- */
204
- proto.google.api.Context.prototype.setRulesList = function(value) {
205
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
206
- };
207
-
208
-
209
- /**
210
- * @param {!proto.google.api.ContextRule=} opt_value
211
- * @param {number=} opt_index
212
- * @return {!proto.google.api.ContextRule}
213
- */
214
- proto.google.api.Context.prototype.addRules = function(opt_value, opt_index) {
215
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.ContextRule, opt_index);
216
- };
217
-
218
-
219
- /**
220
- * Clears the list making it empty but non-null.
221
- * @return {!proto.google.api.Context} returns this
222
- */
223
- proto.google.api.Context.prototype.clearRulesList = function() {
224
- return this.setRulesList([]);
225
- };
226
-
227
-
228
-
229
- /**
230
- * List of repeated fields within this message type.
231
- * @private {!Array<number>}
232
- * @const
233
- */
234
- proto.google.api.ContextRule.repeatedFields_ = [2,3];
235
-
236
-
237
-
238
- if (jspb.Message.GENERATE_TO_OBJECT) {
239
- /**
240
- * Creates an object representation of this proto.
241
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
242
- * Optional fields that are not set will be set to undefined.
243
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
244
- * For the list of reserved names please see:
245
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
246
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
247
- * JSPB instance for transitional soy proto support:
248
- * http://goto/soy-param-migration
249
- * @return {!Object}
250
- */
251
- proto.google.api.ContextRule.prototype.toObject = function(opt_includeInstance) {
252
- return proto.google.api.ContextRule.toObject(opt_includeInstance, this);
253
- };
254
-
255
-
256
- /**
257
- * Static version of the {@see toObject} method.
258
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
259
- * the JSPB instance for transitional soy proto support:
260
- * http://goto/soy-param-migration
261
- * @param {!proto.google.api.ContextRule} msg The msg instance to transform.
262
- * @return {!Object}
263
- * @suppress {unusedLocalVariables} f is only used for nested messages
264
- */
265
- proto.google.api.ContextRule.toObject = function(includeInstance, msg) {
266
- var f, obj = {
267
- selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
268
- requestedList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
269
- providedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
270
- };
271
-
272
- if (includeInstance) {
273
- obj.$jspbMessageInstance = msg;
274
- }
275
- return obj;
276
- };
277
- }
278
-
279
-
280
- /**
281
- * Deserializes binary data (in protobuf wire format).
282
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
283
- * @return {!proto.google.api.ContextRule}
284
- */
285
- proto.google.api.ContextRule.deserializeBinary = function(bytes) {
286
- var reader = new jspb.BinaryReader(bytes);
287
- var msg = new proto.google.api.ContextRule;
288
- return proto.google.api.ContextRule.deserializeBinaryFromReader(msg, reader);
289
- };
290
-
291
-
292
- /**
293
- * Deserializes binary data (in protobuf wire format) from the
294
- * given reader into the given message object.
295
- * @param {!proto.google.api.ContextRule} msg The message object to deserialize into.
296
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
297
- * @return {!proto.google.api.ContextRule}
298
- */
299
- proto.google.api.ContextRule.deserializeBinaryFromReader = function(msg, reader) {
300
- while (reader.nextField()) {
301
- if (reader.isEndGroup()) {
302
- break;
303
- }
304
- var field = reader.getFieldNumber();
305
- switch (field) {
306
- case 1:
307
- var value = /** @type {string} */ (reader.readString());
308
- msg.setSelector(value);
309
- break;
310
- case 2:
311
- var value = /** @type {string} */ (reader.readString());
312
- msg.addRequested(value);
313
- break;
314
- case 3:
315
- var value = /** @type {string} */ (reader.readString());
316
- msg.addProvided(value);
317
- break;
318
- default:
319
- reader.skipField();
320
- break;
321
- }
322
- }
323
- return msg;
324
- };
325
-
326
-
327
- /**
328
- * Serializes the message to binary data (in protobuf wire format).
329
- * @return {!Uint8Array}
330
- */
331
- proto.google.api.ContextRule.prototype.serializeBinary = function() {
332
- var writer = new jspb.BinaryWriter();
333
- proto.google.api.ContextRule.serializeBinaryToWriter(this, writer);
334
- return writer.getResultBuffer();
335
- };
336
-
337
-
338
- /**
339
- * Serializes the given message to binary data (in protobuf wire
340
- * format), writing to the given BinaryWriter.
341
- * @param {!proto.google.api.ContextRule} message
342
- * @param {!jspb.BinaryWriter} writer
343
- * @suppress {unusedLocalVariables} f is only used for nested messages
344
- */
345
- proto.google.api.ContextRule.serializeBinaryToWriter = function(message, writer) {
346
- var f = undefined;
347
- f = message.getSelector();
348
- if (f.length > 0) {
349
- writer.writeString(
350
- 1,
351
- f
352
- );
353
- }
354
- f = message.getRequestedList();
355
- if (f.length > 0) {
356
- writer.writeRepeatedString(
357
- 2,
358
- f
359
- );
360
- }
361
- f = message.getProvidedList();
362
- if (f.length > 0) {
363
- writer.writeRepeatedString(
364
- 3,
365
- f
366
- );
367
- }
368
- };
369
-
370
-
371
- /**
372
- * optional string selector = 1;
373
- * @return {string}
374
- */
375
- proto.google.api.ContextRule.prototype.getSelector = function() {
376
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
377
- };
378
-
379
-
380
- /**
381
- * @param {string} value
382
- * @return {!proto.google.api.ContextRule} returns this
383
- */
384
- proto.google.api.ContextRule.prototype.setSelector = function(value) {
385
- return jspb.Message.setProto3StringField(this, 1, value);
386
- };
387
-
388
-
389
- /**
390
- * repeated string requested = 2;
391
- * @return {!Array<string>}
392
- */
393
- proto.google.api.ContextRule.prototype.getRequestedList = function() {
394
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
395
- };
396
-
397
-
398
- /**
399
- * @param {!Array<string>} value
400
- * @return {!proto.google.api.ContextRule} returns this
401
- */
402
- proto.google.api.ContextRule.prototype.setRequestedList = function(value) {
403
- return jspb.Message.setField(this, 2, value || []);
404
- };
405
-
406
-
407
- /**
408
- * @param {string} value
409
- * @param {number=} opt_index
410
- * @return {!proto.google.api.ContextRule} returns this
411
- */
412
- proto.google.api.ContextRule.prototype.addRequested = function(value, opt_index) {
413
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
414
- };
415
-
416
-
417
- /**
418
- * Clears the list making it empty but non-null.
419
- * @return {!proto.google.api.ContextRule} returns this
420
- */
421
- proto.google.api.ContextRule.prototype.clearRequestedList = function() {
422
- return this.setRequestedList([]);
423
- };
424
-
425
-
426
- /**
427
- * repeated string provided = 3;
428
- * @return {!Array<string>}
429
- */
430
- proto.google.api.ContextRule.prototype.getProvidedList = function() {
431
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
432
- };
433
-
434
-
435
- /**
436
- * @param {!Array<string>} value
437
- * @return {!proto.google.api.ContextRule} returns this
438
- */
439
- proto.google.api.ContextRule.prototype.setProvidedList = function(value) {
440
- return jspb.Message.setField(this, 3, value || []);
441
- };
442
-
443
-
444
- /**
445
- * @param {string} value
446
- * @param {number=} opt_index
447
- * @return {!proto.google.api.ContextRule} returns this
448
- */
449
- proto.google.api.ContextRule.prototype.addProvided = function(value, opt_index) {
450
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
451
- };
452
-
453
-
454
- /**
455
- * Clears the list making it empty but non-null.
456
- * @return {!proto.google.api.ContextRule} returns this
457
- */
458
- proto.google.api.ContextRule.prototype.clearProvidedList = function() {
459
- return this.setProvidedList([]);
460
- };
461
-
462
-
463
- goog.object.extend(exports, proto.google.api);
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/context.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/context.proto
3
-
@@ -1,25 +0,0 @@
1
- // package: google.api
2
- // file: google/api/control.proto
3
-
4
- import * as jspb from "google-protobuf";
5
-
6
- export class Control extends jspb.Message {
7
- getEnvironment(): string;
8
- setEnvironment(value: string): void;
9
-
10
- serializeBinary(): Uint8Array;
11
- toObject(includeInstance?: boolean): Control.AsObject;
12
- static toObject(includeInstance: boolean, msg: Control): Control.AsObject;
13
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
14
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
15
- static serializeBinaryToWriter(message: Control, writer: jspb.BinaryWriter): void;
16
- static deserializeBinary(bytes: Uint8Array): Control;
17
- static deserializeBinaryFromReader(message: Control, reader: jspb.BinaryReader): Control;
18
- }
19
-
20
- export namespace Control {
21
- export type AsObject = {
22
- environment: string,
23
- }
24
- }
25
-
@@ -1,176 +0,0 @@
1
- // source: google/api/control.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.Control', null, global);
25
- /**
26
- * Generated by JsPbCodeGenerator.
27
- * @param {Array=} opt_data Optional initial data array, typically from a
28
- * server response, or constructed directly in Javascript. The array is used
29
- * in place and becomes part of the constructed object. It is not cloned.
30
- * If no data is provided, the constructed object will be empty, but still
31
- * valid.
32
- * @extends {jspb.Message}
33
- * @constructor
34
- */
35
- proto.google.api.Control = function(opt_data) {
36
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
37
- };
38
- goog.inherits(proto.google.api.Control, jspb.Message);
39
- if (goog.DEBUG && !COMPILED) {
40
- /**
41
- * @public
42
- * @override
43
- */
44
- proto.google.api.Control.displayName = 'proto.google.api.Control';
45
- }
46
-
47
-
48
-
49
- if (jspb.Message.GENERATE_TO_OBJECT) {
50
- /**
51
- * Creates an object representation of this proto.
52
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
- * Optional fields that are not set will be set to undefined.
54
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
- * For the list of reserved names please see:
56
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
- * JSPB instance for transitional soy proto support:
59
- * http://goto/soy-param-migration
60
- * @return {!Object}
61
- */
62
- proto.google.api.Control.prototype.toObject = function(opt_includeInstance) {
63
- return proto.google.api.Control.toObject(opt_includeInstance, this);
64
- };
65
-
66
-
67
- /**
68
- * Static version of the {@see toObject} method.
69
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
- * the JSPB instance for transitional soy proto support:
71
- * http://goto/soy-param-migration
72
- * @param {!proto.google.api.Control} msg The msg instance to transform.
73
- * @return {!Object}
74
- * @suppress {unusedLocalVariables} f is only used for nested messages
75
- */
76
- proto.google.api.Control.toObject = function(includeInstance, msg) {
77
- var f, obj = {
78
- environment: jspb.Message.getFieldWithDefault(msg, 1, "")
79
- };
80
-
81
- if (includeInstance) {
82
- obj.$jspbMessageInstance = msg;
83
- }
84
- return obj;
85
- };
86
- }
87
-
88
-
89
- /**
90
- * Deserializes binary data (in protobuf wire format).
91
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
92
- * @return {!proto.google.api.Control}
93
- */
94
- proto.google.api.Control.deserializeBinary = function(bytes) {
95
- var reader = new jspb.BinaryReader(bytes);
96
- var msg = new proto.google.api.Control;
97
- return proto.google.api.Control.deserializeBinaryFromReader(msg, reader);
98
- };
99
-
100
-
101
- /**
102
- * Deserializes binary data (in protobuf wire format) from the
103
- * given reader into the given message object.
104
- * @param {!proto.google.api.Control} msg The message object to deserialize into.
105
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
106
- * @return {!proto.google.api.Control}
107
- */
108
- proto.google.api.Control.deserializeBinaryFromReader = function(msg, reader) {
109
- while (reader.nextField()) {
110
- if (reader.isEndGroup()) {
111
- break;
112
- }
113
- var field = reader.getFieldNumber();
114
- switch (field) {
115
- case 1:
116
- var value = /** @type {string} */ (reader.readString());
117
- msg.setEnvironment(value);
118
- break;
119
- default:
120
- reader.skipField();
121
- break;
122
- }
123
- }
124
- return msg;
125
- };
126
-
127
-
128
- /**
129
- * Serializes the message to binary data (in protobuf wire format).
130
- * @return {!Uint8Array}
131
- */
132
- proto.google.api.Control.prototype.serializeBinary = function() {
133
- var writer = new jspb.BinaryWriter();
134
- proto.google.api.Control.serializeBinaryToWriter(this, writer);
135
- return writer.getResultBuffer();
136
- };
137
-
138
-
139
- /**
140
- * Serializes the given message to binary data (in protobuf wire
141
- * format), writing to the given BinaryWriter.
142
- * @param {!proto.google.api.Control} message
143
- * @param {!jspb.BinaryWriter} writer
144
- * @suppress {unusedLocalVariables} f is only used for nested messages
145
- */
146
- proto.google.api.Control.serializeBinaryToWriter = function(message, writer) {
147
- var f = undefined;
148
- f = message.getEnvironment();
149
- if (f.length > 0) {
150
- writer.writeString(
151
- 1,
152
- f
153
- );
154
- }
155
- };
156
-
157
-
158
- /**
159
- * optional string environment = 1;
160
- * @return {string}
161
- */
162
- proto.google.api.Control.prototype.getEnvironment = function() {
163
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
164
- };
165
-
166
-
167
- /**
168
- * @param {string} value
169
- * @return {!proto.google.api.Control} returns this
170
- */
171
- proto.google.api.Control.prototype.setEnvironment = function(value) {
172
- return jspb.Message.setProto3StringField(this, 1, value);
173
- };
174
-
175
-
176
- goog.object.extend(exports, proto.google.api);
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/control.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/control.proto
3
-