diff --git a/40c340c6267aa53164804aad6ed988183fc42d3f b/40c340c6267aa53164804aad6ed988183fc42d3f index 2f68a15..a3607e9 100644 --- a/40c340c6267aa53164804aad6ed988183fc42d3f +++ b/40c340c6267aa53164804aad6ed988183fc42d3f @@ -1332,3 +1332,212 @@ func (all *Uuids) Len() int { } // `autogen:uuid.pb.go` + +// Code modified by go.wit.com/apps/autogenpb DO NOT EDIT. +// +// user defined Mutex locks were auto added +// +// autogenpb version & build time: v0.0.37-30-g805d3cd 2025.01.09_2100 +// autogenpb auto generates Sort(), Unique() and Marshal() functions +// go install go.wit.com/apps/autogenpb@latest + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.2-devel +// protoc v3.21.12 +// source: uuid.proto + +// experiment to identify .pb files incase things go sideways + +package forgepb + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +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) +) + +// autogenpb:no-sort +type Uuid struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *Uuid) Reset() { + *x = Uuid{} + mi := &file_uuid_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Uuid) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Uuid) ProtoMessage() {} + +func (x *Uuid) ProtoReflect() protoreflect.Message { + mi := &file_uuid_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 Uuid.ProtoReflect.Descriptor instead. +func (*Uuid) Descriptor() ([]byte, []int) { + return file_uuid_proto_rawDescGZIP(), []int{0} +} + +func (x *Uuid) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// autogenpb:no-sort +type Uuids struct { + // Lock sync.RWMutex // autogenpb skipped this. needs --mutex command line arg + + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version` + Uuids []*Uuid `protobuf:"bytes,3,rep,name=Uuids,proto3" json:"Uuids,omitempty"` +} + +func (x *Uuids) Reset() { + *x = Uuids{} + mi := &file_uuid_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Uuids) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Uuids) ProtoMessage() {} + +func (x *Uuids) ProtoReflect() protoreflect.Message { + mi := &file_uuid_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 Uuids.ProtoReflect.Descriptor instead. +func (*Uuids) Descriptor() ([]byte, []int) { + return file_uuid_proto_rawDescGZIP(), []int{1} +} + +func (x *Uuids) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *Uuids) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *Uuids) GetUuids() []*Uuid { + if x != nil { + return x.Uuids + } + return nil +} + +var File_uuid_proto protoreflect.FileDescriptor + +var file_uuid_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x75, 0x75, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x66, 0x6f, + 0x72, 0x67, 0x65, 0x70, 0x62, 0x22, 0x1a, 0x0a, 0x04, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x5a, 0x0a, 0x05, 0x55, 0x75, 0x69, 0x64, 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, 0x12, 0x23, 0x0a, 0x05, 0x55, 0x75, 0x69, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x70, + 0x62, 0x2e, 0x55, 0x75, 0x69, 0x64, 0x52, 0x05, 0x55, 0x75, 0x69, 0x64, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_uuid_proto_rawDescOnce sync.Once + file_uuid_proto_rawDescData = file_uuid_proto_rawDesc +) + +func file_uuid_proto_rawDescGZIP() []byte { + file_uuid_proto_rawDescOnce.Do(func() { + file_uuid_proto_rawDescData = protoimpl.X.CompressGZIP(file_uuid_proto_rawDescData) + }) + return file_uuid_proto_rawDescData +} + +var file_uuid_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_uuid_proto_goTypes = []any{ + (*Uuid)(nil), // 0: forgepb.Uuid + (*Uuids)(nil), // 1: forgepb.Uuids +} +var file_uuid_proto_depIdxs = []int32{ + 0, // 0: forgepb.Uuids.Uuids:type_name -> forgepb.Uuid + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_uuid_proto_init() } +func file_uuid_proto_init() { + if File_uuid_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_uuid_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_uuid_proto_goTypes, + DependencyIndexes: file_uuid_proto_depIdxs, + MessageInfos: file_uuid_proto_msgTypes, + }.Build() + File_uuid_proto = out.File + file_uuid_proto_rawDesc = nil + file_uuid_proto_goTypes = nil + file_uuid_proto_depIdxs = nil +}