@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/auth.account_pb.d.ts +582 -0
  2. package/auth.account_pb.js +4287 -0
  3. package/auth.account_pb_service.d.ts +340 -0
  4. package/auth.account_pb_service.js +637 -0
  5. package/auth.account_two_factor_pb.d.ts +159 -0
  6. package/auth.account_two_factor_pb.js +1184 -0
  7. package/auth.account_two_factor_pb_service.d.ts +121 -0
  8. package/auth.account_two_factor_pb_service.js +182 -0
  9. package/auth.app_account_pb.d.ts +156 -0
  10. package/auth.app_account_pb.js +1153 -0
  11. package/auth.app_account_pb_service.d.ts +160 -0
  12. package/auth.app_account_pb_service.js +263 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +174 -0
  18. package/auth.app_distribution_pb.js +1338 -0
  19. package/auth.app_distribution_pb_service.d.ts +120 -0
  20. package/auth.app_distribution_pb_service.js +181 -0
  21. package/auth.authn_pb.d.ts +95 -0
  22. package/auth.authn_pb.js +637 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.push_notification_pb.d.ts +69 -0
  42. package/auth.push_notification_pb.js +411 -0
  43. package/auth.push_notification_pb_service.d.ts +64 -0
  44. package/auth.push_notification_pb_service.js +62 -0
  45. package/auth.sms_pb.d.ts +79 -0
  46. package/auth.sms_pb.js +575 -0
  47. package/auth.sms_pb_service.d.ts +83 -0
  48. package/auth.sms_pb_service.js +102 -0
  49. package/google/api/annotations_pb.d.ts +9 -0
  50. package/google/api/annotations_pb.js +54 -0
  51. package/google/api/annotations_pb_service.d.ts +3 -0
  52. package/google/api/annotations_pb_service.js +3 -0
  53. package/google/api/auth_pb.d.ts +150 -0
  54. package/google/api/auth_pb.js +1160 -0
  55. package/google/api/auth_pb_service.d.ts +3 -0
  56. package/google/api/auth_pb_service.js +3 -0
  57. package/google/api/backend_pb.d.ts +59 -0
  58. package/google/api/backend_pb.js +448 -0
  59. package/google/api/backend_pb_service.d.ts +3 -0
  60. package/google/api/backend_pb_service.js +3 -0
  61. package/google/api/billing_pb.d.ts +54 -0
  62. package/google/api/billing_pb.js +416 -0
  63. package/google/api/billing_pb_service.d.ts +3 -0
  64. package/google/api/billing_pb_service.js +3 -0
  65. package/google/api/client_pb.d.ts +12 -0
  66. package/google/api/client_pb.js +104 -0
  67. package/google/api/client_pb_service.d.ts +3 -0
  68. package/google/api/client_pb_service.js +3 -0
  69. package/google/api/config_change_pb.d.ts +72 -0
  70. package/google/api/config_change_pb.js +489 -0
  71. package/google/api/config_change_pb_service.d.ts +3 -0
  72. package/google/api/config_change_pb_service.js +3 -0
  73. package/google/api/consumer_pb.d.ts +65 -0
  74. package/google/api/consumer_pb.js +430 -0
  75. package/google/api/consumer_pb_service.d.ts +3 -0
  76. package/google/api/consumer_pb_service.js +3 -0
  77. package/google/api/context_pb.d.ts +59 -0
  78. package/google/api/context_pb.js +463 -0
  79. package/google/api/context_pb_service.d.ts +3 -0
  80. package/google/api/context_pb_service.js +3 -0
  81. package/google/api/control_pb.d.ts +25 -0
  82. package/google/api/control_pb.js +176 -0
  83. package/google/api/control_pb_service.d.ts +3 -0
  84. package/google/api/control_pb_service.js +3 -0
  85. package/google/api/distribution_pb.d.ts +235 -0
  86. package/google/api/distribution_pb.js +1805 -0
  87. package/google/api/distribution_pb_service.d.ts +3 -0
  88. package/google/api/distribution_pb_service.js +3 -0
  89. package/google/api/documentation_pb.d.ts +103 -0
  90. package/google/api/documentation_pb.js +803 -0
  91. package/google/api/documentation_pb_service.d.ts +3 -0
  92. package/google/api/documentation_pb_service.js +3 -0
  93. package/google/api/endpoint_pb.d.ts +46 -0
  94. package/google/api/endpoint_pb.js +343 -0
  95. package/google/api/endpoint_pb_service.d.ts +3 -0
  96. package/google/api/endpoint_pb_service.js +3 -0
  97. package/google/api/error_reason_pb.d.ts +40 -0
  98. package/google/api/error_reason_pb.js +61 -0
  99. package/google/api/error_reason_pb_service.d.ts +3 -0
  100. package/google/api/error_reason_pb_service.js +3 -0
  101. package/google/api/field_behavior_pb.d.ts +20 -0
  102. package/google/api/field_behavior_pb.js +66 -0
  103. package/google/api/field_behavior_pb_service.d.ts +3 -0
  104. package/google/api/field_behavior_pb_service.js +3 -0
  105. package/google/api/http_pb.d.ts +136 -0
  106. package/google/api/http_pb.js +1012 -0
  107. package/google/api/http_pb_service.d.ts +3 -0
  108. package/google/api/http_pb_service.js +3 -0
  109. package/google/api/httpbody_pb.d.ts +38 -0
  110. package/google/api/httpbody_pb.js +292 -0
  111. package/google/api/httpbody_pb_service.d.ts +3 -0
  112. package/google/api/httpbody_pb_service.js +3 -0
  113. package/google/api/label_pb.d.ts +41 -0
  114. package/google/api/label_pb.js +246 -0
  115. package/google/api/label_pb_service.d.ts +3 -0
  116. package/google/api/label_pb_service.js +3 -0
  117. package/google/api/launch_stage_pb.d.ts +16 -0
  118. package/google/api/launch_stage_pb.js +37 -0
  119. package/google/api/launch_stage_pb_service.d.ts +3 -0
  120. package/google/api/launch_stage_pb_service.js +3 -0
  121. package/google/api/log_pb.d.ts +40 -0
  122. package/google/api/log_pb.js +298 -0
  123. package/google/api/log_pb_service.d.ts +3 -0
  124. package/google/api/log_pb_service.js +3 -0
  125. package/google/api/logging_pb.d.ts +60 -0
  126. package/google/api/logging_pb.js +469 -0
  127. package/google/api/logging_pb_service.d.ts +3 -0
  128. package/google/api/logging_pb_service.js +3 -0
  129. package/google/api/metric_pb.d.ts +100 -0
  130. package/google/api/metric_pb.js +629 -0
  131. package/google/api/metric_pb_service.d.ts +3 -0
  132. package/google/api/metric_pb_service.js +3 -0
  133. package/google/api/monitored_resource_pb.d.ts +93 -0
  134. package/google/api/monitored_resource_pb.js +723 -0
  135. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  136. package/google/api/monitored_resource_pb_service.js +3 -0
  137. package/google/api/monitoring_pb.d.ts +60 -0
  138. package/google/api/monitoring_pb.js +469 -0
  139. package/google/api/monitoring_pb_service.d.ts +3 -0
  140. package/google/api/monitoring_pb_service.js +3 -0
  141. package/google/api/policy_pb.d.ts +64 -0
  142. package/google/api/policy_pb.js +502 -0
  143. package/google/api/policy_pb_service.d.ts +3 -0
  144. package/google/api/policy_pb_service.js +3 -0
  145. package/google/api/quota_pb.d.ts +112 -0
  146. package/google/api/quota_pb.js +873 -0
  147. package/google/api/quota_pb_service.d.ts +3 -0
  148. package/google/api/quota_pb_service.js +3 -0
  149. package/google/api/resource_pb.d.ts +99 -0
  150. package/google/api/resource_pb.js +684 -0
  151. package/google/api/resource_pb_service.d.ts +3 -0
  152. package/google/api/resource_pb_service.js +3 -0
  153. package/google/api/routing_pb.d.ts +54 -0
  154. package/google/api/routing_pb.js +416 -0
  155. package/google/api/routing_pb_service.d.ts +3 -0
  156. package/google/api/routing_pb_service.js +3 -0
  157. package/google/api/service_pb.d.ts +184 -0
  158. package/google/api/service_pb.js +1400 -0
  159. package/google/api/service_pb_service.d.ts +3 -0
  160. package/google/api/service_pb_service.js +3 -0
  161. package/google/api/source_info_pb.d.ts +28 -0
  162. package/google/api/source_info_pb.js +208 -0
  163. package/google/api/source_info_pb_service.d.ts +3 -0
  164. package/google/api/source_info_pb_service.js +3 -0
  165. package/google/api/system_parameter_pb.d.ts +81 -0
  166. package/google/api/system_parameter_pb.js +630 -0
  167. package/google/api/system_parameter_pb_service.d.ts +3 -0
  168. package/google/api/system_parameter_pb_service.js +3 -0
  169. package/google/api/usage_pb.d.ts +66 -0
  170. package/google/api/usage_pb.js +499 -0
  171. package/google/api/usage_pb_service.d.ts +3 -0
  172. package/google/api/usage_pb_service.js +3 -0
  173. package/google/api/visibility_pb.d.ts +64 -0
  174. package/google/api/visibility_pb.js +546 -0
  175. package/google/api/visibility_pb_service.d.ts +3 -0
  176. package/google/api/visibility_pb_service.js +3 -0
  177. package/meta.client_pb.d.ts +167 -0
  178. package/meta.client_pb.js +1266 -0
  179. package/meta.client_pb_service.d.ts +122 -0
  180. package/meta.client_pb_service.js +183 -0
  181. package/meta.spic_config_pb.d.ts +184 -0
  182. package/meta.spic_config_pb.js +1382 -0
  183. package/meta.spic_config_pb_service.d.ts +122 -0
  184. package/meta.spic_config_pb_service.js +183 -0
  185. package/package.json +1 -1
  186. package/platform.activity_log_pb.d.ts +177 -0
  187. package/platform.activity_log_pb.js +1294 -0
  188. package/platform.activity_log_pb_service.d.ts +82 -0
  189. package/platform.activity_log_pb_service.js +101 -0
  190. package/platform.client_pb.d.ts +350 -0
  191. package/platform.client_pb.js +2663 -0
  192. package/platform.client_pb_service.d.ts +158 -0
  193. package/platform.client_pb_service.js +261 -0
  194. package/platform.group_pb.d.ts +195 -0
  195. package/platform.group_pb.js +1476 -0
  196. package/platform.group_pb_service.d.ts +139 -0
  197. package/platform.group_pb_service.js +221 -0
  198. package/platform.local_account_internal_pb.d.ts +125 -0
  199. package/platform.local_account_internal_pb.js +933 -0
  200. package/platform.local_account_internal_pb_service.d.ts +121 -0
  201. package/platform.local_account_internal_pb_service.js +182 -0
  202. package/platform.local_account_pb.d.ts +446 -0
  203. package/platform.local_account_pb.js +3337 -0
  204. package/platform.local_account_pb_service.d.ts +331 -0
  205. package/platform.local_account_pb_service.js +623 -0
  206. package/platform.local_distribution_pb.d.ts +73 -0
  207. package/platform.local_distribution_pb.js +536 -0
  208. package/platform.local_distribution_pb_service.d.ts +63 -0
  209. package/platform.local_distribution_pb_service.js +61 -0
  210. package/platform.location_pb.d.ts +271 -0
  211. package/platform.location_pb.js +2046 -0
  212. package/platform.location_pb_service.d.ts +139 -0
  213. package/platform.location_pb_service.js +221 -0
  214. package/platform.pagination_pb.d.ts +45 -0
  215. package/platform.pagination_pb.js +276 -0
  216. package/platform.pagination_pb_service.d.ts +3 -0
  217. package/platform.pagination_pb_service.js +3 -0
  218. package/spic.admin_alert_pb.d.ts +91 -0
  219. package/spic.admin_alert_pb.js +666 -0
  220. package/spic.admin_alert_pb_service.d.ts +102 -0
  221. package/spic.admin_alert_pb_service.js +142 -0
  222. package/spic.alarm_pb.d.ts +344 -0
  223. package/spic.alarm_pb.js +2622 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +652 -0
  227. package/spic.asset_pb.js +4669 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +951 -0
  231. package/spic.cabinet_pb.js +6875 -0
  232. package/spic.cabinet_pb_service.d.ts +177 -0
  233. package/spic.cabinet_pb_service.js +301 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,3 @@
