// source: c2se/member_settlement_setting.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_settlement_setting_pb = require("../models/member_settlement_setting_pb.js");
goog.object.extend(proto, models_member_settlement_setting_pb);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingRequest =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .CreateMemberSettlementSettingRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest";
}
/**
 * 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_settlement_setting.CreateMemberSettlementSettingResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .CreateMemberSettlementSettingResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse";
}
/**
 * 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_settlement_setting.CreateMemberSettlementSettingResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .CreateMemberSettlementSettingResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.ListMemberSettlementSettingsRequest =
  function (opt_data) {
    jspb.Message.initialize(
      this,
      opt_data,
      0,
      -1,
      proto.bet.beteran.c2se.member_settlement_setting
        .ListMemberSettlementSettingsRequest.repeatedFields_,
      null
    );
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .ListMemberSettlementSettingsRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest";
}
/**
 * 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_settlement_setting.ListMemberSettlementSettingsRequest.Search =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .ListMemberSettlementSettingsRequest.Search,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.Search.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .ListMemberSettlementSettingsResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse";
}
/**
 * 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_settlement_setting.ListMemberSettlementSettingsResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(
      this,
      opt_data,
      0,
      -1,
      proto.bet.beteran.c2se.member_settlement_setting
        .ListMemberSettlementSettingsResponse.Result.repeatedFields_,
      null
    );
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .ListMemberSettlementSettingsResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.GetMemberSettlementSettingRequest =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .GetMemberSettlementSettingRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest";
}
/**
 * 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_settlement_setting.GetMemberSettlementSettingResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .GetMemberSettlementSettingResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse";
}
/**
 * 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_settlement_setting.GetMemberSettlementSettingResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .GetMemberSettlementSettingResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingRequest =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .UpdateMemberSettlementSettingRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest";
}
/**
 * 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_settlement_setting.UpdateMemberSettlementSettingResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .UpdateMemberSettlementSettingResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse";
}
/**
 * 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_settlement_setting.UpdateMemberSettlementSettingResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .UpdateMemberSettlementSettingResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.DeleteMemberSettlementSettingRequest =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .DeleteMemberSettlementSettingRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingRequest";
}
/**
 * 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_settlement_setting.DeleteMemberSettlementSettingResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .DeleteMemberSettlementSettingResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse";
}
/**
 * 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_settlement_setting.DeleteMemberSettlementSettingResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_settlement_setting
    .DeleteMemberSettlementSettingResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_settlement_setting.DeleteMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest();
    return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingRequest.prototype.getMemberId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingRequest.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_settlement_setting.CreateMemberSettlementSettingResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse();
    return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_settlement_setting
              .CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting
          .CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberSettlementSetting:
            (f = msg.getMemberSettlementSetting()) &&
            models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.CreateMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result();
    return proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting();
          reader.readMessage(
            value,
            models_member_settlement_setting_pb.MemberSettlementSetting
              .deserializeBinaryFromReader
          );
          msg.setMemberSettlementSetting(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_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.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_settlement_setting.CreateMemberSettlementSettingResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberSettlementSetting();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_settlement_setting_pb.MemberSettlementSetting
          .serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
 * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting =
  function () {
    return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_settlement_setting_pb.MemberSettlementSetting,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.CreateMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting =
  function () {
    return this.setMemberSettlementSetting(undefined);
  };

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

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

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

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.setPagination =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest.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_settlement_setting.ListMemberSettlementSettingsRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsRequest.prototype.clearSortsList =
  function () {
    return this.setSortsList([]);
  };

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

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

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

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

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.repeatedFields_ =
  [1];

if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<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_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberSettlementSettingsList: jspb.Message.toObjectList(
            msg.getMemberSettlementSettingsList(),
            models_member_settlement_setting_pb.MemberSettlementSetting
              .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_settlement_setting.ListMemberSettlementSettingsResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result();
    return proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting_pb.MemberSettlementSetting();
          reader.readMessage(
            value,
            models_member_settlement_setting_pb.MemberSettlementSetting
              .deserializeBinaryFromReader
          );
          msg.addMemberSettlementSettings(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_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.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_settlement_setting.ListMemberSettlementSettingsResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberSettlementSettingsList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        1,
        f,
        models_member_settlement_setting_pb.MemberSettlementSetting
          .serializeBinaryToWriter
      );
    }
  };

/**
 * repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1;
 * @return {!Array<!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting>}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.getMemberSettlementSettingsList =
  function () {
    return /** @type{!Array<!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting>} */ (
      jspb.Message.getRepeatedWrapperField(
        this,
        models_member_settlement_setting_pb.MemberSettlementSetting,
        1
      )
    );
  };

