Debian Codegraph @

go/types/v1/version.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/version.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 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type Version struct {
25 state protoimpl.MessageState `protogen:"open.v1"`
26 Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
27 Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
28 Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
29 Prereleases []string `protobuf:"bytes,4,rep,name=prereleases,proto3" json:"prereleases,omitempty"`
30 Build string `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"`
31 unknownFields protoimpl.UnknownFields
32 sizeCache protoimpl.SizeCache
33 }
34
35 func (x *Version) Reset() {
36 *x = Version{}
37 mi := &file_types_v1_version_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41
42 func (x *Version) String() string {
43 return protoimpl.X.MessageStringOf(x)
44 }
45
46 func (*Version) ProtoMessage() {}
47
48 func (x *Version) ProtoReflect() protoreflect.Message {
49 mi := &file_types_v1_version_proto_msgTypes[0]
50 if x != nil {
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 if ms.LoadMessageInfo() == nil {
53 ms.StoreMessageInfo(mi)
54 }
55 return ms
56 }
57 return mi.MessageOf(x)
58 }
59
60 // Deprecated: Use Version.ProtoReflect.Descriptor instead.
61 func (*Version) Descriptor() ([]byte, []int) {
62 return file_types_v1_version_proto_rawDescGZIP(), []int{0}
63 }
64
65 func (x *Version) GetMajor() int32 {
66 if x != nil {
67 return x.Major
68 }
69 return 0
70 }
71
72 func (x *Version) GetMinor() int32 {
73 if x != nil {
74 return x.Minor
75 }
76 return 0
77 }
78
79 func (x *Version) GetPatch() int32 {
80 if x != nil {
81 return x.Patch
82 }
83 return 0
84 }
85
86 func (x *Version) GetPrereleases() []string {
87 if x != nil {
88 return x.Prereleases
89 }
90 return nil
91 }
92
93 func (x *Version) GetBuild() string {
94 if x != nil {
95 return x.Build
96 }
97 return ""
98 }
99
100 var File_types_v1_version_proto protoreflect.FileDescriptor
101
102 var file_types_v1_version_proto_rawDesc = string([]byte{
103 0x0a, 0x16, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69,
104 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
105 0x76, 0x31, 0x22, 0x83, 0x01, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
106 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d,
107 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20,
108 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
109 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
110 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x18,
111 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
112 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
113 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x8c, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d,
114 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69,
115 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75,
116 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f,
117 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31,
118 0x3b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02,
119 0x08, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x08, 0x54, 0x79, 0x70, 0x65,
120 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x14, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c,
121 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x54, 0x79,
122 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
123 })
124
125 var (
126 file_types_v1_version_proto_rawDescOnce sync.Once
127 file_types_v1_version_proto_rawDescData []byte
128 )
129
130 func file_types_v1_version_proto_rawDescGZIP() []byte {
131 file_types_v1_version_proto_rawDescOnce.Do(func() {
132 file_types_v1_version_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_types_v1_version_proto_rawDesc), len(file_types_v1_version_proto_rawDesc)))
133 })
134 return file_types_v1_version_proto_rawDescData
135 }
136
137 var file_types_v1_version_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
138 var file_types_v1_version_proto_goTypes = []any{
139 (*Version)(nil), // 0: types.v1.Version
140 }
141 var file_types_v1_version_proto_depIdxs = []int32{
142 0, // [0:0] is the sub-list for method output_type
143 0, // [0:0] is the sub-list for method input_type
144 0, // [0:0] is the sub-list for extension type_name
145 0, // [0:0] is the sub-list for extension extendee
146 0, // [0:0] is the sub-list for field type_name
147 }
148
149 func init() { file_types_v1_version_proto_init() }
150 func file_types_v1_version_proto_init() {
151 if File_types_v1_version_proto != nil {
152 return
153 }
154 type x struct{}
155 out := protoimpl.TypeBuilder{
156 File: protoimpl.DescBuilder{
157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
158 RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_version_proto_rawDesc), len(file_types_v1_version_proto_rawDesc)),
159 NumEnums: 0,
160 NumMessages: 1,
161 NumExtensions: 0,
162 NumServices: 0,
163 },
164 GoTypes: file_types_v1_version_proto_goTypes,
165 DependencyIndexes: file_types_v1_version_proto_depIdxs,
166 MessageInfos: file_types_v1_version_proto_msgTypes,
167 }.Build()
168 File_types_v1_version_proto = out.File
169 file_types_v1_version_proto_goTypes = nil
170 file_types_v1_version_proto_depIdxs = nil
171 }