// source: c2se/member_referrer.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_referrer_pb = require("../models/member_referrer_pb.js");
goog.object.extend(proto, models_member_referrer_pb);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse",
  null,
  global
);
goog.exportSymbol(
  "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.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_referrer.CreateMemberReferrerRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest";
}
/**
 * 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_referrer.CreateMemberReferrerResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse";
}
/**
 * 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_referrer.CreateMemberReferrerResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrersRequest = function (
  opt_data
) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest
      .repeatedFields_,
    null
  );
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest";
}
/**
 * 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_referrer.CreateMemberReferrersResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse";
}
/**
 * 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_referrer.CreateMemberReferrersResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(
      this,
      opt_data,
      0,
      -1,
      proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse
        .Result.repeatedFields_,
      null
    );
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.ListMemberReferrersRequest = function (
  opt_data
) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest
      .repeatedFields_,
    null
  );
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest";
}
/**
 * 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_referrer.ListMemberReferrersRequest.Search =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.displayName =
    "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse";
}
/**
 * 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_referrer.ListMemberReferrersResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(
      this,
      opt_data,
      0,
      -1,
      proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result
        .repeatedFields_,
      null
    );
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer.GetMemberReferrerRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest";
}
/**
 * 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_referrer.GetMemberReferrerResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse";
}
/**
 * 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_referrer.GetMemberReferrerResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerByCodeRequest =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest";
}
/**
 * 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_referrer.GetMemberReferrerByCodeResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse";
}
/**
 * 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_referrer.GetMemberReferrerByCodeResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.UpdateMemberReferrerRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest";
}
/**
 * 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_referrer.UpdateMemberReferrerResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse";
}
/**
 * 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_referrer.UpdateMemberReferrerResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.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_referrer.DeleteMemberReferrerRequest = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerRequest";
}
/**
 * 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_referrer.DeleteMemberReferrerResponse = function (
  opt_data
) {
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse";
}
/**
 * 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_referrer.DeleteMemberReferrerResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.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_referrer.DeleteMemberReferrersRequest = function (
  opt_data
) {
  jspb.Message.initialize(
    this,
    opt_data,
    0,
    -1,
    proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest
      .repeatedFields_,
    null
  );
};
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest";
}
/**
 * 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_referrer.DeleteMemberReferrersResponse =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse";
}
/**
 * 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_referrer.DeleteMemberReferrersResponse.Result =
  function (opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
goog.inherits(
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse.Result,
  jspb.Message
);
if (goog.DEBUG && !COMPILED) {
  /**
   * @public
   * @override
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse.Result.displayName =
    "proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersResponse.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_referrer.CreateMemberReferrerRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest();
    return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerRequest.prototype.getMemberId =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerRequest.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_referrer.CreateMemberReferrerResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse();
    return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse
              .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_referrer.CreateMemberReferrerResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse
          .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_referrer.CreateMemberReferrerResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberReferrer:
            (f = msg.getMemberReferrer()) &&
            models_member_referrer_pb.MemberReferrerModel.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_referrer.CreateMemberReferrerResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result();
    return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer_pb.MemberReferrerModel();
          reader.readMessage(
            value,
            models_member_referrer_pb.MemberReferrerModel
              .deserializeBinaryFromReader
          );
          msg.setMemberReferrer(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_referrer.CreateMemberReferrerResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrerResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberReferrer();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
 * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.getMemberReferrer =
  function () {
    return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.setMemberReferrer =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.clearMemberReferrer =
  function () {
    return this.setMemberReferrer(undefined);
  };

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.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_referrer.CreateMemberReferrersRequest.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_referrer.CreateMemberReferrersRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.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_referrer.CreateMemberReferrersRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberIdsList:
            (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : 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_referrer.CreateMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest();
    return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.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_referrer.CreateMemberReferrersRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.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.addMemberIds(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_referrer.CreateMemberReferrersRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.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_referrer.CreateMemberReferrersRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberIdsList();
    if (f.length > 0) {
      writer.writeRepeatedString(1, f);
    }
  };

/**
 * repeated string member_ids = 1;
 * @return {!Array<string>}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.prototype.getMemberIdsList =
  function () {
    return /** @type {!Array<string>} */ (
      jspb.Message.getRepeatedField(this, 1)
    );
  };

