@aceplus/smartace-api 2.13.0-alpha.1 → 2.13.0-jan-auth-refactor.1

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 (221) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -704
  3. package/auth.account_pb.js +0 -5239
  4. package/auth.account_pb_service.d.ts +0 -511
  5. package/auth.account_pb_service.js +0 -997
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  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 -94
  23. package/auth.authn_pb.js +0 -636
  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.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -187
  43. package/auth.push_notification_pb.js +0 -1289
  44. package/auth.push_notification_pb_service.d.ts +0 -121
  45. package/auth.push_notification_pb_service.js +0 -182
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.spic_config_pb.d.ts +0 -184
  179. package/meta.spic_config_pb.js +0 -1382
  180. package/meta.spic_config_pb_service.d.ts +0 -122
  181. package/meta.spic_config_pb_service.js +0 -183
  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 -346
  187. package/platform.client_pb.js +0 -2633
  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 -434
  195. package/platform.local_account_pb.js +0 -3318
  196. package/platform.local_account_pb_service.d.ts +0 -388
  197. package/platform.local_account_pb_service.js +0 -743
  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 -45
  207. package/platform.pagination_pb.js +0 -276
  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 -1320
  211. package/spic.cabinet_pb.js +0 -9833
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.config_pb.d.ts +0 -249
  215. package/spic.config_pb.js +0 -1891
  216. package/spic.config_pb_service.d.ts +0 -120
  217. package/spic.config_pb_service.js +0 -181
  218. package/spic.contractor_pb.d.ts +0 -195
  219. package/spic.contractor_pb.js +0 -1476
  220. package/spic.contractor_pb_service.d.ts +0 -139
  221. package/spic.contractor_pb_service.js +0 -221
