diff options
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/external/jsonfeed/jsonfeed.pb.go | 259 | ||||
| -rw-r--r-- | proto/mi/mi.pb.go | 530 | ||||
| -rw-r--r-- | proto/mi/mi_grpc.pb.go | 2 | ||||
| -rw-r--r-- | proto/mimi/announce/announce.pb.go | 76 | ||||
| -rw-r--r-- | proto/mimi/announce/announce_grpc.pb.go | 2 | ||||
| -rw-r--r-- | proto/mimi/statuspage/statuspage.pb.go | 547 | ||||
| -rw-r--r-- | proto/mimi/statuspage/statuspage_grpc.pb.go | 2 | ||||
| -rw-r--r-- | proto/sanguisuga/sanguisuga.pb.go | 338 | ||||
| -rw-r--r-- | proto/sanguisuga/sanguisuga_grpc.pb.go | 2 | ||||
| -rw-r--r-- | proto/uplodr/uplodr.pb.go | 210 | ||||
| -rw-r--r-- | proto/uplodr/uplodr_grpc.pb.go | 2 |
11 files changed, 602 insertions, 1368 deletions
diff --git a/proto/external/jsonfeed/jsonfeed.pb.go b/proto/external/jsonfeed/jsonfeed.pb.go index ca8cfca..fe16e0d 100644 --- a/proto/external/jsonfeed/jsonfeed.pb.go +++ b/proto/external/jsonfeed/jsonfeed.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.3 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: jsonfeed.proto package jsonfeed @@ -12,6 +12,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -24,10 +25,7 @@ const ( // Feed is the root of a Proto Feed document. A feed must at least contain a // title and items. type Feed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // (required, string) is the name of the feed, which will often correspond to // the name of the website (blog, for instance), though not necessarily. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` @@ -74,16 +72,16 @@ type Feed struct { // story, blog post, article, photograph, video, or other thing. For example, // if a feed contains a long article, a podcast episode, and a photo, those // three items would be included in items. - Items []*Item `protobuf:"bytes,12,rep,name=items,proto3" json:"items,omitempty"` + Items []*Item `protobuf:"bytes,12,rep,name=items,proto3" json:"items,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Feed) Reset() { *x = Feed{} - if protoimpl.UnsafeEnabled { - mi := &file_jsonfeed_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_jsonfeed_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Feed) String() string { @@ -94,7 +92,7 @@ func (*Feed) ProtoMessage() {} func (x *Feed) ProtoReflect() protoreflect.Message { mi := &file_jsonfeed_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,10 +186,7 @@ func (x *Feed) GetItems() []*Item { // Author is an object representing the author of the feed or item. type Author struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // (optional, string) is the author’s name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // (optional, string) is the URL of a site owned by the author. It could be a @@ -203,16 +198,16 @@ type Author struct { // should be square and relatively large — such as 512 x 512 pixels — and // should use transparency where appropriate, since it may be rendered on a // non-white background. - Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` + Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Author) Reset() { *x = Author{} - if protoimpl.UnsafeEnabled { - mi := &file_jsonfeed_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_jsonfeed_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Author) String() string { @@ -223,7 +218,7 @@ func (*Author) ProtoMessage() {} func (x *Author) ProtoReflect() protoreflect.Message { mi := &file_jsonfeed_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -262,10 +257,7 @@ func (x *Author) GetAvatar() string { // Item is an object representing a single story, blog post, article, // photograph, video, or other thing within a feed. type Item struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // (required, string) is unique for that item for that feed over time. If an // item is ever updated, the id should be unchanged. New items should never // use a previously-used id. If an id is presented as a number or other type, @@ -331,16 +323,16 @@ type Item struct { // item. Attachments are files that are associated with an item. The value of // the attachments field is an array of objects, each of which has a url // field, and other fields as specified in the attachment object definition. - Attachments []*Attachment `protobuf:"bytes,15,rep,name=attachments,proto3" json:"attachments,omitempty"` + Attachments []*Attachment `protobuf:"bytes,15,rep,name=attachments,proto3" json:"attachments,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Item) Reset() { *x = Item{} - if protoimpl.UnsafeEnabled { - mi := &file_jsonfeed_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_jsonfeed_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Item) String() string { @@ -351,7 +343,7 @@ func (*Item) ProtoMessage() {} func (x *Item) ProtoReflect() protoreflect.Message { mi := &file_jsonfeed_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -473,10 +465,7 @@ func (x *Item) GetAttachments() []*Attachment { // Attachment is an object representing a file associated with an item. type Attachment struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // (required, string) specifies the location of the attachment. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // (required, string) specifies the type of the attachment, such as @@ -489,15 +478,15 @@ type Attachment struct { // (optional, number) specifies how long it takes to listen to or watch, when // played at normal speed. DurationInSeconds int32 `protobuf:"varint,5,opt,name=duration_in_seconds,json=durationInSeconds,proto3" json:"duration_in_seconds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Attachment) Reset() { *x = Attachment{} - if protoimpl.UnsafeEnabled { - mi := &file_jsonfeed_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_jsonfeed_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Attachment) String() string { @@ -508,7 +497,7 @@ func (*Attachment) ProtoMessage() {} func (x *Attachment) ProtoReflect() protoreflect.Message { mi := &file_jsonfeed_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,94 +549,59 @@ func (x *Attachment) GetDurationInSeconds() int32 { var File_jsonfeed_proto protoreflect.FileDescriptor -var file_jsonfeed_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x02, 0x0a, 0x04, - 0x46, 0x65, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x6f, - 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x68, 0x6f, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x19, - 0x0a, 0x08, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x66, 0x65, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, - 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x76, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x76, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x07, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, - 0x07, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x24, - 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, - 0x74, 0x65, 0x6d, 0x73, 0x22, 0x46, 0x0a, 0x06, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x22, 0x92, 0x04, 0x0a, - 0x04, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, - 0x74, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, - 0x65, 0x78, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, - 0x74, 0x6d, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x48, 0x74, 0x6d, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x72, - 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, - 0x6e, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x64, 0x61, 0x74, - 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3f, 0x0a, 0x0d, - 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x0c, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x2a, 0x0a, - 0x07, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, - 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x0a, - 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x0b, 0x61, 0x74, 0x74, - 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x6a, 0x73, 0x6f, 0x6e, 0x66, 0x65, 0x65, 0x64, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6e, - 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x69, - 0x7a, 0x65, 0x49, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x2a, 0x5a, 0x28, 0x77, 0x69, 0x74, - 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2f, 0x78, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x66, 0x65, 0x65, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_jsonfeed_proto_rawDesc = "" + + "\n" + + "\x0ejsonfeed.proto\x12\bjsonfeed\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd6\x02\n" + + "\x04Feed\x12\x14\n" + + "\x05title\x18\x02 \x01(\tR\x05title\x12\"\n" + + "\rhome_page_url\x18\x03 \x01(\tR\vhomePageUrl\x12\x19\n" + + "\bfeed_url\x18\x04 \x01(\tR\afeedUrl\x12 \n" + + "\vdescription\x18\x05 \x01(\tR\vdescription\x12!\n" + + "\fuser_comment\x18\x06 \x01(\tR\vuserComment\x12\x12\n" + + "\x04icon\x18\a \x01(\tR\x04icon\x12\x18\n" + + "\afavicon\x18\b \x01(\tR\afavicon\x12*\n" + + "\aauthors\x18\t \x03(\v2\x10.jsonfeed.AuthorR\aauthors\x12\x1a\n" + + "\blanguage\x18\n" + + " \x01(\tR\blanguage\x12\x18\n" + + "\aexpired\x18\v \x01(\bR\aexpired\x12$\n" + + "\x05items\x18\f \x03(\v2\x0e.jsonfeed.ItemR\x05items\"F\n" + + "\x06Author\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n" + + "\x03url\x18\x02 \x01(\tR\x03url\x12\x16\n" + + "\x06avatar\x18\x03 \x01(\tR\x06avatar\"\x92\x04\n" + + "\x04Item\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n" + + "\x03url\x18\x02 \x01(\tR\x03url\x12!\n" + + "\fexternal_url\x18\x03 \x01(\tR\vexternalUrl\x12\x14\n" + + "\x05title\x18\x04 \x01(\tR\x05title\x12!\n" + + "\fcontent_text\x18\x05 \x01(\tR\vcontentText\x12!\n" + + "\fcontent_html\x18\x06 \x01(\tR\vcontentHtml\x12\x18\n" + + "\asummary\x18\a \x01(\tR\asummary\x12\x14\n" + + "\x05image\x18\b \x01(\tR\x05image\x12!\n" + + "\fbanner_image\x18\t \x01(\tR\vbannerImage\x12A\n" + + "\x0edate_published\x18\n" + + " \x01(\v2\x1a.google.protobuf.TimestampR\rdatePublished\x12?\n" + + "\rdate_modified\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\fdateModified\x12*\n" + + "\aauthors\x18\f \x03(\v2\x10.jsonfeed.AuthorR\aauthors\x12\x12\n" + + "\x04tags\x18\r \x03(\tR\x04tags\x12\x1a\n" + + "\blanguage\x18\x0e \x01(\tR\blanguage\x126\n" + + "\vattachments\x18\x0f \x03(\v2\x14.jsonfeed.AttachmentR\vattachments\"\xa5\x01\n" + + "\n" + + "Attachment\x12\x10\n" + + "\x03url\x18\x01 \x01(\tR\x03url\x12\x1b\n" + + "\tmime_type\x18\x02 \x01(\tR\bmimeType\x12\x14\n" + + "\x05title\x18\x03 \x01(\tR\x05title\x12\"\n" + + "\rsize_in_bytes\x18\x04 \x01(\x05R\vsizeInBytes\x12.\n" + + "\x13duration_in_seconds\x18\x05 \x01(\x05R\x11durationInSecondsB*Z(within.website/x/proto/external/jsonfeedb\x06proto3" var ( file_jsonfeed_proto_rawDescOnce sync.Once - file_jsonfeed_proto_rawDescData = file_jsonfeed_proto_rawDesc + file_jsonfeed_proto_rawDescData []byte ) func file_jsonfeed_proto_rawDescGZIP() []byte { file_jsonfeed_proto_rawDescOnce.Do(func() { - file_jsonfeed_proto_rawDescData = protoimpl.X.CompressGZIP(file_jsonfeed_proto_rawDescData) + file_jsonfeed_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_jsonfeed_proto_rawDesc), len(file_jsonfeed_proto_rawDesc))) }) return file_jsonfeed_proto_rawDescData } @@ -679,61 +633,11 @@ func file_jsonfeed_proto_init() { if File_jsonfeed_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_jsonfeed_proto_msgTypes[0].Exporter = func(v any, i int) any { - switch v := v.(*Feed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_jsonfeed_proto_msgTypes[1].Exporter = func(v any, i int) any { - switch v := v.(*Author); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_jsonfeed_proto_msgTypes[2].Exporter = func(v any, i int) any { - switch v := v.(*Item); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_jsonfeed_proto_msgTypes[3].Exporter = func(v any, i int) any { - switch v := v.(*Attachment); 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_jsonfeed_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_jsonfeed_proto_rawDesc), len(file_jsonfeed_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -744,7 +648,6 @@ func file_jsonfeed_proto_init() { MessageInfos: file_jsonfeed_proto_msgTypes, }.Build() File_jsonfeed_proto = out.File - file_jsonfeed_proto_rawDesc = nil file_jsonfeed_proto_goTypes = nil file_jsonfeed_proto_depIdxs = nil } diff --git a/proto/mi/mi.pb.go b/proto/mi/mi.pb.go index 336db5c..15988ff 100644 --- a/proto/mi/mi.pb.go +++ b/proto/mi/mi.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.3 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: mi.proto package mi @@ -13,6 +13,7 @@ import ( timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,20 +24,17 @@ const ( ) type MembersResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // required unknownFields protoimpl.UnknownFields - - Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *MembersResp) Reset() { *x = MembersResp{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MembersResp) String() string { @@ -47,7 +45,7 @@ func (*MembersResp) ProtoMessage() {} func (x *MembersResp) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,22 +68,19 @@ func (x *MembersResp) GetMembers() []*Member { } type Member struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // required + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required + AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // required unknownFields protoimpl.UnknownFields - - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // required - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required - AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *Member) Reset() { *x = Member{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Member) String() string { @@ -96,7 +91,7 @@ func (*Member) ProtoMessage() {} func (x *Member) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -133,23 +128,20 @@ func (x *Member) GetAvatarUrl() string { } type Switch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required + MemberId int32 `protobuf:"varint,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // required + StartedAt string `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // RFC 3339, required + EndedAt string `protobuf:"bytes,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` // RFC 3339, optional if switch is current unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required - MemberId int32 `protobuf:"varint,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // required - StartedAt string `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // RFC 3339, required - EndedAt string `protobuf:"bytes,4,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` // RFC 3339, optional if switch is current + sizeCache protoimpl.SizeCache } func (x *Switch) Reset() { *x = Switch{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Switch) String() string { @@ -160,7 +152,7 @@ func (*Switch) ProtoMessage() {} func (x *Switch) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,20 +196,17 @@ func (x *Switch) GetEndedAt() string { } type SwitchReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MemberName string `protobuf:"bytes,1,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"` // required unknownFields protoimpl.UnknownFields - - MemberName string `protobuf:"bytes,1,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *SwitchReq) Reset() { *x = SwitchReq{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SwitchReq) String() string { @@ -228,7 +217,7 @@ func (*SwitchReq) ProtoMessage() {} func (x *SwitchReq) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,21 +240,18 @@ func (x *SwitchReq) GetMemberName() string { } type SwitchResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Old *Switch `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` // required + Current *Switch `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // required unknownFields protoimpl.UnknownFields - - Old *Switch `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` // required - Current *Switch `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *SwitchResp) Reset() { *x = SwitchResp{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SwitchResp) String() string { @@ -276,7 +262,7 @@ func (*SwitchResp) ProtoMessage() {} func (x *SwitchResp) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -306,20 +292,17 @@ func (x *SwitchResp) GetCurrent() *Switch { } type GetSwitchReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *GetSwitchReq) Reset() { *x = GetSwitchReq{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSwitchReq) String() string { @@ -330,7 +313,7 @@ func (*GetSwitchReq) ProtoMessage() {} func (x *GetSwitchReq) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,21 +336,18 @@ func (x *GetSwitchReq) GetId() string { } type FrontChange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Switch *Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` // required + Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // required unknownFields protoimpl.UnknownFields - - Switch *Switch `protobuf:"bytes,1,opt,name=switch,proto3" json:"switch,omitempty"` // required - Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *FrontChange) Reset() { *x = FrontChange{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FrontChange) String() string { @@ -378,7 +358,7 @@ func (*FrontChange) ProtoMessage() {} func (x *FrontChange) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,21 +388,18 @@ func (x *FrontChange) GetMember() *Member { } type ListSwitchesReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // required + Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // required unknownFields protoimpl.UnknownFields - - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // required - Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // required + sizeCache protoimpl.SizeCache } func (x *ListSwitchesReq) Reset() { *x = ListSwitchesReq{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSwitchesReq) String() string { @@ -433,7 +410,7 @@ func (*ListSwitchesReq) ProtoMessage() {} func (x *ListSwitchesReq) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -463,20 +440,17 @@ func (x *ListSwitchesReq) GetPage() int32 { } type ListSwitchesResp struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Switches []*FrontChange `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"` unknownFields protoimpl.UnknownFields - - Switches []*FrontChange `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSwitchesResp) Reset() { *x = ListSwitchesResp{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListSwitchesResp) String() string { @@ -487,7 +461,7 @@ func (*ListSwitchesResp) ProtoMessage() {} func (x *ListSwitchesResp) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -511,10 +485,7 @@ func (x *ListSwitchesResp) GetSwitches() []*FrontChange { // Event represents an event that Xe will be attending. type Event struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the event Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The URL for the event @@ -530,16 +501,16 @@ type Event struct { // The description of the event Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // If the event is syndicated to Flyght Tracker - Syndicate bool `protobuf:"varint,8,opt,name=syndicate,proto3" json:"syndicate,omitempty"` + Syndicate bool `protobuf:"varint,8,opt,name=syndicate,proto3" json:"syndicate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Event) Reset() { *x = Event{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Event) String() string { @@ -550,7 +521,7 @@ func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -623,21 +594,18 @@ func (x *Event) GetSyndicate() bool { // A feed of events, result from mi query. type EventFeed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The events in the feed - Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EventFeed) Reset() { *x = EventFeed{} - if protoimpl.UnsafeEnabled { - mi := &file_mi_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_mi_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EventFeed) String() string { @@ -648,7 +616,7 @@ func (*EventFeed) ProtoMessage() {} func (x *EventFeed) ProtoReflect() protoreflect.Message { mi := &file_mi_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,134 +640,73 @@ func (x *EventFeed) GetEvents() []*Event { var File_mi_proto protoreflect.FileDescriptor -var file_mi_proto_rawDesc = []byte{ - 0x0a, 0x08, 0x6d, 0x69, 0x2e, 0x70, 0x72, 0x6f, |
