beteran-backend-app-browser/src/app/modules/proto/c2se/member_bank_account_pb.js

4031 lines
137 KiB
JavaScript
Raw Normal View History

2022-08-13 20:15:48 +00:00
// source: c2se/member_bank_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
2022-08-15 04:02:14 +00:00
var jspb = require("google-protobuf");
2022-08-13 20:15:48 +00:00
var goog = jspb;
2022-08-15 04:02:14 +00:00
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
var protobuf_rpc_pb = require("../protobuf/rpc_pb.js");
2022-08-13 20:15:48 +00:00
goog.object.extend(proto, protobuf_rpc_pb);
2022-08-15 04:02:14 +00:00
var protobuf_pagination_pb = require("../protobuf/pagination_pb.js");
2022-08-13 20:15:48 +00:00
goog.object.extend(proto, protobuf_pagination_pb);
2022-08-15 04:02:14 +00:00
var models_member_bank_account_pb = require("../models/member_bank_account_pb.js");
2022-08-13 20:15:48 +00:00
goog.object.extend(proto, models_member_bank_account_pb);
2022-08-15 04:02:14 +00:00
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result",
null,
global
);
2022-08-13 20:15:48 +00:00
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.displayName =
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.displayName =
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse
.Result,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.displayName =
"proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest =
function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest
.repeatedFields_,
null
);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.displayName =
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest
.Search,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.displayName =
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.displayName =
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result =
function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse
.Result.repeatedFields_,
null
);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse
.Result,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.displayName =
"proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.displayName =
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.displayName =
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse
.Result,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.displayName =
"proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.displayName =
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.displayName =
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse
.Result,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.displayName =
"proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.displayName =
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.displayName =
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse";
2022-08-13 20:15:48 +00:00
}
/**
* 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
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result =
function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse
.Result,
jspb.Message
);
2022-08-13 20:15:48 +00:00
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.displayName =
"proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result";
2022-08-13 20:15:48 +00:00
}
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest();
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setMemberId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setBankId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setMemo(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getMemberId();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getBankId();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(3, f);
}
f = message.getAccountNumber();
if (f.length > 0) {
writer.writeString(4, f);
}
f = message.getExchangePassword();
if (f.length > 0) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional string member_id = 1;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemberId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string bank_id = 2;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getBankId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setBankId =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string name = 3;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getName =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setName =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string account_number = 4;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getAccountNumber =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setAccountNumber =
function (value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
2022-08-13 20:15:48 +00:00
/**
2022-08-15 04:02:14 +00:00
* optional string exchange_password = 5;
2022-08-13 20:15:48 +00:00
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getExchangePassword =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setExchangePassword =
function (value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* optional string memo = 6;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemo =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemo =
function (value) {
return jspb.Message.setField(this, 6, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.clearMemo =
function () {
return jspb.Message.setField(this, 6, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.hasMemo =
function () {
return jspb.Message.getField(this, 6) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.toObject =
function (includeInstance, msg) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse();
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.CreateMemberBankAccountResponse.Result
.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.member_bank_account
.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberBankAccount:
(f = msg.getMemberBankAccount()) &&
models_member_bank_account_pb.MemberBankAccount.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result();
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.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_bank_account_pb.MemberBankAccount();
reader.readMessage(
value,
models_member_bank_account_pb.MemberBankAccount
.deserializeBinaryFromReader
);
msg.setMemberBankAccount(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getMemberBankAccount();
if (f != null) {
writer.writeMessage(
1,
f,
models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.getMemberBankAccount =
function () {
return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ (
jspb.Message.getWrapperField(
this,
models_member_bank_account_pb.MemberBankAccount,
1
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.setMemberBankAccount =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount =
function () {
return this.setMemberBankAccount(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account
.CreateMemberBankAccountResponse.Result,
2
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.repeatedFields_ =
[2];
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject =
function (includeInstance, msg) {
var f,
obj = {
pagination:
(f = msg.getPagination()) &&
protobuf_pagination_pb.Pagination.toObject(includeInstance, f),
sortsList: jspb.Message.toObjectList(
msg.getSortsList(),
protobuf_pagination_pb.Sort.toObject,
includeInstance
),
search:
(f = msg.getSearch()) &&
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest();
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_pagination_pb.Pagination();
reader.readMessage(
value,
protobuf_pagination_pb.Pagination.deserializeBinaryFromReader
);
msg.setPagination(value);
break;
case 2:
var value = new protobuf_pagination_pb.Sort();
reader.readMessage(
value,
protobuf_pagination_pb.Sort.deserializeBinaryFromReader
);
msg.addSorts(value);
break;
case 3:
var value =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader
);
msg.setSearch(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getPagination();
if (f != null) {
writer.writeMessage(
1,
f,
protobuf_pagination_pb.Pagination.serializeBinaryToWriter
);
}
f = message.getSortsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
2,
f,
protobuf_pagination_pb.Sort.serializeBinaryToWriter
);
}
f = message.getSearch();
if (f != null) {
writer.writeMessage(
3,
f,
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest
.Search.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberId: jspb.Message.getFieldWithDefault(msg, 1, ""),
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
nameLike: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumberLike: jspb.Message.getFieldWithDefault(msg, 4, ""),
memoLike: jspb.Message.getFieldWithDefault(msg, 5, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search();
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setMemberId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setBankId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setNameLike(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAccountNumberLike(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setMemoLike(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(1, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(2, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f != null) {
writer.writeString(3, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f != null) {
writer.writeString(4, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(5, f);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional string member_id = 1;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemberId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemberId =
function (value) {
return jspb.Message.setField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemberId =
function () {
return jspb.Message.setField(this, 1, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemberId =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional string bank_id = 2;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getBankId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setBankId =
function (value) {
return jspb.Message.setField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearBankId =
function () {
return jspb.Message.setField(this, 2, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasBankId =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional string name_like = 3;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getNameLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setNameLike =
function (value) {
return jspb.Message.setField(this, 3, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearNameLike =
function () {
return jspb.Message.setField(this, 3, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasNameLike =
function () {
return jspb.Message.getField(this, 3) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional string account_number_like = 4;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getAccountNumberLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setAccountNumberLike =
function (value) {
return jspb.Message.setField(this, 4, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearAccountNumberLike =
function () {
return jspb.Message.setField(this, 4, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasAccountNumberLike =
function () {
return jspb.Message.getField(this, 4) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional string memo_like = 5;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemoLike =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemoLike =
function (value) {
return jspb.Message.setField(this, 5, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemoLike =
function () {
return jspb.Message.setField(this, 5, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemoLike =
function () {
return jspb.Message.getField(this, 5) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.pagination.Pagination pagination = 1;
* @return {?proto.bet.protobuf.pagination.Pagination}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getPagination =
function () {
return /** @type{?proto.bet.protobuf.pagination.Pagination} */ (
jspb.Message.getWrapperField(this, protobuf_pagination_pb.Pagination, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.pagination.Pagination|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setPagination =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearPagination =
function () {
return this.setPagination(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasPagination =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* repeated bet.protobuf.pagination.Sort sorts = 2;
* @return {!Array<!proto.bet.protobuf.pagination.Sort>}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSortsList =
function () {
return /** @type{!Array<!proto.bet.protobuf.pagination.Sort>} */ (
jspb.Message.getRepeatedWrapperField(this, protobuf_pagination_pb.Sort, 2)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {!Array<!proto.bet.protobuf.pagination.Sort>} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSortsList =
function (value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* @param {!proto.bet.protobuf.pagination.Sort=} opt_value
* @param {number=} opt_index
* @return {!proto.bet.protobuf.pagination.Sort}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.addSorts =
function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(
this,
2,
opt_value,
proto.bet.protobuf.pagination.Sort,
opt_index
);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSortsList =
function () {
return this.setSortsList([]);
};
2022-08-13 20:15:48 +00:00
/**
* optional Search search = 3;
* @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.getSearch =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest
.Search,
3
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSearch =
function (value) {
return jspb.Message.setWrapperField(this, 3, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSearch =
function () {
return this.setSearch(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasSearch =
function () {
return jspb.Message.getField(this, 3) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.toObject =
function (includeInstance, msg) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse();
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.member_bank_account
.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_ =
[1];
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberBankAccountsList: jspb.Message.toObjectList(
msg.getMemberBankAccountsList(),
models_member_bank_account_pb.MemberBankAccount.toObject,
includeInstance
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result();
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.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_bank_account_pb.MemberBankAccount();
reader.readMessage(
value,
models_member_bank_account_pb.MemberBankAccount
.deserializeBinaryFromReader
);
msg.addMemberBankAccounts(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getMemberBankAccountsList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
/**
* repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1;
* @return {!Array<!proto.bet.beteran.member_bank_account.MemberBankAccount>}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.getMemberBankAccountsList =
function () {
return /** @type{!Array<!proto.bet.beteran.member_bank_account.MemberBankAccount>} */ (
jspb.Message.getRepeatedWrapperField(
this,
models_member_bank_account_pb.MemberBankAccount,
1
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {!Array<!proto.bet.beteran.member_bank_account.MemberBankAccount>} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setMemberBankAccountsList =
function (value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccount=} opt_value
* @param {number=} opt_index
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.addMemberBankAccounts =
function (opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(
this,
1,
opt_value,
proto.bet.beteran.member_bank_account.MemberBankAccount,
opt_index
);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.clearMemberBankAccountsList =
function () {
return this.setMemberBankAccountsList([]);
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account
.ListMemberBankAccountsResponse.Result,
2
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.toObject =
function (includeInstance, msg) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest();
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setId(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(1, f);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional string id = 1;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.getId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.setId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.toObject =
function (includeInstance, msg) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse();
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse
.Result.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberBankAccount:
(f = msg.getMemberBankAccount()) &&
models_member_bank_account_pb.MemberBankAccount.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result();
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.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_bank_account_pb.MemberBankAccount();
reader.readMessage(
value,
models_member_bank_account_pb.MemberBankAccount
.deserializeBinaryFromReader
);
msg.setMemberBankAccount(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getMemberBankAccount();
if (f != null) {
writer.writeMessage(
1,
f,
models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.getMemberBankAccount =
function () {
return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ (
jspb.Message.getWrapperField(
this,
models_member_bank_account_pb.MemberBankAccount,
1
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.setMemberBankAccount =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.clearMemberBankAccount =
function () {
return this.setMemberBankAccount(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.hasMemberBankAccount =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse
.Result,
2
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.toObject =
function (includeInstance, msg) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest();
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.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.setBankId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setMemo(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getBankId();
if (f.length > 0) {
writer.writeString(2, f);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(3, f);
}
f = message.getAccountNumber();
if (f.length > 0) {
writer.writeString(4, f);
}
f = message.getExchangePassword();
if (f.length > 0) {
writer.writeString(5, f);
}
f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f != null) {
writer.writeString(6, f);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional string id = 1;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string bank_id = 2;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getBankId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setBankId =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string name = 3;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getName =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setName =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
2022-08-13 20:15:48 +00:00
/**
* optional string account_number = 4;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getAccountNumber =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setAccountNumber =
function (value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
2022-08-13 20:15:48 +00:00
/**
2022-08-15 04:02:14 +00:00
* optional string exchange_password = 5;
2022-08-13 20:15:48 +00:00
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getExchangePassword =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setExchangePassword =
function (value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* optional string memo = 6;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 6, "")
);
};
2022-08-13 20:15:48 +00:00
/**
2022-08-15 04:02:14 +00:00
* @param {string} value
2022-08-13 20:15:48 +00:00
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo =
function (value) {
return jspb.Message.setField(this, 6, value);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.clearMemo =
function () {
return jspb.Message.setField(this, 6, undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo =
function () {
return jspb.Message.getField(this, 6) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.toObject =
function (includeInstance, msg) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse();
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.UpdateMemberBankAccountResponse.Result
.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.member_bank_account
.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {
memberBankAccount:
(f = msg.getMemberBankAccount()) &&
models_member_bank_account_pb.MemberBankAccount.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result();
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.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_bank_account_pb.MemberBankAccount();
reader.readMessage(
value,
models_member_bank_account_pb.MemberBankAccount
.deserializeBinaryFromReader
);
msg.setMemberBankAccount(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getMemberBankAccount();
if (f != null) {
writer.writeMessage(
1,
f,
models_member_bank_account_pb.MemberBankAccount.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.getMemberBankAccount =
function () {
return /** @type{?proto.bet.beteran.member_bank_account.MemberBankAccount} */ (
jspb.Message.getWrapperField(
this,
models_member_bank_account_pb.MemberBankAccount,
1
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.setMemberBankAccount =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount =
function () {
return this.setMemberBankAccount(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account
.UpdateMemberBankAccountResponse.Result,
2
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.toObject =
function (includeInstance, msg) {
var f,
obj = {
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest();
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setId(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getId();
if (f.length > 0) {
writer.writeString(1, f);
}
};
2022-08-13 20:15:48 +00:00
/**
* optional string id = 1;
* @return {string}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.getId =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.setId =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.toObject =
function (includeInstance, msg) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse();
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.member_bank_account
.DeleteMemberBankAccountResponse.Result
.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.member_bank_account
.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter
);
}
};
2022-08-13 20:15:48 +00:00
if (jspb.Message.GENERATE_TO_OBJECT) {
2022-08-15 04:02:14 +00:00
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.toObject(
opt_includeInstance,
this
);
};
2022-08-13 20:15:48 +00:00
2022-08-15 04:02:14 +00:00
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
2022-08-13 20:15:48 +00:00
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg =
new proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result();
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
2022-08-13 20:15:48 +00:00
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
default:
reader.skipField();
break;
}
2022-08-13 20:15:48 +00:00
}
2022-08-15 04:02:14 +00:00
return msg;
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
2022-08-13 20:15:48 +00:00
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
};
2022-08-13 20:15:48 +00:00
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
2022-08-13 20:15:48 +00:00
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.member_bank_account
.DeleteMemberBankAccountResponse.Result,
2
)
);
};
2022-08-13 20:15:48 +00:00
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
2022-08-15 04:02:14 +00:00
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
2022-08-13 20:15:48 +00:00
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
2022-08-13 20:15:48 +00:00
/**
* Returns whether this field is set.
* @return {boolean}
*/
2022-08-15 04:02:14 +00:00
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
2022-08-13 20:15:48 +00:00
goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_account);