@aceplus/smartace-api 2.1.0-drumtracker.7 → 2.1.0-drumtracker.9

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 (217) 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 -525
  7. package/auth.account_pb.js +0 -3983
  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 -156
  11. package/auth.app_account_pb.js +0 -1153
  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 -172
  15. package/auth.app_authn_pb.js +0 -1233
  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 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  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 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -499
  47. package/drumtracker.drum_pb.js +0 -3785
  48. package/drumtracker.drum_pb_service.d.ts +0 -158
  49. package/drumtracker.drum_pb_service.js +0 -261
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
@@ -1,873 +0,0 @@
1
- // source: google/api/quota.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
25
- goog.object.extend(proto, google_api_annotations_pb);
26
- goog.exportSymbol('proto.google.api.MetricRule', null, global);
27
- goog.exportSymbol('proto.google.api.Quota', null, global);
28
- goog.exportSymbol('proto.google.api.QuotaLimit', null, global);
29
- /**
30
- * Generated by JsPbCodeGenerator.
31
- * @param {Array=} opt_data Optional initial data array, typically from a
32
- * server response, or constructed directly in Javascript. The array is used
33
- * in place and becomes part of the constructed object. It is not cloned.
34
- * If no data is provided, the constructed object will be empty, but still
35
- * valid.
36
- * @extends {jspb.Message}
37
- * @constructor
38
- */
39
- proto.google.api.Quota = function(opt_data) {
40
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Quota.repeatedFields_, null);
41
- };
42
- goog.inherits(proto.google.api.Quota, jspb.Message);
43
- if (goog.DEBUG && !COMPILED) {
44
- /**
45
- * @public
46
- * @override
47
- */
48
- proto.google.api.Quota.displayName = 'proto.google.api.Quota';
49
- }
50
- /**
51
- * Generated by JsPbCodeGenerator.
52
- * @param {Array=} opt_data Optional initial data array, typically from a
53
- * server response, or constructed directly in Javascript. The array is used
54
- * in place and becomes part of the constructed object. It is not cloned.
55
- * If no data is provided, the constructed object will be empty, but still
56
- * valid.
57
- * @extends {jspb.Message}
58
- * @constructor
59
- */
60
- proto.google.api.MetricRule = function(opt_data) {
61
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
62
- };
63
- goog.inherits(proto.google.api.MetricRule, jspb.Message);
64
- if (goog.DEBUG && !COMPILED) {
65
- /**
66
- * @public
67
- * @override
68
- */
69
- proto.google.api.MetricRule.displayName = 'proto.google.api.MetricRule';
70
- }
71
- /**
72
- * Generated by JsPbCodeGenerator.
73
- * @param {Array=} opt_data Optional initial data array, typically from a
74
- * server response, or constructed directly in Javascript. The array is used
75
- * in place and becomes part of the constructed object. It is not cloned.
76
- * If no data is provided, the constructed object will be empty, but still
77
- * valid.
78
- * @extends {jspb.Message}
79
- * @constructor
80
- */
81
- proto.google.api.QuotaLimit = function(opt_data) {
82
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
83
- };
84
- goog.inherits(proto.google.api.QuotaLimit, jspb.Message);
85
- if (goog.DEBUG && !COMPILED) {
86
- /**
87
- * @public
88
- * @override
89
- */
90
- proto.google.api.QuotaLimit.displayName = 'proto.google.api.QuotaLimit';
91
- }
92
-
93
- /**
94
- * List of repeated fields within this message type.
95
- * @private {!Array<number>}
96
- * @const
97
- */
98
- proto.google.api.Quota.repeatedFields_ = [3,4];
99
-
100
-
101
-
102
- if (jspb.Message.GENERATE_TO_OBJECT) {
103
- /**
104
- * Creates an object representation of this proto.
105
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
106
- * Optional fields that are not set will be set to undefined.
107
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
108
- * For the list of reserved names please see:
109
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
110
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
111
- * JSPB instance for transitional soy proto support:
112
- * http://goto/soy-param-migration
113
- * @return {!Object}
114
- */
115
- proto.google.api.Quota.prototype.toObject = function(opt_includeInstance) {
116
- return proto.google.api.Quota.toObject(opt_includeInstance, this);
117
- };
118
-
119
-
120
- /**
121
- * Static version of the {@see toObject} method.
122
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
123
- * the JSPB instance for transitional soy proto support:
124
- * http://goto/soy-param-migration
125
- * @param {!proto.google.api.Quota} msg The msg instance to transform.
126
- * @return {!Object}
127
- * @suppress {unusedLocalVariables} f is only used for nested messages
128
- */
129
- proto.google.api.Quota.toObject = function(includeInstance, msg) {
130
- var f, obj = {
131
- limitsList: jspb.Message.toObjectList(msg.getLimitsList(),
132
- proto.google.api.QuotaLimit.toObject, includeInstance),
133
- metricRulesList: jspb.Message.toObjectList(msg.getMetricRulesList(),
134
- proto.google.api.MetricRule.toObject, includeInstance)
135
- };
136
-
137
- if (includeInstance) {
138
- obj.$jspbMessageInstance = msg;
139
- }
140
- return obj;
141
- };
142
- }
143
-
144
-
145
- /**
146
- * Deserializes binary data (in protobuf wire format).
147
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
148
- * @return {!proto.google.api.Quota}
149
- */
150
- proto.google.api.Quota.deserializeBinary = function(bytes) {
151
- var reader = new jspb.BinaryReader(bytes);
152
- var msg = new proto.google.api.Quota;
153
- return proto.google.api.Quota.deserializeBinaryFromReader(msg, reader);
154
- };
155
-
156
-
157
- /**
158
- * Deserializes binary data (in protobuf wire format) from the
159
- * given reader into the given message object.
160
- * @param {!proto.google.api.Quota} msg The message object to deserialize into.
161
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
162
- * @return {!proto.google.api.Quota}
163
- */
164
- proto.google.api.Quota.deserializeBinaryFromReader = function(msg, reader) {
165
- while (reader.nextField()) {
166
- if (reader.isEndGroup()) {
167
- break;
168
- }
169
- var field = reader.getFieldNumber();
170
- switch (field) {
171
- case 3:
172
- var value = new proto.google.api.QuotaLimit;
173
- reader.readMessage(value,proto.google.api.QuotaLimit.deserializeBinaryFromReader);
174
- msg.addLimits(value);
175
- break;
176
- case 4:
177
- var value = new proto.google.api.MetricRule;
178
- reader.readMessage(value,proto.google.api.MetricRule.deserializeBinaryFromReader);
179
- msg.addMetricRules(value);
180
- break;
181
- default:
182
- reader.skipField();
183
- break;
184
- }
185
- }
186
- return msg;
187
- };
188
-
189
-
190
- /**
191
- * Serializes the message to binary data (in protobuf wire format).
192
- * @return {!Uint8Array}
193
- */
194
- proto.google.api.Quota.prototype.serializeBinary = function() {
195
- var writer = new jspb.BinaryWriter();
196
- proto.google.api.Quota.serializeBinaryToWriter(this, writer);
197
- return writer.getResultBuffer();
198
- };
199
-
200
-
201
- /**
202
- * Serializes the given message to binary data (in protobuf wire
203
- * format), writing to the given BinaryWriter.
204
- * @param {!proto.google.api.Quota} message
205
- * @param {!jspb.BinaryWriter} writer
206
- * @suppress {unusedLocalVariables} f is only used for nested messages
207
- */
208
- proto.google.api.Quota.serializeBinaryToWriter = function(message, writer) {
209
- var f = undefined;
210
- f = message.getLimitsList();
211
- if (f.length > 0) {
212
- writer.writeRepeatedMessage(
213
- 3,
214
- f,
215
- proto.google.api.QuotaLimit.serializeBinaryToWriter
216
- );
217
- }
218
- f = message.getMetricRulesList();
219
- if (f.length > 0) {
220
- writer.writeRepeatedMessage(
221
- 4,
222
- f,
223
- proto.google.api.MetricRule.serializeBinaryToWriter
224
- );
225
- }
226
- };
227
-
228
-
229
- /**
230
- * repeated QuotaLimit limits = 3;
231
- * @return {!Array<!proto.google.api.QuotaLimit>}
232
- */
233
- proto.google.api.Quota.prototype.getLimitsList = function() {
234
- return /** @type{!Array<!proto.google.api.QuotaLimit>} */ (
235
- jspb.Message.getRepeatedWrapperField(this, proto.google.api.QuotaLimit, 3));
236
- };
237
-
238
-
239
- /**
240
- * @param {!Array<!proto.google.api.QuotaLimit>} value
241
- * @return {!proto.google.api.Quota} returns this
242
- */
243
- proto.google.api.Quota.prototype.setLimitsList = function(value) {
244
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
245
- };
246
-
247
-
248
- /**
249
- * @param {!proto.google.api.QuotaLimit=} opt_value
250
- * @param {number=} opt_index
251
- * @return {!proto.google.api.QuotaLimit}
252
- */
253
- proto.google.api.Quota.prototype.addLimits = function(opt_value, opt_index) {
254
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.QuotaLimit, opt_index);
255
- };
256
-
257
-
258
- /**
259
- * Clears the list making it empty but non-null.
260
- * @return {!proto.google.api.Quota} returns this
261
- */
262
- proto.google.api.Quota.prototype.clearLimitsList = function() {
263
- return this.setLimitsList([]);
264
- };
265
-
266
-
267
- /**
268
- * repeated MetricRule metric_rules = 4;
269
- * @return {!Array<!proto.google.api.MetricRule>}
270
- */
271
- proto.google.api.Quota.prototype.getMetricRulesList = function() {
272
- return /** @type{!Array<!proto.google.api.MetricRule>} */ (
273
- jspb.Message.getRepeatedWrapperField(this, proto.google.api.MetricRule, 4));
274
- };
275
-
276
-
277
- /**
278
- * @param {!Array<!proto.google.api.MetricRule>} value
279
- * @return {!proto.google.api.Quota} returns this
280
- */
281
- proto.google.api.Quota.prototype.setMetricRulesList = function(value) {
282
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
283
- };
284
-
285
-
286
- /**
287
- * @param {!proto.google.api.MetricRule=} opt_value
288
- * @param {number=} opt_index
289
- * @return {!proto.google.api.MetricRule}
290
- */
291
- proto.google.api.Quota.prototype.addMetricRules = function(opt_value, opt_index) {
292
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.api.MetricRule, opt_index);
293
- };
294
-
295
-
296
- /**
297
- * Clears the list making it empty but non-null.
298
- * @return {!proto.google.api.Quota} returns this
299
- */
300
- proto.google.api.Quota.prototype.clearMetricRulesList = function() {
301
- return this.setMetricRulesList([]);
302
- };
303
-
304
-
305
-
306
-
307
-
308
- if (jspb.Message.GENERATE_TO_OBJECT) {
309
- /**
310
- * Creates an object representation of this proto.
311
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
312
- * Optional fields that are not set will be set to undefined.
313
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
314
- * For the list of reserved names please see:
315
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
316
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
317
- * JSPB instance for transitional soy proto support:
318
- * http://goto/soy-param-migration
319
- * @return {!Object}
320
- */
321
- proto.google.api.MetricRule.prototype.toObject = function(opt_includeInstance) {
322
- return proto.google.api.MetricRule.toObject(opt_includeInstance, this);
323
- };
324
-
325
-
326
- /**
327
- * Static version of the {@see toObject} method.
328
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
329
- * the JSPB instance for transitional soy proto support:
330
- * http://goto/soy-param-migration
331
- * @param {!proto.google.api.MetricRule} msg The msg instance to transform.
332
- * @return {!Object}
333
- * @suppress {unusedLocalVariables} f is only used for nested messages
334
- */
335
- proto.google.api.MetricRule.toObject = function(includeInstance, msg) {
336
- var f, obj = {
337
- selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
338
- metricCostsMap: (f = msg.getMetricCostsMap()) ? f.toObject(includeInstance, undefined) : []
339
- };
340
-
341
- if (includeInstance) {
342
- obj.$jspbMessageInstance = msg;
343
- }
344
- return obj;
345
- };
346
- }
347
-
348
-
349
- /**
350
- * Deserializes binary data (in protobuf wire format).
351
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
352
- * @return {!proto.google.api.MetricRule}
353
- */
354
- proto.google.api.MetricRule.deserializeBinary = function(bytes) {
355
- var reader = new jspb.BinaryReader(bytes);
356
- var msg = new proto.google.api.MetricRule;
357
- return proto.google.api.MetricRule.deserializeBinaryFromReader(msg, reader);
358
- };
359
-
360
-
361
- /**
362
- * Deserializes binary data (in protobuf wire format) from the
363
- * given reader into the given message object.
364
- * @param {!proto.google.api.MetricRule} msg The message object to deserialize into.
365
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
366
- * @return {!proto.google.api.MetricRule}
367
- */
368
- proto.google.api.MetricRule.deserializeBinaryFromReader = function(msg, reader) {
369
- while (reader.nextField()) {
370
- if (reader.isEndGroup()) {
371
- break;
372
- }
373
- var field = reader.getFieldNumber();
374
- switch (field) {
375
- case 1:
376
- var value = /** @type {string} */ (reader.readString());
377
- msg.setSelector(value);
378
- break;
379
- case 2:
380
- var value = msg.getMetricCostsMap();
381
- reader.readMessage(value, function(message, reader) {
382
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt64, null, "", 0);
383
- });
384
- break;
385
- default:
386
- reader.skipField();
387
- break;
388
- }
389
- }
390
- return msg;
391
- };
392
-
393
-
394
- /**
395
- * Serializes the message to binary data (in protobuf wire format).
396
- * @return {!Uint8Array}
397
- */
398
- proto.google.api.MetricRule.prototype.serializeBinary = function() {
399
- var writer = new jspb.BinaryWriter();
400
- proto.google.api.MetricRule.serializeBinaryToWriter(this, writer);
401
- return writer.getResultBuffer();
402
- };
403
-
404
-
405
- /**
406
- * Serializes the given message to binary data (in protobuf wire
407
- * format), writing to the given BinaryWriter.
408
- * @param {!proto.google.api.MetricRule} message
409
- * @param {!jspb.BinaryWriter} writer
410
- * @suppress {unusedLocalVariables} f is only used for nested messages
411
- */
412
- proto.google.api.MetricRule.serializeBinaryToWriter = function(message, writer) {
413
- var f = undefined;
414
- f = message.getSelector();
415
- if (f.length > 0) {
416
- writer.writeString(
417
- 1,
418
- f
419
- );
420
- }
421
- f = message.getMetricCostsMap(true);
422
- if (f && f.getLength() > 0) {
423
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt64);
424
- }
425
- };
426
-
427
-
428
- /**
429
- * optional string selector = 1;
430
- * @return {string}
431
- */
432
- proto.google.api.MetricRule.prototype.getSelector = function() {
433
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
434
- };
435
-
436
-
437
- /**
438
- * @param {string} value
439
- * @return {!proto.google.api.MetricRule} returns this
440
- */
441
- proto.google.api.MetricRule.prototype.setSelector = function(value) {
442
- return jspb.Message.setProto3StringField(this, 1, value);
443
- };
444
-
445
-
446
- /**
447
- * map<string, int64> metric_costs = 2;
448
- * @param {boolean=} opt_noLazyCreate Do not create the map if
449
- * empty, instead returning `undefined`
450
- * @return {!jspb.Map<string,number>}
451
- */
452
- proto.google.api.MetricRule.prototype.getMetricCostsMap = function(opt_noLazyCreate) {
453
- return /** @type {!jspb.Map<string,number>} */ (
454
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
455
- null));
456
- };
457
-
458
-
459
- /**
460
- * Clears values from the map. The map will be non-null.
461
- * @return {!proto.google.api.MetricRule} returns this
462
- */
463
- proto.google.api.MetricRule.prototype.clearMetricCostsMap = function() {
464
- this.getMetricCostsMap().clear();
465
- return this;
466
- };
467
-
468
-
469
-
470
-
471
-
472
- if (jspb.Message.GENERATE_TO_OBJECT) {
473
- /**
474
- * Creates an object representation of this proto.
475
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
476
- * Optional fields that are not set will be set to undefined.
477
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
478
- * For the list of reserved names please see:
479
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
480
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
481
- * JSPB instance for transitional soy proto support:
482
- * http://goto/soy-param-migration
483
- * @return {!Object}
484
- */
485
- proto.google.api.QuotaLimit.prototype.toObject = function(opt_includeInstance) {
486
- return proto.google.api.QuotaLimit.toObject(opt_includeInstance, this);
487
- };
488
-
489
-
490
- /**
491
- * Static version of the {@see toObject} method.
492
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
493
- * the JSPB instance for transitional soy proto support:
494
- * http://goto/soy-param-migration
495
- * @param {!proto.google.api.QuotaLimit} msg The msg instance to transform.
496
- * @return {!Object}
497
- * @suppress {unusedLocalVariables} f is only used for nested messages
498
- */
499
- proto.google.api.QuotaLimit.toObject = function(includeInstance, msg) {
500
- var f, obj = {
501
- name: jspb.Message.getFieldWithDefault(msg, 6, ""),
502
- description: jspb.Message.getFieldWithDefault(msg, 2, ""),
503
- defaultLimit: jspb.Message.getFieldWithDefault(msg, 3, 0),
504
- maxLimit: jspb.Message.getFieldWithDefault(msg, 4, 0),
505
- freeTier: jspb.Message.getFieldWithDefault(msg, 7, 0),
506
- duration: jspb.Message.getFieldWithDefault(msg, 5, ""),
507
- metric: jspb.Message.getFieldWithDefault(msg, 8, ""),
508
- unit: jspb.Message.getFieldWithDefault(msg, 9, ""),
509
- valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [],
510
- displayName: jspb.Message.getFieldWithDefault(msg, 12, "")
511
- };
512
-
513
- if (includeInstance) {
514
- obj.$jspbMessageInstance = msg;
515
- }
516
- return obj;
517
- };
518
- }
519
-
520
-
521
- /**
522
- * Deserializes binary data (in protobuf wire format).
523
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
524
- * @return {!proto.google.api.QuotaLimit}
525
- */
526
- proto.google.api.QuotaLimit.deserializeBinary = function(bytes) {
527
- var reader = new jspb.BinaryReader(bytes);
528
- var msg = new proto.google.api.QuotaLimit;
529
- return proto.google.api.QuotaLimit.deserializeBinaryFromReader(msg, reader);
530
- };
531
-
532
-
533
- /**
534
- * Deserializes binary data (in protobuf wire format) from the
535
- * given reader into the given message object.
536
- * @param {!proto.google.api.QuotaLimit} msg The message object to deserialize into.
537
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
538
- * @return {!proto.google.api.QuotaLimit}
539
- */
540
- proto.google.api.QuotaLimit.deserializeBinaryFromReader = function(msg, reader) {
541
- while (reader.nextField()) {
542
- if (reader.isEndGroup()) {
543
- break;
544
- }
545
- var field = reader.getFieldNumber();
546
- switch (field) {
547
- case 6:
548
- var value = /** @type {string} */ (reader.readString());
549
- msg.setName(value);
550
- break;
551
- case 2:
552
- var value = /** @type {string} */ (reader.readString());
553
- msg.setDescription(value);
554
- break;
555
- case 3:
556
- var value = /** @type {number} */ (reader.readInt64());
557
- msg.setDefaultLimit(value);
558
- break;
559
- case 4:
560
- var value = /** @type {number} */ (reader.readInt64());
561
- msg.setMaxLimit(value);
562
- break;
563
- case 7:
564
- var value = /** @type {number} */ (reader.readInt64());
565
- msg.setFreeTier(value);
566
- break;
567
- case 5:
568
- var value = /** @type {string} */ (reader.readString());
569
- msg.setDuration(value);
570
- break;
571
- case 8:
572
- var value = /** @type {string} */ (reader.readString());
573
- msg.setMetric(value);
574
- break;
575
- case 9:
576
- var value = /** @type {string} */ (reader.readString());
577
- msg.setUnit(value);
578
- break;
579
- case 10:
580
- var value = msg.getValuesMap();
581
- reader.readMessage(value, function(message, reader) {
582
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt64, null, "", 0);
583
- });
584
- break;
585
- case 12:
586
- var value = /** @type {string} */ (reader.readString());
587
- msg.setDisplayName(value);
588
- break;
589
- default:
590
- reader.skipField();
591
- break;
592
- }
593
- }
594
- return msg;
595
- };
596
-
597
-
598
- /**
599
- * Serializes the message to binary data (in protobuf wire format).
600
- * @return {!Uint8Array}
601
- */
602
- proto.google.api.QuotaLimit.prototype.serializeBinary = function() {
603
- var writer = new jspb.BinaryWriter();
604
- proto.google.api.QuotaLimit.serializeBinaryToWriter(this, writer);
605
- return writer.getResultBuffer();
606
- };
607
-
608
-
609
- /**
610
- * Serializes the given message to binary data (in protobuf wire
611
- * format), writing to the given BinaryWriter.
612
- * @param {!proto.google.api.QuotaLimit} message
613
- * @param {!jspb.BinaryWriter} writer
614
- * @suppress {unusedLocalVariables} f is only used for nested messages
615
- */
616
- proto.google.api.QuotaLimit.serializeBinaryToWriter = function(message, writer) {
617
- var f = undefined;
618
- f = message.getName();
619
- if (f.length > 0) {
620
- writer.writeString(
621
- 6,
622
- f
623
- );
624
- }
625
- f = message.getDescription();
626
- if (f.length > 0) {
627
- writer.writeString(
628
- 2,
629
- f
630
- );
631
- }
632
- f = message.getDefaultLimit();
633
- if (f !== 0) {
634
- writer.writeInt64(
635
- 3,
636
- f
637
- );
638
- }
639
- f = message.getMaxLimit();
640
- if (f !== 0) {
641
- writer.writeInt64(
642
- 4,
643
- f
644
- );
645
- }
646
- f = message.getFreeTier();
647
- if (f !== 0) {
648
- writer.writeInt64(
649
- 7,
650
- f
651
- );
652
- }
653
- f = message.getDuration();
654
- if (f.length > 0) {
655
- writer.writeString(
656
- 5,
657
- f
658
- );
659
- }
660
- f = message.getMetric();
661
- if (f.length > 0) {
662
- writer.writeString(
663
- 8,
664
- f
665
- );
666
- }
667
- f = message.getUnit();
668
- if (f.length > 0) {
669
- writer.writeString(
670
- 9,
671
- f
672
- );
673
- }
674
- f = message.getValuesMap(true);
675
- if (f && f.getLength() > 0) {
676
- f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt64);
677
- }
678
- f = message.getDisplayName();
679
- if (f.length > 0) {
680
- writer.writeString(
681
- 12,
682
- f
683
- );
684
- }
685
- };
686
-
687
-
688
- /**
689
- * optional string name = 6;
690
- * @return {string}
691
- */
692
- proto.google.api.QuotaLimit.prototype.getName = function() {
693
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
694
- };
695
-
696
-
697
- /**
698
- * @param {string} value
699
- * @return {!proto.google.api.QuotaLimit} returns this
700
- */
701
- proto.google.api.QuotaLimit.prototype.setName = function(value) {
702
- return jspb.Message.setProto3StringField(this, 6, value);
703
- };
704
-
705
-
706
- /**
707
- * optional string description = 2;
708
- * @return {string}
709
- */
710
- proto.google.api.QuotaLimit.prototype.getDescription = function() {
711
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
712
- };
713
-
714
-
715
- /**
716
- * @param {string} value
717
- * @return {!proto.google.api.QuotaLimit} returns this
718
- */
719
- proto.google.api.QuotaLimit.prototype.setDescription = function(value) {
720
- return jspb.Message.setProto3StringField(this, 2, value);
721
- };
722
-
723
-
724
- /**
725
- * optional int64 default_limit = 3;
726
- * @return {number}
727
- */
728
- proto.google.api.QuotaLimit.prototype.getDefaultLimit = function() {
729
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
730
- };
731
-
732
-
733
- /**
734
- * @param {number} value
735
- * @return {!proto.google.api.QuotaLimit} returns this
736
- */
737
- proto.google.api.QuotaLimit.prototype.setDefaultLimit = function(value) {
738
- return jspb.Message.setProto3IntField(this, 3, value);
739
- };
740
-
741
-
742
- /**
743
- * optional int64 max_limit = 4;
744
- * @return {number}
745
- */
746
- proto.google.api.QuotaLimit.prototype.getMaxLimit = function() {
747
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
748
- };
749
-
750
-
751
- /**
752
- * @param {number} value
753
- * @return {!proto.google.api.QuotaLimit} returns this
754
- */
755
- proto.google.api.QuotaLimit.prototype.setMaxLimit = function(value) {
756
- return jspb.Message.setProto3IntField(this, 4, value);
757
- };
758
-
759
-
760
- /**
761
- * optional int64 free_tier = 7;
762
- * @return {number}
763
- */
764
- proto.google.api.QuotaLimit.prototype.getFreeTier = function() {
765
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
766
- };
767
-
768
-
769
- /**
770
- * @param {number} value
771
- * @return {!proto.google.api.QuotaLimit} returns this
772
- */
773
- proto.google.api.QuotaLimit.prototype.setFreeTier = function(value) {
774
- return jspb.Message.setProto3IntField(this, 7, value);
775
- };
776
-
777
-
778
- /**
779
- * optional string duration = 5;
780
- * @return {string}
781
- */
782
- proto.google.api.QuotaLimit.prototype.getDuration = function() {
783
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
784
- };
785
-
786
-
787
- /**
788
- * @param {string} value
789
- * @return {!proto.google.api.QuotaLimit} returns this
790
- */
791
- proto.google.api.QuotaLimit.prototype.setDuration = function(value) {
792
- return jspb.Message.setProto3StringField(this, 5, value);
793
- };
794
-
795
-
796
- /**
797
- * optional string metric = 8;
798
- * @return {string}
799
- */
800
- proto.google.api.QuotaLimit.prototype.getMetric = function() {
801
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
802
- };
803
-
804
-
805
- /**
806
- * @param {string} value
807
- * @return {!proto.google.api.QuotaLimit} returns this
808
- */
809
- proto.google.api.QuotaLimit.prototype.setMetric = function(value) {
810
- return jspb.Message.setProto3StringField(this, 8, value);
811
- };
812
-
813
-
814
- /**
815
- * optional string unit = 9;
816
- * @return {string}
817
- */
818
- proto.google.api.QuotaLimit.prototype.getUnit = function() {
819
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
820
- };
821
-
822
-
823
- /**
824
- * @param {string} value
825
- * @return {!proto.google.api.QuotaLimit} returns this
826
- */
827
- proto.google.api.QuotaLimit.prototype.setUnit = function(value) {
828
- return jspb.Message.setProto3StringField(this, 9, value);
829
- };
830
-
831
-
832
- /**
833
- * map<string, int64> values = 10;
834
- * @param {boolean=} opt_noLazyCreate Do not create the map if
835
- * empty, instead returning `undefined`
836
- * @return {!jspb.Map<string,number>}
837
- */
838
- proto.google.api.QuotaLimit.prototype.getValuesMap = function(opt_noLazyCreate) {
839
- return /** @type {!jspb.Map<string,number>} */ (
840
- jspb.Message.getMapField(this, 10, opt_noLazyCreate,
841
- null));
842
- };
843
-
844
-
845
- /**
846
- * Clears values from the map. The map will be non-null.
847
- * @return {!proto.google.api.QuotaLimit} returns this
848
- */
849
- proto.google.api.QuotaLimit.prototype.clearValuesMap = function() {
850
- this.getValuesMap().clear();
851
- return this;
852
- };
853
-
854
-
855
- /**
856
- * optional string display_name = 12;
857
- * @return {string}
858
- */
859
- proto.google.api.QuotaLimit.prototype.getDisplayName = function() {
860
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
861
- };
862
-
863
-
864
- /**
865
- * @param {string} value
866
- * @return {!proto.google.api.QuotaLimit} returns this
867
- */
868
- proto.google.api.QuotaLimit.prototype.setDisplayName = function(value) {
869
- return jspb.Message.setProto3StringField(this, 12, value);
870
- };
871
-
872
-
873
- goog.object.extend(exports, proto.google.api);