core/internal/proto/notifyer/notifyer.pb.go

350 lines
11 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.12
// source: notifyer.proto
package notifyer
import (
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)
)
type GetQuizzesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
}
func (x *GetQuizzesRequest) Reset() {
*x = GetQuizzesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_notifyer_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetQuizzesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetQuizzesRequest) ProtoMessage() {}
func (x *GetQuizzesRequest) ProtoReflect() protoreflect.Message {
mi := &file_notifyer_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 GetQuizzesRequest.ProtoReflect.Descriptor instead.
func (*GetQuizzesRequest) Descriptor() ([]byte, []int) {
return file_notifyer_proto_rawDescGZIP(), []int{0}
}
func (x *GetQuizzesRequest) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
type GetQuizzesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
QuizIds []int64 `protobuf:"varint,1,rep,packed,name=quiz_ids,json=quizIds,proto3" json:"quiz_ids,omitempty"`
}
func (x *GetQuizzesResponse) Reset() {
*x = GetQuizzesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_notifyer_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetQuizzesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetQuizzesResponse) ProtoMessage() {}
func (x *GetQuizzesResponse) ProtoReflect() protoreflect.Message {
mi := &file_notifyer_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 GetQuizzesResponse.ProtoReflect.Descriptor instead.
func (*GetQuizzesResponse) Descriptor() ([]byte, []int) {
return file_notifyer_proto_rawDescGZIP(), []int{1}
}
func (x *GetQuizzesResponse) GetQuizIds() []int64 {
if x != nil {
return x.QuizIds
}
return nil
}
type GetStartedQuizzesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
}
func (x *GetStartedQuizzesRequest) Reset() {
*x = GetStartedQuizzesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_notifyer_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetStartedQuizzesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStartedQuizzesRequest) ProtoMessage() {}
func (x *GetStartedQuizzesRequest) ProtoReflect() protoreflect.Message {
mi := &file_notifyer_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 GetStartedQuizzesRequest.ProtoReflect.Descriptor instead.
func (*GetStartedQuizzesRequest) Descriptor() ([]byte, []int) {
return file_notifyer_proto_rawDescGZIP(), []int{2}
}
func (x *GetStartedQuizzesRequest) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
type GetStartedQuizzesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
QuizIds []int64 `protobuf:"varint,1,rep,packed,name=quiz_ids,json=quizIds,proto3" json:"quiz_ids,omitempty"`
}
func (x *GetStartedQuizzesResponse) Reset() {
*x = GetStartedQuizzesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_notifyer_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetStartedQuizzesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStartedQuizzesResponse) ProtoMessage() {}
func (x *GetStartedQuizzesResponse) ProtoReflect() protoreflect.Message {
mi := &file_notifyer_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 GetStartedQuizzesResponse.ProtoReflect.Descriptor instead.
func (*GetStartedQuizzesResponse) Descriptor() ([]byte, []int) {
return file_notifyer_proto_rawDescGZIP(), []int{3}
}
func (x *GetStartedQuizzesResponse) GetQuizIds() []int64 {
if x != nil {
return x.QuizIds
}
return nil
}
var File_notifyer_proto protoreflect.FileDescriptor
var file_notifyer_proto_rawDesc = []byte{
0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x08, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65, 0x72, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65,
0x74, 0x51, 0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x2f,
0x0a, 0x12, 0x47, 0x65, 0x74, 0x51, 0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x69, 0x7a, 0x5f, 0x69, 0x64, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x71, 0x75, 0x69, 0x7a, 0x49, 0x64, 0x73, 0x22,
0x39, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x51, 0x75, 0x69,
0x7a, 0x7a, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x19, 0x47, 0x65,
0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x51, 0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x69, 0x7a, 0x5f,
0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x71, 0x75, 0x69, 0x7a, 0x49,
0x64, 0x73, 0x32, 0xb8, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x69, 0x7a, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x51, 0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73,
0x12, 0x1b, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x51,
0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e,
0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x69, 0x7a,
0x7a, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a,
0x11, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x51, 0x75, 0x69, 0x7a, 0x7a,
0x65, 0x73, 0x12, 0x22, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65, 0x72, 0x2e, 0x47, 0x65,
0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x51, 0x75, 0x69, 0x7a, 0x7a, 0x65, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x65,
0x72, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x51, 0x75, 0x69, 0x7a,
0x7a, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x15, 0x5a,
0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e, 0x6f, 0x74, 0x69,
0x66, 0x79, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_notifyer_proto_rawDescOnce sync.Once
file_notifyer_proto_rawDescData = file_notifyer_proto_rawDesc
)
func file_notifyer_proto_rawDescGZIP() []byte {
file_notifyer_proto_rawDescOnce.Do(func() {
file_notifyer_proto_rawDescData = protoimpl.X.CompressGZIP(file_notifyer_proto_rawDescData)
})
return file_notifyer_proto_rawDescData
}
var file_notifyer_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_notifyer_proto_goTypes = []interface{}{
(*GetQuizzesRequest)(nil), // 0: notifyer.GetQuizzesRequest
(*GetQuizzesResponse)(nil), // 1: notifyer.GetQuizzesResponse
(*GetStartedQuizzesRequest)(nil), // 2: notifyer.GetStartedQuizzesRequest
(*GetStartedQuizzesResponse)(nil), // 3: notifyer.GetStartedQuizzesResponse
}
var file_notifyer_proto_depIdxs = []int32{
0, // 0: notifyer.QuizService.GetQuizzes:input_type -> notifyer.GetQuizzesRequest
2, // 1: notifyer.QuizService.GetStartedQuizzes:input_type -> notifyer.GetStartedQuizzesRequest
1, // 2: notifyer.QuizService.GetQuizzes:output_type -> notifyer.GetQuizzesResponse
3, // 3: notifyer.QuizService.GetStartedQuizzes:output_type -> notifyer.GetStartedQuizzesResponse
2, // [2:4] is the sub-list for method output_type
0, // [0:2] 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_notifyer_proto_init() }
func file_notifyer_proto_init() {
if File_notifyer_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_notifyer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuizzesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_notifyer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetQuizzesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_notifyer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetStartedQuizzesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_notifyer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetStartedQuizzesResponse); 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_notifyer_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_notifyer_proto_goTypes,
DependencyIndexes: file_notifyer_proto_depIdxs,
MessageInfos: file_notifyer_proto_msgTypes,
}.Build()
File_notifyer_proto = out.File
file_notifyer_proto_rawDesc = nil
file_notifyer_proto_goTypes = nil
file_notifyer_proto_depIdxs = nil
}