From 9b16bf5b3402300ebf585a8aba9b2318b4a76eff Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 1 Sep 2022 03:23:13 +0000 Subject: [PATCH] model is changed --- .../modules/proto/c2se/api/betting_pb.d.ts | 12 + src/app/modules/proto/c2se/api/betting_pb.js | 662 +++++++++++------- .../modules/proto/models/api/betting_pb.d.ts | 84 ++- .../modules/proto/models/api/betting_pb.js | 560 ++++++++++----- 4 files changed, 846 insertions(+), 472 deletions(-) diff --git a/src/app/modules/proto/c2se/api/betting_pb.d.ts b/src/app/modules/proto/c2se/api/betting_pb.d.ts index 06c958f..f449b22 100644 --- a/src/app/modules/proto/c2se/api/betting_pb.d.ts +++ b/src/app/modules/proto/c2se/api/betting_pb.d.ts @@ -65,6 +65,11 @@ export namespace ListBettingHistoryRequest { getVendorId(): number; setVendorId(value: number): void; + clearVendorIdsList(): void; + getVendorIdsList(): Array; + setVendorIdsList(value: Array): void; + addVendorIds(value: number, index?: number): number; + hasVendorName(): boolean; clearVendorName(): void; getVendorName(): string; @@ -80,6 +85,11 @@ export namespace ListBettingHistoryRequest { getGameId(): number; setGameId(value: number): void; + clearGameIdsList(): void; + getGameIdsList(): Array; + setGameIdsList(value: Array): void; + addGameIds(value: number, index?: number): number; + hasGameName(): boolean; clearGameName(): void; getGameName(): string; @@ -227,9 +237,11 @@ export namespace ListBettingHistoryRequest { export type AsObject = { memberId: string; vendorId: number; + vendorIdsList: Array; vendorName: string; vendorNameLike: string; gameId: number; + gameIdsList: Array; gameName: string; gameNameLike: string; gameCategory: string; diff --git a/src/app/modules/proto/c2se/api/betting_pb.js b/src/app/modules/proto/c2se/api/betting_pb.js index cad671b..58b0957 100644 --- a/src/app/modules/proto/c2se/api/betting_pb.js +++ b/src/app/modules/proto/c2se/api/betting_pb.js @@ -93,7 +93,15 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search = function ( opt_data ) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); + jspb.Message.initialize( + this, + opt_data, + 0, + -1, + proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search + .repeatedFields_, + null + ); }; goog.inherits( proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search, @@ -351,6 +359,14 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.serializeBinaryToWr } }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.repeatedFields_ = + [3, 7]; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -387,34 +403,38 @@ if (jspb.Message.GENERATE_TO_OBJECT) { obj = { memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), vendorId: jspb.Message.getFieldWithDefault(msg, 2, 0), - vendorName: jspb.Message.getFieldWithDefault(msg, 3, ""), - vendorNameLike: jspb.Message.getFieldWithDefault(msg, 4, ""), - gameId: jspb.Message.getFieldWithDefault(msg, 5, 0), - gameName: jspb.Message.getFieldWithDefault(msg, 6, ""), - gameNameLike: jspb.Message.getFieldWithDefault(msg, 7, ""), - gameCategory: jspb.Message.getFieldWithDefault(msg, 8, ""), - gameCategoryLike: jspb.Message.getFieldWithDefault(msg, 9, ""), - gameType: jspb.Message.getFieldWithDefault(msg, 10, ""), - gameTypeLike: jspb.Message.getFieldWithDefault(msg, 11, ""), - currency: jspb.Message.getFieldWithDefault(msg, 12, ""), - currencyLike: jspb.Message.getFieldWithDefault(msg, 13, ""), - key: jspb.Message.getFieldWithDefault(msg, 14, ""), - keyLike: jspb.Message.getFieldWithDefault(msg, 15, ""), - refId: jspb.Message.getFieldWithDefault(msg, 16, ""), - refIdLike: jspb.Message.getFieldWithDefault(msg, 17, ""), - oRefId: jspb.Message.getFieldWithDefault(msg, 18, ""), - oRefIdLike: jspb.Message.getFieldWithDefault(msg, 19, ""), - groupKey: jspb.Message.getFieldWithDefault(msg, 20, ""), - groupKeyLike: jspb.Message.getFieldWithDefault(msg, 21, ""), - isBonus: jspb.Message.getBooleanFieldWithDefault(msg, 22, false), - isPromo: jspb.Message.getBooleanFieldWithDefault(msg, 23, false), - isJackpot: jspb.Message.getBooleanFieldWithDefault(msg, 24, false), - siteUsername: jspb.Message.getFieldWithDefault(msg, 25, ""), - siteUsernameLike: jspb.Message.getFieldWithDefault(msg, 26, ""), - bettingType: jspb.Message.getFieldWithDefault(msg, 27, ""), - bettingTypeLike: jspb.Message.getFieldWithDefault(msg, 28, ""), - category: jspb.Message.getFieldWithDefault(msg, 29, ""), - categoryLike: jspb.Message.getFieldWithDefault(msg, 30, ""), + vendorIdsList: + (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + vendorName: jspb.Message.getFieldWithDefault(msg, 4, ""), + vendorNameLike: jspb.Message.getFieldWithDefault(msg, 5, ""), + gameId: jspb.Message.getFieldWithDefault(msg, 6, 0), + gameIdsList: + (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, + gameName: jspb.Message.getFieldWithDefault(msg, 8, ""), + gameNameLike: jspb.Message.getFieldWithDefault(msg, 9, ""), + gameCategory: jspb.Message.getFieldWithDefault(msg, 10, ""), + gameCategoryLike: jspb.Message.getFieldWithDefault(msg, 11, ""), + gameType: jspb.Message.getFieldWithDefault(msg, 12, ""), + gameTypeLike: jspb.Message.getFieldWithDefault(msg, 13, ""), + currency: jspb.Message.getFieldWithDefault(msg, 14, ""), + currencyLike: jspb.Message.getFieldWithDefault(msg, 15, ""), + key: jspb.Message.getFieldWithDefault(msg, 16, ""), + keyLike: jspb.Message.getFieldWithDefault(msg, 17, ""), + refId: jspb.Message.getFieldWithDefault(msg, 18, ""), + refIdLike: jspb.Message.getFieldWithDefault(msg, 19, ""), + oRefId: jspb.Message.getFieldWithDefault(msg, 20, ""), + oRefIdLike: jspb.Message.getFieldWithDefault(msg, 21, ""), + groupKey: jspb.Message.getFieldWithDefault(msg, 22, ""), + groupKeyLike: jspb.Message.getFieldWithDefault(msg, 23, ""), + isBonus: jspb.Message.getBooleanFieldWithDefault(msg, 24, false), + isPromo: jspb.Message.getBooleanFieldWithDefault(msg, 25, false), + isJackpot: jspb.Message.getBooleanFieldWithDefault(msg, 26, false), + siteUsername: jspb.Message.getFieldWithDefault(msg, 27, ""), + siteUsernameLike: jspb.Message.getFieldWithDefault(msg, 28, ""), + bettingType: jspb.Message.getFieldWithDefault(msg, 29, ""), + bettingTypeLike: jspb.Message.getFieldWithDefault(msg, 30, ""), + category: jspb.Message.getFieldWithDefault(msg, 31, ""), + categoryLike: jspb.Message.getFieldWithDefault(msg, 32, ""), }; if (includeInstance) { @@ -464,114 +484,134 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.deserializeB msg.setVendorId(value); break; case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setVendorName(value); + var values = /** @type {!Array} */ ( + reader.isDelimited() + ? reader.readPackedUint64() + : [reader.readUint64()] + ); + for (var i = 0; i < values.length; i++) { + msg.addVendorIds(values[i]); + } break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setVendorNameLike(value); + msg.setVendorName(value); break; case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setVendorNameLike(value); + break; + case 6: var value = /** @type {number} */ (reader.readUint64()); msg.setGameId(value); break; - case 6: - var value = /** @type {string} */ (reader.readString()); - msg.setGameName(value); - break; case 7: - var value = /** @type {string} */ (reader.readString()); - msg.setGameNameLike(value); + var values = /** @type {!Array} */ ( + reader.isDelimited() + ? reader.readPackedUint64() + : [reader.readUint64()] + ); + for (var i = 0; i < values.length; i++) { + msg.addGameIds(values[i]); + } break; case 8: var value = /** @type {string} */ (reader.readString()); - msg.setGameCategory(value); + msg.setGameName(value); break; case 9: var value = /** @type {string} */ (reader.readString()); - msg.setGameCategoryLike(value); + msg.setGameNameLike(value); break; case 10: var value = /** @type {string} */ (reader.readString()); - msg.setGameType(value); + msg.setGameCategory(value); break; case 11: var value = /** @type {string} */ (reader.readString()); - msg.setGameTypeLike(value); + msg.setGameCategoryLike(value); break; case 12: var value = /** @type {string} */ (reader.readString()); - msg.setCurrency(value); + msg.setGameType(value); break; case 13: var value = /** @type {string} */ (reader.readString()); - msg.setCurrencyLike(value); + msg.setGameTypeLike(value); break; case 14: var value = /** @type {string} */ (reader.readString()); - msg.setKey(value); + msg.setCurrency(value); break; case 15: var value = /** @type {string} */ (reader.readString()); - msg.setKeyLike(value); + msg.setCurrencyLike(value); break; case 16: var value = /** @type {string} */ (reader.readString()); - msg.setRefId(value); + msg.setKey(value); break; case 17: var value = /** @type {string} */ (reader.readString()); - msg.setRefIdLike(value); + msg.setKeyLike(value); break; case 18: var value = /** @type {string} */ (reader.readString()); - msg.setORefId(value); + msg.setRefId(value); break; case 19: var value = /** @type {string} */ (reader.readString()); - msg.setORefIdLike(value); + msg.setRefIdLike(value); break; case 20: var value = /** @type {string} */ (reader.readString()); - msg.setGroupKey(value); + msg.setORefId(value); break; case 21: var value = /** @type {string} */ (reader.readString()); - msg.setGroupKeyLike(value); + msg.setORefIdLike(value); break; case 22: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsBonus(value); + var value = /** @type {string} */ (reader.readString()); + msg.setGroupKey(value); break; case 23: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsPromo(value); + var value = /** @type {string} */ (reader.readString()); + msg.setGroupKeyLike(value); break; case 24: var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsJackpot(value); + msg.setIsBonus(value); break; case 25: - var value = /** @type {string} */ (reader.readString()); - msg.setSiteUsername(value); + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsPromo(value); break; case 26: - var value = /** @type {string} */ (reader.readString()); - msg.setSiteUsernameLike(value); + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsJackpot(value); break; case 27: var value = /** @type {string} */ (reader.readString()); - msg.setBettingType(value); + msg.setSiteUsername(value); break; case 28: var value = /** @type {string} */ (reader.readString()); - msg.setBettingTypeLike(value); + msg.setSiteUsernameLike(value); break; case 29: var value = /** @type {string} */ (reader.readString()); - msg.setCategory(value); + msg.setBettingType(value); break; case 30: + var value = /** @type {string} */ (reader.readString()); + msg.setBettingTypeLike(value); + break; + case 31: + var value = /** @type {string} */ (reader.readString()); + msg.setCategory(value); + break; + case 32: var value = /** @type {string} */ (reader.readString()); msg.setCategoryLike(value); break; @@ -615,25 +655,25 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.serializeBin if (f != null) { writer.writeUint64(2, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString(3, f); + f = message.getVendorIdsList(); + if (f.length > 0) { + writer.writePackedUint64(3, f); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString(4, f); } - f = /** @type {number} */ (jspb.Message.getField(message, 5)); + f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { - writer.writeUint64(5, f); + writer.writeString(5, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 6)); + f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { - writer.writeString(6, f); + writer.writeUint64(6, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeString(7, f); + f = message.getGameIdsList(); + if (f.length > 0) { + writer.writePackedUint64(7, f); } f = /** @type {string} */ (jspb.Message.getField(message, 8)); if (f != null) { @@ -691,25 +731,25 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.serializeBin if (f != null) { writer.writeString(21, f); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 22)); + f = /** @type {string} */ (jspb.Message.getField(message, 22)); if (f != null) { - writer.writeBool(22, f); + writer.writeString(22, f); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 23)); + f = /** @type {string} */ (jspb.Message.getField(message, 23)); if (f != null) { - writer.writeBool(23, f); + writer.writeString(23, f); } f = /** @type {boolean} */ (jspb.Message.getField(message, 24)); if (f != null) { writer.writeBool(24, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 25)); + f = /** @type {boolean} */ (jspb.Message.getField(message, 25)); if (f != null) { - writer.writeString(25, f); + writer.writeBool(25, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 26)); + f = /** @type {boolean} */ (jspb.Message.getField(message, 26)); if (f != null) { - writer.writeString(26, f); + writer.writeBool(26, f); } f = /** @type {string} */ (jspb.Message.getField(message, 27)); if (f != null) { @@ -727,6 +767,14 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.serializeBin if (f != null) { writer.writeString(30, f); } + f = /** @type {string} */ (jspb.Message.getField(message, 31)); + if (f != null) { + writer.writeString(31, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 32)); + if (f != null) { + writer.writeString(32, f); + } }; /** @@ -804,48 +852,49 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ha }; /** - * optional string vendor_name = 3; - * @return {string} + * repeated uint64 vendor_ids = 3; + * @return {!Array} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getVendorName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getVendorIdsList = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 3, "") + return /** @type {!Array} */ ( + jspb.Message.getRepeatedField(this, 3) ); }; /** - * @param {string} value + * @param {!Array} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setVendorName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setVendorIdsList = function (value) { - return jspb.Message.setField(this, 3, value); + return jspb.Message.setField(this, 3, value || []); }; /** - * Clears the field making it undefined. + * @param {number} value + * @param {number=} opt_index * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearVendorName = - function () { - return jspb.Message.setField(this, 3, undefined); +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.addVendorIds = + function (value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasVendorName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearVendorIdsList = function () { - return jspb.Message.getField(this, 3) != null; + return this.setVendorIdsList([]); }; /** - * optional string vendor_name_like = 4; + * optional string vendor_name = 4; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getVendorNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getVendorName = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 4, "") @@ -856,7 +905,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setVendorNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setVendorName = function (value) { return jspb.Message.setField(this, 4, value); }; @@ -865,7 +914,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearVendorNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearVendorName = function () { return jspb.Message.setField(this, 4, undefined); }; @@ -874,25 +923,27 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasVendorNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasVendorName = function () { return jspb.Message.getField(this, 4) != null; }; /** - * optional uint64 game_id = 5; - * @return {number} + * optional string vendor_name_like = 5; + * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getVendorNameLike = function () { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); }; /** - * @param {number} value + * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setVendorNameLike = function (value) { return jspb.Message.setField(this, 5, value); }; @@ -901,7 +952,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearVendorNameLike = function () { return jspb.Message.setField(this, 5, undefined); }; @@ -910,27 +961,25 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasVendorNameLike = function () { return jspb.Message.getField(this, 5) != null; }; /** - * optional string game_name = 6; - * @return {string} + * optional uint64 game_id = 6; + * @return {number} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameId = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 6, "") - ); + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** - * @param {string} value + * @param {number} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameId = function (value) { return jspb.Message.setField(this, 6, value); }; @@ -939,7 +988,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameId = function () { return jspb.Message.setField(this, 6, undefined); }; @@ -948,54 +997,55 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameName = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameId = function () { return jspb.Message.getField(this, 6) != null; }; /** - * optional string game_name_like = 7; - * @return {string} + * repeated uint64 game_ids = 7; + * @return {!Array} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameIdsList = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 7, "") + return /** @type {!Array} */ ( + jspb.Message.getRepeatedField(this, 7) ); }; /** - * @param {string} value + * @param {!Array} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameIdsList = function (value) { - return jspb.Message.setField(this, 7, value); + return jspb.Message.setField(this, 7, value || []); }; /** - * Clears the field making it undefined. + * @param {number} value + * @param {number=} opt_index * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameNameLike = - function () { - return jspb.Message.setField(this, 7, undefined); +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.addGameIds = + function (value, opt_index) { + return jspb.Message.addToRepeatedField(this, 7, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameNameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameIdsList = function () { - return jspb.Message.getField(this, 7) != null; + return this.setGameIdsList([]); }; /** - * optional string game_category = 8; + * optional string game_name = 8; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameName = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 8, "") @@ -1006,7 +1056,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameName = function (value) { return jspb.Message.setField(this, 8, value); }; @@ -1015,7 +1065,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameName = function () { return jspb.Message.setField(this, 8, undefined); }; @@ -1024,16 +1074,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameName = function () { return jspb.Message.getField(this, 8) != null; }; /** - * optional string game_category_like = 9; + * optional string game_name_like = 9; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameNameLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 9, "") @@ -1044,7 +1094,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameNameLike = function (value) { return jspb.Message.setField(this, 9, value); }; @@ -1053,7 +1103,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameNameLike = function () { return jspb.Message.setField(this, 9, undefined); }; @@ -1062,16 +1112,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameNameLike = function () { return jspb.Message.getField(this, 9) != null; }; /** - * optional string game_type = 10; + * optional string game_category = 10; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameCategory = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 10, "") @@ -1082,7 +1132,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameCategory = function (value) { return jspb.Message.setField(this, 10, value); }; @@ -1091,7 +1141,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameCategory = function () { return jspb.Message.setField(this, 10, undefined); }; @@ -1100,16 +1150,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameCategory = function () { return jspb.Message.getField(this, 10) != null; }; /** - * optional string game_type_like = 11; + * optional string game_category_like = 11; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameCategoryLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 11, "") @@ -1120,7 +1170,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameCategoryLike = function (value) { return jspb.Message.setField(this, 11, value); }; @@ -1129,7 +1179,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameCategoryLike = function () { return jspb.Message.setField(this, 11, undefined); }; @@ -1138,16 +1188,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameCategoryLike = function () { return jspb.Message.getField(this, 11) != null; }; /** - * optional string currency = 12; + * optional string game_type = 12; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCurrency = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameType = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 12, "") @@ -1158,7 +1208,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCurrency = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameType = function (value) { return jspb.Message.setField(this, 12, value); }; @@ -1167,7 +1217,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCurrency = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameType = function () { return jspb.Message.setField(this, 12, undefined); }; @@ -1176,16 +1226,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCurrency = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameType = function () { return jspb.Message.getField(this, 12) != null; }; /** - * optional string currency_like = 13; + * optional string game_type_like = 13; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCurrencyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGameTypeLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 13, "") @@ -1196,7 +1246,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCurrencyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGameTypeLike = function (value) { return jspb.Message.setField(this, 13, value); }; @@ -1205,7 +1255,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCurrencyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGameTypeLike = function () { return jspb.Message.setField(this, 13, undefined); }; @@ -1214,16 +1264,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCurrencyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGameTypeLike = function () { return jspb.Message.getField(this, 13) != null; }; /** - * optional string key = 14; + * optional string currency = 14; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCurrency = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 14, "") @@ -1234,7 +1284,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCurrency = function (value) { return jspb.Message.setField(this, 14, value); }; @@ -1243,7 +1293,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCurrency = function () { return jspb.Message.setField(this, 14, undefined); }; @@ -1252,16 +1302,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCurrency = function () { return jspb.Message.getField(this, 14) != null; }; /** - * optional string key_like = 15; + * optional string currency_like = 15; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCurrencyLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 15, "") @@ -1272,7 +1322,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCurrencyLike = function (value) { return jspb.Message.setField(this, 15, value); }; @@ -1281,7 +1331,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCurrencyLike = function () { return jspb.Message.setField(this, 15, undefined); }; @@ -1290,16 +1340,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCurrencyLike = function () { return jspb.Message.getField(this, 15) != null; }; /** - * optional string ref_id = 16; + * optional string key = 16; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getRefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getKey = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 16, "") @@ -1310,7 +1360,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setRefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setKey = function (value) { return jspb.Message.setField(this, 16, value); }; @@ -1319,7 +1369,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearRefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearKey = function () { return jspb.Message.setField(this, 16, undefined); }; @@ -1328,16 +1378,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasRefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasKey = function () { return jspb.Message.getField(this, 16) != null; }; /** - * optional string ref_id_like = 17; + * optional string key_like = 17; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getRefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getKeyLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 17, "") @@ -1348,7 +1398,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setRefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setKeyLike = function (value) { return jspb.Message.setField(this, 17, value); }; @@ -1357,7 +1407,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearRefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearKeyLike = function () { return jspb.Message.setField(this, 17, undefined); }; @@ -1366,16 +1416,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasRefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasKeyLike = function () { return jspb.Message.getField(this, 17) != null; }; /** - * optional string o_ref_id = 18; + * optional string ref_id = 18; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getORefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getRefId = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 18, "") @@ -1386,7 +1436,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setORefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setRefId = function (value) { return jspb.Message.setField(this, 18, value); }; @@ -1395,7 +1445,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearORefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearRefId = function () { return jspb.Message.setField(this, 18, undefined); }; @@ -1404,16 +1454,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasORefId = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasRefId = function () { return jspb.Message.getField(this, 18) != null; }; /** - * optional string o_ref_id_like = 19; + * optional string ref_id_like = 19; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getORefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getRefIdLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 19, "") @@ -1424,7 +1474,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setORefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setRefIdLike = function (value) { return jspb.Message.setField(this, 19, value); }; @@ -1433,7 +1483,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearORefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearRefIdLike = function () { return jspb.Message.setField(this, 19, undefined); }; @@ -1442,16 +1492,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasORefIdLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasRefIdLike = function () { return jspb.Message.getField(this, 19) != null; }; /** - * optional string group_key = 20; + * optional string o_ref_id = 20; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGroupKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getORefId = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 20, "") @@ -1462,7 +1512,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGroupKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setORefId = function (value) { return jspb.Message.setField(this, 20, value); }; @@ -1471,7 +1521,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGroupKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearORefId = function () { return jspb.Message.setField(this, 20, undefined); }; @@ -1480,16 +1530,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGroupKey = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasORefId = function () { return jspb.Message.getField(this, 20) != null; }; /** - * optional string group_key_like = 21; + * optional string o_ref_id_like = 21; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGroupKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getORefIdLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 21, "") @@ -1500,7 +1550,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGroupKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setORefIdLike = function (value) { return jspb.Message.setField(this, 21, value); }; @@ -1509,7 +1559,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGroupKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearORefIdLike = function () { return jspb.Message.setField(this, 21, undefined); }; @@ -1518,27 +1568,27 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGroupKeyLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasORefIdLike = function () { return jspb.Message.getField(this, 21) != null; }; /** - * optional bool is_bonus = 22; - * @return {boolean} + * optional string group_key = 22; + * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsBonus = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGroupKey = function () { - return /** @type {boolean} */ ( - jspb.Message.getBooleanFieldWithDefault(this, 22, false) + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 22, "") ); }; /** - * @param {boolean} value + * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsBonus = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGroupKey = function (value) { return jspb.Message.setField(this, 22, value); }; @@ -1547,7 +1597,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsBonus = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGroupKey = function () { return jspb.Message.setField(this, 22, undefined); }; @@ -1556,27 +1606,27 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsBonus = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGroupKey = function () { return jspb.Message.getField(this, 22) != null; }; /** - * optional bool is_promo = 23; - * @return {boolean} + * optional string group_key_like = 23; + * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsPromo = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getGroupKeyLike = function () { - return /** @type {boolean} */ ( - jspb.Message.getBooleanFieldWithDefault(this, 23, false) + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 23, "") ); }; /** - * @param {boolean} value + * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsPromo = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setGroupKeyLike = function (value) { return jspb.Message.setField(this, 23, value); }; @@ -1585,7 +1635,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsPromo = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearGroupKeyLike = function () { return jspb.Message.setField(this, 23, undefined); }; @@ -1594,16 +1644,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsPromo = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasGroupKeyLike = function () { return jspb.Message.getField(this, 23) != null; }; /** - * optional bool is_jackpot = 24; + * optional bool is_bonus = 24; * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsJackpot = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsBonus = function () { return /** @type {boolean} */ ( jspb.Message.getBooleanFieldWithDefault(this, 24, false) @@ -1614,7 +1664,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {boolean} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsJackpot = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsBonus = function (value) { return jspb.Message.setField(this, 24, value); }; @@ -1623,7 +1673,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsJackpot = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsBonus = function () { return jspb.Message.setField(this, 24, undefined); }; @@ -1632,27 +1682,27 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsJackpot = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsBonus = function () { return jspb.Message.getField(this, 24) != null; }; /** - * optional string site_username = 25; - * @return {string} + * optional bool is_promo = 25; + * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getSiteUsername = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsPromo = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 25, "") + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 25, false) ); }; /** - * @param {string} value + * @param {boolean} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setSiteUsername = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsPromo = function (value) { return jspb.Message.setField(this, 25, value); }; @@ -1661,7 +1711,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearSiteUsername = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsPromo = function () { return jspb.Message.setField(this, 25, undefined); }; @@ -1670,27 +1720,27 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasSiteUsername = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsPromo = function () { return jspb.Message.getField(this, 25) != null; }; /** - * optional string site_username_like = 26; - * @return {string} + * optional bool is_jackpot = 26; + * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getSiteUsernameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getIsJackpot = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 26, "") + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 26, false) ); }; /** - * @param {string} value + * @param {boolean} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setSiteUsernameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setIsJackpot = function (value) { return jspb.Message.setField(this, 26, value); }; @@ -1699,7 +1749,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearSiteUsernameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearIsJackpot = function () { return jspb.Message.setField(this, 26, undefined); }; @@ -1708,16 +1758,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasSiteUsernameLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasIsJackpot = function () { return jspb.Message.getField(this, 26) != null; }; /** - * optional string betting_type = 27; + * optional string site_username = 27; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getBettingType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getSiteUsername = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 27, "") @@ -1728,7 +1778,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setBettingType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setSiteUsername = function (value) { return jspb.Message.setField(this, 27, value); }; @@ -1737,7 +1787,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearBettingType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearSiteUsername = function () { return jspb.Message.setField(this, 27, undefined); }; @@ -1746,16 +1796,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasBettingType = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasSiteUsername = function () { return jspb.Message.getField(this, 27) != null; }; /** - * optional string betting_type_like = 28; + * optional string site_username_like = 28; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getBettingTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getSiteUsernameLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 28, "") @@ -1766,7 +1816,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setBettingTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setSiteUsernameLike = function (value) { return jspb.Message.setField(this, 28, value); }; @@ -1775,7 +1825,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearBettingTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearSiteUsernameLike = function () { return jspb.Message.setField(this, 28, undefined); }; @@ -1784,16 +1834,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasBettingTypeLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasSiteUsernameLike = function () { return jspb.Message.getField(this, 28) != null; }; /** - * optional string category = 29; + * optional string betting_type = 29; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getBettingType = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 29, "") @@ -1804,7 +1854,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setBettingType = function (value) { return jspb.Message.setField(this, 29, value); }; @@ -1813,7 +1863,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearBettingType = function () { return jspb.Message.setField(this, 29, undefined); }; @@ -1822,16 +1872,16 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCategory = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasBettingType = function () { return jspb.Message.getField(this, 29) != null; }; /** - * optional string category_like = 30; + * optional string betting_type_like = 30; * @return {string} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getBettingTypeLike = function () { return /** @type {string} */ ( jspb.Message.getFieldWithDefault(this, 30, "") @@ -1842,7 +1892,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.ge * @param {string} value * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setBettingTypeLike = function (value) { return jspb.Message.setField(this, 30, value); }; @@ -1851,7 +1901,7 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.se * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearBettingTypeLike = function () { return jspb.Message.setField(this, 30, undefined); }; @@ -1860,11 +1910,87 @@ proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.cl * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCategoryLike = +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasBettingTypeLike = function () { return jspb.Message.getField(this, 30) != null; }; +/** + * optional string category = 31; + * @return {string} + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCategory = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 31, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCategory = + function (value) { + return jspb.Message.setField(this, 31, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCategory = + function () { + return jspb.Message.setField(this, 31, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCategory = + function () { + return jspb.Message.getField(this, 31) != null; + }; + +/** + * optional string category_like = 32; + * @return {string} + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.getCategoryLike = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 32, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.setCategoryLike = + function (value) { + return jspb.Message.setField(this, 32, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search} returns this + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.clearCategoryLike = + function () { + return jspb.Message.setField(this, 32, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.api.betting.ListBettingHistoryRequest.Search.prototype.hasCategoryLike = + function () { + return jspb.Message.getField(this, 32) != null; + }; + /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} diff --git a/src/app/modules/proto/models/api/betting_pb.d.ts b/src/app/modules/proto/models/api/betting_pb.d.ts index 314e7f1..38af2db 100644 --- a/src/app/modules/proto/models/api/betting_pb.d.ts +++ b/src/app/modules/proto/models/api/betting_pb.d.ts @@ -197,27 +197,10 @@ export class BettingHistoryModel extends jspb.Message { getUtcCreatedAt(): number; setUtcCreatedAt(value: number): void; - getMSiteId(): string; - setMSiteId(value: string): void; - - getMMemberClassId(): string; - setMMemberClassId(value: string): void; - - getMMemberLevelId(): string; - setMMemberLevelId(value: string): void; - - hasMParentMemberId(): boolean; - clearMParentMemberId(): void; - getMParentMemberId(): string; - setMParentMemberId(value: string): void; - - getMNickname(): string; - setMNickname(value: string): void; - - hasMMobilePhoneNumber(): boolean; - clearMMobilePhoneNumber(): void; - getMMobilePhoneNumber(): string; - setMMobilePhoneNumber(value: string): void; + hasMember(): boolean; + clearMember(): void; + getMember(): BettingHistoryModel.Member | undefined; + setMember(value?: BettingHistoryModel.Member): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BettingHistoryModel.AsObject; @@ -265,11 +248,58 @@ export namespace BettingHistoryModel { category: string; createdAt: number; utcCreatedAt: number; - mSiteId: string; - mMemberClassId: string; - mMemberLevelId: string; - mParentMemberId: string; - mNickname: string; - mMobilePhoneNumber: string; + member?: BettingHistoryModel.Member.AsObject; }; + + export class Member extends jspb.Message { + getSiteId(): string; + setSiteId(value: string): void; + + getMemberClassId(): string; + setMemberClassId(value: string): void; + + getMemberLevelId(): string; + setMemberLevelId(value: string): void; + + hasParentMemberId(): boolean; + clearParentMemberId(): void; + getParentMemberId(): string; + setParentMemberId(value: string): void; + + getNickname(): string; + setNickname(value: string): void; + + hasMobilePhoneNumber(): boolean; + clearMobilePhoneNumber(): void; + getMobilePhoneNumber(): string; + setMobilePhoneNumber(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Member.AsObject; + static toObject(includeInstance: boolean, msg: Member): Member.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: Member, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): Member; + static deserializeBinaryFromReader( + message: Member, + reader: jspb.BinaryReader + ): Member; + } + + export namespace Member { + export type AsObject = { + siteId: string; + memberClassId: string; + memberLevelId: string; + parentMemberId: string; + nickname: string; + mobilePhoneNumber: string; + }; + } } diff --git a/src/app/modules/proto/models/api/betting_pb.js b/src/app/modules/proto/models/api/betting_pb.js index c97cc81..6c2f18c 100644 --- a/src/app/modules/proto/models/api/betting_pb.js +++ b/src/app/modules/proto/models/api/betting_pb.js @@ -25,6 +25,11 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.api.betting.BettingHistoryModel.Member", + null, + global +); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -69,6 +74,31 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.api.betting.BettingHistoryModel.displayName = "proto.bet.beteran.api.betting.BettingHistoryModel"; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member = function (opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.api.betting.BettingHistoryModel.Member, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.api.betting.BettingHistoryModel.Member.displayName = + "proto.bet.beteran.api.betting.BettingHistoryModel.Member"; +} if (jspb.Message.GENERATE_TO_OBJECT) { /** @@ -924,12 +954,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) { category: jspb.Message.getFieldWithDefault(msg, 21, ""), createdAt: jspb.Message.getFieldWithDefault(msg, 22, 0), utcCreatedAt: jspb.Message.getFieldWithDefault(msg, 23, 0), - mSiteId: jspb.Message.getFieldWithDefault(msg, 24, ""), - mMemberClassId: jspb.Message.getFieldWithDefault(msg, 25, ""), - mMemberLevelId: jspb.Message.getFieldWithDefault(msg, 26, ""), - mParentMemberId: jspb.Message.getFieldWithDefault(msg, 27, ""), - mNickname: jspb.Message.getFieldWithDefault(msg, 28, ""), - mMobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 29, ""), + member: + (f = msg.getMember()) && + proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject( + includeInstance, + f + ), }; if (includeInstance) { @@ -1063,28 +1093,14 @@ proto.bet.beteran.api.betting.BettingHistoryModel.deserializeBinaryFromReader = msg.setUtcCreatedAt(value); break; case 24: - var value = /** @type {string} */ (reader.readString()); - msg.setMSiteId(value); - break; - case 25: - var value = /** @type {string} */ (reader.readString()); - msg.setMMemberClassId(value); - break; - case 26: - var value = /** @type {string} */ (reader.readString()); - msg.setMMemberLevelId(value); - break; - case 27: - var value = /** @type {string} */ (reader.readString()); - msg.setMParentMemberId(value); - break; - case 28: - var value = /** @type {string} */ (reader.readString()); - msg.setMNickname(value); - break; - case 29: - var value = /** @type {string} */ (reader.readString()); - msg.setMMobilePhoneNumber(value); + var value = + new proto.bet.beteran.api.betting.BettingHistoryModel.Member(); + reader.readMessage( + value, + proto.bet.beteran.api.betting.BettingHistoryModel.Member + .deserializeBinaryFromReader + ); + msg.setMember(value); break; default: reader.skipField(); @@ -1210,30 +1226,334 @@ proto.bet.beteran.api.betting.BettingHistoryModel.serializeBinaryToWriter = if (f !== 0) { writer.writeUint64(23, f); } - f = message.getMSiteId(); - if (f.length > 0) { - writer.writeString(24, f); - } - f = message.getMMemberClassId(); - if (f.length > 0) { - writer.writeString(25, f); - } - f = message.getMMemberLevelId(); - if (f.length > 0) { - writer.writeString(26, f); - } - f = /** @type {string} */ (jspb.Message.getField(message, 27)); + f = message.getMember(); if (f != null) { - writer.writeString(27, f); + writer.writeMessage( + 24, + f, + proto.bet.beteran.api.betting.BettingHistoryModel.Member + .serializeBinaryToWriter + ); } - f = message.getMNickname(); + }; + +if (jspb.Message.GENERATE_TO_OBJECT) { + /** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ + proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject( + opt_includeInstance, + this + ); + }; + + /** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.api.betting.BettingHistoryModel.Member.toObject = function ( + includeInstance, + msg + ) { + var f, + obj = { + siteId: jspb.Message.getFieldWithDefault(msg, 1, ""), + memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""), + memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""), + parentMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""), + nickname: jspb.Message.getFieldWithDefault(msg, 5, ""), + mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 6, ""), + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; + }; +} + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.bet.beteran.api.betting.BettingHistoryModel.Member(); + return proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSiteId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberClassId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setMemberLevelId(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setParentMemberId(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setNickname(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setMobilePhoneNumber(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter( + this, + writer + ); + return writer.getResultBuffer(); + }; + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getSiteId(); if (f.length > 0) { - writer.writeString(28, f); + writer.writeString(1, f); } - f = /** @type {string} */ (jspb.Message.getField(message, 29)); + f = message.getMemberClassId(); + if (f.length > 0) { + writer.writeString(2, f); + } + f = message.getMemberLevelId(); + if (f.length > 0) { + writer.writeString(3, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { - writer.writeString(29, f); + writer.writeString(4, f); } + f = message.getNickname(); + if (f.length > 0) { + writer.writeString(5, f); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString(6, f); + } + }; + +/** + * optional string site_id = 1; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getSiteId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setSiteId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional string member_class_id = 2; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberClassId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 2, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberClassId = + function (value) { + return jspb.Message.setProto3StringField(this, 2, value); + }; + +/** + * optional string member_level_id = 3; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMemberLevelId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 3, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMemberLevelId = + function (value) { + return jspb.Message.setProto3StringField(this, 3, value); + }; + +/** + * optional string parent_member_id = 4; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getParentMemberId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 4, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setParentMemberId = + function (value) { + return jspb.Message.setField(this, 4, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearParentMemberId = + function () { + return jspb.Message.setField(this, 4, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasParentMemberId = + function () { + return jspb.Message.getField(this, 4) != null; + }; + +/** + * optional string nickname = 5; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getNickname = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 5, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setNickname = + function (value) { + return jspb.Message.setProto3StringField(this, 5, value); + }; + +/** + * optional string mobile_phone_number = 6; + * @return {string} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.getMobilePhoneNumber = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 6, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.setMobilePhoneNumber = + function (value) { + return jspb.Message.setField(this, 6, value); + }; + +/** + * Clears the field making it undefined. + * @return {!proto.bet.beteran.api.betting.BettingHistoryModel.Member} returns this + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.clearMobilePhoneNumber = + function () { + return jspb.Message.setField(this, 6, undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.api.betting.BettingHistoryModel.Member.prototype.hasMobilePhoneNumber = + function () { + return jspb.Message.getField(this, 6) != null; }; /** @@ -1714,159 +2034,45 @@ proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setUtcCreatedAt = }; /** - * optional string m_site_id = 24; - * @return {string} + * optional Member member = 24; + * @return {?proto.bet.beteran.api.betting.BettingHistoryModel.Member} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMSiteId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMember = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 24, "") + return /** @type{?proto.bet.beteran.api.betting.BettingHistoryModel.Member} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.api.betting.BettingHistoryModel.Member, + 24 + ) ); }; /** - * @param {string} value + * @param {?proto.bet.beteran.api.betting.BettingHistoryModel.Member|undefined} value * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMSiteId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMember = function (value) { - return jspb.Message.setProto3StringField(this, 24, value); + return jspb.Message.setWrapperField(this, 24, value); }; /** - * optional string m_member_class_id = 25; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMemberClassId = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 25, "") - ); - }; - -/** - * @param {string} value + * Clears the message field making it undefined. * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMemberClassId = - function (value) { - return jspb.Message.setProto3StringField(this, 25, value); - }; - -/** - * optional string m_member_level_id = 26; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMemberLevelId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMember = function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 26, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMemberLevelId = - function (value) { - return jspb.Message.setProto3StringField(this, 26, value); - }; - -/** - * optional string m_parent_member_id = 27; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMParentMemberId = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 27, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMParentMemberId = - function (value) { - return jspb.Message.setField(this, 27, value); - }; - -/** - * Clears the field making it undefined. - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMParentMemberId = - function () { - return jspb.Message.setField(this, 27, undefined); + return this.setMember(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMParentMemberId = +proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMember = function () { - return jspb.Message.getField(this, 27) != null; - }; - -/** - * optional string m_nickname = 28; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMNickname = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 28, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMNickname = - function (value) { - return jspb.Message.setProto3StringField(this, 28, value); - }; - -/** - * optional string m_mobile_phone_number = 29; - * @return {string} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.getMMobilePhoneNumber = - function () { - return /** @type {string} */ ( - jspb.Message.getFieldWithDefault(this, 29, "") - ); - }; - -/** - * @param {string} value - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.setMMobilePhoneNumber = - function (value) { - return jspb.Message.setField(this, 29, value); - }; - -/** - * Clears the field making it undefined. - * @return {!proto.bet.beteran.api.betting.BettingHistoryModel} returns this - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.clearMMobilePhoneNumber = - function () { - return jspb.Message.setField(this, 29, undefined); - }; - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.bet.beteran.api.betting.BettingHistoryModel.prototype.hasMMobilePhoneNumber = - function () { - return jspb.Message.getField(this, 29) != null; + return jspb.Message.getField(this, 24) != null; }; goog.object.extend(exports, proto.bet.beteran.api.betting);