@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// package: bucketeer.feature
|
|
2
2
|
// file: proto/feature/feature.proto
|
|
3
3
|
|
|
4
|
-
import * as jspb from
|
|
5
|
-
import * as proto_feature_rule_pb from
|
|
6
|
-
import * as proto_feature_target_pb from
|
|
7
|
-
import * as proto_feature_variation_pb from
|
|
8
|
-
import * as proto_feature_strategy_pb from
|
|
9
|
-
import * as proto_feature_feature_last_used_info_pb from
|
|
10
|
-
import * as proto_feature_prerequisite_pb from
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as proto_feature_rule_pb from "../../proto/feature/rule_pb";
|
|
6
|
+
import * as proto_feature_target_pb from "../../proto/feature/target_pb";
|
|
7
|
+
import * as proto_feature_variation_pb from "../../proto/feature/variation_pb";
|
|
8
|
+
import * as proto_feature_strategy_pb from "../../proto/feature/strategy_pb";
|
|
9
|
+
import * as proto_feature_feature_last_used_info_pb from "../../proto/feature/feature_last_used_info_pb";
|
|
10
|
+
import * as proto_feature_prerequisite_pb from "../../proto/feature/prerequisite_pb";
|
|
11
11
|
|
|
12
12
|
export class Feature extends jspb.Message {
|
|
13
13
|
getId(): string;
|
|
@@ -90,6 +90,11 @@ export class Feature extends jspb.Message {
|
|
|
90
90
|
getSamplingSeed(): string;
|
|
91
91
|
setSamplingSeed(value: string): void;
|
|
92
92
|
|
|
93
|
+
hasAutoOpsSummary(): boolean;
|
|
94
|
+
clearAutoOpsSummary(): void;
|
|
95
|
+
getAutoOpsSummary(): AutoOpsSummary | undefined;
|
|
96
|
+
setAutoOpsSummary(value?: AutoOpsSummary): void;
|
|
97
|
+
|
|
93
98
|
serializeBinary(): Uint8Array;
|
|
94
99
|
toObject(includeInstance?: boolean): Feature.AsObject;
|
|
95
100
|
static toObject(includeInstance: boolean, msg: Feature): Feature.AsObject;
|
|
@@ -124,6 +129,7 @@ export namespace Feature {
|
|
|
124
129
|
archived: boolean,
|
|
125
130
|
prerequisitesList: Array<proto_feature_prerequisite_pb.Prerequisite.AsObject>,
|
|
126
131
|
samplingSeed: string,
|
|
132
|
+
autoOpsSummary?: AutoOpsSummary.AsObject,
|
|
127
133
|
}
|
|
128
134
|
|
|
129
135
|
export interface VariationTypeMap {
|
|
@@ -131,11 +137,40 @@ export namespace Feature {
|
|
|
131
137
|
BOOLEAN: 1;
|
|
132
138
|
NUMBER: 2;
|
|
133
139
|
JSON: 3;
|
|
140
|
+
YAML: 4;
|
|
134
141
|
}
|
|
135
142
|
|
|
136
143
|
export const VariationType: VariationTypeMap;
|
|
137
144
|
}
|
|
138
145
|
|
|
146
|
+
export class AutoOpsSummary extends jspb.Message {
|
|
147
|
+
getProgressiveRolloutCount(): number;
|
|
148
|
+
setProgressiveRolloutCount(value: number): void;
|
|
149
|
+
|
|
150
|
+
getScheduleCount(): number;
|
|
151
|
+
setScheduleCount(value: number): void;
|
|
152
|
+
|
|
153
|
+
getKillSwitchCount(): number;
|
|
154
|
+
setKillSwitchCount(value: number): void;
|
|
155
|
+
|
|
156
|
+
serializeBinary(): Uint8Array;
|
|
157
|
+
toObject(includeInstance?: boolean): AutoOpsSummary.AsObject;
|
|
158
|
+
static toObject(includeInstance: boolean, msg: AutoOpsSummary): AutoOpsSummary.AsObject;
|
|
159
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
160
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
161
|
+
static serializeBinaryToWriter(message: AutoOpsSummary, writer: jspb.BinaryWriter): void;
|
|
162
|
+
static deserializeBinary(bytes: Uint8Array): AutoOpsSummary;
|
|
163
|
+
static deserializeBinaryFromReader(message: AutoOpsSummary, reader: jspb.BinaryReader): AutoOpsSummary;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export namespace AutoOpsSummary {
|
|
167
|
+
export type AsObject = {
|
|
168
|
+
progressiveRolloutCount: number,
|
|
169
|
+
scheduleCount: number,
|
|
170
|
+
killSwitchCount: number,
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
139
174
|
export class Features extends jspb.Message {
|
|
140
175
|
clearFeaturesList(): void;
|
|
141
176
|
getFeaturesList(): Array<Feature>;
|
|
@@ -162,6 +197,32 @@ export namespace Features {
|
|
|
162
197
|
}
|
|
163
198
|
}
|
|
164
199
|
|
|
200
|
+
export class EnvironmentFeature extends jspb.Message {
|
|
201
|
+
getEnvironmentId(): string;
|
|
202
|
+
setEnvironmentId(value: string): void;
|
|
203
|
+
|
|
204
|
+
clearFeaturesList(): void;
|
|
205
|
+
getFeaturesList(): Array<Feature>;
|
|
206
|
+
setFeaturesList(value: Array<Feature>): void;
|
|
207
|
+
addFeatures(value?: Feature, index?: number): Feature;
|
|
208
|
+
|
|
209
|
+
serializeBinary(): Uint8Array;
|
|
210
|
+
toObject(includeInstance?: boolean): EnvironmentFeature.AsObject;
|
|
211
|
+
static toObject(includeInstance: boolean, msg: EnvironmentFeature): EnvironmentFeature.AsObject;
|
|
212
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
213
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
214
|
+
static serializeBinaryToWriter(message: EnvironmentFeature, writer: jspb.BinaryWriter): void;
|
|
215
|
+
static deserializeBinary(bytes: Uint8Array): EnvironmentFeature;
|
|
216
|
+
static deserializeBinaryFromReader(message: EnvironmentFeature, reader: jspb.BinaryReader): EnvironmentFeature;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export namespace EnvironmentFeature {
|
|
220
|
+
export type AsObject = {
|
|
221
|
+
environmentId: string,
|
|
222
|
+
featuresList: Array<Feature.AsObject>,
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
165
226
|
export class Tag extends jspb.Message {
|
|
166
227
|
getId(): string;
|
|
167
228
|
setId(value: string): void;
|
|
@@ -172,6 +233,9 @@ export class Tag extends jspb.Message {
|
|
|
172
233
|
getUpdatedAt(): number;
|
|
173
234
|
setUpdatedAt(value: number): void;
|
|
174
235
|
|
|
236
|
+
getName(): string;
|
|
237
|
+
setName(value: string): void;
|
|
238
|
+
|
|
175
239
|
serializeBinary(): Uint8Array;
|
|
176
240
|
toObject(includeInstance?: boolean): Tag.AsObject;
|
|
177
241
|
static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject;
|
|
@@ -187,6 +251,7 @@ export namespace Tag {
|
|
|
187
251
|
id: string,
|
|
188
252
|
createdAt: number,
|
|
189
253
|
updatedAt: number,
|
|
254
|
+
name: string,
|
|
190
255
|
}
|
|
191
256
|
}
|
|
192
257
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
// GENERATED CODE -- DO NOT EDIT!
|
|
13
|
-
|
|
13
|
+
/* eslint-disable */
|
|
14
14
|
// @ts-nocheck
|
|
15
15
|
|
|
16
16
|
var jspb = require('google-protobuf');
|
|
@@ -30,6 +30,8 @@ var proto_feature_feature_last_used_info_pb = require('../../proto/feature/featu
|
|
|
30
30
|
goog.object.extend(proto, proto_feature_feature_last_used_info_pb);
|
|
31
31
|
var proto_feature_prerequisite_pb = require('../../proto/feature/prerequisite_pb.js');
|
|
32
32
|
goog.object.extend(proto, proto_feature_prerequisite_pb);
|
|
33
|
+
goog.exportSymbol('proto.bucketeer.feature.AutoOpsSummary', null, global);
|
|
34
|
+
goog.exportSymbol('proto.bucketeer.feature.EnvironmentFeature', null, global);
|
|
33
35
|
goog.exportSymbol('proto.bucketeer.feature.Feature', null, global);
|
|
34
36
|
goog.exportSymbol('proto.bucketeer.feature.Feature.VariationType', null, global);
|
|
35
37
|
goog.exportSymbol('proto.bucketeer.feature.Features', null, global);
|
|
@@ -55,6 +57,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
55
57
|
*/
|
|
56
58
|
proto.bucketeer.feature.Feature.displayName = 'proto.bucketeer.feature.Feature';
|
|
57
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Generated by JsPbCodeGenerator.
|
|
62
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
63
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
64
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
65
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
66
|
+
* valid.
|
|
67
|
+
* @extends {jspb.Message}
|
|
68
|
+
* @constructor
|
|
69
|
+
*/
|
|
70
|
+
proto.bucketeer.feature.AutoOpsSummary = function (opt_data) {
|
|
71
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
72
|
+
};
|
|
73
|
+
goog.inherits(proto.bucketeer.feature.AutoOpsSummary, jspb.Message);
|
|
74
|
+
if (goog.DEBUG && !COMPILED) {
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @override
|
|
78
|
+
*/
|
|
79
|
+
proto.bucketeer.feature.AutoOpsSummary.displayName = 'proto.bucketeer.feature.AutoOpsSummary';
|
|
80
|
+
}
|
|
58
81
|
/**
|
|
59
82
|
* Generated by JsPbCodeGenerator.
|
|
60
83
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -76,6 +99,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
76
99
|
*/
|
|
77
100
|
proto.bucketeer.feature.Features.displayName = 'proto.bucketeer.feature.Features';
|
|
78
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Generated by JsPbCodeGenerator.
|
|
104
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
105
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
106
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
107
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
108
|
+
* valid.
|
|
109
|
+
* @extends {jspb.Message}
|
|
110
|
+
* @constructor
|
|
111
|
+
*/
|
|
112
|
+
proto.bucketeer.feature.EnvironmentFeature = function (opt_data) {
|
|
113
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bucketeer.feature.EnvironmentFeature.repeatedFields_, null);
|
|
114
|
+
};
|
|
115
|
+
goog.inherits(proto.bucketeer.feature.EnvironmentFeature, jspb.Message);
|
|
116
|
+
if (goog.DEBUG && !COMPILED) {
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @override
|
|
120
|
+
*/
|
|
121
|
+
proto.bucketeer.feature.EnvironmentFeature.displayName = 'proto.bucketeer.feature.EnvironmentFeature';
|
|
122
|
+
}
|
|
79
123
|
/**
|
|
80
124
|
* Generated by JsPbCodeGenerator.
|
|
81
125
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -154,7 +198,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
154
198
|
variationType: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
155
199
|
archived: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
156
200
|
prerequisitesList: jspb.Message.toObjectList(msg.getPrerequisitesList(), proto_feature_prerequisite_pb.Prerequisite.toObject, includeInstance),
|
|
157
|
-
samplingSeed: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
201
|
+
samplingSeed: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
202
|
+
autoOpsSummary: (f = msg.getAutoOpsSummary()) && proto.bucketeer.feature.AutoOpsSummary.toObject(includeInstance, f)
|
|
158
203
|
};
|
|
159
204
|
if (includeInstance) {
|
|
160
205
|
obj.$jspbMessageInstance = msg;
|
|
@@ -282,6 +327,11 @@ proto.bucketeer.feature.Feature.deserializeBinaryFromReader = function (msg, rea
|
|
|
282
327
|
var value = /** @type {string} */reader.readString();
|
|
283
328
|
msg.setSamplingSeed(value);
|
|
284
329
|
break;
|
|
330
|
+
case 23:
|
|
331
|
+
var value = new proto.bucketeer.feature.AutoOpsSummary();
|
|
332
|
+
reader.readMessage(value, proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader);
|
|
333
|
+
msg.setAutoOpsSummary(value);
|
|
334
|
+
break;
|
|
285
335
|
default:
|
|
286
336
|
reader.skipField();
|
|
287
337
|
break;
|
|
@@ -397,6 +447,10 @@ proto.bucketeer.feature.Feature.serializeBinaryToWriter = function (message, wri
|
|
|
397
447
|
if (f.length > 0) {
|
|
398
448
|
writer.writeString(22, f);
|
|
399
449
|
}
|
|
450
|
+
f = message.getAutoOpsSummary();
|
|
451
|
+
if (f != null) {
|
|
452
|
+
writer.writeMessage(23, f, proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter);
|
|
453
|
+
}
|
|
400
454
|
};
|
|
401
455
|
|
|
402
456
|
/**
|
|
@@ -406,7 +460,8 @@ proto.bucketeer.feature.Feature.VariationType = {
|
|
|
406
460
|
STRING: 0,
|
|
407
461
|
BOOLEAN: 1,
|
|
408
462
|
NUMBER: 2,
|
|
409
|
-
JSON: 3
|
|
463
|
+
JSON: 3,
|
|
464
|
+
YAML: 4
|
|
410
465
|
};
|
|
411
466
|
|
|
412
467
|
/**
|
|
@@ -878,6 +933,203 @@ proto.bucketeer.feature.Feature.prototype.setSamplingSeed = function (value) {
|
|
|
878
933
|
return jspb.Message.setProto3StringField(this, 22, value);
|
|
879
934
|
};
|
|
880
935
|
|
|
936
|
+
/**
|
|
937
|
+
* optional AutoOpsSummary auto_ops_summary = 23;
|
|
938
|
+
* @return {?proto.bucketeer.feature.AutoOpsSummary}
|
|
939
|
+
*/
|
|
940
|
+
proto.bucketeer.feature.Feature.prototype.getAutoOpsSummary = function () {
|
|
941
|
+
return /** @type{?proto.bucketeer.feature.AutoOpsSummary} */jspb.Message.getWrapperField(this, proto.bucketeer.feature.AutoOpsSummary, 23);
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* @param {?proto.bucketeer.feature.AutoOpsSummary|undefined} value
|
|
946
|
+
* @return {!proto.bucketeer.feature.Feature} returns this
|
|
947
|
+
*/
|
|
948
|
+
proto.bucketeer.feature.Feature.prototype.setAutoOpsSummary = function (value) {
|
|
949
|
+
return jspb.Message.setWrapperField(this, 23, value);
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Clears the message field making it undefined.
|
|
954
|
+
* @return {!proto.bucketeer.feature.Feature} returns this
|
|
955
|
+
*/
|
|
956
|
+
proto.bucketeer.feature.Feature.prototype.clearAutoOpsSummary = function () {
|
|
957
|
+
return this.setAutoOpsSummary(undefined);
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Returns whether this field is set.
|
|
962
|
+
* @return {boolean}
|
|
963
|
+
*/
|
|
964
|
+
proto.bucketeer.feature.Feature.prototype.hasAutoOpsSummary = function () {
|
|
965
|
+
return jspb.Message.getField(this, 23) != null;
|
|
966
|
+
};
|
|
967
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
968
|
+
/**
|
|
969
|
+
* Creates an object representation of this proto.
|
|
970
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
971
|
+
* Optional fields that are not set will be set to undefined.
|
|
972
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
973
|
+
* For the list of reserved names please see:
|
|
974
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
975
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
976
|
+
* JSPB instance for transitional soy proto support:
|
|
977
|
+
* http://goto/soy-param-migration
|
|
978
|
+
* @return {!Object}
|
|
979
|
+
*/
|
|
980
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.toObject = function (opt_includeInstance) {
|
|
981
|
+
return proto.bucketeer.feature.AutoOpsSummary.toObject(opt_includeInstance, this);
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Static version of the {@see toObject} method.
|
|
986
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
987
|
+
* the JSPB instance for transitional soy proto support:
|
|
988
|
+
* http://goto/soy-param-migration
|
|
989
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} msg The msg instance to transform.
|
|
990
|
+
* @return {!Object}
|
|
991
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
992
|
+
*/
|
|
993
|
+
proto.bucketeer.feature.AutoOpsSummary.toObject = function (includeInstance, msg) {
|
|
994
|
+
var f,
|
|
995
|
+
obj = {
|
|
996
|
+
progressiveRolloutCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
997
|
+
scheduleCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
998
|
+
killSwitchCount: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
999
|
+
};
|
|
1000
|
+
if (includeInstance) {
|
|
1001
|
+
obj.$jspbMessageInstance = msg;
|
|
1002
|
+
}
|
|
1003
|
+
return obj;
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1009
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1010
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary}
|
|
1011
|
+
*/
|
|
1012
|
+
proto.bucketeer.feature.AutoOpsSummary.deserializeBinary = function (bytes) {
|
|
1013
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1014
|
+
var msg = new proto.bucketeer.feature.AutoOpsSummary();
|
|
1015
|
+
return proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader(msg, reader);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1020
|
+
* given reader into the given message object.
|
|
1021
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} msg The message object to deserialize into.
|
|
1022
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1023
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary}
|
|
1024
|
+
*/
|
|
1025
|
+
proto.bucketeer.feature.AutoOpsSummary.deserializeBinaryFromReader = function (msg, reader) {
|
|
1026
|
+
while (reader.nextField()) {
|
|
1027
|
+
if (reader.isEndGroup()) {
|
|
1028
|
+
break;
|
|
1029
|
+
}
|
|
1030
|
+
var field = reader.getFieldNumber();
|
|
1031
|
+
switch (field) {
|
|
1032
|
+
case 1:
|
|
1033
|
+
var value = /** @type {number} */reader.readInt32();
|
|
1034
|
+
msg.setProgressiveRolloutCount(value);
|
|
1035
|
+
break;
|
|
1036
|
+
case 2:
|
|
1037
|
+
var value = /** @type {number} */reader.readInt32();
|
|
1038
|
+
msg.setScheduleCount(value);
|
|
1039
|
+
break;
|
|
1040
|
+
case 3:
|
|
1041
|
+
var value = /** @type {number} */reader.readInt32();
|
|
1042
|
+
msg.setKillSwitchCount(value);
|
|
1043
|
+
break;
|
|
1044
|
+
default:
|
|
1045
|
+
reader.skipField();
|
|
1046
|
+
break;
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
return msg;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1054
|
+
* @return {!Uint8Array}
|
|
1055
|
+
*/
|
|
1056
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.serializeBinary = function () {
|
|
1057
|
+
var writer = new jspb.BinaryWriter();
|
|
1058
|
+
proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter(this, writer);
|
|
1059
|
+
return writer.getResultBuffer();
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1064
|
+
* format), writing to the given BinaryWriter.
|
|
1065
|
+
* @param {!proto.bucketeer.feature.AutoOpsSummary} message
|
|
1066
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1067
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1068
|
+
*/
|
|
1069
|
+
proto.bucketeer.feature.AutoOpsSummary.serializeBinaryToWriter = function (message, writer) {
|
|
1070
|
+
var f = undefined;
|
|
1071
|
+
f = message.getProgressiveRolloutCount();
|
|
1072
|
+
if (f !== 0) {
|
|
1073
|
+
writer.writeInt32(1, f);
|
|
1074
|
+
}
|
|
1075
|
+
f = message.getScheduleCount();
|
|
1076
|
+
if (f !== 0) {
|
|
1077
|
+
writer.writeInt32(2, f);
|
|
1078
|
+
}
|
|
1079
|
+
f = message.getKillSwitchCount();
|
|
1080
|
+
if (f !== 0) {
|
|
1081
|
+
writer.writeInt32(3, f);
|
|
1082
|
+
}
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* optional int32 progressive_rollout_count = 1;
|
|
1087
|
+
* @return {number}
|
|
1088
|
+
*/
|
|
1089
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getProgressiveRolloutCount = function () {
|
|
1090
|
+
return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* @param {number} value
|
|
1095
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1096
|
+
*/
|
|
1097
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setProgressiveRolloutCount = function (value) {
|
|
1098
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* optional int32 schedule_count = 2;
|
|
1103
|
+
* @return {number}
|
|
1104
|
+
*/
|
|
1105
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getScheduleCount = function () {
|
|
1106
|
+
return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* @param {number} value
|
|
1111
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1112
|
+
*/
|
|
1113
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setScheduleCount = function (value) {
|
|
1114
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* optional int32 kill_switch_count = 3;
|
|
1119
|
+
* @return {number}
|
|
1120
|
+
*/
|
|
1121
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.getKillSwitchCount = function () {
|
|
1122
|
+
return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* @param {number} value
|
|
1127
|
+
* @return {!proto.bucketeer.feature.AutoOpsSummary} returns this
|
|
1128
|
+
*/
|
|
1129
|
+
proto.bucketeer.feature.AutoOpsSummary.prototype.setKillSwitchCount = function (value) {
|
|
1130
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1131
|
+
};
|
|
1132
|
+
|
|
881
1133
|
/**
|
|
882
1134
|
* List of repeated fields within this message type.
|
|
883
1135
|
* @private {!Array<number>}
|
|
@@ -1042,6 +1294,171 @@ proto.bucketeer.feature.Features.prototype.getId = function () {
|
|
|
1042
1294
|
proto.bucketeer.feature.Features.prototype.setId = function (value) {
|
|
1043
1295
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1044
1296
|
};
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* List of repeated fields within this message type.
|
|
1300
|
+
* @private {!Array<number>}
|
|
1301
|
+
* @const
|
|
1302
|
+
*/
|
|
1303
|
+
proto.bucketeer.feature.EnvironmentFeature.repeatedFields_ = [2];
|
|
1304
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1305
|
+
/**
|
|
1306
|
+
* Creates an object representation of this proto.
|
|
1307
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1308
|
+
* Optional fields that are not set will be set to undefined.
|
|
1309
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1310
|
+
* For the list of reserved names please see:
|
|
1311
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1312
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1313
|
+
* JSPB instance for transitional soy proto support:
|
|
1314
|
+
* http://goto/soy-param-migration
|
|
1315
|
+
* @return {!Object}
|
|
1316
|
+
*/
|
|
1317
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.toObject = function (opt_includeInstance) {
|
|
1318
|
+
return proto.bucketeer.feature.EnvironmentFeature.toObject(opt_includeInstance, this);
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Static version of the {@see toObject} method.
|
|
1323
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1324
|
+
* the JSPB instance for transitional soy proto support:
|
|
1325
|
+
* http://goto/soy-param-migration
|
|
1326
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} msg The msg instance to transform.
|
|
1327
|
+
* @return {!Object}
|
|
1328
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1329
|
+
*/
|
|
1330
|
+
proto.bucketeer.feature.EnvironmentFeature.toObject = function (includeInstance, msg) {
|
|
1331
|
+
var f,
|
|
1332
|
+
obj = {
|
|
1333
|
+
environmentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1334
|
+
featuresList: jspb.Message.toObjectList(msg.getFeaturesList(), proto.bucketeer.feature.Feature.toObject, includeInstance)
|
|
1335
|
+
};
|
|
1336
|
+
if (includeInstance) {
|
|
1337
|
+
obj.$jspbMessageInstance = msg;
|
|
1338
|
+
}
|
|
1339
|
+
return obj;
|
|
1340
|
+
};
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1345
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1346
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature}
|
|
1347
|
+
*/
|
|
1348
|
+
proto.bucketeer.feature.EnvironmentFeature.deserializeBinary = function (bytes) {
|
|
1349
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1350
|
+
var msg = new proto.bucketeer.feature.EnvironmentFeature();
|
|
1351
|
+
return proto.bucketeer.feature.EnvironmentFeature.deserializeBinaryFromReader(msg, reader);
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1356
|
+
* given reader into the given message object.
|
|
1357
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} msg The message object to deserialize into.
|
|
1358
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1359
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature}
|
|
1360
|
+
*/
|
|
1361
|
+
proto.bucketeer.feature.EnvironmentFeature.deserializeBinaryFromReader = function (msg, reader) {
|
|
1362
|
+
while (reader.nextField()) {
|
|
1363
|
+
if (reader.isEndGroup()) {
|
|
1364
|
+
break;
|
|
1365
|
+
}
|
|
1366
|
+
var field = reader.getFieldNumber();
|
|
1367
|
+
switch (field) {
|
|
1368
|
+
case 1:
|
|
1369
|
+
var value = /** @type {string} */reader.readString();
|
|
1370
|
+
msg.setEnvironmentId(value);
|
|
1371
|
+
break;
|
|
1372
|
+
case 2:
|
|
1373
|
+
var value = new proto.bucketeer.feature.Feature();
|
|
1374
|
+
reader.readMessage(value, proto.bucketeer.feature.Feature.deserializeBinaryFromReader);
|
|
1375
|
+
msg.addFeatures(value);
|
|
1376
|
+
break;
|
|
1377
|
+
default:
|
|
1378
|
+
reader.skipField();
|
|
1379
|
+
break;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
return msg;
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1387
|
+
* @return {!Uint8Array}
|
|
1388
|
+
*/
|
|
1389
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.serializeBinary = function () {
|
|
1390
|
+
var writer = new jspb.BinaryWriter();
|
|
1391
|
+
proto.bucketeer.feature.EnvironmentFeature.serializeBinaryToWriter(this, writer);
|
|
1392
|
+
return writer.getResultBuffer();
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1397
|
+
* format), writing to the given BinaryWriter.
|
|
1398
|
+
* @param {!proto.bucketeer.feature.EnvironmentFeature} message
|
|
1399
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1400
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1401
|
+
*/
|
|
1402
|
+
proto.bucketeer.feature.EnvironmentFeature.serializeBinaryToWriter = function (message, writer) {
|
|
1403
|
+
var f = undefined;
|
|
1404
|
+
f = message.getEnvironmentId();
|
|
1405
|
+
if (f.length > 0) {
|
|
1406
|
+
writer.writeString(1, f);
|
|
1407
|
+
}
|
|
1408
|
+
f = message.getFeaturesList();
|
|
1409
|
+
if (f.length > 0) {
|
|
1410
|
+
writer.writeRepeatedMessage(2, f, proto.bucketeer.feature.Feature.serializeBinaryToWriter);
|
|
1411
|
+
}
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* optional string environment_id = 1;
|
|
1416
|
+
* @return {string}
|
|
1417
|
+
*/
|
|
1418
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.getEnvironmentId = function () {
|
|
1419
|
+
return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* @param {string} value
|
|
1424
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1425
|
+
*/
|
|
1426
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.setEnvironmentId = function (value) {
|
|
1427
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* repeated Feature features = 2;
|
|
1432
|
+
* @return {!Array<!proto.bucketeer.feature.Feature>}
|
|
1433
|
+
*/
|
|
1434
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.getFeaturesList = function () {
|
|
1435
|
+
return /** @type{!Array<!proto.bucketeer.feature.Feature>} */jspb.Message.getRepeatedWrapperField(this, proto.bucketeer.feature.Feature, 2);
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* @param {!Array<!proto.bucketeer.feature.Feature>} value
|
|
1440
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1441
|
+
*/
|
|
1442
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.setFeaturesList = function (value) {
|
|
1443
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* @param {!proto.bucketeer.feature.Feature=} opt_value
|
|
1448
|
+
* @param {number=} opt_index
|
|
1449
|
+
* @return {!proto.bucketeer.feature.Feature}
|
|
1450
|
+
*/
|
|
1451
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.addFeatures = function (opt_value, opt_index) {
|
|
1452
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bucketeer.feature.Feature, opt_index);
|
|
1453
|
+
};
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Clears the list making it empty but non-null.
|
|
1457
|
+
* @return {!proto.bucketeer.feature.EnvironmentFeature} returns this
|
|
1458
|
+
*/
|
|
1459
|
+
proto.bucketeer.feature.EnvironmentFeature.prototype.clearFeaturesList = function () {
|
|
1460
|
+
return this.setFeaturesList([]);
|
|
1461
|
+
};
|
|
1045
1462
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1046
1463
|
/**
|
|
1047
1464
|
* Creates an object representation of this proto.
|
|
@@ -1073,7 +1490,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1073
1490
|
obj = {
|
|
1074
1491
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1075
1492
|
createdAt: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1076
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
1493
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1494
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1077
1495
|
};
|
|
1078
1496
|
if (includeInstance) {
|
|
1079
1497
|
obj.$jspbMessageInstance = msg;
|
|
@@ -1119,6 +1537,10 @@ proto.bucketeer.feature.Tag.deserializeBinaryFromReader = function (msg, reader)
|
|
|
1119
1537
|
var value = /** @type {number} */reader.readInt64();
|
|
1120
1538
|
msg.setUpdatedAt(value);
|
|
1121
1539
|
break;
|
|
1540
|
+
case 4:
|
|
1541
|
+
var value = /** @type {string} */reader.readString();
|
|
1542
|
+
msg.setName(value);
|
|
1543
|
+
break;
|
|
1122
1544
|
default:
|
|
1123
1545
|
reader.skipField();
|
|
1124
1546
|
break;
|
|
@@ -1158,6 +1580,10 @@ proto.bucketeer.feature.Tag.serializeBinaryToWriter = function (message, writer)
|
|
|
1158
1580
|
if (f !== 0) {
|
|
1159
1581
|
writer.writeInt64(3, f);
|
|
1160
1582
|
}
|
|
1583
|
+
f = message.getName();
|
|
1584
|
+
if (f.length > 0) {
|
|
1585
|
+
writer.writeString(4, f);
|
|
1586
|
+
}
|
|
1161
1587
|
};
|
|
1162
1588
|
|
|
1163
1589
|
/**
|
|
@@ -1207,4 +1633,20 @@ proto.bucketeer.feature.Tag.prototype.getUpdatedAt = function () {
|
|
|
1207
1633
|
proto.bucketeer.feature.Tag.prototype.setUpdatedAt = function (value) {
|
|
1208
1634
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1209
1635
|
};
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* optional string name = 4;
|
|
1639
|
+
* @return {string}
|
|
1640
|
+
*/
|
|
1641
|
+
proto.bucketeer.feature.Tag.prototype.getName = function () {
|
|
1642
|
+
return /** @type {string} */jspb.Message.getFieldWithDefault(this, 4, "");
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @param {string} value
|
|
1647
|
+
* @return {!proto.bucketeer.feature.Tag} returns this
|
|
1648
|
+
*/
|
|
1649
|
+
proto.bucketeer.feature.Tag.prototype.setName = function (value) {
|
|
1650
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1651
|
+
};
|
|
1210
1652
|
goog.object.extend(exports, proto.bucketeer.feature);
|