bug fixed

This commit is contained in:
병준 박 2022-08-12 09:40:43 +00:00
parent f52d6a1a6e
commit 693d27555b
2 changed files with 101 additions and 122 deletions

View File

@ -118,7 +118,7 @@ export namespace CreateMemberLevelResponse {
} }
} }
export class ListMemberLevelesRequest extends jspb.Message { export class ListMemberLevelsRequest extends jspb.Message {
hasPagination(): boolean; hasPagination(): boolean;
clearPagination(): void; clearPagination(): void;
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined; getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
@ -146,27 +146,27 @@ export class ListMemberLevelesRequest extends jspb.Message {
setNameLike(value: string): void; setNameLike(value: string): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ListMemberLevelesRequest.AsObject; toObject(includeInstance?: boolean): ListMemberLevelsRequest.AsObject;
static toObject( static toObject(
includeInstance: boolean, includeInstance: boolean,
msg: ListMemberLevelesRequest msg: ListMemberLevelsRequest
): ListMemberLevelesRequest.AsObject; ): ListMemberLevelsRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }; static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: { static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>; [key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
}; };
static serializeBinaryToWriter( static serializeBinaryToWriter(
message: ListMemberLevelesRequest, message: ListMemberLevelsRequest,
writer: jspb.BinaryWriter writer: jspb.BinaryWriter
): void; ): void;
static deserializeBinary(bytes: Uint8Array): ListMemberLevelesRequest; static deserializeBinary(bytes: Uint8Array): ListMemberLevelsRequest;
static deserializeBinaryFromReader( static deserializeBinaryFromReader(
message: ListMemberLevelesRequest, message: ListMemberLevelsRequest,
reader: jspb.BinaryReader reader: jspb.BinaryReader
): ListMemberLevelesRequest; ): ListMemberLevelsRequest;
} }
export namespace ListMemberLevelesRequest { export namespace ListMemberLevelsRequest {
export type AsObject = { export type AsObject = {
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject; pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>; searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
@ -353,14 +353,12 @@ export class UpdateMemberLevelRequest extends jspb.Message {
getId(): string; getId(): string;
setId(value: string): void; setId(value: string): void;
hasParentId(): boolean;
clearParentId(): void;
getParentId(): string;
setParentId(value: string): void;
getName(): string; getName(): string;
setName(value: string): void; setName(value: string): void;
getSortOrder(): number;
setSortOrder(value: number): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject; toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject;
static toObject( static toObject(
@ -385,8 +383,8 @@ export class UpdateMemberLevelRequest extends jspb.Message {
export namespace UpdateMemberLevelRequest { export namespace UpdateMemberLevelRequest {
export type AsObject = { export type AsObject = {
id: string; id: string;
parentId: string;
name: string; name: string;
sortOrder: number;
}; };
} }

View File

@ -73,7 +73,7 @@ goog.exportSymbol(
global global
); );
goog.exportSymbol( goog.exportSymbol(
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest", "proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest",
null, null,
global global
); );
@ -202,20 +202,21 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message} * @extends {jspb.Message}
* @constructor * @constructor
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest = function (
function (opt_data) { opt_data
jspb.Message.initialize( ) {
this, jspb.Message.initialize(
opt_data, this,
0, opt_data,
-1, 0,
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest -1,
.repeatedFields_, proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest
null .repeatedFields_,
); null
}; );
};
goog.inherits( goog.inherits(
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest, proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest,
jspb.Message jspb.Message
); );
if (goog.DEBUG && !COMPILED) { if (goog.DEBUG && !COMPILED) {
@ -223,8 +224,8 @@ if (goog.DEBUG && !COMPILED) {
* @public * @public
* @override * @override
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.displayName = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.displayName =
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest"; "proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest";
} }
/** /**
* Generated by JsPbCodeGenerator. * Generated by JsPbCodeGenerator.
@ -1098,7 +1099,7 @@ proto.bet.beteran.c2se.backend.member_level.CreateMemberLevelResponse.prototype.
* @private {!Array<number>} * @private {!Array<number>}
* @const * @const
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.repeatedFields_ = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.repeatedFields_ =
[2, 3]; [2, 3];
if (jspb.Message.GENERATE_TO_OBJECT) { if (jspb.Message.GENERATE_TO_OBJECT) {
@ -1114,9 +1115,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration * http://goto/soy-param-migration
* @return {!Object} * @return {!Object}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.toObject = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.toObject =
function (opt_includeInstance) { function (opt_includeInstance) {
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.toObject( return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.toObject(
opt_includeInstance, opt_includeInstance,
this this
); );
@ -1127,11 +1128,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* @param {boolean|undefined} includeInstance Deprecated. Whether to include * @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support: * the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration * http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} msg The msg instance to transform. * @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} msg The msg instance to transform.
* @return {!Object} * @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages * @suppress {unusedLocalVariables} f is only used for nested messages
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.toObject = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.toObject =
function (includeInstance, msg) { function (includeInstance, msg) {
var f, var f,
obj = { obj = {
@ -1164,14 +1165,14 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
/** /**
* Deserializes binary data (in protobuf wire format). * Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize. * @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserializeBinary = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.deserializeBinary =
function (bytes) { function (bytes) {
var reader = new jspb.BinaryReader(bytes); var reader = new jspb.BinaryReader(bytes);
var msg = var msg =
new proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest(); new proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest();
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserializeBinaryFromReader( return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader(
msg, msg,
reader reader
); );
@ -1180,11 +1181,11 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserialize
/** /**
* Deserializes binary data (in protobuf wire format) from the * Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object. * given reader into the given message object.
* @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} msg The message object to deserialize into. * @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use. * @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserializeBinaryFromReader = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader =
function (msg, reader) { function (msg, reader) {
while (reader.nextField()) { while (reader.nextField()) {
if (reader.isEndGroup()) { if (reader.isEndGroup()) {
@ -1233,10 +1234,10 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserialize
* Serializes the message to binary data (in protobuf wire format). * Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array} * @return {!Uint8Array}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.serializeBinary = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.serializeBinary =
function () { function () {
var writer = new jspb.BinaryWriter(); var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.serializeBinaryToWriter( proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.serializeBinaryToWriter(
this, this,
writer writer
); );
@ -1246,11 +1247,11 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.s
/** /**
* Serializes the given message to binary data (in protobuf wire * Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter. * format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} message * @param {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} message
* @param {!jspb.BinaryWriter} writer * @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages * @suppress {unusedLocalVariables} f is only used for nested messages
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.serializeBinaryToWriter = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.serializeBinaryToWriter =
function (message, writer) { function (message, writer) {
var f = undefined; var f = undefined;
f = message.getPagination(); f = message.getPagination();
@ -1287,7 +1288,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.serializeBi
* optional bet.protobuf.pagination.Pagination pagination = 1; * optional bet.protobuf.pagination.Pagination pagination = 1;
* @return {?proto.bet.protobuf.pagination.Pagination} * @return {?proto.bet.protobuf.pagination.Pagination}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.getPagination = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.getPagination =
function () { function () {
return /** @type{?proto.bet.protobuf.pagination.Pagination} */ ( return /** @type{?proto.bet.protobuf.pagination.Pagination} */ (
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
@ -1300,18 +1301,18 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.g
/** /**
* @param {?proto.bet.protobuf.pagination.Pagination|undefined} value * @param {?proto.bet.protobuf.pagination.Pagination|undefined} value
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.setPagination = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.setPagination =
function (value) { function (value) {
return jspb.Message.setWrapperField(this, 1, value); return jspb.Message.setWrapperField(this, 1, value);
}; };
/** /**
* Clears the message field making it undefined. * Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.clearPagination = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.clearPagination =
function () { function () {
return this.setPagination(undefined); return this.setPagination(undefined);
}; };
@ -1320,7 +1321,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
* Returns whether this field is set. * Returns whether this field is set.
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.hasPagination = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.hasPagination =
function () { function () {
return jspb.Message.getField(this, 1) != null; return jspb.Message.getField(this, 1) != null;
}; };
@ -1329,7 +1330,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.h
* repeated bet.protobuf.pagination.Search searches = 2; * repeated bet.protobuf.pagination.Search searches = 2;
* @return {!Array<!proto.bet.protobuf.pagination.Search>} * @return {!Array<!proto.bet.protobuf.pagination.Search>}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.getSearchesList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.getSearchesList =
function () { function () {
return /** @type{!Array<!proto.bet.protobuf.pagination.Search>} */ ( return /** @type{!Array<!proto.bet.protobuf.pagination.Search>} */ (
jspb.Message.getRepeatedWrapperField( jspb.Message.getRepeatedWrapperField(
@ -1342,9 +1343,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.g
/** /**
* @param {!Array<!proto.bet.protobuf.pagination.Search>} value * @param {!Array<!proto.bet.protobuf.pagination.Search>} value
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.setSearchesList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.setSearchesList =
function (value) { function (value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value); return jspb.Message.setRepeatedWrapperField(this, 2, value);
}; };
@ -1354,7 +1355,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.s
* @param {number=} opt_index * @param {number=} opt_index
* @return {!proto.bet.protobuf.pagination.Search} * @return {!proto.bet.protobuf.pagination.Search}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.addSearches = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.addSearches =
function (opt_value, opt_index) { function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField( return jspb.Message.addToRepeatedWrapperField(
this, this,
@ -1367,9 +1368,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.a
/** /**
* Clears the list making it empty but non-null. * Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.clearSearchesList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.clearSearchesList =
function () { function () {
return this.setSearchesList([]); return this.setSearchesList([]);
}; };
@ -1378,7 +1379,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
* repeated bet.protobuf.pagination.Sort sorts = 3; * repeated bet.protobuf.pagination.Sort sorts = 3;
* @return {!Array<!proto.bet.protobuf.pagination.Sort>} * @return {!Array<!proto.bet.protobuf.pagination.Sort>}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.getSortsList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.getSortsList =
function () { function () {
return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ ( return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ (
jspb.Message.getRepeatedWrapperField( jspb.Message.getRepeatedWrapperField(
@ -1391,9 +1392,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.g
/** /**
* @param {!Array<!proto.bet.protobuf.pagination.Sort>} value * @param {!Array<!proto.bet.protobuf.pagination.Sort>} value
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.setSortsList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.setSortsList =
function (value) { function (value) {
return jspb.Message.setRepeatedWrapperField(this, 3, value); return jspb.Message.setRepeatedWrapperField(this, 3, value);
}; };
@ -1403,7 +1404,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.s
* @param {number=} opt_index * @param {number=} opt_index
* @return {!proto.bet.protobuf.pagination.Sort} * @return {!proto.bet.protobuf.pagination.Sort}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.addSorts = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.addSorts =
function (opt_value, opt_index) { function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField( return jspb.Message.addToRepeatedWrapperField(
this, this,
@ -1416,9 +1417,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.a
/** /**
* Clears the list making it empty but non-null. * Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.clearSortsList = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.clearSortsList =
function () { function () {
return this.setSortsList([]); return this.setSortsList([]);
}; };
@ -1427,7 +1428,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
* optional string name_like = 4; * optional string name_like = 4;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.getNameLike = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.getNameLike =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "") jspb.Message.getFieldWithDefault(this, 4, "")
@ -1436,18 +1437,18 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.g
/** /**
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.setNameLike = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.setNameLike =
function (value) { function (value) {
return jspb.Message.setField(this, 4, value); return jspb.Message.setField(this, 4, value);
}; };
/** /**
* Clears the field making it undefined. * Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.clearNameLike = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.clearNameLike =
function () { function () {
return jspb.Message.setField(this, 4, undefined); return jspb.Message.setField(this, 4, undefined);
}; };
@ -1456,7 +1457,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
* Returns whether this field is set. * Returns whether this field is set.
* @return {boolean} * @return {boolean}
*/ */
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.hasNameLike = proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.hasNameLike =
function () { function () {
return jspb.Message.getField(this, 4) != null; return jspb.Message.getField(this, 4) != null;
}; };
@ -2459,8 +2460,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
var f, var f,
obj = { obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""), id: jspb.Message.getFieldWithDefault(msg, 1, ""),
parentId: jspb.Message.getFieldWithDefault(msg, 2, ""), name: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""), sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
}; };
if (includeInstance) { if (includeInstance) {
@ -2507,11 +2508,11 @@ proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.deserialize
break; break;
case 2: case 2:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setParentId(value); msg.setName(value);
break; break;
case 3: case 3:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {number} */ (reader.readUint32());
msg.setName(value); msg.setSortOrder(value);
break; break;
default: default:
reader.skipField(); reader.skipField();
@ -2549,13 +2550,13 @@ proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.serializeBi
if (f.length > 0) { if (f.length > 0) {
writer.writeString(1, f); writer.writeString(1, f);
} }
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(2, f);
}
f = message.getName(); f = message.getName();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(3, f); writer.writeString(2, f);
}
f = message.getSortOrder();
if (f !== 0) {
writer.writeUint32(3, f);
} }
}; };
@ -2580,61 +2581,41 @@ proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.s
}; };
/** /**
* optional string parent_id = 2; * optional string name = 2;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getParentId = proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getName =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "") jspb.Message.getFieldWithDefault(this, 2, "")
); );
}; };
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.setParentId =
function (value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.clearParentId =
function () {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.hasParentId =
function () {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string name = 3;
* @return {string}
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getName =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
/** /**
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this * @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this
*/ */
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.setName = proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.setName =
function (value) { function (value) {
return jspb.Message.setProto3StringField(this, 3, value); return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional uint32 sort_order = 3;
* @return {number}
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getSortOrder =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this
*/
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.setSortOrder =
function (value) {
return jspb.Message.setProto3IntField(this, 3, value);
}; };
if (jspb.Message.GENERATE_TO_OBJECT) { if (jspb.Message.GENERATE_TO_OBJECT) {