bank is added
This commit is contained in:
parent
79f2c4250c
commit
9d8ae0eed2
9
src/app/modules/protobuf/c2se/backend/account_pb.d.ts
vendored
Normal file
9
src/app/modules/protobuf/c2se/backend/account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
// package:
|
||||
// file: c2se/backend/account.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_CREATE_BANK: string;
|
||||
export const SUBJECT_LIST_BANKS: string;
|
||||
export const SUBJECT_UPDATE_BANK: string;
|
||||
export const SUBJECT_DELETE_BANK: string;
|
33
src/app/modules/protobuf/c2se/backend/account_pb.js
Normal file
33
src/app/modules/protobuf/c2se/backend/account_pb.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
// source: c2se/backend/account.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);
|
||||
|
||||
goog.exportSymbol("bet.beteran.c2se.backend.bank", null, global);
|
||||
|
||||
bet.beteran.c2se.backend.bank = {};
|
||||
|
||||
bet.beteran.c2se.backend.bank.SUBJECT_CREATE_BANK =
|
||||
"bet.beteran.c2se.core.network.CreateBank";
|
||||
bet.beteran.c2se.backend.bank.SUBJECT_LIST_BANKS =
|
||||
"bet.beteran.c2se.core.network.ListBanks";
|
||||
bet.beteran.c2se.backend.bank.SUBJECT_UPDATE_BANK =
|
||||
"bet.beteran.c2se.core.network.UpdateBank";
|
||||
bet.beteran.c2se.backend.bank.SUBJECT_DELETE_BANK =
|
||||
"bet.beteran.c2se.core.network.DeleteBank";
|
||||
|
||||
goog.object.extend(exports, bet.beteran.c2se.backend.bank);
|
135
src/app/modules/protobuf/c2se/backend/member_pb.d.ts
vendored
135
src/app/modules/protobuf/c2se/backend/member_pb.d.ts
vendored
|
@ -8,6 +8,7 @@ import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search
|
|||
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
|
||||
import * as models_member_member_pb from '../../models/member/member_pb';
|
||||
|
||||
export const SUBJECT_CREATE_MEMBER: string;
|
||||
export const SUBJECT_LIST_MEMBERS: string;
|
||||
export const SUBJECT_GET_MEMBER: string;
|
||||
export const SUBJECT_GET_MEMBER_BY_USERNAME: string;
|
||||
|
@ -199,6 +200,140 @@ export namespace ListMembersResponse {
|
|||
}
|
||||
}
|
||||
|
||||
export class CreateMemberRequest extends jspb.Message {
|
||||
getSiteId(): string;
|
||||
setSiteId(value: string): void;
|
||||
|
||||
getMemberClassId(): string;
|
||||
setMemberClassId(value: string): void;
|
||||
|
||||
getMemberLevelId(): string;
|
||||
setMemberLevelId(value: string): void;
|
||||
|
||||
hasReferrerMemberId(): boolean;
|
||||
clearReferrerMemberId(): void;
|
||||
getReferrerMemberId(): string;
|
||||
setReferrerMemberId(value: string): void;
|
||||
|
||||
getUsername(): string;
|
||||
setUsername(value: string): void;
|
||||
|
||||
getNickname(): string;
|
||||
setNickname(value: string): void;
|
||||
|
||||
hasMobilePhoneNumber(): boolean;
|
||||
clearMobilePhoneNumber(): void;
|
||||
getMobilePhoneNumber(): string;
|
||||
setMobilePhoneNumber(value: string): void;
|
||||
|
||||
getState(): models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap];
|
||||
setState(
|
||||
value: models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap]
|
||||
): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberRequest
|
||||
): CreateMemberRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMemberRequest {
|
||||
export type AsObject = {
|
||||
siteId: string;
|
||||
memberClassId: string;
|
||||
memberLevelId: string;
|
||||
referrerMemberId: string;
|
||||
username: string;
|
||||
nickname: string;
|
||||
mobilePhoneNumber: string;
|
||||
state: models_member_member_pb.MemberStateMap[keyof models_member_member_pb.MemberStateMap];
|
||||
};
|
||||
}
|
||||
|
||||
export class CreateMemberResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): CreateMemberResponse.Result | undefined;
|
||||
setResult(value?: CreateMemberResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMemberResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateMemberResponse
|
||||
): CreateMemberResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateMemberResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMemberResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateMemberResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateMemberResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMemberResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: CreateMemberResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasMember(): boolean;
|
||||
clearMember(): void;
|
||||
getMember(): models_member_member_pb.MemberModel | undefined;
|
||||
setMember(value?: models_member_member_pb.MemberModel): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
member?: models_member_member_pb.MemberModel.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMemberRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
|
|
@ -27,6 +27,21 @@ var protobuf_pagination_sort_pb = require("../../protobuf/pagination/sort_pb.js"
|
|||
goog.object.extend(proto, protobuf_pagination_sort_pb);
|
||||
var models_member_member_pb = require("../../models/member/member_pb.js");
|
||||
goog.object.extend(proto, models_member_member_pb);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberRequest",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberResponse",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result",
|
||||
null,
|
||||
global
|
||||
);
|
||||
goog.exportSymbol(
|
||||
"proto.bet.beteran.c2se.backend.member.DeleteMemberRequest",
|
||||
null,
|
||||
|
@ -103,6 +118,8 @@ goog.exportSymbol(
|
|||
global
|
||||
);
|
||||
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_CREATE_MEMBER =
|
||||
"bet.beteran.c2se.backend.member.CreateMember";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_LIST_MEMBERS =
|
||||
"bet.beteran.c2se.backend.member.ListMembers";
|
||||
proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER =
|
||||
|
@ -208,6 +225,87 @@ if (goog.DEBUG && !COMPILED) {
|
|||
proto.bet.beteran.c2se.backend.member.ListMembersResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member.ListMembersResponse.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.backend.member.CreateMemberRequest = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberRequest";
|
||||
}
|
||||
/**
|
||||
* 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.backend.member.CreateMemberResponse = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberResponse";
|
||||
}
|
||||
/**
|
||||
* 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.backend.member.CreateMemberResponse.Result = function (
|
||||
opt_data
|
||||
) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result,
|
||||
jspb.Message
|
||||
);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.displayName =
|
||||
"proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result";
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
|
@ -1742,6 +1840,779 @@ proto.bet.beteran.c2se.backend.member.ListMembersResponse.prototype.hasResult =
|
|||
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.backend.member.CreateMemberRequest.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberRequest.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.backend.member.CreateMemberRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
memberClassId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
memberLevelId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
referrerMemberId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
username: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
nickname: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
mobilePhoneNumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
state: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.c2se.backend.member.CreateMemberRequest();
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberRequest.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.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.setSiteId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemberClassId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMemberLevelId(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReferrerMemberId(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setUsername(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setNickname(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMobilePhoneNumber(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {!proto.bet.beteran.member.MemberState} */ (
|
||||
reader.readEnum()
|
||||
);
|
||||
msg.setState(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.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.backend.member.CreateMemberRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSiteId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getMemberClassId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getMemberLevelId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
||||
if (f != null) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getUsername();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = message.getNickname();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(6, f);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||
if (f != null) {
|
||||
writer.writeString(7, f);
|
||||
}
|
||||
f = message.getState();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(8, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string site_id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getSiteId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setSiteId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string member_class_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getMemberClassId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setMemberClassId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string member_level_id = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getMemberLevelId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setMemberLevelId =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string referrer_member_id = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getReferrerMemberId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setReferrerMemberId =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.clearReferrerMemberId =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 4, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.hasReferrerMemberId =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 4) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string username = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getUsername =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 5, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setUsername =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string nickname = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getNickname =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 6, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setNickname =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string mobile_phone_number = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getMobilePhoneNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 7, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setMobilePhoneNumber =
|
||||
function (value) {
|
||||
return jspb.Message.setField(this, 7, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.clearMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.setField(this, 7, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.hasMobilePhoneNumber =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.beteran.member.MemberState state = 8;
|
||||
* @return {!proto.bet.beteran.member.MemberState}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.getState =
|
||||
function () {
|
||||
return /** @type {!proto.bet.beteran.member.MemberState} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 8, 0)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {!proto.bet.beteran.member.MemberState} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberRequest.prototype.setState =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3EnumField(this, 8, 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.backend.member.CreateMemberResponse.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
error:
|
||||
(f = msg.getError()) &&
|
||||
protobuf_rpc_error_pb.Error.toObject(includeInstance, f),
|
||||
result:
|
||||
(f = msg.getResult()) &&
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.c2se.backend.member.CreateMemberResponse();
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberResponse.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.deserializeBinaryFromReader =
|
||||
function (msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new protobuf_rpc_error_pb.Error();
|
||||
reader.readMessage(
|
||||
value,
|
||||
protobuf_rpc_error_pb.Error.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setError(value);
|
||||
break;
|
||||
case 2:
|
||||
var value =
|
||||
new proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result();
|
||||
reader.readMessage(
|
||||
value,
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getError();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
protobuf_rpc_error_pb.Error.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getResult();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
2,
|
||||
f,
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse.Result.prototype.toObject =
|
||||
function (opt_includeInstance) {
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse.Result} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.toObject =
|
||||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
member:
|
||||
(f = msg.getMember()) &&
|
||||
models_member_member_pb.MemberModel.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.backend.member.CreateMemberResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.deserializeBinary =
|
||||
function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg =
|
||||
new proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result();
|
||||
return proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse.Result} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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_member_pb.MemberModel();
|
||||
reader.readMessage(
|
||||
value,
|
||||
models_member_member_pb.MemberModel.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setMember(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.prototype.serializeBinary =
|
||||
function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.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.backend.member.CreateMemberResponse.Result} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getMember();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
models_member_member_pb.MemberModel.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.beteran.member.MemberModel member = 1;
|
||||
* @return {?proto.bet.beteran.member.MemberModel}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.prototype.getMember =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.member.MemberModel} */ (
|
||||
jspb.Message.getWrapperField(this, models_member_member_pb.MemberModel, 1)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.member.MemberModel|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.prototype.setMember =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.prototype.clearMember =
|
||||
function () {
|
||||
return this.setMember(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result.prototype.hasMember =
|
||||
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.backend.member.CreateMemberResponse.prototype.getError =
|
||||
function () {
|
||||
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
|
||||
jspb.Message.getWrapperField(this, protobuf_rpc_error_pb.Error, 1)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.setError =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.clearError =
|
||||
function () {
|
||||
return this.setError(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.hasError =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional Result result = 2;
|
||||
* @return {?proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.getResult =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result} */ (
|
||||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result,
|
||||
2
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.c2se.backend.member.CreateMemberResponse.Result|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.setResult =
|
||||
function (value) {
|
||||
return jspb.Message.setWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.bet.beteran.c2se.backend.member.CreateMemberResponse} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.clearResult =
|
||||
function () {
|
||||
return this.setResult(undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.member.CreateMemberResponse.prototype.hasResult =
|
||||
function () {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
|
|
487
src/app/modules/protobuf/c2se/common/bank_pb.d.ts
vendored
Normal file
487
src/app/modules/protobuf/c2se/common/bank_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,487 @@
|
|||
// package: bet.beteran.c2se.common.bank
|
||||
// file: c2se/common/bank.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
import * as protobuf_rpc_error_pb from '../../protobuf/rpc/error_pb';
|
||||
import * as protobuf_pagination_pagination_pb from '../../protobuf/pagination/pagination_pb';
|
||||
import * as protobuf_pagination_search_pb from '../../protobuf/pagination/search_pb';
|
||||
import * as protobuf_pagination_sort_pb from '../../protobuf/pagination/sort_pb';
|
||||
import * as models_account_bank_pb from '../../models/account/bank_pb';
|
||||
|
||||
export class ListBanksRequest extends jspb.Message {
|
||||
hasPagination(): boolean;
|
||||
clearPagination(): void;
|
||||
getPagination(): protobuf_pagination_pagination_pb.Pagination | undefined;
|
||||
setPagination(value?: protobuf_pagination_pagination_pb.Pagination): void;
|
||||
|
||||
clearSearchesList(): void;
|
||||
getSearchesList(): Array<protobuf_pagination_search_pb.Search>;
|
||||
setSearchesList(value: Array<protobuf_pagination_search_pb.Search>): void;
|
||||
addSearches(
|
||||
value?: protobuf_pagination_search_pb.Search,
|
||||
index?: number
|
||||
): protobuf_pagination_search_pb.Search;
|
||||
|
||||
clearSortsList(): void;
|
||||
getSortsList(): Array<protobuf_pagination_sort_pb.Sort>;
|
||||
setSortsList(value: Array<protobuf_pagination_sort_pb.Sort>): void;
|
||||
addSorts(
|
||||
value?: protobuf_pagination_sort_pb.Sort,
|
||||
index?: number
|
||||
): protobuf_pagination_sort_pb.Sort;
|
||||
|
||||
hasNameLike(): boolean;
|
||||
clearNameLike(): void;
|
||||
getNameLike(): string;
|
||||
setNameLike(value: string): void;
|
||||
|
||||
hasShow(): boolean;
|
||||
clearShow(): void;
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
hasCanUse(): boolean;
|
||||
clearCanUse(): void;
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemoLike(): boolean;
|
||||
clearMemoLike(): void;
|
||||
getMemoLike(): string;
|
||||
setMemoLike(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBanksRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListBanksRequest
|
||||
): ListBanksRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListBanksRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBanksRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListBanksRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): ListBanksRequest;
|
||||
}
|
||||
|
||||
export namespace ListBanksRequest {
|
||||
export type AsObject = {
|
||||
pagination?: protobuf_pagination_pagination_pb.Pagination.AsObject;
|
||||
searchesList: Array<protobuf_pagination_search_pb.Search.AsObject>;
|
||||
sortsList: Array<protobuf_pagination_sort_pb.Sort.AsObject>;
|
||||
nameLike: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
memoLike: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class ListBanksResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): ListBanksResponse.Result | undefined;
|
||||
setResult(value?: ListBanksResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListBanksResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: ListBanksResponse
|
||||
): ListBanksResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: ListBanksResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListBanksResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: ListBanksResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): ListBanksResponse;
|
||||
}
|
||||
|
||||
export namespace ListBanksResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: ListBanksResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
clearBanksList(): void;
|
||||
getBanksList(): Array<models_account_bank_pb.Bank>;
|
||||
setBanksList(value: Array<models_account_bank_pb.Bank>): void;
|
||||
addBanks(
|
||||
value?: models_account_bank_pb.Bank,
|
||||
index?: number
|
||||
): models_account_bank_pb.Bank;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
banksList: Array<models_account_bank_pb.Bank.AsObject>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateBankRequest extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
hasExpiresAt(): boolean;
|
||||
clearExpiresAt(): void;
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateBankRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateBankRequest
|
||||
): CreateBankRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateBankRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateBankRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateBankRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateBankRequest;
|
||||
}
|
||||
|
||||
export namespace CreateBankRequest {
|
||||
export type AsObject = {
|
||||
name: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
memo: string;
|
||||
expiresAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
export class CreateBankResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): CreateBankResponse.Result | undefined;
|
||||
setResult(value?: CreateBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateBankResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: CreateBankResponse
|
||||
): CreateBankResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: CreateBankResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateBankResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: CreateBankResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): CreateBankResponse;
|
||||
}
|
||||
|
||||
export namespace CreateBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: CreateBankResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_account_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_account_bank_pb.Bank): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bank?: models_account_bank_pb.Bank.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateBankRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateBankRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateBankRequest
|
||||
): UpdateBankRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateBankRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateBankRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateBankRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateBankRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateBankRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
name: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
memo: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class UpdateBankResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): UpdateBankResponse.Result | undefined;
|
||||
setResult(value?: UpdateBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateBankResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: UpdateBankResponse
|
||||
): UpdateBankResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: UpdateBankResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateBankResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: UpdateBankResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): UpdateBankResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: UpdateBankResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
hasBank(): boolean;
|
||||
clearBank(): void;
|
||||
getBank(): models_account_bank_pb.Bank | undefined;
|
||||
setBank(value?: models_account_bank_pb.Bank): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
bank?: models_account_bank_pb.Bank.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteBankRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteBankRequest.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteBankRequest
|
||||
): DeleteBankRequest.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteBankRequest,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteBankRequest;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteBankRequest,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteBankRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteBankRequest {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class DeleteBankResponse extends jspb.Message {
|
||||
hasError(): boolean;
|
||||
clearError(): void;
|
||||
getError(): protobuf_rpc_error_pb.Error | undefined;
|
||||
setError(value?: protobuf_rpc_error_pb.Error): void;
|
||||
|
||||
hasResult(): boolean;
|
||||
clearResult(): void;
|
||||
getResult(): DeleteBankResponse.Result | undefined;
|
||||
setResult(value?: DeleteBankResponse.Result): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteBankResponse.AsObject;
|
||||
static toObject(
|
||||
includeInstance: boolean,
|
||||
msg: DeleteBankResponse
|
||||
): DeleteBankResponse.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: DeleteBankResponse,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteBankResponse;
|
||||
static deserializeBinaryFromReader(
|
||||
message: DeleteBankResponse,
|
||||
reader: jspb.BinaryReader
|
||||
): DeleteBankResponse;
|
||||
}
|
||||
|
||||
export namespace DeleteBankResponse {
|
||||
export type AsObject = {
|
||||
error?: protobuf_rpc_error_pb.Error.AsObject;
|
||||
result?: DeleteBankResponse.Result.AsObject;
|
||||
};
|
||||
|
||||
export class Result extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Result,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Result;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Result,
|
||||
reader: jspb.BinaryReader
|
||||
): Result;
|
||||
}
|
||||
|
||||
export namespace Result {
|
||||
export type AsObject = {};
|
||||
}
|
||||
}
|
3171
src/app/modules/protobuf/c2se/common/bank_pb.js
Normal file
3171
src/app/modules/protobuf/c2se/common/bank_pb.js
Normal file
File diff suppressed because it is too large
Load Diff
6
src/app/modules/protobuf/c2se/frontend/account_pb.d.ts
vendored
Normal file
6
src/app/modules/protobuf/c2se/frontend/account_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
// package:
|
||||
// file: c2se/frontend/account.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export const SUBJECT_LIST_BANKS: string;
|
27
src/app/modules/protobuf/c2se/frontend/account_pb.js
Normal file
27
src/app/modules/protobuf/c2se/frontend/account_pb.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
// source: c2se/frontend/account.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);
|
||||
|
||||
goog.exportSymbol("bet.beteran.c2se.frontend.bank", null, global);
|
||||
|
||||
bet.beteran.c2se.frontend.bank = {};
|
||||
|
||||
bet.beteran.c2se.frontend.bank.SUBJECT_LIST_BANKS =
|
||||
"bet.beteran.c2se.core.network.ListBanks";
|
||||
|
||||
goog.object.extend(exports, bet.beteran.c2se.frontend.bank);
|
58
src/app/modules/protobuf/models/account/bank_pb.d.ts
vendored
Normal file
58
src/app/modules/protobuf/models/account/bank_pb.d.ts
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
// package: bet.beteran.account
|
||||
// file: models/account/bank.proto
|
||||
|
||||
import * as jspb from 'google-protobuf';
|
||||
|
||||
export class Bank extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
hasMemo(): boolean;
|
||||
clearMemo(): void;
|
||||
getMemo(): string;
|
||||
setMemo(value: string): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Bank.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Bank): Bank.AsObject;
|
||||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
|
||||
static extensionsBinary: {
|
||||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
|
||||
};
|
||||
static serializeBinaryToWriter(
|
||||
message: Bank,
|
||||
writer: jspb.BinaryWriter
|
||||
): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Bank;
|
||||
static deserializeBinaryFromReader(
|
||||
message: Bank,
|
||||
reader: jspb.BinaryReader
|
||||
): Bank;
|
||||
}
|
||||
|
||||
export namespace Bank {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
name: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
memo: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
};
|
||||
}
|
345
src/app/modules/protobuf/models/account/bank_pb.js
Normal file
345
src/app/modules/protobuf/models/account/bank_pb.js
Normal file
|
@ -0,0 +1,345 @@
|
|||
// source: models/account/bank.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);
|
||||
|
||||
goog.exportSymbol("proto.bet.beteran.account.Bank", 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.account.Bank = function (opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.bet.beteran.account.Bank, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.displayName = "proto.bet.beteran.account.Bank";
|
||||
}
|
||||
|
||||
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.account.Bank.prototype.toObject = function (
|
||||
opt_includeInstance
|
||||
) {
|
||||
return proto.bet.beteran.account.Bank.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.account.Bank} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.toObject = function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
||||
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
||||
memo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.bet.beteran.account.Bank}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.deserializeBinary = function (bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.bet.beteran.account.Bank();
|
||||
return proto.bet.beteran.account.Bank.deserializeBinaryFromReader(
|
||||
msg,
|
||||
reader
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.bet.beteran.account.Bank} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.bet.beteran.account.Bank}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.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 {string} */ reader.readString();
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {boolean} */ reader.readBool();
|
||||
msg.setShow(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {boolean} */ reader.readBool();
|
||||
msg.setCanUse(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ reader.readString();
|
||||
msg.setMemo(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {number} */ reader.readUint64();
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ reader.readUint64();
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.serializeBinary = function () {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.bet.beteran.account.Bank.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.account.Bank} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.serializeBinaryToWriter = function (
|
||||
message,
|
||||
writer
|
||||
) {
|
||||
var f = undefined;
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getShow();
|
||||
if (f) {
|
||||
writer.writeBool(3, f);
|
||||
}
|
||||
f = message.getCanUse();
|
||||
if (f) {
|
||||
writer.writeBool(4, f);
|
||||
}
|
||||
f = /** @type {string} */ jspb.Message.getField(message, 5);
|
||||
if (f != null) {
|
||||
writer.writeString(5, f);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(6, f);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(7, f);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string id = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getId = function () {
|
||||
return /** @type {string} */ jspb.Message.getFieldWithDefault(this, 1, "");
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setId = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getName = function () {
|
||||
return /** @type {string} */ jspb.Message.getFieldWithDefault(this, 2, "");
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setName = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 3;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getShow = function () {
|
||||
return /** @type {boolean} */ jspb.Message.getBooleanFieldWithDefault(
|
||||
this,
|
||||
3,
|
||||
false
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setShow = function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool can_use = 4;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getCanUse = function () {
|
||||
return /** @type {boolean} */ jspb.Message.getBooleanFieldWithDefault(
|
||||
this,
|
||||
4,
|
||||
false
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setCanUse = function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string memo = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getMemo = function () {
|
||||
return /** @type {string} */ jspb.Message.getFieldWithDefault(this, 5, "");
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setMemo = function (value) {
|
||||
return jspb.Message.setField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.clearMemo = function () {
|
||||
return jspb.Message.setField(this, 5, undefined);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.hasMemo = function () {
|
||||
return jspb.Message.getField(this, 5) != null;
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getCreatedAt = function () {
|
||||
return /** @type {number} */ jspb.Message.getFieldWithDefault(this, 6, 0);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setCreatedAt = function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.getUpdatedAt = function () {
|
||||
return /** @type {number} */ jspb.Message.getFieldWithDefault(this, 7, 0);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.account.Bank} returns this
|
||||
*/
|
||||
proto.bet.beteran.account.Bank.prototype.setUpdatedAt = function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.account);
|
Loading…
Reference in New Issue
Block a user