1
+ // package: google.api
2
+ // file: google/api/monitored_resource.proto
3
+
@@ -0,0 +1,3 @@
1
+ // package: google.api
2
+ // file: google/api/monitored_resource.proto
3
+
@@ -0,0 +1,60 @@
1
+ // package: google.api
2
+ // file: google/api/monitoring.proto
3
+
4
+ import * as jspb from "google-protobuf";
5
+ import * as google_api_annotations_pb from "../../google/api/annotations_pb";
6
+
7
+ export class Monitoring extends jspb.Message {
8
+ clearProducerDestinationsList(): void;
9
+ getProducerDestinationsList(): Array<Monitoring.MonitoringDestination>;
10
+ setProducerDestinationsList(value: Array<Monitoring.MonitoringDestination>): void;
11
+ addProducerDestinations(value?: Monitoring.MonitoringDestination, index?: number): Monitoring.MonitoringDestination;
12
+
13
+ clearConsumerDestinationsList(): void;
14
+ getConsumerDestinationsList(): Array<Monitoring.MonitoringDestination>;
15
+ setConsumerDestinationsList(value: Array<Monitoring.MonitoringDestination>): void;
16
+ addConsumerDestinations(value?: Monitoring.MonitoringDestination, index?: number): Monitoring.MonitoringDestination;
17
+
18
+ serializeBinary(): Uint8Array;
19
+ toObject(includeInstance?: boolean): Monitoring.AsObject;
20
+ static toObject(includeInstance: boolean, msg: Monitoring): Monitoring.AsObject;
21
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
22
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
23
+ static serializeBinaryToWriter(message: Monitoring, writer: jspb.BinaryWriter): void;
24
+ static deserializeBinary(bytes: Uint8Array): Monitoring;
25
+ static deserializeBinaryFromReader(message: Monitoring, reader: jspb.BinaryReader): Monitoring;
26
+ }
27
+
28
+ export namespace Monitoring {
29
+ export type AsObject = {
30
+ producerDestinationsList: Array<Monitoring.MonitoringDestination.AsObject>,
31
+ consumerDestinationsList: Array<Monitoring.MonitoringDestination.AsObject>,
32
+ }
33
+
34
+ export class MonitoringDestination extends jspb.Message {
35
+ getMonitoredResource(): string;
36
+ setMonitoredResource(value: string): void;
37
+
38
+ clearMetricsList(): void;
39
+ getMetricsList(): Array<string>;
40
+ setMetricsList(value: Array<string>): void;
41
+ addMetrics(value: string, index?: number): string;
42
+
43
+ serializeBinary(): Uint8Array;
44
+ toObject(includeInstance?: boolean): MonitoringDestination.AsObject;
45
+ static toObject(includeInstance: boolean, msg: MonitoringDestination): MonitoringDestination.AsObject;
46
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
47
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
48
+ static serializeBinaryToWriter(message: MonitoringDestination, writer: jspb.BinaryWriter): void;
49
+ static deserializeBinary(bytes: Uint8Array): MonitoringDestination;
50
+ static deserializeBinaryFromReader(message: MonitoringDestination, reader: jspb.BinaryReader): MonitoringDestination;
51
+ }
52
+
53
+ export namespace MonitoringDestination {
54
+ export type AsObject = {
55
+ monitoredResource: string,
56
+ metricsList: Array<string>,
57
+ }
58
+ }
59
+ }
60
+
@@ -0,0 +1,469 @@
1
+ // source: google/api/monitoring.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.Monitoring', null, global);
27
+ goog.exportSymbol('proto.google.api.Monitoring.MonitoringDestination', null, global);
28
+ /**
29
+ * Generated by JsPbCodeGenerator.
30
+ * @param {Array=} opt_data Optional initial data array, typically from a
31
+ * server response, or constructed directly in Javascript. The array is used
32
+ * in place and becomes part of the constructed object. It is not cloned.
33
+ * If no data is provided, the constructed object will be empty, but still
34
+ * valid.
35
+ * @extends {jspb.Message}
36
+ * @constructor
37
+ */
38
+ proto.google.api.Monitoring = function(opt_data) {
39
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Monitoring.repeatedFields_, null);
40
+ };
41
+ goog.inherits(proto.google.api.Monitoring, jspb.Message);
42
+ if (goog.DEBUG && !COMPILED) {
43
+ /**
44
+ * @public
45
+ * @override
46
+ */
47
+ proto.google.api.Monitoring.displayName = 'proto.google.api.Monitoring';
48
+ }
49
+ /**
50
+ * Generated by JsPbCodeGenerator.
51
+ * @param {Array=} opt_data Optional initial data array, typically from a
52
+ * server response, or constructed directly in Javascript. The array is used
53
+ * in place and becomes part of the constructed object. It is not cloned.
54
+ * If no data is provided, the constructed object will be empty, but still
55
+ * valid.
56
+ * @extends {jspb.Message}
57
+ * @constructor
58
+ */
59
+ proto.google.api.Monitoring.MonitoringDestination = function(opt_data) {
60
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Monitoring.MonitoringDestination.repeatedFields_, null);
61
+ };
62
+ goog.inherits(proto.google.api.Monitoring.MonitoringDestination, jspb.Message);
63
+ if (goog.DEBUG && !COMPILED) {
64
+ /**
65
+ * @public
66
+ * @override
67
+ */
68
+ proto.google.api.Monitoring.MonitoringDestination.displayName = 'proto.google.api.Monitoring.MonitoringDestination';
69
+ }
70
+
71
+ /**
72
+ * List of repeated fields within this message type.
73
+ * @private {!Array<number>}
74
+ * @const
75
+ */
76
+ proto.google.api.Monitoring.repeatedFields_ = [1,2];
77
+
78
+
79
+
80
+ if (jspb.Message.GENERATE_TO_OBJECT) {
81
+ /**
82
+ * Creates an object representation of this proto.
83
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
84
+ * Optional fields that are not set will be set to undefined.
85
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
86
+ * For the list of reserved names please see:
87
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
88
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
89
+ * JSPB instance for transitional soy proto support:
90
+ * http://goto/soy-param-migration
91
+ * @return {!Object}
92
+ */
93
+ proto.google.api.Monitoring.prototype.toObject = function(opt_includeInstance) {
94
+ return proto.google.api.Monitoring.toObject(opt_includeInstance, this);
95
+ };
96
+
97
+
98
+ /**
99
+ * Static version of the {@see toObject} method.
100
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
101
+ * the JSPB instance for transitional soy proto support:
102
+ * http://goto/soy-param-migration
103
+ * @param {!proto.google.api.Monitoring} msg The msg instance to transform.
104
+ * @return {!Object}
105
+ * @suppress {unusedLocalVariables} f is only used for nested messages
106
+ */
107
+ proto.google.api.Monitoring.toObject = function(includeInstance, msg) {
108
+ var f, obj = {
109
+ producerDestinationsList: jspb.Message.toObjectList(msg.getProducerDestinationsList(),
110
+ proto.google.api.Monitoring.MonitoringDestination.toObject, includeInstance),
111
+ consumerDestinationsList: jspb.Message.toObjectList(msg.getConsumerDestinationsList(),
112
+ proto.google.api.Monitoring.MonitoringDestination.toObject, includeInstance)
113
+ };
114
+
115
+ if (includeInstance) {
116
+ obj.$jspbMessageInstance = msg;
117
+ }
118
+ return obj;
119
+ };
120
+ }
121
+
122
+
123
+ /**
124
+ * Deserializes binary data (in protobuf wire format).
125
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
126
+ * @return {!proto.google.api.Monitoring}
127
+ */
128
+ proto.google.api.Monitoring.deserializeBinary = function(bytes) {
129
+ var reader = new jspb.BinaryReader(bytes);
130
+ var msg = new proto.google.api.Monitoring;
131
+ return proto.google.api.Monitoring.deserializeBinaryFromReader(msg, reader);
132
+ };
133
+
134
+
135
+ /**
136
+ * Deserializes binary data (in protobuf wire format) from the
137
+ * given reader into the given message object.
138
+ * @param {!proto.google.api.Monitoring} msg The message object to deserialize into.
139
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
140
+ * @return {!proto.google.api.Monitoring}
141
+ */
142
+ proto.google.api.Monitoring.deserializeBinaryFromReader = function(msg, reader) {
143
+ while (reader.nextField()) {
144
+ if (reader.isEndGroup()) {
145
+ break;
146
+ }
147
+ var field = reader.getFieldNumber();
148
+ switch (field) {
149
+ case 1:
150
+ var value = new proto.google.api.Monitoring.MonitoringDestination;
151
+ reader.readMessage(value,proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader);
152
+ msg.addProducerDestinations(value);
153
+ break;
154
+ case 2:
155
+ var value = new proto.google.api.Monitoring.MonitoringDestination;
156
+ reader.readMessage(value,proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader);
157
+ msg.addConsumerDestinations(value);
158
+ break;
159
+ default:
160
+ reader.skipField();
161
+ break;
162
+ }
163
+ }
164
+ return msg;
165
+ };
166
+
167
+
168
+ /**
169
+ * Serializes the message to binary data (in protobuf wire format).
170
+ * @return {!Uint8Array}
171
+ */
172
+ proto.google.api.Monitoring.prototype.serializeBinary = function() {
173
+ var writer = new jspb.BinaryWriter();
174
+ proto.google.api.Monitoring.serializeBinaryToWriter(this, writer);
175
+ return writer.getResultBuffer();
176
+ };
177
+
178
+
179
+ /**
180
+ * Serializes the given message to binary data (in protobuf wire
181
+ * format), writing to the given BinaryWriter.
182
+ * @param {!proto.google.api.Monitoring} message
183
+ * @param {!jspb.BinaryWriter} writer
184
+ * @suppress {unusedLocalVariables} f is only used for nested messages
185
+ */
186
+ proto.google.api.Monitoring.serializeBinaryToWriter = function(message, writer) {
187
+ var f = undefined;
188
+ f = message.getProducerDestinationsList();
189
+ if (f.length > 0) {
190
+ writer.writeRepeatedMessage(
191
+ 1,
192
+ f,
193
+ proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter
194
+ );
195
+ }
196
+ f = message.getConsumerDestinationsList();
197
+ if (f.length > 0) {
198
+ writer.writeRepeatedMessage(
199
+ 2,
200
+ f,
201
+ proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter
202
+ );
203
+ }
204
+ };
205
+
206
+
207
+
208
+ /**
209
+ * List of repeated fields within this message type.
210
+ * @private {!Array<number>}
211
+ * @const
212
+ */
213
+ proto.google.api.Monitoring.MonitoringDestination.repeatedFields_ = [2];
214
+
215
+
216
+
217
+ if (jspb.Message.GENERATE_TO_OBJECT) {
218
+ /**
219
+ * Creates an object representation of this proto.
220
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
221
+ * Optional fields that are not set will be set to undefined.
222
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
223
+ * For the list of reserved names please see:
224
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
225
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
226
+ * JSPB instance for transitional soy proto support:
227
+ * http://goto/soy-param-migration
228
+ * @return {!Object}
229
+ */
230
+ proto.google.api.Monitoring.MonitoringDestination.prototype.toObject = function(opt_includeInstance) {
231
+ return proto.google.api.Monitoring.MonitoringDestination.toObject(opt_includeInstance, this);
232
+ };
233
+
234
+
235
+ /**
236
+ * Static version of the {@see toObject} method.
237
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
238
+ * the JSPB instance for transitional soy proto support:
239
+ * http://goto/soy-param-migration
240
+ * @param {!proto.google.api.Monitoring.MonitoringDestination} msg The msg instance to transform.
241
+ * @return {!Object}
242
+ * @suppress {unusedLocalVariables} f is only used for nested messages
243
+ */
244
+ proto.google.api.Monitoring.MonitoringDestination.toObject = function(includeInstance, msg) {
245
+ var f, obj = {
246
+ monitoredResource: jspb.Message.getFieldWithDefault(msg, 1, ""),
247
+ metricsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
248
+ };
249
+
250
+ if (includeInstance) {
251
+ obj.$jspbMessageInstance = msg;
252
+ }
253
+ return obj;
254
+ };
255
+ }
256
+
257
+
258
+ /**
259
+ * Deserializes binary data (in protobuf wire format).
260
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
261
+ * @return {!proto.google.api.Monitoring.MonitoringDestination}
262
+ */
263
+ proto.google.api.Monitoring.MonitoringDestination.deserializeBinary = function(bytes) {
264
+ var reader = new jspb.BinaryReader(bytes);
265
+ var msg = new proto.google.api.Monitoring.MonitoringDestination;
266
+ return proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader(msg, reader);
267
+ };
268
+
269
+
270
+ /**
271
+ * Deserializes binary data (in protobuf wire format) from the
272
+ * given reader into the given message object.
273
+ * @param {!proto.google.api.Monitoring.MonitoringDestination} msg The message object to deserialize into.
274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
275
+ * @return {!proto.google.api.Monitoring.MonitoringDestination}
276
+ */
277
+ proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader = function(msg, reader) {
278
+ while (reader.nextField()) {
279
+ if (reader.isEndGroup()) {
280
+ break;
281
+ }
282
+ var field = reader.getFieldNumber();
283
+ switch (field) {
284
+ case 1:
285
+ var value = /** @type {string} */ (reader.readString());
286
+ msg.setMonitoredResource(value);
287
+ break;
288
+ case 2:
289
+ var value = /** @type {string} */ (reader.readString());
290
+ msg.addMetrics(value);
291
+ break;
292
+ default:
293
+ reader.skipField();
294
+ break;
295
+ }
296
+ }
297
+ return msg;
298
+ };
299
+
300
+
301
+ /**
302
+ * Serializes the message to binary data (in protobuf wire format).
303
+ * @return {!Uint8Array}
304
+ */
305
+ proto.google.api.Monitoring.MonitoringDestination.prototype.serializeBinary = function() {
306
+ var writer = new jspb.BinaryWriter();
307
+ proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter(this, writer);
308
+ return writer.getResultBuffer();
309
+ };
310
+
311
+
312
+ /**
313
+ * Serializes the given message to binary data (in protobuf wire
314
+ * format), writing to the given BinaryWriter.
315
+ * @param {!proto.google.api.Monitoring.MonitoringDestination} message
316
+ * @param {!jspb.BinaryWriter} writer
317
+ * @suppress {unusedLocalVariables} f is only used for nested messages
318
+ */
319
+ proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter = function(message, writer) {
320
+ var f = undefined;
321
+ f = message.getMonitoredResource();
322
+ if (f.length > 0) {
323
+ writer.writeString(
324
+ 1,
325
+ f
326
+ );
327
+ }
328
+ f = message.getMetricsList();
329
+ if (f.length > 0) {
330
+ writer.writeRepeatedString(
331
+ 2,
332
+ f
333
+ );
334
+ }
335
+ };
336
+
337
+
338
+ /**
339
+ * optional string monitored_resource = 1;
340
+ * @return {string}
341
+ */
342
+ proto.google.api.Monitoring.MonitoringDestination.prototype.getMonitoredResource = function() {
343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
344
+ };
345
+
346
+
347
+ /**
348
+ * @param {string} value
349
+ * @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
350
+ */
351
+ proto.google.api.Monitoring.MonitoringDestination.prototype.setMonitoredResource = function(value) {
352
+ return jspb.Message.setProto3StringField(this, 1, value);
353
+ };
354
+
355
+
356
+ /**
357
+ * repeated string metrics = 2;
358
+ * @return {!Array<string>}
359
+ */
360
+ proto.google.api.Monitoring.MonitoringDestination.prototype.getMetricsList = function() {
361
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
362
+ };
363
+
364
+
365
+ /**
366
+ * @param {!Array<string>} value
367
+ * @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
368
+ */
369
+ proto.google.api.Monitoring.MonitoringDestination.prototype.setMetricsList = function(value) {
370
+ return jspb.Message.setField(this, 2, value || []);
371
+ };
372
+
373
+
374
+ /**
375
+ * @param {string} value
376
+ * @param {number=} opt_index
377
+ * @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
378
+ */
379
+ proto.google.api.Monitoring.MonitoringDestination.prototype.addMetrics = function(value, opt_index) {
380
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
381
+ };
382
+
383
+
384
+ /**
385
+ * Clears the list making it empty but non-null.
386
+ * @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
387
+ */
388
+ proto.google.api.Monitoring.MonitoringDestination.prototype.clearMetricsList = function() {
389
+ return this.setMetricsList([]);
390
+ };
391
+
392
+
393
+ /**
394
+ * repeated MonitoringDestination producer_destinations = 1;
395
+ * @return {!Array<!proto.google.api.Monitoring.MonitoringDestination>}
396
+ */
397
+ proto.google.api.Monitoring.prototype.getProducerDestinationsList = function() {
398
+ return /** @type{!Array<!proto.google.api.Monitoring.MonitoringDestination>} */ (
399
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.Monitoring.MonitoringDestination, 1));
400
+ };
401
+
402
+
403
+ /**
404
+ * @param {!Array<!proto.google.api.Monitoring.MonitoringDestination>} value
405
+ * @return {!proto.google.api.Monitoring} returns this
406
+ */
407
+ proto.google.api.Monitoring.prototype.setProducerDestinationsList = function(value) {
408
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
409
+ };
410
+
411
+
412
+ /**
413
+ * @param {!proto.google.api.Monitoring.MonitoringDestination=} opt_value
414
+ * @param {number=} opt_index
415
+ * @return {!proto.google.api.Monitoring.MonitoringDestination}
416
+ */
417
+ proto.google.api.Monitoring.prototype.addProducerDestinations = function(opt_value, opt_index) {
418
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.Monitoring.MonitoringDestination, opt_index);
419
+ };
420
+
421
+
422
+ /**
423
+ * Clears the list making it empty but non-null.
424
+ * @return {!proto.google.api.Monitoring} returns this
425
+ */
426
+ proto.google.api.Monitoring.prototype.clearProducerDestinationsList = function() {
427
+ return this.setProducerDestinationsList([]);
428
+ };
429
+
430
+
431
+ /**
432
+ * repeated MonitoringDestination consumer_destinations = 2;
433
+ * @return {!Array<!proto.google.api.Monitoring.MonitoringDestination>}
434
+ */
435
+ proto.google.api.Monitoring.prototype.getConsumerDestinationsList = function() {
436
+ return /** @type{!Array<!proto.google.api.Monitoring.MonitoringDestination>} */ (
437
+ jspb.Message.getRepeatedWrapperField(this, proto.google.api.Monitoring.MonitoringDestination, 2));
438
+ };
439
+
440
+
441
+ /**
442
+ * @param {!Array<!proto.google.api.Monitoring.MonitoringDestination>} value
443
+ * @return {!proto.google.api.Monitoring} returns this
444
+ */
445
+ proto.google.api.Monitoring.prototype.setConsumerDestinationsList = function(value) {
446
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
447
+ };
448
+
449
+
450
+ /**
451
+ * @param {!proto.google.api.Monitoring.MonitoringDestination=} opt_value
452
+ * @param {number=} opt_index
453
+ * @return {!proto.google.api.Monitoring.MonitoringDestination}
454
+ */
455
+ proto.google.api.Monitoring.prototype.addConsumerDestinations = function(opt_value, opt_index) {
456
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.Monitoring.MonitoringDestination, opt_index);
457
+ };
458
+
459
+
460
+ /**
461
+ * Clears the list making it empty but non-null.
462
+ * @return {!proto.google.api.Monitoring} returns this
463
+ */
464
+ proto.google.api.Monitoring.prototype.clearConsumerDestinationsList = function() {
465
+ return this.setConsumerDestinationsList([]);
466
+ };
467
+
468
+
469
+ goog.object.extend(exports, proto.google.api);
@@ -0,0 +1,3 @@
1
+ // package: google.api
2
+ // file: google/api/monitoring.proto
3
+
@@ -0,0 +1,3 @@
1
+ // package: google.api
2
+ // file: google/api/monitoring.proto
3
+
@@ -0,0 +1,64 @@
1
+ // package: google.api
2
+ // file: google/api/policy.proto
3
+
4
+ import * as jspb from "google-protobuf";
5
+ import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
6
+
7
+ export class FieldPolicy extends jspb.Message {
8
+ getSelector(): string;
9
+ setSelector(value: string): void;
10
+
11
+ getResourcePermission(): string;
12
+ setResourcePermission(value: string): void;
13
+
14
+ getResourceType(): string;
15
+ setResourceType(value: string): void;
16
+
17
+ serializeBinary(): Uint8Array;
18
+ toObject(includeInstance?: boolean): FieldPolicy.AsObject;
19
+ static toObject(includeInstance: boolean, msg: FieldPolicy): FieldPolicy.AsObject;
20
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
+ static serializeBinaryToWriter(message: FieldPolicy, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): FieldPolicy;
24
+ static deserializeBinaryFromReader(message: FieldPolicy, reader: jspb.BinaryReader): FieldPolicy;
25
+ }
26
+
27
+ export namespace FieldPolicy {
28
+ export type AsObject = {
29
+ selector: string,
30
+ resourcePermission: string,
31
+ resourceType: string,
32
+ }
33
+ }
34
+
35
+ export class MethodPolicy extends jspb.Message {
36
+ getSelector(): string;
37
+ setSelector(value: string): void;
38
+
39
+ clearRequestPoliciesList(): void;
40
+ getRequestPoliciesList(): Array<FieldPolicy>;
41
+ setRequestPoliciesList(value: Array<FieldPolicy>): void;
42
+ addRequestPolicies(value?: FieldPolicy, index?: number): FieldPolicy;
43
+
44
+ serializeBinary(): Uint8Array;
45
+ toObject(includeInstance?: boolean): MethodPolicy.AsObject;
46
+ static toObject(includeInstance: boolean, msg: MethodPolicy): MethodPolicy.AsObject;
47
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
48
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
49
+ static serializeBinaryToWriter(message: MethodPolicy, writer: jspb.BinaryWriter): void;
50
+ static deserializeBinary(bytes: Uint8Array): MethodPolicy;
51
+ static deserializeBinaryFromReader(message: MethodPolicy, reader: jspb.BinaryReader): MethodPolicy;
52
+ }
53
+
54
+ export namespace MethodPolicy {
55
+ export type AsObject = {
56
+ selector: string,
57
+ requestPoliciesList: Array<FieldPolicy.AsObject>,
58
+ }
59
+ }
60
+
61
+ export const fieldPolicy: jspb.ExtensionFieldInfo<FieldPolicy>;
62
+
63
+ export const methodPolicy: jspb.ExtensionFieldInfo<MethodPolicy>;
64
+