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