1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: vote.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type VoteTopicChoiceItem struct {
- Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag"`
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteTopicChoiceItem) Reset() { *m = VoteTopicChoiceItem{} }
- func (m *VoteTopicChoiceItem) String() string { return proto.CompactTextString(m) }
- func (*VoteTopicChoiceItem) ProtoMessage() {}
- func (*VoteTopicChoiceItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{0}
- }
- func (m *VoteTopicChoiceItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteTopicChoiceItem.Unmarshal(m, b)
- }
- func (m *VoteTopicChoiceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteTopicChoiceItem.Marshal(b, m, deterministic)
- }
- func (m *VoteTopicChoiceItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteTopicChoiceItem.Merge(m, src)
- }
- func (m *VoteTopicChoiceItem) XXX_Size() int {
- return xxx_messageInfo_VoteTopicChoiceItem.Size(m)
- }
- func (m *VoteTopicChoiceItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteTopicChoiceItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteTopicChoiceItem proto.InternalMessageInfo
- func (m *VoteTopicChoiceItem) GetFlag() string {
- if m != nil {
- return m.Flag
- }
- return ""
- }
- func (m *VoteTopicChoiceItem) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- type VoteTopic struct {
- // 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
- TopicType int32 `protobuf:"varint,1,opt,name=topic_type,json=topicType,proto3" json:"topic_type"`
- TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name"`
- // 总星数,当为评分题时有效
- Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star"`
- // 是否必选
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must"`
- // 题目编号
- Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number"`
- // 选择题的选项
- ChoiceItems []*VoteTopicChoiceItem `protobuf:"bytes,6,rep,name=choice_items,json=choiceItems,proto3" json:"choice_items"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteTopic) Reset() { *m = VoteTopic{} }
- func (m *VoteTopic) String() string { return proto.CompactTextString(m) }
- func (*VoteTopic) ProtoMessage() {}
- func (*VoteTopic) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{1}
- }
- func (m *VoteTopic) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteTopic.Unmarshal(m, b)
- }
- func (m *VoteTopic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteTopic.Marshal(b, m, deterministic)
- }
- func (m *VoteTopic) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteTopic.Merge(m, src)
- }
- func (m *VoteTopic) XXX_Size() int {
- return xxx_messageInfo_VoteTopic.Size(m)
- }
- func (m *VoteTopic) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteTopic.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteTopic proto.InternalMessageInfo
- func (m *VoteTopic) GetTopicType() int32 {
- if m != nil {
- return m.TopicType
- }
- return 0
- }
- func (m *VoteTopic) GetTopicName() string {
- if m != nil {
- return m.TopicName
- }
- return ""
- }
- func (m *VoteTopic) GetStar() int32 {
- if m != nil {
- return m.Star
- }
- return 0
- }
- func (m *VoteTopic) GetMust() bool {
- if m != nil {
- return m.Must
- }
- return false
- }
- func (m *VoteTopic) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- func (m *VoteTopic) GetChoiceItems() []*VoteTopicChoiceItem {
- if m != nil {
- return m.ChoiceItems
- }
- return nil
- }
- type VoteAddRequest struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
- Pics []string `protobuf:"bytes,2,rep,name=pics,proto3" json:"pics"`
- Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end"`
- GardenId int64 `protobuf:"varint,5,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Topics []*VoteTopic `protobuf:"bytes,6,rep,name=topics,proto3" json:"topics"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteAddRequest) Reset() { *m = VoteAddRequest{} }
- func (m *VoteAddRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteAddRequest) ProtoMessage() {}
- func (*VoteAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{2}
- }
- func (m *VoteAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteAddRequest.Unmarshal(m, b)
- }
- func (m *VoteAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteAddRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteAddRequest.Merge(m, src)
- }
- func (m *VoteAddRequest) XXX_Size() int {
- return xxx_messageInfo_VoteAddRequest.Size(m)
- }
- func (m *VoteAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteAddRequest proto.InternalMessageInfo
- func (m *VoteAddRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *VoteAddRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *VoteAddRequest) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *VoteAddRequest) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *VoteAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteAddRequest) GetTopics() []*VoteTopic {
- if m != nil {
- return m.Topics
- }
- return nil
- }
- type VoteAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteAddReply) Reset() { *m = VoteAddReply{} }
- func (m *VoteAddReply) String() string { return proto.CompactTextString(m) }
- func (*VoteAddReply) ProtoMessage() {}
- func (*VoteAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{3}
- }
- func (m *VoteAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteAddReply.Unmarshal(m, b)
- }
- func (m *VoteAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteAddReply.Marshal(b, m, deterministic)
- }
- func (m *VoteAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteAddReply.Merge(m, src)
- }
- func (m *VoteAddReply) XXX_Size() int {
- return xxx_messageInfo_VoteAddReply.Size(m)
- }
- func (m *VoteAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteAddReply proto.InternalMessageInfo
- type VoteUpdateRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- Pics []string `protobuf:"bytes,3,rep,name=pics,proto3" json:"pics"`
- Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end"`
- GardenId int64 `protobuf:"varint,6,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Topics []*VoteTopic `protobuf:"bytes,7,rep,name=topics,proto3" json:"topics"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteUpdateRequest) Reset() { *m = VoteUpdateRequest{} }
- func (m *VoteUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteUpdateRequest) ProtoMessage() {}
- func (*VoteUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{4}
- }
- func (m *VoteUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteUpdateRequest.Unmarshal(m, b)
- }
- func (m *VoteUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteUpdateRequest.Merge(m, src)
- }
- func (m *VoteUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_VoteUpdateRequest.Size(m)
- }
- func (m *VoteUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteUpdateRequest proto.InternalMessageInfo
- func (m *VoteUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteUpdateRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *VoteUpdateRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *VoteUpdateRequest) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *VoteUpdateRequest) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *VoteUpdateRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteUpdateRequest) GetTopics() []*VoteTopic {
- if m != nil {
- return m.Topics
- }
- return nil
- }
- type VoteUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteUpdateReply) Reset() { *m = VoteUpdateReply{} }
- func (m *VoteUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*VoteUpdateReply) ProtoMessage() {}
- func (*VoteUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{5}
- }
- func (m *VoteUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteUpdateReply.Unmarshal(m, b)
- }
- func (m *VoteUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *VoteUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteUpdateReply.Merge(m, src)
- }
- func (m *VoteUpdateReply) XXX_Size() int {
- return xxx_messageInfo_VoteUpdateReply.Size(m)
- }
- func (m *VoteUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteUpdateReply proto.InternalMessageInfo
- type VoteDelRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteDelRequest) Reset() { *m = VoteDelRequest{} }
- func (m *VoteDelRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteDelRequest) ProtoMessage() {}
- func (*VoteDelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{6}
- }
- func (m *VoteDelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteDelRequest.Unmarshal(m, b)
- }
- func (m *VoteDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteDelRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteDelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteDelRequest.Merge(m, src)
- }
- func (m *VoteDelRequest) XXX_Size() int {
- return xxx_messageInfo_VoteDelRequest.Size(m)
- }
- func (m *VoteDelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteDelRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteDelRequest proto.InternalMessageInfo
- func (m *VoteDelRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteDelRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- type VoteDelReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteDelReply) Reset() { *m = VoteDelReply{} }
- func (m *VoteDelReply) String() string { return proto.CompactTextString(m) }
- func (*VoteDelReply) ProtoMessage() {}
- func (*VoteDelReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{7}
- }
- func (m *VoteDelReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteDelReply.Unmarshal(m, b)
- }
- func (m *VoteDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteDelReply.Marshal(b, m, deterministic)
- }
- func (m *VoteDelReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteDelReply.Merge(m, src)
- }
- func (m *VoteDelReply) XXX_Size() int {
- return xxx_messageInfo_VoteDelReply.Size(m)
- }
- func (m *VoteDelReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteDelReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteDelReply proto.InternalMessageInfo
- type VoteListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteListRequest) Reset() { *m = VoteListRequest{} }
- func (m *VoteListRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteListRequest) ProtoMessage() {}
- func (*VoteListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{8}
- }
- func (m *VoteListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteListRequest.Unmarshal(m, b)
- }
- func (m *VoteListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteListRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteListRequest.Merge(m, src)
- }
- func (m *VoteListRequest) XXX_Size() int {
- return xxx_messageInfo_VoteListRequest.Size(m)
- }
- func (m *VoteListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteListRequest proto.InternalMessageInfo
- func (m *VoteListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteListRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *VoteListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type VoteItem struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
- Pics []string `protobuf:"bytes,2,rep,name=pics,proto3" json:"pics"`
- Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- Topics []*VoteTopic `protobuf:"bytes,7,rep,name=topics,proto3" json:"topics"`
- UserCount int64 `protobuf:"varint,8,opt,name=user_count,json=userCount,proto3" json:"user_count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteItem) Reset() { *m = VoteItem{} }
- func (m *VoteItem) String() string { return proto.CompactTextString(m) }
- func (*VoteItem) ProtoMessage() {}
- func (*VoteItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{9}
- }
- func (m *VoteItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteItem.Unmarshal(m, b)
- }
- func (m *VoteItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteItem.Marshal(b, m, deterministic)
- }
- func (m *VoteItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteItem.Merge(m, src)
- }
- func (m *VoteItem) XXX_Size() int {
- return xxx_messageInfo_VoteItem.Size(m)
- }
- func (m *VoteItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteItem proto.InternalMessageInfo
- func (m *VoteItem) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *VoteItem) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *VoteItem) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *VoteItem) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *VoteItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteItem) GetCreatedAt() int64 {
- if m != nil {
- return m.CreatedAt
- }
- return 0
- }
- func (m *VoteItem) GetTopics() []*VoteTopic {
- if m != nil {
- return m.Topics
- }
- return nil
- }
- func (m *VoteItem) GetUserCount() int64 {
- if m != nil {
- return m.UserCount
- }
- return 0
- }
- type VoteListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- List []*VoteItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteListReply) Reset() { *m = VoteListReply{} }
- func (m *VoteListReply) String() string { return proto.CompactTextString(m) }
- func (*VoteListReply) ProtoMessage() {}
- func (*VoteListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{10}
- }
- func (m *VoteListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteListReply.Unmarshal(m, b)
- }
- func (m *VoteListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteListReply.Marshal(b, m, deterministic)
- }
- func (m *VoteListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteListReply.Merge(m, src)
- }
- func (m *VoteListReply) XXX_Size() int {
- return xxx_messageInfo_VoteListReply.Size(m)
- }
- func (m *VoteListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteListReply proto.InternalMessageInfo
- func (m *VoteListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *VoteListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteListReply) GetList() []*VoteItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type VoteTopicAnswer struct {
- // 题目编号
- Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number"`
- // 题目类型
- TopicType int32 `protobuf:"varint,2,opt,name=topic_type,json=topicType,proto3" json:"topic_type"`
- // 问答题回答,当题目类型为问答题时有效
- CompletionAnswers []string `protobuf:"bytes,3,rep,name=completion_answers,json=completionAnswers,proto3" json:"completion_answers"`
- // 选择题回答,当题目类型为选择题时有效
- ChoiceAnswers []string `protobuf:"bytes,4,rep,name=choice_answers,json=choiceAnswers,proto3" json:"choice_answers"`
- // 评分题回答,当题目类型为评分题时有效
- StarAnswers int32 `protobuf:"varint,5,opt,name=star_answers,json=starAnswers,proto3" json:"star_answers"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteTopicAnswer) Reset() { *m = VoteTopicAnswer{} }
- func (m *VoteTopicAnswer) String() string { return proto.CompactTextString(m) }
- func (*VoteTopicAnswer) ProtoMessage() {}
- func (*VoteTopicAnswer) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{11}
- }
- func (m *VoteTopicAnswer) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteTopicAnswer.Unmarshal(m, b)
- }
- func (m *VoteTopicAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteTopicAnswer.Marshal(b, m, deterministic)
- }
- func (m *VoteTopicAnswer) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteTopicAnswer.Merge(m, src)
- }
- func (m *VoteTopicAnswer) XXX_Size() int {
- return xxx_messageInfo_VoteTopicAnswer.Size(m)
- }
- func (m *VoteTopicAnswer) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteTopicAnswer.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteTopicAnswer proto.InternalMessageInfo
- func (m *VoteTopicAnswer) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- func (m *VoteTopicAnswer) GetTopicType() int32 {
- if m != nil {
- return m.TopicType
- }
- return 0
- }
- func (m *VoteTopicAnswer) GetCompletionAnswers() []string {
- if m != nil {
- return m.CompletionAnswers
- }
- return nil
- }
- func (m *VoteTopicAnswer) GetChoiceAnswers() []string {
- if m != nil {
- return m.ChoiceAnswers
- }
- return nil
- }
- func (m *VoteTopicAnswer) GetStarAnswers() int32 {
- if m != nil {
- return m.StarAnswers
- }
- return 0
- }
- type VoteAddAnswerRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- Answers []*VoteTopicAnswer `protobuf:"bytes,4,rep,name=answers,proto3" json:"answers"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteAddAnswerRequest) Reset() { *m = VoteAddAnswerRequest{} }
- func (m *VoteAddAnswerRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteAddAnswerRequest) ProtoMessage() {}
- func (*VoteAddAnswerRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{12}
- }
- func (m *VoteAddAnswerRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteAddAnswerRequest.Unmarshal(m, b)
- }
- func (m *VoteAddAnswerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteAddAnswerRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteAddAnswerRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteAddAnswerRequest.Merge(m, src)
- }
- func (m *VoteAddAnswerRequest) XXX_Size() int {
- return xxx_messageInfo_VoteAddAnswerRequest.Size(m)
- }
- func (m *VoteAddAnswerRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteAddAnswerRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteAddAnswerRequest proto.InternalMessageInfo
- func (m *VoteAddAnswerRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteAddAnswerRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteAddAnswerRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *VoteAddAnswerRequest) GetAnswers() []*VoteTopicAnswer {
- if m != nil {
- return m.Answers
- }
- return nil
- }
- type VoteAddAnswerReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteAddAnswerReply) Reset() { *m = VoteAddAnswerReply{} }
- func (m *VoteAddAnswerReply) String() string { return proto.CompactTextString(m) }
- func (*VoteAddAnswerReply) ProtoMessage() {}
- func (*VoteAddAnswerReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{13}
- }
- func (m *VoteAddAnswerReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteAddAnswerReply.Unmarshal(m, b)
- }
- func (m *VoteAddAnswerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteAddAnswerReply.Marshal(b, m, deterministic)
- }
- func (m *VoteAddAnswerReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteAddAnswerReply.Merge(m, src)
- }
- func (m *VoteAddAnswerReply) XXX_Size() int {
- return xxx_messageInfo_VoteAddAnswerReply.Size(m)
- }
- func (m *VoteAddAnswerReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteAddAnswerReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteAddAnswerReply proto.InternalMessageInfo
- type VoteResultListRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultListRequest) Reset() { *m = VoteResultListRequest{} }
- func (m *VoteResultListRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteResultListRequest) ProtoMessage() {}
- func (*VoteResultListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{14}
- }
- func (m *VoteResultListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultListRequest.Unmarshal(m, b)
- }
- func (m *VoteResultListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultListRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteResultListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultListRequest.Merge(m, src)
- }
- func (m *VoteResultListRequest) XXX_Size() int {
- return xxx_messageInfo_VoteResultListRequest.Size(m)
- }
- func (m *VoteResultListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultListRequest proto.InternalMessageInfo
- func (m *VoteResultListRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteResultListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteResultListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteResultListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *VoteResultListRequest) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- type VoteResultData struct {
- // 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
- TopicType int32 `protobuf:"varint,1,opt,name=topic_type,json=topicType,proto3" json:"topic_type"`
- TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name"`
- // 总星数,当为评分题时有效
- Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star"`
- // 是否必选
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must"`
- // 题目编号
- Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number"`
- // 选择题的选项
- ChoiceItems []*VoteTopicChoiceItem `protobuf:"bytes,6,rep,name=choice_items,json=choiceItems,proto3" json:"choice_items"`
- // 问答题回答,当题目类型为问答题时有效
- CompletionAnswers []string `protobuf:"bytes,7,rep,name=completion_answers,json=completionAnswers,proto3" json:"completion_answers"`
- // 选择题回答,当题目类型为选择题时有效
- ChoiceAnswers []string `protobuf:"bytes,8,rep,name=choice_answers,json=choiceAnswers,proto3" json:"choice_answers"`
- // 评分题回答,当题目类型为评分题时有效
- StarAnswers int32 `protobuf:"varint,9,opt,name=star_answers,json=starAnswers,proto3" json:"star_answers"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultData) Reset() { *m = VoteResultData{} }
- func (m *VoteResultData) String() string { return proto.CompactTextString(m) }
- func (*VoteResultData) ProtoMessage() {}
- func (*VoteResultData) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{15}
- }
- func (m *VoteResultData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultData.Unmarshal(m, b)
- }
- func (m *VoteResultData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultData.Marshal(b, m, deterministic)
- }
- func (m *VoteResultData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultData.Merge(m, src)
- }
- func (m *VoteResultData) XXX_Size() int {
- return xxx_messageInfo_VoteResultData.Size(m)
- }
- func (m *VoteResultData) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultData.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultData proto.InternalMessageInfo
- func (m *VoteResultData) GetTopicType() int32 {
- if m != nil {
- return m.TopicType
- }
- return 0
- }
- func (m *VoteResultData) GetTopicName() string {
- if m != nil {
- return m.TopicName
- }
- return ""
- }
- func (m *VoteResultData) GetStar() int32 {
- if m != nil {
- return m.Star
- }
- return 0
- }
- func (m *VoteResultData) GetMust() bool {
- if m != nil {
- return m.Must
- }
- return false
- }
- func (m *VoteResultData) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- func (m *VoteResultData) GetChoiceItems() []*VoteTopicChoiceItem {
- if m != nil {
- return m.ChoiceItems
- }
- return nil
- }
- func (m *VoteResultData) GetCompletionAnswers() []string {
- if m != nil {
- return m.CompletionAnswers
- }
- return nil
- }
- func (m *VoteResultData) GetChoiceAnswers() []string {
- if m != nil {
- return m.ChoiceAnswers
- }
- return nil
- }
- func (m *VoteResultData) GetStarAnswers() int32 {
- if m != nil {
- return m.StarAnswers
- }
- return 0
- }
- type VoteResultUserAnswerItem struct {
- // 用户uid
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Answer *VoteResultData `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer"`
- UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultUserAnswerItem) Reset() { *m = VoteResultUserAnswerItem{} }
- func (m *VoteResultUserAnswerItem) String() string { return proto.CompactTextString(m) }
- func (*VoteResultUserAnswerItem) ProtoMessage() {}
- func (*VoteResultUserAnswerItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{16}
- }
- func (m *VoteResultUserAnswerItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultUserAnswerItem.Unmarshal(m, b)
- }
- func (m *VoteResultUserAnswerItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultUserAnswerItem.Marshal(b, m, deterministic)
- }
- func (m *VoteResultUserAnswerItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultUserAnswerItem.Merge(m, src)
- }
- func (m *VoteResultUserAnswerItem) XXX_Size() int {
- return xxx_messageInfo_VoteResultUserAnswerItem.Size(m)
- }
- func (m *VoteResultUserAnswerItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultUserAnswerItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultUserAnswerItem proto.InternalMessageInfo
- func (m *VoteResultUserAnswerItem) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *VoteResultUserAnswerItem) GetAnswer() *VoteResultData {
- if m != nil {
- return m.Answer
- }
- return nil
- }
- func (m *VoteResultUserAnswerItem) GetUserName() string {
- if m != nil {
- return m.UserName
- }
- return ""
- }
- type VoteResultListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*VoteResultUserAnswerItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultListReply) Reset() { *m = VoteResultListReply{} }
- func (m *VoteResultListReply) String() string { return proto.CompactTextString(m) }
- func (*VoteResultListReply) ProtoMessage() {}
- func (*VoteResultListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{17}
- }
- func (m *VoteResultListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultListReply.Unmarshal(m, b)
- }
- func (m *VoteResultListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultListReply.Marshal(b, m, deterministic)
- }
- func (m *VoteResultListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultListReply.Merge(m, src)
- }
- func (m *VoteResultListReply) XXX_Size() int {
- return xxx_messageInfo_VoteResultListReply.Size(m)
- }
- func (m *VoteResultListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultListReply proto.InternalMessageInfo
- func (m *VoteResultListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteResultListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *VoteResultListReply) GetList() []*VoteResultUserAnswerItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type VoteResultStatisticRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultStatisticRequest) Reset() { *m = VoteResultStatisticRequest{} }
- func (m *VoteResultStatisticRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteResultStatisticRequest) ProtoMessage() {}
- func (*VoteResultStatisticRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{18}
- }
- func (m *VoteResultStatisticRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultStatisticRequest.Unmarshal(m, b)
- }
- func (m *VoteResultStatisticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultStatisticRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteResultStatisticRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultStatisticRequest.Merge(m, src)
- }
- func (m *VoteResultStatisticRequest) XXX_Size() int {
- return xxx_messageInfo_VoteResultStatisticRequest.Size(m)
- }
- func (m *VoteResultStatisticRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultStatisticRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultStatisticRequest proto.InternalMessageInfo
- func (m *VoteResultStatisticRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteResultStatisticRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- type VoteResultStatisticChoice struct {
- // 选择选项标识
- Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag"`
- // 该选项被选的用户
- Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
- Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultStatisticChoice) Reset() { *m = VoteResultStatisticChoice{} }
- func (m *VoteResultStatisticChoice) String() string { return proto.CompactTextString(m) }
- func (*VoteResultStatisticChoice) ProtoMessage() {}
- func (*VoteResultStatisticChoice) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{19}
- }
- func (m *VoteResultStatisticChoice) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultStatisticChoice.Unmarshal(m, b)
- }
- func (m *VoteResultStatisticChoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultStatisticChoice.Marshal(b, m, deterministic)
- }
- func (m *VoteResultStatisticChoice) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultStatisticChoice.Merge(m, src)
- }
- func (m *VoteResultStatisticChoice) XXX_Size() int {
- return xxx_messageInfo_VoteResultStatisticChoice.Size(m)
- }
- func (m *VoteResultStatisticChoice) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultStatisticChoice.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultStatisticChoice proto.InternalMessageInfo
- func (m *VoteResultStatisticChoice) GetFlag() string {
- if m != nil {
- return m.Flag
- }
- return ""
- }
- func (m *VoteResultStatisticChoice) GetCount() int32 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- func (m *VoteResultStatisticChoice) GetText() string {
- if m != nil {
- return m.Text
- }
- return ""
- }
- type VoteResultStatisticStar struct {
- // 评分星数
- Star int32 `protobuf:"varint,1,opt,name=star,proto3" json:"star"`
- // 评该星数的用户数量
- Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultStatisticStar) Reset() { *m = VoteResultStatisticStar{} }
- func (m *VoteResultStatisticStar) String() string { return proto.CompactTextString(m) }
- func (*VoteResultStatisticStar) ProtoMessage() {}
- func (*VoteResultStatisticStar) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{20}
- }
- func (m *VoteResultStatisticStar) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultStatisticStar.Unmarshal(m, b)
- }
- func (m *VoteResultStatisticStar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultStatisticStar.Marshal(b, m, deterministic)
- }
- func (m *VoteResultStatisticStar) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultStatisticStar.Merge(m, src)
- }
- func (m *VoteResultStatisticStar) XXX_Size() int {
- return xxx_messageInfo_VoteResultStatisticStar.Size(m)
- }
- func (m *VoteResultStatisticStar) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultStatisticStar.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultStatisticStar proto.InternalMessageInfo
- func (m *VoteResultStatisticStar) GetStar() int32 {
- if m != nil {
- return m.Star
- }
- return 0
- }
- func (m *VoteResultStatisticStar) GetCount() int32 {
- if m != nil {
- return m.Count
- }
- return 0
- }
- type VoteResultStatisticItem struct {
- // 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
- TopicType int32 `protobuf:"varint,1,opt,name=topic_type,json=topicType,proto3" json:"topic_type"`
- TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name"`
- // 总星数,当为评分题时有效
- Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star"`
- // 是否必选
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must"`
- // 题目编号
- Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number"`
- // 选择题的选项内容
- ChoiceItems []*VoteTopicChoiceItem `protobuf:"bytes,6,rep,name=choice_items,json=choiceItems,proto3" json:"choice_items"`
- // 选择题的选项回答统计,当题目类型为选择题时有效
- ChoiceStatistic []*VoteResultStatisticChoice `protobuf:"bytes,7,rep,name=choice_statistic,json=choiceStatistic,proto3" json:"choice_statistic"`
- // 评分题的分数回答统计,当题目类型为评分题时有效
- StarStatistic []*VoteResultStatisticStar `protobuf:"bytes,8,rep,name=star_statistic,json=starStatistic,proto3" json:"star_statistic"`
- // 平均分, 当题目类型为评分题时有效
- StarAvg float64 `protobuf:"fixed64,9,opt,name=star_avg,json=starAvg,proto3" json:"star_avg"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultStatisticItem) Reset() { *m = VoteResultStatisticItem{} }
- func (m *VoteResultStatisticItem) String() string { return proto.CompactTextString(m) }
- func (*VoteResultStatisticItem) ProtoMessage() {}
- func (*VoteResultStatisticItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{21}
- }
- func (m *VoteResultStatisticItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultStatisticItem.Unmarshal(m, b)
- }
- func (m *VoteResultStatisticItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultStatisticItem.Marshal(b, m, deterministic)
- }
- func (m *VoteResultStatisticItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultStatisticItem.Merge(m, src)
- }
- func (m *VoteResultStatisticItem) XXX_Size() int {
- return xxx_messageInfo_VoteResultStatisticItem.Size(m)
- }
- func (m *VoteResultStatisticItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultStatisticItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultStatisticItem proto.InternalMessageInfo
- func (m *VoteResultStatisticItem) GetTopicType() int32 {
- if m != nil {
- return m.TopicType
- }
- return 0
- }
- func (m *VoteResultStatisticItem) GetTopicName() string {
- if m != nil {
- return m.TopicName
- }
- return ""
- }
- func (m *VoteResultStatisticItem) GetStar() int32 {
- if m != nil {
- return m.Star
- }
- return 0
- }
- func (m *VoteResultStatisticItem) GetMust() bool {
- if m != nil {
- return m.Must
- }
- return false
- }
- func (m *VoteResultStatisticItem) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- func (m *VoteResultStatisticItem) GetChoiceItems() []*VoteTopicChoiceItem {
- if m != nil {
- return m.ChoiceItems
- }
- return nil
- }
- func (m *VoteResultStatisticItem) GetChoiceStatistic() []*VoteResultStatisticChoice {
- if m != nil {
- return m.ChoiceStatistic
- }
- return nil
- }
- func (m *VoteResultStatisticItem) GetStarStatistic() []*VoteResultStatisticStar {
- if m != nil {
- return m.StarStatistic
- }
- return nil
- }
- func (m *VoteResultStatisticItem) GetStarAvg() float64 {
- if m != nil {
- return m.StarAvg
- }
- return 0
- }
- type VoteResultStatisticReply struct {
- // 题目统计
- List []*VoteResultStatisticItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteResultStatisticReply) Reset() { *m = VoteResultStatisticReply{} }
- func (m *VoteResultStatisticReply) String() string { return proto.CompactTextString(m) }
- func (*VoteResultStatisticReply) ProtoMessage() {}
- func (*VoteResultStatisticReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{22}
- }
- func (m *VoteResultStatisticReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteResultStatisticReply.Unmarshal(m, b)
- }
- func (m *VoteResultStatisticReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteResultStatisticReply.Marshal(b, m, deterministic)
- }
- func (m *VoteResultStatisticReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteResultStatisticReply.Merge(m, src)
- }
- func (m *VoteResultStatisticReply) XXX_Size() int {
- return xxx_messageInfo_VoteResultStatisticReply.Size(m)
- }
- func (m *VoteResultStatisticReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteResultStatisticReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteResultStatisticReply proto.InternalMessageInfo
- func (m *VoteResultStatisticReply) GetList() []*VoteResultStatisticItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type VoteListForHouseholdRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
- Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteListForHouseholdRequest) Reset() { *m = VoteListForHouseholdRequest{} }
- func (m *VoteListForHouseholdRequest) String() string { return proto.CompactTextString(m) }
- func (*VoteListForHouseholdRequest) ProtoMessage() {}
- func (*VoteListForHouseholdRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{23}
- }
- func (m *VoteListForHouseholdRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteListForHouseholdRequest.Unmarshal(m, b)
- }
- func (m *VoteListForHouseholdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteListForHouseholdRequest.Marshal(b, m, deterministic)
- }
- func (m *VoteListForHouseholdRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteListForHouseholdRequest.Merge(m, src)
- }
- func (m *VoteListForHouseholdRequest) XXX_Size() int {
- return xxx_messageInfo_VoteListForHouseholdRequest.Size(m)
- }
- func (m *VoteListForHouseholdRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteListForHouseholdRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteListForHouseholdRequest proto.InternalMessageInfo
- func (m *VoteListForHouseholdRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *VoteListForHouseholdRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *VoteListForHouseholdRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteListForHouseholdRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *VoteListForHouseholdRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- type VoteTopicForHouseholdItem struct {
- // 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
- TopicType int32 `protobuf:"varint,1,opt,name=topic_type,json=topicType,proto3" json:"topic_type"`
- TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name"`
- // 总星数,当为评分题时有效
- Star int32 `protobuf:"varint,3,opt,name=star,proto3" json:"star"`
- // 是否必选
- Must bool `protobuf:"varint,4,opt,name=must,proto3" json:"must"`
- // 题目编号
- Number int64 `protobuf:"varint,5,opt,name=number,proto3" json:"number"`
- // 选择题的选项
- ChoiceItems []*VoteTopicChoiceItem `protobuf:"bytes,6,rep,name=choice_items,json=choiceItems,proto3" json:"choice_items"`
- // 当已投票时,以下字段有效
- // 问答题回答,当题目类型为问答题时有效
- CompletionAnswers []string `protobuf:"bytes,7,rep,name=completion_answers,json=completionAnswers,proto3" json:"completion_answers"`
- // 选择题回答,当题目类型为选择题时有效
- ChoiceAnswers []string `protobuf:"bytes,8,rep,name=choice_answers,json=choiceAnswers,proto3" json:"choice_answers"`
- // 评分题回答,当题目类型为评分题时有效
- StarAnswers int32 `protobuf:"varint,9,opt,name=star_answers,json=starAnswers,proto3" json:"star_answers"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteTopicForHouseholdItem) Reset() { *m = VoteTopicForHouseholdItem{} }
- func (m *VoteTopicForHouseholdItem) String() string { return proto.CompactTextString(m) }
- func (*VoteTopicForHouseholdItem) ProtoMessage() {}
- func (*VoteTopicForHouseholdItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{24}
- }
- func (m *VoteTopicForHouseholdItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteTopicForHouseholdItem.Unmarshal(m, b)
- }
- func (m *VoteTopicForHouseholdItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteTopicForHouseholdItem.Marshal(b, m, deterministic)
- }
- func (m *VoteTopicForHouseholdItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteTopicForHouseholdItem.Merge(m, src)
- }
- func (m *VoteTopicForHouseholdItem) XXX_Size() int {
- return xxx_messageInfo_VoteTopicForHouseholdItem.Size(m)
- }
- func (m *VoteTopicForHouseholdItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteTopicForHouseholdItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteTopicForHouseholdItem proto.InternalMessageInfo
- func (m *VoteTopicForHouseholdItem) GetTopicType() int32 {
- if m != nil {
- return m.TopicType
- }
- return 0
- }
- func (m *VoteTopicForHouseholdItem) GetTopicName() string {
- if m != nil {
- return m.TopicName
- }
- return ""
- }
- func (m *VoteTopicForHouseholdItem) GetStar() int32 {
- if m != nil {
- return m.Star
- }
- return 0
- }
- func (m *VoteTopicForHouseholdItem) GetMust() bool {
- if m != nil {
- return m.Must
- }
- return false
- }
- func (m *VoteTopicForHouseholdItem) GetNumber() int64 {
- if m != nil {
- return m.Number
- }
- return 0
- }
- func (m *VoteTopicForHouseholdItem) GetChoiceItems() []*VoteTopicChoiceItem {
- if m != nil {
- return m.ChoiceItems
- }
- return nil
- }
- func (m *VoteTopicForHouseholdItem) GetCompletionAnswers() []string {
- if m != nil {
- return m.CompletionAnswers
- }
- return nil
- }
- func (m *VoteTopicForHouseholdItem) GetChoiceAnswers() []string {
- if m != nil {
- return m.ChoiceAnswers
- }
- return nil
- }
- func (m *VoteTopicForHouseholdItem) GetStarAnswers() int32 {
- if m != nil {
- return m.StarAnswers
- }
- return 0
- }
- type VoteListForHouseholdItem struct {
- // 标题
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
- Pics []string `protobuf:"bytes,2,rep,name=pics,proto3" json:"pics"`
- Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- // 是否已投票
- Answered bool `protobuf:"varint,7,opt,name=answered,proto3" json:"answered"`
- // 题目类容和用户回答
- Topics []*VoteTopicForHouseholdItem `protobuf:"bytes,8,rep,name=topics,proto3" json:"topics"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteListForHouseholdItem) Reset() { *m = VoteListForHouseholdItem{} }
- func (m *VoteListForHouseholdItem) String() string { return proto.CompactTextString(m) }
- func (*VoteListForHouseholdItem) ProtoMessage() {}
- func (*VoteListForHouseholdItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{25}
- }
- func (m *VoteListForHouseholdItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteListForHouseholdItem.Unmarshal(m, b)
- }
- func (m *VoteListForHouseholdItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteListForHouseholdItem.Marshal(b, m, deterministic)
- }
- func (m *VoteListForHouseholdItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteListForHouseholdItem.Merge(m, src)
- }
- func (m *VoteListForHouseholdItem) XXX_Size() int {
- return xxx_messageInfo_VoteListForHouseholdItem.Size(m)
- }
- func (m *VoteListForHouseholdItem) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteListForHouseholdItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteListForHouseholdItem proto.InternalMessageInfo
- func (m *VoteListForHouseholdItem) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *VoteListForHouseholdItem) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *VoteListForHouseholdItem) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *VoteListForHouseholdItem) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *VoteListForHouseholdItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *VoteListForHouseholdItem) GetCreatedAt() int64 {
- if m != nil {
- return m.CreatedAt
- }
- return 0
- }
- func (m *VoteListForHouseholdItem) GetAnswered() bool {
- if m != nil {
- return m.Answered
- }
- return false
- }
- func (m *VoteListForHouseholdItem) GetTopics() []*VoteTopicForHouseholdItem {
- if m != nil {
- return m.Topics
- }
- return nil
- }
- type VoteListForHouseholdReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*VoteListForHouseholdItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *VoteListForHouseholdReply) Reset() { *m = VoteListForHouseholdReply{} }
- func (m *VoteListForHouseholdReply) String() string { return proto.CompactTextString(m) }
- func (*VoteListForHouseholdReply) ProtoMessage() {}
- func (*VoteListForHouseholdReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_21d31c94b62a6ac7, []int{26}
- }
- func (m *VoteListForHouseholdReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoteListForHouseholdReply.Unmarshal(m, b)
- }
- func (m *VoteListForHouseholdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoteListForHouseholdReply.Marshal(b, m, deterministic)
- }
- func (m *VoteListForHouseholdReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoteListForHouseholdReply.Merge(m, src)
- }
- func (m *VoteListForHouseholdReply) XXX_Size() int {
- return xxx_messageInfo_VoteListForHouseholdReply.Size(m)
- }
- func (m *VoteListForHouseholdReply) XXX_DiscardUnknown() {
- xxx_messageInfo_VoteListForHouseholdReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_VoteListForHouseholdReply proto.InternalMessageInfo
- func (m *VoteListForHouseholdReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *VoteListForHouseholdReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *VoteListForHouseholdReply) GetList() []*VoteListForHouseholdItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func init() {
- proto.RegisterType((*VoteTopicChoiceItem)(nil), "pb_v1.VoteTopicChoiceItem")
- proto.RegisterType((*VoteTopic)(nil), "pb_v1.VoteTopic")
- proto.RegisterType((*VoteAddRequest)(nil), "pb_v1.VoteAddRequest")
- proto.RegisterType((*VoteAddReply)(nil), "pb_v1.VoteAddReply")
- proto.RegisterType((*VoteUpdateRequest)(nil), "pb_v1.VoteUpdateRequest")
- proto.RegisterType((*VoteUpdateReply)(nil), "pb_v1.VoteUpdateReply")
- proto.RegisterType((*VoteDelRequest)(nil), "pb_v1.VoteDelRequest")
- proto.RegisterType((*VoteDelReply)(nil), "pb_v1.VoteDelReply")
- proto.RegisterType((*VoteListRequest)(nil), "pb_v1.VoteListRequest")
- proto.RegisterType((*VoteItem)(nil), "pb_v1.VoteItem")
- proto.RegisterType((*VoteListReply)(nil), "pb_v1.VoteListReply")
- proto.RegisterType((*VoteTopicAnswer)(nil), "pb_v1.VoteTopicAnswer")
- proto.RegisterType((*VoteAddAnswerRequest)(nil), "pb_v1.VoteAddAnswerRequest")
- proto.RegisterType((*VoteAddAnswerReply)(nil), "pb_v1.VoteAddAnswerReply")
- proto.RegisterType((*VoteResultListRequest)(nil), "pb_v1.VoteResultListRequest")
- proto.RegisterType((*VoteResultData)(nil), "pb_v1.VoteResultData")
- proto.RegisterType((*VoteResultUserAnswerItem)(nil), "pb_v1.VoteResultUserAnswerItem")
- proto.RegisterType((*VoteResultListReply)(nil), "pb_v1.VoteResultListReply")
- proto.RegisterType((*VoteResultStatisticRequest)(nil), "pb_v1.VoteResultStatisticRequest")
- proto.RegisterType((*VoteResultStatisticChoice)(nil), "pb_v1.VoteResultStatisticChoice")
- proto.RegisterType((*VoteResultStatisticStar)(nil), "pb_v1.VoteResultStatisticStar")
- proto.RegisterType((*VoteResultStatisticItem)(nil), "pb_v1.VoteResultStatisticItem")
- proto.RegisterType((*VoteResultStatisticReply)(nil), "pb_v1.VoteResultStatisticReply")
- proto.RegisterType((*VoteListForHouseholdRequest)(nil), "pb_v1.VoteListForHouseholdRequest")
- proto.RegisterType((*VoteTopicForHouseholdItem)(nil), "pb_v1.VoteTopicForHouseholdItem")
- proto.RegisterType((*VoteListForHouseholdItem)(nil), "pb_v1.VoteListForHouseholdItem")
- proto.RegisterType((*VoteListForHouseholdReply)(nil), "pb_v1.VoteListForHouseholdReply")
- }
- func init() {
- proto.RegisterFile("vote.proto", fileDescriptor_21d31c94b62a6ac7)
- }
- var fileDescriptor_21d31c94b62a6ac7 = []byte{
- // 1027 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x4f, 0x6f, 0xe3, 0x44,
- 0x14, 0xd7, 0xd8, 0x71, 0xe2, 0xbc, 0xb4, 0x69, 0x6b, 0xda, 0x5d, 0x6f, 0x57, 0x0b, 0xc1, 0x08,
- 0x29, 0x97, 0x76, 0xd9, 0xec, 0x85, 0x4b, 0x0f, 0xa5, 0x0b, 0xa2, 0x02, 0xed, 0xc1, 0xdd, 0x45,
- 0x82, 0x03, 0x91, 0x6b, 0x0f, 0x59, 0x4b, 0x4e, 0x6c, 0xec, 0x71, 0xd8, 0xf4, 0x8e, 0x38, 0x71,
- 0xe2, 0x53, 0xf0, 0x1d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