diff --git a/bbd567092a6a6c3c136ee09b82525b2a15311256 b/bbd567092a6a6c3c136ee09b82525b2a15311256 index b1e6f99..d5d7964 100644 --- a/bbd567092a6a6c3c136ee09b82525b2a15311256 +++ b/bbd567092a6a6c3c136ee09b82525b2a15311256 @@ -1059,3 +1059,257 @@ func (x *GitTags) AppendByHash(y *GitTag) bool { package gitpb // `autogen:goDep.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.49-2-g9a0e4a6 2025.02.01_0732 +// 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: goDep.proto + +// store go dependancies + +package gitpb // autogenpb changed the package name + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" +) + +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 GoDep struct { + // sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex` + + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // `autogenpb:unique` `autogenpb:sort` // md5sum/hash value from the go.sum file + Ctime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` // get the go date from 'go list' ? + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // v1.2.2 + GoPath string `protobuf:"bytes,4,opt,name=goPath,proto3" json:"goPath,omitempty"` // `autogenpb:unique` `autogenpb:sort` // "go.wit.com/lib/foo" + GoVersion string `protobuf:"bytes,5,opt,name=goVersion,proto3" json:"goVersion,omitempty"` // version of golang the developer used to make this package version +} + +func (x *GoDep) Reset() { + *x = GoDep{} + mi := &file_goDep_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GoDep) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GoDep) ProtoMessage() {} + +func (x *GoDep) ProtoReflect() protoreflect.Message { + mi := &file_goDep_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 GoDep.ProtoReflect.Descriptor instead. +func (*GoDep) Descriptor() ([]byte, []int) { + return file_goDep_proto_rawDescGZIP(), []int{0} +} + +func (x *GoDep) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *GoDep) GetCtime() *timestamppb.Timestamp { + if x != nil { + return x.Ctime + } + return nil +} + +func (x *GoDep) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *GoDep) GetGoPath() string { + if x != nil { + return x.GoPath + } + return "" +} + +func (x *GoDep) GetGoVersion() string { + if x != nil { + return x.GoVersion + } + return "" +} + +type GoDeps struct { + // sync.RWMutex // skipped. protobuf file has `autogenpb:nomutex` + + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:7de62c09-b335-4d80-902d-08552c501b7c` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.51` + GoDeps []*GoDep `protobuf:"bytes,3,rep,name=goDeps,proto3" json:"goDeps,omitempty"` // `autogenpb:unique` `autogenpb:sort` +} + +func (x *GoDeps) Reset() { + *x = GoDeps{} + mi := &file_goDep_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GoDeps) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GoDeps) ProtoMessage() {} + +func (x *GoDeps) ProtoReflect() protoreflect.Message { + mi := &file_goDep_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 GoDeps.ProtoReflect.Descriptor instead. +func (*GoDeps) Descriptor() ([]byte, []int) { + return file_goDep_proto_rawDescGZIP(), []int{1} +} + +func (x *GoDeps) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *GoDeps) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *GoDeps) GetGoDeps() []*GoDep { + if x != nil { + return x.GoDeps + } + return nil +} + +var File_goDep_proto protoreflect.FileDescriptor + +var file_goDep_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x67, 0x6f, 0x44, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x67, + 0x69, 0x74, 0x70, 0x62, 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, 0x9d, 0x01, 0x0a, 0x05, 0x47, 0x6f, 0x44, 0x65, 0x70, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, + 0x61, 0x73, 0x68, 0x12, 0x30, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 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, 0x05, + 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x16, 0x0a, 0x06, 0x67, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x67, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5c, 0x0a, 0x06, 0x47, 0x6f, 0x44, 0x65, 0x70, 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, 0x24, 0x0a, + 0x06, 0x67, 0x6f, 0x44, 0x65, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x67, 0x69, 0x74, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x44, 0x65, 0x70, 0x52, 0x06, 0x67, 0x6f, 0x44, + 0x65, 0x70, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_goDep_proto_rawDescOnce sync.Once + file_goDep_proto_rawDescData = file_goDep_proto_rawDesc +) + +func file_goDep_proto_rawDescGZIP() []byte { + file_goDep_proto_rawDescOnce.Do(func() { + file_goDep_proto_rawDescData = protoimpl.X.CompressGZIP(file_goDep_proto_rawDescData) + }) + return file_goDep_proto_rawDescData +} + +var file_goDep_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_goDep_proto_goTypes = []any{ + (*GoDep)(nil), // 0: gitpb.GoDep + (*GoDeps)(nil), // 1: gitpb.GoDeps + (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp +} +var file_goDep_proto_depIdxs = []int32{ + 2, // 0: gitpb.GoDep.ctime:type_name -> google.protobuf.Timestamp + 0, // 1: gitpb.GoDeps.goDeps:type_name -> gitpb.GoDep + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_goDep_proto_init() } +func file_goDep_proto_init() { + if File_goDep_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_goDep_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_goDep_proto_goTypes, + DependencyIndexes: file_goDep_proto_depIdxs, + MessageInfos: file_goDep_proto_msgTypes, + }.Build() + File_goDep_proto = out.File + file_goDep_proto_rawDesc = nil + file_goDep_proto_goTypes = nil + file_goDep_proto_depIdxs = nil +}