1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/genomics/v1/reads.proto
3
4package genomics
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	empty "github.com/golang/protobuf/ptypes/empty"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	longrunning "google.golang.org/genproto/googleapis/longrunning"
15	field_mask "google.golang.org/genproto/protobuf/field_mask"
16	grpc "google.golang.org/grpc"
17	codes "google.golang.org/grpc/codes"
18	status "google.golang.org/grpc/status"
19)
20
21// Reference imports to suppress errors if they are not otherwise used.
22var _ = proto.Marshal
23var _ = fmt.Errorf
24var _ = math.Inf
25
26// This is a compile-time assertion to ensure that this generated file
27// is compatible with the proto package it is being compiled against.
28// A compilation error at this line likely means your copy of the
29// proto package needs to be updated.
30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
31
32type ImportReadGroupSetsRequest_PartitionStrategy int32
33
34const (
35	ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED ImportReadGroupSetsRequest_PartitionStrategy = 0
36	// In most cases, this strategy yields one read group set per file. This is
37	// the default behavior.
38	//
39	// Allocate one read group set per file per sample. For BAM files, read
40	// groups are considered to share a sample if they have identical sample
41	// names. Furthermore, all reads for each file which do not belong to a read
42	// group, if any, will be grouped into a single read group set per-file.
43	ImportReadGroupSetsRequest_PER_FILE_PER_SAMPLE ImportReadGroupSetsRequest_PartitionStrategy = 1
44	// Includes all read groups in all imported files into a single read group
45	// set. Requires that the headers for all imported files are equivalent. All
46	// reads which do not belong to a read group, if any, will be grouped into a
47	// separate read group set.
48	ImportReadGroupSetsRequest_MERGE_ALL ImportReadGroupSetsRequest_PartitionStrategy = 2
49)
50
51var ImportReadGroupSetsRequest_PartitionStrategy_name = map[int32]string{
52	0: "PARTITION_STRATEGY_UNSPECIFIED",
53	1: "PER_FILE_PER_SAMPLE",
54	2: "MERGE_ALL",
55}
56
57var ImportReadGroupSetsRequest_PartitionStrategy_value = map[string]int32{
58	"PARTITION_STRATEGY_UNSPECIFIED": 0,
59	"PER_FILE_PER_SAMPLE":            1,
60	"MERGE_ALL":                      2,
61}
62
63func (x ImportReadGroupSetsRequest_PartitionStrategy) String() string {
64	return proto.EnumName(ImportReadGroupSetsRequest_PartitionStrategy_name, int32(x))
65}
66
67func (ImportReadGroupSetsRequest_PartitionStrategy) EnumDescriptor() ([]byte, []int) {
68	return fileDescriptor_6b02d5d0c80a106c, []int{2, 0}
69}
70
71// The read group set search request.
72type SearchReadGroupSetsRequest struct {
73	// Restricts this query to read group sets within the given datasets. At least
74	// one ID must be provided.
75	DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"`
76	// Only return read group sets for which a substring of the name matches this
77	// string.
78	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
79	// The continuation token, which is used to page through large result sets.
80	// To get the next page of results, set this parameter to the value of
81	// `nextPageToken` from the previous response.
82	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
83	// The maximum number of results to return in a single page. If unspecified,
84	// defaults to 256. The maximum value is 1024.
85	PageSize             int32    `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
86	XXX_NoUnkeyedLiteral struct{} `json:"-"`
87	XXX_unrecognized     []byte   `json:"-"`
88	XXX_sizecache        int32    `json:"-"`
89}
90
91func (m *SearchReadGroupSetsRequest) Reset()         { *m = SearchReadGroupSetsRequest{} }
92func (m *SearchReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
93func (*SearchReadGroupSetsRequest) ProtoMessage()    {}
94func (*SearchReadGroupSetsRequest) Descriptor() ([]byte, []int) {
95	return fileDescriptor_6b02d5d0c80a106c, []int{0}
96}
97
98func (m *SearchReadGroupSetsRequest) XXX_Unmarshal(b []byte) error {
99	return xxx_messageInfo_SearchReadGroupSetsRequest.Unmarshal(m, b)
100}
101func (m *SearchReadGroupSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
102	return xxx_messageInfo_SearchReadGroupSetsRequest.Marshal(b, m, deterministic)
103}
104func (m *SearchReadGroupSetsRequest) XXX_Merge(src proto.Message) {
105	xxx_messageInfo_SearchReadGroupSetsRequest.Merge(m, src)
106}
107func (m *SearchReadGroupSetsRequest) XXX_Size() int {
108	return xxx_messageInfo_SearchReadGroupSetsRequest.Size(m)
109}
110func (m *SearchReadGroupSetsRequest) XXX_DiscardUnknown() {
111	xxx_messageInfo_SearchReadGroupSetsRequest.DiscardUnknown(m)
112}
113
114var xxx_messageInfo_SearchReadGroupSetsRequest proto.InternalMessageInfo
115
116func (m *SearchReadGroupSetsRequest) GetDatasetIds() []string {
117	if m != nil {
118		return m.DatasetIds
119	}
120	return nil
121}
122
123func (m *SearchReadGroupSetsRequest) GetName() string {
124	if m != nil {
125		return m.Name
126	}
127	return ""
128}
129
130func (m *SearchReadGroupSetsRequest) GetPageToken() string {
131	if m != nil {
132		return m.PageToken
133	}
134	return ""
135}
136
137func (m *SearchReadGroupSetsRequest) GetPageSize() int32 {
138	if m != nil {
139		return m.PageSize
140	}
141	return 0
142}
143
144// The read group set search response.
145type SearchReadGroupSetsResponse struct {
146	// The list of matching read group sets.
147	ReadGroupSets []*ReadGroupSet `protobuf:"bytes,1,rep,name=read_group_sets,json=readGroupSets,proto3" json:"read_group_sets,omitempty"`
148	// The continuation token, which is used to page through large result sets.
149	// Provide this value in a subsequent request to return the next page of
150	// results. This field will be empty if there aren't any additional results.
151	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
152	XXX_NoUnkeyedLiteral struct{} `json:"-"`
153	XXX_unrecognized     []byte   `json:"-"`
154	XXX_sizecache        int32    `json:"-"`
155}
156
157func (m *SearchReadGroupSetsResponse) Reset()         { *m = SearchReadGroupSetsResponse{} }
158func (m *SearchReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
159func (*SearchReadGroupSetsResponse) ProtoMessage()    {}
160func (*SearchReadGroupSetsResponse) Descriptor() ([]byte, []int) {
161	return fileDescriptor_6b02d5d0c80a106c, []int{1}
162}
163
164func (m *SearchReadGroupSetsResponse) XXX_Unmarshal(b []byte) error {
165	return xxx_messageInfo_SearchReadGroupSetsResponse.Unmarshal(m, b)
166}
167func (m *SearchReadGroupSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
168	return xxx_messageInfo_SearchReadGroupSetsResponse.Marshal(b, m, deterministic)
169}
170func (m *SearchReadGroupSetsResponse) XXX_Merge(src proto.Message) {
171	xxx_messageInfo_SearchReadGroupSetsResponse.Merge(m, src)
172}
173func (m *SearchReadGroupSetsResponse) XXX_Size() int {
174	return xxx_messageInfo_SearchReadGroupSetsResponse.Size(m)
175}
176func (m *SearchReadGroupSetsResponse) XXX_DiscardUnknown() {
177	xxx_messageInfo_SearchReadGroupSetsResponse.DiscardUnknown(m)
178}
179
180var xxx_messageInfo_SearchReadGroupSetsResponse proto.InternalMessageInfo
181
182func (m *SearchReadGroupSetsResponse) GetReadGroupSets() []*ReadGroupSet {
183	if m != nil {
184		return m.ReadGroupSets
185	}
186	return nil
187}
188
189func (m *SearchReadGroupSetsResponse) GetNextPageToken() string {
190	if m != nil {
191		return m.NextPageToken
192	}
193	return ""
194}
195
196// The read group set import request.
197type ImportReadGroupSetsRequest struct {
198	// Required. The ID of the dataset these read group sets will belong to. The
199	// caller must have WRITE permissions to this dataset.
200	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
201	// The reference set to which the imported read group sets are aligned to, if
202	// any. The reference names of this reference set must be a superset of those
203	// found in the imported file headers. If no reference set id is provided, a
204	// best effort is made to associate with a matching reference set.
205	ReferenceSetId string `protobuf:"bytes,4,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"`
206	// A list of URIs pointing at [BAM
207	// files](https://samtools.github.io/hts-specs/SAMv1.pdf)
208	// in Google Cloud Storage.
209	// Those URIs can include wildcards (*), but do not add or remove
210	// matching files before import has completed.
211	//
212	// Note that Google Cloud Storage object listing is only eventually
213	// consistent: files added may be not be immediately visible to
214	// everyone. Thus, if using a wildcard it is preferable not to start
215	// the import immediately after the files are created.
216	SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"`
217	// The partition strategy describes how read groups are partitioned into read
218	// group sets.
219	PartitionStrategy    ImportReadGroupSetsRequest_PartitionStrategy `protobuf:"varint,5,opt,name=partition_strategy,json=partitionStrategy,proto3,enum=google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy" json:"partition_strategy,omitempty"`
220	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
221	XXX_unrecognized     []byte                                       `json:"-"`
222	XXX_sizecache        int32                                        `json:"-"`
223}
224
225func (m *ImportReadGroupSetsRequest) Reset()         { *m = ImportReadGroupSetsRequest{} }
226func (m *ImportReadGroupSetsRequest) String() string { return proto.CompactTextString(m) }
227func (*ImportReadGroupSetsRequest) ProtoMessage()    {}
228func (*ImportReadGroupSetsRequest) Descriptor() ([]byte, []int) {
229	return fileDescriptor_6b02d5d0c80a106c, []int{2}
230}
231
232func (m *ImportReadGroupSetsRequest) XXX_Unmarshal(b []byte) error {
233	return xxx_messageInfo_ImportReadGroupSetsRequest.Unmarshal(m, b)
234}
235func (m *ImportReadGroupSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
236	return xxx_messageInfo_ImportReadGroupSetsRequest.Marshal(b, m, deterministic)
237}
238func (m *ImportReadGroupSetsRequest) XXX_Merge(src proto.Message) {
239	xxx_messageInfo_ImportReadGroupSetsRequest.Merge(m, src)
240}
241func (m *ImportReadGroupSetsRequest) XXX_Size() int {
242	return xxx_messageInfo_ImportReadGroupSetsRequest.Size(m)
243}
244func (m *ImportReadGroupSetsRequest) XXX_DiscardUnknown() {
245	xxx_messageInfo_ImportReadGroupSetsRequest.DiscardUnknown(m)
246}
247
248var xxx_messageInfo_ImportReadGroupSetsRequest proto.InternalMessageInfo
249
250func (m *ImportReadGroupSetsRequest) GetDatasetId() string {
251	if m != nil {
252		return m.DatasetId
253	}
254	return ""
255}
256
257func (m *ImportReadGroupSetsRequest) GetReferenceSetId() string {
258	if m != nil {
259		return m.ReferenceSetId
260	}
261	return ""
262}
263
264func (m *ImportReadGroupSetsRequest) GetSourceUris() []string {
265	if m != nil {
266		return m.SourceUris
267	}
268	return nil
269}
270
271func (m *ImportReadGroupSetsRequest) GetPartitionStrategy() ImportReadGroupSetsRequest_PartitionStrategy {
272	if m != nil {
273		return m.PartitionStrategy
274	}
275	return ImportReadGroupSetsRequest_PARTITION_STRATEGY_UNSPECIFIED
276}
277
278// The read group set import response.
279type ImportReadGroupSetsResponse struct {
280	// IDs of the read group sets that were created.
281	ReadGroupSetIds      []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds,proto3" json:"read_group_set_ids,omitempty"`
282	XXX_NoUnkeyedLiteral struct{} `json:"-"`
283	XXX_unrecognized     []byte   `json:"-"`
284	XXX_sizecache        int32    `json:"-"`
285}
286
287func (m *ImportReadGroupSetsResponse) Reset()         { *m = ImportReadGroupSetsResponse{} }
288func (m *ImportReadGroupSetsResponse) String() string { return proto.CompactTextString(m) }
289func (*ImportReadGroupSetsResponse) ProtoMessage()    {}
290func (*ImportReadGroupSetsResponse) Descriptor() ([]byte, []int) {
291	return fileDescriptor_6b02d5d0c80a106c, []int{3}
292}
293
294func (m *ImportReadGroupSetsResponse) XXX_Unmarshal(b []byte) error {
295	return xxx_messageInfo_ImportReadGroupSetsResponse.Unmarshal(m, b)
296}
297func (m *ImportReadGroupSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298	return xxx_messageInfo_ImportReadGroupSetsResponse.Marshal(b, m, deterministic)
299}
300func (m *ImportReadGroupSetsResponse) XXX_Merge(src proto.Message) {
301	xxx_messageInfo_ImportReadGroupSetsResponse.Merge(m, src)
302}
303func (m *ImportReadGroupSetsResponse) XXX_Size() int {
304	return xxx_messageInfo_ImportReadGroupSetsResponse.Size(m)
305}
306func (m *ImportReadGroupSetsResponse) XXX_DiscardUnknown() {
307	xxx_messageInfo_ImportReadGroupSetsResponse.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_ImportReadGroupSetsResponse proto.InternalMessageInfo
311
312func (m *ImportReadGroupSetsResponse) GetReadGroupSetIds() []string {
313	if m != nil {
314		return m.ReadGroupSetIds
315	}
316	return nil
317}
318
319// The read group set export request.
320type ExportReadGroupSetRequest struct {
321	// Required. The Google Cloud project ID that owns this
322	// export. The caller must have WRITE access to this project.
323	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
324	// Required. A Google Cloud Storage URI for the exported BAM file.
325	// The currently authenticated user must have write access to the new file.
326	// An error will be returned if the URI already contains data.
327	ExportUri string `protobuf:"bytes,2,opt,name=export_uri,json=exportUri,proto3" json:"export_uri,omitempty"`
328	// Required. The ID of the read group set to export. The caller must have
329	// READ access to this read group set.
330	ReadGroupSetId string `protobuf:"bytes,3,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
331	// The reference names to export. If this is not specified, all reference
332	// sequences, including unmapped reads, are exported.
333	// Use `*` to export only unmapped reads.
334	ReferenceNames       []string `protobuf:"bytes,4,rep,name=reference_names,json=referenceNames,proto3" json:"reference_names,omitempty"`
335	XXX_NoUnkeyedLiteral struct{} `json:"-"`
336	XXX_unrecognized     []byte   `json:"-"`
337	XXX_sizecache        int32    `json:"-"`
338}
339
340func (m *ExportReadGroupSetRequest) Reset()         { *m = ExportReadGroupSetRequest{} }
341func (m *ExportReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
342func (*ExportReadGroupSetRequest) ProtoMessage()    {}
343func (*ExportReadGroupSetRequest) Descriptor() ([]byte, []int) {
344	return fileDescriptor_6b02d5d0c80a106c, []int{4}
345}
346
347func (m *ExportReadGroupSetRequest) XXX_Unmarshal(b []byte) error {
348	return xxx_messageInfo_ExportReadGroupSetRequest.Unmarshal(m, b)
349}
350func (m *ExportReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
351	return xxx_messageInfo_ExportReadGroupSetRequest.Marshal(b, m, deterministic)
352}
353func (m *ExportReadGroupSetRequest) XXX_Merge(src proto.Message) {
354	xxx_messageInfo_ExportReadGroupSetRequest.Merge(m, src)
355}
356func (m *ExportReadGroupSetRequest) XXX_Size() int {
357	return xxx_messageInfo_ExportReadGroupSetRequest.Size(m)
358}
359func (m *ExportReadGroupSetRequest) XXX_DiscardUnknown() {
360	xxx_messageInfo_ExportReadGroupSetRequest.DiscardUnknown(m)
361}
362
363var xxx_messageInfo_ExportReadGroupSetRequest proto.InternalMessageInfo
364
365func (m *ExportReadGroupSetRequest) GetProjectId() string {
366	if m != nil {
367		return m.ProjectId
368	}
369	return ""
370}
371
372func (m *ExportReadGroupSetRequest) GetExportUri() string {
373	if m != nil {
374		return m.ExportUri
375	}
376	return ""
377}
378
379func (m *ExportReadGroupSetRequest) GetReadGroupSetId() string {
380	if m != nil {
381		return m.ReadGroupSetId
382	}
383	return ""
384}
385
386func (m *ExportReadGroupSetRequest) GetReferenceNames() []string {
387	if m != nil {
388		return m.ReferenceNames
389	}
390	return nil
391}
392
393type UpdateReadGroupSetRequest struct {
394	// The ID of the read group set to be updated. The caller must have WRITE
395	// permissions to the dataset associated with this read group set.
396	ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
397	// The new read group set data. See `updateMask` for details on mutability of
398	// fields.
399	ReadGroupSet *ReadGroupSet `protobuf:"bytes,2,opt,name=read_group_set,json=readGroupSet,proto3" json:"read_group_set,omitempty"`
400	// An optional mask specifying which fields to update. Supported fields:
401	//
402	// * [name][google.genomics.v1.ReadGroupSet.name].
403	// * [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id].
404	//
405	// Leaving `updateMask` unset is equivalent to specifying all mutable
406	// fields.
407	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
408	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
409	XXX_unrecognized     []byte                `json:"-"`
410	XXX_sizecache        int32                 `json:"-"`
411}
412
413func (m *UpdateReadGroupSetRequest) Reset()         { *m = UpdateReadGroupSetRequest{} }
414func (m *UpdateReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
415func (*UpdateReadGroupSetRequest) ProtoMessage()    {}
416func (*UpdateReadGroupSetRequest) Descriptor() ([]byte, []int) {
417	return fileDescriptor_6b02d5d0c80a106c, []int{5}
418}
419
420func (m *UpdateReadGroupSetRequest) XXX_Unmarshal(b []byte) error {
421	return xxx_messageInfo_UpdateReadGroupSetRequest.Unmarshal(m, b)
422}
423func (m *UpdateReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
424	return xxx_messageInfo_UpdateReadGroupSetRequest.Marshal(b, m, deterministic)
425}
426func (m *UpdateReadGroupSetRequest) XXX_Merge(src proto.Message) {
427	xxx_messageInfo_UpdateReadGroupSetRequest.Merge(m, src)
428}
429func (m *UpdateReadGroupSetRequest) XXX_Size() int {
430	return xxx_messageInfo_UpdateReadGroupSetRequest.Size(m)
431}
432func (m *UpdateReadGroupSetRequest) XXX_DiscardUnknown() {
433	xxx_messageInfo_UpdateReadGroupSetRequest.DiscardUnknown(m)
434}
435
436var xxx_messageInfo_UpdateReadGroupSetRequest proto.InternalMessageInfo
437
438func (m *UpdateReadGroupSetRequest) GetReadGroupSetId() string {
439	if m != nil {
440		return m.ReadGroupSetId
441	}
442	return ""
443}
444
445func (m *UpdateReadGroupSetRequest) GetReadGroupSet() *ReadGroupSet {
446	if m != nil {
447		return m.ReadGroupSet
448	}
449	return nil
450}
451
452func (m *UpdateReadGroupSetRequest) GetUpdateMask() *field_mask.FieldMask {
453	if m != nil {
454		return m.UpdateMask
455	}
456	return nil
457}
458
459type DeleteReadGroupSetRequest struct {
460	// The ID of the read group set to be deleted. The caller must have WRITE
461	// permissions to the dataset associated with this read group set.
462	ReadGroupSetId       string   `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
463	XXX_NoUnkeyedLiteral struct{} `json:"-"`
464	XXX_unrecognized     []byte   `json:"-"`
465	XXX_sizecache        int32    `json:"-"`
466}
467
468func (m *DeleteReadGroupSetRequest) Reset()         { *m = DeleteReadGroupSetRequest{} }
469func (m *DeleteReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
470func (*DeleteReadGroupSetRequest) ProtoMessage()    {}
471func (*DeleteReadGroupSetRequest) Descriptor() ([]byte, []int) {
472	return fileDescriptor_6b02d5d0c80a106c, []int{6}
473}
474
475func (m *DeleteReadGroupSetRequest) XXX_Unmarshal(b []byte) error {
476	return xxx_messageInfo_DeleteReadGroupSetRequest.Unmarshal(m, b)
477}
478func (m *DeleteReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
479	return xxx_messageInfo_DeleteReadGroupSetRequest.Marshal(b, m, deterministic)
480}
481func (m *DeleteReadGroupSetRequest) XXX_Merge(src proto.Message) {
482	xxx_messageInfo_DeleteReadGroupSetRequest.Merge(m, src)
483}
484func (m *DeleteReadGroupSetRequest) XXX_Size() int {
485	return xxx_messageInfo_DeleteReadGroupSetRequest.Size(m)
486}
487func (m *DeleteReadGroupSetRequest) XXX_DiscardUnknown() {
488	xxx_messageInfo_DeleteReadGroupSetRequest.DiscardUnknown(m)
489}
490
491var xxx_messageInfo_DeleteReadGroupSetRequest proto.InternalMessageInfo
492
493func (m *DeleteReadGroupSetRequest) GetReadGroupSetId() string {
494	if m != nil {
495		return m.ReadGroupSetId
496	}
497	return ""
498}
499
500type GetReadGroupSetRequest struct {
501	// The ID of the read group set.
502	ReadGroupSetId       string   `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
503	XXX_NoUnkeyedLiteral struct{} `json:"-"`
504	XXX_unrecognized     []byte   `json:"-"`
505	XXX_sizecache        int32    `json:"-"`
506}
507
508func (m *GetReadGroupSetRequest) Reset()         { *m = GetReadGroupSetRequest{} }
509func (m *GetReadGroupSetRequest) String() string { return proto.CompactTextString(m) }
510func (*GetReadGroupSetRequest) ProtoMessage()    {}
511func (*GetReadGroupSetRequest) Descriptor() ([]byte, []int) {
512	return fileDescriptor_6b02d5d0c80a106c, []int{7}
513}
514
515func (m *GetReadGroupSetRequest) XXX_Unmarshal(b []byte) error {
516	return xxx_messageInfo_GetReadGroupSetRequest.Unmarshal(m, b)
517}
518func (m *GetReadGroupSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
519	return xxx_messageInfo_GetReadGroupSetRequest.Marshal(b, m, deterministic)
520}
521func (m *GetReadGroupSetRequest) XXX_Merge(src proto.Message) {
522	xxx_messageInfo_GetReadGroupSetRequest.Merge(m, src)
523}
524func (m *GetReadGroupSetRequest) XXX_Size() int {
525	return xxx_messageInfo_GetReadGroupSetRequest.Size(m)
526}
527func (m *GetReadGroupSetRequest) XXX_DiscardUnknown() {
528	xxx_messageInfo_GetReadGroupSetRequest.DiscardUnknown(m)
529}
530
531var xxx_messageInfo_GetReadGroupSetRequest proto.InternalMessageInfo
532
533func (m *GetReadGroupSetRequest) GetReadGroupSetId() string {
534	if m != nil {
535		return m.ReadGroupSetId
536	}
537	return ""
538}
539
540type ListCoverageBucketsRequest struct {
541	// Required. The ID of the read group set over which coverage is requested.
542	ReadGroupSetId string `protobuf:"bytes,1,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
543	// The name of the reference to query, within the reference set associated
544	// with this query. Optional.
545	ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"`
546	// The start position of the range on the reference, 0-based inclusive. If
547	// specified, `referenceName` must also be specified. Defaults to 0.
548	Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
549	// The end position of the range on the reference, 0-based exclusive. If
550	// specified, `referenceName` must also be specified. If unset or 0, defaults
551	// to the length of the reference.
552	End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
553	// The desired width of each reported coverage bucket in base pairs. This
554	// will be rounded down to the nearest precomputed bucket width; the value
555	// of which is returned as `bucketWidth` in the response. Defaults
556	// to infinity (each bucket spans an entire reference sequence) or the length
557	// of the target range, if specified. The smallest precomputed
558	// `bucketWidth` is currently 2048 base pairs; this is subject to
559	// change.
560	TargetBucketWidth int64 `protobuf:"varint,6,opt,name=target_bucket_width,json=targetBucketWidth,proto3" json:"target_bucket_width,omitempty"`
561	// The continuation token, which is used to page through large result sets.
562	// To get the next page of results, set this parameter to the value of
563	// `nextPageToken` from the previous response.
564	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
565	// The maximum number of results to return in a single page. If unspecified,
566	// defaults to 1024. The maximum value is 2048.
567	PageSize             int32    `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
568	XXX_NoUnkeyedLiteral struct{} `json:"-"`
569	XXX_unrecognized     []byte   `json:"-"`
570	XXX_sizecache        int32    `json:"-"`
571}
572
573func (m *ListCoverageBucketsRequest) Reset()         { *m = ListCoverageBucketsRequest{} }
574func (m *ListCoverageBucketsRequest) String() string { return proto.CompactTextString(m) }
575func (*ListCoverageBucketsRequest) ProtoMessage()    {}
576func (*ListCoverageBucketsRequest) Descriptor() ([]byte, []int) {
577	return fileDescriptor_6b02d5d0c80a106c, []int{8}
578}
579
580func (m *ListCoverageBucketsRequest) XXX_Unmarshal(b []byte) error {
581	return xxx_messageInfo_ListCoverageBucketsRequest.Unmarshal(m, b)
582}
583func (m *ListCoverageBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
584	return xxx_messageInfo_ListCoverageBucketsRequest.Marshal(b, m, deterministic)
585}
586func (m *ListCoverageBucketsRequest) XXX_Merge(src proto.Message) {
587	xxx_messageInfo_ListCoverageBucketsRequest.Merge(m, src)
588}
589func (m *ListCoverageBucketsRequest) XXX_Size() int {
590	return xxx_messageInfo_ListCoverageBucketsRequest.Size(m)
591}
592func (m *ListCoverageBucketsRequest) XXX_DiscardUnknown() {
593	xxx_messageInfo_ListCoverageBucketsRequest.DiscardUnknown(m)
594}
595
596var xxx_messageInfo_ListCoverageBucketsRequest proto.InternalMessageInfo
597
598func (m *ListCoverageBucketsRequest) GetReadGroupSetId() string {
599	if m != nil {
600		return m.ReadGroupSetId
601	}
602	return ""
603}
604
605func (m *ListCoverageBucketsRequest) GetReferenceName() string {
606	if m != nil {
607		return m.ReferenceName
608	}
609	return ""
610}
611
612func (m *ListCoverageBucketsRequest) GetStart() int64 {
613	if m != nil {
614		return m.Start
615	}
616	return 0
617}
618
619func (m *ListCoverageBucketsRequest) GetEnd() int64 {
620	if m != nil {
621		return m.End
622	}
623	return 0
624}
625
626func (m *ListCoverageBucketsRequest) GetTargetBucketWidth() int64 {
627	if m != nil {
628		return m.TargetBucketWidth
629	}
630	return 0
631}
632
633func (m *ListCoverageBucketsRequest) GetPageToken() string {
634	if m != nil {
635		return m.PageToken
636	}
637	return ""
638}
639
640func (m *ListCoverageBucketsRequest) GetPageSize() int32 {
641	if m != nil {
642		return m.PageSize
643	}
644	return 0
645}
646
647// A bucket over which read coverage has been precomputed. A bucket corresponds
648// to a specific range of the reference sequence.
649type CoverageBucket struct {
650	// The genomic coordinate range spanned by this bucket.
651	Range *Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"`
652	// The average number of reads which are aligned to each individual
653	// reference base in this bucket.
654	MeanCoverage         float32  `protobuf:"fixed32,2,opt,name=mean_coverage,json=meanCoverage,proto3" json:"mean_coverage,omitempty"`
655	XXX_NoUnkeyedLiteral struct{} `json:"-"`
656	XXX_unrecognized     []byte   `json:"-"`
657	XXX_sizecache        int32    `json:"-"`
658}
659
660func (m *CoverageBucket) Reset()         { *m = CoverageBucket{} }
661func (m *CoverageBucket) String() string { return proto.CompactTextString(m) }
662func (*CoverageBucket) ProtoMessage()    {}
663func (*CoverageBucket) Descriptor() ([]byte, []int) {
664	return fileDescriptor_6b02d5d0c80a106c, []int{9}
665}
666
667func (m *CoverageBucket) XXX_Unmarshal(b []byte) error {
668	return xxx_messageInfo_CoverageBucket.Unmarshal(m, b)
669}
670func (m *CoverageBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
671	return xxx_messageInfo_CoverageBucket.Marshal(b, m, deterministic)
672}
673func (m *CoverageBucket) XXX_Merge(src proto.Message) {
674	xxx_messageInfo_CoverageBucket.Merge(m, src)
675}
676func (m *CoverageBucket) XXX_Size() int {
677	return xxx_messageInfo_CoverageBucket.Size(m)
678}
679func (m *CoverageBucket) XXX_DiscardUnknown() {
680	xxx_messageInfo_CoverageBucket.DiscardUnknown(m)
681}
682
683var xxx_messageInfo_CoverageBucket proto.InternalMessageInfo
684
685func (m *CoverageBucket) GetRange() *Range {
686	if m != nil {
687		return m.Range
688	}
689	return nil
690}
691
692func (m *CoverageBucket) GetMeanCoverage() float32 {
693	if m != nil {
694		return m.MeanCoverage
695	}
696	return 0
697}
698
699type ListCoverageBucketsResponse struct {
700	// The length of each coverage bucket in base pairs. Note that buckets at the
701	// end of a reference sequence may be shorter. This value is omitted if the
702	// bucket width is infinity (the default behaviour, with no range or
703	// `targetBucketWidth`).
704	BucketWidth int64 `protobuf:"varint,1,opt,name=bucket_width,json=bucketWidth,proto3" json:"bucket_width,omitempty"`
705	// The coverage buckets. The list of buckets is sparse; a bucket with 0
706	// overlapping reads is not returned. A bucket never crosses more than one
707	// reference sequence. Each bucket has width `bucketWidth`, unless
708	// its end is the end of the reference sequence.
709	CoverageBuckets []*CoverageBucket `protobuf:"bytes,2,rep,name=coverage_buckets,json=coverageBuckets,proto3" json:"coverage_buckets,omitempty"`
710	// The continuation token, which is used to page through large result sets.
711	// Provide this value in a subsequent request to return the next page of
712	// results. This field will be empty if there aren't any additional results.
713	NextPageToken        string   `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
714	XXX_NoUnkeyedLiteral struct{} `json:"-"`
715	XXX_unrecognized     []byte   `json:"-"`
716	XXX_sizecache        int32    `json:"-"`
717}
718
719func (m *ListCoverageBucketsResponse) Reset()         { *m = ListCoverageBucketsResponse{} }
720func (m *ListCoverageBucketsResponse) String() string { return proto.CompactTextString(m) }
721func (*ListCoverageBucketsResponse) ProtoMessage()    {}
722func (*ListCoverageBucketsResponse) Descriptor() ([]byte, []int) {
723	return fileDescriptor_6b02d5d0c80a106c, []int{10}
724}
725
726func (m *ListCoverageBucketsResponse) XXX_Unmarshal(b []byte) error {
727	return xxx_messageInfo_ListCoverageBucketsResponse.Unmarshal(m, b)
728}
729func (m *ListCoverageBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
730	return xxx_messageInfo_ListCoverageBucketsResponse.Marshal(b, m, deterministic)
731}
732func (m *ListCoverageBucketsResponse) XXX_Merge(src proto.Message) {
733	xxx_messageInfo_ListCoverageBucketsResponse.Merge(m, src)
734}
735func (m *ListCoverageBucketsResponse) XXX_Size() int {
736	return xxx_messageInfo_ListCoverageBucketsResponse.Size(m)
737}
738func (m *ListCoverageBucketsResponse) XXX_DiscardUnknown() {
739	xxx_messageInfo_ListCoverageBucketsResponse.DiscardUnknown(m)
740}
741
742var xxx_messageInfo_ListCoverageBucketsResponse proto.InternalMessageInfo
743
744func (m *ListCoverageBucketsResponse) GetBucketWidth() int64 {
745	if m != nil {
746		return m.BucketWidth
747	}
748	return 0
749}
750
751func (m *ListCoverageBucketsResponse) GetCoverageBuckets() []*CoverageBucket {
752	if m != nil {
753		return m.CoverageBuckets
754	}
755	return nil
756}
757
758func (m *ListCoverageBucketsResponse) GetNextPageToken() string {
759	if m != nil {
760		return m.NextPageToken
761	}
762	return ""
763}
764
765// The read search request.
766type SearchReadsRequest struct {
767	// The IDs of the read groups sets within which to search for reads. All
768	// specified read group sets must be aligned against a common set of reference
769	// sequences; this defines the genomic coordinates for the query. Must specify
770	// one of `readGroupSetIds` or `readGroupIds`.
771	ReadGroupSetIds []string `protobuf:"bytes,1,rep,name=read_group_set_ids,json=readGroupSetIds,proto3" json:"read_group_set_ids,omitempty"`
772	// The IDs of the read groups within which to search for reads. All specified
773	// read groups must belong to the same read group sets. Must specify one of
774	// `readGroupSetIds` or `readGroupIds`.
775	ReadGroupIds []string `protobuf:"bytes,5,rep,name=read_group_ids,json=readGroupIds,proto3" json:"read_group_ids,omitempty"`
776	// The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
777	// `*`, only unmapped reads are returned. If unspecified, all reads (mapped
778	// and unmapped) are returned.
779	ReferenceName string `protobuf:"bytes,7,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"`
780	// The start position of the range on the reference, 0-based inclusive. If
781	// specified, `referenceName` must also be specified.
782	Start int64 `protobuf:"varint,8,opt,name=start,proto3" json:"start,omitempty"`
783	// The end position of the range on the reference, 0-based exclusive. If
784	// specified, `referenceName` must also be specified.
785	End int64 `protobuf:"varint,9,opt,name=end,proto3" json:"end,omitempty"`
786	// The continuation token, which is used to page through large result sets.
787	// To get the next page of results, set this parameter to the value of
788	// `nextPageToken` from the previous response.
789	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
790	// The maximum number of results to return in a single page. If unspecified,
791	// defaults to 256. The maximum value is 2048.
792	PageSize             int32    `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
793	XXX_NoUnkeyedLiteral struct{} `json:"-"`
794	XXX_unrecognized     []byte   `json:"-"`
795	XXX_sizecache        int32    `json:"-"`
796}
797
798func (m *SearchReadsRequest) Reset()         { *m = SearchReadsRequest{} }
799func (m *SearchReadsRequest) String() string { return proto.CompactTextString(m) }
800func (*SearchReadsRequest) ProtoMessage()    {}
801func (*SearchReadsRequest) Descriptor() ([]byte, []int) {
802	return fileDescriptor_6b02d5d0c80a106c, []int{11}
803}
804
805func (m *SearchReadsRequest) XXX_Unmarshal(b []byte) error {
806	return xxx_messageInfo_SearchReadsRequest.Unmarshal(m, b)
807}
808func (m *SearchReadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
809	return xxx_messageInfo_SearchReadsRequest.Marshal(b, m, deterministic)
810}
811func (m *SearchReadsRequest) XXX_Merge(src proto.Message) {
812	xxx_messageInfo_SearchReadsRequest.Merge(m, src)
813}
814func (m *SearchReadsRequest) XXX_Size() int {
815	return xxx_messageInfo_SearchReadsRequest.Size(m)
816}
817func (m *SearchReadsRequest) XXX_DiscardUnknown() {
818	xxx_messageInfo_SearchReadsRequest.DiscardUnknown(m)
819}
820
821var xxx_messageInfo_SearchReadsRequest proto.InternalMessageInfo
822
823func (m *SearchReadsRequest) GetReadGroupSetIds() []string {
824	if m != nil {
825		return m.ReadGroupSetIds
826	}
827	return nil
828}
829
830func (m *SearchReadsRequest) GetReadGroupIds() []string {
831	if m != nil {
832		return m.ReadGroupIds
833	}
834	return nil
835}
836
837func (m *SearchReadsRequest) GetReferenceName() string {
838	if m != nil {
839		return m.ReferenceName
840	}
841	return ""
842}
843
844func (m *SearchReadsRequest) GetStart() int64 {
845	if m != nil {
846		return m.Start
847	}
848	return 0
849}
850
851func (m *SearchReadsRequest) GetEnd() int64 {
852	if m != nil {
853		return m.End
854	}
855	return 0
856}
857
858func (m *SearchReadsRequest) GetPageToken() string {
859	if m != nil {
860		return m.PageToken
861	}
862	return ""
863}
864
865func (m *SearchReadsRequest) GetPageSize() int32 {
866	if m != nil {
867		return m.PageSize
868	}
869	return 0
870}
871
872// The read search response.
873type SearchReadsResponse struct {
874	// The list of matching alignments sorted by mapped genomic coordinate,
875	// if any, ascending in position within the same reference. Unmapped reads,
876	// which have no position, are returned contiguously and are sorted in
877	// ascending lexicographic order by fragment name.
878	Alignments []*Read `protobuf:"bytes,1,rep,name=alignments,proto3" json:"alignments,omitempty"`
879	// The continuation token, which is used to page through large result sets.
880	// Provide this value in a subsequent request to return the next page of
881	// results. This field will be empty if there aren't any additional results.
882	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
883	XXX_NoUnkeyedLiteral struct{} `json:"-"`
884	XXX_unrecognized     []byte   `json:"-"`
885	XXX_sizecache        int32    `json:"-"`
886}
887
888func (m *SearchReadsResponse) Reset()         { *m = SearchReadsResponse{} }
889func (m *SearchReadsResponse) String() string { return proto.CompactTextString(m) }
890func (*SearchReadsResponse) ProtoMessage()    {}
891func (*SearchReadsResponse) Descriptor() ([]byte, []int) {
892	return fileDescriptor_6b02d5d0c80a106c, []int{12}
893}
894
895func (m *SearchReadsResponse) XXX_Unmarshal(b []byte) error {
896	return xxx_messageInfo_SearchReadsResponse.Unmarshal(m, b)
897}
898func (m *SearchReadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
899	return xxx_messageInfo_SearchReadsResponse.Marshal(b, m, deterministic)
900}
901func (m *SearchReadsResponse) XXX_Merge(src proto.Message) {
902	xxx_messageInfo_SearchReadsResponse.Merge(m, src)
903}
904func (m *SearchReadsResponse) XXX_Size() int {
905	return xxx_messageInfo_SearchReadsResponse.Size(m)
906}
907func (m *SearchReadsResponse) XXX_DiscardUnknown() {
908	xxx_messageInfo_SearchReadsResponse.DiscardUnknown(m)
909}
910
911var xxx_messageInfo_SearchReadsResponse proto.InternalMessageInfo
912
913func (m *SearchReadsResponse) GetAlignments() []*Read {
914	if m != nil {
915		return m.Alignments
916	}
917	return nil
918}
919
920func (m *SearchReadsResponse) GetNextPageToken() string {
921	if m != nil {
922		return m.NextPageToken
923	}
924	return ""
925}
926
927// The stream reads request.
928type StreamReadsRequest struct {
929	// The Google Cloud project ID which will be billed
930	// for this access. The caller must have WRITE access to this project.
931	// Required.
932	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
933	// The ID of the read group set from which to stream reads.
934	ReadGroupSetId string `protobuf:"bytes,2,opt,name=read_group_set_id,json=readGroupSetId,proto3" json:"read_group_set_id,omitempty"`
935	// The reference sequence name, for example `chr1`,
936	// `1`, or `chrX`. If set to *, only unmapped reads are
937	// returned.
938	ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"`
939	// The start position of the range on the reference, 0-based inclusive. If
940	// specified, `referenceName` must also be specified.
941	Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
942	// The end position of the range on the reference, 0-based exclusive. If
943	// specified, `referenceName` must also be specified.
944	End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
945	// Restricts results to a shard containing approximately `1/totalShards`
946	// of the normal response payload for this query. Results from a sharded
947	// request are disjoint from those returned by all queries which differ only
948	// in their shard parameter. A shard may yield 0 results; this is especially
949	// likely for large values of `totalShards`.
950	//
951	// Valid values are `[0, totalShards)`.
952	Shard int32 `protobuf:"varint,6,opt,name=shard,proto3" json:"shard,omitempty"`
953	// Specifying `totalShards` causes a disjoint subset of the normal response
954	// payload to be returned for each query with a unique `shard` parameter
955	// specified. A best effort is made to yield equally sized shards. Sharding
956	// can be used to distribute processing amongst workers, where each worker is
957	// assigned a unique `shard` number and all workers specify the same
958	// `totalShards` number. The union of reads returned for all sharded queries
959	// `[0, totalShards)` is equal to those returned by a single unsharded query.
960	//
961	// Queries for different values of `totalShards` with common divisors will
962	// share shard boundaries. For example, streaming `shard` 2 of 5
963	// `totalShards` yields the same results as streaming `shard`s 4 and 5 of 10
964	// `totalShards`. This property can be leveraged for adaptive retries.
965	TotalShards          int32    `protobuf:"varint,7,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
966	XXX_NoUnkeyedLiteral struct{} `json:"-"`
967	XXX_unrecognized     []byte   `json:"-"`
968	XXX_sizecache        int32    `json:"-"`
969}
970
971func (m *StreamReadsRequest) Reset()         { *m = StreamReadsRequest{} }
972func (m *StreamReadsRequest) String() string { return proto.CompactTextString(m) }
973func (*StreamReadsRequest) ProtoMessage()    {}
974func (*StreamReadsRequest) Descriptor() ([]byte, []int) {
975	return fileDescriptor_6b02d5d0c80a106c, []int{13}
976}
977
978func (m *StreamReadsRequest) XXX_Unmarshal(b []byte) error {
979	return xxx_messageInfo_StreamReadsRequest.Unmarshal(m, b)
980}
981func (m *StreamReadsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
982	return xxx_messageInfo_StreamReadsRequest.Marshal(b, m, deterministic)
983}
984func (m *StreamReadsRequest) XXX_Merge(src proto.Message) {
985	xxx_messageInfo_StreamReadsRequest.Merge(m, src)
986}
987func (m *StreamReadsRequest) XXX_Size() int {
988	return xxx_messageInfo_StreamReadsRequest.Size(m)
989}
990func (m *StreamReadsRequest) XXX_DiscardUnknown() {
991	xxx_messageInfo_StreamReadsRequest.DiscardUnknown(m)
992}
993
994var xxx_messageInfo_StreamReadsRequest proto.InternalMessageInfo
995
996func (m *StreamReadsRequest) GetProjectId() string {
997	if m != nil {
998		return m.ProjectId
999	}
1000	return ""
1001}
1002
1003func (m *StreamReadsRequest) GetReadGroupSetId() string {
1004	if m != nil {
1005		return m.ReadGroupSetId
1006	}
1007	return ""
1008}
1009
1010func (m *StreamReadsRequest) GetReferenceName() string {
1011	if m != nil {
1012		return m.ReferenceName
1013	}
1014	return ""
1015}
1016
1017func (m *StreamReadsRequest) GetStart() int64 {
1018	if m != nil {
1019		return m.Start
1020	}
1021	return 0
1022}
1023
1024func (m *StreamReadsRequest) GetEnd() int64 {
1025	if m != nil {
1026		return m.End
1027	}
1028	return 0
1029}
1030
1031func (m *StreamReadsRequest) GetShard() int32 {
1032	if m != nil {
1033		return m.Shard
1034	}
1035	return 0
1036}
1037
1038func (m *StreamReadsRequest) GetTotalShards() int32 {
1039	if m != nil {
1040		return m.TotalShards
1041	}
1042	return 0
1043}
1044
1045type StreamReadsResponse struct {
1046	Alignments           []*Read  `protobuf:"bytes,1,rep,name=alignments,proto3" json:"alignments,omitempty"`
1047	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1048	XXX_unrecognized     []byte   `json:"-"`
1049	XXX_sizecache        int32    `json:"-"`
1050}
1051
1052func (m *StreamReadsResponse) Reset()         { *m = StreamReadsResponse{} }
1053func (m *StreamReadsResponse) String() string { return proto.CompactTextString(m) }
1054func (*StreamReadsResponse) ProtoMessage()    {}
1055func (*StreamReadsResponse) Descriptor() ([]byte, []int) {
1056	return fileDescriptor_6b02d5d0c80a106c, []int{14}
1057}
1058
1059func (m *StreamReadsResponse) XXX_Unmarshal(b []byte) error {
1060	return xxx_messageInfo_StreamReadsResponse.Unmarshal(m, b)
1061}
1062func (m *StreamReadsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1063	return xxx_messageInfo_StreamReadsResponse.Marshal(b, m, deterministic)
1064}
1065func (m *StreamReadsResponse) XXX_Merge(src proto.Message) {
1066	xxx_messageInfo_StreamReadsResponse.Merge(m, src)
1067}
1068func (m *StreamReadsResponse) XXX_Size() int {
1069	return xxx_messageInfo_StreamReadsResponse.Size(m)
1070}
1071func (m *StreamReadsResponse) XXX_DiscardUnknown() {
1072	xxx_messageInfo_StreamReadsResponse.DiscardUnknown(m)
1073}
1074
1075var xxx_messageInfo_StreamReadsResponse proto.InternalMessageInfo
1076
1077func (m *StreamReadsResponse) GetAlignments() []*Read {
1078	if m != nil {
1079		return m.Alignments
1080	}
1081	return nil
1082}
1083
1084func init() {
1085	proto.RegisterEnum("google.genomics.v1.ImportReadGroupSetsRequest_PartitionStrategy", ImportReadGroupSetsRequest_PartitionStrategy_name, ImportReadGroupSetsRequest_PartitionStrategy_value)
1086	proto.RegisterType((*SearchReadGroupSetsRequest)(nil), "google.genomics.v1.SearchReadGroupSetsRequest")
1087	proto.RegisterType((*SearchReadGroupSetsResponse)(nil), "google.genomics.v1.SearchReadGroupSetsResponse")
1088	proto.RegisterType((*ImportReadGroupSetsRequest)(nil), "google.genomics.v1.ImportReadGroupSetsRequest")
1089	proto.RegisterType((*ImportReadGroupSetsResponse)(nil), "google.genomics.v1.ImportReadGroupSetsResponse")
1090	proto.RegisterType((*ExportReadGroupSetRequest)(nil), "google.genomics.v1.ExportReadGroupSetRequest")
1091	proto.RegisterType((*UpdateReadGroupSetRequest)(nil), "google.genomics.v1.UpdateReadGroupSetRequest")
1092	proto.RegisterType((*DeleteReadGroupSetRequest)(nil), "google.genomics.v1.DeleteReadGroupSetRequest")
1093	proto.RegisterType((*GetReadGroupSetRequest)(nil), "google.genomics.v1.GetReadGroupSetRequest")
1094	proto.RegisterType((*ListCoverageBucketsRequest)(nil), "google.genomics.v1.ListCoverageBucketsRequest")
1095	proto.RegisterType((*CoverageBucket)(nil), "google.genomics.v1.CoverageBucket")
1096	proto.RegisterType((*ListCoverageBucketsResponse)(nil), "google.genomics.v1.ListCoverageBucketsResponse")
1097	proto.RegisterType((*SearchReadsRequest)(nil), "google.genomics.v1.SearchReadsRequest")
1098	proto.RegisterType((*SearchReadsResponse)(nil), "google.genomics.v1.SearchReadsResponse")
1099	proto.RegisterType((*StreamReadsRequest)(nil), "google.genomics.v1.StreamReadsRequest")
1100	proto.RegisterType((*StreamReadsResponse)(nil), "google.genomics.v1.StreamReadsResponse")
1101}
1102
1103func init() { proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor_6b02d5d0c80a106c) }
1104
1105var fileDescriptor_6b02d5d0c80a106c = []byte{
1106	// 1333 bytes of a gzipped FileDescriptorProto
1107	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
1108	0x17, 0xff, 0x8e, 0x1d, 0xb7, 0xcd, 0x73, 0x93, 0x38, 0xe3, 0x7e, 0x8b, 0xe3, 0x90, 0x36, 0x6c,
1109	0x69, 0x1b, 0x02, 0xb5, 0x89, 0x11, 0x2a, 0x4a, 0x85, 0x44, 0xda, 0x3a, 0xc1, 0x28, 0x69, 0xad,
1110	0x75, 0x02, 0x82, 0xcb, 0x6a, 0x62, 0x4f, 0xb6, 0x4b, 0xec, 0xdd, 0x65, 0x66, 0x9c, 0xfe, 0x52,
1111	0x2f, 0xbd, 0x81, 0x04, 0x1c, 0x10, 0x27, 0xae, 0x5c, 0x39, 0x22, 0xfe, 0x08, 0x4e, 0x88, 0x0b,
1112	0x7f, 0x00, 0xe2, 0x0f, 0xe0, 0xc4, 0x11, 0xcd, 0xec, 0x6e, 0xbc, 0xeb, 0x9d, 0x6d, 0x1c, 0x55,
1113	0xe2, 0xb6, 0xfb, 0xe6, 0xb3, 0x6f, 0x3e, 0xef, 0xf7, 0x5b, 0xb8, 0x64, 0x7b, 0x9e, 0xdd, 0xa7,
1114	0x75, 0x9b, 0xba, 0xde, 0xc0, 0xe9, 0xf2, 0xfa, 0xd1, 0x5a, 0x9d, 0x51, 0xd2, 0xe3, 0x35, 0x9f,
1115	0x79, 0xc2, 0xc3, 0x38, 0x38, 0xaf, 0x45, 0xe7, 0xb5, 0xa3, 0xb5, 0xea, 0xab, 0xe1, 0x37, 0xc4,
1116	0x77, 0xea, 0xc4, 0x75, 0x3d, 0x41, 0x84, 0xe3, 0xb9, 0xe1, 0x17, 0x55, 0xad, 0x46, 0xe2, 0xda,
1117	0x34, 0x3c, 0xbf, 0x96, 0x71, 0x23, 0xe9, 0x3b, 0xb6, 0x3b, 0xa0, 0xae, 0x08, 0x71, 0x57, 0x33,
1118	0x70, 0x36, 0xf3, 0x86, 0x3e, 0xa7, 0x11, 0xec, 0x4a, 0x08, 0xeb, 0x7b, 0xae, 0xcd, 0x86, 0xae,
1119	0xeb, 0xb8, 0x76, 0xdd, 0xf3, 0x29, 0x4b, 0x70, 0x5a, 0x0c, 0x41, 0xea, 0x6d, 0x7f, 0x78, 0x50,
1120	0xa7, 0x03, 0x5f, 0x3c, 0x0e, 0x0f, 0x97, 0xc7, 0x0f, 0x0f, 0x1c, 0xda, 0xef, 0x59, 0x03, 0xc2,
1121	0x0f, 0x03, 0x84, 0xf1, 0x35, 0x82, 0x6a, 0x87, 0x12, 0xd6, 0x7d, 0x60, 0x52, 0xd2, 0xdb, 0x92,
1122	0x04, 0x3a, 0x54, 0x70, 0x93, 0x7e, 0x31, 0xa4, 0x5c, 0xe0, 0xcb, 0x50, 0xec, 0x11, 0x41, 0x38,
1123	0x15, 0x96, 0xd3, 0xe3, 0x15, 0xb4, 0x9c, 0x5f, 0x99, 0x36, 0x21, 0x14, 0xb5, 0x7a, 0x1c, 0x63,
1124	0x98, 0x72, 0xc9, 0x80, 0x56, 0xf2, 0xcb, 0x68, 0x65, 0xda, 0x54, 0xcf, 0x78, 0x09, 0xc0, 0x27,
1125	0x36, 0xb5, 0x84, 0x77, 0x48, 0xdd, 0x4a, 0x4e, 0x9d, 0x4c, 0x4b, 0xc9, 0xae, 0x14, 0xe0, 0x45,
1126	0x50, 0x2f, 0x16, 0x77, 0x9e, 0xd0, 0xca, 0xd4, 0x32, 0x5a, 0x29, 0x98, 0xe7, 0xa4, 0xa0, 0xe3,
1127	0x3c, 0xa1, 0xc6, 0xb7, 0x08, 0x16, 0xb5, 0x7c, 0xb8, 0xef, 0xb9, 0x9c, 0xe2, 0x0f, 0x61, 0x4e,
1128	0x7a, 0xca, 0x52, 0xae, 0xb2, 0x38, 0x15, 0x01, 0xa9, 0x62, 0x63, 0xb9, 0x96, 0x0e, 0x67, 0x2d,
1129	0xae, 0xc3, 0x9c, 0x61, 0x71, 0x8d, 0xf8, 0x1a, 0xcc, 0xb9, 0xf4, 0x91, 0xb0, 0x52, 0x54, 0x67,
1130	0xa4, 0xb8, 0x1d, 0xd1, 0x35, 0xfe, 0xc8, 0x41, 0xb5, 0x35, 0xf0, 0x3d, 0x26, 0xb4, 0x1e, 0x5a,
1131	0x02, 0x18, 0x79, 0xa8, 0x82, 0x02, 0x63, 0x8f, 0x1d, 0x84, 0x57, 0xa0, 0xc4, 0xe8, 0x01, 0x65,
1132	0xd4, 0xed, 0x52, 0x2b, 0x04, 0x4d, 0x29, 0xd0, 0xec, 0xb1, 0xbc, 0xa3, 0x90, 0x97, 0xa1, 0xc8,
1133	0xbd, 0x21, 0xeb, 0x52, 0x6b, 0xc8, 0x1c, 0x5e, 0xc9, 0x05, 0xae, 0x0e, 0x44, 0x7b, 0xcc, 0xe1,
1134	0xd8, 0x03, 0xec, 0x13, 0x26, 0x1c, 0x19, 0x7d, 0x8b, 0x0b, 0x46, 0x04, 0xb5, 0x1f, 0x57, 0x0a,
1135	0xcb, 0x68, 0x65, 0xb6, 0xf1, 0x81, 0xce, 0xfa, 0x6c, 0xd6, 0xb5, 0x76, 0xa4, 0xa8, 0x13, 0xea,
1136	0x31, 0xe7, 0xfd, 0x71, 0x91, 0x61, 0xc1, 0x7c, 0x0a, 0x87, 0x0d, 0xb8, 0xd4, 0xde, 0x30, 0x77,
1137	0x5b, 0xbb, 0xad, 0xfb, 0xf7, 0xac, 0xce, 0xae, 0xb9, 0xb1, 0xdb, 0xdc, 0xfa, 0xd4, 0xda, 0xbb,
1138	0xd7, 0x69, 0x37, 0xef, 0xb4, 0x36, 0x5b, 0xcd, 0xbb, 0xa5, 0xff, 0xe1, 0x57, 0xa0, 0xdc, 0x6e,
1139	0x9a, 0xd6, 0x66, 0x6b, 0xbb, 0x69, 0xc9, 0x87, 0xce, 0xc6, 0x4e, 0x7b, 0xbb, 0x59, 0x42, 0x78,
1140	0x06, 0xa6, 0x77, 0x9a, 0xe6, 0x56, 0xd3, 0xda, 0xd8, 0xde, 0x2e, 0xe5, 0x8c, 0x8f, 0x60, 0x51,
1141	0xcb, 0x31, 0x8c, 0xf5, 0x9b, 0x80, 0x93, 0xb1, 0x8e, 0xe5, 0xe0, 0x5c, 0x3c, 0x98, 0xad, 0x1e,
1142	0x37, 0x7e, 0x42, 0xb0, 0xd0, 0x7c, 0x34, 0xae, 0x2c, 0x16, 0x25, 0x9f, 0x79, 0x9f, 0xd3, 0x6e,
1143	0x3c, 0x4a, 0xa1, 0xa4, 0xd5, 0x93, 0xc7, 0x54, 0x7d, 0x2b, 0x7d, 0x1f, 0x65, 0x6c, 0x20, 0xd9,
1144	0x63, 0x0e, 0x7e, 0x03, 0xe6, 0x53, 0x44, 0xc2, 0x8c, 0x9f, 0x4d, 0xf2, 0xc0, 0xd7, 0x65, 0x7e,
1145	0x46, 0xf1, 0x96, 0xd5, 0xc0, 0x2b, 0x53, 0x8a, 0xf0, 0x28, 0xdc, 0xf7, 0xa4, 0xd4, 0xf8, 0x15,
1146	0xc1, 0xc2, 0x9e, 0xdf, 0x23, 0x82, 0xea, 0xf8, 0x6a, 0x6f, 0x44, 0xda, 0x1b, 0x37, 0x61, 0x36,
1147	0x09, 0x55, 0xfc, 0x27, 0x29, 0x88, 0xf3, 0x71, 0x4d, 0xf8, 0x16, 0x14, 0x87, 0x8a, 0x8f, 0x6a,
1148	0x0f, 0xca, 0xbc, 0x62, 0xa3, 0x1a, 0x29, 0x89, 0x3a, 0x48, 0x6d, 0x53, 0x76, 0x90, 0x1d, 0xc2,
1149	0x0f, 0x4d, 0x08, 0xe0, 0xf2, 0xd9, 0xd8, 0x84, 0x85, 0xbb, 0xb4, 0x4f, 0x5f, 0xd6, 0x18, 0xe3,
1150	0x0e, 0x5c, 0xdc, 0xa2, 0xe2, 0x25, 0x95, 0x3c, 0xcf, 0x41, 0x75, 0xdb, 0xe1, 0xe2, 0x8e, 0x77,
1151	0x44, 0x19, 0xb1, 0xe9, 0xed, 0x61, 0xf7, 0x30, 0x56, 0xb1, 0xa7, 0xf0, 0xed, 0x55, 0x98, 0x4d,
1152	0x46, 0x33, 0x8c, 0xfa, 0x4c, 0x22, 0x98, 0xf8, 0x02, 0x14, 0xb8, 0x20, 0x4c, 0xa8, 0xca, 0xce,
1153	0x9b, 0xc1, 0x0b, 0x2e, 0x41, 0x9e, 0xba, 0x3d, 0x55, 0xa0, 0x79, 0x53, 0x3e, 0xe2, 0x1a, 0x94,
1154	0x05, 0x61, 0x36, 0x15, 0xd6, 0xbe, 0xa2, 0x64, 0x3d, 0x74, 0x7a, 0xe2, 0x41, 0xe5, 0x8c, 0x42,
1155	0xcc, 0x07, 0x47, 0x01, 0xd9, 0x4f, 0xe4, 0xc1, 0x58, 0x23, 0x3d, 0xfb, 0xc2, 0x46, 0x7a, 0x6e,
1156	0xac, 0x91, 0x1e, 0xc0, 0x6c, 0xd2, 0x7e, 0x5c, 0x87, 0x82, 0x1a, 0x56, 0xca, 0xd6, 0x62, 0x63,
1157	0x41, 0x9b, 0x1f, 0x12, 0x60, 0x06, 0x38, 0x7c, 0x05, 0x66, 0x06, 0x94, 0xb8, 0x56, 0x37, 0xd4,
1158	0xa3, 0x12, 0x2b, 0x67, 0x9e, 0x97, 0xc2, 0x48, 0xb7, 0xf1, 0x0b, 0x82, 0x45, 0xad, 0xb3, 0xc3,
1159	0x22, 0x7e, 0x0d, 0xce, 0x27, 0x8c, 0x45, 0xca, 0xd8, 0xe2, 0x7e, 0xcc, 0xcc, 0x1d, 0x28, 0x45,
1160	0x57, 0x84, 0x8e, 0x09, 0xda, 0x5f, 0xb1, 0x61, 0xe8, 0x38, 0x26, 0x6f, 0x32, 0xe7, 0xba, 0xc9,
1161	0x9b, 0x75, 0x8d, 0x3d, 0xaf, 0x6b, 0xec, 0x7f, 0x23, 0xc0, 0xa3, 0x51, 0x73, 0x9c, 0x1e, 0xa7,
1162	0xe9, 0x3a, 0xf8, 0xf5, 0x44, 0xf1, 0x49, 0x60, 0x41, 0x01, 0x47, 0xa5, 0x25, 0x51, 0xe9, 0x34,
1163	0x3a, 0xfb, 0xc2, 0x34, 0x3a, 0xa7, 0x49, 0xa3, 0xe9, 0x51, 0x1a, 0x25, 0xd3, 0x22, 0x7f, 0xaa,
1164	0xf9, 0xfa, 0x10, 0xca, 0x09, 0x9b, 0xc3, 0x28, 0xbd, 0x07, 0x70, 0xbc, 0xa4, 0x44, 0x13, 0xb5,
1165	0x92, 0xd5, 0x40, 0xcc, 0x18, 0x76, 0xe2, 0x31, 0xfa, 0x97, 0xf4, 0xb6, 0x60, 0x94, 0x0c, 0x12,
1166	0xde, 0x3e, 0xa1, 0x31, 0x6b, 0x6b, 0x35, 0xf7, 0x5f, 0xd4, 0xaa, 0xc4, 0x3d, 0x20, 0xac, 0xa7,
1167	0xaa, 0xb3, 0x60, 0x06, 0x2f, 0x32, 0x9b, 0x85, 0x27, 0x48, 0xdf, 0x52, 0xaf, 0x5c, 0xc5, 0xb1,
1168	0x60, 0x16, 0x95, 0xac, 0xa3, 0x44, 0xc6, 0x7d, 0x28, 0x27, 0xec, 0x7c, 0x59, 0x0f, 0x37, 0xbe,
1169	0x47, 0x70, 0x21, 0xd0, 0xe8, 0xb8, 0xb6, 0x3c, 0xed, 0x50, 0x76, 0xe4, 0x74, 0x29, 0x7e, 0x06,
1170	0xc5, 0xd8, 0x4d, 0xf8, 0x9a, 0x4e, 0x5b, 0xda, 0xe5, 0xd5, 0xeb, 0x27, 0xe2, 0x02, 0xca, 0xc6,
1171	0xe2, 0xf3, 0xdf, 0xff, 0xfc, 0x2e, 0xf7, 0x7f, 0xa3, 0x74, 0xbc, 0x39, 0xaf, 0x73, 0x05, 0x5b,
1172	0x47, 0xab, 0x6f, 0xa3, 0xc6, 0x6f, 0xd3, 0x30, 0x13, 0xa3, 0xf3, 0xf1, 0x1a, 0xfe, 0x12, 0x41,
1173	0x59, 0x33, 0xd0, 0x71, 0xed, 0x74, 0xdb, 0x49, 0x75, 0x29, 0xc2, 0xc7, 0x36, 0xdf, 0xda, 0xfd,
1174	0x68, 0xf3, 0x35, 0xae, 0x28, 0x5e, 0x4b, 0x46, 0x65, 0x7c, 0x6f, 0xe6, 0xeb, 0x8e, 0x52, 0xba,
1175	0x8e, 0x56, 0xf1, 0x0f, 0x08, 0x70, 0x7a, 0x1f, 0xc0, 0x37, 0x74, 0x54, 0x32, 0xf7, 0x86, 0x93,
1176	0x98, 0xdc, 0x54, 0x4c, 0xd6, 0x8c, 0xb7, 0x52, 0x4c, 0xea, 0x4f, 0x53, 0x79, 0xfb, 0x6c, 0x3d,
1177	0xd8, 0x28, 0x42, 0x76, 0x65, 0xcd, 0x9a, 0xab, 0xf7, 0x54, 0xf6, 0x7e, 0x5e, 0xad, 0x4f, 0x8c,
1178	0x0f, 0x63, 0x9a, 0xed, 0xbb, 0x3a, 0x57, 0x9f, 0x49, 0x76, 0x3f, 0x22, 0xc0, 0xe9, 0xdd, 0x44,
1179	0xef, 0xbb, 0xcc, 0x1d, 0xa6, 0x7a, 0xe2, 0x02, 0x62, 0xbc, 0xaf, 0xc8, 0xdc, 0x6c, 0x5c, 0x9d,
1180	0xcc, 0x7d, 0x63, 0x7b, 0x0e, 0xfe, 0x0a, 0x01, 0x4e, 0x6f, 0x1d, 0x7a, 0x9a, 0x99, 0xdb, 0x49,
1181	0xf5, 0x62, 0x6a, 0xc5, 0x69, 0xca, 0x3f, 0x28, 0xe3, 0x86, 0x22, 0x77, 0x7d, 0x75, 0x32, 0x72,
1182	0xf8, 0x1b, 0x04, 0x73, 0x63, 0xab, 0x0b, 0x5e, 0xd5, 0x31, 0xd1, 0xef, 0x37, 0x13, 0x78, 0x2b,
1183	0x24, 0x84, 0x27, 0x24, 0xf4, 0x33, 0x82, 0xb2, 0x66, 0x30, 0xeb, 0x53, 0x2c, 0x7b, 0x5d, 0xd2,
1184	0xa7, 0xd8, 0x0b, 0x26, 0x7e, 0x14, 0x55, 0xfc, 0xee, 0x44, 0x3c, 0xeb, 0xd1, 0xf8, 0x0e, 0x27,
1185	0x3f, 0x7e, 0x0a, 0xc5, 0xd8, 0x84, 0xca, 0xe8, 0x6a, 0xa9, 0xb1, 0x9d, 0xd1, 0xd5, 0xd2, 0xa3,
1186	0x4e, 0xd3, 0xd5, 0x46, 0x99, 0x7f, 0x9b, 0xc2, 0xc5, 0xae, 0x37, 0xd0, 0xa8, 0xba, 0x0d, 0x4a,
1187	0x4b, 0x5b, 0xe6, 0x48, 0x1b, 0x7d, 0xb6, 0x1e, 0x21, 0xbc, 0x3e, 0x71, 0xed, 0x9a, 0xc7, 0x6c,
1188	0xf9, 0x33, 0xaf, 0x32, 0xa8, 0x1e, 0x1c, 0x11, 0xdf, 0xe1, 0xf1, 0x1f, 0xfc, 0x5b, 0xd1, 0xf3,
1189	0x3f, 0x08, 0xed, 0x9f, 0x51, 0xc8, 0x77, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x9b, 0xce,
1190	0x6e, 0xa3, 0x10, 0x00, 0x00,
1191}
1192
1193// Reference imports to suppress errors if they are not otherwise used.
1194var _ context.Context
1195var _ grpc.ClientConn
1196
1197// This is a compile-time assertion to ensure that this generated file
1198// is compatible with the grpc package it is being compiled against.
1199const _ = grpc.SupportPackageIsVersion4
1200
1201// StreamingReadServiceClient is the client API for StreamingReadService service.
1202//
1203// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1204type StreamingReadServiceClient interface {
1205	// Returns a stream of all the reads matching the search request, ordered
1206	// by reference name, position, and ID.
1207	StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error)
1208}
1209
1210type streamingReadServiceClient struct {
1211	cc *grpc.ClientConn
1212}
1213
1214func NewStreamingReadServiceClient(cc *grpc.ClientConn) StreamingReadServiceClient {
1215	return &streamingReadServiceClient{cc}
1216}
1217
1218func (c *streamingReadServiceClient) StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) {
1219	stream, err := c.cc.NewStream(ctx, &_StreamingReadService_serviceDesc.Streams[0], "/google.genomics.v1.StreamingReadService/StreamReads", opts...)
1220	if err != nil {
1221		return nil, err
1222	}
1223	x := &streamingReadServiceStreamReadsClient{stream}
1224	if err := x.ClientStream.SendMsg(in); err != nil {
1225		return nil, err
1226	}
1227	if err := x.ClientStream.CloseSend(); err != nil {
1228		return nil, err
1229	}
1230	return x, nil
1231}
1232
1233type StreamingReadService_StreamReadsClient interface {
1234	Recv() (*StreamReadsResponse, error)
1235	grpc.ClientStream
1236}
1237
1238type streamingReadServiceStreamReadsClient struct {
1239	grpc.ClientStream
1240}
1241
1242func (x *streamingReadServiceStreamReadsClient) Recv() (*StreamReadsResponse, error) {
1243	m := new(StreamReadsResponse)
1244	if err := x.ClientStream.RecvMsg(m); err != nil {
1245		return nil, err
1246	}
1247	return m, nil
1248}
1249
1250// StreamingReadServiceServer is the server API for StreamingReadService service.
1251type StreamingReadServiceServer interface {
1252	// Returns a stream of all the reads matching the search request, ordered
1253	// by reference name, position, and ID.
1254	StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error
1255}
1256
1257// UnimplementedStreamingReadServiceServer can be embedded to have forward compatible implementations.
1258type UnimplementedStreamingReadServiceServer struct {
1259}
1260
1261func (*UnimplementedStreamingReadServiceServer) StreamReads(req *StreamReadsRequest, srv StreamingReadService_StreamReadsServer) error {
1262	return status.Errorf(codes.Unimplemented, "method StreamReads not implemented")
1263}
1264
1265func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer) {
1266	s.RegisterService(&_StreamingReadService_serviceDesc, srv)
1267}
1268
1269func _StreamingReadService_StreamReads_Handler(srv interface{}, stream grpc.ServerStream) error {
1270	m := new(StreamReadsRequest)
1271	if err := stream.RecvMsg(m); err != nil {
1272		return err
1273	}
1274	return srv.(StreamingReadServiceServer).StreamReads(m, &streamingReadServiceStreamReadsServer{stream})
1275}
1276
1277type StreamingReadService_StreamReadsServer interface {
1278	Send(*StreamReadsResponse) error
1279	grpc.ServerStream
1280}
1281
1282type streamingReadServiceStreamReadsServer struct {
1283	grpc.ServerStream
1284}
1285
1286func (x *streamingReadServiceStreamReadsServer) Send(m *StreamReadsResponse) error {
1287	return x.ServerStream.SendMsg(m)
1288}
1289
1290var _StreamingReadService_serviceDesc = grpc.ServiceDesc{
1291	ServiceName: "google.genomics.v1.StreamingReadService",
1292	HandlerType: (*StreamingReadServiceServer)(nil),
1293	Methods:     []grpc.MethodDesc{},
1294	Streams: []grpc.StreamDesc{
1295		{
1296			StreamName:    "StreamReads",
1297			Handler:       _StreamingReadService_StreamReads_Handler,
1298			ServerStreams: true,
1299		},
1300	},
1301	Metadata: "google/genomics/v1/reads.proto",
1302}
1303
1304// ReadServiceV1Client is the client API for ReadServiceV1 service.
1305//
1306// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1307type ReadServiceV1Client interface {
1308	// Creates read group sets by asynchronously importing the provided
1309	// information.
1310	//
1311	// For the definitions of read group sets and other genomics resources, see
1312	// [Fundamentals of Google
1313	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1314	//
1315	// The caller must have WRITE permissions to the dataset.
1316	//
1317	// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1318	//
1319	// - Tags will be converted to strings - tag types are not preserved
1320	// - Comments (`@CO`) in the input file header will not be preserved
1321	// - Original header order of references (`@SQ`) will not be preserved
1322	// - Any reverse stranded unmapped reads will be reverse complemented, and
1323	// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1324	// - Unmapped reads will be stripped of positional information (reference name
1325	// and position)
1326	ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1327	// Exports a read group set to a BAM file in Google Cloud Storage.
1328	//
1329	// For the definitions of read group sets and other genomics resources, see
1330	// [Fundamentals of Google
1331	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1332	//
1333	// Note that currently there may be some differences between exported BAM
1334	// files and the original BAM file at the time of import. See
1335	// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
1336	// for caveats.
1337	ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1338	// Searches for read group sets matching the criteria.
1339	//
1340	// For the definitions of read group sets and other genomics resources, see
1341	// [Fundamentals of Google
1342	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1343	//
1344	// Implements
1345	// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1346	SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error)
1347	// Updates a read group set.
1348	//
1349	// For the definitions of read group sets and other genomics resources, see
1350	// [Fundamentals of Google
1351	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1352	//
1353	// This method supports patch semantics.
1354	UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
1355	// Deletes a read group set.
1356	//
1357	// For the definitions of read group sets and other genomics resources, see
1358	// [Fundamentals of Google
1359	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1360	DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1361	// Gets a read group set by ID.
1362	//
1363	// For the definitions of read group sets and other genomics resources, see
1364	// [Fundamentals of Google
1365	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1366	GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
1367	// Lists fixed width coverage buckets for a read group set, each of which
1368	// correspond to a range of a reference sequence. Each bucket summarizes
1369	// coverage information across its corresponding genomic range.
1370	//
1371	// For the definitions of read group sets and other genomics resources, see
1372	// [Fundamentals of Google
1373	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1374	//
1375	// Coverage is defined as the number of reads which are aligned to a given
1376	// base in the reference sequence. Coverage buckets are available at several
1377	// precomputed bucket widths, enabling retrieval of various coverage 'zoom
1378	// levels'. The caller must have READ permissions for the target read group
1379	// set.
1380	ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error)
1381	// Gets a list of reads for one or more read group sets.
1382	//
1383	// For the definitions of read group sets and other genomics resources, see
1384	// [Fundamentals of Google
1385	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1386	//
1387	// Reads search operates over a genomic coordinate space of reference sequence
1388	// & position defined over the reference sequences to which the requested
1389	// read group sets are aligned.
1390	//
1391	// If a target positional range is specified, search returns all reads whose
1392	// alignment to the reference genome overlap the range. A query which
1393	// specifies only read group set IDs yields all reads in those read group
1394	// sets, including unmapped reads.
1395	//
1396	// All reads returned (including reads on subsequent pages) are ordered by
1397	// genomic coordinate (by reference sequence, then position). Reads with
1398	// equivalent genomic coordinates are returned in an unspecified order. This
1399	// order is consistent, such that two queries for the same content (regardless
1400	// of page size) yield reads in the same order across their respective streams
1401	// of paginated responses.
1402	//
1403	// Implements
1404	// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
1405	SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error)
1406}
1407
1408type readServiceV1Client struct {
1409	cc *grpc.ClientConn
1410}
1411
1412func NewReadServiceV1Client(cc *grpc.ClientConn) ReadServiceV1Client {
1413	return &readServiceV1Client{cc}
1414}
1415
1416func (c *readServiceV1Client) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1417	out := new(longrunning.Operation)
1418	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", in, out, opts...)
1419	if err != nil {
1420		return nil, err
1421	}
1422	return out, nil
1423}
1424
1425func (c *readServiceV1Client) ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1426	out := new(longrunning.Operation)
1427	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", in, out, opts...)
1428	if err != nil {
1429		return nil, err
1430	}
1431	return out, nil
1432}
1433
1434func (c *readServiceV1Client) SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) {
1435	out := new(SearchReadGroupSetsResponse)
1436	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", in, out, opts...)
1437	if err != nil {
1438		return nil, err
1439	}
1440	return out, nil
1441}
1442
1443func (c *readServiceV1Client) UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
1444	out := new(ReadGroupSet)
1445	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", in, out, opts...)
1446	if err != nil {
1447		return nil, err
1448	}
1449	return out, nil
1450}
1451
1452func (c *readServiceV1Client) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1453	out := new(empty.Empty)
1454	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", in, out, opts...)
1455	if err != nil {
1456		return nil, err
1457	}
1458	return out, nil
1459}
1460
1461func (c *readServiceV1Client) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
1462	out := new(ReadGroupSet)
1463	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", in, out, opts...)
1464	if err != nil {
1465		return nil, err
1466	}
1467	return out, nil
1468}
1469
1470func (c *readServiceV1Client) ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) {
1471	out := new(ListCoverageBucketsResponse)
1472	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", in, out, opts...)
1473	if err != nil {
1474		return nil, err
1475	}
1476	return out, nil
1477}
1478
1479func (c *readServiceV1Client) SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) {
1480	out := new(SearchReadsResponse)
1481	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReads", in, out, opts...)
1482	if err != nil {
1483		return nil, err
1484	}
1485	return out, nil
1486}
1487
1488// ReadServiceV1Server is the server API for ReadServiceV1 service.
1489type ReadServiceV1Server interface {
1490	// Creates read group sets by asynchronously importing the provided
1491	// information.
1492	//
1493	// For the definitions of read group sets and other genomics resources, see
1494	// [Fundamentals of Google
1495	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1496	//
1497	// The caller must have WRITE permissions to the dataset.
1498	//
1499	// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1500	//
1501	// - Tags will be converted to strings - tag types are not preserved
1502	// - Comments (`@CO`) in the input file header will not be preserved
1503	// - Original header order of references (`@SQ`) will not be preserved
1504	// - Any reverse stranded unmapped reads will be reverse complemented, and
1505	// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1506	// - Unmapped reads will be stripped of positional information (reference name
1507	// and position)
1508	ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*longrunning.Operation, error)
1509	// Exports a read group set to a BAM file in Google Cloud Storage.
1510	//
1511	// For the definitions of read group sets and other genomics resources, see
1512	// [Fundamentals of Google
1513	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1514	//
1515	// Note that currently there may be some differences between exported BAM
1516	// files and the original BAM file at the time of import. See
1517	// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
1518	// for caveats.
1519	ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*longrunning.Operation, error)
1520	// Searches for read group sets matching the criteria.
1521	//
1522	// For the definitions of read group sets and other genomics resources, see
1523	// [Fundamentals of Google
1524	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1525	//
1526	// Implements
1527	// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1528	SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error)
1529	// Updates a read group set.
1530	//
1531	// For the definitions of read group sets and other genomics resources, see
1532	// [Fundamentals of Google
1533	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1534	//
1535	// This method supports patch semantics.
1536	UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error)
1537	// Deletes a read group set.
1538	//
1539	// For the definitions of read group sets and other genomics resources, see
1540	// [Fundamentals of Google
1541	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1542	DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*empty.Empty, error)
1543	// Gets a read group set by ID.
1544	//
1545	// For the definitions of read group sets and other genomics resources, see
1546	// [Fundamentals of Google
1547	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1548	GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error)
1549	// Lists fixed width coverage buckets for a read group set, each of which
1550	// correspond to a range of a reference sequence. Each bucket summarizes
1551	// coverage information across its corresponding genomic range.
1552	//
1553	// For the definitions of read group sets and other genomics resources, see
1554	// [Fundamentals of Google
1555	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1556	//
1557	// Coverage is defined as the number of reads which are aligned to a given
1558	// base in the reference sequence. Coverage buckets are available at several
1559	// precomputed bucket widths, enabling retrieval of various coverage 'zoom
1560	// levels'. The caller must have READ permissions for the target read group
1561	// set.
1562	ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error)
1563	// Gets a list of reads for one or more read group sets.
1564	//
1565	// For the definitions of read group sets and other genomics resources, see
1566	// [Fundamentals of Google
1567	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1568	//
1569	// Reads search operates over a genomic coordinate space of reference sequence
1570	// & position defined over the reference sequences to which the requested
1571	// read group sets are aligned.
1572	//
1573	// If a target positional range is specified, search returns all reads whose
1574	// alignment to the reference genome overlap the range. A query which
1575	// specifies only read group set IDs yields all reads in those read group
1576	// sets, including unmapped reads.
1577	//
1578	// All reads returned (including reads on subsequent pages) are ordered by
1579	// genomic coordinate (by reference sequence, then position). Reads with
1580	// equivalent genomic coordinates are returned in an unspecified order. This
1581	// order is consistent, such that two queries for the same content (regardless
1582	// of page size) yield reads in the same order across their respective streams
1583	// of paginated responses.
1584	//
1585	// Implements
1586	// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
1587	SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error)
1588}
1589
1590// UnimplementedReadServiceV1Server can be embedded to have forward compatible implementations.
1591type UnimplementedReadServiceV1Server struct {
1592}
1593
1594func (*UnimplementedReadServiceV1Server) ImportReadGroupSets(ctx context.Context, req *ImportReadGroupSetsRequest) (*longrunning.Operation, error) {
1595	return nil, status.Errorf(codes.Unimplemented, "method ImportReadGroupSets not implemented")
1596}
1597func (*UnimplementedReadServiceV1Server) ExportReadGroupSet(ctx context.Context, req *ExportReadGroupSetRequest) (*longrunning.Operation, error) {
1598	return nil, status.Errorf(codes.Unimplemented, "method ExportReadGroupSet not implemented")
1599}
1600func (*UnimplementedReadServiceV1Server) SearchReadGroupSets(ctx context.Context, req *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error) {
1601	return nil, status.Errorf(codes.Unimplemented, "method SearchReadGroupSets not implemented")
1602}
1603func (*UnimplementedReadServiceV1Server) UpdateReadGroupSet(ctx context.Context, req *UpdateReadGroupSetRequest) (*ReadGroupSet, error) {
1604	return nil, status.Errorf(codes.Unimplemented, "method UpdateReadGroupSet not implemented")
1605}
1606func (*UnimplementedReadServiceV1Server) DeleteReadGroupSet(ctx context.Context, req *DeleteReadGroupSetRequest) (*empty.Empty, error) {
1607	return nil, status.Errorf(codes.Unimplemented, "method DeleteReadGroupSet not implemented")
1608}
1609func (*UnimplementedReadServiceV1Server) GetReadGroupSet(ctx context.Context, req *GetReadGroupSetRequest) (*ReadGroupSet, error) {
1610	return nil, status.Errorf(codes.Unimplemented, "method GetReadGroupSet not implemented")
1611}
1612func (*UnimplementedReadServiceV1Server) ListCoverageBuckets(ctx context.Context, req *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error) {
1613	return nil, status.Errorf(codes.Unimplemented, "method ListCoverageBuckets not implemented")
1614}
1615func (*UnimplementedReadServiceV1Server) SearchReads(ctx context.Context, req *SearchReadsRequest) (*SearchReadsResponse, error) {
1616	return nil, status.Errorf(codes.Unimplemented, "method SearchReads not implemented")
1617}
1618
1619func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server) {
1620	s.RegisterService(&_ReadServiceV1_serviceDesc, srv)
1621}
1622
1623func _ReadServiceV1_ImportReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1624	in := new(ImportReadGroupSetsRequest)
1625	if err := dec(in); err != nil {
1626		return nil, err
1627	}
1628	if interceptor == nil {
1629		return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, in)
1630	}
1631	info := &grpc.UnaryServerInfo{
1632		Server:     srv,
1633		FullMethod: "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets",
1634	}
1635	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1636		return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, req.(*ImportReadGroupSetsRequest))
1637	}
1638	return interceptor(ctx, in, info, handler)
1639}
1640
1641func _ReadServiceV1_ExportReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1642	in := new(ExportReadGroupSetRequest)
1643	if err := dec(in); err != nil {
1644		return nil, err
1645	}
1646	if interceptor == nil {
1647		return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, in)
1648	}
1649	info := &grpc.UnaryServerInfo{
1650		Server:     srv,
1651		FullMethod: "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet",
1652	}
1653	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1654		return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, req.(*ExportReadGroupSetRequest))
1655	}
1656	return interceptor(ctx, in, info, handler)
1657}
1658
1659func _ReadServiceV1_SearchReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1660	in := new(SearchReadGroupSetsRequest)
1661	if err := dec(in); err != nil {
1662		return nil, err
1663	}
1664	if interceptor == nil {
1665		return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, in)
1666	}
1667	info := &grpc.UnaryServerInfo{
1668		Server:     srv,
1669		FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets",
1670	}
1671	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1672		return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, req.(*SearchReadGroupSetsRequest))
1673	}
1674	return interceptor(ctx, in, info, handler)
1675}
1676
1677func _ReadServiceV1_UpdateReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1678	in := new(UpdateReadGroupSetRequest)
1679	if err := dec(in); err != nil {
1680		return nil, err
1681	}
1682	if interceptor == nil {
1683		return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, in)
1684	}
1685	info := &grpc.UnaryServerInfo{
1686		Server:     srv,
1687		FullMethod: "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet",
1688	}
1689	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1690		return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, req.(*UpdateReadGroupSetRequest))
1691	}
1692	return interceptor(ctx, in, info, handler)
1693}
1694
1695func _ReadServiceV1_DeleteReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1696	in := new(DeleteReadGroupSetRequest)
1697	if err := dec(in); err != nil {
1698		return nil, err
1699	}
1700	if interceptor == nil {
1701		return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, in)
1702	}
1703	info := &grpc.UnaryServerInfo{
1704		Server:     srv,
1705		FullMethod: "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet",
1706	}
1707	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1708		return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, req.(*DeleteReadGroupSetRequest))
1709	}
1710	return interceptor(ctx, in, info, handler)
1711}
1712
1713func _ReadServiceV1_GetReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1714	in := new(GetReadGroupSetRequest)
1715	if err := dec(in); err != nil {
1716		return nil, err
1717	}
1718	if interceptor == nil {
1719		return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, in)
1720	}
1721	info := &grpc.UnaryServerInfo{
1722		Server:     srv,
1723		FullMethod: "/google.genomics.v1.ReadServiceV1/GetReadGroupSet",
1724	}
1725	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1726		return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, req.(*GetReadGroupSetRequest))
1727	}
1728	return interceptor(ctx, in, info, handler)
1729}
1730
1731func _ReadServiceV1_ListCoverageBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1732	in := new(ListCoverageBucketsRequest)
1733	if err := dec(in); err != nil {
1734		return nil, err
1735	}
1736	if interceptor == nil {
1737		return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, in)
1738	}
1739	info := &grpc.UnaryServerInfo{
1740		Server:     srv,
1741		FullMethod: "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets",
1742	}
1743	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1744		return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, req.(*ListCoverageBucketsRequest))
1745	}
1746	return interceptor(ctx, in, info, handler)
1747}
1748
1749func _ReadServiceV1_SearchReads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1750	in := new(SearchReadsRequest)
1751	if err := dec(in); err != nil {
1752		return nil, err
1753	}
1754	if interceptor == nil {
1755		return srv.(ReadServiceV1Server).SearchReads(ctx, in)
1756	}
1757	info := &grpc.UnaryServerInfo{
1758		Server:     srv,
1759		FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReads",
1760	}
1761	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1762		return srv.(ReadServiceV1Server).SearchReads(ctx, req.(*SearchReadsRequest))
1763	}
1764	return interceptor(ctx, in, info, handler)
1765}
1766
1767var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{
1768	ServiceName: "google.genomics.v1.ReadServiceV1",
1769	HandlerType: (*ReadServiceV1Server)(nil),
1770	Methods: []grpc.MethodDesc{
1771		{
1772			MethodName: "ImportReadGroupSets",
1773			Handler:    _ReadServiceV1_ImportReadGroupSets_Handler,
1774		},
1775		{
1776			MethodName: "ExportReadGroupSet",
1777			Handler:    _ReadServiceV1_ExportReadGroupSet_Handler,
1778		},
1779		{
1780			MethodName: "SearchReadGroupSets",
1781			Handler:    _ReadServiceV1_SearchReadGroupSets_Handler,
1782		},
1783		{
1784			MethodName: "UpdateReadGroupSet",
1785			Handler:    _ReadServiceV1_UpdateReadGroupSet_Handler,
1786		},
1787		{
1788			MethodName: "DeleteReadGroupSet",
1789			Handler:    _ReadServiceV1_DeleteReadGroupSet_Handler,
1790		},
1791		{
1792			MethodName: "GetReadGroupSet",
1793			Handler:    _ReadServiceV1_GetReadGroupSet_Handler,
1794		},
1795		{
1796			MethodName: "ListCoverageBuckets",
1797			Handler:    _ReadServiceV1_ListCoverageBuckets_Handler,
1798		},
1799		{
1800			MethodName: "SearchReads",
1801			Handler:    _ReadServiceV1_SearchReads_Handler,
1802		},
1803	},
1804	Streams:  []grpc.StreamDesc{},
1805	Metadata: "google/genomics/v1/reads.proto",
1806}
1807