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