/**
 * @param {!Array<!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting>} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.setMemberSettlementSettingsList =
  function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 1, value);
  };

/**
 * @param {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
 */
proto.bet.beteran.c2se.member_settlement_setting.ListMemberSettlementSettingsResponse.Result.prototype.addMemberSettlementSettings =
  function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
      this,
      1,
      opt_value,
      proto.bet.beteran.member_settlement_setting.MemberSettlementSetting,
      opt_index
    );
  };

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

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

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

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

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

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

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

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

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingRequest.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_settlement_setting.GetMemberSettlementSettingResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse();
    return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_settlement_setting
              .GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting
          .GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberSettlementSetting:
            (f = msg.getMemberSettlementSetting()) &&
            models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.GetMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result();
    return proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting();
          reader.readMessage(
            value,
            models_member_settlement_setting_pb.MemberSettlementSetting
              .deserializeBinaryFromReader
          );
          msg.setMemberSettlementSetting(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_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.GetMemberSettlementSettingResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberSettlementSetting();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_settlement_setting_pb.MemberSettlementSetting
          .serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
 * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting =
  function () {
    return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_settlement_setting_pb.MemberSettlementSetting,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting =
  function () {
    return this.setMemberSettlementSetting(undefined);
  };

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.GetMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.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_settlement_setting.UpdateMemberSettlementSettingRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          id: jspb.Message.getFieldWithDefault(msg, 1, ""),
          canExchange: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
          canFirstChargeComp: jspb.Message.getBooleanFieldWithDefault(
            msg,
            3,
            false
          ),
          canPerChargeComp: jspb.Message.getBooleanFieldWithDefault(
            msg,
            4,
            false
          ),
          settlementType: jspb.Message.getFieldWithDefault(msg, 5, 0),
          manualPaymentTypeForPartner: jspb.Message.getFieldWithDefault(
            msg,
            6,
            0
          ),
          rateCasino: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            7,
            0.0
          ),
          rateCasinoLoosing: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            8,
            0.0
          ),
          rateCasinoBacara: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            9,
            0.0
          ),
          rateCasinoRoulette: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            10,
            0.0
          ),
          rateCasinoDragonTiger: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            11,
            0.0
          ),
          rateSlot: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
          rateSlotLoosing: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            13,
            0.0
          ),
          ratePowerballSingle: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            14,
            0.0
          ),
          ratePowerballCombo: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            15,
            0.0
          ),
          ratePowerladderSingle: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            16,
            0.0
          ),
          ratePowerladderCombo: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            17,
            0.0
          ),
          rateEosSingle: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            18,
            0.0
          ),
          rateEosCombo: jspb.Message.getFloatingPointFieldWithDefault(
            msg,
            19,
            0.0
          ),
          rateBogglepowerballSingle:
            jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
          rateBogglepowerballCombo:
            jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
        };

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

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest();
    return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.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_settlement_setting.UpdateMemberSettlementSettingRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setId(value);
          break;
        case 2:
          var value = /** @type {boolean} */ (reader.readBool());
          msg.setCanExchange(value);
          break;
        case 3:
          var value = /** @type {boolean} */ (reader.readBool());
          msg.setCanFirstChargeComp(value);
          break;
        case 4:
          var value = /** @type {boolean} */ (reader.readBool());
          msg.setCanPerChargeComp(value);
          break;
        case 5:
          var value =
            /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ (
              reader.readEnum()
            );
          msg.setSettlementType(value);
          break;
        case 6:
          var value =
            /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ (
              reader.readEnum()
            );
          msg.setManualPaymentTypeForPartner(value);
          break;
        case 7:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateCasino(value);
          break;
        case 8:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateCasinoLoosing(value);
          break;
        case 9:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateCasinoBacara(value);
          break;
        case 10:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateCasinoRoulette(value);
          break;
        case 11:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateCasinoDragonTiger(value);
          break;
        case 12:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateSlot(value);
          break;
        case 13:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateSlotLoosing(value);
          break;
        case 14:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRatePowerballSingle(value);
          break;
        case 15:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRatePowerballCombo(value);
          break;
        case 16:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRatePowerladderSingle(value);
          break;
        case 17:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRatePowerladderCombo(value);
          break;
        case 18:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateEosSingle(value);
          break;
        case 19:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateEosCombo(value);
          break;
        case 20:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateBogglepowerballSingle(value);
          break;
        case 21:
          var value = /** @type {number} */ (reader.readDouble());
          msg.setRateBogglepowerballCombo(value);
          break;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

