@aceplus/smartace-api 2.1.0-drumtracker.8 → 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 -541
  47. package/drumtracker.drum_pb.js +0 -4110
  48. package/drumtracker.drum_pb_service.d.ts +0 -177
  49. package/drumtracker.drum_pb_service.js +0 -301
  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,629 +0,0 @@
1
- // source: google/api/metric.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_label_pb = require('../../google/api/label_pb.js');
25
- goog.object.extend(proto, google_api_label_pb);
26
- goog.exportSymbol('proto.google.api.Metric', null, global);
27
- goog.exportSymbol('proto.google.api.MetricDescriptor', null, global);
28
- goog.exportSymbol('proto.google.api.MetricDescriptor.MetricKind', null, global);
29
- goog.exportSymbol('proto.google.api.MetricDescriptor.ValueType', null, global);
30
- /**
31
- * Generated by JsPbCodeGenerator.
32
- * @param {Array=} opt_data Optional initial data array, typically from a
33
- * server response, or constructed directly in Javascript. The array is used
34
- * in place and becomes part of the constructed object. It is not cloned.
35
- * If no data is provided, the constructed object will be empty, but still
36
- * valid.
37
- * @extends {jspb.Message}
38
- * @constructor
39
- */
40
- proto.google.api.MetricDescriptor = function(opt_data) {
41
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.MetricDescriptor.repeatedFields_, null);
42
- };
43
- goog.inherits(proto.google.api.MetricDescriptor, jspb.Message);
44
- if (goog.DEBUG && !COMPILED) {
45
- /**
46
- * @public
47
- * @override
48
- */
49
- proto.google.api.MetricDescriptor.displayName = 'proto.google.api.MetricDescriptor';
50
- }
51
- /**
52
- * Generated by JsPbCodeGenerator.
53
- * @param {Array=} opt_data Optional initial data array, typically from a
54
- * server response, or constructed directly in Javascript. The array is used
55
- * in place and becomes part of the constructed object. It is not cloned.
56
- * If no data is provided, the constructed object will be empty, but still
57
- * valid.
58
- * @extends {jspb.Message}
59
- * @constructor
60
- */
61
- proto.google.api.Metric = function(opt_data) {
62
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
- };
64
- goog.inherits(proto.google.api.Metric, jspb.Message);
65
- if (goog.DEBUG && !COMPILED) {
66
- /**
67
- * @public
68
- * @override
69
- */
70
- proto.google.api.Metric.displayName = 'proto.google.api.Metric';
71
- }
72
-
73
- /**
74
- * List of repeated fields within this message type.
75
- * @private {!Array<number>}
76
- * @const
77
- */
78
- proto.google.api.MetricDescriptor.repeatedFields_ = [2];
79
-
80
-
81
-
82
- if (jspb.Message.GENERATE_TO_OBJECT) {
83
- /**
84
- * Creates an object representation of this proto.
85
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
86
- * Optional fields that are not set will be set to undefined.
87
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
88
- * For the list of reserved names please see:
89
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
90
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
91
- * JSPB instance for transitional soy proto support:
92
- * http://goto/soy-param-migration
93
- * @return {!Object}
94
- */
95
- proto.google.api.MetricDescriptor.prototype.toObject = function(opt_includeInstance) {
96
- return proto.google.api.MetricDescriptor.toObject(opt_includeInstance, this);
97
- };
98
-
99
-
100
- /**
101
- * Static version of the {@see toObject} method.
102
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
103
- * the JSPB instance for transitional soy proto support:
104
- * http://goto/soy-param-migration
105
- * @param {!proto.google.api.MetricDescriptor} msg The msg instance to transform.
106
- * @return {!Object}
107
- * @suppress {unusedLocalVariables} f is only used for nested messages
108
- */
109
- proto.google.api.MetricDescriptor.toObject = function(includeInstance, msg) {
110
- var f, obj = {
111
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
112
- type: jspb.Message.getFieldWithDefault(msg, 8, ""),
113
- labelsList: jspb.Message.toObjectList(msg.getLabelsList(),
114
- google_api_label_pb.LabelDescriptor.toObject, includeInstance),
115
- metricKind: jspb.Message.getFieldWithDefault(msg, 3, 0),
116
- valueType: jspb.Message.getFieldWithDefault(msg, 4, 0),
117
- unit: jspb.Message.getFieldWithDefault(msg, 5, ""),
118
- description: jspb.Message.getFieldWithDefault(msg, 6, ""),
119
- displayName: jspb.Message.getFieldWithDefault(msg, 7, "")
120
- };
121
-
122
- if (includeInstance) {
123
- obj.$jspbMessageInstance = msg;
124
- }
125
- return obj;
126
- };
127
- }
128
-
129
-
130
- /**
131
- * Deserializes binary data (in protobuf wire format).
132
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
133
- * @return {!proto.google.api.MetricDescriptor}
134
- */
135
- proto.google.api.MetricDescriptor.deserializeBinary = function(bytes) {
136
- var reader = new jspb.BinaryReader(bytes);
137
- var msg = new proto.google.api.MetricDescriptor;
138
- return proto.google.api.MetricDescriptor.deserializeBinaryFromReader(msg, reader);
139
- };
140
-
141
-
142
- /**
143
- * Deserializes binary data (in protobuf wire format) from the
144
- * given reader into the given message object.
145
- * @param {!proto.google.api.MetricDescriptor} msg The message object to deserialize into.
146
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
147
- * @return {!proto.google.api.MetricDescriptor}
148
- */
149
- proto.google.api.MetricDescriptor.deserializeBinaryFromReader = function(msg, reader) {
150
- while (reader.nextField()) {
151
- if (reader.isEndGroup()) {
152
- break;
153
- }
154
- var field = reader.getFieldNumber();
155
- switch (field) {
156
- case 1:
157
- var value = /** @type {string} */ (reader.readString());
158
- msg.setName(value);
159
- break;
160
- case 8:
161
- var value = /** @type {string} */ (reader.readString());
162
- msg.setType(value);
163
- break;
164
- case 2:
165
- var value = new google_api_label_pb.LabelDescriptor;
166
- reader.readMessage(value,google_api_label_pb.LabelDescriptor.deserializeBinaryFromReader);
167
- msg.addLabels(value);
168
- break;
169
- case 3:
170
- var value = /** @type {!proto.google.api.MetricDescriptor.MetricKind} */ (reader.readEnum());
171
- msg.setMetricKind(value);
172
- break;
173
- case 4:
174
- var value = /** @type {!proto.google.api.MetricDescriptor.ValueType} */ (reader.readEnum());
175
- msg.setValueType(value);
176
- break;
177
- case 5:
178
- var value = /** @type {string} */ (reader.readString());
179
- msg.setUnit(value);
180
- break;
181
- case 6:
182
- var value = /** @type {string} */ (reader.readString());
183
- msg.setDescription(value);
184
- break;
185
- case 7:
186
- var value = /** @type {string} */ (reader.readString());
187
- msg.setDisplayName(value);
188
- break;
189
- default:
190
- reader.skipField();
191
- break;
192
- }
193
- }
194
- return msg;
195
- };
196
-
197
-
198
- /**
199
- * Serializes the message to binary data (in protobuf wire format).
200
- * @return {!Uint8Array}
201
- */
202
- proto.google.api.MetricDescriptor.prototype.serializeBinary = function() {
203
- var writer = new jspb.BinaryWriter();
204
- proto.google.api.MetricDescriptor.serializeBinaryToWriter(this, writer);
205
- return writer.getResultBuffer();
206
- };
207
-
208
-
209
- /**
210
- * Serializes the given message to binary data (in protobuf wire
211
- * format), writing to the given BinaryWriter.
212
- * @param {!proto.google.api.MetricDescriptor} message
213
- * @param {!jspb.BinaryWriter} writer
214
- * @suppress {unusedLocalVariables} f is only used for nested messages
215
- */
216
- proto.google.api.MetricDescriptor.serializeBinaryToWriter = function(message, writer) {
217
- var f = undefined;
218
- f = message.getName();
219
- if (f.length > 0) {
220
- writer.writeString(
221
- 1,
222
- f
223
- );
224
- }
225
- f = message.getType();
226
- if (f.length > 0) {
227
- writer.writeString(
228
- 8,
229
- f
230
- );
231
- }
232
- f = message.getLabelsList();
233
- if (f.length > 0) {
234
- writer.writeRepeatedMessage(
235
- 2,
236
- f,
237
- google_api_label_pb.LabelDescriptor.serializeBinaryToWriter
238
- );
239
- }
240
- f = message.getMetricKind();
241
- if (f !== 0.0) {
242
- writer.writeEnum(
243
- 3,
244
- f
245
- );
246
- }
247
- f = message.getValueType();
248
- if (f !== 0.0) {
249
- writer.writeEnum(
250
- 4,
251
- f
252
- );
253
- }
254
- f = message.getUnit();
255
- if (f.length > 0) {
256
- writer.writeString(
257
- 5,
258
- f
259
- );
260
- }
261
- f = message.getDescription();
262
- if (f.length > 0) {
263
- writer.writeString(
264
- 6,
265
- f
266
- );
267
- }
268
- f = message.getDisplayName();
269
- if (f.length > 0) {
270
- writer.writeString(
271
- 7,
272
- f
273
- );
274
- }
275
- };
276
-
277
-
278
- /**
279
- * @enum {number}
280
- */
281
- proto.google.api.MetricDescriptor.MetricKind = {
282
- METRIC_KIND_UNSPECIFIED: 0,
283
- GAUGE: 1,
284
- DELTA: 2,
285
- CUMULATIVE: 3
286
- };
287
-
288
- /**
289
- * @enum {number}
290
- */
291
- proto.google.api.MetricDescriptor.ValueType = {
292
- VALUE_TYPE_UNSPECIFIED: 0,
293
- BOOL: 1,
294
- INT64: 2,
295
- DOUBLE: 3,
296
- STRING: 4,
297
- DISTRIBUTION: 5,
298
- MONEY: 6
299
- };
300
-
301
- /**
302
- * optional string name = 1;
303
- * @return {string}
304
- */
305
- proto.google.api.MetricDescriptor.prototype.getName = function() {
306
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
307
- };
308
-
309
-
310
- /**
311
- * @param {string} value
312
- * @return {!proto.google.api.MetricDescriptor} returns this
313
- */
314
- proto.google.api.MetricDescriptor.prototype.setName = function(value) {
315
- return jspb.Message.setProto3StringField(this, 1, value);
316
- };
317
-
318
-
319
- /**
320
- * optional string type = 8;
321
- * @return {string}
322
- */
323
- proto.google.api.MetricDescriptor.prototype.getType = function() {
324
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
325
- };
326
-
327
-
328
- /**
329
- * @param {string} value
330
- * @return {!proto.google.api.MetricDescriptor} returns this
331
- */
332
- proto.google.api.MetricDescriptor.prototype.setType = function(value) {
333
- return jspb.Message.setProto3StringField(this, 8, value);
334
- };
335
-
336
-
337
- /**
338
- * repeated LabelDescriptor labels = 2;
339
- * @return {!Array<!proto.google.api.LabelDescriptor>}
340
- */
341
- proto.google.api.MetricDescriptor.prototype.getLabelsList = function() {
342
- return /** @type{!Array<!proto.google.api.LabelDescriptor>} */ (
343
- jspb.Message.getRepeatedWrapperField(this, google_api_label_pb.LabelDescriptor, 2));
344
- };
345
-
346
-
347
- /**
348
- * @param {!Array<!proto.google.api.LabelDescriptor>} value
349
- * @return {!proto.google.api.MetricDescriptor} returns this
350
- */
351
- proto.google.api.MetricDescriptor.prototype.setLabelsList = function(value) {
352
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
353
- };
354
-
355
-
356
- /**
357
- * @param {!proto.google.api.LabelDescriptor=} opt_value
358
- * @param {number=} opt_index
359
- * @return {!proto.google.api.LabelDescriptor}
360
- */
361
- proto.google.api.MetricDescriptor.prototype.addLabels = function(opt_value, opt_index) {
362
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.LabelDescriptor, opt_index);
363
- };
364
-
365
-
366
- /**
367
- * Clears the list making it empty but non-null.
368
- * @return {!proto.google.api.MetricDescriptor} returns this
369
- */
370
- proto.google.api.MetricDescriptor.prototype.clearLabelsList = function() {
371
- return this.setLabelsList([]);
372
- };
373
-
374
-
375
- /**
376
- * optional MetricKind metric_kind = 3;
377
- * @return {!proto.google.api.MetricDescriptor.MetricKind}
378
- */
379
- proto.google.api.MetricDescriptor.prototype.getMetricKind = function() {
380
- return /** @type {!proto.google.api.MetricDescriptor.MetricKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
381
- };
382
-
383
-
384
- /**
385
- * @param {!proto.google.api.MetricDescriptor.MetricKind} value
386
- * @return {!proto.google.api.MetricDescriptor} returns this
387
- */
388
- proto.google.api.MetricDescriptor.prototype.setMetricKind = function(value) {
389
- return jspb.Message.setProto3EnumField(this, 3, value);
390
- };
391
-
392
-
393
- /**
394
- * optional ValueType value_type = 4;
395
- * @return {!proto.google.api.MetricDescriptor.ValueType}
396
- */
397
- proto.google.api.MetricDescriptor.prototype.getValueType = function() {
398
- return /** @type {!proto.google.api.MetricDescriptor.ValueType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
399
- };
400
-
401
-
402
- /**
403
- * @param {!proto.google.api.MetricDescriptor.ValueType} value
404
- * @return {!proto.google.api.MetricDescriptor} returns this
405
- */
406
- proto.google.api.MetricDescriptor.prototype.setValueType = function(value) {
407
- return jspb.Message.setProto3EnumField(this, 4, value);
408
- };
409
-
410
-
411
- /**
412
- * optional string unit = 5;
413
- * @return {string}
414
- */
415
- proto.google.api.MetricDescriptor.prototype.getUnit = function() {
416
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
417
- };
418
-
419
-
420
- /**
421
- * @param {string} value
422
- * @return {!proto.google.api.MetricDescriptor} returns this
423
- */
424
- proto.google.api.MetricDescriptor.prototype.setUnit = function(value) {
425
- return jspb.Message.setProto3StringField(this, 5, value);
426
- };
427
-
428
-
429
- /**
430
- * optional string description = 6;
431
- * @return {string}
432
- */
433
- proto.google.api.MetricDescriptor.prototype.getDescription = function() {
434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
435
- };
436
-
437
-
438
- /**
439
- * @param {string} value
440
- * @return {!proto.google.api.MetricDescriptor} returns this
441
- */
442
- proto.google.api.MetricDescriptor.prototype.setDescription = function(value) {
443
- return jspb.Message.setProto3StringField(this, 6, value);
444
- };
445
-
446
-
447
- /**
448
- * optional string display_name = 7;
449
- * @return {string}
450
- */
451
- proto.google.api.MetricDescriptor.prototype.getDisplayName = function() {
452
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
453
- };
454
-
455
-
456
- /**
457
- * @param {string} value
458
- * @return {!proto.google.api.MetricDescriptor} returns this
459
- */
460
- proto.google.api.MetricDescriptor.prototype.setDisplayName = function(value) {
461
- return jspb.Message.setProto3StringField(this, 7, value);
462
- };
463
-
464
-
465
-
466
-
467
-
468
- if (jspb.Message.GENERATE_TO_OBJECT) {
469
- /**
470
- * Creates an object representation of this proto.
471
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
472
- * Optional fields that are not set will be set to undefined.
473
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
474
- * For the list of reserved names please see:
475
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
476
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
477
- * JSPB instance for transitional soy proto support:
478
- * http://goto/soy-param-migration
479
- * @return {!Object}
480
- */
481
- proto.google.api.Metric.prototype.toObject = function(opt_includeInstance) {
482
- return proto.google.api.Metric.toObject(opt_includeInstance, this);
483
- };
484
-
485
-
486
- /**
487
- * Static version of the {@see toObject} method.
488
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
489
- * the JSPB instance for transitional soy proto support:
490
- * http://goto/soy-param-migration
491
- * @param {!proto.google.api.Metric} msg The msg instance to transform.
492
- * @return {!Object}
493
- * @suppress {unusedLocalVariables} f is only used for nested messages
494
- */
495
- proto.google.api.Metric.toObject = function(includeInstance, msg) {
496
- var f, obj = {
497
- type: jspb.Message.getFieldWithDefault(msg, 3, ""),
498
- labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
499
- };
500
-
501
- if (includeInstance) {
502
- obj.$jspbMessageInstance = msg;
503
- }
504
- return obj;
505
- };
506
- }
507
-
508
-
509
- /**
510
- * Deserializes binary data (in protobuf wire format).
511
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
512
- * @return {!proto.google.api.Metric}
513
- */
514
- proto.google.api.Metric.deserializeBinary = function(bytes) {
515
- var reader = new jspb.BinaryReader(bytes);
516
- var msg = new proto.google.api.Metric;
517
- return proto.google.api.Metric.deserializeBinaryFromReader(msg, reader);
518
- };
519
-
520
-
521
- /**
522
- * Deserializes binary data (in protobuf wire format) from the
523
- * given reader into the given message object.
524
- * @param {!proto.google.api.Metric} msg The message object to deserialize into.
525
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
526
- * @return {!proto.google.api.Metric}
527
- */
528
- proto.google.api.Metric.deserializeBinaryFromReader = function(msg, reader) {
529
- while (reader.nextField()) {
530
- if (reader.isEndGroup()) {
531
- break;
532
- }
533
- var field = reader.getFieldNumber();
534
- switch (field) {
535
- case 3:
536
- var value = /** @type {string} */ (reader.readString());
537
- msg.setType(value);
538
- break;
539
- case 2:
540
- var value = msg.getLabelsMap();
541
- reader.readMessage(value, function(message, reader) {
542
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
543
- });
544
- break;
545
- default:
546
- reader.skipField();
547
- break;
548
- }
549
- }
550
- return msg;
551
- };
552
-
553
-
554
- /**
555
- * Serializes the message to binary data (in protobuf wire format).
556
- * @return {!Uint8Array}
557
- */
558
- proto.google.api.Metric.prototype.serializeBinary = function() {
559
- var writer = new jspb.BinaryWriter();
560
- proto.google.api.Metric.serializeBinaryToWriter(this, writer);
561
- return writer.getResultBuffer();
562
- };
563
-
564
-
565
- /**
566
- * Serializes the given message to binary data (in protobuf wire
567
- * format), writing to the given BinaryWriter.
568
- * @param {!proto.google.api.Metric} message
569
- * @param {!jspb.BinaryWriter} writer
570
- * @suppress {unusedLocalVariables} f is only used for nested messages
571
- */
572
- proto.google.api.Metric.serializeBinaryToWriter = function(message, writer) {
573
- var f = undefined;
574
- f = message.getType();
575
- if (f.length > 0) {
576
- writer.writeString(
577
- 3,
578
- f
579
- );
580
- }
581
- f = message.getLabelsMap(true);
582
- if (f && f.getLength() > 0) {
583
- f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
584
- }
585
- };
586
-
587
-
588
- /**
589
- * optional string type = 3;
590
- * @return {string}
591
- */
592
- proto.google.api.Metric.prototype.getType = function() {
593
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
594
- };
595
-
596
-
597
- /**
598
- * @param {string} value
599
- * @return {!proto.google.api.Metric} returns this
600
- */
601
- proto.google.api.Metric.prototype.setType = function(value) {
602
- return jspb.Message.setProto3StringField(this, 3, value);
603
- };
604
-
605
-
606
- /**
607
- * map<string, string> labels = 2;
608
- * @param {boolean=} opt_noLazyCreate Do not create the map if
609
- * empty, instead returning `undefined`
610
- * @return {!jspb.Map<string,string>}
611
- */
612
- proto.google.api.Metric.prototype.getLabelsMap = function(opt_noLazyCreate) {
613
- return /** @type {!jspb.Map<string,string>} */ (
614
- jspb.Message.getMapField(this, 2, opt_noLazyCreate,
615
- null));
616
- };
617
-
618
-
619
- /**
620
- * Clears values from the map. The map will be non-null.
621
- * @return {!proto.google.api.Metric} returns this
622
- */
623
- proto.google.api.Metric.prototype.clearLabelsMap = function() {
624
- this.getLabelsMap().clear();
625
- return this;
626
- };
627
-
628
-
629
- goog.object.extend(exports, proto.google.api);
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/metric.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/metric.proto
3
-