代码拉取完成,页面将自动刷新
//******************************************************************************
// 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
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。