123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.27.1
- // protoc v3.20.0--rc2
- // source: resource.proto
- package pb
- 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 Empower struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- EntUserId int64 `protobuf:"varint,1,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
- }
- func (x *Empower) Reset() {
- *x = Empower{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Empower) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Empower) ProtoMessage() {}
- func (x *Empower) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 Empower.ProtoReflect.Descriptor instead.
- func (*Empower) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{0}
- }
- func (x *Empower) GetEntUserId() int64 {
- if x != nil {
- return x.EntUserId
- }
- return 0
- }
- type PowerReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- GoodsCode string `protobuf:"bytes,2,opt,name=goods_code,json=goodsCode,proto3" json:"goods_code,omitempty"` //商品代码
- GoodsSpecId int64 `protobuf:"varint,3,opt,name=goods_spec_id,json=goodsSpecId,proto3" json:"goods_spec_id,omitempty"` //商品规格id
- EntId int64 `protobuf:"varint,4,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- AccountId int64 `protobuf:"varint,5,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //个人/企业员工账户id
- BuyNum int64 `protobuf:"varint,6,opt,name=buy_num,json=buyNum,proto3" json:"buy_num,omitempty"` //购买的数量或者购买的份数
- Type int64 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` //操作类型 1:开通权益 -1:取消权益
- StartTime string `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //权益开始时间 格式:2006-01-02 15:04:05
- EndTime string `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //权益到期时间 格式:2006-01-02 15:04:05
- EntAccountId int64 `protobuf:"varint,10,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
- }
- func (x *PowerReq) Reset() {
- *x = PowerReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PowerReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PowerReq) ProtoMessage() {}
- func (x *PowerReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 PowerReq.ProtoReflect.Descriptor instead.
- func (*PowerReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{1}
- }
- func (x *PowerReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *PowerReq) GetGoodsCode() string {
- if x != nil {
- return x.GoodsCode
- }
- return ""
- }
- func (x *PowerReq) GetGoodsSpecId() int64 {
- if x != nil {
- return x.GoodsSpecId
- }
- return 0
- }
- func (x *PowerReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *PowerReq) GetAccountId() int64 {
- if x != nil {
- return x.AccountId
- }
- return 0
- }
- func (x *PowerReq) GetBuyNum() int64 {
- if x != nil {
- return x.BuyNum
- }
- return 0
- }
- func (x *PowerReq) GetType() int64 {
- if x != nil {
- return x.Type
- }
- return 0
- }
- func (x *PowerReq) GetStartTime() string {
- if x != nil {
- return x.StartTime
- }
- return ""
- }
- func (x *PowerReq) GetEndTime() string {
- if x != nil {
- return x.EndTime
- }
- return ""
- }
- func (x *PowerReq) GetEntAccountId() int64 {
- if x != nil {
- return x.EntAccountId
- }
- return 0
- }
- type CheckPowerReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
- EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
- EntId int64 `protobuf:"varint,5,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- EntUserId int64 `protobuf:"varint,6,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
- }
- func (x *CheckPowerReq) Reset() {
- *x = CheckPowerReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CheckPowerReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CheckPowerReq) ProtoMessage() {}
- func (x *CheckPowerReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 CheckPowerReq.ProtoReflect.Descriptor instead.
- func (*CheckPowerReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{2}
- }
- func (x *CheckPowerReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *CheckPowerReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *CheckPowerReq) GetAccountId() int64 {
- if x != nil {
- return x.AccountId
- }
- return 0
- }
- func (x *CheckPowerReq) GetEntAccountId() int64 {
- if x != nil {
- return x.EntAccountId
- }
- return 0
- }
- func (x *CheckPowerReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *CheckPowerReq) GetEntUserId() int64 {
- if x != nil {
- return x.EntUserId
- }
- return 0
- }
- type DeductionReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
- EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
- Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` //扣除数量
- Ids []string `protobuf:"bytes,6,rep,name=ids,proto3" json:"ids,omitempty"` //id列表
- }
- func (x *DeductionReq) Reset() {
- *x = DeductionReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeductionReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeductionReq) ProtoMessage() {}
- func (x *DeductionReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 DeductionReq.ProtoReflect.Descriptor instead.
- func (*DeductionReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{3}
- }
- func (x *DeductionReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *DeductionReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *DeductionReq) GetAccountId() int64 {
- if x != nil {
- return x.AccountId
- }
- return 0
- }
- func (x *DeductionReq) GetEntAccountId() int64 {
- if x != nil {
- return x.EntAccountId
- }
- return 0
- }
- func (x *DeductionReq) GetCount() int64 {
- if x != nil {
- return x.Count
- }
- return 0
- }
- func (x *DeductionReq) GetIds() []string {
- if x != nil {
- return x.Ids
- }
- return nil
- }
- type RechargeReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
- EntAccountId int64 `protobuf:"varint,4,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
- Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` //充值数量
- Ids []string `protobuf:"bytes,6,rep,name=ids,proto3" json:"ids,omitempty"` //id列表
- }
- func (x *RechargeReq) Reset() {
- *x = RechargeReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RechargeReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RechargeReq) ProtoMessage() {}
- func (x *RechargeReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 RechargeReq.ProtoReflect.Descriptor instead.
- func (*RechargeReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{4}
- }
- func (x *RechargeReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *RechargeReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *RechargeReq) GetAccountId() int64 {
- if x != nil {
- return x.AccountId
- }
- return 0
- }
- func (x *RechargeReq) GetEntAccountId() int64 {
- if x != nil {
- return x.EntAccountId
- }
- return 0
- }
- func (x *RechargeReq) GetCount() int64 {
- if x != nil {
- return x.Count
- }
- return 0
- }
- func (x *RechargeReq) GetIds() []string {
- if x != nil {
- return x.Ids
- }
- return nil
- }
- type EmpowerReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- EntUserId []int64 `protobuf:"varint,4,rep,packed,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
- }
- func (x *EmpowerReq) Reset() {
- *x = EmpowerReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *EmpowerReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EmpowerReq) ProtoMessage() {}
- func (x *EmpowerReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 EmpowerReq.ProtoReflect.Descriptor instead.
- func (*EmpowerReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{5}
- }
- func (x *EmpowerReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *EmpowerReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *EmpowerReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *EmpowerReq) GetEntUserId() []int64 {
- if x != nil {
- return x.EntUserId
- }
- return nil
- }
- type EmpowerAllReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionModule string `protobuf:"bytes,2,opt,name=function_module,json=functionModule,proto3" json:"function_module,omitempty"` //功能分类
- EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- EntUserId []int64 `protobuf:"varint,4,rep,packed,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
- }
- func (x *EmpowerAllReq) Reset() {
- *x = EmpowerAllReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *EmpowerAllReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EmpowerAllReq) ProtoMessage() {}
- func (x *EmpowerAllReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 EmpowerAllReq.ProtoReflect.Descriptor instead.
- func (*EmpowerAllReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{6}
- }
- func (x *EmpowerAllReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *EmpowerAllReq) GetFunctionModule() string {
- if x != nil {
- return x.FunctionModule
- }
- return ""
- }
- func (x *EmpowerAllReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *EmpowerAllReq) GetEntUserId() []int64 {
- if x != nil {
- return x.EntUserId
- }
- return nil
- }
- type EmpowerListReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- PageNum int64 `protobuf:"varint,4,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"` //开始页码,小于1的话,返回所有数据,不进行分页
- PageSize int64 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` //每页大小
- }
- func (x *EmpowerListReq) Reset() {
- *x = EmpowerListReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *EmpowerListReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EmpowerListReq) ProtoMessage() {}
- func (x *EmpowerListReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 EmpowerListReq.ProtoReflect.Descriptor instead.
- func (*EmpowerListReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{7}
- }
- func (x *EmpowerListReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *EmpowerListReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *EmpowerListReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *EmpowerListReq) GetPageNum() int64 {
- if x != nil {
- return x.PageNum
- }
- return 0
- }
- func (x *EmpowerListReq) GetPageSize() int64 {
- if x != nil {
- return x.PageSize
- }
- return 0
- }
- type EmpowerListResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` //总条数,只有第一页的时候才返回, 如果企业下所有人都有权限返回-1
- List []*Empower `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` //列表,如果企业下所有人都有权限,返回空数组
- }
- func (x *EmpowerListResp) Reset() {
- *x = EmpowerListResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *EmpowerListResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EmpowerListResp) ProtoMessage() {}
- func (x *EmpowerListResp) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 EmpowerListResp.ProtoReflect.Descriptor instead.
- func (*EmpowerListResp) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{8}
- }
- func (x *EmpowerListResp) GetCount() int64 {
- if x != nil {
- return x.Count
- }
- return 0
- }
- func (x *EmpowerListResp) GetList() []*Empower {
- if x != nil {
- return x.List
- }
- return nil
- }
- type Resp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` //0:失败 1:成功 -1:不在有效期内 -2:数量不足 -3:没有授权 -4:超额
- UseCount int64 `protobuf:"varint,2,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"` //使用数量
- SurplusCount int64 `protobuf:"varint,3,opt,name=surplus_count,json=surplusCount,proto3" json:"surplus_count,omitempty"` //剩余数量
- StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //权益开始时间
- EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //权益到期时间
- }
- func (x *Resp) Reset() {
- *x = Resp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Resp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Resp) ProtoMessage() {}
- func (x *Resp) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 Resp.ProtoReflect.Descriptor instead.
- func (*Resp) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{9}
- }
- func (x *Resp) GetStatus() int64 {
- if x != nil {
- return x.Status
- }
- return 0
- }
- func (x *Resp) GetUseCount() int64 {
- if x != nil {
- return x.UseCount
- }
- return 0
- }
- func (x *Resp) GetSurplusCount() int64 {
- if x != nil {
- return x.SurplusCount
- }
- return 0
- }
- func (x *Resp) GetStartTime() string {
- if x != nil {
- return x.StartTime
- }
- return ""
- }
- func (x *Resp) GetEndTime() string {
- if x != nil {
- return x.EndTime
- }
- return ""
- }
- type HaspowersReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` //账户id
- EntAccountId int64 `protobuf:"varint,3,opt,name=ent_account_id,json=entAccountId,proto3" json:"ent_account_id,omitempty"` //企业账户id
- EntId int64 `protobuf:"varint,4,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- EntUserId int64 `protobuf:"varint,5,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"` //企业用户id
- }
- func (x *HaspowersReq) Reset() {
- *x = HaspowersReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *HaspowersReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*HaspowersReq) ProtoMessage() {}
- func (x *HaspowersReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 HaspowersReq.ProtoReflect.Descriptor instead.
- func (*HaspowersReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{10}
- }
- func (x *HaspowersReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *HaspowersReq) GetAccountId() int64 {
- if x != nil {
- return x.AccountId
- }
- return 0
- }
- func (x *HaspowersReq) GetEntAccountId() int64 {
- if x != nil {
- return x.EntAccountId
- }
- return 0
- }
- func (x *HaspowersReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- func (x *HaspowersReq) GetEntUserId() int64 {
- if x != nil {
- return x.EntUserId
- }
- return 0
- }
- type HaspowersResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Powers []string `protobuf:"bytes,1,rep,name=powers,proto3" json:"powers,omitempty"` //所有权益
- }
- func (x *HaspowersResp) Reset() {
- *x = HaspowersResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *HaspowersResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*HaspowersResp) ProtoMessage() {}
- func (x *HaspowersResp) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 HaspowersResp.ProtoReflect.Descriptor instead.
- func (*HaspowersResp) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{11}
- }
- func (x *HaspowersResp) GetPowers() []string {
- if x != nil {
- return x.Powers
- }
- return nil
- }
- type WaitEmpowerDetailReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
- EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- }
- func (x *WaitEmpowerDetailReq) Reset() {
- *x = WaitEmpowerDetailReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WaitEmpowerDetailReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WaitEmpowerDetailReq) ProtoMessage() {}
- func (x *WaitEmpowerDetailReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 WaitEmpowerDetailReq.ProtoReflect.Descriptor instead.
- func (*WaitEmpowerDetailReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{12}
- }
- func (x *WaitEmpowerDetailReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *WaitEmpowerDetailReq) GetFunctionCode() string {
- if x != nil {
- return x.FunctionCode
- }
- return ""
- }
- func (x *WaitEmpowerDetailReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- type WaitEmpowerDetailBySpecIdReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
- SpecId int64 `protobuf:"varint,2,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` //功能代码
- EntId int64 `protobuf:"varint,3,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
- }
- func (x *WaitEmpowerDetailBySpecIdReq) Reset() {
- *x = WaitEmpowerDetailBySpecIdReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WaitEmpowerDetailBySpecIdReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WaitEmpowerDetailBySpecIdReq) ProtoMessage() {}
- func (x *WaitEmpowerDetailBySpecIdReq) ProtoReflect() protoreflect.Message {
- mi := &file_resource_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 WaitEmpowerDetailBySpecIdReq.ProtoReflect.Descriptor instead.
- func (*WaitEmpowerDetailBySpecIdReq) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{13}
- }
- func (x *WaitEmpowerDetailBySpecIdReq) GetAppid() string {
- if x != nil {
- return x.Appid
- }
- return ""
- }
- func (x *WaitEmpowerDetailBySpecIdReq) GetSpecId() int64 {
- if x != nil {
- return x.SpecId
- }
- return 0
- }
- func (x *WaitEmpowerDetailBySpecIdReq) GetEntId() int64 {
- if x != nil {
- return x.EntId
- }
- return 0
- }
- type WaitEmpowerDetailsResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- WaitEmpowerDetails []*WaitEmpowerDetailResp `protobuf:"bytes,1,rep,name=waitEmpowerDetails,proto3" json:"waitEmpowerDetails,omitempty"`
- }
- func (x *WaitEmpowerDetailsResp) Reset() {
- *x = WaitEmpowerDetailsResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WaitEmpowerDetailsResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WaitEmpowerDetailsResp) ProtoMessage() {}
- func (x *WaitEmpowerDetailsResp) ProtoReflect() protoreflect.Message {
- mi := &file_resource_proto_msgTypes[14]
- 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 WaitEmpowerDetailsResp.ProtoReflect.Descriptor instead.
- func (*WaitEmpowerDetailsResp) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{14}
- }
- func (x *WaitEmpowerDetailsResp) GetWaitEmpowerDetails() []*WaitEmpowerDetailResp {
- if x != nil {
- return x.WaitEmpowerDetails
- }
- return nil
- }
- type WaitEmpowerDetailResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
- StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //开始时间
- EndTime string `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //结束时间
- EmpowerCount int64 `protobuf:"varint,4,opt,name=empower_count,json=empowerCount,proto3" json:"empower_count,omitempty"` //授权数量
- UseCount int64 `protobuf:"varint,5,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"` //使用数量
- LimitStrategy string `protobuf:"bytes,6,opt,name=limit_strategy,json=limitStrategy,proto3" json:"limit_strategy,omitempty"` //频率限制
- }
- func (x *WaitEmpowerDetailResp) Reset() {
- *x = WaitEmpowerDetailResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_resource_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WaitEmpowerDetailResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WaitEmpowerDetailResp) ProtoMessage() {}
- func (x *WaitEmpowerDetailResp) ProtoReflect() protoreflect.Message {
- mi := &file_resource_proto_msgTypes[15]
- 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 WaitEmpowerDetailResp.ProtoReflect.Descriptor instead.
- func (*WaitEmpowerDetailResp) Descriptor() ([]byte, []int) {
- return file_resource_proto_rawDescGZIP(), []int{15}
- }
- func (x *WaitEmpowerDetailResp) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *WaitEmpowerDetailResp) GetStartTime() string {
- if x != nil {
- return x.StartTime
- }
- return ""
- }
- func (x *WaitEmpowerDetailResp) GetEndTime() string {
- if x != nil {
- return x.EndTime
- }
- return ""
- }
- func (x *WaitEmpowerDetailResp) GetEmpowerCount() int64 {
- if x != nil {
- return x.EmpowerCount
- }
- return 0
- }
- func (x *WaitEmpowerDetailResp) GetUseCount() int64 {
- if x != nil {
- return x.UseCount
- }
- return 0
- }
- func (x *WaitEmpowerDetailResp) GetLimitStrategy() string {
- if x != nil {
- return x.LimitStrategy
- }
- return ""
- }
- var File_resource_proto protoreflect.FileDescriptor
- var file_resource_proto_rawDesc = []byte{
- 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x22, 0x29, 0x0a, 0x07, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0b, 0x65,
- 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa6, 0x02, 0x0a, 0x08,
- 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1d,
- 0x0a, 0x0a, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a,
- 0x0d, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x53, 0x70, 0x65, 0x63, 0x49,
- 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x75, 0x79, 0x5f, 0x6e,
- 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d,
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
- 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24,
- 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x49, 0x64, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f,
- 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d,
- 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a,
- 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xb6, 0x01,
- 0x0a, 0x0c, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14,
- 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61,
- 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x68, 0x61,
- 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d,
- 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x7e,
- 0x0a, 0x0a, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05,
- 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70,
- 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
- 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e,
- 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
- 0x03, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x85,
- 0x01, 0x0a, 0x0d, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71,
- 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12,
- 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73,
- 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74,
- 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x45, 0x6d, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
- 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70,
- 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70,
- 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
- 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
- 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x0f, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69,
- 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x04,
- 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x45, 0x6d, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x04, 0x52,
- 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75,
- 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
- 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x72, 0x70,
- 0x6c, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x0c, 0x73, 0x75, 0x72, 0x70, 0x6c, 0x75, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
- 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
- 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x48, 0x61, 0x73, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x1d,
- 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a,
- 0x0e, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x6e,
- 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x27, 0x0a, 0x0d, 0x48, 0x61,
- 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x14, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61,
- 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69,
- 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
- 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a,
- 0x1c, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61,
- 0x69, 0x6c, 0x42, 0x79, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a,
- 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70,
- 0x70, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06,
- 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e,
- 0x74, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x16, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a,
- 0x12, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61,
- 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x57, 0x61, 0x69, 0x74,
- 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73,
- 0x70, 0x52, 0x12, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65,
- 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xca, 0x01, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d,
- 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19,
- 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 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, 0x1b,
- 0x0a, 0x09, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c,
- 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
- 0x67, 0x79, 0x32, 0x98, 0x04, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
- 0x1f, 0x0a, 0x0b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x09,
- 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70,
- 0x12, 0x23, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0e,
- 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05,
- 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x09, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
- 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x68,
- 0x61, 0x72, 0x67, 0x65, 0x12, 0x0c, 0x2e, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52,
- 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x09, 0x52, 0x65, 0x45,
- 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x45, 0x6d,
- 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e,
- 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26,
- 0x0a, 0x10, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x45, 0x6d, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
- 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65,
- 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x70,
- 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72,
- 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x11, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f,
- 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x15, 0x2e, 0x57, 0x61, 0x69, 0x74,
- 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71,
- 0x1a, 0x16, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65,
- 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x53, 0x0a, 0x19, 0x57, 0x61, 0x69, 0x74,
- 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x53,
- 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x1d, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f,
- 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x79, 0x53, 0x70, 0x65, 0x63, 0x49,
- 0x64, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77,
- 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a,
- 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_resource_proto_rawDescOnce sync.Once
- file_resource_proto_rawDescData = file_resource_proto_rawDesc
- )
- func file_resource_proto_rawDescGZIP() []byte {
- file_resource_proto_rawDescOnce.Do(func() {
- file_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_resource_proto_rawDescData)
- })
- return file_resource_proto_rawDescData
- }
- var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
- var file_resource_proto_goTypes = []interface{}{
- (*Empower)(nil), // 0: Empower
- (*PowerReq)(nil), // 1: PowerReq
- (*CheckPowerReq)(nil), // 2: CheckPowerReq
- (*DeductionReq)(nil), // 3: DeductionReq
- (*RechargeReq)(nil), // 4: RechargeReq
- (*EmpowerReq)(nil), // 5: EmpowerReq
- (*EmpowerAllReq)(nil), // 6: EmpowerAllReq
- (*EmpowerListReq)(nil), // 7: EmpowerListReq
- (*EmpowerListResp)(nil), // 8: EmpowerListResp
- (*Resp)(nil), // 9: Resp
- (*HaspowersReq)(nil), // 10: HaspowersReq
- (*HaspowersResp)(nil), // 11: HaspowersResp
- (*WaitEmpowerDetailReq)(nil), // 12: WaitEmpowerDetailReq
- (*WaitEmpowerDetailBySpecIdReq)(nil), // 13: WaitEmpowerDetailBySpecIdReq
- (*WaitEmpowerDetailsResp)(nil), // 14: WaitEmpowerDetailsResp
- (*WaitEmpowerDetailResp)(nil), // 15: WaitEmpowerDetailResp
- }
- var file_resource_proto_depIdxs = []int32{
- 0, // 0: EmpowerListResp.list:type_name -> Empower
- 15, // 1: WaitEmpowerDetailsResp.waitEmpowerDetails:type_name -> WaitEmpowerDetailResp
- 1, // 2: Resource.PowerHandle:input_type -> PowerReq
- 2, // 3: Resource.CheckPower:input_type -> CheckPowerReq
- 3, // 4: Resource.Deduction:input_type -> DeductionReq
- 4, // 5: Resource.Recharge:input_type -> RechargeReq
- 5, // 6: Resource.ReEmpower:input_type -> EmpowerReq
- 5, // 7: Resource.Empower:input_type -> EmpowerReq
- 5, // 8: Resource.CancelEmpower:input_type -> EmpowerReq
- 5, // 9: Resource.CancelAllEmpower:input_type -> EmpowerReq
- 7, // 10: Resource.EmpowerList:input_type -> EmpowerListReq
- 10, // 11: Resource.Haspowers:input_type -> HaspowersReq
- 12, // 12: Resource.WaitEmpowerDetail:input_type -> WaitEmpowerDetailReq
- 13, // 13: Resource.WaitEmpowerDetailBySpecId:input_type -> WaitEmpowerDetailBySpecIdReq
- 9, // 14: Resource.PowerHandle:output_type -> Resp
- 9, // 15: Resource.CheckPower:output_type -> Resp
- 9, // 16: Resource.Deduction:output_type -> Resp
- 9, // 17: Resource.Recharge:output_type -> Resp
- 9, // 18: Resource.ReEmpower:output_type -> Resp
- 9, // 19: Resource.Empower:output_type -> Resp
- 9, // 20: Resource.CancelEmpower:output_type -> Resp
- 9, // 21: Resource.CancelAllEmpower:output_type -> Resp
- 8, // 22: Resource.EmpowerList:output_type -> EmpowerListResp
- 11, // 23: Resource.Haspowers:output_type -> HaspowersResp
- 15, // 24: Resource.WaitEmpowerDetail:output_type -> WaitEmpowerDetailResp
- 14, // 25: Resource.WaitEmpowerDetailBySpecId:output_type -> WaitEmpowerDetailsResp
- 14, // [14:26] is the sub-list for method output_type
- 2, // [2:14] 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_resource_proto_init() }
- func file_resource_proto_init() {
- if File_resource_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Empower); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PowerReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CheckPowerReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeductionReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RechargeReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EmpowerReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EmpowerAllReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EmpowerListReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EmpowerListResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Resp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HaspowersReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HaspowersResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WaitEmpowerDetailReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WaitEmpowerDetailBySpecIdReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WaitEmpowerDetailsResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_resource_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WaitEmpowerDetailResp); 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_resource_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 16,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_resource_proto_goTypes,
- DependencyIndexes: file_resource_proto_depIdxs,
- MessageInfos: file_resource_proto_msgTypes,
- }.Build()
- File_resource_proto = out.File
- file_resource_proto_rawDesc = nil
- file_resource_proto_goTypes = nil
- file_resource_proto_depIdxs = nil
- }
|