123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.31.0
- // protoc v4.25.0
- // source: proto/common_service.proto
- package authorization_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 AdminLoginRequest 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"`
- }
- func (x *AdminLoginRequest) Reset() {
- *x = AdminLoginRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminLoginRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminLoginRequest) ProtoMessage() {}
- func (x *AdminLoginRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminLoginRequest.ProtoReflect.Descriptor instead.
- func (*AdminLoginRequest) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{0}
- }
- func (x *AdminLoginRequest) GetUsername() string {
- if x != nil {
- return x.Username
- }
- return ""
- }
- func (x *AdminLoginRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- type AdminLoginResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
- }
- func (x *AdminLoginResponse) Reset() {
- *x = AdminLoginResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminLoginResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminLoginResponse) ProtoMessage() {}
- func (x *AdminLoginResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminLoginResponse.ProtoReflect.Descriptor instead.
- func (*AdminLoginResponse) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{1}
- }
- func (x *AdminLoginResponse) GetUser() *AdminUser {
- if x != nil {
- return x.User
- }
- return nil
- }
- func (x *AdminLoginResponse) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- // ------------ 退出 ------------
- type AdminLogoutRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *AdminLogoutRequest) Reset() {
- *x = AdminLogoutRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminLogoutRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminLogoutRequest) ProtoMessage() {}
- func (x *AdminLogoutRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminLogoutRequest.ProtoReflect.Descriptor instead.
- func (*AdminLogoutRequest) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{2}
- }
- type AdminLogoutResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *AdminLogoutResponse) Reset() {
- *x = AdminLogoutResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminLogoutResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminLogoutResponse) ProtoMessage() {}
- func (x *AdminLogoutResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminLogoutResponse.ProtoReflect.Descriptor instead.
- func (*AdminLogoutResponse) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{3}
- }
- // ------------ 个人信息 ------------
- type AdminProfileRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *AdminProfileRequest) Reset() {
- *x = AdminProfileRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminProfileRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminProfileRequest) ProtoMessage() {}
- func (x *AdminProfileRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminProfileRequest.ProtoReflect.Descriptor instead.
- func (*AdminProfileRequest) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{4}
- }
- type AdminProfileResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
- }
- func (x *AdminProfileResponse) Reset() {
- *x = AdminProfileResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_common_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AdminProfileResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AdminProfileResponse) ProtoMessage() {}
- func (x *AdminProfileResponse) ProtoReflect() protoreflect.Message {
- mi := &file_proto_common_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 AdminProfileResponse.ProtoReflect.Descriptor instead.
- func (*AdminProfileResponse) Descriptor() ([]byte, []int) {
- return file_proto_common_service_proto_rawDescGZIP(), []int{5}
- }
- func (x *AdminProfileResponse) GetUser() *AdminUser {
- if x != nil {
- return x.User
- }
- return nil
- }
- var File_proto_common_service_proto protoreflect.FileDescriptor
- var file_proto_common_service_proto_rawDesc = []byte{
- 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x18, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x11, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
- 0x6f, 0x67, 0x69, 0x6e, 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, 0x22, 0x57, 0x0a, 0x12, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
- 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65,
- 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x14, 0x0a, 0x12,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75,
- 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x22, 0x43, 0x0a, 0x14, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x04, 0x75, 0x73, 0x65, 0x72, 0x32, 0x97, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69,
- 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
- 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
- 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0b,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x22, 0x2e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f,
- 0x66, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x73, 0x65,
- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69,
- 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
- 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
- 0x1f, 0x5a, 0x1d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_common_service_proto_rawDescOnce sync.Once
- file_proto_common_service_proto_rawDescData = file_proto_common_service_proto_rawDesc
- )
- func file_proto_common_service_proto_rawDescGZIP() []byte {
- file_proto_common_service_proto_rawDescOnce.Do(func() {
- file_proto_common_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_common_service_proto_rawDescData)
- })
- return file_proto_common_service_proto_rawDescData
- }
- var file_proto_common_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
- var file_proto_common_service_proto_goTypes = []interface{}{
- (*AdminLoginRequest)(nil), // 0: common_service.AdminLoginRequest
- (*AdminLoginResponse)(nil), // 1: common_service.AdminLoginResponse
- (*AdminLogoutRequest)(nil), // 2: common_service.AdminLogoutRequest
- (*AdminLogoutResponse)(nil), // 3: common_service.AdminLogoutResponse
- (*AdminProfileRequest)(nil), // 4: common_service.AdminProfileRequest
- (*AdminProfileResponse)(nil), // 5: common_service.AdminProfileResponse
- (*AdminUser)(nil), // 6: base_service.AdminUser
- }
- var file_proto_common_service_proto_depIdxs = []int32{
- 6, // 0: common_service.AdminLoginResponse.user:type_name -> base_service.AdminUser
- 6, // 1: common_service.AdminProfileResponse.user:type_name -> base_service.AdminUser
- 0, // 2: common_service.CommonService.AdminLogin:input_type -> common_service.AdminLoginRequest
- 2, // 3: common_service.CommonService.AdminLogout:input_type -> common_service.AdminLogoutRequest
- 4, // 4: common_service.CommonService.AdminProfile:input_type -> common_service.AdminProfileRequest
- 1, // 5: common_service.CommonService.AdminLogin:output_type -> common_service.AdminLoginResponse
- 3, // 6: common_service.CommonService.AdminLogout:output_type -> common_service.AdminLogoutResponse
- 5, // 7: common_service.CommonService.AdminProfile:output_type -> common_service.AdminProfileResponse
- 5, // [5:8] is the sub-list for method output_type
- 2, // [2:5] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
- }
- func init() { file_proto_common_service_proto_init() }
- func file_proto_common_service_proto_init() {
- if File_proto_common_service_proto != nil {
- return
- }
- file_proto_base_service_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_proto_common_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminLoginRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_common_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminLoginResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_common_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminLogoutRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_common_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminLogoutResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_common_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminProfileRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_common_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AdminProfileResponse); 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_common_service_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_proto_common_service_proto_goTypes,
- DependencyIndexes: file_proto_common_service_proto_depIdxs,
- MessageInfos: file_proto_common_service_proto_msgTypes,
- }.Build()
- File_proto_common_service_proto = out.File
- file_proto_common_service_proto_rawDesc = nil
- file_proto_common_service_proto_goTypes = nil
- file_proto_common_service_proto_depIdxs = nil
- }
|