Debian Codegraph @

go/types/v1/organization.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: types/v1/organization.proto
6
7 package typesv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type Organization struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
28 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
29 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
30 unknownFields protoimpl.UnknownFields
31 sizeCache protoimpl.SizeCache
32 }
33
34 func (x *Organization) Reset() {
35 *x = Organization{}
36 mi := &file_types_v1_organization_proto_msgTypes[0]
37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38 ms.StoreMessageInfo(mi)
39 }
40
41 func (x *Organization) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*Organization) ProtoMessage() {}
46
47 func (x *Organization) ProtoReflect() protoreflect.Message {
48 mi := &file_types_v1_organization_proto_msgTypes[0]
49 if x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59 // Deprecated: Use Organization.ProtoReflect.Descriptor instead.
60 func (*Organization) Descriptor() ([]byte, []int) {
61 return file_types_v1_organization_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *Organization) GetId() int64 {
65 if x != nil {
66 return x.Id
67 }
68 return 0
69 }
70
71 func (x *Organization) GetName() string {
72 if x != nil {
73 return x.Name
74 }
75 return ""
76 }
77
78 func (x *Organization) GetCreatedAt() *timestamppb.Timestamp {
79 if x != nil {
80 return x.CreatedAt
81 }
82 return nil
83 }
84
85 var File_types_v1_organization_proto protoreflect.FileDescriptor
86
87 var file_types_v1_organization_proto_rawDesc = string([]byte{
88 0x0a, 0x1b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e,
89 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74,
90 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
91 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
92 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61,
93 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
94 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
95 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a,
96 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
97 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
98 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72,
99 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x91, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e,
100 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69,
101 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67,
102 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c,
103 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65,
104 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54,
105 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08,
106 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73,
107 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
108 0x02, 0x09, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
109 0x74, 0x6f, 0x33,
110 })
111
112 var (
113 file_types_v1_organization_proto_rawDescOnce sync.Once
114 file_types_v1_organization_proto_rawDescData []byte
115 )
116
117 func file_types_v1_organization_proto_rawDescGZIP() []byte {
118 file_types_v1_organization_proto_rawDescOnce.Do(func() {
119 file_types_v1_organization_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_organization_proto_rawDesc), len(file_types_v1_organization_proto_rawDesc)))
120 })
121 return file_types_v1_organization_proto_rawDescData
122 }
123
124 var file_types_v1_organization_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
125 var file_types_v1_organization_proto_goTypes = []any{
126 (*Organization)(nil), // 0: types.v1.Organization
127 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
128 }
129 var file_types_v1_organization_proto_depIdxs = []int32{
130 1, // 0: types.v1.Organization.created_at:type_name -> google.protobuf.Timestamp
131 1, // [1:1] is the sub-list for method output_type
132 1, // [1:1] is the sub-list for method input_type
133 1, // [1:1] is the sub-list for extension type_name
134 1, // [1:1] is the sub-list for extension extendee
135 0, // [0:1] is the sub-list for field type_name
136 }
137
138 func init() { file_types_v1_organization_proto_init() }
139 func file_types_v1_organization_proto_init() {
140 if File_types_v1_organization_proto != nil {
141 return
142 }
143 type x struct{}
144 out := protoimpl.TypeBuilder{
145 File: protoimpl.DescBuilder{
146 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
147 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_organization_proto_rawDesc), len(file_types_v1_organization_proto_rawDesc)),
148 NumEnums: 0,
149 NumMessages: 1,
150 NumExtensions: 0,
151 NumServices: 0,
152 },
153 GoTypes: file_types_v1_organization_proto_goTypes,
154 DependencyIndexes: file_types_v1_organization_proto_depIdxs,
155 MessageInfos: file_types_v1_organization_proto_msgTypes,
156 }.Build()
157 File_types_v1_organization_proto = out.File
158 file_types_v1_organization_proto_goTypes = nil
159 file_types_v1_organization_proto_depIdxs = nil
160 }