1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package genomics
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41 type CigarUnit_Operation int32
42
43 const (
44 CigarUnit_OPERATION_UNSPECIFIED CigarUnit_Operation = 0
45
46
47
48
49
50
51 CigarUnit_ALIGNMENT_MATCH CigarUnit_Operation = 1
52
53
54
55 CigarUnit_INSERT CigarUnit_Operation = 2
56
57
58
59 CigarUnit_DELETE CigarUnit_Operation = 3
60
61
62
63
64
65 CigarUnit_SKIP CigarUnit_Operation = 4
66
67
68
69
70
71 CigarUnit_CLIP_SOFT CigarUnit_Operation = 5
72
73
74
75
76
77 CigarUnit_CLIP_HARD CigarUnit_Operation = 6
78
79
80 CigarUnit_PAD CigarUnit_Operation = 7
81
82
83 CigarUnit_SEQUENCE_MATCH CigarUnit_Operation = 8
84
85
86
87
88 CigarUnit_SEQUENCE_MISMATCH CigarUnit_Operation = 9
89 )
90
91
92 var (
93 CigarUnit_Operation_name = map[int32]string{
94 0: "OPERATION_UNSPECIFIED",
95 1: "ALIGNMENT_MATCH",
96 2: "INSERT",
97 3: "DELETE",
98 4: "SKIP",
99 5: "CLIP_SOFT",
100 6: "CLIP_HARD",
101 7: "PAD",
102 8: "SEQUENCE_MATCH",
103 9: "SEQUENCE_MISMATCH",
104 }
105 CigarUnit_Operation_value = map[string]int32{
106 "OPERATION_UNSPECIFIED": 0,
107 "ALIGNMENT_MATCH": 1,
108 "INSERT": 2,
109 "DELETE": 3,
110 "SKIP": 4,
111 "CLIP_SOFT": 5,
112 "CLIP_HARD": 6,
113 "PAD": 7,
114 "SEQUENCE_MATCH": 8,
115 "SEQUENCE_MISMATCH": 9,
116 }
117 )
118
119 func (x CigarUnit_Operation) Enum() *CigarUnit_Operation {
120 p := new(CigarUnit_Operation)
121 *p = x
122 return p
123 }
124
125 func (x CigarUnit_Operation) String() string {
126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
127 }
128
129 func (CigarUnit_Operation) Descriptor() protoreflect.EnumDescriptor {
130 return file_google_genomics_v1_cigar_proto_enumTypes[0].Descriptor()
131 }
132
133 func (CigarUnit_Operation) Type() protoreflect.EnumType {
134 return &file_google_genomics_v1_cigar_proto_enumTypes[0]
135 }
136
137 func (x CigarUnit_Operation) Number() protoreflect.EnumNumber {
138 return protoreflect.EnumNumber(x)
139 }
140
141
142 func (CigarUnit_Operation) EnumDescriptor() ([]byte, []int) {
143 return file_google_genomics_v1_cigar_proto_rawDescGZIP(), []int{0, 0}
144 }
145
146
147 type CigarUnit struct {
148 state protoimpl.MessageState
149 sizeCache protoimpl.SizeCache
150 unknownFields protoimpl.UnknownFields
151
152 Operation CigarUnit_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=google.genomics.v1.CigarUnit_Operation" json:"operation,omitempty"`
153
154 OperationLength int64 `protobuf:"varint,2,opt,name=operation_length,json=operationLength,proto3" json:"operation_length,omitempty"`
155
156
157
158
159 ReferenceSequence string `protobuf:"bytes,3,opt,name=reference_sequence,json=referenceSequence,proto3" json:"reference_sequence,omitempty"`
160 }
161
162 func (x *CigarUnit) Reset() {
163 *x = CigarUnit{}
164 if protoimpl.UnsafeEnabled {
165 mi := &file_google_genomics_v1_cigar_proto_msgTypes[0]
166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
167 ms.StoreMessageInfo(mi)
168 }
169 }
170
171 func (x *CigarUnit) String() string {
172 return protoimpl.X.MessageStringOf(x)
173 }
174
175 func (*CigarUnit) ProtoMessage() {}
176
177 func (x *CigarUnit) ProtoReflect() protoreflect.Message {
178 mi := &file_google_genomics_v1_cigar_proto_msgTypes[0]
179 if protoimpl.UnsafeEnabled && x != nil {
180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
181 if ms.LoadMessageInfo() == nil {
182 ms.StoreMessageInfo(mi)
183 }
184 return ms
185 }
186 return mi.MessageOf(x)
187 }
188
189
190 func (*CigarUnit) Descriptor() ([]byte, []int) {
191 return file_google_genomics_v1_cigar_proto_rawDescGZIP(), []int{0}
192 }
193
194 func (x *CigarUnit) GetOperation() CigarUnit_Operation {
195 if x != nil {
196 return x.Operation
197 }
198 return CigarUnit_OPERATION_UNSPECIFIED
199 }
200
201 func (x *CigarUnit) GetOperationLength() int64 {
202 if x != nil {
203 return x.OperationLength
204 }
205 return 0
206 }
207
208 func (x *CigarUnit) GetReferenceSequence() string {
209 if x != nil {
210 return x.ReferenceSequence
211 }
212 return ""
213 }
214
215 var File_google_genomics_v1_cigar_proto protoreflect.FileDescriptor
216
217 var file_google_genomics_v1_cigar_proto_rawDesc = []byte{
218 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63,
219 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x69, 0x67, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
220 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63,
221 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
222 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
223 0x74, 0x6f, 0x22, 0xde, 0x02, 0x0a, 0x09, 0x43, 0x69, 0x67, 0x61, 0x72, 0x55, 0x6e, 0x69, 0x74,
224 0x12, 0x45, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
225 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e,
226 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x67, 0x61, 0x72, 0x55, 0x6e,
227 0x69, 0x74, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70,
228 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61,
229 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
230 0x03, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x6e, 0x67,
231 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f,
232 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,
233 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
234 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
235 0x19, 0x0a, 0x15, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53,
236 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x4c,
237 0x49, 0x47, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x01, 0x12,
238 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44,
239 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x4b, 0x49, 0x50, 0x10,
240 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x53, 0x4f, 0x46, 0x54, 0x10, 0x05,
241 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x48, 0x41, 0x52, 0x44, 0x10, 0x06, 0x12,
242 0x07, 0x0a, 0x03, 0x50, 0x41, 0x44, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, 0x51, 0x55,
243 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x08, 0x12, 0x15, 0x0a, 0x11,
244 0x53, 0x45, 0x51, 0x55, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43,
245 0x48, 0x10, 0x09, 0x42, 0x65, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
246 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x43,
247 0x69, 0x67, 0x61, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x6f, 0x6f,
248 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67,
249 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
250 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67,
251 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
252 0x6f, 0x33,
253 }
254
255 var (
256 file_google_genomics_v1_cigar_proto_rawDescOnce sync.Once
257 file_google_genomics_v1_cigar_proto_rawDescData = file_google_genomics_v1_cigar_proto_rawDesc
258 )
259
260 func file_google_genomics_v1_cigar_proto_rawDescGZIP() []byte {
261 file_google_genomics_v1_cigar_proto_rawDescOnce.Do(func() {
262 file_google_genomics_v1_cigar_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_genomics_v1_cigar_proto_rawDescData)
263 })
264 return file_google_genomics_v1_cigar_proto_rawDescData
265 }
266
267 var file_google_genomics_v1_cigar_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
268 var file_google_genomics_v1_cigar_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
269 var file_google_genomics_v1_cigar_proto_goTypes = []interface{}{
270 (CigarUnit_Operation)(0),
271 (*CigarUnit)(nil),
272 }
273 var file_google_genomics_v1_cigar_proto_depIdxs = []int32{
274 0,
275 1,
276 1,
277 1,
278 1,
279 0,
280 }
281
282 func init() { file_google_genomics_v1_cigar_proto_init() }
283 func file_google_genomics_v1_cigar_proto_init() {
284 if File_google_genomics_v1_cigar_proto != nil {
285 return
286 }
287 if !protoimpl.UnsafeEnabled {
288 file_google_genomics_v1_cigar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
289 switch v := v.(*CigarUnit); i {
290 case 0:
291 return &v.state
292 case 1:
293 return &v.sizeCache
294 case 2:
295 return &v.unknownFields
296 default:
297 return nil
298 }
299 }
300 }
301 type x struct{}
302 out := protoimpl.TypeBuilder{
303 File: protoimpl.DescBuilder{
304 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
305 RawDescriptor: file_google_genomics_v1_cigar_proto_rawDesc,
306 NumEnums: 1,
307 NumMessages: 1,
308 NumExtensions: 0,
309 NumServices: 0,
310 },
311 GoTypes: file_google_genomics_v1_cigar_proto_goTypes,
312 DependencyIndexes: file_google_genomics_v1_cigar_proto_depIdxs,
313 EnumInfos: file_google_genomics_v1_cigar_proto_enumTypes,
314 MessageInfos: file_google_genomics_v1_cigar_proto_msgTypes,
315 }.Build()
316 File_google_genomics_v1_cigar_proto = out.File
317 file_google_genomics_v1_cigar_proto_rawDesc = nil
318 file_google_genomics_v1_cigar_proto_goTypes = nil
319 file_google_genomics_v1_cigar_proto_depIdxs = nil
320 }
321
View as plain text