@aceplus/smartace-api 2.13.0-alpha.2 → 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 (225) 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.client_pb.d.ts +0 -168
  179. package/meta.client_pb.js +0 -1268
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -251
  183. package/meta.spic_config_pb.js +0 -1820
  184. package/meta.spic_config_pb_service.d.ts +0 -141
  185. package/meta.spic_config_pb_service.js +0 -223
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_pb.d.ts +0 -434
  199. package/platform.local_account_pb.js +0 -3318
  200. package/platform.local_account_pb_service.d.ts +0 -388
  201. package/platform.local_account_pb_service.js +0 -743
  202. package/platform.local_distribution_pb.d.ts +0 -69
  203. package/platform.local_distribution_pb.js +0 -506
  204. package/platform.local_distribution_pb_service.d.ts +0 -63
  205. package/platform.local_distribution_pb_service.js +0 -61
  206. package/platform.location_pb.d.ts +0 -271
  207. package/platform.location_pb.js +0 -2046
  208. package/platform.location_pb_service.d.ts +0 -139
  209. package/platform.location_pb_service.js +0 -221
  210. package/platform.pagination_pb.d.ts +0 -45
  211. package/platform.pagination_pb.js +0 -276
  212. package/platform.pagination_pb_service.d.ts +0 -3
  213. package/platform.pagination_pb_service.js +0 -3
  214. package/spic.cabinet_pb.d.ts +0 -1320
  215. package/spic.cabinet_pb.js +0 -9833
  216. package/spic.cabinet_pb_service.d.ts +0 -359
  217. package/spic.cabinet_pb_service.js +0 -677
  218. package/spic.config_pb.d.ts +0 -249
  219. package/spic.config_pb.js +0 -1891
  220. package/spic.config_pb_service.d.ts +0 -120
  221. package/spic.config_pb_service.js +0 -181
  222. package/spic.contractor_pb.d.ts +0 -195
  223. package/spic.contractor_pb.js +0 -1476
  224. package/spic.contractor_pb_service.d.ts +0 -139
  225. package/spic.contractor_pb_service.js +0 -221
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/auth.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/auth.proto
3
-
@@ -1,59 +0,0 @@
1
- // package: google.api
2
- // file: google/api/backend.proto
3
-
4
- import * as jspb from "google-protobuf";
5
-
6
- export class Backend extends jspb.Message {
7
- clearRulesList(): void;
8
- getRulesList(): Array<BackendRule>;
9
- setRulesList(value: Array<BackendRule>): void;
10
- addRules(value?: BackendRule, index?: number): BackendRule;
11
-
12
- serializeBinary(): Uint8Array;
13
- toObject(includeInstance?: boolean): Backend.AsObject;
14
- static toObject(includeInstance: boolean, msg: Backend): Backend.AsObject;
15
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
16
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
17
- static serializeBinaryToWriter(message: Backend, writer: jspb.BinaryWriter): void;
18
- static deserializeBinary(bytes: Uint8Array): Backend;
19
- static deserializeBinaryFromReader(message: Backend, reader: jspb.BinaryReader): Backend;
20
- }
21
-
22
- export namespace Backend {
23
- export type AsObject = {
24
- rulesList: Array<BackendRule.AsObject>,
25
- }
26
- }
27
-
28
- export class BackendRule extends jspb.Message {
29
- getSelector(): string;
30
- setSelector(value: string): void;
31
-
32
- getAddress(): string;
33
- setAddress(value: string): void;
34
-
35
- getDeadline(): number;
36
- setDeadline(value: number): void;
37
-
38
- getMinDeadline(): number;
39
- setMinDeadline(value: number): void;
40
-
41
- serializeBinary(): Uint8Array;
42
- toObject(includeInstance?: boolean): BackendRule.AsObject;
43
- static toObject(includeInstance: boolean, msg: BackendRule): BackendRule.AsObject;
44
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
45
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
46
- static serializeBinaryToWriter(message: BackendRule, writer: jspb.BinaryWriter): void;
47
- static deserializeBinary(bytes: Uint8Array): BackendRule;
48
- static deserializeBinaryFromReader(message: BackendRule, reader: jspb.BinaryReader): BackendRule;
49
- }
50
-
51
- export namespace BackendRule {
52
- export type AsObject = {
53
- selector: string,
54
- address: string,
55
- deadline: number,
56
- minDeadline: number,
57
- }
58
- }
59
-
@@ -1,448 +0,0 @@
1
- // source: google/api/backend.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
- goog.exportSymbol('proto.google.api.Backend', null, global);
25
- goog.exportSymbol('proto.google.api.BackendRule', null, global);
26
- /**
27
- * Generated by JsPbCodeGenerator.
28
- * @param {Array=} opt_data Optional initial data array, typically from a
29
- * server response, or constructed directly in Javascript. The array is used
30
- * in place and becomes part of the constructed object. It is not cloned.
31
- * If no data is provided, the constructed object will be empty, but still
32
- * valid.
33
- * @extends {jspb.Message}
34
- * @constructor
35
- */
36
- proto.google.api.Backend = function(opt_data) {
37
- jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Backend.repeatedFields_, null);
38
- };
39
- goog.inherits(proto.google.api.Backend, jspb.Message);
40
- if (goog.DEBUG && !COMPILED) {
41
- /**
42
- * @public
43
- * @override
44
- */
45
- proto.google.api.Backend.displayName = 'proto.google.api.Backend';
46
- }
47
- /**
48
- * Generated by JsPbCodeGenerator.
49
- * @param {Array=} opt_data Optional initial data array, typically from a
50
- * server response, or constructed directly in Javascript. The array is used
51
- * in place and becomes part of the constructed object. It is not cloned.
52
- * If no data is provided, the constructed object will be empty, but still
53
- * valid.
54
- * @extends {jspb.Message}
55
- * @constructor
56
- */
57
- proto.google.api.BackendRule = function(opt_data) {
58
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
59
- };
60
- goog.inherits(proto.google.api.BackendRule, jspb.Message);
61
- if (goog.DEBUG && !COMPILED) {
62
- /**
63
- * @public
64
- * @override
65
- */
66
- proto.google.api.BackendRule.displayName = 'proto.google.api.BackendRule';
67
- }
68
-
69
- /**
70
- * List of repeated fields within this message type.
71
- * @private {!Array<number>}
72
- * @const
73
- */
74
- proto.google.api.Backend.repeatedFields_ = [1];
75
-
76
-
77
-
78
- if (jspb.Message.GENERATE_TO_OBJECT) {
79
- /**
80
- * Creates an object representation of this proto.
81
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
82
- * Optional fields that are not set will be set to undefined.
83
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
84
- * For the list of reserved names please see:
85
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
86
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
87
- * JSPB instance for transitional soy proto support:
88
- * http://goto/soy-param-migration
89
- * @return {!Object}
90
- */
91
- proto.google.api.Backend.prototype.toObject = function(opt_includeInstance) {
92
- return proto.google.api.Backend.toObject(opt_includeInstance, this);
93
- };
94
-
95
-
96
- /**
97
- * Static version of the {@see toObject} method.
98
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
99
- * the JSPB instance for transitional soy proto support:
100
- * http://goto/soy-param-migration
101
- * @param {!proto.google.api.Backend} msg The msg instance to transform.
102
- * @return {!Object}
103
- * @suppress {unusedLocalVariables} f is only used for nested messages
104
- */
105
- proto.google.api.Backend.toObject = function(includeInstance, msg) {
106
- var f, obj = {
107
- rulesList: jspb.Message.toObjectList(msg.getRulesList(),
108
- proto.google.api.BackendRule.toObject, includeInstance)
109
- };
110
-
111
- if (includeInstance) {
112
- obj.$jspbMessageInstance = msg;
113
- }
114
- return obj;
115
- };
116
- }
117
-
118
-
119
- /**
120
- * Deserializes binary data (in protobuf wire format).
121
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
122
- * @return {!proto.google.api.Backend}
123
- */
124
- proto.google.api.Backend.deserializeBinary = function(bytes) {
125
- var reader = new jspb.BinaryReader(bytes);
126
- var msg = new proto.google.api.Backend;
127
- return proto.google.api.Backend.deserializeBinaryFromReader(msg, reader);
128
- };
129
-
130
-
131
- /**
132
- * Deserializes binary data (in protobuf wire format) from the
133
- * given reader into the given message object.
134
- * @param {!proto.google.api.Backend} msg The message object to deserialize into.
135
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
136
- * @return {!proto.google.api.Backend}
137
- */
138
- proto.google.api.Backend.deserializeBinaryFromReader = function(msg, reader) {
139
- while (reader.nextField()) {
140
- if (reader.isEndGroup()) {
141
- break;
142
- }
143
- var field = reader.getFieldNumber();
144
- switch (field) {
145
- case 1:
146
- var value = new proto.google.api.BackendRule;
147
- reader.readMessage(value,proto.google.api.BackendRule.deserializeBinaryFromReader);
148
- msg.addRules(value);
149
- break;
150
- default:
151
- reader.skipField();
152
- break;
153
- }
154
- }
155
- return msg;
156
- };
157
-
158
-
159
- /**
160
- * Serializes the message to binary data (in protobuf wire format).
161
- * @return {!Uint8Array}
162
- */
163
- proto.google.api.Backend.prototype.serializeBinary = function() {
164
- var writer = new jspb.BinaryWriter();
165
- proto.google.api.Backend.serializeBinaryToWriter(this, writer);
166
- return writer.getResultBuffer();
167
- };
168
-
169
-
170
- /**
171
- * Serializes the given message to binary data (in protobuf wire
172
- * format), writing to the given BinaryWriter.
173
- * @param {!proto.google.api.Backend} message
174
- * @param {!jspb.BinaryWriter} writer
175
- * @suppress {unusedLocalVariables} f is only used for nested messages
176
- */
177
- proto.google.api.Backend.serializeBinaryToWriter = function(message, writer) {
178
- var f = undefined;
179
- f = message.getRulesList();
180
- if (f.length > 0) {
181
- writer.writeRepeatedMessage(
182
- 1,
183
- f,
184
- proto.google.api.BackendRule.serializeBinaryToWriter
185
- );
186
- }
187
- };
188
-
189
-
190
- /**
191
- * repeated BackendRule rules = 1;
192
- * @return {!Array<!proto.google.api.BackendRule>}
193
- */
194
- proto.google.api.Backend.prototype.getRulesList = function() {
195
- return /** @type{!Array<!proto.google.api.BackendRule>} */ (
196
- jspb.Message.getRepeatedWrapperField(this, proto.google.api.BackendRule, 1));
197
- };
198
-
199
-
200
- /**
201
- * @param {!Array<!proto.google.api.BackendRule>} value
202
- * @return {!proto.google.api.Backend} returns this
203
- */
204
- proto.google.api.Backend.prototype.setRulesList = function(value) {
205
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
206
- };
207
-
208
-
209
- /**
210
- * @param {!proto.google.api.BackendRule=} opt_value
211
- * @param {number=} opt_index
212
- * @return {!proto.google.api.BackendRule}
213
- */
214
- proto.google.api.Backend.prototype.addRules = function(opt_value, opt_index) {
215
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.BackendRule, opt_index);
216
- };
217
-
218
-
219
- /**
220
- * Clears the list making it empty but non-null.
221
- * @return {!proto.google.api.Backend} returns this
222
- */
223
- proto.google.api.Backend.prototype.clearRulesList = function() {
224
- return this.setRulesList([]);
225
- };
226
-
227
-
228
-
229
-
230
-
231
- if (jspb.Message.GENERATE_TO_OBJECT) {
232
- /**
233
- * Creates an object representation of this proto.
234
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
235
- * Optional fields that are not set will be set to undefined.
236
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
237
- * For the list of reserved names please see:
238
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
239
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
240
- * JSPB instance for transitional soy proto support:
241
- * http://goto/soy-param-migration
242
- * @return {!Object}
243
- */
244
- proto.google.api.BackendRule.prototype.toObject = function(opt_includeInstance) {
245
- return proto.google.api.BackendRule.toObject(opt_includeInstance, this);
246
- };
247
-
248
-
249
- /**
250
- * Static version of the {@see toObject} method.
251
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
252
- * the JSPB instance for transitional soy proto support:
253
- * http://goto/soy-param-migration
254
- * @param {!proto.google.api.BackendRule} msg The msg instance to transform.
255
- * @return {!Object}
256
- * @suppress {unusedLocalVariables} f is only used for nested messages
257
- */
258
- proto.google.api.BackendRule.toObject = function(includeInstance, msg) {
259
- var f, obj = {
260
- selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
261
- address: jspb.Message.getFieldWithDefault(msg, 2, ""),
262
- deadline: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
263
- minDeadline: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
264
- };
265
-
266
- if (includeInstance) {
267
- obj.$jspbMessageInstance = msg;
268
- }
269
- return obj;
270
- };
271
- }
272
-
273
-
274
- /**
275
- * Deserializes binary data (in protobuf wire format).
276
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
277
- * @return {!proto.google.api.BackendRule}
278
- */
279
- proto.google.api.BackendRule.deserializeBinary = function(bytes) {
280
- var reader = new jspb.BinaryReader(bytes);
281
- var msg = new proto.google.api.BackendRule;
282
- return proto.google.api.BackendRule.deserializeBinaryFromReader(msg, reader);
283
- };
284
-
285
-
286
- /**
287
- * Deserializes binary data (in protobuf wire format) from the
288
- * given reader into the given message object.
289
- * @param {!proto.google.api.BackendRule} msg The message object to deserialize into.
290
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
291
- * @return {!proto.google.api.BackendRule}
292
- */
293
- proto.google.api.BackendRule.deserializeBinaryFromReader = function(msg, reader) {
294
- while (reader.nextField()) {
295
- if (reader.isEndGroup()) {
296
- break;
297
- }
298
- var field = reader.getFieldNumber();
299
- switch (field) {
300
- case 1:
301
- var value = /** @type {string} */ (reader.readString());
302
- msg.setSelector(value);
303
- break;
304
- case 2:
305
- var value = /** @type {string} */ (reader.readString());
306
- msg.setAddress(value);
307
- break;
308
- case 3:
309
- var value = /** @type {number} */ (reader.readDouble());
310
- msg.setDeadline(value);
311
- break;
312
- case 4:
313
- var value = /** @type {number} */ (reader.readDouble());
314
- msg.setMinDeadline(value);
315
- break;
316
- default:
317
- reader.skipField();
318
- break;
319
- }
320
- }
321
- return msg;
322
- };
323
-
324
-
325
- /**
326
- * Serializes the message to binary data (in protobuf wire format).
327
- * @return {!Uint8Array}
328
- */
329
- proto.google.api.BackendRule.prototype.serializeBinary = function() {
330
- var writer = new jspb.BinaryWriter();
331
- proto.google.api.BackendRule.serializeBinaryToWriter(this, writer);
332
- return writer.getResultBuffer();
333
- };
334
-
335
-
336
- /**
337
- * Serializes the given message to binary data (in protobuf wire
338
- * format), writing to the given BinaryWriter.
339
- * @param {!proto.google.api.BackendRule} message
340
- * @param {!jspb.BinaryWriter} writer
341
- * @suppress {unusedLocalVariables} f is only used for nested messages
342
- */
343
- proto.google.api.BackendRule.serializeBinaryToWriter = function(message, writer) {
344
- var f = undefined;
345
- f = message.getSelector();
346
- if (f.length > 0) {
347
- writer.writeString(
348
- 1,
349
- f
350
- );
351
- }
352
- f = message.getAddress();
353
- if (f.length > 0) {
354
- writer.writeString(
355
- 2,
356
- f
357
- );
358
- }
359
- f = message.getDeadline();
360
- if (f !== 0.0) {
361
- writer.writeDouble(
362
- 3,
363
- f
364
- );
365
- }
366
- f = message.getMinDeadline();
367
- if (f !== 0.0) {
368
- writer.writeDouble(
369
- 4,
370
- f
371
- );
372
- }
373
- };
374
-
375
-
376
- /**
377
- * optional string selector = 1;
378
- * @return {string}
379
- */
380
- proto.google.api.BackendRule.prototype.getSelector = function() {
381
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
382
- };
383
-
384
-
385
- /**
386
- * @param {string} value
387
- * @return {!proto.google.api.BackendRule} returns this
388
- */
389
- proto.google.api.BackendRule.prototype.setSelector = function(value) {
390
- return jspb.Message.setProto3StringField(this, 1, value);
391
- };
392
-
393
-
394
- /**
395
- * optional string address = 2;
396
- * @return {string}
397
- */
398
- proto.google.api.BackendRule.prototype.getAddress = function() {
399
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
400
- };
401
-
402
-
403
- /**
404
- * @param {string} value
405
- * @return {!proto.google.api.BackendRule} returns this
406
- */
407
- proto.google.api.BackendRule.prototype.setAddress = function(value) {
408
- return jspb.Message.setProto3StringField(this, 2, value);
409
- };
410
-
411
-
412
- /**
413
- * optional double deadline = 3;
414
- * @return {number}
415
- */
416
- proto.google.api.BackendRule.prototype.getDeadline = function() {
417
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
418
- };
419
-
420
-
421
- /**
422
- * @param {number} value
423
- * @return {!proto.google.api.BackendRule} returns this
424
- */
425
- proto.google.api.BackendRule.prototype.setDeadline = function(value) {
426
- return jspb.Message.setProto3FloatField(this, 3, value);
427
- };
428
-
429
-
430
- /**
431
- * optional double min_deadline = 4;
432
- * @return {number}
433
- */
434
- proto.google.api.BackendRule.prototype.getMinDeadline = function() {
435
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
436
- };
437
-
438
-
439
- /**
440
- * @param {number} value
441
- * @return {!proto.google.api.BackendRule} returns this
442
- */
443
- proto.google.api.BackendRule.prototype.setMinDeadline = function(value) {
444
- return jspb.Message.setProto3FloatField(this, 4, value);
445
- };
446
-
447
-
448
- goog.object.extend(exports, proto.google.api);
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/backend.proto
3
-
@@ -1,3 +0,0 @@
1
- // package: google.api
2
- // file: google/api/backend.proto
3
-
@@ -1,54 +0,0 @@
1
- // package: google.api
2
- // file: google/api/billing.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 Billing extends jspb.Message {
8
- clearConsumerDestinationsList(): void;
9
- getConsumerDestinationsList(): Array<Billing.BillingDestination>;
10
- setConsumerDestinationsList(value: Array<Billing.BillingDestination>): void;
11
- addConsumerDestinations(value?: Billing.BillingDestination, index?: number): Billing.BillingDestination;
12
-
13
- serializeBinary(): Uint8Array;
14
- toObject(includeInstance?: boolean): Billing.AsObject;
15
- static toObject(includeInstance: boolean, msg: Billing): Billing.AsObject;
16
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
17
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
18
- static serializeBinaryToWriter(message: Billing, writer: jspb.BinaryWriter): void;
19
- static deserializeBinary(bytes: Uint8Array): Billing;
20
- static deserializeBinaryFromReader(message: Billing, reader: jspb.BinaryReader): Billing;
21
- }
22
-
23
- export namespace Billing {
24
- export type AsObject = {
25
- consumerDestinationsList: Array<Billing.BillingDestination.AsObject>,
26
- }
27
-
28
- export class BillingDestination extends jspb.Message {
29
- getMonitoredResource(): string;
30
- setMonitoredResource(value: string): void;
31
-
32
- clearMetricsList(): void;
33
- getMetricsList(): Array<string>;
34
- setMetricsList(value: Array<string>): void;
35
- addMetrics(value: string, index?: number): string;
36
-
37
- serializeBinary(): Uint8Array;
38
- toObject(includeInstance?: boolean): BillingDestination.AsObject;
39
- static toObject(includeInstance: boolean, msg: BillingDestination): BillingDestination.AsObject;
40
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
41
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
42
- static serializeBinaryToWriter(message: BillingDestination, writer: jspb.BinaryWriter): void;
43
- static deserializeBinary(bytes: Uint8Array): BillingDestination;
44
- static deserializeBinaryFromReader(message: BillingDestination, reader: jspb.BinaryReader): BillingDestination;
45
- }
46
-
47
- export namespace BillingDestination {
48
- export type AsObject = {
49
- monitoredResource: string,
50
- metricsList: Array<string>,
51
- }
52
- }
53
- }
54
-