@@ -1,54 +0,0 @@
1
- // package: google.api
2
- // file: google/api/routing.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 RoutingRule extends jspb.Message {
8
- clearRoutingParametersList(): void;
9
- getRoutingParametersList(): Array<RoutingParameter>;
10
- setRoutingParametersList(value: Array<RoutingParameter>): void;
11
- addRoutingParameters(value?: RoutingParameter, index?: number): RoutingParameter;
12
-
13
- serializeBinary(): Uint8Array;
14
- toObject(includeInstance?: boolean): RoutingRule.AsObject;
15
- static toObject(includeInstance: boolean, msg: RoutingRule): RoutingRule.AsObject;
16
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
17
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
18
- static serializeBinaryToWriter(message: RoutingRule, writer: jspb.BinaryWriter): void;
19
- static deserializeBinary(bytes: Uint8Array): RoutingRule;
20
- static deserializeBinaryFromReader(message: RoutingRule, reader: jspb.BinaryReader): RoutingRule;
21
- }
22
-
23
- export namespace RoutingRule {
24
- export type AsObject = {
25
- routingParametersList: Array<RoutingParameter.AsObject>,
26
- }
27
- }
28
-
29
- export class RoutingParameter extends jspb.Message {
30
- getField(): string;
31
- setField(value: string): void;
32
-
33
- getPathTemplate(): string;
34
- setPathTemplate(value: string): void;
35
-
36
- serializeBinary(): Uint8Array;
37
- toObject(includeInstance?: boolean): RoutingParameter.AsObject;
38
- static toObject(includeInstance: boolean, msg: RoutingParameter): RoutingParameter.AsObject;
39
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
40
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
41
- static serializeBinaryToWriter(message: RoutingParameter, writer: jspb.BinaryWriter): void;
42
- static deserializeBinary(bytes: Uint8Array): RoutingParameter;
43
- static deserializeBinaryFromReader(message: RoutingParameter, reader: jspb.BinaryReader): RoutingParameter;
44
- }
45
-
46
- export namespace RoutingParameter {
47
- export type AsObject = {
48
- field: string,
49
- pathTemplate: string,
50
- }
51
- }
52
-
53
- export const routing: jspb.ExtensionFieldInfo<RoutingRule>;
54
-
@@ -1,416 +0,0 @@
1
- // source: google/api/routing.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.RoutingParameter', null, global);
27
- goog.exportSymbol('proto.google.api.RoutingRule', null, global);
28
- goog.exportSymbol('proto.google.api.routing', null, global);
29
- /**
30
- * Generated by JsPbCodeGenerator.
31
- * @param {Array=} opt_data Optional initial data array, typically from a
32
- * server response, or constructed directly in Javascript. The array is used
33
- * in place and becomes part of the constructed object. It is not cloned.
34
- * If no data is provided, the constructed object will be empty, but still
35
- * valid.
36
- * @extends {jspb.Message}
37
- * @constructor
38
- */
39
- proto.google.api.RoutingRule = function(opt_data) {
40
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.RoutingRule.repeatedFields_, null);
41
- };
42
- goog.inherits(proto.google.api.RoutingRule, jspb.Message);
43
- if (goog.DEBUG && !COMPILED) {
44
- /**
45
- * @public
46
- * @override
47
- */
48
- proto.google.api.RoutingRule.displayName = 'proto.google.api.RoutingRule';
49
- }
50
- /**
51
- * Generated by JsPbCodeGenerator.
52
- * @param {Array=} opt_data Optional initial data array, typically from a
53
- * server response, or constructed directly in Javascript. The array is used
54
- * in place and becomes part of the constructed object. It is not cloned.
55
- * If no data is provided, the constructed object will be empty, but still
56
- * valid.
57
- * @extends {jspb.Message}
58
- * @constructor
59
- */
60
- proto.google.api.RoutingParameter = function(opt_data) {
61
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
62
- };
63
- goog.inherits(proto.google.api.RoutingParameter, jspb.Message);
64
- if (goog.DEBUG && !COMPILED) {
65
- /**
66
- * @public
67
- * @override
68
- */
69
- proto.google.api.RoutingParameter.displayName = 'proto.google.api.RoutingParameter';
70
- }
71
-
72
- /**
73
- * List of repeated fields within this message type.
74
- * @private {!Array<number>}
75
- * @const
76
- */
77
- proto.google.api.RoutingRule.repeatedFields_ = [2];
78
-
79
-
80
-
81
- if (jspb.Message.GENERATE_TO_OBJECT) {
82
- /**
83
- * Creates an object representation of this proto.
84
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
85
- * Optional fields that are not set will be set to undefined.
86
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
87
- * For the list of reserved names please see:
88
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
89
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
90
- * JSPB instance for transitional soy proto support:
91
- * http://goto/soy-param-migration
92
- * @return {!Object}
93
- */
94
- proto.google.api.RoutingRule.prototype.toObject = function(opt_includeInstance) {
95
- return proto.google.api.RoutingRule.toObject(opt_includeInstance, this);
96
- };
97
-
98
-
99
- /**
100
- * Static version of the {@see toObject} method.
101
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
102
- * the JSPB instance for transitional soy proto support:
103
- * http://goto/soy-param-migration
104
- * @param {!proto.google.api.RoutingRule} msg The msg instance to transform.
105
- * @return {!Object}
106
- * @suppress {unusedLocalVariables} f is only used for nested messages
107
- */
108
- proto.google.api.RoutingRule.toObject = function(includeInstance, msg) {
109
- var f, obj = {
110
- routingParametersList: jspb.Message.toObjectList(msg.getRoutingParametersList(),
111
- proto.google.api.RoutingParameter.toObject, includeInstance)
112
- };
113
-
114
- if (includeInstance) {
115
- obj.$jspbMessageInstance = msg;
116
- }
117
- return obj;
118
- };
119
- }
120
-
121
-
122
- /**
123
- * Deserializes binary data (in protobuf wire format).
124
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
125
- * @return {!proto.google.api.RoutingRule}
126
- */
127
- proto.google.api.RoutingRule.deserializeBinary = function(bytes) {
128
- var reader = new jspb.BinaryReader(bytes);
129
- var msg = new proto.google.api.RoutingRule;
130
- return proto.google.api.RoutingRule.deserializeBinaryFromReader(msg, reader);
131
- };
132
-
133
-
134
- /**
135
- * Deserializes binary data (in protobuf wire format) from the
136
- * given reader into the given message object.
137
- * @param {!proto.google.api.RoutingRule} msg The message object to deserialize into.
138
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
139
- * @return {!proto.google.api.RoutingRule}
140
- */
141
- proto.google.api.RoutingRule.deserializeBinaryFromReader = function(msg, reader) {
142
- while (reader.nextField()) {
143
- if (reader.isEndGroup()) {
144
- break;
145
- }
146
- var field = reader.getFieldNumber();
147
- switch (field) {
148
- case 2:
149
- var value = new proto.google.api.RoutingParameter;
150
- reader.readMessage(value,proto.google.api.RoutingParameter.deserializeBinaryFromReader);
151
- msg.addRoutingParameters(value);
152
- break;
153
- default:
154
- reader.skipField();
155
- break;
156
- }
157
- }
158
- return msg;
159
- };
160
-
161
-
162
- /**
163
- * Serializes the message to binary data (in protobuf wire format).
164
- * @return {!Uint8Array}
165
- */
166
- proto.google.api.RoutingRule.prototype.serializeBinary = function() {
167
- var writer = new jspb.BinaryWriter();
168
- proto.google.api.RoutingRule.serializeBinaryToWriter(this, writer);
169
- return writer.getResultBuffer();
170
- };
171
-
172
-
173
- /**
174
- * Serializes the given message to binary data (in protobuf wire
175
- * format), writing to the given BinaryWriter.
176
- * @param {!proto.google.api.RoutingRule} message
177
- * @param {!jspb.BinaryWriter} writer
178
- * @suppress {unusedLocalVariables} f is only used for nested messages
179
- */
180
- proto.google.api.RoutingRule.serializeBinaryToWriter = function(message, writer) {
181
- var f = undefined;
182
- f = message.getRoutingParametersList();
183
- if (f.length > 0) {
184
- writer.writeRepeatedMessage(
185
- 2,
186
- f,
187
- proto.google.api.RoutingParameter.serializeBinaryToWriter
188
- );
189
- }
190
- };
191
-
192
-
193
- /**
194
- * repeated RoutingParameter routing_parameters = 2;
195
- * @return {!Array<!proto.google.api.RoutingParameter>}
196
- */
197
- proto.google.api.RoutingRule.prototype.getRoutingParametersList = function() {
198
- return /** @type{!Array<!proto.google.api.RoutingParameter>} */ (
199
- jspb.Message.getRepeatedWrapperField(this, proto.google.api.RoutingParameter, 2));
200
- };
201
-
202
-
203
- /**
204
- * @param {!Array<!proto.google.api.RoutingParameter>} value
205
- * @return {!proto.google.api.RoutingRule} returns this
206
- */
207
- proto.google.api.RoutingRule.prototype.setRoutingParametersList = function(value) {
208
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
209
- };
210
-
211
-
212
- /**
213
- * @param {!proto.google.api.RoutingParameter=} opt_value
214
- * @param {number=} opt_index
215
- * @return {!proto.google.api.RoutingParameter}
216
- */
217
- proto.google.api.RoutingRule.prototype.addRoutingParameters = function(opt_value, opt_index) {
218
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.RoutingParameter, opt_index);
219
- };
220
-
221
-
222
- /**
223
- * Clears the list making it empty but non-null.
224
- * @return {!proto.google.api.RoutingRule} returns this
225
- */
226
- proto.google.api.RoutingRule.prototype.clearRoutingParametersList = function() {
227
- return this.setRoutingParametersList([]);
228
- };
229
-
230
-
231
-
232
-
233
-
234
- if (jspb.Message.GENERATE_TO_OBJECT) {
235
- /**
236
- * Creates an object representation of this proto.
237
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
238
- * Optional fields that are not set will be set to undefined.
239
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
240
- * For the list of reserved names please see:
241
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
242
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
243
- * JSPB instance for transitional soy proto support:
244
- * http://goto/soy-param-migration
245
- * @return {!Object}
246
- */
247
- proto.google.api.RoutingParameter.prototype.toObject = function(opt_includeInstance) {
248
- return proto.google.api.RoutingParameter.toObject(opt_includeInstance, this);
249
- };
250
-
251
-
252
- /**
253
- * Static version of the {@see toObject} method.
254
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
255
- * the JSPB instance for transitional soy proto support:
256
- * http://goto/soy-param-migration
257
- * @param {!proto.google.api.RoutingParameter} msg The msg instance to transform.
258
- * @return {!Object}
259
- * @suppress {unusedLocalVariables} f is only used for nested messages
260
- */
261
- proto.google.api.RoutingParameter.toObject = function(includeInstance, msg) {
262
- var f, obj = {
263
- field: jspb.Message.getFieldWithDefault(msg, 1, ""),
264
- pathTemplate: jspb.Message.getFieldWithDefault(msg, 2, "")
265
- };
266
-
267
- if (includeInstance) {
268
- obj.$jspbMessageInstance = msg;
269
- }
270
- return obj;
271
- };
272
- }
273
-
274
-
275
- /**
276
- * Deserializes binary data (in protobuf wire format).
277
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
278
- * @return {!proto.google.api.RoutingParameter}
279
- */
280
- proto.google.api.RoutingParameter.deserializeBinary = function(bytes) {
281
- var reader = new jspb.BinaryReader(bytes);
282
- var msg = new proto.google.api.RoutingParameter;
283
- return proto.google.api.RoutingParameter.deserializeBinaryFromReader(msg, reader);
284
- };
285
-
286
-
287
- /**
288
- * Deserializes binary data (in protobuf wire format) from the
289
- * given reader into the given message object.
290
- * @param {!proto.google.api.RoutingParameter} msg The message object to deserialize into.
291
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
292
- * @return {!proto.google.api.RoutingParameter}
293
- */
294
- proto.google.api.RoutingParameter.deserializeBinaryFromReader = function(msg, reader) {
295
- while (reader.nextField()) {
296
- if (reader.isEndGroup()) {
297
- break;
298
- }
299
- var field = reader.getFieldNumber();
300
- switch (field) {
301
- case 1:
302
- var value = /** @type {string} */ (reader.readString());
303
- msg.setField(value);
304
- break;
305
- case 2:
306
- var value = /** @type {string} */ (reader.readString());
307
- msg.setPathTemplate(value);
308
- break;
309
- default:
310
- reader.skipField();
311
- break;
312
- }
313
- }
314
- return msg;
315
- };
316
-
317
-
318
- /**
319
- * Serializes the message to binary data (in protobuf wire format).
320
- * @return {!Uint8Array}
321
- */
322
- proto.google.api.RoutingParameter.prototype.serializeBinary = function() {
323
- var writer = new jspb.BinaryWriter();
324
- proto.google.api.RoutingParameter.serializeBinaryToWriter(this, writer);
325
- return writer.getResultBuffer();
326
- };
327
-
328
-
329
- /**
330
- * Serializes the given message to binary data (in protobuf wire
331
- * format), writing to the given BinaryWriter.
332
- * @param {!proto.google.api.RoutingParameter} message
333
- * @param {!jspb.BinaryWriter} writer
334
- * @suppress {unusedLocalVariables} f is only used for nested messages
335
- */
336
- proto.google.api.RoutingParameter.serializeBinaryToWriter = function(message, writer) {
337
- var f = undefined;
338
- f = message.getField();
339
- if (f.length > 0) {
340
- writer.writeString(
341
- 1,
342
- f
343
- );
344
- }
345
- f = message.getPathTemplate();
346
- if (f.length > 0) {
347
- writer.writeString(
348
- 2,
349
- f
350
- );
351
- }
352
- };
353
-
354
-
355
- /**
356
- * optional string field = 1;
357
- * @return {string}
358
- */
359
- proto.google.api.RoutingParameter.prototype.getField = function() {
360
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
361
- };
362
-
363
-
364
- /**
365
- * @param {string} value
366
- * @return {!proto.google.api.RoutingParameter} returns this
367
- */
368
- proto.google.api.RoutingParameter.prototype.setField = function(value) {
369
- return jspb.Message.setProto3StringField(this, 1, value);
370
- };
371
-
372
-
373
- /**
374
- * optional string path_template = 2;
375
- * @return {string}
376
- */
377
- proto.google.api.RoutingParameter.prototype.getPathTemplate = function() {
378
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
379
- };
380
-
381
-
382
- /**
383
- * @param {string} value
384
- * @return {!proto.google.api.RoutingParameter} returns this
385
- */
386
- proto.google.api.RoutingParameter.prototype.setPathTemplate = function(value) {
387
- return jspb.Message.setProto3StringField(this, 2, value);
388
- };
389
-
390
-
391
-
392
- /**
393
- * A tuple of {field number, class constructor} for the extension
394
- * field named `routing`.
395
- * @type {!jspb.ExtensionFieldInfo<!proto.google.api.RoutingRule>}
396
- */
397
- proto.google.api.routing = new jspb.ExtensionFieldInfo(
398
- 72295729,
399
- {routing: 0},
400
- proto.google.api.RoutingRule,
401
- /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
402
- proto.google.api.RoutingRule.toObject),
403
- 0);
404
-
405
- google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295729] = new jspb.ExtensionFieldBinaryInfo(
406
- proto.google.api.routing,
407
- jspb.BinaryReader.prototype.readMessage,
408
- jspb.BinaryWriter.prototype.writeMessage,
409
- proto.google.api.RoutingRule.serializeBinaryToWriter,
410
- proto.google.api.RoutingRule.deserializeBinaryFromReader,
411
- false);
412
- // This registers the extension field with the extended class, so that
413
- // toObject() will function correctly.
414
- google_protobuf_descriptor_pb.MethodOptions.extensions[72295729] = proto.google.api.routing;
415
-
416
- goog.object.extend(exports, proto.google.api);
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/routing.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/routing.proto
3
-
@@ -1,184 +0,0 @@
1
- // package: google.api
2
- // file: google/api/service.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_api_annotations_pb from "../../google/api/annotations_pb";
6
- import * as google_api_auth_pb from "../../google/api/auth_pb";
7
- import * as google_api_backend_pb from "../../google/api/backend_pb";
8
- import * as google_api_billing_pb from "../../google/api/billing_pb";
9
- import * as google_api_context_pb from "../../google/api/context_pb";
10
- import * as google_api_control_pb from "../../google/api/control_pb";
11
- import * as google_api_documentation_pb from "../../google/api/documentation_pb";
12
- import * as google_api_endpoint_pb from "../../google/api/endpoint_pb";
13
- import * as google_api_http_pb from "../../google/api/http_pb";
14
- import * as google_api_log_pb from "../../google/api/log_pb";
15
- import * as google_api_logging_pb from "../../google/api/logging_pb";
16
- import * as google_api_metric_pb from "../../google/api/metric_pb";
17
- import * as google_api_monitored_resource_pb from "../../google/api/monitored_resource_pb";
18
- import * as google_api_monitoring_pb from "../../google/api/monitoring_pb";
19
- import * as google_api_quota_pb from "../../google/api/quota_pb";
20
- import * as google_api_source_info_pb from "../../google/api/source_info_pb";
21
- import * as google_api_system_parameter_pb from "../../google/api/system_parameter_pb";
22
- import * as google_api_usage_pb from "../../google/api/usage_pb";
23
- import * as google_protobuf_api_pb from "google-protobuf/google/protobuf/api_pb";
24
- import * as google_protobuf_type_pb from "google-protobuf/google/protobuf/type_pb";
25
- import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
26
-
27
- export class Service extends jspb.Message {
28
- hasConfigVersion(): boolean;
29
- clearConfigVersion(): void;
30
- getConfigVersion(): google_protobuf_wrappers_pb.UInt32Value | undefined;
31
- setConfigVersion(value?: google_protobuf_wrappers_pb.UInt32Value): void;
32
-
33
- getName(): string;
34
- setName(value: string): void;
35
-
36
- getId(): string;
37
- setId(value: string): void;
38
-
39
- getTitle(): string;
40
- setTitle(value: string): void;
41
-
42
- getProducerProjectId(): string;
43
- setProducerProjectId(value: string): void;
44
-
45
- clearApisList(): void;
46
- getApisList(): Array<google_protobuf_api_pb.Api>;
47
- setApisList(value: Array<google_protobuf_api_pb.Api>): void;
48
- addApis(value?: google_protobuf_api_pb.Api, index?: number): google_protobuf_api_pb.Api;
49
-
50
- clearTypesList(): void;
51
- getTypesList(): Array<google_protobuf_type_pb.Type>;
52
- setTypesList(value: Array<google_protobuf_type_pb.Type>): void;
53
- addTypes(value?: google_protobuf_type_pb.Type, index?: number): google_protobuf_type_pb.Type;
54
-
55
- clearEnumsList(): void;
56
- getEnumsList(): Array<google_protobuf_type_pb.Enum>;
57
- setEnumsList(value: Array<google_protobuf_type_pb.Enum>): void;
58
- addEnums(value?: google_protobuf_type_pb.Enum, index?: number): google_protobuf_type_pb.Enum;
59
-
60
- hasDocumentation(): boolean;
61
- clearDocumentation(): void;
62
- getDocumentation(): google_api_documentation_pb.Documentation | undefined;
63
- setDocumentation(value?: google_api_documentation_pb.Documentation): void;
64
-
65
- hasBackend(): boolean;
66
- clearBackend(): void;
67
- getBackend(): google_api_backend_pb.Backend | undefined;
68
- setBackend(value?: google_api_backend_pb.Backend): void;
69
-
70
- hasHttp(): boolean;
71
- clearHttp(): void;
72
- getHttp(): google_api_http_pb.Http | undefined;
73
- setHttp(value?: google_api_http_pb.Http): void;
74
-
75
- hasQuota(): boolean;
76
- clearQuota(): void;
77
- getQuota(): google_api_quota_pb.Quota | undefined;
78
- setQuota(value?: google_api_quota_pb.Quota): void;
79
-
80
- hasAuthentication(): boolean;
81
- clearAuthentication(): void;
82
- getAuthentication(): google_api_auth_pb.Authentication | undefined;
83
- setAuthentication(value?: google_api_auth_pb.Authentication): void;
84
-
85
- hasContext(): boolean;
86
- clearContext(): void;
87
- getContext(): google_api_context_pb.Context | undefined;
88
- setContext(value?: google_api_context_pb.Context): void;
89
-
90
- hasUsage(): boolean;
91
- clearUsage(): void;
92
- getUsage(): google_api_usage_pb.Usage | undefined;
93
- setUsage(value?: google_api_usage_pb.Usage): void;
94
-
95
- clearEndpointsList(): void;
96
- getEndpointsList(): Array<google_api_endpoint_pb.Endpoint>;
97
- setEndpointsList(value: Array<google_api_endpoint_pb.Endpoint>): void;
98
- addEndpoints(value?: google_api_endpoint_pb.Endpoint, index?: number): google_api_endpoint_pb.Endpoint;
99
-
100
- hasControl(): boolean;
101
- clearControl(): void;
102
- getControl(): google_api_control_pb.Control | undefined;
103
- setControl(value?: google_api_control_pb.Control): void;
104
-
105
- clearLogsList(): void;
106
- getLogsList(): Array<google_api_log_pb.LogDescriptor>;
107
- setLogsList(value: Array<google_api_log_pb.LogDescriptor>): void;
108
- addLogs(value?: google_api_log_pb.LogDescriptor, index?: number): google_api_log_pb.LogDescriptor;
109
-
110
- clearMetricsList(): void;
111
- getMetricsList(): Array<google_api_metric_pb.MetricDescriptor>;
112
- setMetricsList(value: Array<google_api_metric_pb.MetricDescriptor>): void;
113
- addMetrics(value?: google_api_metric_pb.MetricDescriptor, index?: number): google_api_metric_pb.MetricDescriptor;
114
-
115
- clearMonitoredResourcesList(): void;
116
- getMonitoredResourcesList(): Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor>;
117
- setMonitoredResourcesList(value: Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor>): void;
118
- addMonitoredResources(value?: google_api_monitored_resource_pb.MonitoredResourceDescriptor, index?: number): google_api_monitored_resource_pb.MonitoredResourceDescriptor;
119
-
120
- hasBilling(): boolean;
121
- clearBilling(): void;
122
- getBilling(): google_api_billing_pb.Billing | undefined;
123
- setBilling(value?: google_api_billing_pb.Billing): void;
124
-
125
- hasLogging(): boolean;
126
- clearLogging(): void;
127
- getLogging(): google_api_logging_pb.Logging | undefined;
128
- setLogging(value?: google_api_logging_pb.Logging): void;
129
-
130
- hasMonitoring(): boolean;
131
- clearMonitoring(): void;
132
- getMonitoring(): google_api_monitoring_pb.Monitoring | undefined;
133
- setMonitoring(value?: google_api_monitoring_pb.Monitoring): void;
134
-
135
- hasSystemParameters(): boolean;
136
- clearSystemParameters(): void;
137
- getSystemParameters(): google_api_system_parameter_pb.SystemParameters | undefined;
138
- setSystemParameters(value?: google_api_system_parameter_pb.SystemParameters): void;
139
-
140
- hasSourceInfo(): boolean;
141
- clearSourceInfo(): void;
142
- getSourceInfo(): google_api_source_info_pb.SourceInfo | undefined;
143
- setSourceInfo(value?: google_api_source_info_pb.SourceInfo): void;
144
-
145
- serializeBinary(): Uint8Array;
146
- toObject(includeInstance?: boolean): Service.AsObject;
147
- static toObject(includeInstance: boolean, msg: Service): Service.AsObject;
148
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
149
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
150
- static serializeBinaryToWriter(message: Service, writer: jspb.BinaryWriter): void;
151
- static deserializeBinary(bytes: Uint8Array): Service;
152
- static deserializeBinaryFromReader(message: Service, reader: jspb.BinaryReader): Service;
153
- }
154
-
155
- export namespace Service {
156
- export type AsObject = {
157
- configVersion?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
158
- name: string,
159
- id: string,
160
- title: string,
161
- producerProjectId: string,
162
- apisList: Array<google_protobuf_api_pb.Api.AsObject>,
163
- typesList: Array<google_protobuf_type_pb.Type.AsObject>,
164
- enumsList: Array<google_protobuf_type_pb.Enum.AsObject>,
165
- documentation?: google_api_documentation_pb.Documentation.AsObject,
166
- backend?: google_api_backend_pb.Backend.AsObject,
167
- http?: google_api_http_pb.Http.AsObject,
168
- quota?: google_api_quota_pb.Quota.AsObject,
169
- authentication?: google_api_auth_pb.Authentication.AsObject,
170
- context?: google_api_context_pb.Context.AsObject,
171
- usage?: google_api_usage_pb.Usage.AsObject,
172
- endpointsList: Array<google_api_endpoint_pb.Endpoint.AsObject>,
173
- control?: google_api_control_pb.Control.AsObject,
174
- logsList: Array<google_api_log_pb.LogDescriptor.AsObject>,
175
- metricsList: Array<google_api_metric_pb.MetricDescriptor.AsObject>,
176
- monitoredResourcesList: Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor.AsObject>,
177
- billing?: google_api_billing_pb.Billing.AsObject,
178
- logging?: google_api_logging_pb.Logging.AsObject,
179
- monitoring?: google_api_monitoring_pb.Monitoring.AsObject,
180
- systemParameters?: google_api_system_parameter_pb.SystemParameters.AsObject,
181
- sourceInfo?: google_api_source_info_pb.SourceInfo.AsObject,
182
- }
183
- }
184
-