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

3499 lines
127 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
var jspb = require('google-protobuf');
var goog = jspb;
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
var protobuf_rpc_pb = require('../protobuf/rpc_pb.js');
goog.object.extend(proto, protobuf_rpc_pb);
var protobuf_pagination_pb = require('../protobuf/pagination_pb.js');
goog.object.extend(proto, protobuf_pagination_pb);
var models_member_bank_account_pb = require('../models/member_bank_account_pb.js');
goog.object.extend(proto, models_member_bank_account_pb);
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);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.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);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.displayName = 'proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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, ""),
memo: jspb.Message.getFieldWithDefault(msg, 5, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest}
*/
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);
};
/**
* 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}
*/
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.setMemo(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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 = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
};
/**
* optional string member_id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemberId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setMemberId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string bank_id = 2;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getBankId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setBankId = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string name = 3;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string account_number = 4;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getAccountNumber = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.setAccountNumber = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional string memo = 5;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.getMemo = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @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, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.clearMemo = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountRequest.prototype.hasMemo = function() {
return jspb.Message.getField(this, 5) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
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));
};
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() {
return this.setMemberBankAccount(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.getError = function() {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasError = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.setResult = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.clearResult = function() {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.CreateMemberBankAccountResponse.prototype.hasResult = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.repeatedFields_ = [2];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional string member_id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemberId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemberId = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemberId = function() {
return jspb.Message.setField(this, 1, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemberId = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string bank_id = 2;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getBankId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setBankId = function(value) {
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearBankId = function() {
return jspb.Message.setField(this, 2, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasBankId = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string name_like = 3;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getNameLike = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setNameLike = function(value) {
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearNameLike = function() {
return jspb.Message.setField(this, 3, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasNameLike = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional string account_number_like = 4;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getAccountNumberLike = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setAccountNumberLike = function(value) {
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearAccountNumberLike = function() {
return jspb.Message.setField(this, 4, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasAccountNumberLike = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional string memo_like = 5;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.getMemoLike = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.setMemoLike = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.clearMemoLike = function() {
return jspb.Message.setField(this, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search.prototype.hasMemoLike = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bet.protobuf.pagination.Pagination pagination = 1;
* @return {?proto.bet.protobuf.pagination.Pagination}
*/
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));
};
/**
* @param {?proto.bet.protobuf.pagination.Pagination|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setPagination = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearPagination = function() {
return this.setPagination(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasPagination = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* repeated bet.protobuf.pagination.Sort sorts = 2;
* @return {!Array<!proto.bet.protobuf.pagination.Sort>}
*/
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));
};
/**
* @param {!Array<!proto.bet.protobuf.pagination.Sort>} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSortsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 2, value);
};
/**
* @param {!proto.bet.protobuf.pagination.Sort=} opt_value
* @param {number=} opt_index
* @return {!proto.bet.protobuf.pagination.Sort}
*/
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);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSortsList = function() {
return this.setSortsList([]);
};
/**
* optional Search search = 3;
* @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.Search|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.setSearch = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.clearSearch = function() {
return this.setSearch(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsRequest.prototype.hasSearch = function() {
return jspb.Message.getField(this, 3) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.repeatedFields_ = [1];
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* repeated bet.beteran.member_bank_account.MemberBankAccount member_bank_accounts = 1;
* @return {!Array<!proto.bet.beteran.member_bank_account.MemberBankAccount>}
*/
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));
};
/**
* @param {!Array<!proto.bet.beteran.member_bank_account.MemberBankAccount>} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.setMemberBankAccountsList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.bet.beteran.member_bank_account.MemberBankAccount=} opt_value
* @param {number=} opt_index
* @return {!proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
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);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result.prototype.clearMemberBankAccountsList = function() {
return this.setMemberBankAccountsList([]);
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
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));
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasError = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.setResult = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.clearResult = function() {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.ListMemberBankAccountsResponse.prototype.hasResult = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional string id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.getId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountRequest.prototype.setId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
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));
};
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() {
return this.setMemberBankAccount(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.getError = function() {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasError = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.setResult = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.clearResult = function() {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.GetMemberBankAccountResponse.prototype.hasResult = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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, ""),
memo: jspb.Message.getFieldWithDefault(msg, 5, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest}
*/
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);
};
/**
* 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}
*/
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.setMemo(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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 = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
};
/**
* optional string id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string bank_id = 2;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getBankId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setBankId = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string name = 3;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string account_number = 4;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getAccountNumber = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setAccountNumber = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional string memo = 5;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.getMemo = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.setMemo = function(value) {
return jspb.Message.setField(this, 5, value);
};
/**
* 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, 5, undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountRequest.prototype.hasMemo = function() {
return jspb.Message.getField(this, 5) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional bet.beteran.member_bank_account.MemberBankAccount member_bank_account = 1;
* @return {?proto.bet.beteran.member_bank_account.MemberBankAccount}
*/
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));
};
/**
* @param {?proto.bet.beteran.member_bank_account.MemberBankAccount|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.setMemberBankAccount = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.clearMemberBankAccount = function() {
return this.setMemberBankAccount(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result.prototype.hasMemberBankAccount = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.getError = function() {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1));
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasError = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.setResult = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.clearResult = function() {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.UpdateMemberBankAccountResponse.prototype.hasResult = function() {
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
/**
* optional string id = 1;
* @return {string}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.getId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest} returns this
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountRequest.prototype.setId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
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
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.prototype.toObject = function(opt_includeInstance) {
return proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.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;
};
}
/**
* 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}
*/
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);
};
/**
* 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}
*/
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;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
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();
};
/**
* 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
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
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));
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasError = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result}
*/
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));
};
/**
* @param {?proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.setResult = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse} returns this
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.clearResult = function() {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.member_bank_account.DeleteMemberBankAccountResponse.prototype.hasResult = function() {
return jspb.Message.getField(this, 2) != null;
};
goog.object.extend(exports, proto.bet.beteran.c2se.member_bank_account);