/**
 * Serializes the message to binary data (in protobuf wire format).
 * @return {!Uint8Array}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.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_settlement_setting.UpdateMemberSettlementSettingRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getId();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
    f = message.getCanExchange();
    if (f) {
      writer.writeBool(2, f);
    }
    f = message.getCanFirstChargeComp();
    if (f) {
      writer.writeBool(3, f);
    }
    f = message.getCanPerChargeComp();
    if (f) {
      writer.writeBool(4, f);
    }
    f = message.getSettlementType();
    if (f !== 0.0) {
      writer.writeEnum(5, f);
    }
    f = message.getManualPaymentTypeForPartner();
    if (f !== 0.0) {
      writer.writeEnum(6, f);
    }
    f = message.getRateCasino();
    if (f !== 0.0) {
      writer.writeDouble(7, f);
    }
    f = message.getRateCasinoLoosing();
    if (f !== 0.0) {
      writer.writeDouble(8, f);
    }
    f = message.getRateCasinoBacara();
    if (f !== 0.0) {
      writer.writeDouble(9, f);
    }
    f = message.getRateCasinoRoulette();
    if (f !== 0.0) {
      writer.writeDouble(10, f);
    }
    f = message.getRateCasinoDragonTiger();
    if (f !== 0.0) {
      writer.writeDouble(11, f);
    }
    f = message.getRateSlot();
    if (f !== 0.0) {
      writer.writeDouble(12, f);
    }
    f = message.getRateSlotLoosing();
    if (f !== 0.0) {
      writer.writeDouble(13, f);
    }
    f = message.getRatePowerballSingle();
    if (f !== 0.0) {
      writer.writeDouble(14, f);
    }
    f = message.getRatePowerballCombo();
    if (f !== 0.0) {
      writer.writeDouble(15, f);
    }
    f = message.getRatePowerladderSingle();
    if (f !== 0.0) {
      writer.writeDouble(16, f);
    }
    f = message.getRatePowerladderCombo();
    if (f !== 0.0) {
      writer.writeDouble(17, f);
    }
    f = message.getRateEosSingle();
    if (f !== 0.0) {
      writer.writeDouble(18, f);
    }
    f = message.getRateEosCombo();
    if (f !== 0.0) {
      writer.writeDouble(19, f);
    }
    f = message.getRateBogglepowerballSingle();
    if (f !== 0.0) {
      writer.writeDouble(20, f);
    }
    f = message.getRateBogglepowerballCombo();
    if (f !== 0.0) {
      writer.writeDouble(21, f);
    }
  };

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

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

/**
 * optional bool can_exchange = 2;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanExchange =
  function () {
    return /** @type {boolean} */ (
      jspb.Message.getBooleanFieldWithDefault(this, 2, false)
    );
  };

/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanExchange =
  function (value) {
    return jspb.Message.setProto3BooleanField(this, 2, value);
  };

/**
 * optional bool can_first_charge_comp = 3;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanFirstChargeComp =
  function () {
    return /** @type {boolean} */ (
      jspb.Message.getBooleanFieldWithDefault(this, 3, false)
    );
  };

/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanFirstChargeComp =
  function (value) {
    return jspb.Message.setProto3BooleanField(this, 3, value);
  };

/**
 * optional bool can_per_charge_comp = 4;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getCanPerChargeComp =
  function () {
    return /** @type {boolean} */ (
      jspb.Message.getBooleanFieldWithDefault(this, 4, false)
    );
  };

/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setCanPerChargeComp =
  function (value) {
    return jspb.Message.setProto3BooleanField(this, 4, value);
  };

