// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.9 // protoc v6.32.1 // source: main.proto package proto import ( _ "google.golang.org/genproto/googleapis/api/annotations" 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 PingReq struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PingReq) Reset() { *x = PingReq{} mi := &file_main_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PingReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*PingReq) ProtoMessage() {} func (x *PingReq) ProtoReflect() protoreflect.Message { mi := &file_main_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 PingReq.ProtoReflect.Descriptor instead. func (*PingReq) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{0} } type PingRsp struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PingRsp) Reset() { *x = PingRsp{} mi := &file_main_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PingRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*PingRsp) ProtoMessage() {} func (x *PingRsp) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[1] 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 PingRsp.ProtoReflect.Descriptor instead. func (*PingRsp) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{1} } type GetScheduleReq struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetScheduleReq) Reset() { *x = GetScheduleReq{} mi := &file_main_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetScheduleReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetScheduleReq) ProtoMessage() {} func (x *GetScheduleReq) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[2] 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 GetScheduleReq.ProtoReflect.Descriptor instead. func (*GetScheduleReq) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{2} } type GetScheduleRsp struct { state protoimpl.MessageState `protogen:"open.v1"` UpdateTime string `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` Days []*Day `protobuf:"bytes,2,rep,name=days,proto3" json:"days,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetScheduleRsp) Reset() { *x = GetScheduleRsp{} mi := &file_main_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetScheduleRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetScheduleRsp) ProtoMessage() {} func (x *GetScheduleRsp) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[3] 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 GetScheduleRsp.ProtoReflect.Descriptor instead. func (*GetScheduleRsp) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{3} } func (x *GetScheduleRsp) GetUpdateTime() string { if x != nil { return x.UpdateTime } return "" } func (x *GetScheduleRsp) GetDays() []*Day { if x != nil { return x.Days } return nil } type Day struct { state protoimpl.MessageState `protogen:"open.v1"` Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Performances []*Performance `protobuf:"bytes,2,rep,name=performances,proto3" json:"performances,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Day) Reset() { *x = Day{} mi := &file_main_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Day) String() string { return protoimpl.X.MessageStringOf(x) } func (*Day) ProtoMessage() {} func (x *Day) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[4] 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 Day.ProtoReflect.Descriptor instead. func (*Day) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{4} } func (x *Day) GetDate() string { if x != nil { return x.Date } return "" } func (x *Day) GetPerformances() []*Performance { if x != nil { return x.Performances } return nil } type Performance struct { state protoimpl.MessageState `protogen:"open.v1"` TimeCollection string `protobuf:"bytes,1,opt,name=time_collection,json=timeCollection,proto3" json:"time_collection,omitempty"` TimeStart string `protobuf:"bytes,2,opt,name=time_start,json=timeStart,proto3" json:"time_start,omitempty"` Place string `protobuf:"bytes,3,opt,name=place,proto3" json:"place,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Numbers []*Number `protobuf:"bytes,5,rep,name=numbers,proto3" json:"numbers,omitempty"` Costumes string `protobuf:"bytes,6,opt,name=costumes,proto3" json:"costumes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Performance) Reset() { *x = Performance{} mi := &file_main_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Performance) String() string { return protoimpl.X.MessageStringOf(x) } func (*Performance) ProtoMessage() {} func (x *Performance) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[5] 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 Performance.ProtoReflect.Descriptor instead. func (*Performance) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{5} } func (x *Performance) GetTimeCollection() string { if x != nil { return x.TimeCollection } return "" } func (x *Performance) GetTimeStart() string { if x != nil { return x.TimeStart } return "" } func (x *Performance) GetPlace() string { if x != nil { return x.Place } return "" } func (x *Performance) GetName() string { if x != nil { return x.Name } return "" } func (x *Performance) GetNumbers() []*Number { if x != nil { return x.Numbers } return nil } func (x *Performance) GetCostumes() string { if x != nil { return x.Costumes } return "" } type Number struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Number) Reset() { *x = Number{} mi := &file_main_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Number) String() string { return protoimpl.X.MessageStringOf(x) } func (*Number) ProtoMessage() {} func (x *Number) ProtoReflect() protoreflect.Message { mi := &file_main_proto_msgTypes[6] 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 Number.ProtoReflect.Descriptor instead. func (*Number) Descriptor() ([]byte, []int) { return file_main_proto_rawDescGZIP(), []int{6} } func (x *Number) GetName() string { if x != nil { return x.Name } return "" } var File_main_proto protoreflect.FileDescriptor const file_main_proto_rawDesc = "" + "\n" + "\n" + "main.proto\x12\x14crabs.pinned_message\x1a\x1cgoogle/api/annotations.proto\"\t\n" + "\aPingReq\"\t\n" + "\aPingRsp\"\x10\n" + "\x0eGetScheduleReq\"`\n" + "\x0eGetScheduleRsp\x12\x1f\n" + "\vupdate_time\x18\x01 \x01(\tR\n" + "updateTime\x12-\n" + "\x04days\x18\x02 \x03(\v2\x19.crabs.pinned_message.DayR\x04days\"`\n" + "\x03Day\x12\x12\n" + "\x04date\x18\x01 \x01(\tR\x04date\x12E\n" + "\fperformances\x18\x02 \x03(\v2!.crabs.pinned_message.PerformanceR\fperformances\"\xd3\x01\n" + "\vPerformance\x12'\n" + "\x0ftime_collection\x18\x01 \x01(\tR\x0etimeCollection\x12\x1d\n" + "\n" + "time_start\x18\x02 \x01(\tR\ttimeStart\x12\x14\n" + "\x05place\x18\x03 \x01(\tR\x05place\x12\x12\n" + "\x04name\x18\x04 \x01(\tR\x04name\x126\n" + "\anumbers\x18\x05 \x03(\v2\x1c.crabs.pinned_message.NumberR\anumbers\x12\x1a\n" + "\bcostumes\x18\x06 \x01(\tR\bcostumes\"\x1c\n" + "\x06Number\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name2\xd2\x01\n" + "\rpinnedMessage\x12S\n" + "\x04Ping\x12\x1d.crabs.pinned_message.PingReq\x1a\x1d.crabs.pinned_message.PingRsp\"\r\x82\xd3\xe4\x93\x02\a\x12\x05/ping\x12l\n" + "\vGetSchedule\x12$.crabs.pinned_message.GetScheduleReq\x1a$.crabs.pinned_message.GetScheduleRsp\"\x11\x82\xd3\xe4\x93\x02\v\x12\t/scheduleB\vZ\tpkg/protob\x06proto3" var ( file_main_proto_rawDescOnce sync.Once file_main_proto_rawDescData []byte ) func file_main_proto_rawDescGZIP() []byte { file_main_proto_rawDescOnce.Do(func() { file_main_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc))) }) return file_main_proto_rawDescData } var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_main_proto_goTypes = []any{ (*PingReq)(nil), // 0: crabs.pinned_message.PingReq (*PingRsp)(nil), // 1: crabs.pinned_message.PingRsp (*GetScheduleReq)(nil), // 2: crabs.pinned_message.GetScheduleReq (*GetScheduleRsp)(nil), // 3: crabs.pinned_message.GetScheduleRsp (*Day)(nil), // 4: crabs.pinned_message.Day (*Performance)(nil), // 5: crabs.pinned_message.Performance (*Number)(nil), // 6: crabs.pinned_message.Number } var file_main_proto_depIdxs = []int32{ 4, // 0: crabs.pinned_message.GetScheduleRsp.days:type_name -> crabs.pinned_message.Day 5, // 1: crabs.pinned_message.Day.performances:type_name -> crabs.pinned_message.Performance 6, // 2: crabs.pinned_message.Performance.numbers:type_name -> crabs.pinned_message.Number 0, // 3: crabs.pinned_message.pinnedMessage.Ping:input_type -> crabs.pinned_message.PingReq 2, // 4: crabs.pinned_message.pinnedMessage.GetSchedule:input_type -> crabs.pinned_message.GetScheduleReq 1, // 5: crabs.pinned_message.pinnedMessage.Ping:output_type -> crabs.pinned_message.PingRsp 3, // 6: crabs.pinned_message.pinnedMessage.GetSchedule:output_type -> crabs.pinned_message.GetScheduleRsp 5, // [5:7] is the sub-list for method output_type 3, // [3:5] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_main_proto_init() } func file_main_proto_init() { if File_main_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc)), NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, GoTypes: file_main_proto_goTypes, DependencyIndexes: file_main_proto_depIdxs, MessageInfos: file_main_proto_msgTypes, }.Build() File_main_proto = out.File file_main_proto_goTypes = nil file_main_proto_depIdxs = nil }