protobuf-platform 1.0.169 → 1.0.171
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/game/game.proto +1 -0
- package/game/game_pb.js +49 -1
- package/index.js +6 -0
- package/loyalty/loyalty.proto +16 -0
- package/loyalty/loyalty_grpc_pb.js +44 -0
- package/loyalty/loyalty_pb.js +827 -0
- package/package.json +1 -1
- package/update_protobuf.sh +2 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
@@ -2358,7 +2358,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
2358
2358
|
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
2359
2359
|
isMobile: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
2360
2360
|
userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
2361
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
2361
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
2362
|
+
hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
2362
2363
|
};
|
2363
2364
|
|
2364
2365
|
if (includeInstance) {
|
@@ -2451,6 +2452,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2451
2452
|
var value = /** @type {boolean} */ (reader.readBool());
|
2452
2453
|
msg.setAdminSide(value);
|
2453
2454
|
break;
|
2455
|
+
case 13:
|
2456
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2457
|
+
msg.setHasFreeSpins(value);
|
2458
|
+
break;
|
2454
2459
|
default:
|
2455
2460
|
reader.skipField();
|
2456
2461
|
break;
|
@@ -2564,6 +2569,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
2564
2569
|
f
|
2565
2570
|
);
|
2566
2571
|
}
|
2572
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
2573
|
+
if (f != null) {
|
2574
|
+
writer.writeInt32(
|
2575
|
+
13,
|
2576
|
+
f
|
2577
|
+
);
|
2578
|
+
}
|
2567
2579
|
};
|
2568
2580
|
|
2569
2581
|
|
@@ -3004,6 +3016,42 @@ proto.game.GameSearchRequest.prototype.hasAdminSide = function() {
|
|
3004
3016
|
};
|
3005
3017
|
|
3006
3018
|
|
3019
|
+
/**
|
3020
|
+
* optional int32 has_free_spins = 13;
|
3021
|
+
* @return {number}
|
3022
|
+
*/
|
3023
|
+
proto.game.GameSearchRequest.prototype.getHasFreeSpins = function() {
|
3024
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
3025
|
+
};
|
3026
|
+
|
3027
|
+
|
3028
|
+
/**
|
3029
|
+
* @param {number} value
|
3030
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
3031
|
+
*/
|
3032
|
+
proto.game.GameSearchRequest.prototype.setHasFreeSpins = function(value) {
|
3033
|
+
return jspb.Message.setField(this, 13, value);
|
3034
|
+
};
|
3035
|
+
|
3036
|
+
|
3037
|
+
/**
|
3038
|
+
* Clears the field making it undefined.
|
3039
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
3040
|
+
*/
|
3041
|
+
proto.game.GameSearchRequest.prototype.clearHasFreeSpins = function() {
|
3042
|
+
return jspb.Message.setField(this, 13, undefined);
|
3043
|
+
};
|
3044
|
+
|
3045
|
+
|
3046
|
+
/**
|
3047
|
+
* Returns whether this field is set.
|
3048
|
+
* @return {boolean}
|
3049
|
+
*/
|
3050
|
+
proto.game.GameSearchRequest.prototype.hasHasFreeSpins = function() {
|
3051
|
+
return jspb.Message.getField(this, 13) != null;
|
3052
|
+
};
|
3053
|
+
|
3054
|
+
|
3007
3055
|
|
3008
3056
|
|
3009
3057
|
|
package/index.js
CHANGED
@@ -17,6 +17,8 @@ const CMSService = require('./cms/cms_grpc_pb');
|
|
17
17
|
const CMSServiceMessages = require('./cms/cms_pb');
|
18
18
|
const BonusService = require('./bonus/bonus_grpc_pb');
|
19
19
|
const BonusServiceMessages = require('./bonus/bonus_pb');
|
20
|
+
const LoyaltyService = require('./loyalty/loyalty_grpc_pb');
|
21
|
+
const LoyaltyServiceMessages = require('./loyalty/loyalty_pb');
|
20
22
|
module.exports = {
|
21
23
|
gRPC: gRPC,
|
22
24
|
maxSendMessageLength: 10388608,
|
@@ -54,4 +56,8 @@ module.exports = {
|
|
54
56
|
service: BonusService,
|
55
57
|
messages: BonusServiceMessages
|
56
58
|
},
|
59
|
+
loyalty: {
|
60
|
+
service: LoyaltyService,
|
61
|
+
messages: LoyaltyServiceMessages
|
62
|
+
},
|
57
63
|
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package loyalty;
|
4
|
+
|
5
|
+
service Loyalty {
|
6
|
+
rpc checkConnection(PingRequest) returns (PongResponse);
|
7
|
+
}
|
8
|
+
|
9
|
+
message PingRequest { string ping = 1; }
|
10
|
+
message PongResponse { string pong = 1; }
|
11
|
+
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional LoyaltySearchRequest loyalty_search_params = 3; }
|
12
|
+
message LoyaltySearchRequest {
|
13
|
+
optional int32 loyalty_id = 1;
|
14
|
+
optional int32 user_id = 2;
|
15
|
+
optional string loyalty_title = 3;
|
16
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
5
|
+
var loyalty_pb = require('./loyalty_pb.js');
|
6
|
+
|
7
|
+
function serialize_loyalty_PingRequest(arg) {
|
8
|
+
if (!(arg instanceof loyalty_pb.PingRequest)) {
|
9
|
+
throw new Error('Expected argument of type loyalty.PingRequest');
|
10
|
+
}
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
12
|
+
}
|
13
|
+
|
14
|
+
function deserialize_loyalty_PingRequest(buffer_arg) {
|
15
|
+
return loyalty_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
16
|
+
}
|
17
|
+
|
18
|
+
function serialize_loyalty_PongResponse(arg) {
|
19
|
+
if (!(arg instanceof loyalty_pb.PongResponse)) {
|
20
|
+
throw new Error('Expected argument of type loyalty.PongResponse');
|
21
|
+
}
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
23
|
+
}
|
24
|
+
|
25
|
+
function deserialize_loyalty_PongResponse(buffer_arg) {
|
26
|
+
return loyalty_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
var LoyaltyService = exports.LoyaltyService = {
|
31
|
+
checkConnection: {
|
32
|
+
path: '/loyalty.Loyalty/checkConnection',
|
33
|
+
requestStream: false,
|
34
|
+
responseStream: false,
|
35
|
+
requestType: loyalty_pb.PingRequest,
|
36
|
+
responseType: loyalty_pb.PongResponse,
|
37
|
+
requestSerialize: serialize_loyalty_PingRequest,
|
38
|
+
requestDeserialize: deserialize_loyalty_PingRequest,
|
39
|
+
responseSerialize: serialize_loyalty_PongResponse,
|
40
|
+
responseDeserialize: deserialize_loyalty_PongResponse,
|
41
|
+
},
|
42
|
+
};
|
43
|
+
|
44
|
+
exports.LoyaltyClient = grpc.makeGenericClientConstructor(LoyaltyService);
|
@@ -0,0 +1,827 @@
|
|
1
|
+
// source: loyalty.proto
|
2
|
+
/**
|
3
|
+
* @fileoverview
|
4
|
+
* @enhanceable
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
8
|
+
* @public
|
9
|
+
*/
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
11
|
+
/* eslint-disable */
|
12
|
+
// @ts-nocheck
|
13
|
+
|
14
|
+
var jspb = require('google-protobuf');
|
15
|
+
var goog = jspb;
|
16
|
+
var global = (function() {
|
17
|
+
if (this) { return this; }
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
21
|
+
return Function('return this')();
|
22
|
+
}.call(null));
|
23
|
+
|
24
|
+
goog.exportSymbol('proto.loyalty.LoyaltySearchRequest', null, global);
|
25
|
+
goog.exportSymbol('proto.loyalty.PaginationRequest', null, global);
|
26
|
+
goog.exportSymbol('proto.loyalty.PingRequest', null, global);
|
27
|
+
goog.exportSymbol('proto.loyalty.PongResponse', null, global);
|
28
|
+
/**
|
29
|
+
* Generated by JsPbCodeGenerator.
|
30
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
31
|
+
* server response, or constructed directly in Javascript. The array is used
|
32
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
33
|
+
* If no data is provided, the constructed object will be empty, but still
|
34
|
+
* valid.
|
35
|
+
* @extends {jspb.Message}
|
36
|
+
* @constructor
|
37
|
+
*/
|
38
|
+
proto.loyalty.PingRequest = function(opt_data) {
|
39
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
40
|
+
};
|
41
|
+
goog.inherits(proto.loyalty.PingRequest, jspb.Message);
|
42
|
+
if (goog.DEBUG && !COMPILED) {
|
43
|
+
/**
|
44
|
+
* @public
|
45
|
+
* @override
|
46
|
+
*/
|
47
|
+
proto.loyalty.PingRequest.displayName = 'proto.loyalty.PingRequest';
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* Generated by JsPbCodeGenerator.
|
51
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
52
|
+
* server response, or constructed directly in Javascript. The array is used
|
53
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
54
|
+
* If no data is provided, the constructed object will be empty, but still
|
55
|
+
* valid.
|
56
|
+
* @extends {jspb.Message}
|
57
|
+
* @constructor
|
58
|
+
*/
|
59
|
+
proto.loyalty.PongResponse = function(opt_data) {
|
60
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
61
|
+
};
|
62
|
+
goog.inherits(proto.loyalty.PongResponse, jspb.Message);
|
63
|
+
if (goog.DEBUG && !COMPILED) {
|
64
|
+
/**
|
65
|
+
* @public
|
66
|
+
* @override
|
67
|
+
*/
|
68
|
+
proto.loyalty.PongResponse.displayName = 'proto.loyalty.PongResponse';
|
69
|
+
}
|
70
|
+
/**
|
71
|
+
* Generated by JsPbCodeGenerator.
|
72
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
73
|
+
* server response, or constructed directly in Javascript. The array is used
|
74
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
75
|
+
* If no data is provided, the constructed object will be empty, but still
|
76
|
+
* valid.
|
77
|
+
* @extends {jspb.Message}
|
78
|
+
* @constructor
|
79
|
+
*/
|
80
|
+
proto.loyalty.PaginationRequest = function(opt_data) {
|
81
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
82
|
+
};
|
83
|
+
goog.inherits(proto.loyalty.PaginationRequest, jspb.Message);
|
84
|
+
if (goog.DEBUG && !COMPILED) {
|
85
|
+
/**
|
86
|
+
* @public
|
87
|
+
* @override
|
88
|
+
*/
|
89
|
+
proto.loyalty.PaginationRequest.displayName = 'proto.loyalty.PaginationRequest';
|
90
|
+
}
|
91
|
+
/**
|
92
|
+
* Generated by JsPbCodeGenerator.
|
93
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
94
|
+
* server response, or constructed directly in Javascript. The array is used
|
95
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
96
|
+
* If no data is provided, the constructed object will be empty, but still
|
97
|
+
* valid.
|
98
|
+
* @extends {jspb.Message}
|
99
|
+
* @constructor
|
100
|
+
*/
|
101
|
+
proto.loyalty.LoyaltySearchRequest = function(opt_data) {
|
102
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
103
|
+
};
|
104
|
+
goog.inherits(proto.loyalty.LoyaltySearchRequest, jspb.Message);
|
105
|
+
if (goog.DEBUG && !COMPILED) {
|
106
|
+
/**
|
107
|
+
* @public
|
108
|
+
* @override
|
109
|
+
*/
|
110
|
+
proto.loyalty.LoyaltySearchRequest.displayName = 'proto.loyalty.LoyaltySearchRequest';
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
116
|
+
/**
|
117
|
+
* Creates an object representation of this proto.
|
118
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
119
|
+
* Optional fields that are not set will be set to undefined.
|
120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
121
|
+
* For the list of reserved names please see:
|
122
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
123
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
124
|
+
* JSPB instance for transitional soy proto support:
|
125
|
+
* http://goto/soy-param-migration
|
126
|
+
* @return {!Object}
|
127
|
+
*/
|
128
|
+
proto.loyalty.PingRequest.prototype.toObject = function(opt_includeInstance) {
|
129
|
+
return proto.loyalty.PingRequest.toObject(opt_includeInstance, this);
|
130
|
+
};
|
131
|
+
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Static version of the {@see toObject} method.
|
135
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
136
|
+
* the JSPB instance for transitional soy proto support:
|
137
|
+
* http://goto/soy-param-migration
|
138
|
+
* @param {!proto.loyalty.PingRequest} msg The msg instance to transform.
|
139
|
+
* @return {!Object}
|
140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
141
|
+
*/
|
142
|
+
proto.loyalty.PingRequest.toObject = function(includeInstance, msg) {
|
143
|
+
var f, obj = {
|
144
|
+
ping: jspb.Message.getFieldWithDefault(msg, 1, "")
|
145
|
+
};
|
146
|
+
|
147
|
+
if (includeInstance) {
|
148
|
+
obj.$jspbMessageInstance = msg;
|
149
|
+
}
|
150
|
+
return obj;
|
151
|
+
};
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Deserializes binary data (in protobuf wire format).
|
157
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
158
|
+
* @return {!proto.loyalty.PingRequest}
|
159
|
+
*/
|
160
|
+
proto.loyalty.PingRequest.deserializeBinary = function(bytes) {
|
161
|
+
var reader = new jspb.BinaryReader(bytes);
|
162
|
+
var msg = new proto.loyalty.PingRequest;
|
163
|
+
return proto.loyalty.PingRequest.deserializeBinaryFromReader(msg, reader);
|
164
|
+
};
|
165
|
+
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Deserializes binary data (in protobuf wire format) from the
|
169
|
+
* given reader into the given message object.
|
170
|
+
* @param {!proto.loyalty.PingRequest} msg The message object to deserialize into.
|
171
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
172
|
+
* @return {!proto.loyalty.PingRequest}
|
173
|
+
*/
|
174
|
+
proto.loyalty.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
|
175
|
+
while (reader.nextField()) {
|
176
|
+
if (reader.isEndGroup()) {
|
177
|
+
break;
|
178
|
+
}
|
179
|
+
var field = reader.getFieldNumber();
|
180
|
+
switch (field) {
|
181
|
+
case 1:
|
182
|
+
var value = /** @type {string} */ (reader.readString());
|
183
|
+
msg.setPing(value);
|
184
|
+
break;
|
185
|
+
default:
|
186
|
+
reader.skipField();
|
187
|
+
break;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
return msg;
|
191
|
+
};
|
192
|
+
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Serializes the message to binary data (in protobuf wire format).
|
196
|
+
* @return {!Uint8Array}
|
197
|
+
*/
|
198
|
+
proto.loyalty.PingRequest.prototype.serializeBinary = function() {
|
199
|
+
var writer = new jspb.BinaryWriter();
|
200
|
+
proto.loyalty.PingRequest.serializeBinaryToWriter(this, writer);
|
201
|
+
return writer.getResultBuffer();
|
202
|
+
};
|
203
|
+
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Serializes the given message to binary data (in protobuf wire
|
207
|
+
* format), writing to the given BinaryWriter.
|
208
|
+
* @param {!proto.loyalty.PingRequest} message
|
209
|
+
* @param {!jspb.BinaryWriter} writer
|
210
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
211
|
+
*/
|
212
|
+
proto.loyalty.PingRequest.serializeBinaryToWriter = function(message, writer) {
|
213
|
+
var f = undefined;
|
214
|
+
f = message.getPing();
|
215
|
+
if (f.length > 0) {
|
216
|
+
writer.writeString(
|
217
|
+
1,
|
218
|
+
f
|
219
|
+
);
|
220
|
+
}
|
221
|
+
};
|
222
|
+
|
223
|
+
|
224
|
+
/**
|
225
|
+
* optional string ping = 1;
|
226
|
+
* @return {string}
|
227
|
+
*/
|
228
|
+
proto.loyalty.PingRequest.prototype.getPing = function() {
|
229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
230
|
+
};
|
231
|
+
|
232
|
+
|
233
|
+
/**
|
234
|
+
* @param {string} value
|
235
|
+
* @return {!proto.loyalty.PingRequest} returns this
|
236
|
+
*/
|
237
|
+
proto.loyalty.PingRequest.prototype.setPing = function(value) {
|
238
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
239
|
+
};
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
246
|
+
/**
|
247
|
+
* Creates an object representation of this proto.
|
248
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
249
|
+
* Optional fields that are not set will be set to undefined.
|
250
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
251
|
+
* For the list of reserved names please see:
|
252
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
253
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
254
|
+
* JSPB instance for transitional soy proto support:
|
255
|
+
* http://goto/soy-param-migration
|
256
|
+
* @return {!Object}
|
257
|
+
*/
|
258
|
+
proto.loyalty.PongResponse.prototype.toObject = function(opt_includeInstance) {
|
259
|
+
return proto.loyalty.PongResponse.toObject(opt_includeInstance, this);
|
260
|
+
};
|
261
|
+
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Static version of the {@see toObject} method.
|
265
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
266
|
+
* the JSPB instance for transitional soy proto support:
|
267
|
+
* http://goto/soy-param-migration
|
268
|
+
* @param {!proto.loyalty.PongResponse} msg The msg instance to transform.
|
269
|
+
* @return {!Object}
|
270
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
271
|
+
*/
|
272
|
+
proto.loyalty.PongResponse.toObject = function(includeInstance, msg) {
|
273
|
+
var f, obj = {
|
274
|
+
pong: jspb.Message.getFieldWithDefault(msg, 1, "")
|
275
|
+
};
|
276
|
+
|
277
|
+
if (includeInstance) {
|
278
|
+
obj.$jspbMessageInstance = msg;
|
279
|
+
}
|
280
|
+
return obj;
|
281
|
+
};
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
/**
|
286
|
+
* Deserializes binary data (in protobuf wire format).
|
287
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
288
|
+
* @return {!proto.loyalty.PongResponse}
|
289
|
+
*/
|
290
|
+
proto.loyalty.PongResponse.deserializeBinary = function(bytes) {
|
291
|
+
var reader = new jspb.BinaryReader(bytes);
|
292
|
+
var msg = new proto.loyalty.PongResponse;
|
293
|
+
return proto.loyalty.PongResponse.deserializeBinaryFromReader(msg, reader);
|
294
|
+
};
|
295
|
+
|
296
|
+
|
297
|
+
/**
|
298
|
+
* Deserializes binary data (in protobuf wire format) from the
|
299
|
+
* given reader into the given message object.
|
300
|
+
* @param {!proto.loyalty.PongResponse} msg The message object to deserialize into.
|
301
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
302
|
+
* @return {!proto.loyalty.PongResponse}
|
303
|
+
*/
|
304
|
+
proto.loyalty.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
|
305
|
+
while (reader.nextField()) {
|
306
|
+
if (reader.isEndGroup()) {
|
307
|
+
break;
|
308
|
+
}
|
309
|
+
var field = reader.getFieldNumber();
|
310
|
+
switch (field) {
|
311
|
+
case 1:
|
312
|
+
var value = /** @type {string} */ (reader.readString());
|
313
|
+
msg.setPong(value);
|
314
|
+
break;
|
315
|
+
default:
|
316
|
+
reader.skipField();
|
317
|
+
break;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
return msg;
|
321
|
+
};
|
322
|
+
|
323
|
+
|
324
|
+
/**
|
325
|
+
* Serializes the message to binary data (in protobuf wire format).
|
326
|
+
* @return {!Uint8Array}
|
327
|
+
*/
|
328
|
+
proto.loyalty.PongResponse.prototype.serializeBinary = function() {
|
329
|
+
var writer = new jspb.BinaryWriter();
|
330
|
+
proto.loyalty.PongResponse.serializeBinaryToWriter(this, writer);
|
331
|
+
return writer.getResultBuffer();
|
332
|
+
};
|
333
|
+
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Serializes the given message to binary data (in protobuf wire
|
337
|
+
* format), writing to the given BinaryWriter.
|
338
|
+
* @param {!proto.loyalty.PongResponse} message
|
339
|
+
* @param {!jspb.BinaryWriter} writer
|
340
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
341
|
+
*/
|
342
|
+
proto.loyalty.PongResponse.serializeBinaryToWriter = function(message, writer) {
|
343
|
+
var f = undefined;
|
344
|
+
f = message.getPong();
|
345
|
+
if (f.length > 0) {
|
346
|
+
writer.writeString(
|
347
|
+
1,
|
348
|
+
f
|
349
|
+
);
|
350
|
+
}
|
351
|
+
};
|
352
|
+
|
353
|
+
|
354
|
+
/**
|
355
|
+
* optional string pong = 1;
|
356
|
+
* @return {string}
|
357
|
+
*/
|
358
|
+
proto.loyalty.PongResponse.prototype.getPong = function() {
|
359
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
360
|
+
};
|
361
|
+
|
362
|
+
|
363
|
+
/**
|
364
|
+
* @param {string} value
|
365
|
+
* @return {!proto.loyalty.PongResponse} returns this
|
366
|
+
*/
|
367
|
+
proto.loyalty.PongResponse.prototype.setPong = function(value) {
|
368
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
369
|
+
};
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
376
|
+
/**
|
377
|
+
* Creates an object representation of this proto.
|
378
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
379
|
+
* Optional fields that are not set will be set to undefined.
|
380
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
381
|
+
* For the list of reserved names please see:
|
382
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
383
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
384
|
+
* JSPB instance for transitional soy proto support:
|
385
|
+
* http://goto/soy-param-migration
|
386
|
+
* @return {!Object}
|
387
|
+
*/
|
388
|
+
proto.loyalty.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
|
389
|
+
return proto.loyalty.PaginationRequest.toObject(opt_includeInstance, this);
|
390
|
+
};
|
391
|
+
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Static version of the {@see toObject} method.
|
395
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
396
|
+
* the JSPB instance for transitional soy proto support:
|
397
|
+
* http://goto/soy-param-migration
|
398
|
+
* @param {!proto.loyalty.PaginationRequest} msg The msg instance to transform.
|
399
|
+
* @return {!Object}
|
400
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
401
|
+
*/
|
402
|
+
proto.loyalty.PaginationRequest.toObject = function(includeInstance, msg) {
|
403
|
+
var f, obj = {
|
404
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
405
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
406
|
+
loyaltySearchParams: (f = msg.getLoyaltySearchParams()) && proto.loyalty.LoyaltySearchRequest.toObject(includeInstance, f)
|
407
|
+
};
|
408
|
+
|
409
|
+
if (includeInstance) {
|
410
|
+
obj.$jspbMessageInstance = msg;
|
411
|
+
}
|
412
|
+
return obj;
|
413
|
+
};
|
414
|
+
}
|
415
|
+
|
416
|
+
|
417
|
+
/**
|
418
|
+
* Deserializes binary data (in protobuf wire format).
|
419
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
420
|
+
* @return {!proto.loyalty.PaginationRequest}
|
421
|
+
*/
|
422
|
+
proto.loyalty.PaginationRequest.deserializeBinary = function(bytes) {
|
423
|
+
var reader = new jspb.BinaryReader(bytes);
|
424
|
+
var msg = new proto.loyalty.PaginationRequest;
|
425
|
+
return proto.loyalty.PaginationRequest.deserializeBinaryFromReader(msg, reader);
|
426
|
+
};
|
427
|
+
|
428
|
+
|
429
|
+
/**
|
430
|
+
* Deserializes binary data (in protobuf wire format) from the
|
431
|
+
* given reader into the given message object.
|
432
|
+
* @param {!proto.loyalty.PaginationRequest} msg The message object to deserialize into.
|
433
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
434
|
+
* @return {!proto.loyalty.PaginationRequest}
|
435
|
+
*/
|
436
|
+
proto.loyalty.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
437
|
+
while (reader.nextField()) {
|
438
|
+
if (reader.isEndGroup()) {
|
439
|
+
break;
|
440
|
+
}
|
441
|
+
var field = reader.getFieldNumber();
|
442
|
+
switch (field) {
|
443
|
+
case 1:
|
444
|
+
var value = /** @type {number} */ (reader.readInt32());
|
445
|
+
msg.setLimit(value);
|
446
|
+
break;
|
447
|
+
case 2:
|
448
|
+
var value = /** @type {number} */ (reader.readInt32());
|
449
|
+
msg.setOffset(value);
|
450
|
+
break;
|
451
|
+
case 3:
|
452
|
+
var value = new proto.loyalty.LoyaltySearchRequest;
|
453
|
+
reader.readMessage(value,proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader);
|
454
|
+
msg.setLoyaltySearchParams(value);
|
455
|
+
break;
|
456
|
+
default:
|
457
|
+
reader.skipField();
|
458
|
+
break;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
return msg;
|
462
|
+
};
|
463
|
+
|
464
|
+
|
465
|
+
/**
|
466
|
+
* Serializes the message to binary data (in protobuf wire format).
|
467
|
+
* @return {!Uint8Array}
|
468
|
+
*/
|
469
|
+
proto.loyalty.PaginationRequest.prototype.serializeBinary = function() {
|
470
|
+
var writer = new jspb.BinaryWriter();
|
471
|
+
proto.loyalty.PaginationRequest.serializeBinaryToWriter(this, writer);
|
472
|
+
return writer.getResultBuffer();
|
473
|
+
};
|
474
|
+
|
475
|
+
|
476
|
+
/**
|
477
|
+
* Serializes the given message to binary data (in protobuf wire
|
478
|
+
* format), writing to the given BinaryWriter.
|
479
|
+
* @param {!proto.loyalty.PaginationRequest} message
|
480
|
+
* @param {!jspb.BinaryWriter} writer
|
481
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
482
|
+
*/
|
483
|
+
proto.loyalty.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
|
484
|
+
var f = undefined;
|
485
|
+
f = message.getLimit();
|
486
|
+
if (f !== 0) {
|
487
|
+
writer.writeInt32(
|
488
|
+
1,
|
489
|
+
f
|
490
|
+
);
|
491
|
+
}
|
492
|
+
f = message.getOffset();
|
493
|
+
if (f !== 0) {
|
494
|
+
writer.writeInt32(
|
495
|
+
2,
|
496
|
+
f
|
497
|
+
);
|
498
|
+
}
|
499
|
+
f = message.getLoyaltySearchParams();
|
500
|
+
if (f != null) {
|
501
|
+
writer.writeMessage(
|
502
|
+
3,
|
503
|
+
f,
|
504
|
+
proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter
|
505
|
+
);
|
506
|
+
}
|
507
|
+
};
|
508
|
+
|
509
|
+
|
510
|
+
/**
|
511
|
+
* optional int32 limit = 1;
|
512
|
+
* @return {number}
|
513
|
+
*/
|
514
|
+
proto.loyalty.PaginationRequest.prototype.getLimit = function() {
|
515
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
516
|
+
};
|
517
|
+
|
518
|
+
|
519
|
+
/**
|
520
|
+
* @param {number} value
|
521
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
522
|
+
*/
|
523
|
+
proto.loyalty.PaginationRequest.prototype.setLimit = function(value) {
|
524
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
525
|
+
};
|
526
|
+
|
527
|
+
|
528
|
+
/**
|
529
|
+
* optional int32 offset = 2;
|
530
|
+
* @return {number}
|
531
|
+
*/
|
532
|
+
proto.loyalty.PaginationRequest.prototype.getOffset = function() {
|
533
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
534
|
+
};
|
535
|
+
|
536
|
+
|
537
|
+
/**
|
538
|
+
* @param {number} value
|
539
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
540
|
+
*/
|
541
|
+
proto.loyalty.PaginationRequest.prototype.setOffset = function(value) {
|
542
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
543
|
+
};
|
544
|
+
|
545
|
+
|
546
|
+
/**
|
547
|
+
* optional LoyaltySearchRequest loyalty_search_params = 3;
|
548
|
+
* @return {?proto.loyalty.LoyaltySearchRequest}
|
549
|
+
*/
|
550
|
+
proto.loyalty.PaginationRequest.prototype.getLoyaltySearchParams = function() {
|
551
|
+
return /** @type{?proto.loyalty.LoyaltySearchRequest} */ (
|
552
|
+
jspb.Message.getWrapperField(this, proto.loyalty.LoyaltySearchRequest, 3));
|
553
|
+
};
|
554
|
+
|
555
|
+
|
556
|
+
/**
|
557
|
+
* @param {?proto.loyalty.LoyaltySearchRequest|undefined} value
|
558
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
559
|
+
*/
|
560
|
+
proto.loyalty.PaginationRequest.prototype.setLoyaltySearchParams = function(value) {
|
561
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
562
|
+
};
|
563
|
+
|
564
|
+
|
565
|
+
/**
|
566
|
+
* Clears the message field making it undefined.
|
567
|
+
* @return {!proto.loyalty.PaginationRequest} returns this
|
568
|
+
*/
|
569
|
+
proto.loyalty.PaginationRequest.prototype.clearLoyaltySearchParams = function() {
|
570
|
+
return this.setLoyaltySearchParams(undefined);
|
571
|
+
};
|
572
|
+
|
573
|
+
|
574
|
+
/**
|
575
|
+
* Returns whether this field is set.
|
576
|
+
* @return {boolean}
|
577
|
+
*/
|
578
|
+
proto.loyalty.PaginationRequest.prototype.hasLoyaltySearchParams = function() {
|
579
|
+
return jspb.Message.getField(this, 3) != null;
|
580
|
+
};
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
587
|
+
/**
|
588
|
+
* Creates an object representation of this proto.
|
589
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
590
|
+
* Optional fields that are not set will be set to undefined.
|
591
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
592
|
+
* For the list of reserved names please see:
|
593
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
594
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
595
|
+
* JSPB instance for transitional soy proto support:
|
596
|
+
* http://goto/soy-param-migration
|
597
|
+
* @return {!Object}
|
598
|
+
*/
|
599
|
+
proto.loyalty.LoyaltySearchRequest.prototype.toObject = function(opt_includeInstance) {
|
600
|
+
return proto.loyalty.LoyaltySearchRequest.toObject(opt_includeInstance, this);
|
601
|
+
};
|
602
|
+
|
603
|
+
|
604
|
+
/**
|
605
|
+
* Static version of the {@see toObject} method.
|
606
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
607
|
+
* the JSPB instance for transitional soy proto support:
|
608
|
+
* http://goto/soy-param-migration
|
609
|
+
* @param {!proto.loyalty.LoyaltySearchRequest} msg The msg instance to transform.
|
610
|
+
* @return {!Object}
|
611
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
612
|
+
*/
|
613
|
+
proto.loyalty.LoyaltySearchRequest.toObject = function(includeInstance, msg) {
|
614
|
+
var f, obj = {
|
615
|
+
loyaltyId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
616
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
617
|
+
loyaltyTitle: jspb.Message.getFieldWithDefault(msg, 3, "")
|
618
|
+
};
|
619
|
+
|
620
|
+
if (includeInstance) {
|
621
|
+
obj.$jspbMessageInstance = msg;
|
622
|
+
}
|
623
|
+
return obj;
|
624
|
+
};
|
625
|
+
}
|
626
|
+
|
627
|
+
|
628
|
+
/**
|
629
|
+
* Deserializes binary data (in protobuf wire format).
|
630
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
631
|
+
* @return {!proto.loyalty.LoyaltySearchRequest}
|
632
|
+
*/
|
633
|
+
proto.loyalty.LoyaltySearchRequest.deserializeBinary = function(bytes) {
|
634
|
+
var reader = new jspb.BinaryReader(bytes);
|
635
|
+
var msg = new proto.loyalty.LoyaltySearchRequest;
|
636
|
+
return proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader(msg, reader);
|
637
|
+
};
|
638
|
+
|
639
|
+
|
640
|
+
/**
|
641
|
+
* Deserializes binary data (in protobuf wire format) from the
|
642
|
+
* given reader into the given message object.
|
643
|
+
* @param {!proto.loyalty.LoyaltySearchRequest} msg The message object to deserialize into.
|
644
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
645
|
+
* @return {!proto.loyalty.LoyaltySearchRequest}
|
646
|
+
*/
|
647
|
+
proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
648
|
+
while (reader.nextField()) {
|
649
|
+
if (reader.isEndGroup()) {
|
650
|
+
break;
|
651
|
+
}
|
652
|
+
var field = reader.getFieldNumber();
|
653
|
+
switch (field) {
|
654
|
+
case 1:
|
655
|
+
var value = /** @type {number} */ (reader.readInt32());
|
656
|
+
msg.setLoyaltyId(value);
|
657
|
+
break;
|
658
|
+
case 2:
|
659
|
+
var value = /** @type {number} */ (reader.readInt32());
|
660
|
+
msg.setUserId(value);
|
661
|
+
break;
|
662
|
+
case 3:
|
663
|
+
var value = /** @type {string} */ (reader.readString());
|
664
|
+
msg.setLoyaltyTitle(value);
|
665
|
+
break;
|
666
|
+
default:
|
667
|
+
reader.skipField();
|
668
|
+
break;
|
669
|
+
}
|
670
|
+
}
|
671
|
+
return msg;
|
672
|
+
};
|
673
|
+
|
674
|
+
|
675
|
+
/**
|
676
|
+
* Serializes the message to binary data (in protobuf wire format).
|
677
|
+
* @return {!Uint8Array}
|
678
|
+
*/
|
679
|
+
proto.loyalty.LoyaltySearchRequest.prototype.serializeBinary = function() {
|
680
|
+
var writer = new jspb.BinaryWriter();
|
681
|
+
proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter(this, writer);
|
682
|
+
return writer.getResultBuffer();
|
683
|
+
};
|
684
|
+
|
685
|
+
|
686
|
+
/**
|
687
|
+
* Serializes the given message to binary data (in protobuf wire
|
688
|
+
* format), writing to the given BinaryWriter.
|
689
|
+
* @param {!proto.loyalty.LoyaltySearchRequest} message
|
690
|
+
* @param {!jspb.BinaryWriter} writer
|
691
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
692
|
+
*/
|
693
|
+
proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter = function(message, writer) {
|
694
|
+
var f = undefined;
|
695
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
696
|
+
if (f != null) {
|
697
|
+
writer.writeInt32(
|
698
|
+
1,
|
699
|
+
f
|
700
|
+
);
|
701
|
+
}
|
702
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
703
|
+
if (f != null) {
|
704
|
+
writer.writeInt32(
|
705
|
+
2,
|
706
|
+
f
|
707
|
+
);
|
708
|
+
}
|
709
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
710
|
+
if (f != null) {
|
711
|
+
writer.writeString(
|
712
|
+
3,
|
713
|
+
f
|
714
|
+
);
|
715
|
+
}
|
716
|
+
};
|
717
|
+
|
718
|
+
|
719
|
+
/**
|
720
|
+
* optional int32 loyalty_id = 1;
|
721
|
+
* @return {number}
|
722
|
+
*/
|
723
|
+
proto.loyalty.LoyaltySearchRequest.prototype.getLoyaltyId = function() {
|
724
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
725
|
+
};
|
726
|
+
|
727
|
+
|
728
|
+
/**
|
729
|
+
* @param {number} value
|
730
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
731
|
+
*/
|
732
|
+
proto.loyalty.LoyaltySearchRequest.prototype.setLoyaltyId = function(value) {
|
733
|
+
return jspb.Message.setField(this, 1, value);
|
734
|
+
};
|
735
|
+
|
736
|
+
|
737
|
+
/**
|
738
|
+
* Clears the field making it undefined.
|
739
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
740
|
+
*/
|
741
|
+
proto.loyalty.LoyaltySearchRequest.prototype.clearLoyaltyId = function() {
|
742
|
+
return jspb.Message.setField(this, 1, undefined);
|
743
|
+
};
|
744
|
+
|
745
|
+
|
746
|
+
/**
|
747
|
+
* Returns whether this field is set.
|
748
|
+
* @return {boolean}
|
749
|
+
*/
|
750
|
+
proto.loyalty.LoyaltySearchRequest.prototype.hasLoyaltyId = function() {
|
751
|
+
return jspb.Message.getField(this, 1) != null;
|
752
|
+
};
|
753
|
+
|
754
|
+
|
755
|
+
/**
|
756
|
+
* optional int32 user_id = 2;
|
757
|
+
* @return {number}
|
758
|
+
*/
|
759
|
+
proto.loyalty.LoyaltySearchRequest.prototype.getUserId = function() {
|
760
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
761
|
+
};
|
762
|
+
|
763
|
+
|
764
|
+
/**
|
765
|
+
* @param {number} value
|
766
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
767
|
+
*/
|
768
|
+
proto.loyalty.LoyaltySearchRequest.prototype.setUserId = function(value) {
|
769
|
+
return jspb.Message.setField(this, 2, value);
|
770
|
+
};
|
771
|
+
|
772
|
+
|
773
|
+
/**
|
774
|
+
* Clears the field making it undefined.
|
775
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
776
|
+
*/
|
777
|
+
proto.loyalty.LoyaltySearchRequest.prototype.clearUserId = function() {
|
778
|
+
return jspb.Message.setField(this, 2, undefined);
|
779
|
+
};
|
780
|
+
|
781
|
+
|
782
|
+
/**
|
783
|
+
* Returns whether this field is set.
|
784
|
+
* @return {boolean}
|
785
|
+
*/
|
786
|
+
proto.loyalty.LoyaltySearchRequest.prototype.hasUserId = function() {
|
787
|
+
return jspb.Message.getField(this, 2) != null;
|
788
|
+
};
|
789
|
+
|
790
|
+
|
791
|
+
/**
|
792
|
+
* optional string loyalty_title = 3;
|
793
|
+
* @return {string}
|
794
|
+
*/
|
795
|
+
proto.loyalty.LoyaltySearchRequest.prototype.getLoyaltyTitle = function() {
|
796
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
797
|
+
};
|
798
|
+
|
799
|
+
|
800
|
+
/**
|
801
|
+
* @param {string} value
|
802
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
803
|
+
*/
|
804
|
+
proto.loyalty.LoyaltySearchRequest.prototype.setLoyaltyTitle = function(value) {
|
805
|
+
return jspb.Message.setField(this, 3, value);
|
806
|
+
};
|
807
|
+
|
808
|
+
|
809
|
+
/**
|
810
|
+
* Clears the field making it undefined.
|
811
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
812
|
+
*/
|
813
|
+
proto.loyalty.LoyaltySearchRequest.prototype.clearLoyaltyTitle = function() {
|
814
|
+
return jspb.Message.setField(this, 3, undefined);
|
815
|
+
};
|
816
|
+
|
817
|
+
|
818
|
+
/**
|
819
|
+
* Returns whether this field is set.
|
820
|
+
* @return {boolean}
|
821
|
+
*/
|
822
|
+
proto.loyalty.LoyaltySearchRequest.prototype.hasLoyaltyTitle = function() {
|
823
|
+
return jspb.Message.getField(this, 3) != null;
|
824
|
+
};
|
825
|
+
|
826
|
+
|
827
|
+
goog.object.extend(exports, proto.loyalty);
|
package/package.json
CHANGED
package/update_protobuf.sh
CHANGED
@@ -7,4 +7,5 @@ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:game --grpc_out=grp
|
|
7
7
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:file --grpc_out=grpc_js:file --proto_path=./file ./file/*.proto &&
|
8
8
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bet --grpc_out=grpc_js:bet --proto_path=./bet ./bet/*.proto &&
|
9
9
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:cms --grpc_out=grpc_js:cms --proto_path=./cms ./cms/*.proto &&
|
10
|
-
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bonus --grpc_out=grpc_js:bonus --proto_path=./bonus ./bonus/*.proto
|
10
|
+
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bonus --grpc_out=grpc_js:bonus --proto_path=./bonus ./bonus/*.proto &&
|
11
|
+
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:loyalty --grpc_out=grpc_js:loyalty --proto_path=./loyalty ./loyalty/*.proto
|