bug fixed
This commit is contained in:
parent
f52d6a1a6e
commit
693d27555b
|
@ -118,7 +118,7 @@ export namespace CreateMemberLevelResponse {
|
|||
}
|
||||
}
|
||||
|
||||
export class ListMemberLevelesRequest extends jspb.Message {
|
||||
export class ListMemberLevelsRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
|
||||
|
@ -146,27 +146,27 @@ export class ListMemberLevelesRequest extends jspb.Message {
|
|||
setNameLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelesRequest.AsObject;
|
||||
toObject(includeInstance?: boolean): ListMemberLevelsRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListMemberLevelesRequest
|
||||
): ListMemberLevelesRequest.AsObject;
|
||||
msg: ListMemberLevelsRequest
|
||||
): ListMemberLevelsRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListMemberLevelesRequest,
|
||||
message: ListMemberLevelsRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelesRequest;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMemberLevelsRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListMemberLevelesRequest,
|
||||
message: ListMemberLevelsRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListMemberLevelesRequest;
|
||||
): ListMemberLevelsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMemberLevelesRequest {
|
||||
export namespace ListMemberLevelsRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||
|
@ -353,14 +353,12 @@ export class UpdateMemberLevelRequest extends jspb.Message {
|
|||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasParentId(): boolean;
|
||||
clearParentId(): void;
|
||||
getParentId(): string;
|
||||
setParentId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getSortOrder(): number;
|
||||
setSortOrder(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMemberLevelRequest.AsObject;
|
||||
static toObject(
|
||||
|
@ -385,8 +383,8 @@ export class UpdateMemberLevelRequest extends jspb.Message {
|
|||
export namespace UpdateMemberLevelRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
parentId: string;
|
||||
name: string;
|
||||
sortOrder: number;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ goog.exportSymbol(
|
|||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest",
|
||||
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest",
|
||||
null,
|
||||
global
|
||||
);
|
||||
|
@ -202,20 +202,21 @@ if (goog.DEBUG && !COMPILED) {
|
|||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest =
|
||||
function (opt_data) {
|
||||
jspb.Message.initialize(
|
||||
this,
|
||||
opt_data,
|
||||
0,
|
||||
-1,
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest
|
||||
.repeatedFields_,
|
||||
null
|
||||
);
|
||||
};
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(
|
||||
this,
|
||||
opt_data,
|
||||
0,
|
||||
-1,
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest
|
||||
.repeatedFields_,
|
||||
null
|
||||
);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest,
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
|
@ -223,8 +224,8 @@ if (goog.DEBUG && !COMPILED) {
|
|||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest";
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
|
@ -1098,7 +1099,7 @@ proto.bet.beteran.c2se.backend.member_level.CreateMemberLevelResponse.prototype.
|
|||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.repeatedFields_ =
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.repeatedFields_ =
|
||||
[2, 3];
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -1114,9 +1115,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
* http://goto/soy-param-migration
|
||||
* @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) {
|
||||
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.toObject(
|
||||
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.toObject(
|
||||
opt_includeInstance,
|
||||
this
|
||||
);
|
||||
|
@ -1127,11 +1128,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
* @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.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}
|
||||
* @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) {
|
||||
var f,
|
||||
obj = {
|
||||
|
@ -1164,14 +1165,14 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @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) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest();
|
||||
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserializeBinaryFromReader(
|
||||
new proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest();
|
||||
return proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
|
@ -1180,11 +1181,11 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.deserialize
|
|||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* 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.
|
||||
* @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) {
|
||||
while (reader.nextField()) {
|
||||
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).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.serializeBinary =
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.serializeBinaryToWriter(
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.serializeBinaryToWriter(
|
||||
this,
|
||||
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
|
||||
* 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
|
||||
* @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) {
|
||||
var f = undefined;
|
||||
f = message.getPagination();
|
||||
|
@ -1287,7 +1288,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.serializeBi
|
|||
* optional bet.protobuf.pagination.Pagination pagination = 1;
|
||||
* @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 () {
|
||||
return /** @type{?proto.bet.protobuf.pagination.Pagination} */ (
|
||||
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
|
||||
* @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) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* 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 () {
|
||||
return this.setPagination(undefined);
|
||||
};
|
||||
|
@ -1320,7 +1321,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
|
|||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.hasPagination =
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.hasPagination =
|
||||
function () {
|
||||
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;
|
||||
* @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 () {
|
||||
return /** @type{!Array<!proto.bet.protobuf.pagination.Search>} */ (
|
||||
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
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
return jspb.Message.addToRepeatedWrapperField(
|
||||
this,
|
||||
|
@ -1367,9 +1368,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.a
|
|||
|
||||
/**
|
||||
* 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 () {
|
||||
return this.setSearchesList([]);
|
||||
};
|
||||
|
@ -1378,7 +1379,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
|
|||
* repeated bet.protobuf.pagination.Sort sorts = 3;
|
||||
* @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 () {
|
||||
return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ (
|
||||
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
|
||||
* @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) {
|
||||
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
|
||||
* @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) {
|
||||
return jspb.Message.addToRepeatedWrapperField(
|
||||
this,
|
||||
|
@ -1416,9 +1417,9 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.a
|
|||
|
||||
/**
|
||||
* 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 () {
|
||||
return this.setSortsList([]);
|
||||
};
|
||||
|
@ -1427,7 +1428,7 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.c
|
|||
* optional string name_like = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.getNameLike =
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.getNameLike =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
|
@ -1436,18 +1437,18 @@ proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.g
|
|||
|
||||
/**
|
||||
* @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) {
|
||||
return jspb.Message.setField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* 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 () {
|
||||
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.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelesRequest.prototype.hasNameLike =
|
||||
proto.bet.beteran.c2se.backend.member_level.ListMemberLevelsRequest.prototype.hasNameLike =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 4) != null;
|
||||
};
|
||||
|
@ -2459,8 +2460,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
parentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
sortOrder: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -2507,11 +2508,11 @@ proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.deserialize
|
|||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setParentId(value);
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
var value = /** @type {number} */ (reader.readUint32());
|
||||
msg.setSortOrder(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
|
@ -2549,13 +2550,13 @@ proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.serializeBi
|
|||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
||||
if (f != null) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getName();
|
||||
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}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getParentId =
|
||||
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
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
|
||||
* @return {!proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member_level.UpdateMemberLevelRequest.prototype.setName =
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user