12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844 |
- // 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"`
- 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
- }
- 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"`
- 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
- }
- 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"`
- Answers []*VoteResultData `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers"`
- 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) GetAnswers() []*VoteResultData {
- if m != nil {
- return m.Answers
- }
- return nil
- }
- 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"`
- 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
- }
- 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 int32 `protobuf:"varint,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() int32 {
- 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{
- // 986 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xcf, 0x6e, 0xe3, 0x44,
- 0x18, 0xd7, 0xd8, 0x71, 0xe2, 0x7c, 0x69, 0xd3, 0xd6, 0x74, 0x17, 0x6f, 0x57, 0x0b, 0xc1, 0x08,
- 0x29, 0x97, 0xb6, 0x6c, 0xf7, 0xc2, 0xa5, 0x87, 0xb2, 0xbb, 0x88, 0x0a, 0xb4, 0x07, 0x77, 0x97,
- 0x03, 0x12, 0x44, 0xae, 0x3d, 0xa4, 0x96, 0x9c, 0xd8, 0xd8, 0x9f, 0xb3, 0xa4, 0x77, 0xc4, 0x03,
- 0xf0, 0x14, 0x3c, 0x00, 0x37, 0x2e, 0x5c, 0x10, 0x57, 0x1e, 0x85, 0x37, 0x40, 0xf3, 0xcd, 0xf8,
- 0x4f, 0x12, 0x47, 0xdb, 0xac, 0x2a, 0xb1, 0x3d, 0x65, 0xe6, 0x9b, 0x99, 0xef, 0xdf, 0xef, 0xf7,
- 0x1b, 0x4f, 0x00, 0x66, 0x31, 0xf2, 0xa3, 0x24, 0x8d, 0x31, 0xb6, 0x8c, 0xe4, 0x72, 0x34, 0x7b,
- 0xec, 0x9c, 0xc2, 0x7b, 0xdf, 0xc4, 0xc8, 0x5f, 0xc6, 0x49, 0xe8, 0x3f, 0xbd, 0x8a, 0x43, 0x9f,
- 0x9f, 0x23, 0x9f, 0x58, 0x16, 0xb4, 0x7e, 0x88, 0xbc, 0xb1, 0xcd, 0x06, 0x6c, 0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