Debian Codegraph @

googleapis/genomics/v1/readgroupset.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/genomics/v1/readgroupset.proto
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 structpb "google.golang.org/protobuf/types/known/structpb"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // A read group set is a logical collection of read groups, which are
41 // collections of reads produced by a sequencer. A read group set typically
42 // models reads corresponding to one sample, sequenced one way, and aligned one
43 // way.
44 //
45 // * A read group set belongs to one dataset.
46 // * A read group belongs to one read group set.
47 // * A read belongs to one read group.
48 //
49 // For more genomics resource definitions, see [Fundamentals of Google
50 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
51 type ReadGroupSet struct {
52 state protoimpl.MessageState
53 sizeCache protoimpl.SizeCache
54 unknownFields protoimpl.UnknownFields
55
56 // The server-generated read group set ID, unique for all read group sets.
57 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
58 // The dataset to which this read group set belongs.
59 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
60 // The reference set to which the reads in this read group set are aligned.
61 ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"`
62 // The read group set name. By default this will be initialized to the sample
63 // name of the sequenced data contained in this set.
64 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
65 // The filename of the original source file for this read group set, if any.
66 Filename string `protobuf:"bytes,5,opt,name=filename,proto3" json:"filename,omitempty"`
67 // The read groups in this set. There are typically 1-10 read groups in a read
68 // group set.
69 ReadGroups []*ReadGroup `protobuf:"bytes,6,rep,name=read_groups,json=readGroups,proto3" json:"read_groups,omitempty"`
70 // A map of additional read group set information.
71 Info map[string]*structpb.ListValue `protobuf:"bytes,7,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
72 }
73
74 func (x *ReadGroupSet) Reset() {
75 *x = ReadGroupSet{}
76 if protoimpl.UnsafeEnabled {
77 mi := &file_google_genomics_v1_readgroupset_proto_msgTypes[0]
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 ms.StoreMessageInfo(mi)
80 }
81 }
82
83 func (x *ReadGroupSet) String() string {
84 return protoimpl.X.MessageStringOf(x)
85 }
86
87 func (*ReadGroupSet) ProtoMessage() {}
88
89 func (x *ReadGroupSet) ProtoReflect() protoreflect.Message {
90 mi := &file_google_genomics_v1_readgroupset_proto_msgTypes[0]
91 if protoimpl.UnsafeEnabled && x != nil {
92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93 if ms.LoadMessageInfo() == nil {
94 ms.StoreMessageInfo(mi)
95 }
96 return ms
97 }
98 return mi.MessageOf(x)
99 }
100
101 // Deprecated: Use ReadGroupSet.ProtoReflect.Descriptor instead.
102 func (*ReadGroupSet) Descriptor() ([]byte, []int) {
103 return file_google_genomics_v1_readgroupset_proto_rawDescGZIP(), []int{0}
104 }
105
106 func (x *ReadGroupSet) GetId() string {
107 if x != nil {
108 return x.Id
109 }
110 return ""
111 }
112
113 func (x *ReadGroupSet) GetDatasetId() string {
114 if x != nil {
115 return x.DatasetId
116 }
117 return ""
118 }
119
120 func (x *ReadGroupSet) GetReferenceSetId() string {
121 if x != nil {
122 return x.ReferenceSetId
123 }
124 return ""
125 }
126
127 func (x *ReadGroupSet) GetName() string {
128 if x != nil {
129 return x.Name
130 }
131 return ""
132 }
133
134 func (x *ReadGroupSet) GetFilename() string {
135 if x != nil {
136 return x.Filename
137 }
138 return ""
139 }
140
141 func (x *ReadGroupSet) GetReadGroups() []*ReadGroup {
142 if x != nil {
143 return x.ReadGroups
144 }
145 return nil
146 }
147
148 func (x *ReadGroupSet) GetInfo() map[string]*structpb.ListValue {
149 if x != nil {
150 return x.Info
151 }
152 return nil
153 }
154
155 var File_google_genomics_v1_readgroupset_proto protoreflect.FileDescriptor
156
157 var file_google_genomics_v1_readgroupset_proto_rawDesc = []byte{
158 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63,
159 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x65,
160 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
161 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
162 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
163 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
164 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65,
165 0x61, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
166 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73,
167 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x02, 0x0a, 0x0c,
168 0x52, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02,
169 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
170 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
171 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x72,
172 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
173 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
174 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20,
175 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c,
176 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c,
177 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x67, 0x72,
178 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
179 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e,
180 0x52, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x47,
181 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20,
182 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e,
183 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f,
184 0x75, 0x70, 0x53, 0x65, 0x74, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
185 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x53, 0x0a, 0x09, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74,
186 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
187 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
188 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
189 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
190 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x6c, 0x0a, 0x16, 0x63, 0x6f,
191 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63,
192 0x73, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x52, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53,
193 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
194 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
195 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
196 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e,
197 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
198 }
199
200 var (
201 file_google_genomics_v1_readgroupset_proto_rawDescOnce sync.Once
202 file_google_genomics_v1_readgroupset_proto_rawDescData = file_google_genomics_v1_readgroupset_proto_rawDesc
203 )
204
205 func file_google_genomics_v1_readgroupset_proto_rawDescGZIP() []byte {
206 file_google_genomics_v1_readgroupset_proto_rawDescOnce.Do(func() {
207 file_google_genomics_v1_readgroupset_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_genomics_v1_readgroupset_proto_rawDescData)
208 })
209 return file_google_genomics_v1_readgroupset_proto_rawDescData
210 }
211
212 var file_google_genomics_v1_readgroupset_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
213 var file_google_genomics_v1_readgroupset_proto_goTypes = []interface{}{
214 (*ReadGroupSet)(nil), // 0: google.genomics.v1.ReadGroupSet
215 nil, // 1: google.genomics.v1.ReadGroupSet.InfoEntry
216 (*ReadGroup)(nil), // 2: google.genomics.v1.ReadGroup
217 (*structpb.ListValue)(nil), // 3: google.protobuf.ListValue
218 }
219 var file_google_genomics_v1_readgroupset_proto_depIdxs = []int32{
220 2, // 0: google.genomics.v1.ReadGroupSet.read_groups:type_name -> google.genomics.v1.ReadGroup
221 1, // 1: google.genomics.v1.ReadGroupSet.info:type_name -> google.genomics.v1.ReadGroupSet.InfoEntry
222 3, // 2: google.genomics.v1.ReadGroupSet.InfoEntry.value:type_name -> google.protobuf.ListValue
223 3, // [3:3] is the sub-list for method output_type
224 3, // [3:3] is the sub-list for method input_type
225 3, // [3:3] is the sub-list for extension type_name
226 3, // [3:3] is the sub-list for extension extendee
227 0, // [0:3] is the sub-list for field type_name
228 }
229
230 func init() { file_google_genomics_v1_readgroupset_proto_init() }
231 func file_google_genomics_v1_readgroupset_proto_init() {
232 if File_google_genomics_v1_readgroupset_proto != nil {
233 return
234 }
235 file_google_genomics_v1_readgroup_proto_init()
236 if !protoimpl.UnsafeEnabled {
237 file_google_genomics_v1_readgroupset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
238 switch v := v.(*ReadGroupSet); i {
239 case 0:
240 return &v.state
241 case 1:
242 return &v.sizeCache
243 case 2:
244 return &v.unknownFields
245 default:
246 return nil
247 }
248 }
249 }
250 type x struct{}
251 out := protoimpl.TypeBuilder{
252 File: protoimpl.DescBuilder{
253 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
254 RawDescriptor: file_google_genomics_v1_readgroupset_proto_rawDesc,
255 NumEnums: 0,
256 NumMessages: 2,
257 NumExtensions: 0,
258 NumServices: 0,
259 },
260 GoTypes: file_google_genomics_v1_readgroupset_proto_goTypes,
261 DependencyIndexes: file_google_genomics_v1_readgroupset_proto_depIdxs,
262 MessageInfos: file_google_genomics_v1_readgroupset_proto_msgTypes,
263 }.Build()
264 File_google_genomics_v1_readgroupset_proto = out.File
265 file_google_genomics_v1_readgroupset_proto_rawDesc = nil
266 file_google_genomics_v1_readgroupset_proto_goTypes = nil
267 file_google_genomics_v1_readgroupset_proto_depIdxs = nil
268 }