route/vendor/google.golang.org/genproto/googleapis/genomics/v1/reads.pb.go

1415 lines
61 KiB
Go
Raw Normal View History

2017-10-06 15:29:20 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/genomics/v1/reads.proto
package genomics
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
import google_protobuf2 "google.golang.org/genproto/protobuf/field_mask"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ImportReadGroupSetsRequest_PartitionStrategy int32
const (
ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED ImportReadGroupSetsRequest_PartitionStrategy = 0
// In most cases, this strategy yields one read group set per file. This is
// the default behavior.
//
// Allocate one read group set per file per sample. For BAM files, read
// groups are considered to share a sample if they have identical sample
// names. Furthermore, all reads for each file which do not belong to a read
// group, if any, will be grouped into a single read group set per-file.
ImportReadGroupSetsRequest_PER_FILE_PER_SAMPLE ImportReadGroupSetsRequest_PartitionStrategy = 1
// Includes all read groups in all imported files into a single read group
// set. Requires that the headers for all imported files are equivalent. All
// reads which do not belong to a read group, if any, will be grouped into a
// separate read group set.
ImportReadGroupSetsRequest_MERGE_ALL ImportReadGroupSetsRequest_PartitionStrategy = 2
)
var ImportReadGroupSetsRequest_PartitionStrategy_name = map[int32]string{
0: "PARTITION_STRATEGY_UNSPECIFIED",
1: "PER_FILE_PER_SAMPLE",
2: "MERGE_ALL",
}
var ImportReadGroupSetsRequest_PartitionStrategy_value = map[string]int32{
"PARTITION_STRATEGY_UNSPECIFIED": 0,
"PER_FILE_PER_SAMPLE": 1,
"MERGE_ALL": 2,
}
func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string {
return proto.EnumName(ImportReadGroupSetsRequest_PartitionStrategy_name, int32(x))
}
func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor9, []int{2, 0}
}
// The read group set search request.
type SearchReadGroupSetsRequest struct {
// Restricts this query to read group sets within the given datasets. At least
// one ID must be provided.
DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds" json:"dataset_ids,omitempty"`
// Only return read group sets for which a substring of the name matches this
// string.
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
// The continuation token, which is used to page through large result sets.
// To get the next page of results, set this parameter to the value of
// `nextPageToken` from the previous response.
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// The maximum number of results to return in a single page. If unspecified,
// defaults to 256. The maximum value is 1024.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
}
func (m *SearchReadGroupSetsRequest) Reset() { *m = SearchReadGroupSetsRequest{} }
func (m *SearchReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
func (*SearchReadGroupSetsRequest) ProtoMessage() {}
func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string {
if m != nil {
return m.DatasetIds
}
return nil
}
func (m *SearchReadGroupSetsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *SearchReadGroupSetsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *SearchReadGroupSetsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// The read group set search response.
type SearchReadGroupSetsResponse struct {
// The list of matching read group sets.
ReadGroupSets []*ReadGroupSet `protobuf:"bytes,1,rep,name=read_group_sets,json=readGroupSets" json:"read_group_sets,omitempty"`
// The continuation token, which is used to page through large result sets.
// Provide this value in a subsequent request to return the next page of
// results. This field will be empty if there aren't any additional results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *SearchReadGroupSetsResponse) Reset() { *m = SearchReadGroupSetsResponse{} }
func (m *SearchReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
func (*SearchReadGroupSetsResponse) ProtoMessage() {}
func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet {
if m != nil {
return m.ReadGroupSets
}
return nil
}
func (m *SearchReadGroupSetsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The read group set import request.
type ImportReadGroupSetsRequest struct {
// Required. The ID of the dataset these read group sets will belong to. The
// caller must have WRITE permissions to this dataset.
DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"`
// The reference set to which the imported read group sets are aligned to, if
// any. The reference names of this reference set must be a superset of those
// found in the imported file headers. If no reference set id is provided, a
// best effort is made to associate with a matching reference set.
ReferenceSetId string `protobuf:"bytes,4,opt,name=reference_set_id,json=referenceSetId" json:"reference_set_id,omitempty"`
// A list of URIs pointing at [BAM
// files](https://samtools.github.io/hts-specs/SAMv1.pdf)
// in Google Cloud Storage.
// Those URIs can include wildcards (*), but do not add or remove
// matching files before import has completed.
//
// Note that Google Cloud Storage object listing is only eventually
// consistent: files added may be not be immediately visible to
// everyone. Thus, if using a wildcard it is preferable not to start
// the import immediately after the files are created.
SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"`
// The partition strategy describes how read groups are partitioned into read
// group sets.
PartitionStrategy ImportReadGroupSetsRequest_PartitionStrategy `protobuf:"varint,5,opt,name=partition_strategy,json=partitionStrategy,enum=google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy" json:"partition_strategy,omitempty"`
}
func (m *ImportReadGroupSetsRequest) Reset() { *m = ImportReadGroupSetsRequest{} }
func (m *ImportReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
func (*ImportReadGroupSetsRequest) ProtoMessage() {}
func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (m *ImportReadGroupSetsRequest) GetDatasetId() string {
if m != nil {
return m.DatasetId
}
return ""
}
func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string {
if m != nil {
return m.ReferenceSetId
}
return ""
}
func (m *ImportReadGroupSetsRequest) GetSourceUris() []string {
if m != nil {
return m.SourceUris
}
return nil
}
func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy {
if m != nil {
return m.PartitionStrategy
}
return ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED
}
// The read group set import response.
type ImportReadGroupSetsResponse struct {
// IDs of the read group sets that were created.
ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"`
}
func (m *ImportReadGroupSetsResponse) Reset() { *m = ImportReadGroupSetsResponse{} }
func (m *ImportReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
func (*ImportReadGroupSetsResponse) ProtoMessage() {}
func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (m *ImportReadGroupSetsResponse) GetReadGroupSetIds() []string {
if m != nil {
return m.ReadGroupSetIds
}
return nil
}
// The read group set export request.
type ExportReadGroupSetRequest struct {
// Required. The Google Cloud project ID that owns this
// export. The caller must have WRITE access to this project.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// Required. A Google Cloud Storage URI for the exported BAM file.
// The currently authenticated user must have write access to the new file.
// An error will be returned if the URI already contains data.
ExportUri string `protobuf:"bytes,2,opt,name=export_uri,json=exportUri" json:"export_uri,omitempty"`
// Required. The ID of the read group set to export. The caller must have
// READ access to this read group set.
ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
// The reference names to export. If this is not specified, all reference
// sequences, including unmapped reads, are exported.
// Use `*` to export only unmapped reads.
ReferenceNames []string `protobuf:"bytes,4,rep,name=reference_names,json=referenceNames" json:"reference_names,omitempty"`
}
func (m *ExportReadGroupSetRequest) Reset() { *m = ExportReadGroupSetRequest{} }
func (m *ExportReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
func (*ExportReadGroupSetRequest) ProtoMessage() {}
func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
func (m *ExportReadGroupSetRequest) GetProjectId() string {
if m != nil {
return m.ProjectId
}
return ""
}
func (m *ExportReadGroupSetRequest) GetExportUri() string {
if m != nil {
return m.ExportUri
}
return ""
}
func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
func (m *ExportReadGroupSetRequest) GetReferenceNames() []string {
if m != nil {
return m.ReferenceNames
}
return nil
}
type UpdateReadGroupSetRequest struct {
// The ID of the read group set to be updated. The caller must have WRITE
// permissions to the dataset associated with this read group set.
ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
// The new read group set data. See `updateMask` for details on mutability of
// fields.
ReadGroupSet *ReadGroupSet `protobuf:"bytes,2,opt,name=read_group_set,json=readGroupSet" json:"read_group_set,omitempty"`
// An optional mask specifying which fields to update. Supported fields:
//
// * [name][google.genomics.v1.ReadGroupSet.name].
// * [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id].
//
// Leaving `updateMask` unset is equivalent to specifying all mutable
// fields.
UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
}
func (m *UpdateReadGroupSetRequest) Reset() { *m = UpdateReadGroupSetRequest{} }
func (m *UpdateReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateReadGroupSetRequest) ProtoMessage() {}
func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet {
if m != nil {
return m.ReadGroupSet
}
return nil
}
func (m *UpdateReadGroupSetRequest) GetUpdateMask() *google_protobuf2.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
type DeleteReadGroupSetRequest struct {
// The ID of the read group set to be deleted. The caller must have WRITE
// permissions to the dataset associated with this read group set.
ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
}
func (m *DeleteReadGroupSetRequest) Reset() { *m = DeleteReadGroupSetRequest{} }
func (m *DeleteReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteReadGroupSetRequest) ProtoMessage() {}
func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
func (m *DeleteReadGroupSetRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
type GetReadGroupSetRequest struct {
// The ID of the read group set.
ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
}
func (m *GetReadGroupSetRequest) Reset() { *m = GetReadGroupSetRequest{} }
func (m *GetReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
func (*GetReadGroupSetRequest) ProtoMessage() {}
func (*GetReadGroupSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
func (m *GetReadGroupSetRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
type ListCoverageBucketsRequest struct {
// Required. The ID of the read group set over which coverage is requested.
ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
// The name of the reference to query, within the reference set associated
// with this query. Optional.
ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
// The start position of the range on the reference, 0-based inclusive. If
// specified, `referenceName` must also be specified. Defaults to 0.
Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"`
// The end position of the range on the reference, 0-based exclusive. If
// specified, `referenceName` must also be specified. If unset or 0, defaults
// to the length of the reference.
End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"`
// The desired width of each reported coverage bucket in base pairs. This
// will be rounded down to the nearest precomputed bucket width; the value
// of which is returned as `bucketWidth` in the response. Defaults
// to infinity (each bucket spans an entire reference sequence) or the length
// of the target range, if specified. The smallest precomputed
// `bucketWidth` is currently 2048 base pairs; this is subject to
// change.
TargetBucketWidth int64 `protobuf:"varint,6,opt,name=target_bucket_width,json=targetBucketWidth" json:"target_bucket_width,omitempty"`
// The continuation token, which is used to page through large result sets.
// To get the next page of results, set this parameter to the value of
// `nextPageToken` from the previous response.
PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// The maximum number of results to return in a single page. If unspecified,
// defaults to 1024. The maximum value is 2048.
PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
}
func (m *ListCoverageBucketsRequest) Reset() { *m = ListCoverageBucketsRequest{} }
func (m *ListCoverageBucketsRequest) String() string { return proto.CompactTextString(m) }
func (*ListCoverageBucketsRequest) ProtoMessage() {}
func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
func (m *ListCoverageBucketsRequest) GetReferenceName() string {
if m != nil {
return m.ReferenceName
}
return ""
}
func (m *ListCoverageBucketsRequest) GetStart() int64 {
if m != nil {
return m.Start
}
return 0
}
func (m *ListCoverageBucketsRequest) GetEnd() int64 {
if m != nil {
return m.End
}
return 0
}
func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64 {
if m != nil {
return m.TargetBucketWidth
}
return 0
}
func (m *ListCoverageBucketsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListCoverageBucketsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// A bucket over which read coverage has been precomputed. A bucket corresponds
// to a specific range of the reference sequence.
type CoverageBucket struct {
// The genomic coordinate range spanned by this bucket.
Range *Range `protobuf:"bytes,1,opt,name=range" json:"range,omitempty"`
// The average number of reads which are aligned to each individual
// reference base in this bucket.
MeanCoverage float32 `protobuf:"fixed32,2,opt,name=mean_coverage,json=meanCoverage" json:"mean_coverage,omitempty"`
}
func (m *CoverageBucket) Reset() { *m = CoverageBucket{} }
func (m *CoverageBucket) String() string { return proto.CompactTextString(m) }
func (*CoverageBucket) ProtoMessage() {}
func (*CoverageBucket) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
func (m *CoverageBucket) GetRange() *Range {
if m != nil {
return m.Range
}
return nil
}
func (m *CoverageBucket) GetMeanCoverage() float32 {
if m != nil {
return m.MeanCoverage
}
return 0
}
type ListCoverageBucketsResponse struct {
// The length of each coverage bucket in base pairs. Note that buckets at the
// end of a reference sequence may be shorter. This value is omitted if the
// bucket width is infinity (the default behaviour, with no range or
// `targetBucketWidth`).
BucketWidth int64 `protobuf:"varint,1,opt,name=bucket_width,json=bucketWidth" json:"bucket_width,omitempty"`
// The coverage buckets. The list of buckets is sparse; a bucket with 0
// overlapping reads is not returned. A bucket never crosses more than one
// reference sequence. Each bucket has width `bucketWidth`, unless
// its end is the end of the reference sequence.
CoverageBuckets []*CoverageBucket `protobuf:"bytes,2,rep,name=coverage_buckets,json=coverageBuckets" json:"coverage_buckets,omitempty"`
// The continuation token, which is used to page through large result sets.
// Provide this value in a subsequent request to return the next page of
// results. This field will be empty if there aren't any additional results.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *ListCoverageBucketsResponse) Reset() { *m = ListCoverageBucketsResponse{} }
func (m *ListCoverageBucketsResponse) String() string { return proto.CompactTextString(m) }
func (*ListCoverageBucketsResponse) ProtoMessage() {}
func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{10} }
func (m *ListCoverageBucketsResponse) GetBucketWidth() int64 {
if m != nil {
return m.BucketWidth
}
return 0
}
func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket {
if m != nil {
return m.CoverageBuckets
}
return nil
}
func (m *ListCoverageBucketsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The read search request.
type SearchReadsRequest struct {
// The IDs of the read groups sets within which to search for reads. All
// specified read group sets must be aligned against a common set of reference
// sequences; this defines the genomic coordinates for the query. Must specify
// one of `readGroupSetIds` or `readGroupIds`.
ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds" json:"read_group_set_ids,omitempty"`
// The IDs of the read groups within which to search for reads. All specified
// read groups must belong to the same read group sets. Must specify one of
// `readGroupSetIds` or `readGroupIds`.
ReadGroupIds []string `protobuf:"bytes,5,rep,name=read_group_ids,json=readGroupIds" json:"read_group_ids,omitempty"`
// The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
// `*`, only unmapped reads are returned. If unspecified, all reads (mapped
// and unmapped) are returned.
ReferenceName string `protobuf:"bytes,7,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
// The start position of the range on the reference, 0-based inclusive. If
// specified, `referenceName` must also be specified.
Start int64 `protobuf:"varint,8,opt,name=start" json:"start,omitempty"`
// The end position of the range on the reference, 0-based exclusive. If
// specified, `referenceName` must also be specified.
End int64 `protobuf:"varint,9,opt,name=end" json:"end,omitempty"`
// The continuation token, which is used to page through large result sets.
// To get the next page of results, set this parameter to the value of
// `nextPageToken` from the previous response.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// The maximum number of results to return in a single page. If unspecified,
// defaults to 256. The maximum value is 2048.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
}
func (m *SearchReadsRequest) Reset() { *m = SearchReadsRequest{} }
func (m *SearchReadsRequest) String() string { return proto.CompactTextString(m) }
func (*SearchReadsRequest) ProtoMessage() {}
func (*SearchReadsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{11} }
func (m *SearchReadsRequest) GetReadGroupSetIds() []string {
if m != nil {
return m.ReadGroupSetIds
}
return nil
}
func (m *SearchReadsRequest) GetReadGroupIds() []string {
if m != nil {
return m.ReadGroupIds
}
return nil
}
func (m *SearchReadsRequest) GetReferenceName() string {
if m != nil {
return m.ReferenceName
}
return ""
}
func (m *SearchReadsRequest) GetStart() int64 {
if m != nil {
return m.Start
}
return 0
}
func (m *SearchReadsRequest) GetEnd() int64 {
if m != nil {
return m.End
}
return 0
}
func (m *SearchReadsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *SearchReadsRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
// The read search response.
type SearchReadsResponse struct {
// The list of matching alignments sorted by mapped genomic coordinate,
// if any, ascending in position within the same reference. Unmapped reads,
// which have no position, are returned contiguously and are sorted in
// ascending lexicographic order by fragment name.
Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"`
// The continuation token, which is used to page through large result sets.
// Provide this value in a subsequent request to return the next page of
// results. This field will be empty if there aren't any additional results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *SearchReadsResponse) Reset() { *m = SearchReadsResponse{} }
func (m *SearchReadsResponse) String() string { return proto.CompactTextString(m) }
func (*SearchReadsResponse) ProtoMessage() {}
func (*SearchReadsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{12} }
func (m *SearchReadsResponse) GetAlignments() []*Read {
if m != nil {
return m.Alignments
}
return nil
}
func (m *SearchReadsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The stream reads request.
type StreamReadsRequest struct {
// The Google Cloud project ID which will be billed
// for this access. The caller must have WRITE access to this project.
// Required.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// The ID of the read group set from which to stream reads.
ReadGroupSetId string `protobuf:"bytes,2,opt,name=read_group_set_id,json=readGroupSetId" json:"read_group_set_id,omitempty"`
// The reference sequence name, for example `chr1`,
// `1`, or `chrX`. If set to *, only unmapped reads are
// returned.
ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName" json:"reference_name,omitempty"`
// The start position of the range on the reference, 0-based inclusive. If
// specified, `referenceName` must also be specified.
Start int64 `protobuf:"varint,4,opt,name=start" json:"start,omitempty"`
// The end position of the range on the reference, 0-based exclusive. If
// specified, `referenceName` must also be specified.
End int64 `protobuf:"varint,5,opt,name=end" json:"end,omitempty"`
// Restricts results to a shard containing approximately `1/totalShards`
// of the normal response payload for this query. Results from a sharded
// request are disjoint from those returned by all queries which differ only
// in their shard parameter. A shard may yield 0 results; this is especially
// likely for large values of `totalShards`.
//
// Valid values are `[0, totalShards)`.
Shard int32 `protobuf:"varint,6,opt,name=shard" json:"shard,omitempty"`
// Specifying `totalShards` causes a disjoint subset of the normal response
// payload to be returned for each query with a unique `shard` parameter
// specified. A best effort is made to yield equally sized shards. Sharding
// can be used to distribute processing amongst workers, where each worker is
// assigned a unique `shard` number and all workers specify the same
// `totalShards` number. The union of reads returned for all sharded queries
// `[0, totalShards)` is equal to those returned by a single unsharded query.
//
// Queries for different values of `totalShards` with common divisors will
// share shard boundaries. For example, streaming `shard` 2 of 5
// `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10
// `totalShards`. This property can be leveraged for adaptive retries.
TotalShards int32 `protobuf:"varint,7,opt,name=total_shards,json=totalShards" json:"total_shards,omitempty"`
}
func (m *StreamReadsRequest) Reset() { *m = StreamReadsRequest{} }
func (m *StreamReadsRequest) String() string { return proto.CompactTextString(m) }
func (*StreamReadsRequest) ProtoMessage() {}
func (*StreamReadsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{13} }
func (m *StreamReadsRequest) GetProjectId() string {
if m != nil {
return m.ProjectId
}
return ""
}
func (m *StreamReadsRequest) GetReadGroupSetId() string {
if m != nil {
return m.ReadGroupSetId
}
return ""
}
func (m *StreamReadsRequest) GetReferenceName() string {
if m != nil {
return m.ReferenceName
}
return ""
}
func (m *StreamReadsRequest) GetStart() int64 {
if m != nil {
return m.Start
}
return 0
}
func (m *StreamReadsRequest) GetEnd() int64 {
if m != nil {
return m.End
}
return 0
}
func (m *StreamReadsRequest) GetShard() int32 {
if m != nil {
return m.Shard
}
return 0
}
func (m *StreamReadsRequest) GetTotalShards() int32 {
if m != nil {
return m.TotalShards
}
return 0
}
type StreamReadsResponse struct {
Alignments []*Read `protobuf:"bytes,1,rep,name=alignments" json:"alignments,omitempty"`
}
func (m *StreamReadsResponse) Reset() { *m = StreamReadsResponse{} }
func (m *StreamReadsResponse) String() string { return proto.CompactTextString(m) }
func (*StreamReadsResponse) ProtoMessage() {}
func (*StreamReadsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{14} }
func (m *StreamReadsResponse) GetAlignments() []*Read {
if m != nil {
return m.Alignments
}
return nil
}
func init() {
proto.RegisterType((*SearchReadGroupSetsRequest)(nil), "google.genomics.v1.SearchReadGroupSetsRequest")
proto.RegisterType((*SearchReadGroupSetsResponse)(nil), "google.genomics.v1.SearchReadGroupSetsResponse")
proto.RegisterType((*ImportReadGroupSetsRequest)(nil), "google.genomics.v1.ImportReadGroupSetsRequest")
proto.RegisterType((*ImportReadGroupSetsResponse)(nil), "google.genomics.v1.ImportReadGroupSetsResponse")
proto.RegisterType((*ExportReadGroupSetRequest)(nil), "google.genomics.v1.ExportReadGroupSetRequest")
proto.RegisterType((*UpdateReadGroupSetRequest)(nil), "google.genomics.v1.UpdateReadGroupSetRequest")
proto.RegisterType((*DeleteReadGroupSetRequest)(nil), "google.genomics.v1.DeleteReadGroupSetRequest")
proto.RegisterType((*GetReadGroupSetRequest)(nil), "google.genomics.v1.GetReadGroupSetRequest")
proto.RegisterType((*ListCoverageBucketsRequest)(nil), "google.genomics.v1.ListCoverageBucketsRequest")
proto.RegisterType((*CoverageBucket)(nil), "google.genomics.v1.CoverageBucket")
proto.RegisterType((*ListCoverageBucketsResponse)(nil), "google.genomics.v1.ListCoverageBucketsResponse")
proto.RegisterType((*SearchReadsRequest)(nil), "google.genomics.v1.SearchReadsRequest")
proto.RegisterType((*SearchReadsResponse)(nil), "google.genomics.v1.SearchReadsResponse")
proto.RegisterType((*StreamReadsRequest)(nil), "google.genomics.v1.StreamReadsRequest")
proto.RegisterType((*StreamReadsResponse)(nil), "google.genomics.v1.StreamReadsResponse")
proto.RegisterEnum("google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy", ImportReadGroupSetsRequest_PartitionStrategy_name, ImportReadGroupSetsRequest_PartitionStrategy_value)
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for StreamingReadService service
type StreamingReadServiceClient interface {
// Returns a stream of all the reads matching the search request, ordered
// by reference name, position, and ID.
StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error)
}
type streamingReadServiceClient struct {
cc *grpc.ClientConn
}
func NewStreamingReadServiceClient(cc *grpc.ClientConn) StreamingReadServiceClient {
return &streamingReadServiceClient{cc}
}
func (c *streamingReadServiceClient) StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_StreamingReadService_serviceDesc.Streams[0], c.cc, "/google.genomics.v1.StreamingReadService/StreamReads", opts...)
if err != nil {
return nil, err
}
x := &streamingReadServiceStreamReadsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type StreamingReadService_StreamReadsClient interface {
Recv() (*StreamReadsResponse, error)
grpc.ClientStream
}
type streamingReadServiceStreamReadsClient struct {
grpc.ClientStream
}
func (x *streamingReadServiceStreamReadsClient) Recv() (*StreamReadsResponse, error) {
m := new(StreamReadsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for StreamingReadService service
type StreamingReadServiceServer interface {
// Returns a stream of all the reads matching the search request, ordered
// by reference name, position, and ID.
StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error
}
func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer) {
s.RegisterService(&_StreamingReadService_serviceDesc, srv)
}
func _StreamingReadService_StreamReads_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamReadsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(StreamingReadServiceServer).StreamReads(m, &streamingReadServiceStreamReadsServer{stream})
}
type StreamingReadService_StreamReadsServer interface {
Send(*StreamReadsResponse) error
grpc.ServerStream
}
type streamingReadServiceStreamReadsServer struct {
grpc.ServerStream
}
func (x *streamingReadServiceStreamReadsServer) Send(m *StreamReadsResponse) error {
return x.ServerStream.SendMsg(m)
}
var _StreamingReadService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.genomics.v1.StreamingReadService",
HandlerType: (*StreamingReadServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "StreamReads",
Handler: _StreamingReadService_StreamReads_Handler,
ServerStreams: true,
},
},
Metadata: "google/genomics/v1/reads.proto",
}
// Client API for ReadServiceV1 service
type ReadServiceV1Client interface {
// Creates read group sets by asynchronously importing the provided
// information.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// The caller must have WRITE permissions to the dataset.
//
// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
//
// - Tags will be converted to strings - tag types are not preserved
// - Comments (`@CO`) in the input file header will not be preserved
// - Original header order of references (`@SQ`) will not be preserved
// - Any reverse stranded unmapped reads will be reverse complemented, and
// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
// - Unmapped reads will be stripped of positional information (reference name
// and position)
ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
// Exports a read group set to a BAM file in Google Cloud Storage.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Note that currently there may be some differences between exported BAM
// files and the original BAM file at the time of import. See
// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
// for caveats.
ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
// Searches for read group sets matching the criteria.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Implements
// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error)
// Updates a read group set.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// This method supports patch semantics.
UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
// Deletes a read group set.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
// Gets a read group set by ID.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
// Lists fixed width coverage buckets for a read group set, each of which
// correspond to a range of a reference sequence. Each bucket summarizes
// coverage information across its corresponding genomic range.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Coverage is defined as the number of reads which are aligned to a given
// base in the reference sequence. Coverage buckets are available at several
// precomputed bucket widths, enabling retrieval of various coverage 'zoom
// levels'. The caller must have READ permissions for the target read group
// set.
ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error)
// Gets a list of reads for one or more read group sets.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Reads search operates over a genomic coordinate space of reference sequence
// & position defined over the reference sequences to which the requested
// read group sets are aligned.
//
// If a target positional range is specified, search returns all reads whose
// alignment to the reference genome overlap the range. A query which
// specifies only read group set IDs yields all reads in those read group
// sets, including unmapped reads.
//
// All reads returned (including reads on subsequent pages) are ordered by
// genomic coordinate (by reference sequence, then position). Reads with
// equivalent genomic coordinates are returned in an unspecified order. This
// order is consistent, such that two queries for the same content (regardless
// of page size) yield reads in the same order across their respective streams
// of paginated responses.
//
// Implements
// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error)
}
type readServiceV1Client struct {
cc *grpc.ClientConn
}
func NewReadServiceV1Client(cc *grpc.ClientConn) ReadServiceV1Client {
return &readServiceV1Client{cc}
}
func (c *readServiceV1Client) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
out := new(google_longrunning.Operation)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
out := new(google_longrunning.Operation)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) {
out := new(SearchReadGroupSetsResponse)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
out := new(ReadGroupSet)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
out := new(google_protobuf1.Empty)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
out := new(ReadGroupSet)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) {
out := new(ListCoverageBucketsResponse)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *readServiceV1Client) SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) {
out := new(SearchReadsResponse)
err := grpc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReads", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for ReadServiceV1 service
type ReadServiceV1Server interface {
// Creates read group sets by asynchronously importing the provided
// information.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// The caller must have WRITE permissions to the dataset.
//
// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
//
// - Tags will be converted to strings - tag types are not preserved
// - Comments (`@CO`) in the input file header will not be preserved
// - Original header order of references (`@SQ`) will not be preserved
// - Any reverse stranded unmapped reads will be reverse complemented, and
// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
// - Unmapped reads will be stripped of positional information (reference name
// and position)
ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*google_longrunning.Operation, error)
// Exports a read group set to a BAM file in Google Cloud Storage.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Note that currently there may be some differences between exported BAM
// files and the original BAM file at the time of import. See
// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
// for caveats.
ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*google_longrunning.Operation, error)
// Searches for read group sets matching the criteria.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Implements
// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error)
// Updates a read group set.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// This method supports patch semantics.
UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error)
// Deletes a read group set.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*google_protobuf1.Empty, error)
// Gets a read group set by ID.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error)
// Lists fixed width coverage buckets for a read group set, each of which
// correspond to a range of a reference sequence. Each bucket summarizes
// coverage information across its corresponding genomic range.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Coverage is defined as the number of reads which are aligned to a given
// base in the reference sequence. Coverage buckets are available at several
// precomputed bucket widths, enabling retrieval of various coverage 'zoom
// levels'. The caller must have READ permissions for the target read group
// set.
ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error)
// Gets a list of reads for one or more read group sets.
//
// For the definitions of read group sets and other genomics resources, see
// [Fundamentals of Google
// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
//
// Reads search operates over a genomic coordinate space of reference sequence
// & position defined over the reference sequences to which the requested
// read group sets are aligned.
//
// If a target positional range is specified, search returns all reads whose
// alignment to the reference genome overlap the range. A query which
// specifies only read group set IDs yields all reads in those read group
// sets, including unmapped reads.
//
// All reads returned (including reads on subsequent pages) are ordered by
// genomic coordinate (by reference sequence, then position). Reads with
// equivalent genomic coordinates are returned in an unspecified order. This
// order is consistent, such that two queries for the same content (regardless
// of page size) yield reads in the same order across their respective streams
// of paginated responses.
//
// Implements
// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error)
}
func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server) {
s.RegisterService(&_ReadServiceV1_serviceDesc, srv)
}
func _ReadServiceV1_ImportReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ImportReadGroupSetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, req.(*ImportReadGroupSetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_ExportReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExportReadGroupSetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, req.(*ExportReadGroupSetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_SearchReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SearchReadGroupSetsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, req.(*SearchReadGroupSetsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_UpdateReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateReadGroupSetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, req.(*UpdateReadGroupSetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_DeleteReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteReadGroupSetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, req.(*DeleteReadGroupSetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_GetReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetReadGroupSetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/GetReadGroupSet",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, req.(*GetReadGroupSetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_ListCoverageBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListCoverageBucketsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, req.(*ListCoverageBucketsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ReadServiceV1_SearchReads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SearchReadsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ReadServiceV1Server).SearchReads(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReads",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ReadServiceV1Server).SearchReads(ctx, req.(*SearchReadsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.genomics.v1.ReadServiceV1",
HandlerType: (*ReadServiceV1Server)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ImportReadGroupSets",
Handler: _ReadServiceV1_ImportReadGroupSets_Handler,
},
{
MethodName: "ExportReadGroupSet",
Handler: _ReadServiceV1_ExportReadGroupSet_Handler,
},
{
MethodName: "SearchReadGroupSets",
Handler: _ReadServiceV1_SearchReadGroupSets_Handler,
},
{
MethodName: "UpdateReadGroupSet",
Handler: _ReadServiceV1_UpdateReadGroupSet_Handler,
},
{
MethodName: "DeleteReadGroupSet",
Handler: _ReadServiceV1_DeleteReadGroupSet_Handler,
},
{
MethodName: "GetReadGroupSet",
Handler: _ReadServiceV1_GetReadGroupSet_Handler,
},
{
MethodName: "ListCoverageBuckets",
Handler: _ReadServiceV1_ListCoverageBuckets_Handler,
},
{
MethodName: "SearchReads",
Handler: _ReadServiceV1_SearchReads_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/genomics/v1/reads.proto",
}
func init() { proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 1333 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
0x17, 0xff, 0x8e, 0x1d, 0xb7, 0xcd, 0x73, 0x93, 0x38, 0xe3, 0x7e, 0x8b, 0xe3, 0x90, 0x36, 0x6c,
0x69, 0x1b, 0x02, 0xb5, 0x89, 0x11, 0x2a, 0x4a, 0x85, 0x44, 0xda, 0x3a, 0xc1, 0x28, 0x69, 0xad,
0x75, 0x02, 0x82, 0xcb, 0x6a, 0x62, 0x4f, 0xb6, 0x4b, 0xec, 0xd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