diff --git a/47d6c9340ec6eecd0d67a9a071f7d80b6870f260 b/47d6c9340ec6eecd0d67a9a071f7d80b6870f260 index 06ac1e7..f5df5e9 100644 --- a/47d6c9340ec6eecd0d67a9a071f7d80b6870f260 +++ b/47d6c9340ec6eecd0d67a9a071f7d80b6870f260 @@ -42,3 +42,257 @@ gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA= gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= // `autogen:apple.pb.go` + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2-devel +// protoc v3.21.12 +// source: apple.proto + +// experiment to identify .pb files incase things go sideways + +package autogenpb + +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 Apple struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // `autogenpb:unique` // generates SortByName() functions + Genus string `protobuf:"bytes,2,opt,name=genus,proto3" json:"genus,omitempty"` // `autogenpb:unique` // generates SortByGenus() functions +} + +func (x *Apple) Reset() { + *x = Apple{} + mi := &file_apple_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Apple) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Apple) ProtoMessage() {} + +func (x *Apple) ProtoReflect() protoreflect.Message { + mi := &file_apple_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 Apple.ProtoReflect.Descriptor instead. +func (*Apple) Descriptor() ([]byte, []int) { + return file_apple_proto_rawDescGZIP(), []int{0} +} + +func (x *Apple) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Apple) GetGenus() string { + if x != nil { + return x.Genus + } + return "" +} + +// autogenpb:no-sort // means don't generate sort functions +type Apples struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // could be useful for /usr/share/file/magic someday? + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // could be used for protobuf schema change violations? +} + +func (x *Apples) Reset() { + *x = Apples{} + mi := &file_apple_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Apples) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Apples) ProtoMessage() {} + +func (x *Apples) ProtoReflect() protoreflect.Message { + mi := &file_apple_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 Apples.ProtoReflect.Descriptor instead. +func (*Apples) Descriptor() ([]byte, []int) { + return file_apple_proto_rawDescGZIP(), []int{1} +} + +func (x *Apples) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *Apples) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +// `autogenpb:no-sort autogenpb:no-marshal` // means don't generate sort functions +type Pears struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // could be useful for /usr/share/file/magic someday? + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // could be used for protobuf schema change violations? +} + +func (x *Pears) Reset() { + *x = Pears{} + mi := &file_apple_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Pears) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Pears) ProtoMessage() {} + +func (x *Pears) ProtoReflect() protoreflect.Message { + mi := &file_apple_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 Pears.ProtoReflect.Descriptor instead. +func (*Pears) Descriptor() ([]byte, []int) { + return file_apple_proto_rawDescGZIP(), []int{2} +} + +func (x *Pears) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *Pears) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +var File_apple_proto protoreflect.FileDescriptor + +var file_apple_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61, + 0x75, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x70, 0x62, 0x22, 0x31, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x6c, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x65, 0x6e, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x65, 0x6e, 0x75, 0x73, 0x22, 0x36, 0x0a, 0x06, 0x41, + 0x70, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x05, 0x50, 0x65, 0x61, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_apple_proto_rawDescOnce sync.Once + file_apple_proto_rawDescData = file_apple_proto_rawDesc +) + +func file_apple_proto_rawDescGZIP() []byte { + file_apple_proto_rawDescOnce.Do(func() { + file_apple_proto_rawDescData = protoimpl.X.CompressGZIP(file_apple_proto_rawDescData) + }) + return file_apple_proto_rawDescData +} + +var file_apple_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_apple_proto_goTypes = []any{ + (*Apple)(nil), // 0: autogenpb.Apple + (*Apples)(nil), // 1: autogenpb.Apples + (*Pears)(nil), // 2: autogenpb.Pears +} +var file_apple_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_apple_proto_init() } +func file_apple_proto_init() { + if File_apple_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_apple_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_apple_proto_goTypes, + DependencyIndexes: file_apple_proto_depIdxs, + MessageInfos: file_apple_proto_msgTypes, + }.Build() + File_apple_proto = out.File + file_apple_proto_rawDesc = nil + file_apple_proto_goTypes = nil + file_apple_proto_depIdxs = nil +}