1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.23.0
- // protoc v3.11.4
- // source: entManageApplication.proto
- package pb
- import (
- context "context"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- 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)
- )
- // This is a compile-time assertion that a sufficiently up-to-date version
- // of the legacy proto package is being used.
- const _ = proto.ProtoPackageIsVersion4
- type BuyProductListReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- EntId int64 `protobuf:"varint,1,opt,name=entId,proto3" json:"entId,omitempty"`
- }
- func (x *BuyProductListReq) Reset() {
- *x = BuyProductListReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BuyProductListReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BuyProductListReq) ProtoMessage() {}
- func (x *BuyProductListReq) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 BuyProductListReq.ProtoReflect.Descriptor instead.
- func (*BuyProductListReq) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{0}
- }
- func (x *BuyProductListReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- type BuyProductListResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
- ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
- Data []*BuyProductList `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
- }
- func (x *BuyProductListResp) Reset() {
- *x = BuyProductListResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BuyProductListResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BuyProductListResp) ProtoMessage() {}
- func (x *BuyProductListResp) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 BuyProductListResp.ProtoReflect.Descriptor instead.
- func (*BuyProductListResp) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{1}
- }
- func (x *BuyProductListResp) GetErrorCode() int64 {
- if x != nil {
- return x.ErrorCode
- }
- return 0
- }
- func (x *BuyProductListResp) GetErrorMsg() string {
- if x != nil {
- return x.ErrorMsg
- }
- return ""
- }
- func (x *BuyProductListResp) GetData() []*BuyProductList {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type BuyProductList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
- ProductType string `protobuf:"bytes,2,opt,name=product_type,json=productType,proto3" json:"product_type,omitempty"`
- UseCount int64 `protobuf:"varint,3,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"`
- EmpowerCount int64 `protobuf:"varint,4,opt,name=empower_count,json=empowerCount,proto3" json:"empower_count,omitempty"`
- ProvinceCount int64 `protobuf:"varint,5,opt,name=province_count,json=provinceCount,proto3" json:"province_count,omitempty"`
- EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- }
- func (x *BuyProductList) Reset() {
- *x = BuyProductList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BuyProductList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BuyProductList) ProtoMessage() {}
- func (x *BuyProductList) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 BuyProductList.ProtoReflect.Descriptor instead.
- func (*BuyProductList) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{2}
- }
- func (x *BuyProductList) GetWaitEmpowerId() int64 {
- if x != nil {
- return x.WaitEmpowerId
- }
- return 0
- }
- func (x *BuyProductList) GetProductType() string {
- if x != nil {
- return x.ProductType
- }
- return ""
- }
- func (x *BuyProductList) GetUseCount() int64 {
- if x != nil {
- return x.UseCount
- }
- return 0
- }
- func (x *BuyProductList) GetEmpowerCount() int64 {
- if x != nil {
- return x.EmpowerCount
- }
- return 0
- }
- func (x *BuyProductList) GetProvinceCount() int64 {
- if x != nil {
- return x.ProvinceCount
- }
- return 0
- }
- func (x *BuyProductList) GetEndTime() string {
- if x != nil {
- return x.EndTime
- }
- return ""
- }
- type UsePersonListReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
- }
- func (x *UsePersonListReq) Reset() {
- *x = UsePersonListReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UsePersonListReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UsePersonListReq) ProtoMessage() {}
- func (x *UsePersonListReq) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 UsePersonListReq.ProtoReflect.Descriptor instead.
- func (*UsePersonListReq) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{3}
- }
- func (x *UsePersonListReq) GetWaitEmpowerId() int64 {
- if x != nil {
- return x.WaitEmpowerId
- }
- return 0
- }
- type UsePersonListResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
- ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
- Data []*UsePersonList `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
- }
- func (x *UsePersonListResp) Reset() {
- *x = UsePersonListResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UsePersonListResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UsePersonListResp) ProtoMessage() {}
- func (x *UsePersonListResp) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 UsePersonListResp.ProtoReflect.Descriptor instead.
- func (*UsePersonListResp) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{4}
- }
- func (x *UsePersonListResp) GetErrorCode() int64 {
- if x != nil {
- return x.ErrorCode
- }
- return 0
- }
- func (x *UsePersonListResp) GetErrorMsg() string {
- if x != nil {
- return x.ErrorMsg
- }
- return ""
- }
- func (x *UsePersonListResp) GetData() []*UsePersonList {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type UsePersonList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- EntnichePowerId int64 `protobuf:"varint,1,opt,name=entniche_power_id,json=entnichePowerId,proto3" json:"entniche_power_id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
- Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
- Department string `protobuf:"bytes,5,opt,name=department,proto3" json:"department,omitempty"`
- Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
- }
- func (x *UsePersonList) Reset() {
- *x = UsePersonList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UsePersonList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UsePersonList) ProtoMessage() {}
- func (x *UsePersonList) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 UsePersonList.ProtoReflect.Descriptor instead.
- func (*UsePersonList) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{5}
- }
- func (x *UsePersonList) GetEntnichePowerId() int64 {
- if x != nil {
- return x.EntnichePowerId
- }
- return 0
- }
- func (x *UsePersonList) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *UsePersonList) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
- }
- func (x *UsePersonList) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
- func (x *UsePersonList) GetDepartment() string {
- if x != nil {
- return x.Department
- }
- return ""
- }
- func (x *UsePersonList) GetRole() string {
- if x != nil {
- return x.Role
- }
- return ""
- }
- type AddUsePersonReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
- EntUserId int64 `protobuf:"varint,2,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"`
- EntId int64 `protobuf:"varint,3,opt,name=entId,proto3" json:"entId,omitempty"`
- }
- func (x *AddUsePersonReq) Reset() {
- *x = AddUsePersonReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddUsePersonReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddUsePersonReq) ProtoMessage() {}
- func (x *AddUsePersonReq) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 AddUsePersonReq.ProtoReflect.Descriptor instead.
- func (*AddUsePersonReq) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{6}
- }
- func (x *AddUsePersonReq) GetWaitEmpowerId() int64 {
- if x != nil {
- return x.WaitEmpowerId
- }
- return 0
- }
- func (x *AddUsePersonReq) GetEntUserId() int64 {
- if x != nil {
- return x.EntUserId
- }
- return 0
- }
- func (x *AddUsePersonReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- type AddUsePersonResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
- ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
- Data *AddUsePerson `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *AddUsePersonResp) Reset() {
- *x = AddUsePersonResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddUsePersonResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddUsePersonResp) ProtoMessage() {}
- func (x *AddUsePersonResp) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 AddUsePersonResp.ProtoReflect.Descriptor instead.
- func (*AddUsePersonResp) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{7}
- }
- func (x *AddUsePersonResp) GetErrorCode() int64 {
- if x != nil {
- return x.ErrorCode
- }
- return 0
- }
- func (x *AddUsePersonResp) GetErrorMsg() string {
- if x != nil {
- return x.ErrorMsg
- }
- return ""
- }
- func (x *AddUsePersonResp) GetData() *AddUsePerson {
- if x != nil {
- return x.Data
- }
- return nil
- }
- type AddUsePerson struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
- }
- func (x *AddUsePerson) Reset() {
- *x = AddUsePerson{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AddUsePerson) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AddUsePerson) ProtoMessage() {}
- func (x *AddUsePerson) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 AddUsePerson.ProtoReflect.Descriptor instead.
- func (*AddUsePerson) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{8}
- }
- func (x *AddUsePerson) GetStatus() int64 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- type DelUsePersonReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- EntnichePowerId int64 `protobuf:"varint,1,opt,name=entniche_power_id,json=entnichePowerId,proto3" json:"entniche_power_id,omitempty"`
- }
- func (x *DelUsePersonReq) Reset() {
- *x = DelUsePersonReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_entManageApplication_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DelUsePersonReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DelUsePersonReq) ProtoMessage() {}
- func (x *DelUsePersonReq) ProtoReflect() protoreflect.Message {
- mi := &file_entManageApplication_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 DelUsePersonReq.ProtoReflect.Descriptor instead.
- func (*DelUsePersonReq) Descriptor() ([]byte, []int) {
- return file_entManageApplication_proto_rawDescGZIP(), []int{9}
- }
- func (x *DelUsePersonReq) GetEntnichePowerId() int64 {
- if x != nil {
- return x.EntnichePowerId
- }
- return 0
- }
- var File_entManageApplication_proto protoreflect.FileDescriptor
- var file_entManageApplication_proto_rawDesc = []byte{
- 0x0a, 0x1a, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69,
- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x11,
- 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x71, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x75, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x50, 0x72,
- 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a,
- 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74,
- 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f,
- 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xdf,
- 0x01, 0x0a, 0x0e, 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73,
- 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65,
- 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x61, 0x69, 0x74,
- 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f,
- 0x64, 0x75, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
- 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25,
- 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
- 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
- 0x22, 0x3a, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
- 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65, 0x6d, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77,
- 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x11,
- 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
- 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
- 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x22, 0x0a,
- 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x55, 0x73,
- 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74,
- 0x61, 0x22, 0xaf, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
- 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x5f,
- 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
- 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
- 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
- 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12,
- 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72,
- 0x6f, 0x6c, 0x65, 0x22, 0x6f, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65,
- 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x0d, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e,
- 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65,
- 0x6e, 0x74, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65,
- 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
- 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
- 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
- 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
- 0x72, 0x4d, 0x73, 0x67, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f,
- 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x55, 0x73,
- 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
- 0x3d, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52,
- 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x5f, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x65,
- 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x32, 0xf3,
- 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x70, 0x70, 0x6c,
- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0e, 0x62, 0x75, 0x79, 0x50, 0x72,
- 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x42, 0x75, 0x79, 0x50,
- 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e,
- 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
- 0x69, 0x73, 0x74, 0x12, 0x11, 0x2e, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73,
- 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x0c, 0x61, 0x64,
- 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x2e, 0x41, 0x64, 0x64,
- 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x41,
- 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x33, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12,
- 0x10, 0x2e, 0x44, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65,
- 0x71, 0x1a, 0x11, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
- 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_entManageApplication_proto_rawDescOnce sync.Once
- file_entManageApplication_proto_rawDescData = file_entManageApplication_proto_rawDesc
- )
- func file_entManageApplication_proto_rawDescGZIP() []byte {
- file_entManageApplication_proto_rawDescOnce.Do(func() {
- file_entManageApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_entManageApplication_proto_rawDescData)
- })
- return file_entManageApplication_proto_rawDescData
- }
- var file_entManageApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
- var file_entManageApplication_proto_goTypes = []interface{}{
- (*BuyProductListReq)(nil), // 0: BuyProductListReq
- (*BuyProductListResp)(nil), // 1: BuyProductListResp
- (*BuyProductList)(nil), // 2: BuyProductList
- (*UsePersonListReq)(nil), // 3: UsePersonListReq
- (*UsePersonListResp)(nil), // 4: UsePersonListResp
- (*UsePersonList)(nil), // 5: UsePersonList
- (*AddUsePersonReq)(nil), // 6: AddUsePersonReq
- (*AddUsePersonResp)(nil), // 7: AddUsePersonResp
- (*AddUsePerson)(nil), // 8: AddUsePerson
- (*DelUsePersonReq)(nil), // 9: DelUsePersonReq
- }
- var file_entManageApplication_proto_depIdxs = []int32{
- 2, // 0: BuyProductListResp.data:type_name -> BuyProductList
- 5, // 1: UsePersonListResp.data:type_name -> UsePersonList
- 8, // 2: AddUsePersonResp.data:type_name -> AddUsePerson
- 0, // 3: EntManageApplication.buyProductList:input_type -> BuyProductListReq
- 3, // 4: EntManageApplication.usePersonList:input_type -> UsePersonListReq
- 6, // 5: EntManageApplication.addUsePerson:input_type -> AddUsePersonReq
- 9, // 6: EntManageApplication.delUsePerson:input_type -> DelUsePersonReq
- 1, // 7: EntManageApplication.buyProductList:output_type -> BuyProductListResp
- 4, // 8: EntManageApplication.usePersonList:output_type -> UsePersonListResp
- 7, // 9: EntManageApplication.addUsePerson:output_type -> AddUsePersonResp
- 7, // 10: EntManageApplication.delUsePerson:output_type -> AddUsePersonResp
- 7, // [7:11] is the sub-list for method output_type
- 3, // [3:7] 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_entManageApplication_proto_init() }
- func file_entManageApplication_proto_init() {
- if File_entManageApplication_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_entManageApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BuyProductListReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BuyProductListResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BuyProductList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UsePersonListReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UsePersonListResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UsePersonList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddUsePersonReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddUsePersonResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddUsePerson); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_entManageApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DelUsePersonReq); 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_entManageApplication_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 10,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_entManageApplication_proto_goTypes,
- DependencyIndexes: file_entManageApplication_proto_depIdxs,
- MessageInfos: file_entManageApplication_proto_msgTypes,
- }.Build()
- File_entManageApplication_proto = out.File
- file_entManageApplication_proto_rawDesc = nil
- file_entManageApplication_proto_goTypes = nil
- file_entManageApplication_proto_depIdxs = nil
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // EntManageApplicationClient is the client API for EntManageApplication service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type EntManageApplicationClient interface {
- BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error)
- UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error)
- AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error)
- DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error)
- }
- type entManageApplicationClient struct {
- cc grpc.ClientConnInterface
- }
- func NewEntManageApplicationClient(cc grpc.ClientConnInterface) EntManageApplicationClient {
- return &entManageApplicationClient{cc}
- }
- func (c *entManageApplicationClient) BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error) {
- out := new(BuyProductListResp)
- err := c.cc.Invoke(ctx, "/EntManageApplication/buyProductList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *entManageApplicationClient) UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error) {
- out := new(UsePersonListResp)
- err := c.cc.Invoke(ctx, "/EntManageApplication/usePersonList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *entManageApplicationClient) AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) {
- out := new(AddUsePersonResp)
- err := c.cc.Invoke(ctx, "/EntManageApplication/addUsePerson", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *entManageApplicationClient) DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) {
- out := new(AddUsePersonResp)
- err := c.cc.Invoke(ctx, "/EntManageApplication/delUsePerson", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // EntManageApplicationServer is the server API for EntManageApplication service.
- type EntManageApplicationServer interface {
- BuyProductList(context.Context, *BuyProductListReq) (*BuyProductListResp, error)
- UsePersonList(context.Context, *UsePersonListReq) (*UsePersonListResp, error)
- AddUsePerson(context.Context, *AddUsePersonReq) (*AddUsePersonResp, error)
- DelUsePerson(context.Context, *DelUsePersonReq) (*AddUsePersonResp, error)
- }
- // UnimplementedEntManageApplicationServer can be embedded to have forward compatible implementations.
- type UnimplementedEntManageApplicationServer struct {
- }
- func (*UnimplementedEntManageApplicationServer) BuyProductList(context.Context, *BuyProductListReq) (*BuyProductListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BuyProductList not implemented")
- }
- func (*UnimplementedEntManageApplicationServer) UsePersonList(context.Context, *UsePersonListReq) (*UsePersonListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UsePersonList not implemented")
- }
- func (*UnimplementedEntManageApplicationServer) AddUsePerson(context.Context, *AddUsePersonReq) (*AddUsePersonResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddUsePerson not implemented")
- }
- func (*UnimplementedEntManageApplicationServer) DelUsePerson(context.Context, *DelUsePersonReq) (*AddUsePersonResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DelUsePerson not implemented")
- }
- func RegisterEntManageApplicationServer(s *grpc.Server, srv EntManageApplicationServer) {
- s.RegisterService(&_EntManageApplication_serviceDesc, srv)
- }
- func _EntManageApplication_BuyProductList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(BuyProductListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(EntManageApplicationServer).BuyProductList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/EntManageApplication/BuyProductList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(EntManageApplicationServer).BuyProductList(ctx, req.(*BuyProductListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _EntManageApplication_UsePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UsePersonListReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(EntManageApplicationServer).UsePersonList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/EntManageApplication/UsePersonList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(EntManageApplicationServer).UsePersonList(ctx, req.(*UsePersonListReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _EntManageApplication_AddUsePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddUsePersonReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(EntManageApplicationServer).AddUsePerson(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/EntManageApplication/AddUsePerson",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(EntManageApplicationServer).AddUsePerson(ctx, req.(*AddUsePersonReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _EntManageApplication_DelUsePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DelUsePersonReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(EntManageApplicationServer).DelUsePerson(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/EntManageApplication/DelUsePerson",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(EntManageApplicationServer).DelUsePerson(ctx, req.(*DelUsePersonReq))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _EntManageApplication_serviceDesc = grpc.ServiceDesc{
- ServiceName: "EntManageApplication",
- HandlerType: (*EntManageApplicationServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "buyProductList",
- Handler: _EntManageApplication_BuyProductList_Handler,
- },
- {
- MethodName: "usePersonList",
- Handler: _EntManageApplication_UsePersonList_Handler,
- },
- {
- MethodName: "addUsePerson",
- Handler: _EntManageApplication_AddUsePerson_Handler,
- },
- {
- MethodName: "delUsePerson",
- Handler: _EntManageApplication_DelUsePerson_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "entManageApplication.proto",
- }
|