/**
 * @param {!Array<string>} value
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.prototype.setMemberIdsList =
  function (value) {
    return jspb.Message.setField(this, 1, value || []);
  };

/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.prototype.addMemberIds =
  function (value, opt_index) {
    return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
  };

/**
 * Clears the list making it empty but non-null.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersRequest.prototype.clearMemberIdsList =
  function () {
    return this.setMemberIdsList([]);
  };

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

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.CreateMemberReferrersResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.CreateMemberReferrersResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberReferrersList: jspb.Message.toObjectList(
            msg.getMemberReferrersList(),
            models_member_referrer_pb.MemberReferrerModel.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_referrer.CreateMemberReferrersResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result();
    return proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.CreateMemberReferrersResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer_pb.MemberReferrerModel();
          reader.readMessage(
            value,
            models_member_referrer_pb.MemberReferrerModel
              .deserializeBinaryFromReader
          );
          msg.addMemberReferrers(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_referrer.CreateMemberReferrersResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.CreateMemberReferrersResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberReferrersList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        1,
        f,
        models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
      );
    }
  };

/**
 * repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1;
 * @return {!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.prototype.getMemberReferrersList =
  function () {
    return /** @type{!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>} */ (
      jspb.Message.getRepeatedWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>} value
 * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.prototype.setMemberReferrersList =
  function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 1, value);
  };

/**
 * @param {!proto.bet.beteran.member_referrer.MemberReferrerModel=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.Result.prototype.addMemberReferrers =
  function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
      this,
      1,
      opt_value,
      proto.bet.beteran.member_referrer.MemberReferrerModel,
      opt_index
    );
  };

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

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrersResponse.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_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest();
    return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.Search();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest
              .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_referrer.ListMemberReferrersRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.Search.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.Search} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
          canUse: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
          memoLike: jspb.Message.getFieldWithDefault(msg, 3, ""),
        };

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

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search();
    return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.Search} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.deserializeBinaryFromReader =
  function (msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
        case 1:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemberId(value);
          break;
        case 2:
          var value = /** @type {boolean} */ (reader.readBool());
          msg.setCanUse(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemoLike(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_referrer.ListMemberReferrersRequest.Search.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.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_referrer.ListMemberReferrersRequest.Search} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = /** @type {string} */ (jspb.Message.getField(message, 1));
    if (f != null) {
      writer.writeString(1, f);
    }
    f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
    if (f != null) {
      writer.writeBool(2, f);
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 3));
    if (f != null) {
      writer.writeString(3, f);
    }
  };

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

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

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

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

/**
 * optional bool can_use = 2;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.getCanUse =
  function () {
    return /** @type {boolean} */ (
      jspb.Message.getBooleanFieldWithDefault(this, 2, false)
    );
  };

