// 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"` 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 } 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") } func init() { proto.RegisterFile("vote.proto", fileDescriptor_21d31c94b62a6ac7) } var fileDescriptor_21d31c94b62a6ac7 = []byte{ // 901 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xcd, 0x6e, 0xdb, 0x46, 0x10, 0xc6, 0x92, 0x92, 0x2c, 0x8d, 0x6c, 0xd9, 0x66, 0x9d, 0x94, 0x49, 0x91, 0x54, 0x65, 0x51, 0x40, 0x17, 0xdb, 0x8d, 0x73, 0xf6, 0xc1, 0x75, 0x72, 0x30, 0x5a, 0xe4, 0x40, 0x27, 0x3d, 0x14, 0x68, 0x85, 0x35, 0xb9, 0x55, 0x17, 0xa0, 0x44, 0x96, 0x3b, 0x54, 0xaa, 0xdc, 0x8b, 0x3e, 0x4b, 0xdf, 0xa1, 0x97, 0x5e, 0x8a, 0x3e, 0x40, 0x1f, 0xa8, 0x98, 0xdd, 0xe5, 0x8f, 0x64, 0x0a, 0x71, 0x82, 0x5c, 0x72, 0xd2, 0xec, 0xec, 0xee, 0xcc, 0x37, 0x33, 0xdf, 0xb7, 0x22, 0xc0, 0x32, 0x45, 0x71, 0x92, 0xe5, 0x29, 0xa6, 0x5e, 0x37, 0xbb, 0x99, 0x2e, 0x9f, 0x04, 0xe7, 0xf0, 0xc9, 0xf7, 0x29, 0x8a, 0x97, 0x69, 0x26, 0xa3, 0xcb, 0x5f, 0x52, 0x19, 0x89, 0x2b, 0x14, 0x73, 0xcf, 0x83, 0xce, 0xcf, 0x09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