537 lines
19 KiB
Go
537 lines
19 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_user_account.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// 计算账户数量
|
||
type CountUserAccountsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键词
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountUserAccountsRequest) Reset() {
|
||
*x = CountUserAccountsRequest{}
|
||
mi := &file_service_user_account_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountUserAccountsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountUserAccountsRequest) ProtoMessage() {}
|
||
|
||
func (x *CountUserAccountsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use CountUserAccountsRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountUserAccountsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *CountUserAccountsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 列出单页账户
|
||
type ListUserAccountsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键词
|
||
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
||
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserAccountsRequest) Reset() {
|
||
*x = ListUserAccountsRequest{}
|
||
mi := &file_service_user_account_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserAccountsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserAccountsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListUserAccountsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListUserAccountsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListUserAccountsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *ListUserAccountsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListUserAccountsRequest) GetOffset() int64 {
|
||
if x != nil {
|
||
return x.Offset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserAccountsRequest) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListUserAccountsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserAccounts []*UserAccount `protobuf:"bytes,1,rep,name=userAccounts,proto3" json:"userAccounts,omitempty"` // 用户账户列表
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserAccountsResponse) Reset() {
|
||
*x = ListUserAccountsResponse{}
|
||
mi := &file_service_user_account_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserAccountsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserAccountsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListUserAccountsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ListUserAccountsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListUserAccountsResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *ListUserAccountsResponse) GetUserAccounts() []*UserAccount {
|
||
if x != nil {
|
||
return x.UserAccounts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 根据用户ID查找单个账户
|
||
type FindEnabledUserAccountWithUserIdRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdRequest) Reset() {
|
||
*x = FindEnabledUserAccountWithUserIdRequest{}
|
||
mi := &file_service_user_account_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledUserAccountWithUserIdRequest) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindEnabledUserAccountWithUserIdRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledUserAccountWithUserIdRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindEnabledUserAccountWithUserIdResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserAccount *UserAccount `protobuf:"bytes,1,opt,name=userAccount,proto3" json:"userAccount,omitempty"` // 用户账户
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdResponse) Reset() {
|
||
*x = FindEnabledUserAccountWithUserIdResponse{}
|
||
mi := &file_service_user_account_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledUserAccountWithUserIdResponse) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindEnabledUserAccountWithUserIdResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledUserAccountWithUserIdResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountWithUserIdResponse) GetUserAccount() *UserAccount {
|
||
if x != nil {
|
||
return x.UserAccount
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 查找单个账户
|
||
type FindEnabledUserAccountRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserAccountId int64 `protobuf:"varint,1,opt,name=userAccountId,proto3" json:"userAccountId,omitempty"` // 用户账户ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountRequest) Reset() {
|
||
*x = FindEnabledUserAccountRequest{}
|
||
mi := &file_service_user_account_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledUserAccountRequest) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledUserAccountRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindEnabledUserAccountRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledUserAccountRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountRequest) GetUserAccountId() int64 {
|
||
if x != nil {
|
||
return x.UserAccountId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindEnabledUserAccountResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserAccount *UserAccount `protobuf:"bytes,1,opt,name=userAccount,proto3" json:"userAccount,omitempty"` // 用户账户
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountResponse) Reset() {
|
||
*x = FindEnabledUserAccountResponse{}
|
||
mi := &file_service_user_account_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindEnabledUserAccountResponse) ProtoMessage() {}
|
||
|
||
func (x *FindEnabledUserAccountResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindEnabledUserAccountResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindEnabledUserAccountResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *FindEnabledUserAccountResponse) GetUserAccount() *UserAccount {
|
||
if x != nil {
|
||
return x.UserAccount
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 修改用户账户
|
||
type UpdateUserAccountRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserAccountId int64 `protobuf:"varint,1,opt,name=userAccountId,proto3" json:"userAccountId,omitempty"` // 用户账户ID(非用户ID)
|
||
Delta float64 `protobuf:"fixed64,2,opt,name=delta,proto3" json:"delta,omitempty"` // 操作的数值,正值表示增加,负值表示减少
|
||
EventType string `protobuf:"bytes,3,opt,name=eventType,proto3" json:"eventType,omitempty"` // 事件类型:charge, award, buyPlan, payBill, refund, withdraw, buyNSPlan, buyTrafficPackage, buyAntiDDoSPackage, renewAntiDDoSPackage
|
||
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 描述
|
||
ParamsJSON []byte `protobuf:"bytes,5,opt,name=paramsJSON,proto3" json:"paramsJSON,omitempty"` // 相关参数
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) Reset() {
|
||
*x = UpdateUserAccountRequest{}
|
||
mi := &file_service_user_account_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateUserAccountRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateUserAccountRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_account_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use UpdateUserAccountRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateUserAccountRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_account_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) GetUserAccountId() int64 {
|
||
if x != nil {
|
||
return x.UserAccountId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) GetDelta() float64 {
|
||
if x != nil {
|
||
return x.Delta
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) GetEventType() string {
|
||
if x != nil {
|
||
return x.EventType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateUserAccountRequest) GetParamsJSON() []byte {
|
||
if x != nil {
|
||
return x.ParamsJSON
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_service_user_account_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_user_account_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1aservice_user_account.proto\x12\x02pb\x1a\x1fmodels/model_user_account.proto\x1a\x19models/rpc_messages.proto\"4\n" +
|
||
"\x18CountUserAccountsRequest\x12\x18\n" +
|
||
"\akeyword\x18\x01 \x01(\tR\akeyword\"_\n" +
|
||
"\x17ListUserAccountsRequest\x12\x18\n" +
|
||
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x16\n" +
|
||
"\x06offset\x18\x02 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\x03 \x01(\x03R\x04size\"O\n" +
|
||
"\x18ListUserAccountsResponse\x123\n" +
|
||
"\fuserAccounts\x18\x01 \x03(\v2\x0f.pb.UserAccountR\fuserAccounts\"A\n" +
|
||
"'FindEnabledUserAccountWithUserIdRequest\x12\x16\n" +
|
||
"\x06userId\x18\x01 \x01(\x03R\x06userId\"]\n" +
|
||
"(FindEnabledUserAccountWithUserIdResponse\x121\n" +
|
||
"\vuserAccount\x18\x01 \x01(\v2\x0f.pb.UserAccountR\vuserAccount\"E\n" +
|
||
"\x1dFindEnabledUserAccountRequest\x12$\n" +
|
||
"\ruserAccountId\x18\x01 \x01(\x03R\ruserAccountId\"S\n" +
|
||
"\x1eFindEnabledUserAccountResponse\x121\n" +
|
||
"\vuserAccount\x18\x01 \x01(\v2\x0f.pb.UserAccountR\vuserAccount\"\xb6\x01\n" +
|
||
"\x18UpdateUserAccountRequest\x12$\n" +
|
||
"\ruserAccountId\x18\x01 \x01(\x03R\ruserAccountId\x12\x14\n" +
|
||
"\x05delta\x18\x02 \x01(\x01R\x05delta\x12\x1c\n" +
|
||
"\teventType\x18\x03 \x01(\tR\teventType\x12 \n" +
|
||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1e\n" +
|
||
"\n" +
|
||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||
"paramsJSON2\xcf\x03\n" +
|
||
"\x12UserAccountService\x12G\n" +
|
||
"\x11countUserAccounts\x12\x1c.pb.CountUserAccountsRequest\x1a\x14.pb.RPCCountResponse\x12M\n" +
|
||
"\x10listUserAccounts\x12\x1b.pb.ListUserAccountsRequest\x1a\x1c.pb.ListUserAccountsResponse\x12}\n" +
|
||
" findEnabledUserAccountWithUserId\x12+.pb.FindEnabledUserAccountWithUserIdRequest\x1a,.pb.FindEnabledUserAccountWithUserIdResponse\x12_\n" +
|
||
"\x16findEnabledUserAccount\x12!.pb.FindEnabledUserAccountRequest\x1a\".pb.FindEnabledUserAccountResponse\x12A\n" +
|
||
"\x11updateUserAccount\x12\x1c.pb.UpdateUserAccountRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_user_account_proto_rawDescOnce sync.Once
|
||
file_service_user_account_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_user_account_proto_rawDescGZIP() []byte {
|
||
file_service_user_account_proto_rawDescOnce.Do(func() {
|
||
file_service_user_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_user_account_proto_rawDesc), len(file_service_user_account_proto_rawDesc)))
|
||
})
|
||
return file_service_user_account_proto_rawDescData
|
||
}
|
||
|
||
var file_service_user_account_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||
var file_service_user_account_proto_goTypes = []any{
|
||
(*CountUserAccountsRequest)(nil), // 0: pb.CountUserAccountsRequest
|
||
(*ListUserAccountsRequest)(nil), // 1: pb.ListUserAccountsRequest
|
||
(*ListUserAccountsResponse)(nil), // 2: pb.ListUserAccountsResponse
|
||
(*FindEnabledUserAccountWithUserIdRequest)(nil), // 3: pb.FindEnabledUserAccountWithUserIdRequest
|
||
(*FindEnabledUserAccountWithUserIdResponse)(nil), // 4: pb.FindEnabledUserAccountWithUserIdResponse
|
||
(*FindEnabledUserAccountRequest)(nil), // 5: pb.FindEnabledUserAccountRequest
|
||
(*FindEnabledUserAccountResponse)(nil), // 6: pb.FindEnabledUserAccountResponse
|
||
(*UpdateUserAccountRequest)(nil), // 7: pb.UpdateUserAccountRequest
|
||
(*UserAccount)(nil), // 8: pb.UserAccount
|
||
(*RPCCountResponse)(nil), // 9: pb.RPCCountResponse
|
||
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
|
||
}
|
||
var file_service_user_account_proto_depIdxs = []int32{
|
||
8, // 0: pb.ListUserAccountsResponse.userAccounts:type_name -> pb.UserAccount
|
||
8, // 1: pb.FindEnabledUserAccountWithUserIdResponse.userAccount:type_name -> pb.UserAccount
|
||
8, // 2: pb.FindEnabledUserAccountResponse.userAccount:type_name -> pb.UserAccount
|
||
0, // 3: pb.UserAccountService.countUserAccounts:input_type -> pb.CountUserAccountsRequest
|
||
1, // 4: pb.UserAccountService.listUserAccounts:input_type -> pb.ListUserAccountsRequest
|
||
3, // 5: pb.UserAccountService.findEnabledUserAccountWithUserId:input_type -> pb.FindEnabledUserAccountWithUserIdRequest
|
||
5, // 6: pb.UserAccountService.findEnabledUserAccount:input_type -> pb.FindEnabledUserAccountRequest
|
||
7, // 7: pb.UserAccountService.updateUserAccount:input_type -> pb.UpdateUserAccountRequest
|
||
9, // 8: pb.UserAccountService.countUserAccounts:output_type -> pb.RPCCountResponse
|
||
2, // 9: pb.UserAccountService.listUserAccounts:output_type -> pb.ListUserAccountsResponse
|
||
4, // 10: pb.UserAccountService.findEnabledUserAccountWithUserId:output_type -> pb.FindEnabledUserAccountWithUserIdResponse
|
||
6, // 11: pb.UserAccountService.findEnabledUserAccount:output_type -> pb.FindEnabledUserAccountResponse
|
||
10, // 12: pb.UserAccountService.updateUserAccount:output_type -> pb.RPCSuccess
|
||
8, // [8:13] is the sub-list for method output_type
|
||
3, // [3:8] is the sub-list for method input_type
|
||
3, // [3:3] is the sub-list for extension type_name
|
||
3, // [3:3] is the sub-list for extension extendee
|
||
0, // [0:3] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_service_user_account_proto_init() }
|
||
func file_service_user_account_proto_init() {
|
||
if File_service_user_account_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_user_account_proto_init()
|
||
file_models_rpc_messages_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_user_account_proto_rawDesc), len(file_service_user_account_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 8,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_user_account_proto_goTypes,
|
||
DependencyIndexes: file_service_user_account_proto_depIdxs,
|
||
MessageInfos: file_service_user_account_proto_msgTypes,
|
||
}.Build()
|
||
File_service_user_account_proto = out.File
|
||
file_service_user_account_proto_goTypes = nil
|
||
file_service_user_account_proto_depIdxs = nil
|
||
}
|