/**
 * @param {boolean} value
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.setCanUse =
  function (value) {
    return jspb.Message.setField(this, 2, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.clearCanUse =
  function () {
    return jspb.Message.setField(this, 2, undefined);
  };

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

/**
 * optional string memo_like = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.getMemoLike =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.setMemoLike =
  function (value) {
    return jspb.Message.setField(this, 3, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search} returns this
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.clearMemoLike =
  function () {
    return jspb.Message.setField(this, 3, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersRequest.Search.prototype.hasMemoLike =
  function () {
    return jspb.Message.getField(this, 3) != null;
  };

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

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

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

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

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

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

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

/**
 * List of repeated fields within this message type.
 * @private {!Array<number>}
 * @const
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer.ListMemberReferrersResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer.ListMemberReferrersResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberReferrersList: jspb.Message.toObjectList(
            msg.getMemberReferrersList(),
            models_member_referrer_pb.MemberReferrerModel.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_referrer.ListMemberReferrersResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result();
    return proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer.ListMemberReferrersResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer_pb.MemberReferrerModel();
          reader.readMessage(
            value,
            models_member_referrer_pb.MemberReferrerModel
              .deserializeBinaryFromReader
          );
          msg.addMemberReferrers(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_referrer.ListMemberReferrersResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.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_referrer.ListMemberReferrersResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberReferrersList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        1,
        f,
        models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
      );
    }
  };

/**
 * repeated bet.beteran.member_referrer.MemberReferrerModel member_referrers = 1;
 * @return {!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.getMemberReferrersList =
  function () {
    return /** @type{!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>} */ (
      jspb.Message.getRepeatedWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {!Array<!proto.bet.beteran.member_referrer.MemberReferrerModel>} value
 * @return {!proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.setMemberReferrersList =
  function (value) {
    return jspb.Message.setRepeatedWrapperField(this, 1, value);
  };

/**
 * @param {!proto.bet.beteran.member_referrer.MemberReferrerModel=} opt_value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.ListMemberReferrersResponse.Result.prototype.addMemberReferrers =
  function (opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(
      this,
      1,
      opt_value,
      proto.bet.beteran.member_referrer.MemberReferrerModel,
      opt_index
    );
  };

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

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

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

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

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

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

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

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

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerRequest.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_referrer.GetMemberReferrerResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse();
    return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse
              .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_referrer.GetMemberReferrerResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberReferrer:
            (f = msg.getMemberReferrer()) &&
            models_member_referrer_pb.MemberReferrerModel.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_referrer.GetMemberReferrerResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result();
    return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer_pb.MemberReferrerModel();
          reader.readMessage(
            value,
            models_member_referrer_pb.MemberReferrerModel
              .deserializeBinaryFromReader
          );
          msg.setMemberReferrer(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_referrer.GetMemberReferrerResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberReferrer();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
 * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.prototype.getMemberReferrer =
  function () {
    return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.prototype.setMemberReferrer =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.Result.prototype.clearMemberReferrer =
  function () {
    return this.setMemberReferrer(undefined);
  };

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerResponse.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_referrer.GetMemberReferrerByCodeRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.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_referrer.GetMemberReferrerByCodeRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          code: 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_referrer.GetMemberReferrerByCodeRequest}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest();
    return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.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_referrer.GetMemberReferrerByCodeRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.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.setCode(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_referrer.GetMemberReferrerByCodeRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.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_referrer.GetMemberReferrerByCodeRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getCode();
    if (f.length > 0) {
      writer.writeString(1, f);
    }
  };

/**
 * optional string code = 1;
 * @return {string}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.prototype.getCode =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 1, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeRequest.prototype.setCode =
  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_referrer.GetMemberReferrerByCodeResponse.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse();
    return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.Result();
          reader.readMessage(
            value,
            proto.bet.beteran.c2se.member_referrer
              .GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse
          .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_referrer.GetMemberReferrerByCodeResponse.Result.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.Result} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          memberReferrer:
            (f = msg.getMemberReferrer()) &&
            models_member_referrer_pb.MemberReferrerModel.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_referrer.GetMemberReferrerByCodeResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result();
    return proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.Result} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer_pb.MemberReferrerModel();
          reader.readMessage(
            value,
            models_member_referrer_pb.MemberReferrerModel
              .deserializeBinaryFromReader
          );
          msg.setMemberReferrer(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_referrer.GetMemberReferrerByCodeResponse.Result.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.GetMemberReferrerByCodeResponse.Result} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getMemberReferrer();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
      );
    }
  };

/**
 * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
 * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.prototype.getMemberReferrer =
  function () {
    return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.prototype.setMemberReferrer =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.Result.prototype.clearMemberReferrer =
  function () {
    return this.setMemberReferrer(undefined);
  };

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.GetMemberReferrerByCodeResponse.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_referrer.UpdateMemberReferrerRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.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_referrer.UpdateMemberReferrerRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          id: jspb.Message.getFieldWithDefault(msg, 1, ""),
          canUse: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
          memo: jspb.Message.getFieldWithDefault(msg, 3, ""),
        };

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

/**
 * Deserializes binary data (in protobuf wire format).
 * @param {jspb.ByteSource} bytes The bytes to deserialize.
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest();
    return proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.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_referrer.UpdateMemberReferrerRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.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.setCanUse(value);
          break;
        case 3:
          var value = /** @type {string} */ (reader.readString());
          msg.setMemo(value);
          break;
        default:
          reader.skipField();
          break;
      }
    }
    return msg;
  };

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

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

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

