@kenji71089/evaluation 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +3 -0
- package/README.md +9 -0
- package/eslint.config.mjs +27 -0
- package/lib/clauseEvaluator.d.ts +22 -0
- package/lib/clauseEvaluator.js +299 -0
- package/lib/clauseEvaluator.mjs +214 -0
- package/lib/dependencyEvaluator.d.ts +6 -0
- package/lib/dependencyEvaluator.js +46 -0
- package/lib/dependencyEvaluator.mjs +19 -0
- package/lib/errors.d.ts +9 -0
- package/lib/errors.js +15 -0
- package/lib/errors.mjs +12 -0
- package/lib/evaluation.d.ts +25 -0
- package/lib/evaluation.js +503 -0
- package/lib/evaluation.mjs +328 -0
- package/lib/google/api/annotations_pb.d.ts +8 -0
- package/lib/google/api/annotations_pb.js +40 -0
- package/lib/google/api/annotations_pb.mjs +54 -0
- package/lib/google/api/annotations_pb_service.d.ts +3 -0
- package/lib/google/api/annotations_pb_service.js +3 -0
- package/lib/google/api/annotations_pb_service.mjs +3 -0
- package/lib/google/api/http_pb.d.ts +132 -0
- package/lib/google/api/http_pb.js +860 -0
- package/lib/google/api/http_pb.mjs +982 -0
- package/lib/google/api/http_pb_service.d.ts +3 -0
- package/lib/google/api/http_pb_service.js +3 -0
- package/lib/google/api/http_pb_service.mjs +3 -0
- package/lib/google/rpc/code_pb.d.ts +26 -0
- package/lib/google/rpc/code_pb.js +44 -0
- package/lib/google/rpc/code_pb.mjs +48 -0
- package/lib/google/rpc/code_pb_service.d.ts +3 -0
- package/lib/google/rpc/code_pb_service.js +3 -0
- package/lib/google/rpc/code_pb_service.mjs +3 -0
- package/lib/google/rpc/error_details_pb.d.ts +322 -0
- package/lib/google/rpc/error_details_pb.js +2220 -0
- package/lib/google/rpc/error_details_pb.mjs +2499 -0
- package/lib/google/rpc/error_details_pb_service.d.ts +3 -0
- package/lib/google/rpc/error_details_pb_service.js +3 -0
- package/lib/google/rpc/error_details_pb_service.mjs +3 -0
- package/lib/google/rpc/status_pb.d.ts +36 -0
- package/lib/google/rpc/status_pb.js +235 -0
- package/lib/google/rpc/status_pb.mjs +268 -0
- package/lib/google/rpc/status_pb_service.d.ts +3 -0
- package/lib/google/rpc/status_pb_service.js +3 -0
- package/lib/google/rpc/status_pb_service.mjs +3 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +199 -0
- package/lib/index.mjs +46 -0
- package/lib/modelFactory.d.ts +64 -0
- package/lib/modelFactory.js +206 -0
- package/lib/modelFactory.mjs +176 -0
- package/lib/proto/event/client/event_pb.d.ts +761 -0
- package/lib/proto/event/client/event_pb.js +5195 -0
- package/lib/proto/event/client/event_pb.mjs +5865 -0
- package/lib/proto/event/client/event_pb_service.d.ts +3 -0
- package/lib/proto/event/client/event_pb_service.js +3 -0
- package/lib/proto/event/client/event_pb_service.mjs +3 -0
- package/lib/proto/event/domain/event_pb.d.ts +4518 -0
- package/lib/proto/event/domain/event_pb.js +10834 -0
- package/lib/proto/event/domain/event_pb.mjs +33315 -0
- package/lib/proto/event/domain/event_pb_service.d.ts +3 -0
- package/lib/proto/event/domain/event_pb_service.js +3 -0
- package/lib/proto/event/domain/event_pb_service.mjs +3 -0
- package/lib/proto/event/domain/localized_message_pb.d.ts +29 -0
- package/lib/proto/event/domain/localized_message_pb.js +183 -0
- package/lib/proto/event/domain/localized_message_pb.mjs +206 -0
- package/lib/proto/event/domain/localized_message_pb_service.d.ts +3 -0
- package/lib/proto/event/domain/localized_message_pb_service.js +3 -0
- package/lib/proto/event/domain/localized_message_pb_service.mjs +3 -0
- package/lib/proto/event/service/feature_pb.d.ts +44 -0
- package/lib/proto/event/service/feature_pb.js +277 -0
- package/lib/proto/event/service/feature_pb.mjs +319 -0
- package/lib/proto/event/service/feature_pb_service.d.ts +3 -0
- package/lib/proto/event/service/feature_pb_service.js +3 -0
- package/lib/proto/event/service/feature_pb_service.mjs +3 -0
- package/lib/proto/event/service/segment_pb.d.ts +51 -0
- package/lib/proto/event/service/segment_pb.js +324 -0
- package/lib/proto/event/service/segment_pb.mjs +375 -0
- package/lib/proto/event/service/segment_pb_service.d.ts +3 -0
- package/lib/proto/event/service/segment_pb_service.js +3 -0
- package/lib/proto/event/service/segment_pb_service.mjs +3 -0
- package/lib/proto/event/service/user_pb.d.ts +49 -0
- package/lib/proto/event/service/user_pb.js +315 -0
- package/lib/proto/event/service/user_pb.mjs +362 -0
- package/lib/proto/event/service/user_pb_service.d.ts +3 -0
- package/lib/proto/event/service/user_pb_service.js +3 -0
- package/lib/proto/event/service/user_pb_service.mjs +3 -0
- package/lib/proto/feature/clause_pb.d.ts +57 -0
- package/lib/proto/feature/clause_pb.js +277 -0
- package/lib/proto/feature/clause_pb.mjs +312 -0
- package/lib/proto/feature/clause_pb_service.d.ts +3 -0
- package/lib/proto/feature/clause_pb_service.js +3 -0
- package/lib/proto/feature/clause_pb_service.mjs +3 -0
- package/lib/proto/feature/command_pb.d.ts +1213 -0
- package/lib/proto/feature/command_pb.js +8260 -0
- package/lib/proto/feature/command_pb.mjs +9275 -0
- package/lib/proto/feature/command_pb_service.d.ts +3 -0
- package/lib/proto/feature/command_pb_service.js +3 -0
- package/lib/proto/feature/command_pb_service.mjs +3 -0
- package/lib/proto/feature/evaluation_pb.d.ts +111 -0
- package/lib/proto/feature/evaluation_pb.js +685 -0
- package/lib/proto/feature/evaluation_pb.mjs +793 -0
- package/lib/proto/feature/evaluation_pb_service.d.ts +3 -0
- package/lib/proto/feature/evaluation_pb_service.js +3 -0
- package/lib/proto/feature/evaluation_pb_service.mjs +3 -0
- package/lib/proto/feature/feature_last_used_info_pb.d.ts +45 -0
- package/lib/proto/feature/feature_last_used_info_pb.js +283 -0
- package/lib/proto/feature/feature_last_used_info_pb.mjs +326 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.d.ts +3 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.js +3 -0
- package/lib/proto/feature/feature_last_used_info_pb_service.mjs +3 -0
- package/lib/proto/feature/feature_pb.d.ts +192 -0
- package/lib/proto/feature/feature_pb.js +1210 -0
- package/lib/proto/feature/feature_pb.mjs +1413 -0
- package/lib/proto/feature/feature_pb_service.d.ts +3 -0
- package/lib/proto/feature/feature_pb_service.js +3 -0
- package/lib/proto/feature/feature_pb_service.mjs +3 -0
- package/lib/proto/feature/flag_trigger_pb.d.ts +84 -0
- package/lib/proto/feature/flag_trigger_pb.js +452 -0
- package/lib/proto/feature/flag_trigger_pb.mjs +525 -0
- package/lib/proto/feature/flag_trigger_pb_service.d.ts +3 -0
- package/lib/proto/feature/flag_trigger_pb_service.js +3 -0
- package/lib/proto/feature/flag_trigger_pb_service.mjs +3 -0
- package/lib/proto/feature/prerequisite_pb.d.ts +29 -0
- package/lib/proto/feature/prerequisite_pb.js +183 -0
- package/lib/proto/feature/prerequisite_pb.mjs +206 -0
- package/lib/proto/feature/prerequisite_pb_service.d.ts +3 -0
- package/lib/proto/feature/prerequisite_pb_service.js +3 -0
- package/lib/proto/feature/prerequisite_pb_service.mjs +3 -0
- package/lib/proto/feature/reason_pb.d.ts +40 -0
- package/lib/proto/feature/reason_pb.js +196 -0
- package/lib/proto/feature/reason_pb.mjs +219 -0
- package/lib/proto/feature/reason_pb_service.d.ts +3 -0
- package/lib/proto/feature/reason_pb_service.js +3 -0
- package/lib/proto/feature/reason_pb_service.mjs +3 -0
- package/lib/proto/feature/rule_pb.d.ts +39 -0
- package/lib/proto/feature/rule_pb.js +254 -0
- package/lib/proto/feature/rule_pb.mjs +291 -0
- package/lib/proto/feature/rule_pb_service.d.ts +3 -0
- package/lib/proto/feature/rule_pb_service.js +3 -0
- package/lib/proto/feature/rule_pb_service.mjs +3 -0
- package/lib/proto/feature/segment_pb.d.ts +161 -0
- package/lib/proto/feature/segment_pb.js +974 -0
- package/lib/proto/feature/segment_pb.mjs +1127 -0
- package/lib/proto/feature/segment_pb_service.d.ts +3 -0
- package/lib/proto/feature/segment_pb_service.js +3 -0
- package/lib/proto/feature/segment_pb_service.mjs +3 -0
- package/lib/proto/feature/service_pb.d.ts +2158 -0
- package/lib/proto/feature/service_pb.js +5363 -0
- package/lib/proto/feature/service_pb.mjs +16348 -0
- package/lib/proto/feature/service_pb_service.d.ts +747 -0
- package/lib/proto/feature/service_pb_service.js +1424 -0
- package/lib/proto/feature/service_pb_service.mjs +1501 -0
- package/lib/proto/feature/strategy_pb.d.ts +110 -0
- package/lib/proto/feature/strategy_pb.js +712 -0
- package/lib/proto/feature/strategy_pb.mjs +803 -0
- package/lib/proto/feature/strategy_pb_service.d.ts +3 -0
- package/lib/proto/feature/strategy_pb_service.js +3 -0
- package/lib/proto/feature/strategy_pb_service.mjs +3 -0
- package/lib/proto/feature/target_pb.d.ts +31 -0
- package/lib/proto/feature/target_pb.js +207 -0
- package/lib/proto/feature/target_pb.mjs +232 -0
- package/lib/proto/feature/target_pb_service.d.ts +3 -0
- package/lib/proto/feature/target_pb_service.js +3 -0
- package/lib/proto/feature/target_pb_service.mjs +3 -0
- package/lib/proto/feature/variation_pb.d.ts +37 -0
- package/lib/proto/feature/variation_pb.js +233 -0
- package/lib/proto/feature/variation_pb.mjs +266 -0
- package/lib/proto/feature/variation_pb_service.d.ts +3 -0
- package/lib/proto/feature/variation_pb_service.js +3 -0
- package/lib/proto/feature/variation_pb_service.mjs +3 -0
- package/lib/proto/gateway/service_pb.d.ts +772 -0
- package/lib/proto/gateway/service_pb.js +5249 -0
- package/lib/proto/gateway/service_pb.mjs +6001 -0
- package/lib/proto/gateway/service_pb_service.d.ts +253 -0
- package/lib/proto/gateway/service_pb_service.js +436 -0
- package/lib/proto/gateway/service_pb_service.mjs +461 -0
- package/lib/proto/user/user_pb.d.ts +58 -0
- package/lib/proto/user/user_pb.js +410 -0
- package/lib/proto/user/user_pb.mjs +460 -0
- package/lib/proto/user/user_pb_service.d.ts +3 -0
- package/lib/proto/user/user_pb_service.js +3 -0
- package/lib/proto/user/user_pb_service.mjs +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.d.ts +16 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +100 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb.mjs +158 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.mjs +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +834 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +5456 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.mjs +6256 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.mjs +3 -0
- package/lib/ruleEvaluator.d.ts +13 -0
- package/lib/ruleEvaluator.js +80 -0
- package/lib/ruleEvaluator.mjs +41 -0
- package/lib/segmentEvaluator.d.ts +7 -0
- package/lib/segmentEvaluator.js +74 -0
- package/lib/segmentEvaluator.mjs +34 -0
- package/lib/strategyEvaluator.d.ts +10 -0
- package/lib/strategyEvaluator.js +135 -0
- package/lib/strategyEvaluator.mjs +83 -0
- package/lib/userEvaluation.d.ts +8 -0
- package/lib/userEvaluation.js +70 -0
- package/lib/userEvaluation.mjs +60 -0
- package/package.json +46 -0
- package/release-please-config.json +22 -0
|
@@ -0,0 +1,1127 @@
|
|
|
1
|
+
// source: proto/feature/segment.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
|
+
|
|
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 proto_feature_rule_pb = require('../../proto/feature/rule_pb.js');
|
|
25
|
+
goog.object.extend(proto, proto_feature_rule_pb);
|
|
26
|
+
var proto_feature_feature_pb = require('../../proto/feature/feature_pb.js');
|
|
27
|
+
goog.object.extend(proto, proto_feature_feature_pb);
|
|
28
|
+
goog.exportSymbol('proto.bucketeer.feature.Segment', null, global);
|
|
29
|
+
goog.exportSymbol('proto.bucketeer.feature.Segment.Status', null, global);
|
|
30
|
+
goog.exportSymbol('proto.bucketeer.feature.SegmentUser', null, global);
|
|
31
|
+
goog.exportSymbol('proto.bucketeer.feature.SegmentUser.State', null, global);
|
|
32
|
+
goog.exportSymbol('proto.bucketeer.feature.SegmentUsers', null, global);
|
|
33
|
+
/**
|
|
34
|
+
* Generated by JsPbCodeGenerator.
|
|
35
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
36
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
37
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
38
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
39
|
+
* valid.
|
|
40
|
+
* @extends {jspb.Message}
|
|
41
|
+
* @constructor
|
|
42
|
+
*/
|
|
43
|
+
proto.bucketeer.feature.Segment = function(opt_data) {
|
|
44
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bucketeer.feature.Segment.repeatedFields_, null);
|
|
45
|
+
};
|
|
46
|
+
goog.inherits(proto.bucketeer.feature.Segment, jspb.Message);
|
|
47
|
+
if (goog.DEBUG && !COMPILED) {
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* @override
|
|
51
|
+
*/
|
|
52
|
+
proto.bucketeer.feature.Segment.displayName = 'proto.bucketeer.feature.Segment';
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Generated by JsPbCodeGenerator.
|
|
56
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
57
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
58
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
59
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
60
|
+
* valid.
|
|
61
|
+
* @extends {jspb.Message}
|
|
62
|
+
* @constructor
|
|
63
|
+
*/
|
|
64
|
+
proto.bucketeer.feature.SegmentUser = function(opt_data) {
|
|
65
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
66
|
+
};
|
|
67
|
+
goog.inherits(proto.bucketeer.feature.SegmentUser, jspb.Message);
|
|
68
|
+
if (goog.DEBUG && !COMPILED) {
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @override
|
|
72
|
+
*/
|
|
73
|
+
proto.bucketeer.feature.SegmentUser.displayName = 'proto.bucketeer.feature.SegmentUser';
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Generated by JsPbCodeGenerator.
|
|
77
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
78
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
79
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
80
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
81
|
+
* valid.
|
|
82
|
+
* @extends {jspb.Message}
|
|
83
|
+
* @constructor
|
|
84
|
+
*/
|
|
85
|
+
proto.bucketeer.feature.SegmentUsers = function(opt_data) {
|
|
86
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bucketeer.feature.SegmentUsers.repeatedFields_, null);
|
|
87
|
+
};
|
|
88
|
+
goog.inherits(proto.bucketeer.feature.SegmentUsers, jspb.Message);
|
|
89
|
+
if (goog.DEBUG && !COMPILED) {
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @override
|
|
93
|
+
*/
|
|
94
|
+
proto.bucketeer.feature.SegmentUsers.displayName = 'proto.bucketeer.feature.SegmentUsers';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* List of repeated fields within this message type.
|
|
99
|
+
* @private {!Array<number>}
|
|
100
|
+
* @const
|
|
101
|
+
*/
|
|
102
|
+
proto.bucketeer.feature.Segment.repeatedFields_ = [4,13];
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
107
|
+
/**
|
|
108
|
+
* Creates an object representation of this proto.
|
|
109
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
110
|
+
* Optional fields that are not set will be set to undefined.
|
|
111
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
112
|
+
* For the list of reserved names please see:
|
|
113
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
114
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
115
|
+
* JSPB instance for transitional soy proto support:
|
|
116
|
+
* http://goto/soy-param-migration
|
|
117
|
+
* @return {!Object}
|
|
118
|
+
*/
|
|
119
|
+
proto.bucketeer.feature.Segment.prototype.toObject = function(opt_includeInstance) {
|
|
120
|
+
return proto.bucketeer.feature.Segment.toObject(opt_includeInstance, this);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Static version of the {@see toObject} method.
|
|
126
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
127
|
+
* the JSPB instance for transitional soy proto support:
|
|
128
|
+
* http://goto/soy-param-migration
|
|
129
|
+
* @param {!proto.bucketeer.feature.Segment} msg The msg instance to transform.
|
|
130
|
+
* @return {!Object}
|
|
131
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
132
|
+
*/
|
|
133
|
+
proto.bucketeer.feature.Segment.toObject = function(includeInstance, msg) {
|
|
134
|
+
var f, obj = {
|
|
135
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
136
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
137
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
138
|
+
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
|
139
|
+
proto_feature_rule_pb.Rule.toObject, includeInstance),
|
|
140
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
141
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
142
|
+
version: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
143
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
144
|
+
includedUserCount: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
145
|
+
excludedUserCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
146
|
+
status: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
147
|
+
isInUseStatus: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
148
|
+
featuresList: jspb.Message.toObjectList(msg.getFeaturesList(),
|
|
149
|
+
proto_feature_feature_pb.Feature.toObject, includeInstance)
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
if (includeInstance) {
|
|
153
|
+
obj.$jspbMessageInstance = msg;
|
|
154
|
+
}
|
|
155
|
+
return obj;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Deserializes binary data (in protobuf wire format).
|
|
162
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
163
|
+
* @return {!proto.bucketeer.feature.Segment}
|
|
164
|
+
*/
|
|
165
|
+
proto.bucketeer.feature.Segment.deserializeBinary = function(bytes) {
|
|
166
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
167
|
+
var msg = new proto.bucketeer.feature.Segment;
|
|
168
|
+
return proto.bucketeer.feature.Segment.deserializeBinaryFromReader(msg, reader);
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
174
|
+
* given reader into the given message object.
|
|
175
|
+
* @param {!proto.bucketeer.feature.Segment} msg The message object to deserialize into.
|
|
176
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
177
|
+
* @return {!proto.bucketeer.feature.Segment}
|
|
178
|
+
*/
|
|
179
|
+
proto.bucketeer.feature.Segment.deserializeBinaryFromReader = function(msg, reader) {
|
|
180
|
+
while (reader.nextField()) {
|
|
181
|
+
if (reader.isEndGroup()) {
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
var field = reader.getFieldNumber();
|
|
185
|
+
switch (field) {
|
|
186
|
+
case 1:
|
|
187
|
+
var value = /** @type {string} */ (reader.readString());
|
|
188
|
+
msg.setId(value);
|
|
189
|
+
break;
|
|
190
|
+
case 2:
|
|
191
|
+
var value = /** @type {string} */ (reader.readString());
|
|
192
|
+
msg.setName(value);
|
|
193
|
+
break;
|
|
194
|
+
case 3:
|
|
195
|
+
var value = /** @type {string} */ (reader.readString());
|
|
196
|
+
msg.setDescription(value);
|
|
197
|
+
break;
|
|
198
|
+
case 4:
|
|
199
|
+
var value = new proto_feature_rule_pb.Rule;
|
|
200
|
+
reader.readMessage(value,proto_feature_rule_pb.Rule.deserializeBinaryFromReader);
|
|
201
|
+
msg.addRules(value);
|
|
202
|
+
break;
|
|
203
|
+
case 5:
|
|
204
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
205
|
+
msg.setCreatedAt(value);
|
|
206
|
+
break;
|
|
207
|
+
case 6:
|
|
208
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
209
|
+
msg.setUpdatedAt(value);
|
|
210
|
+
break;
|
|
211
|
+
case 7:
|
|
212
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
213
|
+
msg.setVersion(value);
|
|
214
|
+
break;
|
|
215
|
+
case 8:
|
|
216
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
217
|
+
msg.setDeleted(value);
|
|
218
|
+
break;
|
|
219
|
+
case 9:
|
|
220
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
221
|
+
msg.setIncludedUserCount(value);
|
|
222
|
+
break;
|
|
223
|
+
case 10:
|
|
224
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
225
|
+
msg.setExcludedUserCount(value);
|
|
226
|
+
break;
|
|
227
|
+
case 11:
|
|
228
|
+
var value = /** @type {!proto.bucketeer.feature.Segment.Status} */ (reader.readEnum());
|
|
229
|
+
msg.setStatus(value);
|
|
230
|
+
break;
|
|
231
|
+
case 12:
|
|
232
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
233
|
+
msg.setIsInUseStatus(value);
|
|
234
|
+
break;
|
|
235
|
+
case 13:
|
|
236
|
+
var value = new proto_feature_feature_pb.Feature;
|
|
237
|
+
reader.readMessage(value,proto_feature_feature_pb.Feature.deserializeBinaryFromReader);
|
|
238
|
+
msg.addFeatures(value);
|
|
239
|
+
break;
|
|
240
|
+
default:
|
|
241
|
+
reader.skipField();
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
return msg;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
251
|
+
* @return {!Uint8Array}
|
|
252
|
+
*/
|
|
253
|
+
proto.bucketeer.feature.Segment.prototype.serializeBinary = function() {
|
|
254
|
+
var writer = new jspb.BinaryWriter();
|
|
255
|
+
proto.bucketeer.feature.Segment.serializeBinaryToWriter(this, writer);
|
|
256
|
+
return writer.getResultBuffer();
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
262
|
+
* format), writing to the given BinaryWriter.
|
|
263
|
+
* @param {!proto.bucketeer.feature.Segment} message
|
|
264
|
+
* @param {!jspb.BinaryWriter} writer
|
|
265
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
266
|
+
*/
|
|
267
|
+
proto.bucketeer.feature.Segment.serializeBinaryToWriter = function(message, writer) {
|
|
268
|
+
var f = undefined;
|
|
269
|
+
f = message.getId();
|
|
270
|
+
if (f.length > 0) {
|
|
271
|
+
writer.writeString(
|
|
272
|
+
1,
|
|
273
|
+
f
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
f = message.getName();
|
|
277
|
+
if (f.length > 0) {
|
|
278
|
+
writer.writeString(
|
|
279
|
+
2,
|
|
280
|
+
f
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
f = message.getDescription();
|
|
284
|
+
if (f.length > 0) {
|
|
285
|
+
writer.writeString(
|
|
286
|
+
3,
|
|
287
|
+
f
|
|
288
|
+
);
|
|
289
|
+
}
|
|
290
|
+
f = message.getRulesList();
|
|
291
|
+
if (f.length > 0) {
|
|
292
|
+
writer.writeRepeatedMessage(
|
|
293
|
+
4,
|
|
294
|
+
f,
|
|
295
|
+
proto_feature_rule_pb.Rule.serializeBinaryToWriter
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
f = message.getCreatedAt();
|
|
299
|
+
if (f !== 0) {
|
|
300
|
+
writer.writeInt64(
|
|
301
|
+
5,
|
|
302
|
+
f
|
|
303
|
+
);
|
|
304
|
+
}
|
|
305
|
+
f = message.getUpdatedAt();
|
|
306
|
+
if (f !== 0) {
|
|
307
|
+
writer.writeInt64(
|
|
308
|
+
6,
|
|
309
|
+
f
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
f = message.getVersion();
|
|
313
|
+
if (f !== 0) {
|
|
314
|
+
writer.writeInt64(
|
|
315
|
+
7,
|
|
316
|
+
f
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
f = message.getDeleted();
|
|
320
|
+
if (f) {
|
|
321
|
+
writer.writeBool(
|
|
322
|
+
8,
|
|
323
|
+
f
|
|
324
|
+
);
|
|
325
|
+
}
|
|
326
|
+
f = message.getIncludedUserCount();
|
|
327
|
+
if (f !== 0) {
|
|
328
|
+
writer.writeInt64(
|
|
329
|
+
9,
|
|
330
|
+
f
|
|
331
|
+
);
|
|
332
|
+
}
|
|
333
|
+
f = message.getExcludedUserCount();
|
|
334
|
+
if (f !== 0) {
|
|
335
|
+
writer.writeInt64(
|
|
336
|
+
10,
|
|
337
|
+
f
|
|
338
|
+
);
|
|
339
|
+
}
|
|
340
|
+
f = message.getStatus();
|
|
341
|
+
if (f !== 0.0) {
|
|
342
|
+
writer.writeEnum(
|
|
343
|
+
11,
|
|
344
|
+
f
|
|
345
|
+
);
|
|
346
|
+
}
|
|
347
|
+
f = message.getIsInUseStatus();
|
|
348
|
+
if (f) {
|
|
349
|
+
writer.writeBool(
|
|
350
|
+
12,
|
|
351
|
+
f
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
f = message.getFeaturesList();
|
|
355
|
+
if (f.length > 0) {
|
|
356
|
+
writer.writeRepeatedMessage(
|
|
357
|
+
13,
|
|
358
|
+
f,
|
|
359
|
+
proto_feature_feature_pb.Feature.serializeBinaryToWriter
|
|
360
|
+
);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @enum {number}
|
|
367
|
+
*/
|
|
368
|
+
proto.bucketeer.feature.Segment.Status = {
|
|
369
|
+
INITIAL: 0,
|
|
370
|
+
UPLOADING: 1,
|
|
371
|
+
SUCEEDED: 2,
|
|
372
|
+
FAILED: 3
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* optional string id = 1;
|
|
377
|
+
* @return {string}
|
|
378
|
+
*/
|
|
379
|
+
proto.bucketeer.feature.Segment.prototype.getId = function() {
|
|
380
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @param {string} value
|
|
386
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
387
|
+
*/
|
|
388
|
+
proto.bucketeer.feature.Segment.prototype.setId = function(value) {
|
|
389
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* optional string name = 2;
|
|
395
|
+
* @return {string}
|
|
396
|
+
*/
|
|
397
|
+
proto.bucketeer.feature.Segment.prototype.getName = function() {
|
|
398
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* @param {string} value
|
|
404
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
405
|
+
*/
|
|
406
|
+
proto.bucketeer.feature.Segment.prototype.setName = function(value) {
|
|
407
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* optional string description = 3;
|
|
413
|
+
* @return {string}
|
|
414
|
+
*/
|
|
415
|
+
proto.bucketeer.feature.Segment.prototype.getDescription = function() {
|
|
416
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @param {string} value
|
|
422
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
423
|
+
*/
|
|
424
|
+
proto.bucketeer.feature.Segment.prototype.setDescription = function(value) {
|
|
425
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* repeated Rule rules = 4;
|
|
431
|
+
* @return {!Array<!proto.bucketeer.feature.Rule>}
|
|
432
|
+
*/
|
|
433
|
+
proto.bucketeer.feature.Segment.prototype.getRulesList = function() {
|
|
434
|
+
return /** @type{!Array<!proto.bucketeer.feature.Rule>} */ (
|
|
435
|
+
jspb.Message.getRepeatedWrapperField(this, proto_feature_rule_pb.Rule, 4));
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @param {!Array<!proto.bucketeer.feature.Rule>} value
|
|
441
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
442
|
+
*/
|
|
443
|
+
proto.bucketeer.feature.Segment.prototype.setRulesList = function(value) {
|
|
444
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* @param {!proto.bucketeer.feature.Rule=} opt_value
|
|
450
|
+
* @param {number=} opt_index
|
|
451
|
+
* @return {!proto.bucketeer.feature.Rule}
|
|
452
|
+
*/
|
|
453
|
+
proto.bucketeer.feature.Segment.prototype.addRules = function(opt_value, opt_index) {
|
|
454
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.bucketeer.feature.Rule, opt_index);
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Clears the list making it empty but non-null.
|
|
460
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
461
|
+
*/
|
|
462
|
+
proto.bucketeer.feature.Segment.prototype.clearRulesList = function() {
|
|
463
|
+
return this.setRulesList([]);
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* optional int64 created_at = 5;
|
|
469
|
+
* @return {number}
|
|
470
|
+
*/
|
|
471
|
+
proto.bucketeer.feature.Segment.prototype.getCreatedAt = function() {
|
|
472
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* @param {number} value
|
|
478
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
479
|
+
*/
|
|
480
|
+
proto.bucketeer.feature.Segment.prototype.setCreatedAt = function(value) {
|
|
481
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* optional int64 updated_at = 6;
|
|
487
|
+
* @return {number}
|
|
488
|
+
*/
|
|
489
|
+
proto.bucketeer.feature.Segment.prototype.getUpdatedAt = function() {
|
|
490
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @param {number} value
|
|
496
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
497
|
+
*/
|
|
498
|
+
proto.bucketeer.feature.Segment.prototype.setUpdatedAt = function(value) {
|
|
499
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* optional int64 version = 7;
|
|
505
|
+
* @return {number}
|
|
506
|
+
*/
|
|
507
|
+
proto.bucketeer.feature.Segment.prototype.getVersion = function() {
|
|
508
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @param {number} value
|
|
514
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
515
|
+
*/
|
|
516
|
+
proto.bucketeer.feature.Segment.prototype.setVersion = function(value) {
|
|
517
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* optional bool deleted = 8;
|
|
523
|
+
* @return {boolean}
|
|
524
|
+
*/
|
|
525
|
+
proto.bucketeer.feature.Segment.prototype.getDeleted = function() {
|
|
526
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @param {boolean} value
|
|
532
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
533
|
+
*/
|
|
534
|
+
proto.bucketeer.feature.Segment.prototype.setDeleted = function(value) {
|
|
535
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* optional int64 included_user_count = 9;
|
|
541
|
+
* @return {number}
|
|
542
|
+
*/
|
|
543
|
+
proto.bucketeer.feature.Segment.prototype.getIncludedUserCount = function() {
|
|
544
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* @param {number} value
|
|
550
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
551
|
+
*/
|
|
552
|
+
proto.bucketeer.feature.Segment.prototype.setIncludedUserCount = function(value) {
|
|
553
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* optional int64 excluded_user_count = 10;
|
|
559
|
+
* @return {number}
|
|
560
|
+
*/
|
|
561
|
+
proto.bucketeer.feature.Segment.prototype.getExcludedUserCount = function() {
|
|
562
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @param {number} value
|
|
568
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
569
|
+
*/
|
|
570
|
+
proto.bucketeer.feature.Segment.prototype.setExcludedUserCount = function(value) {
|
|
571
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* optional Status status = 11;
|
|
577
|
+
* @return {!proto.bucketeer.feature.Segment.Status}
|
|
578
|
+
*/
|
|
579
|
+
proto.bucketeer.feature.Segment.prototype.getStatus = function() {
|
|
580
|
+
return /** @type {!proto.bucketeer.feature.Segment.Status} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @param {!proto.bucketeer.feature.Segment.Status} value
|
|
586
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
587
|
+
*/
|
|
588
|
+
proto.bucketeer.feature.Segment.prototype.setStatus = function(value) {
|
|
589
|
+
return jspb.Message.setProto3EnumField(this, 11, value);
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* optional bool is_in_use_status = 12;
|
|
595
|
+
* @return {boolean}
|
|
596
|
+
*/
|
|
597
|
+
proto.bucketeer.feature.Segment.prototype.getIsInUseStatus = function() {
|
|
598
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* @param {boolean} value
|
|
604
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
605
|
+
*/
|
|
606
|
+
proto.bucketeer.feature.Segment.prototype.setIsInUseStatus = function(value) {
|
|
607
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* repeated Feature features = 13;
|
|
613
|
+
* @return {!Array<!proto.bucketeer.feature.Feature>}
|
|
614
|
+
*/
|
|
615
|
+
proto.bucketeer.feature.Segment.prototype.getFeaturesList = function() {
|
|
616
|
+
return /** @type{!Array<!proto.bucketeer.feature.Feature>} */ (
|
|
617
|
+
jspb.Message.getRepeatedWrapperField(this, proto_feature_feature_pb.Feature, 13));
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @param {!Array<!proto.bucketeer.feature.Feature>} value
|
|
623
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
624
|
+
*/
|
|
625
|
+
proto.bucketeer.feature.Segment.prototype.setFeaturesList = function(value) {
|
|
626
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @param {!proto.bucketeer.feature.Feature=} opt_value
|
|
632
|
+
* @param {number=} opt_index
|
|
633
|
+
* @return {!proto.bucketeer.feature.Feature}
|
|
634
|
+
*/
|
|
635
|
+
proto.bucketeer.feature.Segment.prototype.addFeatures = function(opt_value, opt_index) {
|
|
636
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.bucketeer.feature.Feature, opt_index);
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Clears the list making it empty but non-null.
|
|
642
|
+
* @return {!proto.bucketeer.feature.Segment} returns this
|
|
643
|
+
*/
|
|
644
|
+
proto.bucketeer.feature.Segment.prototype.clearFeaturesList = function() {
|
|
645
|
+
return this.setFeaturesList([]);
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
653
|
+
/**
|
|
654
|
+
* Creates an object representation of this proto.
|
|
655
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
656
|
+
* Optional fields that are not set will be set to undefined.
|
|
657
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
658
|
+
* For the list of reserved names please see:
|
|
659
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
660
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
661
|
+
* JSPB instance for transitional soy proto support:
|
|
662
|
+
* http://goto/soy-param-migration
|
|
663
|
+
* @return {!Object}
|
|
664
|
+
*/
|
|
665
|
+
proto.bucketeer.feature.SegmentUser.prototype.toObject = function(opt_includeInstance) {
|
|
666
|
+
return proto.bucketeer.feature.SegmentUser.toObject(opt_includeInstance, this);
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Static version of the {@see toObject} method.
|
|
672
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
673
|
+
* the JSPB instance for transitional soy proto support:
|
|
674
|
+
* http://goto/soy-param-migration
|
|
675
|
+
* @param {!proto.bucketeer.feature.SegmentUser} msg The msg instance to transform.
|
|
676
|
+
* @return {!Object}
|
|
677
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
678
|
+
*/
|
|
679
|
+
proto.bucketeer.feature.SegmentUser.toObject = function(includeInstance, msg) {
|
|
680
|
+
var f, obj = {
|
|
681
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
682
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
683
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
684
|
+
state: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
685
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
if (includeInstance) {
|
|
689
|
+
obj.$jspbMessageInstance = msg;
|
|
690
|
+
}
|
|
691
|
+
return obj;
|
|
692
|
+
};
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Deserializes binary data (in protobuf wire format).
|
|
698
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
699
|
+
* @return {!proto.bucketeer.feature.SegmentUser}
|
|
700
|
+
*/
|
|
701
|
+
proto.bucketeer.feature.SegmentUser.deserializeBinary = function(bytes) {
|
|
702
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
703
|
+
var msg = new proto.bucketeer.feature.SegmentUser;
|
|
704
|
+
return proto.bucketeer.feature.SegmentUser.deserializeBinaryFromReader(msg, reader);
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
710
|
+
* given reader into the given message object.
|
|
711
|
+
* @param {!proto.bucketeer.feature.SegmentUser} msg The message object to deserialize into.
|
|
712
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
713
|
+
* @return {!proto.bucketeer.feature.SegmentUser}
|
|
714
|
+
*/
|
|
715
|
+
proto.bucketeer.feature.SegmentUser.deserializeBinaryFromReader = function(msg, reader) {
|
|
716
|
+
while (reader.nextField()) {
|
|
717
|
+
if (reader.isEndGroup()) {
|
|
718
|
+
break;
|
|
719
|
+
}
|
|
720
|
+
var field = reader.getFieldNumber();
|
|
721
|
+
switch (field) {
|
|
722
|
+
case 1:
|
|
723
|
+
var value = /** @type {string} */ (reader.readString());
|
|
724
|
+
msg.setId(value);
|
|
725
|
+
break;
|
|
726
|
+
case 2:
|
|
727
|
+
var value = /** @type {string} */ (reader.readString());
|
|
728
|
+
msg.setSegmentId(value);
|
|
729
|
+
break;
|
|
730
|
+
case 3:
|
|
731
|
+
var value = /** @type {string} */ (reader.readString());
|
|
732
|
+
msg.setUserId(value);
|
|
733
|
+
break;
|
|
734
|
+
case 4:
|
|
735
|
+
var value = /** @type {!proto.bucketeer.feature.SegmentUser.State} */ (reader.readEnum());
|
|
736
|
+
msg.setState(value);
|
|
737
|
+
break;
|
|
738
|
+
case 5:
|
|
739
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
740
|
+
msg.setDeleted(value);
|
|
741
|
+
break;
|
|
742
|
+
default:
|
|
743
|
+
reader.skipField();
|
|
744
|
+
break;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
return msg;
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
753
|
+
* @return {!Uint8Array}
|
|
754
|
+
*/
|
|
755
|
+
proto.bucketeer.feature.SegmentUser.prototype.serializeBinary = function() {
|
|
756
|
+
var writer = new jspb.BinaryWriter();
|
|
757
|
+
proto.bucketeer.feature.SegmentUser.serializeBinaryToWriter(this, writer);
|
|
758
|
+
return writer.getResultBuffer();
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
764
|
+
* format), writing to the given BinaryWriter.
|
|
765
|
+
* @param {!proto.bucketeer.feature.SegmentUser} message
|
|
766
|
+
* @param {!jspb.BinaryWriter} writer
|
|
767
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
768
|
+
*/
|
|
769
|
+
proto.bucketeer.feature.SegmentUser.serializeBinaryToWriter = function(message, writer) {
|
|
770
|
+
var f = undefined;
|
|
771
|
+
f = message.getId();
|
|
772
|
+
if (f.length > 0) {
|
|
773
|
+
writer.writeString(
|
|
774
|
+
1,
|
|
775
|
+
f
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
f = message.getSegmentId();
|
|
779
|
+
if (f.length > 0) {
|
|
780
|
+
writer.writeString(
|
|
781
|
+
2,
|
|
782
|
+
f
|
|
783
|
+
);
|
|
784
|
+
}
|
|
785
|
+
f = message.getUserId();
|
|
786
|
+
if (f.length > 0) {
|
|
787
|
+
writer.writeString(
|
|
788
|
+
3,
|
|
789
|
+
f
|
|
790
|
+
);
|
|
791
|
+
}
|
|
792
|
+
f = message.getState();
|
|
793
|
+
if (f !== 0.0) {
|
|
794
|
+
writer.writeEnum(
|
|
795
|
+
4,
|
|
796
|
+
f
|
|
797
|
+
);
|
|
798
|
+
}
|
|
799
|
+
f = message.getDeleted();
|
|
800
|
+
if (f) {
|
|
801
|
+
writer.writeBool(
|
|
802
|
+
5,
|
|
803
|
+
f
|
|
804
|
+
);
|
|
805
|
+
}
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @enum {number}
|
|
811
|
+
*/
|
|
812
|
+
proto.bucketeer.feature.SegmentUser.State = {
|
|
813
|
+
INCLUDED: 0,
|
|
814
|
+
EXCLUDED: 1
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* optional string id = 1;
|
|
819
|
+
* @return {string}
|
|
820
|
+
*/
|
|
821
|
+
proto.bucketeer.feature.SegmentUser.prototype.getId = function() {
|
|
822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* @param {string} value
|
|
828
|
+
* @return {!proto.bucketeer.feature.SegmentUser} returns this
|
|
829
|
+
*/
|
|
830
|
+
proto.bucketeer.feature.SegmentUser.prototype.setId = function(value) {
|
|
831
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* optional string segment_id = 2;
|
|
837
|
+
* @return {string}
|
|
838
|
+
*/
|
|
839
|
+
proto.bucketeer.feature.SegmentUser.prototype.getSegmentId = function() {
|
|
840
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @param {string} value
|
|
846
|
+
* @return {!proto.bucketeer.feature.SegmentUser} returns this
|
|
847
|
+
*/
|
|
848
|
+
proto.bucketeer.feature.SegmentUser.prototype.setSegmentId = function(value) {
|
|
849
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* optional string user_id = 3;
|
|
855
|
+
* @return {string}
|
|
856
|
+
*/
|
|
857
|
+
proto.bucketeer.feature.SegmentUser.prototype.getUserId = function() {
|
|
858
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* @param {string} value
|
|
864
|
+
* @return {!proto.bucketeer.feature.SegmentUser} returns this
|
|
865
|
+
*/
|
|
866
|
+
proto.bucketeer.feature.SegmentUser.prototype.setUserId = function(value) {
|
|
867
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* optional State state = 4;
|
|
873
|
+
* @return {!proto.bucketeer.feature.SegmentUser.State}
|
|
874
|
+
*/
|
|
875
|
+
proto.bucketeer.feature.SegmentUser.prototype.getState = function() {
|
|
876
|
+
return /** @type {!proto.bucketeer.feature.SegmentUser.State} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @param {!proto.bucketeer.feature.SegmentUser.State} value
|
|
882
|
+
* @return {!proto.bucketeer.feature.SegmentUser} returns this
|
|
883
|
+
*/
|
|
884
|
+
proto.bucketeer.feature.SegmentUser.prototype.setState = function(value) {
|
|
885
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* optional bool deleted = 5;
|
|
891
|
+
* @return {boolean}
|
|
892
|
+
*/
|
|
893
|
+
proto.bucketeer.feature.SegmentUser.prototype.getDeleted = function() {
|
|
894
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @param {boolean} value
|
|
900
|
+
* @return {!proto.bucketeer.feature.SegmentUser} returns this
|
|
901
|
+
*/
|
|
902
|
+
proto.bucketeer.feature.SegmentUser.prototype.setDeleted = function(value) {
|
|
903
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* List of repeated fields within this message type.
|
|
910
|
+
* @private {!Array<number>}
|
|
911
|
+
* @const
|
|
912
|
+
*/
|
|
913
|
+
proto.bucketeer.feature.SegmentUsers.repeatedFields_ = [2];
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
918
|
+
/**
|
|
919
|
+
* Creates an object representation of this proto.
|
|
920
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
921
|
+
* Optional fields that are not set will be set to undefined.
|
|
922
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
923
|
+
* For the list of reserved names please see:
|
|
924
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
925
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
926
|
+
* JSPB instance for transitional soy proto support:
|
|
927
|
+
* http://goto/soy-param-migration
|
|
928
|
+
* @return {!Object}
|
|
929
|
+
*/
|
|
930
|
+
proto.bucketeer.feature.SegmentUsers.prototype.toObject = function(opt_includeInstance) {
|
|
931
|
+
return proto.bucketeer.feature.SegmentUsers.toObject(opt_includeInstance, this);
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Static version of the {@see toObject} method.
|
|
937
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
938
|
+
* the JSPB instance for transitional soy proto support:
|
|
939
|
+
* http://goto/soy-param-migration
|
|
940
|
+
* @param {!proto.bucketeer.feature.SegmentUsers} msg The msg instance to transform.
|
|
941
|
+
* @return {!Object}
|
|
942
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
943
|
+
*/
|
|
944
|
+
proto.bucketeer.feature.SegmentUsers.toObject = function(includeInstance, msg) {
|
|
945
|
+
var f, obj = {
|
|
946
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
947
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
948
|
+
proto.bucketeer.feature.SegmentUser.toObject, includeInstance),
|
|
949
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
if (includeInstance) {
|
|
953
|
+
obj.$jspbMessageInstance = msg;
|
|
954
|
+
}
|
|
955
|
+
return obj;
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Deserializes binary data (in protobuf wire format).
|
|
962
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
963
|
+
* @return {!proto.bucketeer.feature.SegmentUsers}
|
|
964
|
+
*/
|
|
965
|
+
proto.bucketeer.feature.SegmentUsers.deserializeBinary = function(bytes) {
|
|
966
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
967
|
+
var msg = new proto.bucketeer.feature.SegmentUsers;
|
|
968
|
+
return proto.bucketeer.feature.SegmentUsers.deserializeBinaryFromReader(msg, reader);
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
974
|
+
* given reader into the given message object.
|
|
975
|
+
* @param {!proto.bucketeer.feature.SegmentUsers} msg The message object to deserialize into.
|
|
976
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
977
|
+
* @return {!proto.bucketeer.feature.SegmentUsers}
|
|
978
|
+
*/
|
|
979
|
+
proto.bucketeer.feature.SegmentUsers.deserializeBinaryFromReader = function(msg, reader) {
|
|
980
|
+
while (reader.nextField()) {
|
|
981
|
+
if (reader.isEndGroup()) {
|
|
982
|
+
break;
|
|
983
|
+
}
|
|
984
|
+
var field = reader.getFieldNumber();
|
|
985
|
+
switch (field) {
|
|
986
|
+
case 1:
|
|
987
|
+
var value = /** @type {string} */ (reader.readString());
|
|
988
|
+
msg.setSegmentId(value);
|
|
989
|
+
break;
|
|
990
|
+
case 2:
|
|
991
|
+
var value = new proto.bucketeer.feature.SegmentUser;
|
|
992
|
+
reader.readMessage(value,proto.bucketeer.feature.SegmentUser.deserializeBinaryFromReader);
|
|
993
|
+
msg.addUsers(value);
|
|
994
|
+
break;
|
|
995
|
+
case 3:
|
|
996
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
997
|
+
msg.setUpdatedAt(value);
|
|
998
|
+
break;
|
|
999
|
+
default:
|
|
1000
|
+
reader.skipField();
|
|
1001
|
+
break;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
return msg;
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1010
|
+
* @return {!Uint8Array}
|
|
1011
|
+
*/
|
|
1012
|
+
proto.bucketeer.feature.SegmentUsers.prototype.serializeBinary = function() {
|
|
1013
|
+
var writer = new jspb.BinaryWriter();
|
|
1014
|
+
proto.bucketeer.feature.SegmentUsers.serializeBinaryToWriter(this, writer);
|
|
1015
|
+
return writer.getResultBuffer();
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1021
|
+
* format), writing to the given BinaryWriter.
|
|
1022
|
+
* @param {!proto.bucketeer.feature.SegmentUsers} message
|
|
1023
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1024
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1025
|
+
*/
|
|
1026
|
+
proto.bucketeer.feature.SegmentUsers.serializeBinaryToWriter = function(message, writer) {
|
|
1027
|
+
var f = undefined;
|
|
1028
|
+
f = message.getSegmentId();
|
|
1029
|
+
if (f.length > 0) {
|
|
1030
|
+
writer.writeString(
|
|
1031
|
+
1,
|
|
1032
|
+
f
|
|
1033
|
+
);
|
|
1034
|
+
}
|
|
1035
|
+
f = message.getUsersList();
|
|
1036
|
+
if (f.length > 0) {
|
|
1037
|
+
writer.writeRepeatedMessage(
|
|
1038
|
+
2,
|
|
1039
|
+
f,
|
|
1040
|
+
proto.bucketeer.feature.SegmentUser.serializeBinaryToWriter
|
|
1041
|
+
);
|
|
1042
|
+
}
|
|
1043
|
+
f = message.getUpdatedAt();
|
|
1044
|
+
if (f !== 0) {
|
|
1045
|
+
writer.writeInt64(
|
|
1046
|
+
3,
|
|
1047
|
+
f
|
|
1048
|
+
);
|
|
1049
|
+
}
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* optional string segment_id = 1;
|
|
1055
|
+
* @return {string}
|
|
1056
|
+
*/
|
|
1057
|
+
proto.bucketeer.feature.SegmentUsers.prototype.getSegmentId = function() {
|
|
1058
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* @param {string} value
|
|
1064
|
+
* @return {!proto.bucketeer.feature.SegmentUsers} returns this
|
|
1065
|
+
*/
|
|
1066
|
+
proto.bucketeer.feature.SegmentUsers.prototype.setSegmentId = function(value) {
|
|
1067
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* repeated SegmentUser users = 2;
|
|
1073
|
+
* @return {!Array<!proto.bucketeer.feature.SegmentUser>}
|
|
1074
|
+
*/
|
|
1075
|
+
proto.bucketeer.feature.SegmentUsers.prototype.getUsersList = function() {
|
|
1076
|
+
return /** @type{!Array<!proto.bucketeer.feature.SegmentUser>} */ (
|
|
1077
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bucketeer.feature.SegmentUser, 2));
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @param {!Array<!proto.bucketeer.feature.SegmentUser>} value
|
|
1083
|
+
* @return {!proto.bucketeer.feature.SegmentUsers} returns this
|
|
1084
|
+
*/
|
|
1085
|
+
proto.bucketeer.feature.SegmentUsers.prototype.setUsersList = function(value) {
|
|
1086
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* @param {!proto.bucketeer.feature.SegmentUser=} opt_value
|
|
1092
|
+
* @param {number=} opt_index
|
|
1093
|
+
* @return {!proto.bucketeer.feature.SegmentUser}
|
|
1094
|
+
*/
|
|
1095
|
+
proto.bucketeer.feature.SegmentUsers.prototype.addUsers = function(opt_value, opt_index) {
|
|
1096
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bucketeer.feature.SegmentUser, opt_index);
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Clears the list making it empty but non-null.
|
|
1102
|
+
* @return {!proto.bucketeer.feature.SegmentUsers} returns this
|
|
1103
|
+
*/
|
|
1104
|
+
proto.bucketeer.feature.SegmentUsers.prototype.clearUsersList = function() {
|
|
1105
|
+
return this.setUsersList([]);
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* optional int64 updated_at = 3;
|
|
1111
|
+
* @return {number}
|
|
1112
|
+
*/
|
|
1113
|
+
proto.bucketeer.feature.SegmentUsers.prototype.getUpdatedAt = function() {
|
|
1114
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* @param {number} value
|
|
1120
|
+
* @return {!proto.bucketeer.feature.SegmentUsers} returns this
|
|
1121
|
+
*/
|
|
1122
|
+
proto.bucketeer.feature.SegmentUsers.prototype.setUpdatedAt = function(value) {
|
|
1123
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
goog.object.extend(exports, proto.bucketeer.feature);
|