1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/genomics/v1/reads.proto
6 import proto "github.com/golang/protobuf/proto"
9 import _ "google.golang.org/genproto/googleapis/api/annotations"
10 import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
11 import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
12 import google_protobuf2 "google.golang.org/genproto/protobuf/field_mask"
15 context "golang.org/x/net/context"
16 grpc "google.golang.org/grpc"
19 // Reference imports to suppress errors if they are not otherwise used.
24 type ImportReadGroupSetsRequest_PartitionStrategy int32
27 ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED ImportReadGroupSetsRequest_PartitionStrategy = 0
28 // In most cases, this strategy yields one read group set per file. This is
29 // the default behavior.
31 // Allocate one read group set per file per sample. For BAM files, read
32 // groups are considered to share a sample if they have identical sample
33 // names. Furthermore, all reads for each file which do not belong to a read
34 // group, if any, will be grouped into a single read group set per-file.
35 ImportReadGroupSetsRequest_PER_FILE_PER_SAMPLE ImportReadGroupSetsRequest_PartitionStrategy = 1
36 // Includes all read groups in all imported files into a single read group
37 // set. Requires that the headers for all imported files are equivalent. All
38 // reads which do not belong to a read group, if any, will be grouped into a
39 // separate read group set.
40 ImportReadGroupSetsRequest_MERGE_ALL ImportReadGroupSetsRequest_PartitionStrategy = 2
43 var ImportReadGroupSetsRequest_PartitionStrategy_name = map[int32]string{
44 0: "PARTITION_STRATEGY_UNSPECIFIED",
45 1: "PER_FILE_PER_SAMPLE",
48 var ImportReadGroupSetsRequest_PartitionStrategy_value = map[string]int32{
49 "PARTITION_STRATEGY_UNSPECIFIED": 0,
50 "PER_FILE_PER_SAMPLE": 1,
54 func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string {
55 return proto.EnumName(ImportReadGroupSetsRequest_PartitionStrategy_name, int32(x))
57 func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int) {
58 return fileDescriptor9, []int{2, 0}
61 // The read group set search request.
62 type SearchReadGroupSetsRequest struct {
63 // Restricts this query to read group sets within the given datasets. At least
64 // one ID must be provided.
65 DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds" json:"dataset_ids,omitempty"`
66 // Only return read group sets for which a substring of the name matches this
68 Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
69 // The continuation token, which is used to page through large result sets.
70 // To get the next page of results, set this parameter to the value of
71 // `nextPageToken` from the previous response.
72 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
73 // The maximum number of results to return in a single page. If unspecified,
74 // defaults to 256. The maximum value is 1024.
75 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
78 func (m *SearchReadGroupSetsRequest) Reset() { *m = SearchReadGroupSetsRequest{} }
79 func (m *SearchReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
80 func (*SearchReadGroupSetsRequest) ProtoMessage() {}
81 func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
83 func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string {
90 func (m *SearchReadGroupSetsRequest) GetName() string {
97 func (m *SearchReadGroupSetsRequest) GetPageToken() string {
104 func (m *SearchReadGroupSetsRequest) GetPageSize() int32 {
111 // The read group set search response.
112 type SearchReadGroupSetsResponse struct {
113 // The list of matching read group sets.
114 ReadGroupSets []*ReadGroupSet `protobuf:"bytes,1,rep,name=read_group_sets,json=readGroupSets" json:"read_group_sets,omitempty"`
115 // The continuation token, which is used to page through large result sets.
116 // Provide this value in a subsequent request to return the next page of
117 // results. This field will be empty if there aren't any additional results.
118 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
121 func (m *SearchReadGroupSetsResponse) Reset() { *m = SearchReadGroupSetsResponse{} }
122 func (m *SearchReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
123 func (*SearchReadGroupSetsResponse) ProtoMessage() {}
124 func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
126 func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet {
128 return m.ReadGroupSets
133 func (m *SearchReadGroupSetsResponse) GetNextPageToken() string {
135 return m.NextPageToken
140 // The read group set import request.
141 type ImportReadGroupSetsRequest struct {
142 // Required. The ID of the dataset these read group sets will belong to. The
143 // caller must have WRITE permissions to this dataset.
144 DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"`
145 // The reference set to which the imported read group sets are aligned to, if
146 // any. The reference names of this reference set must be a superset of those
147 // found in the imported file headers. If no reference set id is provided, a
148 // best effort is made to associate with a matching reference set.
149 ReferenceSetId string `protobuf:"bytes,4,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"`
150 // A list of URIs pointing at [BAM
151 // files](https://samtools.github.io/hts-specs/SAMv1.pdf)
152 // in Google Cloud Storage.
153 // Those URIs can include wildcards (*), but do not add or remove
154 // matching files before import has completed.
156 // Note that Google Cloud Storage object listing is only eventually
157 // consistent: files added may be not be immediately visible to
158 // everyone. Thus, if using a wildcard it is preferable not to start
159 // the import immediately after the files are created.
160 SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"`
161 // The partition strategy describes how read groups are partitioned into read
163 PartitionStrategy ImportReadGroupSetsRequest_PartitionStrategy `protobuf:"varint,5,opt,name=partition_strategy,json=partitionStrategy,enum=google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy" json:"partition_strategy,omitempty"`
166 func (m *ImportReadGroupSetsRequest) Reset() { *m = ImportReadGroupSetsRequest{} }
167 func (m *ImportReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
168 func (*ImportReadGroupSetsRequest) ProtoMessage() {}
169 func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
171 func (m *ImportReadGroupSetsRequest) GetDatasetId() string {
178 func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string {
180 return m.ReferenceSetId
185 func (m *ImportReadGroupSetsRequest) GetSourceUris() []string {
192 func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy {
194 return m.PartitionStrategy
196 return ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED
199 // The read group set import response.
200 type ImportReadGroupSetsResponse struct {
201 // IDs of the read group sets that were created.
202 ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"`
205 func (m *ImportReadGroupSetsResponse) Reset() { *m = ImportReadGroupSetsResponse{} }
206 func (m *ImportReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
207 func (*ImportReadGroupSetsResponse) ProtoMessage() {}
208 func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
210 func (m *ImportReadGroupSetsResponse) GetReadGroupSetIds() []string {
212 return m.ReadGroupSetIds
217 // The read group set export request.
218 type ExportReadGroupSetRequest struct {
219 // Required. The Google Cloud project ID that owns this
220 // export. The caller must have WRITE access to this project.
221 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
222 // Required. A Google Cloud Storage URI for the exported BAM file.
223 // The currently authenticated user must have write access to the new file.
224 // An error will be returned if the URI already contains data.
225 ExportUri string `protobuf:"bytes,2,opt,name=export_uri,json=exportUri" json:"export_uri,omitempty"`
226 // Required. The ID of the read group set to export. The caller must have
227 // READ access to this read group set.
228 ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
229 // The reference names to export. If this is not specified, all reference
230 // sequences, including unmapped reads, are exported.
231 // Use `*` to export only unmapped reads.
232 ReferenceNames []string `protobuf:"bytes,4,rep,name=reference_names,json=referenceNames" json:"reference_names,omitempty"`
235 func (m *ExportReadGroupSetRequest) Reset() { *m = ExportReadGroupSetRequest{} }
236 func (m *ExportReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
237 func (*ExportReadGroupSetRequest) ProtoMessage() {}
238 func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
240 func (m *ExportReadGroupSetRequest) GetProjectId() string {
247 func (m *ExportReadGroupSetRequest) GetExportUri() string {
254 func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string {
256 return m.ReadGroupSetId
261 func (m *ExportReadGroupSetRequest) GetReferenceNames() []string {
263 return m.ReferenceNames
268 type UpdateReadGroupSetRequest struct {
269 // The ID of the read group set to be updated. The caller must have WRITE
270 // permissions to the dataset associated with this read group set.
271 ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
272 // The new read group set data. See `updateMask` for details on mutability of
274 ReadGroupSet *ReadGroupSet `protobuf:"bytes,2,opt,name=read_group_set,json=readGroupSet" json:"read_group_set,omitempty"`
275 // An optional mask specifying which fields to update. Supported fields:
277 // * [name][google.genomics.v1.ReadGroupSet.name].
278 // * [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id].
280 // Leaving `updateMask` unset is equivalent to specifying all mutable
282 UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
285 func (m *UpdateReadGroupSetRequest) Reset() { *m = UpdateReadGroupSetRequest{} }
286 func (m *UpdateReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
287 func (*UpdateReadGroupSetRequest) ProtoMessage() {}
288 func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
290 func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string {
292 return m.ReadGroupSetId
297 func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet {
299 return m.ReadGroupSet
304 func (m *UpdateReadGroupSetRequest) GetUpdateMask() *google_protobuf2.FieldMask {
311 type DeleteReadGroupSetRequest struct {
312 // The ID of the read group set to be deleted. The caller must have WRITE
313 // permissions to the dataset associated with this read group set.
314 ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
317 func (m *DeleteReadGroupSetRequest) Reset() { *m = DeleteReadGroupSetRequest{} }
318 func (m *DeleteReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
319 func (*DeleteReadGroupSetRequest) ProtoMessage() {}
320 func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
322 func (m *DeleteReadGroupSetRequest) GetReadGroupSetId() string {
324 return m.ReadGroupSetId
329 type GetReadGroupSetRequest struct {
330 // The ID of the read group set.
331 ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
334 func (m *GetReadGroupSetRequest) Reset() { *m = GetReadGroupSetRequest{} }
335 func (m *GetReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
336 func (*GetReadGroupSetRequest) ProtoMessage() {}
337 func (*GetReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
339 func (m *GetReadGroupSetRequest) GetReadGroupSetId() string {
341 return m.ReadGroupSetId
346 type ListCoverageBucketsRequest struct {
347 // Required. The ID of the read group set over which coverage is requested.
348 ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
349 // The name of the reference to query, within the reference set associated
350 // with this query. Optional.
351 ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
352 // The start position of the range on the reference, 0-based inclusive. If
353 // specified, `referenceName` must also be specified. Defaults to 0.
354 Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"`
355 // The end position of the range on the reference, 0-based exclusive. If
356 // specified, `referenceName` must also be specified. If unset or 0, defaults
357 // to the length of the reference.
358 End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"`
359 // The desired width of each reported coverage bucket in base pairs. This
360 // will be rounded down to the nearest precomputed bucket width; the value
361 // of which is returned as `bucketWidth` in the response. Defaults
362 // to infinity (each bucket spans an entire reference sequence) or the length
363 // of the target range, if specified. The smallest precomputed
364 // `bucketWidth` is currently 2048 base pairs; this is subject to
366 TargetBucketWidth int64 `protobuf:"varint,6,opt,name=target_bucket_width,json=targetBucketWidth" json:"target_bucket_width,omitempty"`
367 // The continuation token, which is used to page through large result sets.
368 // To get the next page of results, set this parameter to the value of
369 // `nextPageToken` from the previous response.
370 PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
371 // The maximum number of results to return in a single page. If unspecified,
372 // defaults to 1024. The maximum value is 2048.
373 PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
376 func (m *ListCoverageBucketsRequest) Reset() { *m = ListCoverageBucketsRequest{} }
377 func (m *ListCoverageBucketsRequest) String() string { return proto.CompactTextString(m) }
378 func (*ListCoverageBucketsRequest) ProtoMessage() {}
379 func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
381 func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string {
383 return m.ReadGroupSetId
388 func (m *ListCoverageBucketsRequest) GetReferenceName() string {
390 return m.ReferenceName
395 func (m *ListCoverageBucketsRequest) GetStart() int64 {
402 func (m *ListCoverageBucketsRequest) GetEnd() int64 {
409 func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64 {
411 return m.TargetBucketWidth
416 func (m *ListCoverageBucketsRequest) GetPageToken() string {
423 func (m *ListCoverageBucketsRequest) GetPageSize() int32 {
430 // A bucket over which read coverage has been precomputed. A bucket corresponds
431 // to a specific range of the reference sequence.
432 type CoverageBucket struct {
433 // The genomic coordinate range spanned by this bucket.
434 Range *Range `protobuf:"bytes,1,opt,name=range" json:"range,omitempty"`
435 // The average number of reads which are aligned to each individual
436 // reference base in this bucket.
437 MeanCoverage float32 `protobuf:"fixed32,2,opt,name=mean_coverage,json=meanCoverage" json:"mean_coverage,omitempty"`
440 func (m *CoverageBucket) Reset() { *m = CoverageBucket{} }
441 func (m *CoverageBucket) String() string { return proto.CompactTextString(m) }
442 func (*CoverageBucket) ProtoMessage() {}
443 func (*CoverageBucket) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
445 func (m *CoverageBucket) GetRange() *Range {
452 func (m *CoverageBucket) GetMeanCoverage() float32 {
454 return m.MeanCoverage
459 type ListCoverageBucketsResponse struct {
460 // The length of each coverage bucket in base pairs. Note that buckets at the
461 // end of a reference sequence may be shorter. This value is omitted if the
462 // bucket width is infinity (the default behaviour, with no range or
463 // `targetBucketWidth`).
464 BucketWidth int64 `protobuf:"varint,1,opt,name=bucket_width,json=bucketWidth" json:"bucket_width,omitempty"`
465 // The coverage buckets. The list of buckets is sparse; a bucket with 0
466 // overlapping reads is not returned. A bucket never crosses more than one
467 // reference sequence. Each bucket has width `bucketWidth`, unless
468 // its end is the end of the reference sequence.
469 CoverageBuckets []*CoverageBucket `protobuf:"bytes,2,rep,name=coverage_buckets,json=coverageBuckets" json:"coverage_buckets,omitempty"`
470 // The continuation token, which is used to page through large result sets.
471 // Provide this value in a subsequent request to return the next page of
472 // results. This field will be empty if there aren't any additional results.
473 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
476 func (m *ListCoverageBucketsResponse) Reset() { *m = ListCoverageBucketsResponse{} }
477 func (m *ListCoverageBucketsResponse) String() string { return proto.CompactTextString(m) }
478 func (*ListCoverageBucketsResponse) ProtoMessage() {}
479 func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{10} }
481 func (m *ListCoverageBucketsResponse) GetBucketWidth() int64 {
488 func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket {
490 return m.CoverageBuckets
495 func (m *ListCoverageBucketsResponse) GetNextPageToken() string {
497 return m.NextPageToken
502 // The read search request.
503 type SearchReadsRequest struct {
504 // The IDs of the read groups sets within which to search for reads. All
505 // specified read group sets must be aligned against a common set of reference
506 // sequences; this defines the genomic coordinates for the query. Must specify
507 // one of `readGroupSetIds` or `readGroupIds`.
508 ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"`
509 // The IDs of the read groups within which to search for reads. All specified
510 // read groups must belong to the same read group sets. Must specify one of
511 // `readGroupSetIds` or `readGroupIds`.
512 ReadGroupIds []string `protobuf:"bytes,5,rep,name=read_group_ids,json=readGroupIds" json:"read_group_ids,omitempty"`
513 // The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
514 // `*`, only unmapped reads are returned. If unspecified, all reads (mapped
515 // and unmapped) are returned.
516 ReferenceName string `protobuf:"bytes,7,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
517 // The start position of the range on the reference, 0-based inclusive. If
518 // specified, `referenceName` must also be specified.
519 Start int64 `protobuf:"varint,8,opt,name=start" json:"start,omitempty"`
520 // The end position of the range on the reference, 0-based exclusive. If
521 // specified, `referenceName` must also be specified.
522 End int64 `protobuf:"varint,9,opt,name=end" json:"end,omitempty"`
523 // The continuation token, which is used to page through large result sets.
524 // To get the next page of results, set this parameter to the value of
525 // `nextPageToken` from the previous response.
526 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
527 // The maximum number of results to return in a single page. If unspecified,
528 // defaults to 256. The maximum value is 2048.
529 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
532 func (m *SearchReadsRequest) Reset() { *m = SearchReadsRequest{} }
533 func (m *SearchReadsRequest) String() string { return proto.CompactTextString(m) }
534 func (*SearchReadsRequest) ProtoMessage() {}
535 func (*SearchReadsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{11} }
537 func (m *SearchReadsRequest) GetReadGroupSetIds() []string {
539 return m.ReadGroupSetIds
544 func (m *SearchReadsRequest) GetReadGroupIds() []string {
546 return m.ReadGroupIds
551 func (m *SearchReadsRequest) GetReferenceName() string {
553 return m.ReferenceName
558 func (m *SearchReadsRequest) GetStart() int64 {
565 func (m *SearchReadsRequest) GetEnd() int64 {
572 func (m *SearchReadsRequest) GetPageToken() string {
579 func (m *SearchReadsRequest) GetPageSize() int32 {
586 // The read search response.
587 type SearchReadsResponse struct {
588 // The list of matching alignments sorted by mapped genomic coordinate,
589 // if any, ascending in position within the same reference. Unmapped reads,
590 // which have no position, are returned contiguously and are sorted in
591 // ascending lexicographic order by fragment name.
592 Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"`
593 // The continuation token, which is used to page through large result sets.
594 // Provide this value in a subsequent request to return the next page of
595 // results. This field will be empty if there aren't any additional results.
596 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
599 func (m *SearchReadsResponse) Reset() { *m = SearchReadsResponse{} }
600 func (m *SearchReadsResponse) String() string { return proto.CompactTextString(m) }
601 func (*SearchReadsResponse) ProtoMessage() {}
602 func (*SearchReadsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{12} }
604 func (m *SearchReadsResponse) GetAlignments() []*Read {
611 func (m *SearchReadsResponse) GetNextPageToken() string {
613 return m.NextPageToken
618 // The stream reads request.
619 type StreamReadsRequest struct {
620 // The Google Cloud project ID which will be billed
621 // for this access. The caller must have WRITE access to this project.
623 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
624 // The ID of the read group set from which to stream reads.
625 ReadGroupSetId string `protobuf:"bytes,2,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
626 // The reference sequence name, for example `chr1`,
627 // `1`, or `chrX`. If set to *, only unmapped reads are
629 ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
630 // The start position of the range on the reference, 0-based inclusive. If
631 // specified, `referenceName` must also be specified.
632 Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"`
633 // The end position of the range on the reference, 0-based exclusive. If
634 // specified, `referenceName` must also be specified.
635 End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"`
636 // Restricts results to a shard containing approximately `1/totalShards`
637 // of the normal response payload for this query. Results from a sharded
638 // request are disjoint from those returned by all queries which differ only
639 // in their shard parameter. A shard may yield 0 results; this is especially
640 // likely for large values of `totalShards`.
642 // Valid values are `[0, totalShards)`.
643 Shard int32 `protobuf:"varint,6,opt,name=shard" json:"shard,omitempty"`
644 // Specifying `totalShards` causes a disjoint subset of the normal response
645 // payload to be returned for each query with a unique `shard` parameter
646 // specified. A best effort is made to yield equally sized shards. Sharding
647 // can be used to distribute processing amongst workers, where each worker is
648 // assigned a unique `shard` number and all workers specify the same
649 // `totalShards` number. The union of reads returned for all sharded queries
650 // `[0, totalShards)` is equal to those returned by a single unsharded query.
652 // Queries for different values of `totalShards` with common divisors will
653 // share shard boundaries. For example, streaming `shard` 2 of 5
654 // `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10
655 // `totalShards`. This property can be leveraged for adaptive retries.
656 TotalShards int32 `protobuf:"varint,7,opt,name=total_shards,json=totalShards" json:"total_shards,omitempty"`
659 func (m *StreamReadsRequest) Reset() { *m = StreamReadsRequest{} }
660 func (m *StreamReadsRequest) String() string { return proto.CompactTextString(m) }
661 func (*StreamReadsRequest) ProtoMessage() {}
662 func (*StreamReadsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{13} }
664 func (m *StreamReadsRequest) GetProjectId() string {
671 func (m *StreamReadsRequest) GetReadGroupSetId() string {
673 return m.ReadGroupSetId
678 func (m *StreamReadsRequest) GetReferenceName() string {
680 return m.ReferenceName
685 func (m *StreamReadsRequest) GetStart() int64 {
692 func (m *StreamReadsRequest) GetEnd() int64 {
699 func (m *StreamReadsRequest) GetShard() int32 {
706 func (m *StreamReadsRequest) GetTotalShards() int32 {
713 type StreamReadsResponse struct {
714 Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"`
717 func (m *StreamReadsResponse) Reset() { *m = StreamReadsResponse{} }
718 func (m *StreamReadsResponse) String() string { return proto.CompactTextString(m) }
719 func (*StreamReadsResponse) ProtoMessage() {}
720 func (*StreamReadsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{14} }
722 func (m *StreamReadsResponse) GetAlignments() []*Read {
730 proto.RegisterType((*SearchReadGroupSetsRequest)(nil), "google.genomics.v1.SearchReadGroupSetsRequest")
731 proto.RegisterType((*SearchReadGroupSetsResponse)(nil), "google.genomics.v1.SearchReadGroupSetsResponse")
732 proto.RegisterType((*ImportReadGroupSetsRequest)(nil), "google.genomics.v1.ImportReadGroupSetsRequest")
733 proto.RegisterType((*ImportReadGroupSetsResponse)(nil), "google.genomics.v1.ImportReadGroupSetsResponse")
734 proto.RegisterType((*ExportReadGroupSetRequest)(nil), "google.genomics.v1.ExportReadGroupSetRequest")
735 proto.RegisterType((*UpdateReadGroupSetRequest)(nil), "google.genomics.v1.UpdateReadGroupSetRequest")
736 proto.RegisterType((*DeleteReadGroupSetRequest)(nil), "google.genomics.v1.DeleteReadGroupSetRequest")
737 proto.RegisterType((*GetReadGroupSetRequest)(nil), "google.genomics.v1.GetReadGroupSetRequest")
738 proto.RegisterType((*ListCoverageBucketsRequest)(nil), "google.genomics.v1.ListCoverageBucketsRequest")
739 proto.RegisterType((*CoverageBucket)(nil), "google.genomics.v1.CoverageBucket")
740 proto.RegisterType((*ListCoverageBucketsResponse)(nil), "google.genomics.v1.ListCoverageBucketsResponse")
741 proto.RegisterType((*SearchReadsRequest)(nil), "google.genomics.v1.SearchReadsRequest")
742 proto.RegisterType((*SearchReadsResponse)(nil), "google.genomics.v1.SearchReadsResponse")
743 proto.RegisterType((*StreamReadsRequest)(nil), "google.genomics.v1.StreamReadsRequest")
744 proto.RegisterType((*StreamReadsResponse)(nil), "google.genomics.v1.StreamReadsResponse")
745 proto.RegisterEnum("google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy", ImportReadGroupSetsRequest_PartitionStrategy_name, ImportReadGroupSetsRequest_PartitionStrategy_value)
748 // Reference imports to suppress errors if they are not otherwise used.
749 var _ context.Context
750 var _ grpc.ClientConn
752 // This is a compile-time assertion to ensure that this generated file
753 // is compatible with the grpc package it is being compiled against.
754 const _ = grpc.SupportPackageIsVersion4
756 // Client API for StreamingReadService service
758 type StreamingReadServiceClient interface {
759 // Returns a stream of all the reads matching the search request, ordered
760 // by reference name, position, and ID.
761 StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error)
764 type streamingReadServiceClient struct {
768 func NewStreamingReadServiceClient(cc *grpc.ClientConn) StreamingReadServiceClient {
769 return &streamingReadServiceClient{cc}
772 func (c *streamingReadServiceClient) StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) {
773 stream, err := grpc.NewClientStream(ctx, &_StreamingReadService_serviceDesc.Streams[0], c.cc, "/google.genomics.v1.StreamingReadService/StreamReads", opts...)
777 x := &streamingReadServiceStreamReadsClient{stream}
778 if err := x.ClientStream.SendMsg(in); err != nil {
781 if err := x.ClientStream.CloseSend(); err != nil {
787 type StreamingReadService_StreamReadsClient interface {
788 Recv() (*StreamReadsResponse, error)
792 type streamingReadServiceStreamReadsClient struct {
796 func (x *streamingReadServiceStreamReadsClient) Recv() (*StreamReadsResponse, error) {
797 m := new(StreamReadsResponse)
798 if err := x.ClientStream.RecvMsg(m); err != nil {
804 // Server API for StreamingReadService service
806 type StreamingReadServiceServer interface {
807 // Returns a stream of all the reads matching the search request, ordered
808 // by reference name, position, and ID.
809 StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error
812 func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer) {
813 s.RegisterService(&_StreamingReadService_serviceDesc, srv)
816 func _StreamingReadService_StreamReads_Handler(srv interface{}, stream grpc.ServerStream) error {
817 m := new(StreamReadsRequest)
818 if err := stream.RecvMsg(m); err != nil {
821 return srv.(StreamingReadServiceServer).StreamReads(m, &streamingReadServiceStreamReadsServer{stream})
824 type StreamingReadService_StreamReadsServer interface {
825 Send(*StreamReadsResponse) error
829 type streamingReadServiceStreamReadsServer struct {
833 func (x *streamingReadServiceStreamReadsServer) Send(m *StreamReadsResponse) error {
834 return x.ServerStream.SendMsg(m)
837 var _StreamingReadService_serviceDesc = grpc.ServiceDesc{
838 ServiceName: "google.genomics.v1.StreamingReadService",
839 HandlerType: (*StreamingReadServiceServer)(nil),
840 Methods: []grpc.MethodDesc{},
841 Streams: []grpc.StreamDesc{
843 StreamName: "StreamReads",
844 Handler: _StreamingReadService_StreamReads_Handler,
848 Metadata: "google/genomics/v1/reads.proto",
851 // Client API for ReadServiceV1 service
853 type ReadServiceV1Client interface {
854 // Creates read group sets by asynchronously importing the provided
857 // For the definitions of read group sets and other genomics resources, see
858 // [Fundamentals of Google
859 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
861 // The caller must have WRITE permissions to the dataset.
863 // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
865 // - Tags will be converted to strings - tag types are not preserved
866 // - Comments (`@CO`) in the input file header will not be preserved
867 // - Original header order of references (`@SQ`) will not be preserved
868 // - Any reverse stranded unmapped reads will be reverse complemented, and
869 // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
870 // - Unmapped reads will be stripped of positional information (reference name
872 ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
873 // Exports a read group set to a BAM file in Google Cloud Storage.
875 // For the definitions of read group sets and other genomics resources, see
876 // [Fundamentals of Google
877 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
879 // Note that currently there may be some differences between exported BAM
880 // files and the original BAM file at the time of import. See
881 // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
883 ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
884 // Searches for read group sets matching the criteria.
886 // For the definitions of read group sets and other genomics resources, see
887 // [Fundamentals of Google
888 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
891 // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
892 SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error)
893 // Updates a read group set.
895 // For the definitions of read group sets and other genomics resources, see
896 // [Fundamentals of Google
897 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
899 // This method supports patch semantics.
900 UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
901 // Deletes a read group set.
903 // For the definitions of read group sets and other genomics resources, see
904 // [Fundamentals of Google
905 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
906 DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
907 // Gets a read group set by ID.
909 // For the definitions of read group sets and other genomics resources, see
910 // [Fundamentals of Google
911 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
912 GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
913 // Lists fixed width coverage buckets for a read group set, each of which
914 // correspond to a range of a reference sequence. Each bucket summarizes
915 // coverage information across its corresponding genomic range.
917 // For the definitions of read group sets and other genomics resources, see
918 // [Fundamentals of Google
919 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
921 // Coverage is defined as the number of reads which are aligned to a given
922 // base in the reference sequence. Coverage buckets are available at several
923 // precomputed bucket widths, enabling retrieval of various coverage 'zoom
924 // levels'. The caller must have READ permissions for the target read group
926 ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error)
927 // Gets a list of reads for one or more read group sets.
929 // For the definitions of read group sets and other genomics resources, see
930 // [Fundamentals of Google
931 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
933 // Reads search operates over a genomic coordinate space of reference sequence
934 // & position defined over the reference sequences to which the requested
935 // read group sets are aligned.
937 // If a target positional range is specified, search returns all reads whose
938 // alignment to the reference genome overlap the range. A query which
939 // specifies only read group set IDs yields all reads in those read group
940 // sets, including unmapped reads.
942 // All reads returned (including reads on subsequent pages) are ordered by
943 // genomic coordinate (by reference sequence, then position). Reads with
944 // equivalent genomic coordinates are returned in an unspecified order. This
945 // order is consistent, such that two queries for the same content (regardless
946 // of page size) yield reads in the same order across their respective streams
947 // of paginated responses.
950 // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
951 SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error)
954 type readServiceV1Client struct {
958 func NewReadServiceV1Client(cc *grpc.ClientConn) ReadServiceV1Client {
959 return &readServiceV1Client{cc}
962 func (c *readServiceV1Client) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
963 out := new(google_longrunning.Operation)
964 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", in, out, c.cc, opts...)
971 func (c *readServiceV1Client) ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
972 out := new(google_longrunning.Operation)
973 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", in, out, c.cc, opts...)
980 func (c *readServiceV1Client) SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) {
981 out := new(SearchReadGroupSetsResponse)
982 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", in, out, c.cc, opts...)
989 func (c *readServiceV1Client) UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
990 out := new(ReadGroupSet)
991 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", in, out, c.cc, opts...)
998 func (c *readServiceV1Client) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
999 out := new(google_protobuf1.Empty)
1000 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", in, out, c.cc, opts...)
1007 func (c *readServiceV1Client) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
1008 out := new(ReadGroupSet)
1009 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", in, out, c.cc, opts...)
1016 func (c *readServiceV1Client) ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) {
1017 out := new(ListCoverageBucketsResponse)
1018 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", in, out, c.cc, opts...)
1025 func (c *readServiceV1Client) SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) {
1026 out := new(SearchReadsResponse)
1027 err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReads", in, out, c.cc, opts...)
1034 // Server API for ReadServiceV1 service
1036 type ReadServiceV1Server interface {
1037 // Creates read group sets by asynchronously importing the provided
1040 // For the definitions of read group sets and other genomics resources, see
1041 // [Fundamentals of Google
1042 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1044 // The caller must have WRITE permissions to the dataset.
1046 // ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1048 // - Tags will be converted to strings - tag types are not preserved
1049 // - Comments (`@CO`) in the input file header will not be preserved
1050 // - Original header order of references (`@SQ`) will not be preserved
1051 // - Any reverse stranded unmapped reads will be reverse complemented, and
1052 // their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1053 // - Unmapped reads will be stripped of positional information (reference name
1055 ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*google_longrunning.Operation, error)
1056 // Exports a read group set to a BAM file in Google Cloud Storage.
1058 // For the definitions of read group sets and other genomics resources, see
1059 // [Fundamentals of Google
1060 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1062 // Note that currently there may be some differences between exported BAM
1063 // files and the original BAM file at the time of import. See
1064 // [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
1066 ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*google_longrunning.Operation, error)
1067 // Searches for read group sets matching the criteria.
1069 // For the definitions of read group sets and other genomics resources, see
1070 // [Fundamentals of Google
1071 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1074 // [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1075 SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error)
1076 // Updates a read group set.
1078 // For the definitions of read group sets and other genomics resources, see
1079 // [Fundamentals of Google
1080 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1082 // This method supports patch semantics.
1083 UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error)
1084 // Deletes a read group set.
1086 // For the definitions of read group sets and other genomics resources, see
1087 // [Fundamentals of Google
1088 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1089 DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*google_protobuf1.Empty, error)
1090 // Gets a read group set by ID.
1092 // For the definitions of read group sets and other genomics resources, see
1093 // [Fundamentals of Google
1094 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1095 GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error)
1096 // Lists fixed width coverage buckets for a read group set, each of which
1097 // correspond to a range of a reference sequence. Each bucket summarizes
1098 // coverage information across its corresponding genomic range.
1100 // For the definitions of read group sets and other genomics resources, see
1101 // [Fundamentals of Google
1102 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1104 // Coverage is defined as the number of reads which are aligned to a given
1105 // base in the reference sequence. Coverage buckets are available at several
1106 // precomputed bucket widths, enabling retrieval of various coverage 'zoom
1107 // levels'. The caller must have READ permissions for the target read group
1109 ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error)
1110 // Gets a list of reads for one or more read group sets.
1112 // For the definitions of read group sets and other genomics resources, see
1113 // [Fundamentals of Google
1114 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1116 // Reads search operates over a genomic coordinate space of reference sequence
1117 // & position defined over the reference sequences to which the requested
1118 // read group sets are aligned.
1120 // If a target positional range is specified, search returns all reads whose
1121 // alignment to the reference genome overlap the range. A query which
1122 // specifies only read group set IDs yields all reads in those read group
1123 // sets, including unmapped reads.
1125 // All reads returned (including reads on subsequent pages) are ordered by
1126 // genomic coordinate (by reference sequence, then position). Reads with
1127 // equivalent genomic coordinates are returned in an unspecified order. This
1128 // order is consistent, such that two queries for the same content (regardless
1129 // of page size) yield reads in the same order across their respective streams
1130 // of paginated responses.
1133 // [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
1134 SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error)
1137 func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server) {
1138 s.RegisterService(&_ReadServiceV1_serviceDesc, srv)
1141 func _ReadServiceV1_ImportReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1142 in := new(ImportReadGroupSetsRequest)
1143 if err := dec(in); err != nil {
1146 if interceptor == nil {
1147 return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, in)
1149 info := &grpc.UnaryServerInfo{
1151 FullMethod: "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets",
1153 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1154 return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, req.(*ImportReadGroupSetsRequest))
1156 return interceptor(ctx, in, info, handler)
1159 func _ReadServiceV1_ExportReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1160 in := new(ExportReadGroupSetRequest)
1161 if err := dec(in); err != nil {
1164 if interceptor == nil {
1165 return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, in)
1167 info := &grpc.UnaryServerInfo{
1169 FullMethod: "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet",
1171 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1172 return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, req.(*ExportReadGroupSetRequest))
1174 return interceptor(ctx, in, info, handler)
1177 func _ReadServiceV1_SearchReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1178 in := new(SearchReadGroupSetsRequest)
1179 if err := dec(in); err != nil {
1182 if interceptor == nil {
1183 return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, in)
1185 info := &grpc.UnaryServerInfo{
1187 FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets",
1189 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1190 return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, req.(*SearchReadGroupSetsRequest))
1192 return interceptor(ctx, in, info, handler)
1195 func _ReadServiceV1_UpdateReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1196 in := new(UpdateReadGroupSetRequest)
1197 if err := dec(in); err != nil {
1200 if interceptor == nil {
1201 return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, in)
1203 info := &grpc.UnaryServerInfo{
1205 FullMethod: "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet",
1207 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1208 return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, req.(*UpdateReadGroupSetRequest))
1210 return interceptor(ctx, in, info, handler)
1213 func _ReadServiceV1_DeleteReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1214 in := new(DeleteReadGroupSetRequest)
1215 if err := dec(in); err != nil {
1218 if interceptor == nil {
1219 return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, in)
1221 info := &grpc.UnaryServerInfo{
1223 FullMethod: "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet",
1225 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1226 return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, req.(*DeleteReadGroupSetRequest))
1228 return interceptor(ctx, in, info, handler)
1231 func _ReadServiceV1_GetReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1232 in := new(GetReadGroupSetRequest)
1233 if err := dec(in); err != nil {
1236 if interceptor == nil {
1237 return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, in)
1239 info := &grpc.UnaryServerInfo{
1241 FullMethod: "/google.genomics.v1.ReadServiceV1/GetReadGroupSet",
1243 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1244 return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, req.(*GetReadGroupSetRequest))
1246 return interceptor(ctx, in, info, handler)
1249 func _ReadServiceV1_ListCoverageBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1250 in := new(ListCoverageBucketsRequest)
1251 if err := dec(in); err != nil {
1254 if interceptor == nil {
1255 return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, in)
1257 info := &grpc.UnaryServerInfo{
1259 FullMethod: "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets",
1261 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1262 return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, req.(*ListCoverageBucketsRequest))
1264 return interceptor(ctx, in, info, handler)
1267 func _ReadServiceV1_SearchReads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1268 in := new(SearchReadsRequest)
1269 if err := dec(in); err != nil {
1272 if interceptor == nil {
1273 return srv.(ReadServiceV1Server).SearchReads(ctx, in)
1275 info := &grpc.UnaryServerInfo{
1277 FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReads",
1279 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1280 return srv.(ReadServiceV1Server).SearchReads(ctx, req.(*SearchReadsRequest))
1282 return interceptor(ctx, in, info, handler)
1285 var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{
1286 ServiceName: "google.genomics.v1.ReadServiceV1",
1287 HandlerType: (*ReadServiceV1Server)(nil),
1288 Methods: []grpc.MethodDesc{
1290 MethodName: "ImportReadGroupSets",
1291 Handler: _ReadServiceV1_ImportReadGroupSets_Handler,
1294 MethodName: "ExportReadGroupSet",
1295 Handler: _ReadServiceV1_ExportReadGroupSet_Handler,
1298 MethodName: "SearchReadGroupSets",
1299 Handler: _ReadServiceV1_SearchReadGroupSets_Handler,
1302 MethodName: "UpdateReadGroupSet",
1303 Handler: _ReadServiceV1_UpdateReadGroupSet_Handler,
1306 MethodName: "DeleteReadGroupSet",
1307 Handler: _ReadServiceV1_DeleteReadGroupSet_Handler,
1310 MethodName: "GetReadGroupSet",
1311 Handler: _ReadServiceV1_GetReadGroupSet_Handler,
1314 MethodName: "ListCoverageBuckets",
1315 Handler: _ReadServiceV1_ListCoverageBuckets_Handler,
1318 MethodName: "SearchReads",
1319 Handler: _ReadServiceV1_SearchReads_Handler,
1322 Streams: []grpc.StreamDesc{},
1323 Metadata: "google/genomics/v1/reads.proto",
1326 func init() { proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor9) }
1328 var fileDescriptor9 = []byte{
1329 // 1333 bytes of a gzipped FileDescriptorProto
1330 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
1331 0x17, 0xff, 0x8e, 0x1d, 0xb7, 0xcd, 0x73, 0x93, 0x38, 0xe3, 0x7e, 0x8b, 0xe3, 0x90, 0x36, 0x6c,
1332 0x69, 0x1b, 0x02, 0xb5, 0x89, 0x11, 0x2a, 0x4a, 0x85, 0x44, 0xda, 0x3a, 0xc1, 0x28, 0x69, 0xad,
1333 0x75, 0x02, 0x82, 0xcb, 0x6a, 0x62, 0x4f, 0xb6, 0x4b, 0xec, 0xdd, 0x65, 0x66, 0x9c, 0xfe, 0x52,
1334 0x2f, 0xbd, 0x81, 0x04, 0x1c, 0x10, 0x27, 0xae, 0x5c, 0x39, 0x22, 0xfe, 0x08, 0x4e, 0x88, 0x0b,
1335 0x7f, 0x00, 0xe2, 0x0f, 0xe0, 0xc4, 0x11, 0xcd, 0xec, 0x6e, 0xbc, 0xeb, 0x9d, 0x6d, 0x1c, 0x55,
1336 0xe2, 0xb6, 0xfb, 0xe6, 0xb3, 0x6f, 0x3e, 0xef, 0xf7, 0x5b, 0xb8, 0x64, 0x7b, 0x9e, 0xdd, 0xa7,
1337 0x75, 0x9b, 0xba, 0xde, 0xc0, 0xe9, 0xf2, 0xfa, 0xd1, 0x5a, 0x9d, 0x51, 0xd2, 0xe3, 0x35, 0x9f,
1338 0x79, 0xc2, 0xc3, 0x38, 0x38, 0xaf, 0x45, 0xe7, 0xb5, 0xa3, 0xb5, 0xea, 0xab, 0xe1, 0x37, 0xc4,
1339 0x77, 0xea, 0xc4, 0x75, 0x3d, 0x41, 0x84, 0xe3, 0xb9, 0xe1, 0x17, 0x55, 0xad, 0x46, 0xe2, 0xda,
1340 0x34, 0x3c, 0xbf, 0x96, 0x71, 0x23, 0xe9, 0x3b, 0xb6, 0x3b, 0xa0, 0xae, 0x08, 0x71, 0x57, 0x33,
1341 0x70, 0x36, 0xf3, 0x86, 0x3e, 0xa7, 0x11, 0xec, 0x4a, 0x08, 0xeb, 0x7b, 0xae, 0xcd, 0x86, 0xae,
1342 0xeb, 0xb8, 0x76, 0xdd, 0xf3, 0x29, 0x4b, 0x70, 0x5a, 0x0c, 0x41, 0xea, 0x6d, 0x7f, 0x78, 0x50,
1343 0xa7, 0x03, 0x5f, 0x3c, 0x0e, 0x0f, 0x97, 0xc7, 0x0f, 0x0f, 0x1c, 0xda, 0xef, 0x59, 0x03, 0xc2,
1344 0x0f, 0x03, 0x84, 0xf1, 0x35, 0x82, 0x6a, 0x87, 0x12, 0xd6, 0x7d, 0x60, 0x52, 0xd2, 0xdb, 0x92,
1345 0x04, 0x3a, 0x54, 0x70, 0x93, 0x7e, 0x31, 0xa4, 0x5c, 0xe0, 0xcb, 0x50, 0xec, 0x11, 0x41, 0x38,
1346 0x15, 0x96, 0xd3, 0xe3, 0x15, 0xb4, 0x9c, 0x5f, 0x99, 0x36, 0x21, 0x14, 0xb5, 0x7a, 0x1c, 0x63,
1347 0x98, 0x72, 0xc9, 0x80, 0x56, 0xf2, 0xcb, 0x68, 0x65, 0xda, 0x54,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0x37, 0x61, 0x36,
1370 0x09, 0x55, 0xfc, 0x27, 0x29, 0x88, 0xf3, 0x71, 0x4d, 0xf8, 0x16, 0x14, 0x87, 0x8a, 0x8f, 0x6a,
1371 0x0f, 0xca, 0xbc, 0x62, 0xa3, 0x1a, 0x29, 0x89, 0x3a, 0x48, 0x6d, 0x53, 0x76, 0x90, 0x1d, 0xc2,
1372 0x0f, 0x4d, 0x08, 0xe0, 0xf2, 0xd9, 0xd8, 0x84, 0x85, 0xbb, 0xb4, 0x4f, 0x5f, 0xd6, 0x18, 0xe3,
1373 0x0e, 0x5c, 0xdc, 0xa2, 0xe2, 0x25, 0x95, 0x3c, 0xcf, 0x41, 0x75, 0xdb, 0xe1, 0xe2, 0x8e, 0x77,
1374 0x44, 0x19, 0xb1, 0xe9, 0xed, 0x61, 0xf7, 0x30, 0x56, 0xb1, 0xa7, 0xf0, 0xed, 0x55, 0x98, 0x4d,
1375 0x46, 0x33, 0x8c, 0xfa, 0x4c, 0x22, 0x98, 0xf8, 0x02, 0x14, 0xb8, 0x20, 0x4c, 0xa8, 0xca, 0xce,
1376 0x9b, 0xc1, 0x0b, 0x2e, 0x41, 0x9e, 0xba, 0x3d, 0x55, 0xa0, 0x79, 0x53, 0x3e, 0xe2, 0x1a, 0x94,
1377 0x05, 0x61, 0x36, 0x15, 0xd6, 0xbe, 0xa2, 0x64, 0x3d, 0x74, 0x7a, 0xe2, 0x41, 0xe5, 0x8c, 0x42,
1378 0xcc, 0x07, 0x47, 0x01, 0xd9, 0x4f, 0xe4, 0xc1, 0x58, 0x23, 0x3d, 0xfb, 0xc2, 0x46, 0x7a, 0x6e,
1379 0xac, 0x91, 0x1e, 0xc0, 0x6c, 0xd2, 0x7e, 0x5c, 0x87, 0x82, 0x1a, 0x56, 0xca, 0xd6, 0x62, 0x63,
1380 0x41, 0x9b, 0x1f, 0x12, 0x60, 0x06, 0x38, 0x7c, 0x05, 0x66, 0x06, 0x94, 0xb8, 0x56, 0x37, 0xd4,
1381 0xa3, 0x12, 0x2b, 0x67, 0x9e, 0x97, 0xc2, 0x48, 0xb7, 0xf1, 0x0b, 0x82, 0x45, 0xad, 0xb3, 0xc3,
1382 0x22, 0x7e, 0x0d, 0xce, 0x27, 0x8c, 0x45, 0xca, 0xd8, 0xe2, 0x7e, 0xcc, 0xcc, 0x1d, 0x28, 0x45,
1383 0x57, 0x84, 0x8e, 0x09, 0xda, 0x5f, 0xb1, 0x61, 0xe8, 0x38, 0x26, 0x6f, 0x32, 0xe7, 0xba, 0xc9,
1384 0x9b, 0x75, 0x8d, 0x3d, 0xaf, 0x6b, 0xec, 0x7f, 0x23, 0xc0, 0xa3, 0x51, 0x73, 0x9c, 0x1e, 0xa7,
1385 0xe9, 0x3a, 0xf8, 0xf5, 0x44, 0xf1, 0x49, 0x60, 0x41, 0x01, 0x47, 0xa5, 0x25, 0x51, 0xe9, 0x34,
1386 0x3a, 0xfb, 0xc2, 0x34, 0x3a, 0xa7, 0x49, 0xa3, 0xe9, 0x51, 0x1a, 0x25, 0xd3, 0x22, 0x7f, 0xaa,
1387 0xf9, 0xfa, 0x10, 0xca, 0x09, 0x9b, 0xc3, 0x28, 0xbd, 0x07, 0x70, 0xbc, 0xa4, 0x44, 0x13, 0xb5,
1388 0x92, 0xd5, 0x40, 0xcc, 0x18, 0x76, 0xe2, 0x31, 0xfa, 0x97, 0xf4, 0xb6, 0x60, 0x94, 0x0c, 0x12,
1389 0xde, 0x3e, 0xa1, 0x31, 0x6b, 0x6b, 0x35, 0xf7, 0x5f, 0xd4, 0xaa, 0xc4, 0x3d, 0x20, 0xac, 0xa7,
1390 0xaa, 0xb3, 0x60, 0x06, 0x2f, 0x32, 0x9b, 0x85, 0x27, 0x48, 0xdf, 0x52, 0xaf, 0x5c, 0xc5, 0xb1,
1391 0x60, 0x16, 0x95, 0xac, 0xa3, 0x44, 0xc6, 0x7d, 0x28, 0x27, 0xec, 0x7c, 0x59, 0x0f, 0x37, 0xbe,
1392 0x47, 0x70, 0x21, 0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