// source: c2se/member_bank_deposit.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var protobuf_rpc_pb = require('../protobuf/rpc_pb.js'); goog.object.extend(proto, protobuf_rpc_pb); var protobuf_pagination_pb = require('../protobuf/pagination_pb.js'); goog.object.extend(proto, protobuf_pagination_pb); var models_member_bank_deposit_pb = require('../models/member_bank_deposit_pb.js'); goog.object.extend(proto, models_member_bank_deposit_pb); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse', null, global); goog.exportSymbol('proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result', null, global); /** * 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_bank_deposit.CreateMemberBankDepositRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest'; } /** * 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_bank_deposit.CreateMemberBankDepositResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse'; } /** * 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_bank_deposit.CreateMemberBankDepositResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result'; } /** * 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_bank_deposit.ListMemberBankDepositsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.repeatedFields_, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest'; } /** * 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_bank_deposit.ListMemberBankDepositsRequest.Search = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search'; } /** * 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_bank_deposit.ListMemberBankDepositsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse'; } /** * 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_bank_deposit.ListMemberBankDepositsResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.repeatedFields_, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result'; } /** * 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_bank_deposit.GetMemberBankDepositRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest'; } /** * 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_bank_deposit.GetMemberBankDepositResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse'; } /** * 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_bank_deposit.GetMemberBankDepositResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result'; } /** * 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_bank_deposit.UpdateMemberBankDepositRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest'; } /** * 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_bank_deposit.UpdateMemberBankDepositResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse'; } /** * 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_bank_deposit.UpdateMemberBankDepositResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result'; } /** * 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_bank_deposit.UpdateMemberBankDepositForStateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest'; } /** * 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_bank_deposit.UpdateMemberBankDepositForStateResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse'; } /** * 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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result'; } /** * 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_bank_deposit.DeleteMemberBankDepositRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest'; } /** * 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_bank_deposit.DeleteMemberBankDepositResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse'; } /** * 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_bank_deposit.DeleteMemberBankDepositResponse.Result = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result'; } 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_bank_deposit.CreateMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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_bank_deposit.CreateMemberBankDepositRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.toObject = function(includeInstance, msg) { var f, obj = { name: jspb.Message.getFieldWithDefault(msg, 1, ""), amount: jspb.Message.getFieldWithDefault(msg, 2, 0), memo: jspb.Message.getFieldWithDefault(msg, 3, "") }; 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_bank_deposit.CreateMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest; return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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_bank_deposit.CreateMemberBankDepositRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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.setName(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setAmount(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setMemo(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_bank_deposit.CreateMemberBankDepositRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.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_bank_deposit.CreateMemberBankDepositRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getAmount(); if (f !== 0) { writer.writeUint32( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } }; /** * optional string name = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional uint32 amount = 2; * @return {number} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getAmount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setAmount = function(value) { return jspb.Message.setProto3IntField(this, 2, value); }; /** * optional string memo = 3; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.getMemo = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.setMemo = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.clearMemo = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositRequest.prototype.hasMemo = function() { return jspb.Message.getField(this, 3) != null; }; 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_bank_deposit.CreateMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_bank_deposit.CreateMemberBankDepositResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.CreateMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse; return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_bank_deposit.CreateMemberBankDepositResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.CreateMemberBankDepositResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.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_bank_deposit.CreateMemberBankDepositResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter ); } }; 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_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.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_bank_deposit.CreateMemberBankDepositResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) }; 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_bank_deposit.CreateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.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_bank_deposit.CreateMemberBankDepositResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new models_member_bank_deposit_pb.MemberBankDeposit; reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); msg.setMemberBankDeposit(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_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.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_bank_deposit.CreateMemberBankDepositResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemberBankDeposit(); if (f != null) { writer.writeMessage( 1, f, models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter ); } }; /** * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); }; /** * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { return this.setMemberBankDeposit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.CreateMemberBankDepositResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.repeatedFields_ = [2]; 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_bank_deposit.ListMemberBankDepositsRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_bank_deposit.ListMemberBankDepositsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.toObject = function(includeInstance, msg) { var f, obj = { pagination: (f = msg.getPagination()) && protobuf_pagination_pb.Pagination.toObject(includeInstance, f), sortsList: jspb.Message.toObjectList(msg.getSortsList(), protobuf_pagination_pb.Sort.toObject, includeInstance), search: (f = msg.getSearch()) && proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.toObject(includeInstance, f) }; 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_bank_deposit.ListMemberBankDepositsRequest} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest; return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_bank_deposit.ListMemberBankDepositsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_pagination_pb.Pagination; reader.readMessage(value,protobuf_pagination_pb.Pagination.deserializeBinaryFromReader); msg.setPagination(value); break; case 2: var value = new protobuf_pagination_pb.Sort; reader.readMessage(value,protobuf_pagination_pb.Sort.deserializeBinaryFromReader); msg.addSorts(value); break; case 3: var value = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinaryFromReader); msg.setSearch(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_bank_deposit.ListMemberBankDepositsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.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_bank_deposit.ListMemberBankDepositsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPagination(); if (f != null) { writer.writeMessage( 1, f, protobuf_pagination_pb.Pagination.serializeBinaryToWriter ); } f = message.getSortsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, protobuf_pagination_pb.Sort.serializeBinaryToWriter ); } f = message.getSearch(); if (f != null) { writer.writeMessage( 3, f, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.serializeBinaryToWriter ); } }; 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_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.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_bank_deposit.ListMemberBankDepositsRequest.Search} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.toObject = function(includeInstance, msg) { var f, obj = { memberId: jspb.Message.getFieldWithDefault(msg, 1, ""), nameLike: jspb.Message.getFieldWithDefault(msg, 2, ""), amount: jspb.Message.getFieldWithDefault(msg, 3, 0), memoLike: jspb.Message.getFieldWithDefault(msg, 4, ""), state: jspb.Message.getFieldWithDefault(msg, 5, 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_bank_deposit.ListMemberBankDepositsRequest.Search} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search; return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.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_bank_deposit.ListMemberBankDepositsRequest.Search} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.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.setMemberId(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setNameLike(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setAmount(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setMemoLike(value); break; case 5: var value = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum()); msg.setState(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_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.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_bank_deposit.ListMemberBankDepositsRequest.Search} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeEnum( 5, f ); } }; /** * optional string member_id = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemberId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setMemberId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearMemberId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemberId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string name_like = 2; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getNameLike = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setNameLike = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearNameLike = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasNameLike = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 amount = 3; * @return {number} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getAmount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setAmount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearAmount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasAmount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string memo_like = 4; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getMemoLike = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setMemoLike = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearMemoLike = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasMemoLike = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 5; * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.getState = function() { return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.setState = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.clearState = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search.prototype.hasState = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bet.protobuf.pagination.Pagination pagination = 1; * @return {?proto.bet.protobuf.pagination.Pagination} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.getPagination = function() { return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)); }; /** * @param {?proto.bet.protobuf.pagination.Pagination|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setPagination = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearPagination = function() { return this.setPagination(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.hasPagination = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated bet.protobuf.pagination.Sort sorts = 2; * @return {!Array} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.getSortsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)); }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setSortsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.bet.protobuf.pagination.Sort=} opt_value * @param {number=} opt_index * @return {!proto.bet.protobuf.pagination.Sort} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.addSorts = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.bet.protobuf.pagination.Sort, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSortsList = function() { return this.setSortsList([]); }; /** * optional Search search = 3; * @return {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.getSearch = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search, 3)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.Search|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.setSearch = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.clearSearch = function() { return this.setSearch(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsRequest.prototype.hasSearch = function() { return jspb.Message.getField(this, 3) != null; }; 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_bank_deposit.ListMemberBankDepositsResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_bank_deposit.ListMemberBankDepositsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.ListMemberBankDepositsResponse} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse; return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_bank_deposit.ListMemberBankDepositsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.ListMemberBankDepositsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.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_bank_deposit.ListMemberBankDepositsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter ); } }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.repeatedFields_ = [1]; 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_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.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_bank_deposit.ListMemberBankDepositsResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { memberBankDepositsList: jspb.Message.toObjectList(msg.getMemberBankDepositsList(), models_member_bank_deposit_pb.MemberBankDeposit.toObject, includeInstance) }; 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_bank_deposit.ListMemberBankDepositsResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.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_bank_deposit.ListMemberBankDepositsResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new models_member_bank_deposit_pb.MemberBankDeposit; reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); msg.addMemberBankDeposits(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_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.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_bank_deposit.ListMemberBankDepositsResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemberBankDepositsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter ); } }; /** * repeated bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposits = 1; * @return {!Array} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.getMemberBankDepositsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); }; /** * @param {!Array} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.setMemberBankDepositsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit=} opt_value * @param {number=} opt_index * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.addMemberBankDeposits = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.bet.beteran.member_bank_deposit.MemberBankDeposit, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result.prototype.clearMemberBankDepositsList = function() { return this.setMemberBankDepositsList([]); }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.ListMemberBankDepositsResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; 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_bank_deposit.GetMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_bank_deposit.GetMemberBankDepositRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; 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_bank_deposit.GetMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest; return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_bank_deposit.GetMemberBankDepositRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.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_bank_deposit.GetMemberBankDepositRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } }; /** * optional string id = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, 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_bank_deposit.GetMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_bank_deposit.GetMemberBankDepositResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.GetMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse; return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_bank_deposit.GetMemberBankDepositResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.GetMemberBankDepositResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.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_bank_deposit.GetMemberBankDepositResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter ); } }; 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_bank_deposit.GetMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.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_bank_deposit.GetMemberBankDepositResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) }; 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_bank_deposit.GetMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.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_bank_deposit.GetMemberBankDepositResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new models_member_bank_deposit_pb.MemberBankDeposit; reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); msg.setMemberBankDeposit(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_bank_deposit.GetMemberBankDepositResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.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_bank_deposit.GetMemberBankDepositResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemberBankDeposit(); if (f != null) { writer.writeMessage( 1, f, models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter ); } }; /** * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); }; /** * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { return this.setMemberBankDeposit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.GetMemberBankDepositResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; 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_bank_deposit.UpdateMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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_bank_deposit.UpdateMemberBankDepositRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""), amount: jspb.Message.getFieldWithDefault(msg, 5, 0), memo: jspb.Message.getFieldWithDefault(msg, 7, "") }; 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_bank_deposit.UpdateMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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_bank_deposit.UpdateMemberBankDepositRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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 3: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setAmount(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setMemo(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_bank_deposit.UpdateMemberBankDepositRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.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_bank_deposit.UpdateMemberBankDepositRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getName(); if (f.length > 0) { writer.writeString( 3, f ); } f = message.getAmount(); if (f !== 0) { writer.writeUint32( 5, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeString( 7, f ); } }; /** * optional string id = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string name = 3; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; /** * optional uint32 amount = 5; * @return {number} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getAmount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setAmount = function(value) { return jspb.Message.setProto3IntField(this, 5, value); }; /** * optional string memo = 7; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.getMemo = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.setMemo = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.clearMemo = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositRequest.prototype.hasMemo = function() { return jspb.Message.getField(this, 7) != null; }; 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_bank_deposit.UpdateMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_bank_deposit.UpdateMemberBankDepositResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.UpdateMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_bank_deposit.UpdateMemberBankDepositResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.UpdateMemberBankDepositResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.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_bank_deposit.UpdateMemberBankDepositResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter ); } }; 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_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.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_bank_deposit.UpdateMemberBankDepositResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) }; 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_bank_deposit.UpdateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.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_bank_deposit.UpdateMemberBankDepositResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new models_member_bank_deposit_pb.MemberBankDeposit; reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); msg.setMemberBankDeposit(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_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.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_bank_deposit.UpdateMemberBankDepositResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemberBankDeposit(); if (f != null) { writer.writeMessage( 1, f, models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter ); } }; /** * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.getMemberBankDeposit = function() { return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); }; /** * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.setMemberBankDeposit = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.clearMemberBankDeposit = function() { return this.setMemberBankDeposit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result.prototype.hasMemberBankDeposit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; 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_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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_bank_deposit.UpdateMemberBankDepositForStateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, ""), state: jspb.Message.getFieldWithDefault(msg, 2, 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_bank_deposit.UpdateMemberBankDepositForStateRequest} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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_bank_deposit.UpdateMemberBankDepositForStateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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 {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (reader.readEnum()); msg.setState(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_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.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_bank_deposit.UpdateMemberBankDepositForStateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getState(); if (f !== 0.0) { writer.writeEnum( 2, f ); } }; /** * optional string id = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional bet.beteran.member_bank_deposit.MemberBankDepositState state = 2; * @return {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.getState = function() { return /** @type {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.bet.beteran.member_bank_deposit.MemberBankDepositState} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateRequest.prototype.setState = function(value) { return jspb.Message.setProto3EnumField(this, 2, 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_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_bank_deposit.UpdateMemberBankDepositForStateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.UpdateMemberBankDepositForStateResponse} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_bank_deposit.UpdateMemberBankDepositForStateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.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_bank_deposit.UpdateMemberBankDepositForStateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter ); } }; 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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { memberBankDeposit: (f = msg.getMemberBankDeposit()) && models_member_bank_deposit_pb.MemberBankDeposit.toObject(includeInstance, f) }; 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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new models_member_bank_deposit_pb.MemberBankDeposit; reader.readMessage(value,models_member_bank_deposit_pb.MemberBankDeposit.deserializeBinaryFromReader); msg.setMemberBankDeposit(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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.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_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMemberBankDeposit(); if (f != null) { writer.writeMessage( 1, f, models_member_bank_deposit_pb.MemberBankDeposit.serializeBinaryToWriter ); } }; /** * optional bet.beteran.member_bank_deposit.MemberBankDeposit member_bank_deposit = 1; * @return {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.getMemberBankDeposit = function() { return /** @type{?proto.bet.beteran.member_bank_deposit.MemberBankDeposit} */ ( jspb.Message.getWrapperField(this, models_member_bank_deposit_pb.MemberBankDeposit, 1)); }; /** * @param {?proto.bet.beteran.member_bank_deposit.MemberBankDeposit|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.setMemberBankDeposit = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.clearMemberBankDeposit = function() { return this.setMemberBankDeposit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result.prototype.hasMemberBankDeposit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.UpdateMemberBankDepositForStateResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; 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_bank_deposit.DeleteMemberBankDepositRequest.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_bank_deposit.DeleteMemberBankDepositRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.toObject = function(includeInstance, msg) { var f, obj = { id: jspb.Message.getFieldWithDefault(msg, 1, "") }; 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_bank_deposit.DeleteMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest; return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_bank_deposit.DeleteMemberBankDepositRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.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_bank_deposit.DeleteMemberBankDepositRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } }; /** * optional string id = 1; * @return {string} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest} returns this */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositRequest.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, 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_bank_deposit.DeleteMemberBankDepositResponse.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_bank_deposit.DeleteMemberBankDepositResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.toObject = function(includeInstance, msg) { var f, obj = { error: (f = msg.getError()) && protobuf_rpc_pb.Error.toObject(includeInstance, f), result: (f = msg.getResult()) && proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.toObject(includeInstance, f) }; 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_bank_deposit.DeleteMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse; return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_bank_deposit.DeleteMemberBankDepositResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new protobuf_rpc_pb.Error; reader.readMessage(value,protobuf_rpc_pb.Error.deserializeBinaryFromReader); msg.setError(value); break; case 2: var value = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result; reader.readMessage(value,proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinaryFromReader); msg.setResult(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_bank_deposit.DeleteMemberBankDepositResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.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_bank_deposit.DeleteMemberBankDepositResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getError(); if (f != null) { writer.writeMessage( 1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter ); } f = message.getResult(); if (f != null) { writer.writeMessage( 2, f, proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.serializeBinaryToWriter ); } }; 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_bank_deposit.DeleteMemberBankDepositResponse.Result.prototype.toObject = function(opt_includeInstance) { return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.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_bank_deposit.DeleteMemberBankDepositResponse.Result} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.toObject = function(includeInstance, msg) { var f, obj = { }; 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_bank_deposit.DeleteMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result; return proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.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_bank_deposit.DeleteMemberBankDepositResponse.Result} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.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_bank_deposit.DeleteMemberBankDepositResponse.Result} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; /** * optional bet.protobuf.rpc.Error error = 1; * @return {?proto.bet.protobuf.rpc.Error} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.getError = function() { return /** @type{?proto.bet.protobuf.rpc.Error} */ ( jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)); }; /** * @param {?proto.bet.protobuf.rpc.Error|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.setError = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearError = function() { return this.setError(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasError = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Result result = 2; * @return {?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.getResult = function() { return /** @type{?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result} */ ( jspb.Message.getWrapperField(this, proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result, 2)); }; /** * @param {?proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.Result|undefined} value * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.setResult = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse} returns this */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.clearResult = function() { return this.setResult(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.bet.beteran.c2se.member_bank_deposit.DeleteMemberBankDepositResponse.prototype.hasResult = function() { return jspb.Message.getField(this, 2) != null; }; goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_deposit);