@kenji71089/evaluation 0.0.1 → 0.0.8
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/CHANGELOG.md +45 -0
- package/README.md +36 -6
- package/lib/bucketeer.d.ts +6 -0
- package/lib/bucketeer.js +65 -0
- package/lib/bucketeer.mjs +38 -0
- package/lib/clauseEvaluator.js +49 -7
- package/lib/clauseEvaluator.mjs +41 -7
- package/lib/evaluation.d.ts +10 -1
- package/lib/evaluation.js +184 -27
- package/lib/evaluation.mjs +141 -10
- package/lib/index.d.ts +12 -10
- package/lib/index.js +61 -40
- package/lib/index.mjs +16 -10
- package/lib/modelFactory.d.ts +1 -0
- package/lib/modelFactory.js +2 -0
- package/lib/modelFactory.mjs +2 -0
- package/lib/proto/event/client/event_pb.d.ts +19 -9
- package/lib/proto/event/client/event_pb.js +22 -12
- package/lib/proto/event/client/event_pb.mjs +100 -90
- package/lib/proto/feature/clause_pb.d.ts +2 -1
- package/lib/proto/feature/clause_pb.js +3 -2
- package/lib/proto/feature/clause_pb.mjs +7 -6
- package/lib/proto/feature/evaluation_pb.d.ts +3 -3
- package/lib/proto/feature/evaluation_pb.js +1 -1
- package/lib/proto/feature/evaluation_pb.mjs +15 -15
- package/lib/proto/feature/feature_last_used_info_pb.d.ts +10 -1
- package/lib/proto/feature/feature_last_used_info_pb.js +12 -1
- package/lib/proto/feature/feature_last_used_info_pb.mjs +18 -7
- package/lib/proto/feature/feature_pb.d.ts +72 -7
- package/lib/proto/feature/feature_pb.js +446 -4
- package/lib/proto/feature/feature_pb.mjs +535 -29
- package/lib/proto/feature/prerequisite_pb.d.ts +1 -1
- package/lib/proto/feature/prerequisite_pb.js +1 -1
- package/lib/proto/feature/prerequisite_pb.mjs +3 -3
- package/lib/proto/feature/reason_pb.d.ts +8 -1
- package/lib/proto/feature/reason_pb.js +9 -2
- package/lib/proto/feature/reason_pb.mjs +11 -4
- package/lib/proto/feature/rule_pb.d.ts +3 -3
- package/lib/proto/feature/rule_pb.js +1 -1
- package/lib/proto/feature/rule_pb.mjs +4 -4
- package/lib/proto/feature/segment_pb.d.ts +3 -3
- package/lib/proto/feature/segment_pb.js +1 -1
- package/lib/proto/feature/segment_pb.mjs +22 -22
- package/lib/proto/feature/strategy_pb.d.ts +31 -1
- package/lib/proto/feature/strategy_pb.js +206 -2
- package/lib/proto/feature/strategy_pb.mjs +242 -9
- package/lib/proto/feature/target_pb.d.ts +1 -1
- package/lib/proto/feature/target_pb.js +1 -1
- package/lib/proto/feature/target_pb.mjs +3 -3
- package/lib/proto/feature/variation_pb.d.ts +1 -1
- package/lib/proto/feature/variation_pb.js +1 -1
- package/lib/proto/feature/variation_pb.mjs +5 -5
- package/lib/proto/user/user_pb.d.ts +53 -1
- package/lib/proto/user/user_pb.js +374 -1
- package/lib/proto/user/user_pb.mjs +427 -7
- package/lib/strategyEvaluator.d.ts +0 -2
- package/lib/strategyEvaluator.js +23 -57
- package/lib/strategyEvaluator.mjs +23 -46
- package/lib/userEvaluation.js +13 -3
- package/lib/userEvaluation.mjs +13 -3
- package/package.json +15 -8
- package/lib/google/api/annotations_pb.d.ts +0 -8
- package/lib/google/api/annotations_pb.js +0 -40
- package/lib/google/api/annotations_pb.mjs +0 -54
- package/lib/google/api/annotations_pb_service.d.ts +0 -3
- package/lib/google/api/annotations_pb_service.js +0 -3
- package/lib/google/api/annotations_pb_service.mjs +0 -3
- package/lib/google/api/http_pb.d.ts +0 -132
- package/lib/google/api/http_pb.js +0 -860
- package/lib/google/api/http_pb.mjs +0 -982
- package/lib/google/api/http_pb_service.d.ts +0 -3
- package/lib/google/api/http_pb_service.js +0 -3
- package/lib/google/api/http_pb_service.mjs +0 -3
- package/lib/google/rpc/code_pb.d.ts +0 -26
- package/lib/google/rpc/code_pb.js +0 -44
- package/lib/google/rpc/code_pb.mjs +0 -48
- package/lib/google/rpc/code_pb_service.d.ts +0 -3
- package/lib/google/rpc/code_pb_service.js +0 -3
- package/lib/google/rpc/code_pb_service.mjs +0 -3
- package/lib/google/rpc/error_details_pb.d.ts +0 -322
- package/lib/google/rpc/error_details_pb.js +0 -2220
- package/lib/google/rpc/error_details_pb.mjs +0 -2499
- package/lib/google/rpc/error_details_pb_service.d.ts +0 -3
- package/lib/google/rpc/error_details_pb_service.js +0 -3
- package/lib/google/rpc/error_details_pb_service.mjs +0 -3
- package/lib/google/rpc/status_pb.d.ts +0 -36
- package/lib/google/rpc/status_pb.js +0 -235
- package/lib/google/rpc/status_pb.mjs +0 -268
- package/lib/google/rpc/status_pb_service.d.ts +0 -3
- package/lib/google/rpc/status_pb_service.js +0 -3
- package/lib/google/rpc/status_pb_service.mjs +0 -3
- package/lib/proto/event/client/event_pb_service.d.ts +0 -3
- package/lib/proto/event/client/event_pb_service.js +0 -3
- package/lib/proto/event/client/event_pb_service.mjs +0 -3
- package/lib/proto/event/domain/event_pb.d.ts +0 -4518
- package/lib/proto/event/domain/event_pb.js +0 -10834
- package/lib/proto/event/domain/event_pb.mjs +0 -33315
- package/lib/proto/event/domain/event_pb_service.d.ts +0 -3
- package/lib/proto/event/domain/event_pb_service.js +0 -3
- package/lib/proto/event/domain/event_pb_service.mjs +0 -3
- package/lib/proto/event/domain/localized_message_pb.d.ts +0 -29
- package/lib/proto/event/domain/localized_message_pb.js +0 -183
- package/lib/proto/event/domain/localized_message_pb.mjs +0 -206
- package/lib/proto/event/domain/localized_message_pb_service.d.ts +0 -3
- package/lib/proto/event/domain/localized_message_pb_service.js +0 -3
- package/lib/proto/event/domain/localized_message_pb_service.mjs +0 -3
- package/lib/proto/event/service/feature_pb.d.ts +0 -44
- package/lib/proto/event/service/feature_pb.js +0 -277
- package/lib/proto/event/service/feature_pb.mjs +0 -319
- package/lib/proto/event/service/feature_pb_service.d.ts +0 -3
- package/lib/proto/event/service/feature_pb_service.js +0 -3
- package/lib/proto/event/service/feature_pb_service.mjs +0 -3
- package/lib/proto/event/service/segment_pb.d.ts +0 -51
- package/lib/proto/event/service/segment_pb.js +0 -324
- package/lib/proto/event/service/segment_pb.mjs +0 -375
- package/lib/proto/event/service/segment_pb_service.d.ts +0 -3
- package/lib/proto/event/service/segment_pb_service.js +0 -3
- package/lib/proto/event/service/segment_pb_service.mjs +0 -3
- package/lib/proto/event/service/user_pb.d.ts +0 -49
- package/lib/proto/event/service/user_pb.js +0 -315
- package/lib/proto/event/service/user_pb.mjs +0 -362
- package/lib/proto/event/service/user_pb_service.d.ts +0 -3
- package/lib/proto/event/service/user_pb_service.js +0 -3
- package/lib/proto/event/service/user_pb_service.mjs +0 -3
- package/lib/proto/feature/clause_pb_service.d.ts +0 -3
- package/lib/proto/feature/clause_pb_service.js +0 -3
- package/lib/proto/feature/clause_pb_service.mjs +0 -3
- package/lib/proto/feature/command_pb.d.ts +0 -1213
- package/lib/proto/feature/command_pb.js +0 -8260
- package/lib/proto/feature/command_pb.mjs +0 -9275
- package/lib/proto/feature/command_pb_service.d.ts +0 -3
- package/lib/proto/feature/command_pb_service.js +0 -3
- package/lib/proto/feature/command_pb_service.mjs +0 -3
- package/lib/proto/feature/evaluation_pb_service.d.ts +0 -3
- package/lib/proto/feature/evaluation_pb_service.js +0 -3
- package/lib/proto/feature/evaluation_pb_service.mjs +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.d.ts +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.js +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.mjs +0 -3
- package/lib/proto/feature/feature_pb_service.d.ts +0 -3
- package/lib/proto/feature/feature_pb_service.js +0 -3
- package/lib/proto/feature/feature_pb_service.mjs +0 -3
- package/lib/proto/feature/flag_trigger_pb.d.ts +0 -84
- package/lib/proto/feature/flag_trigger_pb.js +0 -452
- package/lib/proto/feature/flag_trigger_pb.mjs +0 -525
- package/lib/proto/feature/flag_trigger_pb_service.d.ts +0 -3
- package/lib/proto/feature/flag_trigger_pb_service.js +0 -3
- package/lib/proto/feature/flag_trigger_pb_service.mjs +0 -3
- package/lib/proto/feature/prerequisite_pb_service.d.ts +0 -3
- package/lib/proto/feature/prerequisite_pb_service.js +0 -3
- package/lib/proto/feature/prerequisite_pb_service.mjs +0 -3
- package/lib/proto/feature/reason_pb_service.d.ts +0 -3
- package/lib/proto/feature/reason_pb_service.js +0 -3
- package/lib/proto/feature/reason_pb_service.mjs +0 -3
- package/lib/proto/feature/rule_pb_service.d.ts +0 -3
- package/lib/proto/feature/rule_pb_service.js +0 -3
- package/lib/proto/feature/rule_pb_service.mjs +0 -3
- package/lib/proto/feature/segment_pb_service.d.ts +0 -3
- package/lib/proto/feature/segment_pb_service.js +0 -3
- package/lib/proto/feature/segment_pb_service.mjs +0 -3
- package/lib/proto/feature/service_pb.d.ts +0 -2158
- package/lib/proto/feature/service_pb.js +0 -5363
- package/lib/proto/feature/service_pb.mjs +0 -16348
- package/lib/proto/feature/service_pb_service.d.ts +0 -747
- package/lib/proto/feature/service_pb_service.js +0 -1424
- package/lib/proto/feature/service_pb_service.mjs +0 -1501
- package/lib/proto/feature/strategy_pb_service.d.ts +0 -3
- package/lib/proto/feature/strategy_pb_service.js +0 -3
- package/lib/proto/feature/strategy_pb_service.mjs +0 -3
- package/lib/proto/feature/target_pb_service.d.ts +0 -3
- package/lib/proto/feature/target_pb_service.js +0 -3
- package/lib/proto/feature/target_pb_service.mjs +0 -3
- package/lib/proto/feature/variation_pb_service.d.ts +0 -3
- package/lib/proto/feature/variation_pb_service.js +0 -3
- package/lib/proto/feature/variation_pb_service.mjs +0 -3
- package/lib/proto/gateway/service_pb.d.ts +0 -772
- package/lib/proto/gateway/service_pb.js +0 -5249
- package/lib/proto/gateway/service_pb.mjs +0 -6001
- package/lib/proto/gateway/service_pb_service.d.ts +0 -253
- package/lib/proto/gateway/service_pb_service.js +0 -436
- package/lib/proto/gateway/service_pb_service.mjs +0 -461
- package/lib/proto/user/user_pb_service.d.ts +0 -3
- package/lib/proto/user/user_pb_service.js +0 -3
- package/lib/proto/user/user_pb_service.mjs +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb.d.ts +0 -16
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +0 -100
- package/lib/protoc-gen-openapiv2/options/annotations_pb.mjs +0 -158
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.js +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.mjs +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +0 -834
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +0 -5456
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.mjs +0 -6256
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.js +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.mjs +0 -3
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -33,6 +33,8 @@ var proto_feature_feature_last_used_info_pb = require('../../proto/feature/featu
|
|
|
33
33
|
goog.object.extend(proto, proto_feature_feature_last_used_info_pb);
|
|
34
34
|
var proto_feature_prerequisite_pb = require('../../proto/feature/prerequisite_pb.js');
|
|
35
35
|
goog.object.extend(proto, proto_feature_prerequisite_pb);
|
|
36
|
+
goog.exportSymbol('proto.bucketeer.feature.AutoOpsSummary', null, global);
|
|
37
|
+
goog.exportSymbol('proto.bucketeer.feature.EnvironmentFeature', null, global);
|
|
36
38
|
goog.exportSymbol('proto.bucketeer.feature.Feature', null, global);
|
|
37
39
|
goog.exportSymbol('proto.bucketeer.feature.Feature.VariationType', null, global);
|
|
38
40
|
goog.exportSymbol('proto.bucketeer.feature.Features', null, global);
|
|
@@ -58,6 +60,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
58
60
|
*/
|
|
59
61
|
proto.bucketeer.feature.Feature.displayName = 'proto.bucketeer.feature.Feature';
|
|
60
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Generated by JsPbCodeGenerator.
|
|
65
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
66
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
67
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
68
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
69
|
+
* valid.
|
|
70
|
+
* @extends {jspb.Message}
|
|
71
|
+
* @constructor
|
|
72
|
+
*/
|
|
73
|
+
proto.bucketeer.feature.AutoOpsSummary = function(opt_data) {
|
|
74
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
75
|
+
};
|
|
76
|
+
goog.inherits(proto.bucketeer.feature.AutoOpsSummary, jspb.Message);
|
|
77
|
+
if (goog.DEBUG && !COMPILED) {
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @override
|
|
81
|
+
*/
|
|
82
|
+
proto.bucketeer.feature.AutoOpsSummary.displayName = 'proto.bucketeer.feature.AutoOpsSummary';
|
|
83
|
+
}
|
|
61
84
|
/**
|
|
62
85
|
* Generated by JsPbCodeGenerator.
|
|
63
86
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -79,6 +102,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
79
102
|
*/
|
|
80
103
|
proto.bucketeer.feature.Features.displayName = 'proto.bucketeer.feature.Features';
|
|
81
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Generated by JsPbCodeGenerator.
|
|
107
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
108
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
109
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
110
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
111
|
+
* valid.
|
|
112
|
+
* @extends {jspb.Message}
|
|
113
|
+
* @constructor
|
|
114
|
+
*/
|
|
115
|
+
proto.bucketeer.feature.EnvironmentFeature = function(opt_data) {
|
|
116
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bucketeer.feature.EnvironmentFeature.repeatedFields_, null);
|
|
117
|
+
};
|
|
118
|
+
goog.inherits(proto.bucketeer.feature.EnvironmentFeature, jspb.Message);
|
|
119
|
+
if (goog.DEBUG && !COMPILED) {
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @override
|
|
123
|
+
*/
|
|
124
|
+
proto.bucketeer.feature.EnvironmentFeature.displayName = 'proto.bucketeer.feature.EnvironmentFeature';
|
|
125
|
+
}
|
|
82
126
|
/**
|
|
83
127
|
* Generated by JsPbCodeGenerator.
|
|
84
128
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -139,32 +183,33 @@ proto.bucketeer.feature.Feature.prototype.toObject = function(opt_includeInstanc
|
|
|
139
183
|
*/
|
|
140
184
|
proto.bucketeer.feature.Feature.toObject = function(includeInstance, msg) {
|
|
141
185
|
var f, obj = {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
186
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
187
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
188
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
189
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
190
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
191
|
+
evaluationUndelayable: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
192
|
+
ttl: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
193
|
+
version: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
194
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
195
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
196
|
+
variationsList: jspb.Message.toObjectList(msg.getVariationsList(),
|
|
153
197
|
proto_feature_variation_pb.Variation.toObject, includeInstance),
|
|
154
|
-
|
|
198
|
+
targetsList: jspb.Message.toObjectList(msg.getTargetsList(),
|
|
155
199
|
proto_feature_target_pb.Target.toObject, includeInstance),
|
|
156
|
-
|
|
200
|
+
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
|
157
201
|
proto_feature_rule_pb.Rule.toObject, includeInstance),
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
202
|
+
defaultStrategy: (f = msg.getDefaultStrategy()) && proto_feature_strategy_pb.Strategy.toObject(includeInstance, f),
|
|
203
|
+
offVariation: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
204
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
|
|
205
|
+
lastUsedInfo: (f = msg.getLastUsedInfo()) && proto_feature_feature_last_used_info_pb.FeatureLastUsedInfo.toObject(includeInstance, f),
|
|
206
|
+
maintainer: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
207
|
+
variationType: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
208
|
+
archived: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
209
|
+
prerequisitesList: jspb.Message.toObjectList(msg.getPrerequisitesList(),
|
|
166
210
|
proto_feature_prerequisite_pb.Prerequisite.toObject, includeInstance),
|
|
167
|
-
|
|
211
|
+
samplingSeed: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
212
|
+
autoOpsSummary: (f = msg.getAutoOpsSummary()) && proto.bucketeer.feature.AutoOpsSummary.toObject(includeInstance, f)
|
|
168
213
|
};
|
|
169
214
|
|
|
170
215
|
if (includeInstance) {
|
|
@@ -295,6 +340,11 @@ proto.bucketeer.feature.Feature.deserializeBinaryFromReader = function(msg, read
|
|
|
295
340
|
var value = /** @type {string} */ (reader.readString());
|
|
296
341
|
msg.setSamplingSeed(value);
|
|
297
342
|
break;
|
|
343
|
+
case 23:
|
|
344
|
+
var value = new proto.bucketeer.feature.AutoOpsSummary;
|
|
345
|
+
reader.readMessage(value,proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader);
|
|
346
|
+
msg.setAutoOpsSummary(value);
|
|
347
|
+
break;
|
|
298
348
|
default:
|
|
299
349
|
reader.skipField();
|
|
300
350
|
break;
|
|
@@ -484,6 +534,14 @@ proto.bucketeer.feature.Feature.serializeBinaryToWriter = function(message, writ
|
|
|
484
534
|
f
|
|
485
535
|
);
|
|
486
536
|
}
|
|
537
|
+
f = message.getAutoOpsSummary();
|
|
538
|
+
if (f != null) {
|
|
539
|
+
writer.writeMessage(
|
|
540
|
+
23,
|
|
541
|
+
f,
|
|
542
|
+
proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter
|
|
543
|
+
);
|
|
544
|
+
}
|
|
487
545
|
};
|
|
488
546
|
|
|
489
547
|
|
|
@@ -494,7 +552,8 @@ proto.bucketeer.feature.Feature.VariationType = {
|
|
|
494
552
|
STRING: 0,
|
|
495
553
|
BOOLEAN: 1,
|
|
496
554
|
NUMBER: 2,
|
|
497
|
-
JSON: 3
|
|
555
|
+
JSON: 3,
|
|
556
|
+
YAML: 4
|
|
498
557
|
};
|
|
499
558
|
|
|
500
559
|
/**
|
|
@@ -1030,6 +1089,233 @@ proto.bucketeer.feature.Feature.prototype.setSamplingSeed = function(value) {
|
|
|
1030
1089
|
};
|
|
1031
1090
|
|
|
1032
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
* optional AutoOpsSummary auto_ops_summary = 23;
|
|
1094
|
+
* @return {?proto.bucketeer.feature.AutoOpsSummary}
|
|
1095
|
+
*/
|
|
1096
|
+
proto.bucketeer.feature.Feature.prototype.getAutoOpsSummary = function() {
|
|
1097
|
+
return /** @type{?proto.bucketeer.feature.AutoOpsSummary} */ (
|
|
1098
|
+
jspb.Message.getWrapperField(this, proto.bucketeer.feature.AutoOpsSummary, 23));
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* @param {?proto.bucketeer.feature.AutoOpsSummary|undefined} value
|
|
1104
|
+
* @return {!proto.bucketeer.feature.Feature} returns this
|
|
1105
|
+
*/
|
|
1106
|
+
proto.bucketeer.feature.Feature.prototype.setAutoOpsSummary = function(value) {
|
|
1107
|
+
return jspb.Message.setWrapperField(this, 23, value);
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Clears the message field making it undefined.
|
|
1113
|
+
* @return {!proto.bucketeer.feature.Feature} returns this
|
|
1114
|
+
*/
|
|
1115
|
+
proto.bucketeer.feature.Feature.prototype.clearAutoOpsSummary = function() {
|
|
1116
|
+
return this.setAutoOpsSummary(undefined);
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Returns whether this field is set.
|
|
1122
|
+
* @return {boolean}
|
|
1123
|
+
*/
|
|
1124
|
+
proto.bucketeer.feature.Feature.prototype.hasAutoOpsSummary = function() {
|
|
1125
|
+
return jspb.Message.getField(this, 23) != null;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1133
|
+
/**
|
|
1134
|
+
* Creates an object representation of this proto.
|
|
1135
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1136
|
+
* Optional fields that are not set will be set to undefined.
|
|
1137
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1138
|
+
* For the list of reserved names please see:
|
|
1139
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1140
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1141
|
+
* JSPB instance for transitional soy proto support:
|
|
1142
|
+
* http://goto/soy-param-migration
|
|
1143
|
+
* @return {!Object}
|
|
1144
|
+
*/
|
|
1145
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.toObject = function(opt_includeInstance) {
|
|
1146
|
+
return proto.bucketeer.feature.AutoOpsSummary.toObject(opt_includeInstance, this);
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Static version of the {@see toObject} method.
|
|
1152
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1153
|
+
* the JSPB instance for transitional soy proto support:
|
|
1154
|
+
* http://goto/soy-param-migration
|
|
1155
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} msg The msg instance to transform.
|
|
1156
|
+
* @return {!Object}
|
|
1157
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1158
|
+
*/
|
|
1159
|
+
proto.bucketeer.feature.AutoOpsSummary.toObject = function(includeInstance, msg) {
|
|
1160
|
+
var f, obj = {
|
|
1161
|
+
progressiveRolloutCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1162
|
+
scheduleCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1163
|
+
killSwitchCount: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
if (includeInstance) {
|
|
1167
|
+
obj.$jspbMessageInstance = msg;
|
|
1168
|
+
}
|
|
1169
|
+
return obj;
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1176
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1177
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary}
|
|
1178
|
+
*/
|
|
1179
|
+
proto.bucketeer.feature.AutoOpsSummary.deserializeBinary = function(bytes) {
|
|
1180
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1181
|
+
var msg = new proto.bucketeer.feature.AutoOpsSummary;
|
|
1182
|
+
return proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader(msg, reader);
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1188
|
+
* given reader into the given message object.
|
|
1189
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} msg The message object to deserialize into.
|
|
1190
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1191
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary}
|
|
1192
|
+
*/
|
|
1193
|
+
proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
1194
|
+
while (reader.nextField()) {
|
|
1195
|
+
if (reader.isEndGroup()) {
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
var field = reader.getFieldNumber();
|
|
1199
|
+
switch (field) {
|
|
1200
|
+
case 1:
|
|
1201
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1202
|
+
msg.setProgressiveRolloutCount(value);
|
|
1203
|
+
break;
|
|
1204
|
+
case 2:
|
|
1205
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1206
|
+
msg.setScheduleCount(value);
|
|
1207
|
+
break;
|
|
1208
|
+
case 3:
|
|
1209
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1210
|
+
msg.setKillSwitchCount(value);
|
|
1211
|
+
break;
|
|
1212
|
+
default:
|
|
1213
|
+
reader.skipField();
|
|
1214
|
+
break;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
return msg;
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1223
|
+
* @return {!Uint8Array}
|
|
1224
|
+
*/
|
|
1225
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.serializeBinary = function() {
|
|
1226
|
+
var writer = new jspb.BinaryWriter();
|
|
1227
|
+
proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter(this, writer);
|
|
1228
|
+
return writer.getResultBuffer();
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1234
|
+
* format), writing to the given BinaryWriter.
|
|
1235
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} message
|
|
1236
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1237
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1238
|
+
*/
|
|
1239
|
+
proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter = function(message, writer) {
|
|
1240
|
+
var f = undefined;
|
|
1241
|
+
f = message.getProgressiveRolloutCount();
|
|
1242
|
+
if (f !== 0) {
|
|
1243
|
+
writer.writeInt32(
|
|
1244
|
+
1,
|
|
1245
|
+
f
|
|
1246
|
+
);
|
|
1247
|
+
}
|
|
1248
|
+
f = message.getScheduleCount();
|
|
1249
|
+
if (f !== 0) {
|
|
1250
|
+
writer.writeInt32(
|
|
1251
|
+
2,
|
|
1252
|
+
f
|
|
1253
|
+
);
|
|
1254
|
+
}
|
|
1255
|
+
f = message.getKillSwitchCount();
|
|
1256
|
+
if (f !== 0) {
|
|
1257
|
+
writer.writeInt32(
|
|
1258
|
+
3,
|
|
1259
|
+
f
|
|
1260
|
+
);
|
|
1261
|
+
}
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* optional int32 progressive_rollout_count = 1;
|
|
1267
|
+
* @return {number}
|
|
1268
|
+
*/
|
|
1269
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getProgressiveRolloutCount = function() {
|
|
1270
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* @param {number} value
|
|
1276
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1277
|
+
*/
|
|
1278
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setProgressiveRolloutCount = function(value) {
|
|
1279
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* optional int32 schedule_count = 2;
|
|
1285
|
+
* @return {number}
|
|
1286
|
+
*/
|
|
1287
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getScheduleCount = function() {
|
|
1288
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* @param {number} value
|
|
1294
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1295
|
+
*/
|
|
1296
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setScheduleCount = function(value) {
|
|
1297
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* optional int32 kill_switch_count = 3;
|
|
1303
|
+
* @return {number}
|
|
1304
|
+
*/
|
|
1305
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getKillSwitchCount = function() {
|
|
1306
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* @param {number} value
|
|
1312
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1313
|
+
*/
|
|
1314
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setKillSwitchCount = function(value) {
|
|
1315
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
|
|
1033
1319
|
|
|
1034
1320
|
/**
|
|
1035
1321
|
* List of repeated fields within this message type.
|
|
@@ -1069,9 +1355,9 @@ proto.bucketeer.feature.Features.prototype.toObject = function(opt_includeInstan
|
|
|
1069
1355
|
*/
|
|
1070
1356
|
proto.bucketeer.feature.Features.toObject = function(includeInstance, msg) {
|
|
1071
1357
|
var f, obj = {
|
|
1072
|
-
|
|
1358
|
+
featuresList: jspb.Message.toObjectList(msg.getFeaturesList(),
|
|
1073
1359
|
proto.bucketeer.feature.Feature.toObject, includeInstance),
|
|
1074
|
-
|
|
1360
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1075
1361
|
};
|
|
1076
1362
|
|
|
1077
1363
|
if (includeInstance) {
|
|
@@ -1221,6 +1507,196 @@ proto.bucketeer.feature.Features.prototype.setId = function(value) {
|
|
|
1221
1507
|
|
|
1222
1508
|
|
|
1223
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* List of repeated fields within this message type.
|
|
1512
|
+
* @private {!Array<number>}
|
|
1513
|
+
* @const
|
|
1514
|
+
*/
|
|
1515
|
+
proto.bucketeer.feature.EnvironmentFeature.repeatedFields_ = [2];
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1520
|
+
/**
|
|
1521
|
+
* Creates an object representation of this proto.
|
|
1522
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1523
|
+
* Optional fields that are not set will be set to undefined.
|
|
1524
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1525
|
+
* For the list of reserved names please see:
|
|
1526
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1527
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1528
|
+
* JSPB instance for transitional soy proto support:
|
|
1529
|
+
* http://goto/soy-param-migration
|
|
1530
|
+
* @return {!Object}
|
|
1531
|
+
*/
|
|
1532
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.toObject = function(opt_includeInstance) {
|
|
1533
|
+
return proto.bucketeer.feature.EnvironmentFeature.toObject(opt_includeInstance, this);
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Static version of the {@see toObject} method.
|
|
1539
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1540
|
+
* the JSPB instance for transitional soy proto support:
|
|
1541
|
+
* http://goto/soy-param-migration
|
|
1542
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} msg The msg instance to transform.
|
|
1543
|
+
* @return {!Object}
|
|
1544
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1545
|
+
*/
|
|
1546
|
+
proto.bucketeer.feature.EnvironmentFeature.toObject = function(includeInstance, msg) {
|
|
1547
|
+
var f, obj = {
|
|
1548
|
+
environmentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1549
|
+
featuresList: jspb.Message.toObjectList(msg.getFeaturesList(),
|
|
1550
|
+
proto.bucketeer.feature.Feature.toObject, includeInstance)
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
if (includeInstance) {
|
|
1554
|
+
obj.$jspbMessageInstance = msg;
|
|
1555
|
+
}
|
|
1556
|
+
return obj;
|
|
1557
|
+
};
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1563
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1564
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature}
|
|
1565
|
+
*/
|
|
1566
|
+
proto.bucketeer.feature.EnvironmentFeature.deserializeBinary = function(bytes) {
|
|
1567
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1568
|
+
var msg = new proto.bucketeer.feature.EnvironmentFeature;
|
|
1569
|
+
return proto.bucketeer.feature.EnvironmentFeature.deserializeBinaryFromReader(msg, reader);
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1575
|
+
* given reader into the given message object.
|
|
1576
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} msg The message object to deserialize into.
|
|
1577
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1578
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature}
|
|
1579
|
+
*/
|
|
1580
|
+
proto.bucketeer.feature.EnvironmentFeature.deserializeBinaryFromReader = function(msg, reader) {
|
|
1581
|
+
while (reader.nextField()) {
|
|
1582
|
+
if (reader.isEndGroup()) {
|
|
1583
|
+
break;
|
|
1584
|
+
}
|
|
1585
|
+
var field = reader.getFieldNumber();
|
|
1586
|
+
switch (field) {
|
|
1587
|
+
case 1:
|
|
1588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1589
|
+
msg.setEnvironmentId(value);
|
|
1590
|
+
break;
|
|
1591
|
+
case 2:
|
|
1592
|
+
var value = new proto.bucketeer.feature.Feature;
|
|
1593
|
+
reader.readMessage(value,proto.bucketeer.feature.Feature.deserializeBinaryFromReader);
|
|
1594
|
+
msg.addFeatures(value);
|
|
1595
|
+
break;
|
|
1596
|
+
default:
|
|
1597
|
+
reader.skipField();
|
|
1598
|
+
break;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
return msg;
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1607
|
+
* @return {!Uint8Array}
|
|
1608
|
+
*/
|
|
1609
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.serializeBinary = function() {
|
|
1610
|
+
var writer = new jspb.BinaryWriter();
|
|
1611
|
+
proto.bucketeer.feature.EnvironmentFeature.serializeBinaryToWriter(this, writer);
|
|
1612
|
+
return writer.getResultBuffer();
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1618
|
+
* format), writing to the given BinaryWriter.
|
|
1619
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} message
|
|
1620
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1622
|
+
*/
|
|
1623
|
+
proto.bucketeer.feature.EnvironmentFeature.serializeBinaryToWriter = function(message, writer) {
|
|
1624
|
+
var f = undefined;
|
|
1625
|
+
f = message.getEnvironmentId();
|
|
1626
|
+
if (f.length > 0) {
|
|
1627
|
+
writer.writeString(
|
|
1628
|
+
1,
|
|
1629
|
+
f
|
|
1630
|
+
);
|
|
1631
|
+
}
|
|
1632
|
+
f = message.getFeaturesList();
|
|
1633
|
+
if (f.length > 0) {
|
|
1634
|
+
writer.writeRepeatedMessage(
|
|
1635
|
+
2,
|
|
1636
|
+
f,
|
|
1637
|
+
proto.bucketeer.feature.Feature.serializeBinaryToWriter
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
};
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* optional string environment_id = 1;
|
|
1645
|
+
* @return {string}
|
|
1646
|
+
*/
|
|
1647
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.getEnvironmentId = function() {
|
|
1648
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1649
|
+
};
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* @param {string} value
|
|
1654
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1655
|
+
*/
|
|
1656
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.setEnvironmentId = function(value) {
|
|
1657
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1658
|
+
};
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* repeated Feature features = 2;
|
|
1663
|
+
* @return {!Array<!proto.bucketeer.feature.Feature>}
|
|
1664
|
+
*/
|
|
1665
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.getFeaturesList = function() {
|
|
1666
|
+
return /** @type{!Array<!proto.bucketeer.feature.Feature>} */ (
|
|
1667
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bucketeer.feature.Feature, 2));
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* @param {!Array<!proto.bucketeer.feature.Feature>} value
|
|
1673
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1674
|
+
*/
|
|
1675
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.setFeaturesList = function(value) {
|
|
1676
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* @param {!proto.bucketeer.feature.Feature=} opt_value
|
|
1682
|
+
* @param {number=} opt_index
|
|
1683
|
+
* @return {!proto.bucketeer.feature.Feature}
|
|
1684
|
+
*/
|
|
1685
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.addFeatures = function(opt_value, opt_index) {
|
|
1686
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bucketeer.feature.Feature, opt_index);
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Clears the list making it empty but non-null.
|
|
1692
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1693
|
+
*/
|
|
1694
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.clearFeaturesList = function() {
|
|
1695
|
+
return this.setFeaturesList([]);
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
|
|
1224
1700
|
|
|
1225
1701
|
|
|
1226
1702
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1252,9 +1728,10 @@ proto.bucketeer.feature.Tag.prototype.toObject = function(opt_includeInstance) {
|
|
|
1252
1728
|
*/
|
|
1253
1729
|
proto.bucketeer.feature.Tag.toObject = function(includeInstance, msg) {
|
|
1254
1730
|
var f, obj = {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1731
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1732
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1733
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1734
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1258
1735
|
};
|
|
1259
1736
|
|
|
1260
1737
|
if (includeInstance) {
|
|
@@ -1303,6 +1780,10 @@ proto.bucketeer.feature.Tag.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1303
1780
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1304
1781
|
msg.setUpdatedAt(value);
|
|
1305
1782
|
break;
|
|
1783
|
+
case 4:
|
|
1784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1785
|
+
msg.setName(value);
|
|
1786
|
+
break;
|
|
1306
1787
|
default:
|
|
1307
1788
|
reader.skipField();
|
|
1308
1789
|
break;
|
|
@@ -1353,6 +1834,13 @@ proto.bucketeer.feature.Tag.serializeBinaryToWriter = function(message, writer)
|
|
|
1353
1834
|
f
|
|
1354
1835
|
);
|
|
1355
1836
|
}
|
|
1837
|
+
f = message.getName();
|
|
1838
|
+
if (f.length > 0) {
|
|
1839
|
+
writer.writeString(
|
|
1840
|
+
4,
|
|
1841
|
+
f
|
|
1842
|
+
);
|
|
1843
|
+
}
|
|
1356
1844
|
};
|
|
1357
1845
|
|
|
1358
1846
|
|
|
@@ -1410,4 +1898,22 @@ proto.bucketeer.feature.Tag.prototype.setUpdatedAt = function(value) {
|
|
|
1410
1898
|
};
|
|
1411
1899
|
|
|
1412
1900
|
|
|
1901
|
+
/**
|
|
1902
|
+
* optional string name = 4;
|
|
1903
|
+
* @return {string}
|
|
1904
|
+
*/
|
|
1905
|
+
proto.bucketeer.feature.Tag.prototype.getName = function() {
|
|
1906
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1907
|
+
};
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* @param {string} value
|
|
1912
|
+
* @return {!proto.bucketeer.feature.Tag} returns this
|
|
1913
|
+
*/
|
|
1914
|
+
proto.bucketeer.feature.Tag.prototype.setName = function(value) {
|
|
1915
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
|
|
1413
1919
|
goog.object.extend(exports, proto.bucketeer.feature);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -75,8 +75,8 @@ proto.bucketeer.feature.Prerequisite.prototype.toObject = function(opt_includeIn
|
|
|
75
75
|
*/
|
|
76
76
|
proto.bucketeer.feature.Prerequisite.toObject = function(includeInstance, msg) {
|
|
77
77
|
var f, obj = {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
featureId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
79
|
+
variationId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
if (includeInstance) {
|