1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.31.0
- // protoc v4.25.0
- // source: proto/shopping_admin_user_service.proto
- package shopping_service
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- 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 GetAdminUserListRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
- PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
- Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
- Status StatusEnum `protobuf:"varint,4,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
- Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
- }
- func (x *GetAdminUserListRequest) Reset() {
- *x = GetAdminUserListRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAdminUserListRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserListRequest) ProtoMessage() {}
- func (x *GetAdminUserListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserListRequest.ProtoReflect.Descriptor instead.
- func (*GetAdminUserListRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{0}
- }
- func (x *GetAdminUserListRequest) GetPage() int32 {
- if x != nil {
- return x.Page
- }
- return 0
- }
- func (x *GetAdminUserListRequest) GetPageSize() int32 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- func (x *GetAdminUserListRequest) GetKeyword() string {
- if x != nil {
- return x.Keyword
- }
- return ""
- }
- func (x *GetAdminUserListRequest) GetStatus() StatusEnum {
- if x != nil {
- return x.Status
- }
- return StatusEnum_UNKNOWN
- }
- func (x *GetAdminUserListRequest) GetCode() string {
- if x != nil {
- return x.Code
- }
- return ""
- }
- type GetAdminUserListResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
- TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
- }
- func (x *GetAdminUserListResponse) Reset() {
- *x = GetAdminUserListResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAdminUserListResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserListResponse) ProtoMessage() {}
- func (x *GetAdminUserListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserListResponse.ProtoReflect.Descriptor instead.
- func (*GetAdminUserListResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{1}
- }
- func (x *GetAdminUserListResponse) GetItems() []*User {
- if x != nil {
- return x.Items
- }
- return nil
- }
- func (x *GetAdminUserListResponse) GetTotalCount() int64 {
- if x != nil {
- return x.TotalCount
- }
- return 0
- }
- type GetAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- }
- func (x *GetAdminUserRequest) Reset() {
- *x = GetAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserRequest) ProtoMessage() {}
- func (x *GetAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*GetAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{2}
- }
- func (x *GetAdminUserRequest) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- type GetAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *GetAdminUserResponse) Reset() {
- *x = GetAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAdminUserResponse) ProtoMessage() {}
- func (x *GetAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*GetAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{3}
- }
- func (x *GetAdminUserResponse) GetData() *User {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type GetAllAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *GetAllAdminUserRequest) Reset() {
- *x = GetAllAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAllAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAllAdminUserRequest) ProtoMessage() {}
- func (x *GetAllAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAllAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*GetAllAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{4}
- }
- type GetAllAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Items []*Base `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
- }
- func (x *GetAllAdminUserResponse) Reset() {
- *x = GetAllAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GetAllAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetAllAdminUserResponse) ProtoMessage() {}
- func (x *GetAllAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetAllAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*GetAllAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{5}
- }
- func (x *GetAllAdminUserResponse) GetItems() []*Base {
- if x != nil {
- return x.Items
- }
- return nil
- }
- type CreateAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
- PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
- Roles []int64 `protobuf:"varint,6,rep,packed,name=roles,proto3" json:"roles,omitempty"`
- }
- func (x *CreateAdminUserRequest) Reset() {
- *x = CreateAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreateAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreateAdminUserRequest) ProtoMessage() {}
- func (x *CreateAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CreateAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*CreateAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{6}
- }
- func (x *CreateAdminUserRequest) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *CreateAdminUserRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *CreateAdminUserRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
- func (x *CreateAdminUserRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *CreateAdminUserRequest) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *CreateAdminUserRequest) GetRoles() []int64 {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- type CreateAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *CreateAdminUserResponse) Reset() {
- *x = CreateAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreateAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreateAdminUserResponse) ProtoMessage() {}
- func (x *CreateAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CreateAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*CreateAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{7}
- }
- type UpdateAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- Roles []int64 `protobuf:"varint,2,rep,packed,name=roles,proto3" json:"roles,omitempty"`
- PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
- }
- func (x *UpdateAdminUserRequest) Reset() {
- *x = UpdateAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateAdminUserRequest) ProtoMessage() {}
- func (x *UpdateAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UpdateAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*UpdateAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{8}
- }
- func (x *UpdateAdminUserRequest) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *UpdateAdminUserRequest) GetRoles() []int64 {
- if x != nil {
- return x.Roles
- }
- return nil
- }
- func (x *UpdateAdminUserRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
- func (x *UpdateAdminUserRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *UpdateAdminUserRequest) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- type UpdateAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *UpdateAdminUserResponse) Reset() {
- *x = UpdateAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateAdminUserResponse) ProtoMessage() {}
- func (x *UpdateAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UpdateAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*UpdateAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{9}
- }
- type DeleteAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- }
- func (x *DeleteAdminUserRequest) Reset() {
- *x = DeleteAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteAdminUserRequest) ProtoMessage() {}
- func (x *DeleteAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeleteAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*DeleteAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{10}
- }
- func (x *DeleteAdminUserRequest) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- type DeleteAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DeleteAdminUserResponse) Reset() {
- *x = DeleteAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteAdminUserResponse) ProtoMessage() {}
- func (x *DeleteAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeleteAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*DeleteAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{11}
- }
- type ToggleAdminUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
- Status StatusEnum `protobuf:"varint,2,opt,name=status,proto3,enum=base_shopping_service.StatusEnum" json:"status,omitempty"`
- }
- func (x *ToggleAdminUserRequest) Reset() {
- *x = ToggleAdminUserRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ToggleAdminUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ToggleAdminUserRequest) ProtoMessage() {}
- func (x *ToggleAdminUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ToggleAdminUserRequest.ProtoReflect.Descriptor instead.
- func (*ToggleAdminUserRequest) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{12}
- }
- func (x *ToggleAdminUserRequest) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *ToggleAdminUserRequest) GetStatus() StatusEnum {
- if x != nil {
- return x.Status
- }
- return StatusEnum_UNKNOWN
- }
- type ToggleAdminUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ToggleAdminUserResponse) Reset() {
- *x = ToggleAdminUserResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ToggleAdminUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ToggleAdminUserResponse) ProtoMessage() {}
- func (x *ToggleAdminUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_shopping_admin_user_service_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ToggleAdminUserResponse.ProtoReflect.Descriptor instead.
- func (*ToggleAdminUserResponse) Descriptor() ([]byte, []int) {
- return file_proto_shopping_admin_user_service_proto_rawDescGZIP(), []int{13}
- }
- var File_proto_shopping_admin_user_service_proto protoreflect.FileDescriptor
- var file_proto_shopping_admin_user_service_proto_rawDesc = []byte{
- 0x0a, 0x27, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
- 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x73, 0x68, 0x6f, 0x70, 0x70,
- 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61,
- 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x17, 0x47, 0x65,
- 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
- 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
- 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
- 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x21, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
- 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45,
- 0x6e, 0x75, 0x6d, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63,
- 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22,
- 0x6e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x69,
- 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73,
- 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f,
- 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
- 0x2e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22,
- 0x47, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f,
- 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41,
- 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x22, 0x4c, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69,
- 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a,
- 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
- 0x22, 0xb7, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
- 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
- 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77,
- 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d,
- 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06,
- 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76,
- 0x61, 0x74, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x06, 0x20,
- 0x03, 0x28, 0x03, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c,
- 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12,
- 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62,
- 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74,
- 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72,
- 0x22, 0x19, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x16, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x19,
- 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6c, 0x0a, 0x16, 0x54, 0x6f, 0x67,
- 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x06,
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62,
- 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x52,
- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x54, 0x6f, 0x67, 0x67, 0x6c,
- 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x32, 0x86, 0x07, 0x0a, 0x18, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
- 0x7f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c,
- 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69,
- 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x73, 0x68, 0x6f, 0x70,
- 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
- 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
- 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73,
- 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x30,
- 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x31, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47,
- 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
- 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x68,
- 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70,
- 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64,
- 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x7c, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73,
- 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
- 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69,
- 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a,
- 0x0f, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
- 0x12, 0x33, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54,
- 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
- 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1a, 0x5a, 0x18, 0x2e,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_shopping_admin_user_service_proto_rawDescOnce sync.Once
- file_proto_shopping_admin_user_service_proto_rawDescData = file_proto_shopping_admin_user_service_proto_rawDesc
- )
- func file_proto_shopping_admin_user_service_proto_rawDescGZIP() []byte {
- file_proto_shopping_admin_user_service_proto_rawDescOnce.Do(func() {
- file_proto_shopping_admin_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_shopping_admin_user_service_proto_rawDescData)
- })
- return file_proto_shopping_admin_user_service_proto_rawDescData
- }
- var file_proto_shopping_admin_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
- var file_proto_shopping_admin_user_service_proto_goTypes = []interface{}{
- (*GetAdminUserListRequest)(nil), // 0: shopping_admin_user_service.GetAdminUserListRequest
- (*GetAdminUserListResponse)(nil), // 1: shopping_admin_user_service.GetAdminUserListResponse
- (*GetAdminUserRequest)(nil), // 2: shopping_admin_user_service.GetAdminUserRequest
- (*GetAdminUserResponse)(nil), // 3: shopping_admin_user_service.GetAdminUserResponse
- (*GetAllAdminUserRequest)(nil), // 4: shopping_admin_user_service.GetAllAdminUserRequest
- (*GetAllAdminUserResponse)(nil), // 5: shopping_admin_user_service.GetAllAdminUserResponse
- (*CreateAdminUserRequest)(nil), // 6: shopping_admin_user_service.CreateAdminUserRequest
- (*CreateAdminUserResponse)(nil), // 7: shopping_admin_user_service.CreateAdminUserResponse
- (*UpdateAdminUserRequest)(nil), // 8: shopping_admin_user_service.UpdateAdminUserRequest
- (*UpdateAdminUserResponse)(nil), // 9: shopping_admin_user_service.UpdateAdminUserResponse
- (*DeleteAdminUserRequest)(nil), // 10: shopping_admin_user_service.DeleteAdminUserRequest
- (*DeleteAdminUserResponse)(nil), // 11: shopping_admin_user_service.DeleteAdminUserResponse
- (*ToggleAdminUserRequest)(nil), // 12: shopping_admin_user_service.ToggleAdminUserRequest
- (*ToggleAdminUserResponse)(nil), // 13: shopping_admin_user_service.ToggleAdminUserResponse
- (StatusEnum)(0), // 14: base_shopping_service.StatusEnum
- (*User)(nil), // 15: base_shopping_service.User
- (*Base)(nil), // 16: base_shopping_service.Base
- }
- var file_proto_shopping_admin_user_service_proto_depIdxs = []int32{
- 14, // 0: shopping_admin_user_service.GetAdminUserListRequest.status:type_name -> base_shopping_service.StatusEnum
- 15, // 1: shopping_admin_user_service.GetAdminUserListResponse.items:type_name -> base_shopping_service.User
- 15, // 2: shopping_admin_user_service.GetAdminUserResponse.data:type_name -> base_shopping_service.User
- 16, // 3: shopping_admin_user_service.GetAllAdminUserResponse.items:type_name -> base_shopping_service.Base
- 14, // 4: shopping_admin_user_service.ToggleAdminUserRequest.status:type_name -> base_shopping_service.StatusEnum
- 0, // 5: shopping_admin_user_service.ShoppingAdminUserService.GetAdminUserList:input_type -> shopping_admin_user_service.GetAdminUserListRequest
- 4, // 6: shopping_admin_user_service.ShoppingAdminUserService.GetAllAdminUser:input_type -> shopping_admin_user_service.GetAllAdminUserRequest
- 2, // 7: shopping_admin_user_service.ShoppingAdminUserService.GetAdminUser:input_type -> shopping_admin_user_service.GetAdminUserRequest
- 6, // 8: shopping_admin_user_service.ShoppingAdminUserService.CreateAdminUser:input_type -> shopping_admin_user_service.CreateAdminUserRequest
- 8, // 9: shopping_admin_user_service.ShoppingAdminUserService.UpdateAdminUser:input_type -> shopping_admin_user_service.UpdateAdminUserRequest
- 10, // 10: shopping_admin_user_service.ShoppingAdminUserService.DeleteAdminUser:input_type -> shopping_admin_user_service.DeleteAdminUserRequest
- 12, // 11: shopping_admin_user_service.ShoppingAdminUserService.ToggleAdminUser:input_type -> shopping_admin_user_service.ToggleAdminUserRequest
- 1, // 12: shopping_admin_user_service.ShoppingAdminUserService.GetAdminUserList:output_type -> shopping_admin_user_service.GetAdminUserListResponse
- 5, // 13: shopping_admin_user_service.ShoppingAdminUserService.GetAllAdminUser:output_type -> shopping_admin_user_service.GetAllAdminUserResponse
- 3, // 14: shopping_admin_user_service.ShoppingAdminUserService.GetAdminUser:output_type -> shopping_admin_user_service.GetAdminUserResponse
- 7, // 15: shopping_admin_user_service.ShoppingAdminUserService.CreateAdminUser:output_type -> shopping_admin_user_service.CreateAdminUserResponse
- 9, // 16: shopping_admin_user_service.ShoppingAdminUserService.UpdateAdminUser:output_type -> shopping_admin_user_service.UpdateAdminUserResponse
- 11, // 17: shopping_admin_user_service.ShoppingAdminUserService.DeleteAdminUser:output_type -> shopping_admin_user_service.DeleteAdminUserResponse
- 13, // 18: shopping_admin_user_service.ShoppingAdminUserService.ToggleAdminUser:output_type -> shopping_admin_user_service.ToggleAdminUserResponse
- 12, // [12:19] is the sub-list for method output_type
- 5, // [5:12] is the sub-list for method input_type
- 5, // [5:5] is the sub-list for extension type_name
- 5, // [5:5] is the sub-list for extension extendee
- 0, // [0:5] is the sub-list for field type_name
- }
- func init() { file_proto_shopping_admin_user_service_proto_init() }
- func file_proto_shopping_admin_user_service_proto_init() {
- if File_proto_shopping_admin_user_service_proto != nil {
- return
- }
- file_proto_base_shopping_service_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_proto_shopping_admin_user_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAdminUserListRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAdminUserListResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAllAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetAllAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreateAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ToggleAdminUserRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_shopping_admin_user_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ToggleAdminUserResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_proto_shopping_admin_user_service_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 14,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_proto_shopping_admin_user_service_proto_goTypes,
- DependencyIndexes: file_proto_shopping_admin_user_service_proto_depIdxs,
- MessageInfos: file_proto_shopping_admin_user_service_proto_msgTypes,
- }.Build()
- File_proto_shopping_admin_user_service_proto = out.File
- file_proto_shopping_admin_user_service_proto_rawDesc = nil
- file_proto_shopping_admin_user_service_proto_goTypes = nil
- file_proto_shopping_admin_user_service_proto_depIdxs = nil
- }
|