diff --git a/src/app/modules/proto/c2se/member_pb.d.ts b/src/app/modules/proto/c2se/member_pb.d.ts index 9aac663..e77f057 100644 --- a/src/app/modules/proto/c2se/member_pb.d.ts +++ b/src/app/modules/proto/c2se/member_pb.d.ts @@ -5,6 +5,7 @@ import * as jspb from 'google-protobuf'; import * as protobuf_rpc_pb from '../protobuf/rpc_pb'; import * as protobuf_pagination_pb from '../protobuf/pagination_pb'; import * as models_member_pb from '../models/member_pb'; +import * as models_member_settlement_setting_pb from '../models/member_settlement_setting_pb'; export class CreateMemberRequest extends jspb.Message { getSiteId(): string; @@ -40,6 +41,16 @@ export class CreateMemberRequest extends jspb.Message { getBankAccount(): CreateMemberRequest.BankAccount | undefined; setBankAccount(value?: CreateMemberRequest.BankAccount): void; + hasGameSetting(): boolean; + clearGameSetting(): void; + getGameSetting(): CreateMemberRequest.GameSetting | undefined; + setGameSetting(value?: CreateMemberRequest.GameSetting): void; + + hasSettlementSetting(): boolean; + clearSettlementSetting(): void; + getSettlementSetting(): CreateMemberRequest.SettlementSetting | undefined; + setSettlementSetting(value?: CreateMemberRequest.SettlementSetting): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateMemberRequest.AsObject; static toObject( @@ -72,6 +83,8 @@ export namespace CreateMemberRequest { nickname: string; mobilePhoneNumber: string; bankAccount?: CreateMemberRequest.BankAccount.AsObject; + gameSetting?: CreateMemberRequest.GameSetting.AsObject; + settlementSetting?: CreateMemberRequest.SettlementSetting.AsObject; }; export class BankAccount extends jspb.Message { @@ -116,6 +129,168 @@ export namespace CreateMemberRequest { exchangePassword: string; }; } + + export class GameSetting extends jspb.Message { + getCanBetCasino(): boolean; + setCanBetCasino(value: boolean): void; + + getCanBetSlot(): boolean; + setCanBetSlot(value: boolean): void; + + getCanBetPowerball(): boolean; + setCanBetPowerball(value: boolean): void; + + getCanBetPowerladder(): boolean; + setCanBetPowerladder(value: boolean): void; + + getCanBetEos(): boolean; + setCanBetEos(value: boolean): void; + + getCanBetBogglepowerball(): boolean; + setCanBetBogglepowerball(value: boolean): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GameSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: GameSetting + ): GameSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GameSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): GameSetting; + static deserializeBinaryFromReader( + message: GameSetting, + reader: jspb.BinaryReader + ): GameSetting; + } + + export namespace GameSetting { + export type AsObject = { + canBetCasino: boolean; + canBetSlot: boolean; + canBetPowerball: boolean; + canBetPowerladder: boolean; + canBetEos: boolean; + canBetBogglepowerball: boolean; + }; + } + + export class SettlementSetting extends jspb.Message { + getCanExchange(): boolean; + setCanExchange(value: boolean): void; + + getCanFirstChargeComp(): boolean; + setCanFirstChargeComp(value: boolean): void; + + getCanPerChargeComp(): boolean; + setCanPerChargeComp(value: boolean): void; + + getSettlementType(): models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + setSettlementType( + value: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap] + ): void; + + getManualPaymentTypeForPartner(): models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + setManualPaymentTypeForPartner( + value: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap] + ): void; + + getRateCasino(): number; + setRateCasino(value: number): void; + + getRateCasinoLoosing(): number; + setRateCasinoLoosing(value: number): void; + + getRateCasinoBacara(): number; + setRateCasinoBacara(value: number): void; + + getRateCasinoRoulette(): number; + setRateCasinoRoulette(value: number): void; + + getRateCasinoDragonTiger(): number; + setRateCasinoDragonTiger(value: number): void; + + getRateSlot(): number; + setRateSlot(value: number): void; + + getRateSlotLoosing(): number; + setRateSlotLoosing(value: number): void; + + getRatePowerballSingle(): number; + setRatePowerballSingle(value: number): void; + + getRatePowerballCombo(): number; + setRatePowerballCombo(value: number): void; + + getRatePowerladderSingle(): number; + setRatePowerladderSingle(value: number): void; + + getRatePowerladderCombo(): number; + setRatePowerladderCombo(value: number): void; + + getRateEosSingle(): number; + setRateEosSingle(value: number): void; + + getRateEosCombo(): number; + setRateEosCombo(value: number): void; + + getRateBogglepowerballSingle(): number; + setRateBogglepowerballSingle(value: number): void; + + getRateBogglepowerballCombo(): number; + setRateBogglepowerballCombo(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SettlementSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: SettlementSetting + ): SettlementSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: SettlementSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): SettlementSetting; + static deserializeBinaryFromReader( + message: SettlementSetting, + reader: jspb.BinaryReader + ): SettlementSetting; + } + + export namespace SettlementSetting { + export type AsObject = { + canExchange: boolean; + canFirstChargeComp: boolean; + canPerChargeComp: boolean; + settlementType: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + manualPaymentTypeForPartner: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + rateCasino: number; + rateCasinoLoosing: number; + rateCasinoBacara: number; + rateCasinoRoulette: number; + rateCasinoDragonTiger: number; + rateSlot: number; + rateSlotLoosing: number; + ratePowerballSingle: number; + ratePowerballCombo: number; + ratePowerladderSingle: number; + ratePowerladderCombo: number; + rateEosSingle: number; + rateEosCombo: number; + rateBogglepowerballSingle: number; + rateBogglepowerballCombo: number; + }; + } } export class CreateMemberResponse extends jspb.Message { @@ -622,6 +797,16 @@ export class UpdateMemberRequest extends jspb.Message { getBankAccount(): UpdateMemberRequest.BankAccount | undefined; setBankAccount(value?: UpdateMemberRequest.BankAccount): void; + hasGameSetting(): boolean; + clearGameSetting(): void; + getGameSetting(): UpdateMemberRequest.GameSetting | undefined; + setGameSetting(value?: UpdateMemberRequest.GameSetting): void; + + hasSettlementSetting(): boolean; + clearSettlementSetting(): void; + getSettlementSetting(): UpdateMemberRequest.SettlementSetting | undefined; + setSettlementSetting(value?: UpdateMemberRequest.SettlementSetting): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): UpdateMemberRequest.AsObject; static toObject( @@ -651,6 +836,8 @@ export namespace UpdateMemberRequest { password: string; mobilePhoneNumber: string; bankAccount?: UpdateMemberRequest.BankAccount.AsObject; + gameSetting?: UpdateMemberRequest.GameSetting.AsObject; + settlementSetting?: UpdateMemberRequest.SettlementSetting.AsObject; }; export class BankAccount extends jspb.Message { @@ -699,6 +886,176 @@ export namespace UpdateMemberRequest { exchangePassword: string; }; } + + export class GameSetting extends jspb.Message { + getId(): string; + setId(value: string): void; + + getCanBetCasino(): boolean; + setCanBetCasino(value: boolean): void; + + getCanBetSlot(): boolean; + setCanBetSlot(value: boolean): void; + + getCanBetPowerball(): boolean; + setCanBetPowerball(value: boolean): void; + + getCanBetPowerladder(): boolean; + setCanBetPowerladder(value: boolean): void; + + getCanBetEos(): boolean; + setCanBetEos(value: boolean): void; + + getCanBetBogglepowerball(): boolean; + setCanBetBogglepowerball(value: boolean): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GameSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: GameSetting + ): GameSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: GameSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): GameSetting; + static deserializeBinaryFromReader( + message: GameSetting, + reader: jspb.BinaryReader + ): GameSetting; + } + + export namespace GameSetting { + export type AsObject = { + id: string; + canBetCasino: boolean; + canBetSlot: boolean; + canBetPowerball: boolean; + canBetPowerladder: boolean; + canBetEos: boolean; + canBetBogglepowerball: boolean; + }; + } + + export class SettlementSetting extends jspb.Message { + getId(): string; + setId(value: string): void; + + getCanExchange(): boolean; + setCanExchange(value: boolean): void; + + getCanFirstChargeComp(): boolean; + setCanFirstChargeComp(value: boolean): void; + + getCanPerChargeComp(): boolean; + setCanPerChargeComp(value: boolean): void; + + getSettlementType(): models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + setSettlementType( + value: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap] + ): void; + + getManualPaymentTypeForPartner(): models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + setManualPaymentTypeForPartner( + value: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap] + ): void; + + getRateCasino(): number; + setRateCasino(value: number): void; + + getRateCasinoLoosing(): number; + setRateCasinoLoosing(value: number): void; + + getRateCasinoBacara(): number; + setRateCasinoBacara(value: number): void; + + getRateCasinoRoulette(): number; + setRateCasinoRoulette(value: number): void; + + getRateCasinoDragonTiger(): number; + setRateCasinoDragonTiger(value: number): void; + + getRateSlot(): number; + setRateSlot(value: number): void; + + getRateSlotLoosing(): number; + setRateSlotLoosing(value: number): void; + + getRatePowerballSingle(): number; + setRatePowerballSingle(value: number): void; + + getRatePowerballCombo(): number; + setRatePowerballCombo(value: number): void; + + getRatePowerladderSingle(): number; + setRatePowerladderSingle(value: number): void; + + getRatePowerladderCombo(): number; + setRatePowerladderCombo(value: number): void; + + getRateEosSingle(): number; + setRateEosSingle(value: number): void; + + getRateEosCombo(): number; + setRateEosCombo(value: number): void; + + getRateBogglepowerballSingle(): number; + setRateBogglepowerballSingle(value: number): void; + + getRateBogglepowerballCombo(): number; + setRateBogglepowerballCombo(value: number): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SettlementSetting.AsObject; + static toObject( + includeInstance: boolean, + msg: SettlementSetting + ): SettlementSetting.AsObject; + static extensions: { [key: number]: jspb.ExtensionFieldInfo }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + static serializeBinaryToWriter( + message: SettlementSetting, + writer: jspb.BinaryWriter + ): void; + static deserializeBinary(bytes: Uint8Array): SettlementSetting; + static deserializeBinaryFromReader( + message: SettlementSetting, + reader: jspb.BinaryReader + ): SettlementSetting; + } + + export namespace SettlementSetting { + export type AsObject = { + id: string; + canExchange: boolean; + canFirstChargeComp: boolean; + canPerChargeComp: boolean; + settlementType: models_member_settlement_setting_pb.SettlementTypeMap[keyof models_member_settlement_setting_pb.SettlementTypeMap]; + manualPaymentTypeForPartner: models_member_settlement_setting_pb.ManualPaymentTypeMap[keyof models_member_settlement_setting_pb.ManualPaymentTypeMap]; + rateCasino: number; + rateCasinoLoosing: number; + rateCasinoBacara: number; + rateCasinoRoulette: number; + rateCasinoDragonTiger: number; + rateSlot: number; + rateSlotLoosing: number; + ratePowerballSingle: number; + ratePowerballCombo: number; + ratePowerladderSingle: number; + ratePowerladderCombo: number; + rateEosSingle: number; + rateEosCombo: number; + rateBogglepowerballSingle: number; + rateBogglepowerballCombo: number; + }; + } } export class UpdateMemberResponse extends jspb.Message { diff --git a/src/app/modules/proto/c2se/member_pb.js b/src/app/modules/proto/c2se/member_pb.js index 29765d1..54ca16a 100644 --- a/src/app/modules/proto/c2se/member_pb.js +++ b/src/app/modules/proto/c2se/member_pb.js @@ -23,6 +23,8 @@ var protobuf_pagination_pb = require("../protobuf/pagination_pb.js"); goog.object.extend(proto, protobuf_pagination_pb); var models_member_pb = require("../models/member_pb.js"); goog.object.extend(proto, models_member_pb); +var models_member_settlement_setting_pb = require("../models/member_settlement_setting_pb.js"); +goog.object.extend(proto, models_member_settlement_setting_pb); goog.exportSymbol( "proto.bet.beteran.c2se.member.CreateMemberRequest", null, @@ -33,6 +35,16 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting", + null, + global +); goog.exportSymbol( "proto.bet.beteran.c2se.member.CreateMemberResponse", null, @@ -133,6 +145,16 @@ goog.exportSymbol( null, global ); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting", + null, + global +); +goog.exportSymbol( + "proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting", + null, + global +); goog.exportSymbol( "proto.bet.beteran.c2se.member.UpdateMemberResponse", null, @@ -192,6 +214,60 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.displayName = "proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount"; } +/** + * 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.c2se.member.CreateMemberRequest.GameSetting = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.displayName = + "proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting"; +} +/** + * 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.c2se.member.CreateMemberRequest.SettlementSetting = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.displayName = + "proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting"; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -546,6 +622,60 @@ if (goog.DEBUG && !COMPILED) { proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.displayName = "proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount"; } +/** + * 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.c2se.member.UpdateMemberRequest.GameSetting = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting"; +} +/** + * 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.c2se.member.UpdateMemberRequest.SettlementSetting = function ( + opt_data +) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits( + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting, + jspb.Message +); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.displayName = + "proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting"; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -798,6 +928,18 @@ if (jspb.Message.GENERATE_TO_OBJECT) { includeInstance, f ), + gameSetting: + (f = msg.getGameSetting()) && + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.toObject( + includeInstance, + f + ), + settlementSetting: + (f = msg.getSettlementSetting()) && + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.toObject( + includeInstance, + f + ), }; if (includeInstance) { @@ -880,6 +1022,26 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.deserializeBinaryFromReader = ); msg.setBankAccount(value); break; + case 10: + var value = + new proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting + .deserializeBinaryFromReader + ); + msg.setGameSetting(value); + break; + case 11: + var value = + new proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting + .deserializeBinaryFromReader + ); + msg.setSettlementSetting(value); + break; default: reader.skipField(); break; @@ -953,6 +1115,24 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.serializeBinaryToWriter = .serializeBinaryToWriter ); } + f = message.getGameSetting(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting + .serializeBinaryToWriter + ); + } + f = message.getSettlementSetting(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting + .serializeBinaryToWriter + ); + } }; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -1179,6 +1359,1056 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.BankAccount.prototype.setExcha return jspb.Message.setProto3StringField(this, 4, value); }; +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.c2se.member.CreateMemberRequest.GameSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.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.c2se.member.CreateMemberRequest.GameSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.toObject = + function (includeInstance, msg) { + var f, + obj = { + canBetCasino: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + canBetSlot: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canBetPowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 3, + false + ), + canBetPowerladder: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + canBetEos: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + canBetBogglepowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 6, + false + ), + }; + + 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.c2se.member.CreateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting(); + return proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetCasino(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetSlot(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerball(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerladder(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetEos(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetBogglepowerball(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.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.c2se.member.CreateMemberRequest.GameSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getCanBetCasino(); + if (f) { + writer.writeBool(1, f); + } + f = message.getCanBetSlot(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanBetPowerball(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanBetPowerladder(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanBetEos(); + if (f) { + writer.writeBool(5, f); + } + f = message.getCanBetBogglepowerball(); + if (f) { + writer.writeBool(6, f); + } + }; + +/** + * optional bool can_bet_casino = 1; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetCasino = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 1, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetCasino = + function (value) { + return jspb.Message.setProto3BooleanField(this, 1, value); + }; + +/** + * optional bool can_bet_slot = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetSlot = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetSlot = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_bet_powerball = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetPowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetPowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_bet_powerladder = 4; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetPowerladder = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetPowerladder = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bool can_bet_eos = 5; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetEos = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetEos = + function (value) { + return jspb.Message.setProto3BooleanField(this, 5, value); + }; + +/** + * optional bool can_bet_bogglepowerball = 6; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.getCanBetBogglepowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 6, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting.prototype.setCanBetBogglepowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 6, value); + }; + +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.c2se.member.CreateMemberRequest.SettlementSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.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.c2se.member.CreateMemberRequest.SettlementSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.toObject = + function (includeInstance, msg) { + var f, + obj = { + canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 2, + false + ), + canPerChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 3, + false + ), + settlementType: jspb.Message.getFieldWithDefault(msg, 4, 0), + manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault( + msg, + 5, + 0 + ), + rateCasino: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 6, + 0.0 + ), + rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 7, + 0.0 + ), + rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 8, + 0.0 + ), + rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 9, + 0.0 + ), + rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 10, + 0.0 + ), + rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 12, + 0.0 + ), + ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 13, + 0.0 + ), + ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 14, + 0.0 + ), + ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 15, + 0.0 + ), + ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 16, + 0.0 + ), + rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 17, + 0.0 + ), + rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 18, + 0.0 + ), + rateBogglepowerballSingle: + jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0), + rateBogglepowerballCombo: + jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0), + }; + + 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.c2se.member.CreateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting(); + return proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.deserializeBinaryFromReader = + function (msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanExchange(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanFirstChargeComp(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanPerChargeComp(value); + break; + case 4: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + reader.readEnum() + ); + msg.setSettlementType(value); + break; + case 5: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + reader.readEnum() + ); + msg.setManualPaymentTypeForPartner(value); + break; + case 6: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasino(value); + break; + case 7: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoLoosing(value); + break; + case 8: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoBacara(value); + break; + case 9: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoRoulette(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoDragonTiger(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlot(value); + break; + case 12: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlotLoosing(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballSingle(value); + break; + case 14: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballCombo(value); + break; + case 15: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderSingle(value); + break; + case 16: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderCombo(value); + break; + case 17: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosSingle(value); + break; + case 18: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosCombo(value); + break; + case 19: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballSingle(value); + break; + case 20: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballCombo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.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.c2se.member.CreateMemberRequest.SettlementSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getCanExchange(); + if (f) { + writer.writeBool(1, f); + } + f = message.getCanFirstChargeComp(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanPerChargeComp(); + if (f) { + writer.writeBool(3, f); + } + f = message.getSettlementType(); + if (f !== 0.0) { + writer.writeEnum(4, f); + } + f = message.getManualPaymentTypeForPartner(); + if (f !== 0.0) { + writer.writeEnum(5, f); + } + f = message.getRateCasino(); + if (f !== 0.0) { + writer.writeDouble(6, f); + } + f = message.getRateCasinoLoosing(); + if (f !== 0.0) { + writer.writeDouble(7, f); + } + f = message.getRateCasinoBacara(); + if (f !== 0.0) { + writer.writeDouble(8, f); + } + f = message.getRateCasinoRoulette(); + if (f !== 0.0) { + writer.writeDouble(9, f); + } + f = message.getRateCasinoDragonTiger(); + if (f !== 0.0) { + writer.writeDouble(10, f); + } + f = message.getRateSlot(); + if (f !== 0.0) { + writer.writeDouble(11, f); + } + f = message.getRateSlotLoosing(); + if (f !== 0.0) { + writer.writeDouble(12, f); + } + f = message.getRatePowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(13, f); + } + f = message.getRatePowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(14, f); + } + f = message.getRatePowerladderSingle(); + if (f !== 0.0) { + writer.writeDouble(15, f); + } + f = message.getRatePowerladderCombo(); + if (f !== 0.0) { + writer.writeDouble(16, f); + } + f = message.getRateEosSingle(); + if (f !== 0.0) { + writer.writeDouble(17, f); + } + f = message.getRateEosCombo(); + if (f !== 0.0) { + writer.writeDouble(18, f); + } + f = message.getRateBogglepowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(19, f); + } + f = message.getRateBogglepowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(20, f); + } + }; + +/** + * optional bool can_exchange = 1; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getCanExchange = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 1, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setCanExchange = + function (value) { + return jspb.Message.setProto3BooleanField(this, 1, value); + }; + +/** + * optional bool can_first_charge_comp = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getCanFirstChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setCanFirstChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_per_charge_comp = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getCanPerChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setCanPerChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.SettlementType settlement_type = 4; + * @return {!proto.bet.beteran.member_settlement_setting.SettlementType} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getSettlementType = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + jspb.Message.getFieldWithDefault(this, 4, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setSettlementType = + function (value) { + return jspb.Message.setProto3EnumField(this, 4, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 5; + * @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getManualPaymentTypeForPartner = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + jspb.Message.getFieldWithDefault(this, 5, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setManualPaymentTypeForPartner = + function (value) { + return jspb.Message.setProto3EnumField(this, 5, value); + }; + +/** + * optional double rate_casino = 6; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateCasino = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateCasino = + function (value) { + return jspb.Message.setProto3FloatField(this, 6, value); + }; + +/** + * optional double rate_casino_loosing = 7; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateCasinoLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateCasinoLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 7, value); + }; + +/** + * optional double rate_casino_bacara = 8; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateCasinoBacara = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateCasinoBacara = + function (value) { + return jspb.Message.setProto3FloatField(this, 8, value); + }; + +/** + * optional double rate_casino_roulette = 9; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateCasinoRoulette = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateCasinoRoulette = + function (value) { + return jspb.Message.setProto3FloatField(this, 9, value); + }; + +/** + * optional double rate_casino_dragon_tiger = 10; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateCasinoDragonTiger = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateCasinoDragonTiger = + function (value) { + return jspb.Message.setProto3FloatField(this, 10, value); + }; + +/** + * optional double rate_slot = 11; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateSlot = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateSlot = + function (value) { + return jspb.Message.setProto3FloatField(this, 11, value); + }; + +/** + * optional double rate_slot_loosing = 12; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateSlotLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateSlotLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 12, value); + }; + +/** + * optional double rate_powerball_single = 13; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRatePowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRatePowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 13, value); + }; + +/** + * optional double rate_powerball_combo = 14; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRatePowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRatePowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 14, value); + }; + +/** + * optional double rate_powerladder_single = 15; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRatePowerladderSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRatePowerladderSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 15, value); + }; + +/** + * optional double rate_powerladder_combo = 16; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRatePowerladderCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRatePowerladderCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 16, value); + }; + +/** + * optional double rate_eos_single = 17; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateEosSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateEosSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 17, value); + }; + +/** + * optional double rate_eos_combo = 18; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateEosCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateEosCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 18, value); + }; + +/** + * optional double rate_bogglepowerball_single = 19; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateBogglepowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateBogglepowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 19, value); + }; + +/** + * optional double rate_bogglepowerball_combo = 20; + * @return {number} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.getRateBogglepowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting.prototype.setRateBogglepowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 20, value); + }; + /** * optional string site_id = 1; * @return {string} @@ -1417,6 +2647,90 @@ proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasBankAccount = return jspb.Message.getField(this, 9) != null; }; +/** + * optional GameSetting game_setting = 10; + * @return {?proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getGameSetting = + function () { + return /** @type{?proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting, + 10 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.CreateMemberRequest.GameSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setGameSetting = + function (value) { + return jspb.Message.setWrapperField(this, 10, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearGameSetting = + function () { + return this.setGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasGameSetting = + function () { + return jspb.Message.getField(this, 10) != null; + }; + +/** + * optional SettlementSetting settlement_setting = 11; + * @return {?proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.getSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting, + 11 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.CreateMemberRequest.SettlementSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.setSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 11, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.CreateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.clearSettlementSetting = + function () { + return this.setSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.CreateMemberRequest.prototype.hasSettlementSetting = + function () { + return jspb.Message.getField(this, 11) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -4231,6 +5545,18 @@ if (jspb.Message.GENERATE_TO_OBJECT) { includeInstance, f ), + gameSetting: + (f = msg.getGameSetting()) && + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.toObject( + includeInstance, + f + ), + settlementSetting: + (f = msg.getSettlementSetting()) && + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.toObject( + includeInstance, + f + ), }; if (includeInstance) { @@ -4301,6 +5627,26 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.deserializeBinaryFromReader = ); msg.setBankAccount(value); break; + case 7: + var value = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting + .deserializeBinaryFromReader + ); + msg.setGameSetting(value); + break; + case 8: + var value = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting(); + reader.readMessage( + value, + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting + .deserializeBinaryFromReader + ); + msg.setSettlementSetting(value); + break; default: reader.skipField(); break; @@ -4362,6 +5708,24 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.serializeBinaryToWriter = .serializeBinaryToWriter ); } + f = message.getGameSetting(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting + .serializeBinaryToWriter + ); + } + f = message.getSettlementSetting(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting + .serializeBinaryToWriter + ); + } }; if (jspb.Message.GENERATE_TO_OBJECT) { @@ -4617,6 +5981,1114 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExcha return jspb.Message.setProto3StringField(this, 5, value); }; +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.c2se.member.UpdateMemberRequest.GameSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.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.c2se.member.UpdateMemberRequest.GameSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + canBetCasino: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canBetSlot: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + canBetPowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + canBetPowerladder: jspb.Message.getBooleanFieldWithDefault( + msg, + 5, + false + ), + canBetEos: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + canBetBogglepowerball: jspb.Message.getBooleanFieldWithDefault( + msg, + 7, + false + ), + }; + + 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.c2se.member.UpdateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting(); + return proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.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.setId(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetCasino(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetSlot(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerball(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetPowerladder(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetEos(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanBetBogglepowerball(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.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.c2se.member.UpdateMemberRequest.GameSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getCanBetCasino(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanBetSlot(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanBetPowerball(); + if (f) { + writer.writeBool(4, f); + } + f = message.getCanBetPowerladder(); + if (f) { + writer.writeBool(5, f); + } + f = message.getCanBetEos(); + if (f) { + writer.writeBool(6, f); + } + f = message.getCanBetBogglepowerball(); + if (f) { + writer.writeBool(7, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bool can_bet_casino = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetCasino = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetCasino = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_bet_slot = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetSlot = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetSlot = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_bet_powerball = 4; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetPowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetPowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bool can_bet_powerladder = 5; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetPowerladder = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 5, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetPowerladder = + function (value) { + return jspb.Message.setProto3BooleanField(this, 5, value); + }; + +/** + * optional bool can_bet_eos = 6; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetEos = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 6, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetEos = + function (value) { + return jspb.Message.setProto3BooleanField(this, 6, value); + }; + +/** + * optional bool can_bet_bogglepowerball = 7; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.getCanBetBogglepowerball = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 7, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting.prototype.setCanBetBogglepowerball = + function (value) { + return jspb.Message.setProto3BooleanField(this, 7, value); + }; + +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.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.toObject = + function (opt_includeInstance) { + return proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.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.c2se.member.UpdateMemberRequest.SettlementSetting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.toObject = + function (includeInstance, msg) { + var f, + obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 3, + false + ), + canPerChargeComp: jspb.Message.getBooleanFieldWithDefault( + msg, + 4, + false + ), + settlementType: jspb.Message.getFieldWithDefault(msg, 5, 0), + manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault( + msg, + 6, + 0 + ), + rateCasino: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 7, + 0.0 + ), + rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 8, + 0.0 + ), + rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 9, + 0.0 + ), + rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 10, + 0.0 + ), + rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 11, + 0.0 + ), + rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), + rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 13, + 0.0 + ), + ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 14, + 0.0 + ), + ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 15, + 0.0 + ), + ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 16, + 0.0 + ), + ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 17, + 0.0 + ), + rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 18, + 0.0 + ), + rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault( + msg, + 19, + 0.0 + ), + rateBogglepowerballSingle: + jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0), + rateBogglepowerballCombo: + jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0), + }; + + 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.c2se.member.UpdateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.deserializeBinary = + function (bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = + new proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting(); + return proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.deserializeBinaryFromReader( + msg, + reader + ); + }; + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.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.setId(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanExchange(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanFirstChargeComp(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanPerChargeComp(value); + break; + case 5: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + reader.readEnum() + ); + msg.setSettlementType(value); + break; + case 6: + var value = + /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + reader.readEnum() + ); + msg.setManualPaymentTypeForPartner(value); + break; + case 7: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasino(value); + break; + case 8: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoLoosing(value); + break; + case 9: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoBacara(value); + break; + case 10: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoRoulette(value); + break; + case 11: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateCasinoDragonTiger(value); + break; + case 12: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlot(value); + break; + case 13: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateSlotLoosing(value); + break; + case 14: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballSingle(value); + break; + case 15: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerballCombo(value); + break; + case 16: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderSingle(value); + break; + case 17: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRatePowerladderCombo(value); + break; + case 18: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosSingle(value); + break; + case 19: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateEosCombo(value); + break; + case 20: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballSingle(value); + break; + case 21: + var value = /** @type {number} */ (reader.readDouble()); + msg.setRateBogglepowerballCombo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; + }; + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.serializeBinary = + function () { + var writer = new jspb.BinaryWriter(); + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.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.c2se.member.UpdateMemberRequest.SettlementSetting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.serializeBinaryToWriter = + function (message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString(1, f); + } + f = message.getCanExchange(); + if (f) { + writer.writeBool(2, f); + } + f = message.getCanFirstChargeComp(); + if (f) { + writer.writeBool(3, f); + } + f = message.getCanPerChargeComp(); + if (f) { + writer.writeBool(4, f); + } + f = message.getSettlementType(); + if (f !== 0.0) { + writer.writeEnum(5, f); + } + f = message.getManualPaymentTypeForPartner(); + if (f !== 0.0) { + writer.writeEnum(6, f); + } + f = message.getRateCasino(); + if (f !== 0.0) { + writer.writeDouble(7, f); + } + f = message.getRateCasinoLoosing(); + if (f !== 0.0) { + writer.writeDouble(8, f); + } + f = message.getRateCasinoBacara(); + if (f !== 0.0) { + writer.writeDouble(9, f); + } + f = message.getRateCasinoRoulette(); + if (f !== 0.0) { + writer.writeDouble(10, f); + } + f = message.getRateCasinoDragonTiger(); + if (f !== 0.0) { + writer.writeDouble(11, f); + } + f = message.getRateSlot(); + if (f !== 0.0) { + writer.writeDouble(12, f); + } + f = message.getRateSlotLoosing(); + if (f !== 0.0) { + writer.writeDouble(13, f); + } + f = message.getRatePowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(14, f); + } + f = message.getRatePowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(15, f); + } + f = message.getRatePowerladderSingle(); + if (f !== 0.0) { + writer.writeDouble(16, f); + } + f = message.getRatePowerladderCombo(); + if (f !== 0.0) { + writer.writeDouble(17, f); + } + f = message.getRateEosSingle(); + if (f !== 0.0) { + writer.writeDouble(18, f); + } + f = message.getRateEosCombo(); + if (f !== 0.0) { + writer.writeDouble(19, f); + } + f = message.getRateBogglepowerballSingle(); + if (f !== 0.0) { + writer.writeDouble(20, f); + } + f = message.getRateBogglepowerballCombo(); + if (f !== 0.0) { + writer.writeDouble(21, f); + } + }; + +/** + * optional string id = 1; + * @return {string} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getId = + function () { + return /** @type {string} */ ( + jspb.Message.getFieldWithDefault(this, 1, "") + ); + }; + +/** + * @param {string} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setId = + function (value) { + return jspb.Message.setProto3StringField(this, 1, value); + }; + +/** + * optional bool can_exchange = 2; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getCanExchange = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 2, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setCanExchange = + function (value) { + return jspb.Message.setProto3BooleanField(this, 2, value); + }; + +/** + * optional bool can_first_charge_comp = 3; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getCanFirstChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 3, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setCanFirstChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 3, value); + }; + +/** + * optional bool can_per_charge_comp = 4; + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getCanPerChargeComp = + function () { + return /** @type {boolean} */ ( + jspb.Message.getBooleanFieldWithDefault(this, 4, false) + ); + }; + +/** + * @param {boolean} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setCanPerChargeComp = + function (value) { + return jspb.Message.setProto3BooleanField(this, 4, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.SettlementType settlement_type = 5; + * @return {!proto.bet.beteran.member_settlement_setting.SettlementType} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getSettlementType = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ ( + jspb.Message.getFieldWithDefault(this, 5, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setSettlementType = + function (value) { + return jspb.Message.setProto3EnumField(this, 5, value); + }; + +/** + * optional bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6; + * @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getManualPaymentTypeForPartner = + function () { + return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ ( + jspb.Message.getFieldWithDefault(this, 6, 0) + ); + }; + +/** + * @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setManualPaymentTypeForPartner = + function (value) { + return jspb.Message.setProto3EnumField(this, 6, value); + }; + +/** + * optional double rate_casino = 7; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateCasino = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateCasino = + function (value) { + return jspb.Message.setProto3FloatField(this, 7, value); + }; + +/** + * optional double rate_casino_loosing = 8; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateCasinoLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateCasinoLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 8, value); + }; + +/** + * optional double rate_casino_bacara = 9; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateCasinoBacara = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateCasinoBacara = + function (value) { + return jspb.Message.setProto3FloatField(this, 9, value); + }; + +/** + * optional double rate_casino_roulette = 10; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateCasinoRoulette = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateCasinoRoulette = + function (value) { + return jspb.Message.setProto3FloatField(this, 10, value); + }; + +/** + * optional double rate_casino_dragon_tiger = 11; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateCasinoDragonTiger = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateCasinoDragonTiger = + function (value) { + return jspb.Message.setProto3FloatField(this, 11, value); + }; + +/** + * optional double rate_slot = 12; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateSlot = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateSlot = + function (value) { + return jspb.Message.setProto3FloatField(this, 12, value); + }; + +/** + * optional double rate_slot_loosing = 13; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateSlotLoosing = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateSlotLoosing = + function (value) { + return jspb.Message.setProto3FloatField(this, 13, value); + }; + +/** + * optional double rate_powerball_single = 14; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRatePowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRatePowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 14, value); + }; + +/** + * optional double rate_powerball_combo = 15; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRatePowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRatePowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 15, value); + }; + +/** + * optional double rate_powerladder_single = 16; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRatePowerladderSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRatePowerladderSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 16, value); + }; + +/** + * optional double rate_powerladder_combo = 17; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRatePowerladderCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRatePowerladderCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 17, value); + }; + +/** + * optional double rate_eos_single = 18; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateEosSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateEosSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 18, value); + }; + +/** + * optional double rate_eos_combo = 19; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateEosCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateEosCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 19, value); + }; + +/** + * optional double rate_bogglepowerball_single = 20; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateBogglepowerballSingle = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateBogglepowerballSingle = + function (value) { + return jspb.Message.setProto3FloatField(this, 20, value); + }; + +/** + * optional double rate_bogglepowerball_combo = 21; + * @return {number} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.getRateBogglepowerballCombo = + function () { + return /** @type {number} */ ( + jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0) + ); + }; + +/** + * @param {number} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting.prototype.setRateBogglepowerballCombo = + function (value) { + return jspb.Message.setProto3FloatField(this, 21, value); + }; + /** * optional string id = 1; * @return {string} @@ -4832,6 +7304,90 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasBankAccount = return jspb.Message.getField(this, 6) != null; }; +/** + * optional GameSetting game_setting = 7; + * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getGameSetting = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting, + 7 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.GameSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setGameSetting = + function (value) { + return jspb.Message.setWrapperField(this, 7, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearGameSetting = + function () { + return this.setGameSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasGameSetting = + function () { + return jspb.Message.getField(this, 7) != null; + }; + +/** + * optional SettlementSetting settlement_setting = 8; + * @return {?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.getSettlementSetting = + function () { + return /** @type{?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting} */ ( + jspb.Message.getWrapperField( + this, + proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting, + 8 + ) + ); + }; + +/** + * @param {?proto.bet.beteran.c2se.member.UpdateMemberRequest.SettlementSetting|undefined} value + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.setSettlementSetting = + function (value) { + return jspb.Message.setWrapperField(this, 8, value); + }; + +/** + * Clears the message field making it undefined. + * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest} returns this + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.clearSettlementSetting = + function () { + return this.setSettlementSetting(undefined); + }; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.bet.beteran.c2se.member.UpdateMemberRequest.prototype.hasSettlementSetting = + function () { + return jspb.Message.getField(this, 8) != null; + }; + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto.