// source: c2se/member_balance.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_balance_pb = require("../models/member_balance_pb.js");
goog.object.extend(proto, models_member_balance_pb);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.CreateMemberBalanceRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.displayName =
    "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest";
}
/**
 * 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_balance.CreateMemberBalanceResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.displayName =
    "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse";
}
/**
 * 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_balance.CreateMemberBalanceResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.ListMemberBalancesRequest = function (
  opt_data
) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest
      .repeatedFields_,
    null
  );
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.displayName =
    "proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest";
}
/**
 * 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_balance.ListMemberBalancesRequest.Search =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.displayName =
    "proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.displayName =
    "proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse";
}
/**
 * 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_balance.ListMemberBalancesResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(
      this,
      opt_data,
      0,
      -1,
      proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result
        .repeatedFields_,
      null
    );
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.GetMemberBalanceRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.displayName =
    "proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest";
}
/**
 * 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_balance.GetMemberBalanceResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.displayName =
    "proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse";
}
/**
 * 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_balance.GetMemberBalanceResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.UpdateMemberBalanceRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.displayName =
    "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest";
}
/**
 * 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_balance.UpdateMemberBalanceResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.displayName =
    "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse";
}
/**
 * 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_balance.UpdateMemberBalanceResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.DeleteMemberBalanceRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.displayName =
    "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest";
}
/**
 * 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_balance.DeleteMemberBalanceResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.displayName =
    "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse";
}
/**
 * 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_balance.DeleteMemberBalanceResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_<name>, 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_balance.CreateMemberBalanceRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.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_balance.CreateMemberBalanceRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberId: 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_balance.CreateMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest();
    return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.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_balance.CreateMemberBalanceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.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;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.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_balance.CreateMemberBalanceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberId();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
  };

/**
 * optional string member_id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.prototype.getMemberId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceRequest.prototype.setMemberId =
  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_<name>, 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_balance.CreateMemberBalanceResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse();
    return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse
              .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_balance.CreateMemberBalanceResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.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_<name>, 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_balance.CreateMemberBalanceResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberBalance:
            (f = msg.getMemberBalance()) &&
            models_member_balance_pb.MemberBalance.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_balance.CreateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result();
    return proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance_pb.MemberBalance();
          reader.readMessage(
            value,
            models_member_balance_pb.MemberBalance.deserializeBinaryFromReader
          );
          msg.setMemberBalance(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_balance.CreateMemberBalanceResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberBalance();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_balance_pb.MemberBalance.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_balance.MemberBalance member_balance = 1;
 * @return {?proto.bet.beteran.member_balance.MemberBalance}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.prototype.getMemberBalance =
  function () {
    return /** @type{?proto.bet.beteran.member_balance.MemberBalance} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_balance_pb.MemberBalance,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_balance.MemberBalance|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.prototype.setMemberBalance =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.prototype.clearMemberBalance =
  function () {
    return this.setMemberBalance(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result.prototype.hasMemberBalance =
  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_balance.CreateMemberBalanceResponse.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_balance.CreateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.setError =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.clearError =
  function () {
    return this.setError(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.hasError =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.getResult =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse
          .Result,
        2
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.setResult =
  function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.clearResult =
  function () {
    return this.setResult(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.CreateMemberBalanceResponse.prototype.hasResult =
  function () {
    return jspb.Message.getField(this, 2) != null;
  };

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_<name>, 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_balance.ListMemberBalancesRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest();
    return proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.Search();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest
              .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_balance.ListMemberBalancesRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.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_<name>, 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_balance.ListMemberBalancesRequest.Search.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.Search} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberId: 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_balance.ListMemberBalancesRequest.Search}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search();
    return proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.Search} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.Search} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = /** @type {string} */ (jspb.Message.getField(message, 1));
    if (f != null) {
      writer.writeString(1, f);
    }
  };

/**
 * optional string member_id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.prototype.getMemberId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.prototype.setMemberId =
  function (value) {
    return jspb.Message.setField(this, 1, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.prototype.clearMemberId =
  function () {
    return jspb.Message.setField(this, 1, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search.prototype.hasMemberId =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional bet.protobuf.pagination.Pagination pagination = 1;
 * @return {?proto.bet.protobuf.pagination.Pagination}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.setPagination =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.clearPagination =
  function () {
    return this.setPagination(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.hasPagination =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * repeated bet.protobuf.pagination.Sort sorts = 2;
 * @return {!Array<!proto.bet.protobuf.pagination.Sort>}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.getSortsList =
  function () {
    return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ (
      jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)
    );
  };

/**
 * @param {!Array<!proto.bet.protobuf.pagination.Sort>} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest.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_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.clearSortsList =
  function () {
    return this.setSortsList([]);
  };

/**
 * optional Search search = 3;
 * @return {?proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.getSearch =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search,
        3
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.Search|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.setSearch =
  function (value) {
    return jspb.Message.setWrapperField(this, 3, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.prototype.clearSearch =
  function () {
    return this.setSearch(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesRequest.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_<name>, 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_balance.ListMemberBalancesResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse();
    return proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse
              .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_balance.ListMemberBalancesResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.Result
          .serializeBinaryToWriter
      );
    }
  };

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.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_<name>, 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_balance.ListMemberBalancesResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          totalCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
          memberBalancesList: jspb.Message.toObjectList(
            msg.getMemberBalancesList(),
            models_member_balance_pb.MemberBalance.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_balance.ListMemberBalancesResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result();
    return proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {number} */ (reader.readUint64());
          msg.setTotalCount(value);
          break;
        case 2:
          var value = new models_member_balance_pb.MemberBalance();
          reader.readMessage(
            value,
            models_member_balance_pb.MemberBalance.deserializeBinaryFromReader
          );
          msg.addMemberBalances(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_balance.ListMemberBalancesResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getTotalCount();
    if (f !== 0) {
      writer.writeUint64(1, f);
    }
    f = message.getMemberBalancesList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        2,
        f,
        models_member_balance_pb.MemberBalance.serializeBinaryToWriter
      );
    }
  };

/**
 * optional uint64 total_count = 1;
 * @return {number}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.getTotalCount =
  function () {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.setTotalCount =
  function (value) {
    return jspb.Message.setProto3IntField(this, 1, value);
  };

/**
 * repeated bet.beteran.member_balance.MemberBalance member_balances = 2;
 * @return {!Array<!proto.bet.beteran.member_balance.MemberBalance>}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.getMemberBalancesList =
  function () {
    return /** @type{!Array<!proto.bet.beteran.member_balance.MemberBalance>} */ (
      jspb.Message.getRepeatedWrapperField(
        this,
        models_member_balance_pb.MemberBalance,
        2
      )
    );
  };

/**
 * @param {!Array<!proto.bet.beteran.member_balance.MemberBalance>} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.setMemberBalancesList =
  function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 2, value);
  };

/**
 * @param {!proto.bet.beteran.member_balance.MemberBalance=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member_balance.MemberBalance}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.addMemberBalances =
  function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
      this,
      2,
      opt_value,
      proto.bet.beteran.member_balance.MemberBalance,
      opt_index
    );
  };

/**
 * Clears the list making it empty but non-null.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result.prototype.clearMemberBalancesList =
  function () {
    return this.setMemberBalancesList([]);
  };

/**
 * optional bet.protobuf.rpc.Error error = 1;
 * @return {?proto.bet.protobuf.rpc.Error}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_balance.ListMemberBalancesResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.setError =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.clearError =
  function () {
    return this.setError(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.hasError =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.getResult =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result,
        2
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.setResult =
  function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.prototype.clearResult =
  function () {
    return this.setResult(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.ListMemberBalancesResponse.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_<name>, 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_balance.GetMemberBalanceRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest();
    return proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_balance.GetMemberBalanceRequest.prototype.getId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceRequest.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_<name>, 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_balance.GetMemberBalanceResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse();
    return proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse
              .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_balance.GetMemberBalanceResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.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_<name>, 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_balance.GetMemberBalanceResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberBalance:
            (f = msg.getMemberBalance()) &&
            models_member_balance_pb.MemberBalance.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_balance.GetMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result();
    return proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance_pb.MemberBalance();
          reader.readMessage(
            value,
            models_member_balance_pb.MemberBalance.deserializeBinaryFromReader
          );
          msg.setMemberBalance(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_balance.GetMemberBalanceResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberBalance();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_balance_pb.MemberBalance.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_balance.MemberBalance member_balance = 1;
 * @return {?proto.bet.beteran.member_balance.MemberBalance}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.prototype.getMemberBalance =
  function () {
    return /** @type{?proto.bet.beteran.member_balance.MemberBalance} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_balance_pb.MemberBalance,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_balance.MemberBalance|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.prototype.setMemberBalance =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.prototype.clearMemberBalance =
  function () {
    return this.setMemberBalance(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result.prototype.hasMemberBalance =
  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_balance.GetMemberBalanceResponse.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_balance.GetMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.setError =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.clearError =
  function () {
    return this.setError(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.hasError =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.getResult =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result,
        2
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.setResult =
  function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.prototype.clearResult =
  function () {
    return this.setResult(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.GetMemberBalanceResponse.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_<name>, 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_balance.UpdateMemberBalanceRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.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_balance.UpdateMemberBalanceRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          id: jspb.Message.getFieldWithDefault(msg, 1, ""),
          balance: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
          balanceBota: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            3,
            0.0
          ),
          balanceSum: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            4,
            0.0
          ),
        };

      if (includeInstance) {
        obj.$jspbMessageInstance = msg;
      }
      return obj;
    };
}

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest();
    return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.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_balance.UpdateMemberBalanceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.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 {number} */ (reader.readDouble());
          msg.setBalance(value);
          break;
        case 3:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setBalanceBota(value);
          break;
        case 4:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setBalanceSum(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_balance.UpdateMemberBalanceRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.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_balance.UpdateMemberBalanceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getId();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
    f = message.getBalance();
    if (f !== 0.0) {
      writer.writeDouble(2, f);
    }
    f = message.getBalanceBota();
    if (f !== 0.0) {
      writer.writeDouble(3, f);
    }
    f = message.getBalanceSum();
    if (f !== 0.0) {
      writer.writeDouble(4, f);
    }
  };

/**
 * optional string id = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.getId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.setId =
  function (value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };

/**
 * optional double balance = 2;
 * @return {number}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.getBalance =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.setBalance =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 2, value);
  };

/**
 * optional double balance_bota = 3;
 * @return {number}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.getBalanceBota =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.setBalanceBota =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 3, value);
  };

/**
 * optional double balance_sum = 4;
 * @return {number}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.getBalanceSum =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceRequest.prototype.setBalanceSum =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 4, value);
  };

if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, 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_balance.UpdateMemberBalanceResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse();
    return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse
              .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_balance.UpdateMemberBalanceResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.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_<name>, 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_balance.UpdateMemberBalanceResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberBalance:
            (f = msg.getMemberBalance()) &&
            models_member_balance_pb.MemberBalance.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_balance.UpdateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result();
    return proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance_pb.MemberBalance();
          reader.readMessage(
            value,
            models_member_balance_pb.MemberBalance.deserializeBinaryFromReader
          );
          msg.setMemberBalance(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_balance.UpdateMemberBalanceResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberBalance();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_balance_pb.MemberBalance.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_balance.MemberBalance member_balance = 1;
 * @return {?proto.bet.beteran.member_balance.MemberBalance}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.prototype.getMemberBalance =
  function () {
    return /** @type{?proto.bet.beteran.member_balance.MemberBalance} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_balance_pb.MemberBalance,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_balance.MemberBalance|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.prototype.setMemberBalance =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.prototype.clearMemberBalance =
  function () {
    return this.setMemberBalance(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result.prototype.hasMemberBalance =
  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_balance.UpdateMemberBalanceResponse.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_balance.UpdateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.setError =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.clearError =
  function () {
    return this.setError(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.hasError =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.getResult =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse
          .Result,
        2
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.setResult =
  function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.prototype.clearResult =
  function () {
    return this.setResult(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.UpdateMemberBalanceResponse.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_<name>, 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_balance.DeleteMemberBalanceRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest();
    return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_balance.DeleteMemberBalanceRequest.prototype.getId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest} returns this
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceRequest.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_<name>, 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_balance.DeleteMemberBalanceResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse();
    return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse
              .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_balance.DeleteMemberBalanceResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.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_<name>, 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_balance.DeleteMemberBalanceResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result();
    return proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse.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_balance.DeleteMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.setError =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.clearError =
  function () {
    return this.setError(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.hasError =
  function () {
    return jspb.Message.getField(this, 1) != null;
  };

/**
 * optional Result result = 2;
 * @return {?proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.getResult =
  function () {
    return /** @type{?proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result} */ (
      jspb.Message.getWrapperField(
        this,
        proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse
          .Result,
        2
      )
    );
  };

/**
 * @param {?proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.Result|undefined} value
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.setResult =
  function (value) {
    return jspb.Message.setWrapperField(this, 2, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse} returns this
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.clearResult =
  function () {
    return this.setResult(undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_balance.DeleteMemberBalanceResponse.prototype.hasResult =
  function () {
    return jspb.Message.getField(this, 2) != null;
  };

goog.object.extend(exports, proto.bet.beteran.c2se.member_balance);
