GoCalTui/calendar/calendar.pb.go
2025-07-27 15:11:43 -04:00

186 lines
5.3 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.6
// protoc v6.30.2
// source: proto/calendar.proto
package calendar
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 Event struct {
state protoimpl.MessageState `protogen:"open.v1"`
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"`
Month int32 `protobuf:"varint,4,opt,name=month,proto3" json:"month,omitempty"`
Day int32 `protobuf:"varint,5,opt,name=day,proto3" json:"day,omitempty"`
StartHour int32 `protobuf:"varint,6,opt,name=start_hour,json=startHour,proto3" json:"start_hour,omitempty"`
EndHour int32 `protobuf:"varint,7,opt,name=end_hour,json=endHour,proto3" json:"end_hour,omitempty"`
Color string `protobuf:"bytes,8,opt,name=color,proto3" json:"color,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Event) Reset() {
*x = Event{}
mi := &file_proto_calendar_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Event) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message {
mi := &file_proto_calendar_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) Descriptor() ([]byte, []int) {
return file_proto_calendar_proto_rawDescGZIP(), []int{0}
}
func (x *Event) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *Event) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Event) GetYear() int32 {
if x != nil {
return x.Year
}
return 0
}
func (x *Event) GetMonth() int32 {
if x != nil {
return x.Month
}
return 0
}
func (x *Event) GetDay() int32 {
if x != nil {
return x.Day
}
return 0
}
func (x *Event) GetStartHour() int32 {
if x != nil {
return x.StartHour
}
return 0
}
func (x *Event) GetEndHour() int32 {
if x != nil {
return x.EndHour
}
return 0
}
func (x *Event) GetColor() string {
if x != nil {
return x.Color
}
return ""
}
var File_proto_calendar_proto protoreflect.FileDescriptor
const file_proto_calendar_proto_rawDesc = "" +
"\n" +
"\x14proto/calendar.proto\x12\bcalendar\"\xcb\x01\n" +
"\x05Event\x12\x14\n" +
"\x05title\x18\x01 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x12\n" +
"\x04year\x18\x03 \x01(\x05R\x04year\x12\x14\n" +
"\x05month\x18\x04 \x01(\x05R\x05month\x12\x10\n" +
"\x03day\x18\x05 \x01(\x05R\x03day\x12\x1d\n" +
"\n" +
"start_hour\x18\x06 \x01(\x05R\tstartHour\x12\x19\n" +
"\bend_hour\x18\a \x01(\x05R\aendHour\x12\x14\n" +
"\x05color\x18\b \x01(\tR\x05colorB?Z=git.skdevstudios.com/SK-Development-Studios/GoCalTui/calendarb\x06proto3"
var (
file_proto_calendar_proto_rawDescOnce sync.Once
file_proto_calendar_proto_rawDescData []byte
)
func file_proto_calendar_proto_rawDescGZIP() []byte {
file_proto_calendar_proto_rawDescOnce.Do(func() {
file_proto_calendar_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_calendar_proto_rawDesc), len(file_proto_calendar_proto_rawDesc)))
})
return file_proto_calendar_proto_rawDescData
}
var file_proto_calendar_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_proto_calendar_proto_goTypes = []any{
(*Event)(nil), // 0: calendar.Event
}
var file_proto_calendar_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_proto_calendar_proto_init() }
func file_proto_calendar_proto_init() {
if File_proto_calendar_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_calendar_proto_rawDesc), len(file_proto_calendar_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_proto_calendar_proto_goTypes,
DependencyIndexes: file_proto_calendar_proto_depIdxs,
MessageInfos: file_proto_calendar_proto_msgTypes,
}.Build()
File_proto_calendar_proto = out.File
file_proto_calendar_proto_goTypes = nil
file_proto_calendar_proto_depIdxs = nil
}