type of response is changed

This commit is contained in:
병준 박 2022-08-19 06:55:29 +00:00
parent 3160d4d558
commit 2ba57fe71c
2 changed files with 17 additions and 12 deletions

View File

@ -78,8 +78,12 @@ export namespace CreateMemberReferrerResponse {
export class Result extends jspb.Message { export class Result extends jspb.Message {
hasMemberReferrer(): boolean; hasMemberReferrer(): boolean;
clearMemberReferrer(): void; clearMemberReferrer(): void;
getMemberReferrer(): models_member_referrer_pb.MemberReferrer | undefined; getMemberReferrer():
setMemberReferrer(value?: models_member_referrer_pb.MemberReferrer): void; | models_member_referrer_pb.MemberReferrerModel
| undefined;
setMemberReferrer(
value?: models_member_referrer_pb.MemberReferrerModel
): void;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject; toObject(includeInstance?: boolean): Result.AsObject;
@ -101,7 +105,7 @@ export namespace CreateMemberReferrerResponse {
export namespace Result { export namespace Result {
export type AsObject = { export type AsObject = {
memberReferrer?: models_member_referrer_pb.MemberReferrer.AsObject; memberReferrer?: models_member_referrer_pb.MemberReferrerModel.AsObject;
}; };
} }
} }

View File

@ -867,7 +867,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
obj = { obj = {
memberReferrer: memberReferrer:
(f = msg.getMemberReferrer()) && (f = msg.getMemberReferrer()) &&
models_member_referrer_pb.MemberReferrer.toObject( models_member_referrer_pb.MemberReferrerModel.toObject(
includeInstance, includeInstance,
f f
), ),
@ -912,10 +912,11 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.deser
var field = reader.getFieldNumber(); var field = reader.getFieldNumber();
switch (field) { switch (field) {
case 1: case 1:
var value = new models_member_referrer_pb.MemberReferrer(); var value = new models_member_referrer_pb.MemberReferrerModel();
reader.readMessage( reader.readMessage(
value, value,
models_member_referrer_pb.MemberReferrer.deserializeBinaryFromReader models_member_referrer_pb.MemberReferrerModel
.deserializeBinaryFromReader
); );
msg.setMemberReferrer(value); msg.setMemberReferrer(value);
break; break;
@ -956,28 +957,28 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.seria
writer.writeMessage( writer.writeMessage(
1, 1,
f, f,
models_member_referrer_pb.MemberReferrer.serializeBinaryToWriter models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
); );
} }
}; };
/** /**
* optional bet.beteran.member_referrer.MemberReferrer member_referrer = 1; * optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
* @return {?proto.bet.beteran.member_referrer.MemberReferrer} * @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
*/ */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.getMemberReferrer = proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.getMemberReferrer =
function () { function () {
return /** @type{?proto.bet.beteran.member_referrer.MemberReferrer} */ ( return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
jspb.Message.getWrapperField( jspb.Message.getWrapperField(
this, this,
models_member_referrer_pb.MemberReferrer, models_member_referrer_pb.MemberReferrerModel,
1 1
) )
); );
}; };
/** /**
* @param {?proto.bet.beteran.member_referrer.MemberReferrer|undefined} value * @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
* @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this * @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this
*/ */
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.setMemberReferrer = proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.setMemberReferrer =