/**
 * optional bool can_use = 2;
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.prototype.getCanUse =
  function () {
    return /** @type {boolean} */ (
      jspb.Message.getBooleanFieldWithDefault(this, 2, false)
    );
  };

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

/**
 * optional string memo = 3;
 * @return {string}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.prototype.getMemo =
  function () {
    return /** @type {string} */ (
      jspb.Message.getFieldWithDefault(this, 3, "")
    );
  };

/**
 * @param {string} value
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.prototype.setMemo =
  function (value) {
    return jspb.Message.setField(this, 3, value);
  };

/**
 * Clears the field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.prototype.clearMemo =
  function () {
    return jspb.Message.setField(this, 3, undefined);
  };

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerRequest.prototype.hasMemo =
  function () {
    return jspb.Message.getField(this, 3) != null;
  };

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

/**
 * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
 * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result.prototype.getMemberReferrer =
  function () {
    return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
      jspb.Message.getWrapperField(
        this,
        models_member_referrer_pb.MemberReferrerModel,
        1
      )
    );
  };

/**
 * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result.prototype.setMemberReferrer =
  function (value) {
    return jspb.Message.setWrapperField(this, 1, value);
  };

/**
 * Clears the message field making it undefined.
 * @return {!proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result} returns this
 */
proto.bet.beteran.c2se.member_referrer.UpdateMemberReferrerResponse.Result.prototype.clearMemberReferrer =
  function () {
    return this.setMemberReferrer(undefined);
  };

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * Returns whether this field is set.
 * @return {boolean}
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrerResponse.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_referrer.DeleteMemberReferrersRequest.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_referrer.DeleteMemberReferrersRequest.prototype.toObject =
    function (opt_includeInstance) {
      return proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.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_referrer.DeleteMemberReferrersRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.toObject =
    function (includeInstance, msg) {
      var f,
        obj = {
          idsList:
            (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : 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_referrer.DeleteMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.deserializeBinary =
  function (bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg =
      new proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest();
    return proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.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_referrer.DeleteMemberReferrersRequest} msg The message object to deserialize into.
 * @param {!jspb.BinaryReader} reader The BinaryReader to use.
 * @return {!proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest}
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.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.addIds(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_referrer.DeleteMemberReferrersRequest.prototype.serializeBinary =
  function () {
    var writer = new jspb.BinaryWriter();
    proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.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_referrer.DeleteMemberReferrersRequest} message
 * @param {!jspb.BinaryWriter} writer
 * @suppress {unusedLocalVariables} f is only used for nested messages
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.serializeBinaryToWriter =
  function (message, writer) {
    var f = undefined;
    f = message.getIdsList();
    if (f.length > 0) {
      writer.writeRepeatedString(1, f);
    }
  };

/**
 * repeated string ids = 1;
 * @return {!Array<string>}
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.prototype.getIdsList =
  function () {
    return /** @type {!Array<string>} */ (
      jspb.Message.getRepeatedField(this, 1)
    );
  };

/**
 * @param {!Array<string>} value
 * @return {!proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.prototype.setIdsList =
  function (value) {
    return jspb.Message.setField(this, 1, value || []);
  };

/**
 * @param {string} value
 * @param {number=} opt_index
 * @return {!proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.prototype.addIds =
  function (value, opt_index) {
    return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
  };

/**
 * Clears the list making it empty but non-null.
 * @return {!proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest} returns this
 */
proto.bet.beteran.c2se.member_referrer.DeleteMemberReferrersRequest.prototype.clearIdsList =
  function () {
    return this.setIdsList([]);
  };

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

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

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

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

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

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

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

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