/**
 * optional bet.beteran.member_settlement_setting.SettlementType settlement_type = 5;
 * @return {!proto.bet.beteran.member_settlement_setting.SettlementType}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getSettlementType =
  function () {
    return /** @type {!proto.bet.beteran.member_settlement_setting.SettlementType} */ (
      jspb.Message.getFieldWithDefault(this, 5, 0)
    );
  };

/**
 * @param {!proto.bet.beteran.member_settlement_setting.SettlementType} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setSettlementType =
  function (value) {
    return jspb.Message.setProto3EnumField(this, 5, value);
  };

/**
 * optional bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6;
 * @return {!proto.bet.beteran.member_settlement_setting.ManualPaymentType}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getManualPaymentTypeForPartner =
  function () {
    return /** @type {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} */ (
      jspb.Message.getFieldWithDefault(this, 6, 0)
    );
  };

/**
 * @param {!proto.bet.beteran.member_settlement_setting.ManualPaymentType} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setManualPaymentTypeForPartner =
  function (value) {
    return jspb.Message.setProto3EnumField(this, 6, value);
  };

/**
 * optional double rate_casino = 7;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasino =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasino =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 7, value);
  };

/**
 * optional double rate_casino_loosing = 8;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoLoosing =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoLoosing =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 8, value);
  };

/**
 * optional double rate_casino_bacara = 9;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoBacara =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoBacara =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 9, value);
  };

/**
 * optional double rate_casino_roulette = 10;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoRoulette =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoRoulette =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 10, value);
  };

/**
 * optional double rate_casino_dragon_tiger = 11;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateCasinoDragonTiger =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateCasinoDragonTiger =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 11, value);
  };

/**
 * optional double rate_slot = 12;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateSlot =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateSlot =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 12, value);
  };

/**
 * optional double rate_slot_loosing = 13;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateSlotLoosing =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateSlotLoosing =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 13, value);
  };

/**
 * optional double rate_powerball_single = 14;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerballSingle =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerballSingle =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 14, value);
  };

/**
 * optional double rate_powerball_combo = 15;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerballCombo =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerballCombo =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 15, value);
  };

/**
 * optional double rate_powerladder_single = 16;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerladderSingle =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerladderSingle =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 16, value);
  };

/**
 * optional double rate_powerladder_combo = 17;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRatePowerladderCombo =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRatePowerladderCombo =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 17, value);
  };

/**
 * optional double rate_eos_single = 18;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateEosSingle =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateEosSingle =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 18, value);
  };

/**
 * optional double rate_eos_combo = 19;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateEosCombo =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateEosCombo =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 19, value);
  };

/**
 * optional double rate_bogglepowerball_single = 20;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateBogglepowerballSingle =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 20, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateBogglepowerballSingle =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 20, value);
  };

/**
 * optional double rate_bogglepowerball_combo = 21;
 * @return {number}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.getRateBogglepowerballCombo =
  function () {
    return /** @type {number} */ (
      jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0)
    );
  };

/**
 * @param {number} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingRequest.prototype.setRateBogglepowerballCombo =
  function (value) {
    return jspb.Message.setProto3FloatField(this, 21, 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_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse();
    return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_settlement_setting
              .UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting
          .UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberSettlementSetting:
            (f = msg.getMemberSettlementSetting()) &&
            models_member_settlement_setting_pb.MemberSettlementSetting.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result();
    return proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting_pb.MemberSettlementSetting();
          reader.readMessage(
            value,
            models_member_settlement_setting_pb.MemberSettlementSetting
              .deserializeBinaryFromReader
          );
          msg.setMemberSettlementSetting(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_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.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_settlement_setting.UpdateMemberSettlementSettingResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberSettlementSetting();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_settlement_setting_pb.MemberSettlementSetting
          .serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1;
 * @return {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting}
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.getMemberSettlementSetting =
  function () {
    return /** @type{?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_settlement_setting_pb.MemberSettlementSetting,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_settlement_setting.MemberSettlementSetting|undefined} value
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.setMemberSettlementSetting =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_settlement_setting.UpdateMemberSettlementSettingResponse.Result.prototype.clearMemberSettlementSetting =
  function () {
    return this.setMemberSettlementSetting(undefined);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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