// Code modified by go.wit.com/apps/autogenpb DO NOT EDIT. // // user defined Mutex locks were auto added // // autogenpb version & build time: v0.0.69-2-g626b737 2025-05-23_19:46:37_UTC // 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.33.0 // protoc v3.21.12 // source: bug.proto // protobufs for git-bug package bugpb // autogenpb changed the package name import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "google.golang.org/protobuf/types/known/anypb" ) 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 Bug struct { sync.RWMutex // auto-added by go.wit.com/apps/autogenpb state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } func (x *Bug) Reset() { *x = Bug{} if protoimpl.UnsafeEnabled { mi := &file_bug_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Bug) String() string { return protoimpl.X.MessageStringOf(x) } func (*Bug) ProtoMessage() {} func (x *Bug) ProtoReflect() protoreflect.Message { mi := &file_bug_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Bug.ProtoReflect.Descriptor instead. func (*Bug) Descriptor() ([]byte, []int) { return file_bug_proto_rawDescGZIP(), []int{0} } func (x *Bug) GetUuid() string { if x != nil { return x.Uuid } return "" } func (x *Bug) GetName() string { if x != nil { return x.Name } return "" } type Bugs struct { sync.RWMutex // auto-added by go.wit.com/apps/autogenpb state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // `autogenpb:uuid:cdf6711e-f948-4376-9e72-cf1912a96cee` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v1` Bugs []*Bug `protobuf:"bytes,3,rep,name=Bugs,proto3" json:"Bugs,omitempty"` // this never gets used, but it's not worth violating the autogenpb standard } func (x *Bugs) Reset() { *x = Bugs{} if protoimpl.UnsafeEnabled { mi := &file_bug_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Bugs) String() string { return protoimpl.X.MessageStringOf(x) } func (*Bugs) ProtoMessage() {} func (x *Bugs) ProtoReflect() protoreflect.Message { mi := &file_bug_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Bugs.ProtoReflect.Descriptor instead. func (*Bugs) Descriptor() ([]byte, []int) { return file_bug_proto_rawDescGZIP(), []int{1} } func (x *Bugs) GetUuid() string { if x != nil { return x.Uuid } return "" } func (x *Bugs) GetVersion() string { if x != nil { return x.Version } return "" } func (x *Bugs) GetBugs() []*Bug { if x != nil { return x.Bugs } return nil } var File_bug_proto protoreflect.FileDescriptor var file_bug_proto_rawDesc = []byte{ 0x0a, 0x09, 0x62, 0x75, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x62, 0x75, 0x67, 0x70, 0x62, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x03, 0x42, 0x75, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x04, 0x42, 0x75, 0x67, 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, 0x1e, 0x0a, 0x04, 0x42, 0x75, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x62, 0x75, 0x67, 0x70, 0x62, 0x2e, 0x42, 0x75, 0x67, 0x52, 0x04, 0x42, 0x75, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_bug_proto_rawDescOnce sync.Once file_bug_proto_rawDescData = file_bug_proto_rawDesc ) func file_bug_proto_rawDescGZIP() []byte { file_bug_proto_rawDescOnce.Do(func() { file_bug_proto_rawDescData = protoimpl.X.CompressGZIP(file_bug_proto_rawDescData) }) return file_bug_proto_rawDescData } var file_bug_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_bug_proto_goTypes = []interface{}{ (*Bug)(nil), // 0: bugpb.Bug (*Bugs)(nil), // 1: bugpb.Bugs } var file_bug_proto_depIdxs = []int32{ 0, // 0: bugpb.Bugs.Bugs:type_name -> bugpb.Bug 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_bug_proto_init() } func file_bug_proto_init() { if File_bug_proto != nil { return } if !protoimpl.UnsafeEnabled { file_bug_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Bug); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_bug_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Bugs); 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_bug_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_bug_proto_goTypes, DependencyIndexes: file_bug_proto_depIdxs, MessageInfos: file_bug_proto_msgTypes, }.Build() File_bug_proto = out.File file_bug_proto_rawDesc = nil file_bug_proto_goTypes = nil file_bug_proto_depIdxs = nil }