1 Star 0 Fork 0

WisdomClassroom / core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
questionRequest.pb.go 35.97 KB
一键复制 编辑 原始数据 按行查看 历史
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088
//******************************************************************************
// Copyright 2020 huanggefan.cn
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//****************************************************************************
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0-devel
// protoc v3.12.4
// source: questionRequest.proto
package pb
import (
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type GetQuestionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
QuestionUUIDs []string `protobuf:"bytes,1,rep,name=QuestionUUIDs,proto3" json:"QuestionUUIDs,omitempty"`
}
func (x *GetQuestionsRequest) Reset() {
*x = GetQuestionsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetQuestionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetQuestionsRequest) ProtoMessage() {}
func (x *GetQuestionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetQuestionsRequest.ProtoReflect.Descriptor instead.
func (*GetQuestionsRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{0}
}
func (x *GetQuestionsRequest) GetQuestionUUIDs() []string {
if x != nil {
return x.QuestionUUIDs
}
return nil
}
type GetQuestionsFullInfoRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
QuestionUUIDs []string `protobuf:"bytes,1,rep,name=QuestionUUIDs,proto3" json:"QuestionUUIDs,omitempty"`
}
func (x *GetQuestionsFullInfoRequest) Reset() {
*x = GetQuestionsFullInfoRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetQuestionsFullInfoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetQuestionsFullInfoRequest) ProtoMessage() {}
func (x *GetQuestionsFullInfoRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetQuestionsFullInfoRequest.ProtoReflect.Descriptor instead.
func (*GetQuestionsFullInfoRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{1}
}
func (x *GetQuestionsFullInfoRequest) GetQuestionUUIDs() []string {
if x != nil {
return x.QuestionUUIDs
}
return nil
}
type ListQuestionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
}
func (x *ListQuestionsRequest) Reset() {
*x = ListQuestionsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListQuestionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListQuestionsRequest) ProtoMessage() {}
func (x *ListQuestionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListQuestionsRequest.ProtoReflect.Descriptor instead.
func (*ListQuestionsRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{2}
}
func (x *ListQuestionsRequest) GetChapterUUID() string {
if x != nil {
return x.ChapterUUID
}
return ""
}
type CreateQuestionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Question string `protobuf:"bytes,1,opt,name=Question,proto3" json:"Question,omitempty"`
Analysis string `protobuf:"bytes,2,opt,name=Analysis,proto3" json:"Analysis,omitempty"`
AnswerA string `protobuf:"bytes,3,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"`
AnswerB string `protobuf:"bytes,4,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"`
AnswerC string `protobuf:"bytes,5,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"`
AnswerD string `protobuf:"bytes,6,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"`
AnswerE string `protobuf:"bytes,7,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"`
AnswerF string `protobuf:"bytes,8,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"`
AnswerG string `protobuf:"bytes,9,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"`
AnswerH string `protobuf:"bytes,10,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"`
IsA bool `protobuf:"varint,11,opt,name=IsA,proto3" json:"IsA,omitempty"`
IsB bool `protobuf:"varint,12,opt,name=IsB,proto3" json:"IsB,omitempty"`
IsC bool `protobuf:"varint,13,opt,name=IsC,proto3" json:"IsC,omitempty"`
IsD bool `protobuf:"varint,14,opt,name=IsD,proto3" json:"IsD,omitempty"`
IsE bool `protobuf:"varint,15,opt,name=IsE,proto3" json:"IsE,omitempty"`
IsF bool `protobuf:"varint,16,opt,name=IsF,proto3" json:"IsF,omitempty"`
IsG bool `protobuf:"varint,17,opt,name=IsG,proto3" json:"IsG,omitempty"`
IsH bool `protobuf:"varint,18,opt,name=IsH,proto3" json:"IsH,omitempty"`
IsTrue bool `protobuf:"varint,19,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
Type int32 `protobuf:"varint,20,opt,name=Type,proto3" json:"Type,omitempty"`
Level int32 `protobuf:"varint,21,opt,name=Level,proto3" json:"Level,omitempty"`
ChapterUUID string `protobuf:"bytes,22,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
IsExamQuestion bool `protobuf:"varint,23,opt,name=IsExamQuestion,proto3" json:"IsExamQuestion,omitempty"`
KnowledgePointUUIDs []string `protobuf:"bytes,24,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"`
}
func (x *CreateQuestionRequest) Reset() {
*x = CreateQuestionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateQuestionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateQuestionRequest) ProtoMessage() {}
func (x *CreateQuestionRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateQuestionRequest.ProtoReflect.Descriptor instead.
func (*CreateQuestionRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{3}
}
func (x *CreateQuestionRequest) GetQuestion() string {
if x != nil {
return x.Question
}
return ""
}
func (x *CreateQuestionRequest) GetAnalysis() string {
if x != nil {
return x.Analysis
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerA() string {
if x != nil {
return x.AnswerA
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerB() string {
if x != nil {
return x.AnswerB
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerC() string {
if x != nil {
return x.AnswerC
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerD() string {
if x != nil {
return x.AnswerD
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerE() string {
if x != nil {
return x.AnswerE
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerF() string {
if x != nil {
return x.AnswerF
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerG() string {
if x != nil {
return x.AnswerG
}
return ""
}
func (x *CreateQuestionRequest) GetAnswerH() string {
if x != nil {
return x.AnswerH
}
return ""
}
func (x *CreateQuestionRequest) GetIsA() bool {
if x != nil {
return x.IsA
}
return false
}
func (x *CreateQuestionRequest) GetIsB() bool {
if x != nil {
return x.IsB
}
return false
}
func (x *CreateQuestionRequest) GetIsC() bool {
if x != nil {
return x.IsC
}
return false
}
func (x *CreateQuestionRequest) GetIsD() bool {
if x != nil {
return x.IsD
}
return false
}
func (x *CreateQuestionRequest) GetIsE() bool {
if x != nil {
return x.IsE
}
return false
}
func (x *CreateQuestionRequest) GetIsF() bool {
if x != nil {
return x.IsF
}
return false
}
func (x *CreateQuestionRequest) GetIsG() bool {
if x != nil {
return x.IsG
}
return false
}
func (x *CreateQuestionRequest) GetIsH() bool {
if x != nil {
return x.IsH
}
return false
}
func (x *CreateQuestionRequest) GetIsTrue() bool {
if x != nil {
return x.IsTrue
}
return false
}
func (x *CreateQuestionRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *CreateQuestionRequest) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *CreateQuestionRequest) GetChapterUUID() string {
if x != nil {
return x.ChapterUUID
}
return ""
}
func (x *CreateQuestionRequest) GetIsExamQuestion() bool {
if x != nil {
return x.IsExamQuestion
}
return false
}
func (x *CreateQuestionRequest) GetKnowledgePointUUIDs() []string {
if x != nil {
return x.KnowledgePointUUIDs
}
return nil
}
type UpdateQuestionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"`
Analysis string `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"`
AnswerA string `protobuf:"bytes,4,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"`
AnswerB string `protobuf:"bytes,5,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"`
AnswerC string `protobuf:"bytes,6,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"`
AnswerD string `protobuf:"bytes,7,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"`
AnswerE string `protobuf:"bytes,8,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"`
AnswerF string `protobuf:"bytes,9,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"`
AnswerG string `protobuf:"bytes,10,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"`
AnswerH string `protobuf:"bytes,11,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"`
IsA bool `protobuf:"varint,12,opt,name=IsA,proto3" json:"IsA,omitempty"`
IsB bool `protobuf:"varint,13,opt,name=IsB,proto3" json:"IsB,omitempty"`
IsC bool `protobuf:"varint,14,opt,name=IsC,proto3" json:"IsC,omitempty"`
IsD bool `protobuf:"varint,15,opt,name=IsD,proto3" json:"IsD,omitempty"`
IsE bool `protobuf:"varint,16,opt,name=IsE,proto3" json:"IsE,omitempty"`
IsF bool `protobuf:"varint,17,opt,name=IsF,proto3" json:"IsF,omitempty"`
IsG bool `protobuf:"varint,18,opt,name=IsG,proto3" json:"IsG,omitempty"`
IsH bool `protobuf:"varint,19,opt,name=IsH,proto3" json:"IsH,omitempty"`
IsTrue bool `protobuf:"varint,20,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
Level int32 `protobuf:"varint,21,opt,name=Level,proto3" json:"Level,omitempty"`
IsExamQuestion bool `protobuf:"varint,22,opt,name=IsExamQuestion,proto3" json:"IsExamQuestion,omitempty"`
KnowledgePointUUIDs []string `protobuf:"bytes,23,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"`
}
func (x *UpdateQuestionRequest) Reset() {
*x = UpdateQuestionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateQuestionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateQuestionRequest) ProtoMessage() {}
func (x *UpdateQuestionRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateQuestionRequest.ProtoReflect.Descriptor instead.
func (*UpdateQuestionRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{4}
}
func (x *UpdateQuestionRequest) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
func (x *UpdateQuestionRequest) GetQuestion() string {
if x != nil {
return x.Question
}
return ""
}
func (x *UpdateQuestionRequest) GetAnalysis() string {
if x != nil {
return x.Analysis
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerA() string {
if x != nil {
return x.AnswerA
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerB() string {
if x != nil {
return x.AnswerB
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerC() string {
if x != nil {
return x.AnswerC
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerD() string {
if x != nil {
return x.AnswerD
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerE() string {
if x != nil {
return x.AnswerE
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerF() string {
if x != nil {
return x.AnswerF
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerG() string {
if x != nil {
return x.AnswerG
}
return ""
}
func (x *UpdateQuestionRequest) GetAnswerH() string {
if x != nil {
return x.AnswerH
}
return ""
}
func (x *UpdateQuestionRequest) GetIsA() bool {
if x != nil {
return x.IsA
}
return false
}
func (x *UpdateQuestionRequest) GetIsB() bool {
if x != nil {
return x.IsB
}
return false
}
func (x *UpdateQuestionRequest) GetIsC() bool {
if x != nil {
return x.IsC
}
return false
}
func (x *UpdateQuestionRequest) GetIsD() bool {
if x != nil {
return x.IsD
}
return false
}
func (x *UpdateQuestionRequest) GetIsE() bool {
if x != nil {
return x.IsE
}
return false
}
func (x *UpdateQuestionRequest) GetIsF() bool {
if x != nil {
return x.IsF
}
return false
}
func (x *UpdateQuestionRequest) GetIsG() bool {
if x != nil {
return x.IsG
}
return false
}
func (x *UpdateQuestionRequest) GetIsH() bool {
if x != nil {
return x.IsH
}
return false
}
func (x *UpdateQuestionRequest) GetIsTrue() bool {
if x != nil {
return x.IsTrue
}
return false
}
func (x *UpdateQuestionRequest) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *UpdateQuestionRequest) GetIsExamQuestion() bool {
if x != nil {
return x.IsExamQuestion
}
return false
}
func (x *UpdateQuestionRequest) GetKnowledgePointUUIDs() []string {
if x != nil {
return x.KnowledgePointUUIDs
}
return nil
}
type DeleteQuestionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
}
func (x *DeleteQuestionRequest) Reset() {
*x = DeleteQuestionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteQuestionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteQuestionRequest) ProtoMessage() {}
func (x *DeleteQuestionRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteQuestionRequest.ProtoReflect.Descriptor instead.
func (*DeleteQuestionRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{5}
}
func (x *DeleteQuestionRequest) GetUUID() string {
if x != nil {
return x.UUID
}
return ""
}
type AnswerQuestionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 开始时间戳
StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"`
// 结束时间戳
EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"`
// 题目 UUID
QuestionUUID string `protobuf:"bytes,3,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"`
// 所写答案是否选中A
IsA bool `protobuf:"varint,4,opt,name=IsA,proto3" json:"IsA,omitempty"`
// 所写答案是否选中B
IsB bool `protobuf:"varint,5,opt,name=IsB,proto3" json:"IsB,omitempty"`
// 所写答案是否选中C
IsC bool `protobuf:"varint,6,opt,name=IsC,proto3" json:"IsC,omitempty"`
// 所写答案是否选中D
IsD bool `protobuf:"varint,7,opt,name=IsD,proto3" json:"IsD,omitempty"`
// 所写答案是否选中E
IsE bool `protobuf:"varint,8,opt,name=IsE,proto3" json:"IsE,omitempty"`
// 所写答案是否选中F
IsF bool `protobuf:"varint,9,opt,name=IsF,proto3" json:"IsF,omitempty"`
// 所写答案是否选中G
IsG bool `protobuf:"varint,10,opt,name=IsG,proto3" json:"IsG,omitempty"`
// 所写答案是否选中H
IsH bool `protobuf:"varint,11,opt,name=IsH,proto3" json:"IsH,omitempty"`
// 所写答案是否为正确
IsTrue bool `protobuf:"varint,12,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
}
func (x *AnswerQuestionRequest) Reset() {
*x = AnswerQuestionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_questionRequest_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AnswerQuestionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AnswerQuestionRequest) ProtoMessage() {}
func (x *AnswerQuestionRequest) ProtoReflect() protoreflect.Message {
mi := &file_questionRequest_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AnswerQuestionRequest.ProtoReflect.Descriptor instead.
func (*AnswerQuestionRequest) Descriptor() ([]byte, []int) {
return file_questionRequest_proto_rawDescGZIP(), []int{6}
}
func (x *AnswerQuestionRequest) GetStartTime() uint32 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *AnswerQuestionRequest) GetEndTime() uint32 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *AnswerQuestionRequest) GetQuestionUUID() string {
if x != nil {
return x.QuestionUUID
}
return ""
}
func (x *AnswerQuestionRequest) GetIsA() bool {
if x != nil {
return x.IsA
}
return false
}
func (x *AnswerQuestionRequest) GetIsB() bool {
if x != nil {
return x.IsB
}
return false
}
func (x *AnswerQuestionRequest) GetIsC() bool {
if x != nil {
return x.IsC
}
return false
}
func (x *AnswerQuestionRequest) GetIsD() bool {
if x != nil {
return x.IsD
}
return false
}
func (x *AnswerQuestionRequest) GetIsE() bool {
if x != nil {
return x.IsE
}
return false
}
func (x *AnswerQuestionRequest) GetIsF() bool {
if x != nil {
return x.IsF
}
return false
}
func (x *AnswerQuestionRequest) GetIsG() bool {
if x != nil {
return x.IsG
}
return false
}
func (x *AnswerQuestionRequest) GetIsH() bool {
if x != nil {
return x.IsH
}
return false
}
func (x *AnswerQuestionRequest) GetIsTrue() bool {
if x != nil {
return x.IsTrue
}
return false
}
var File_questionRequest_proto protoreflect.FileDescriptor
var file_questionRequest_proto_rawDesc = []byte{
0x0a, 0x15, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x3b, 0x0a, 0x13, 0x47,
0x65, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x55,
0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x51, 0x75, 0x65, 0x73, 0x74,
0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x73, 0x22, 0x43, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x51,
0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x75, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x73, 0x74,
0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,
0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x73, 0x22, 0x38, 0x0a,
0x14, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72,
0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x43, 0x68, 0x61, 0x70,
0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x22, 0xed, 0x04, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a,
0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73,
0x77, 0x65, 0x72, 0x41, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77,
0x65, 0x72, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x42, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x42, 0x12, 0x18, 0x0a,
0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65,
0x72, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
0x44, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x45, 0x18, 0x07, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x45, 0x12, 0x18, 0x0a, 0x07, 0x41,
0x6e, 0x73, 0x77, 0x65, 0x72, 0x46, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e,
0x73, 0x77, 0x65, 0x72, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x47,
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x47, 0x12,
0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x48, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x48, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x41,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x41, 0x12, 0x10, 0x0a, 0x03, 0x49,
0x73, 0x42, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x42, 0x12, 0x10, 0x0a,
0x03, 0x49, 0x73, 0x43, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x43, 0x12,
0x10, 0x0a, 0x03, 0x49, 0x73, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73,
0x44, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x45, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
0x49, 0x73, 0x45, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x46, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08,
0x52, 0x03, 0x49, 0x73, 0x46, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x47, 0x18, 0x11, 0x20, 0x01,
0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x47, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x48, 0x18, 0x12,
0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x48, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x54,
0x72, 0x75, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x54, 0x72, 0x75,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52,
0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x15,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x43,
0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x43, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x55, 0x55, 0x49, 0x44, 0x12, 0x26, 0x0a,
0x0e, 0x49, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x49, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x51, 0x75, 0x65,
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x13, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64,
0x67, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x55, 0x49, 0x44, 0x73, 0x18, 0x18, 0x20, 0x03,
0x28, 0x09, 0x52, 0x13, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69,
0x6e, 0x74, 0x55, 0x55, 0x49, 0x44, 0x73, 0x22, 0xcb, 0x04, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x55, 0x55, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x18, 0x0a,
0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x41, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65,
0x72, 0x42, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
0x42, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x18, 0x06, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x12, 0x18, 0x0a, 0x07, 0x41,
0x6e, 0x73, 0x77, 0x65, 0x72, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e,
0x73, 0x77, 0x65, 0x72, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x45,
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x45, 0x12,
0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x46, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73,
0x77, 0x65, 0x72, 0x47, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77,
0x65, 0x72, 0x47, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x48, 0x18, 0x0b,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x48, 0x12, 0x10, 0x0a,
0x03, 0x49, 0x73, 0x41, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x41, 0x12,
0x10, 0x0a, 0x03, 0x49, 0x73, 0x42, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73,
0x42, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x43, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
0x49, 0x73, 0x43, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x44, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08,
0x52, 0x03, 0x49, 0x73, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x45, 0x18, 0x10, 0x20, 0x01,
0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x45, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x46, 0x18, 0x11,
0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x46, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x47,
0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x47, 0x12, 0x10, 0x0a, 0x03, 0x49,
0x73, 0x48, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x48, 0x12, 0x16, 0x0a,
0x06, 0x49, 0x73, 0x54, 0x72, 0x75, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49,
0x73, 0x54, 0x72, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x15,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x49,
0x73, 0x45, 0x78, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x16, 0x20,
0x01, 0x28, 0x08, 0x52, 0x0e, 0x49, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x73, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x13, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65,
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x55, 0x49, 0x44, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09,
0x52, 0x13, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6f, 0x69, 0x6e, 0x74,
0x55, 0x55, 0x49, 0x44, 0x73, 0x22, 0x2b, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51,
0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x55,
0x49, 0x44, 0x22, 0x9b, 0x02, 0x0a, 0x15, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x51, 0x75, 0x65,
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09,
0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52,
0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e,
0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x07, 0x52, 0x07, 0x45, 0x6e, 0x64,
0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
0x55, 0x55, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x51, 0x75, 0x65, 0x73,
0x74, 0x69, 0x6f, 0x6e, 0x55, 0x55, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x41, 0x18,
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x41, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73,
0x42, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x42, 0x12, 0x10, 0x0a, 0x03,
0x49, 0x73, 0x43, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x43, 0x12, 0x10,
0x0a, 0x03, 0x49, 0x73, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x44,
0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x45, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x49,
0x73, 0x45, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x46, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52,
0x03, 0x49, 0x73, 0x46, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x47, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x08, 0x52, 0x03, 0x49, 0x73, 0x47, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x73, 0x48, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x08, 0x52, 0x03, 0x49, 0x73, 0x48, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x54, 0x72,
0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x54, 0x72, 0x75, 0x65,
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_questionRequest_proto_rawDescOnce sync.Once
file_questionRequest_proto_rawDescData = file_questionRequest_proto_rawDesc
)
func file_questionRequest_proto_rawDescGZIP() []byte {
file_questionRequest_proto_rawDescOnce.Do(func() {
file_questionRequest_proto_rawDescData = protoimpl.X.CompressGZIP(file_questionRequest_proto_rawDescData)
})
return file_questionRequest_proto_rawDescData
}
var file_questionRequest_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_questionRequest_proto_goTypes = []interface{}{
(*GetQuestionsRequest)(nil), // 0: pb.GetQuestionsRequest
(*GetQuestionsFullInfoRequest)(nil), // 1: pb.GetQuestionsFullInfoRequest
(*ListQuestionsRequest)(nil), // 2: pb.ListQuestionsRequest
(*CreateQuestionRequest)(nil), // 3: pb.CreateQuestionRequest
(*UpdateQuestionRequest)(nil), // 4: pb.UpdateQuestionRequest
(*DeleteQuestionRequest)(nil), // 5: pb.DeleteQuestionRequest
(*AnswerQuestionRequest)(nil), // 6: pb.AnswerQuestionRequest
}
var file_questionRequest_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_questionRequest_proto_init() }
func file_questionRequest_proto_init() {
if File_questionRequest_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_questionRequest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuestionsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuestionsFullInfoRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListQuestionsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateQuestionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateQuestionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteQuestionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_questionRequest_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AnswerQuestionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_questionRequest_proto_rawDesc,
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_questionRequest_proto_goTypes,
DependencyIndexes: file_questionRequest_proto_depIdxs,
MessageInfos: file_questionRequest_proto_msgTypes,
}.Build()
File_questionRequest_proto = out.File
file_questionRequest_proto_rawDesc = nil
file_questionRequest_proto_goTypes = nil
file_questionRequest_proto_depIdxs = nil
}
1
https://gitee.com/WisdomClassroom/core.git
git@gitee.com:WisdomClassroom/core.git
WisdomClassroom
core
core
v0.7.6

搜索帮助