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() {
1104	proto.RegisterFile("google/genomics/v1/reads.proto", fileDescriptor_6b02d5d0c80a106c)
1105}
1106
1107var fileDescriptor_6b02d5d0c80a106c = []byte{
1108	// 1333 bytes of a gzipped FileDescriptorProto
1109	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
1110	0x17, 0xff, 0x8e, 0x1d, 0xb7, 0xcd, 0x73, 0x93, 0x38, 0xe3, 0x7e, 0x8b, 0xe3, 0x90, 0x36, 0x6c,
1111	0x69, 0x1b, 0x02, 0xb5, 0x89, 0x11, 0x2a, 0x4a, 0x85, 0x44, 0xda, 0x3a, 0xc1, 0x28, 0x69, 0xad,
1112	0x75, 0x02, 0x82, 0xcb, 0x6a, 0x62, 0x4f, 0xb6, 0x4b, 0xec, 0xdd, 0x65, 0x66, 0x9c, 0xfe, 0x52,
1113	0x2f, 0xbd, 0x81, 0x04, 0x1c, 0x10, 0x27, 0xae, 0x5c, 0x39, 0x22, 0xfe, 0x08, 0x4e, 0x88, 0x0b,
1114	0x7f, 0x00, 0xe2, 0x0f, 0xe0, 0xc4, 0x11, 0xcd, 0xec, 0x6e, 0xbc, 0xeb, 0x9d, 0x6d, 0x1c, 0x55,
1115	0xe2, 0xb6, 0xfb, 0xe6, 0xb3, 0x6f, 0x3e, 0xef, 0xf7, 0x5b, 0xb8, 0x64, 0x7b, 0x9e, 0xdd, 0xa7,
1116	0x75, 0x9b, 0xba, 0xde, 0xc0, 0xe9, 0xf2, 0xfa, 0xd1, 0x5a, 0x9d, 0x51, 0xd2, 0xe3, 0x35, 0x9f,
1117	0x79, 0xc2, 0xc3, 0x38, 0x38, 0xaf, 0x45, 0xe7, 0xb5, 0xa3, 0xb5, 0xea, 0xab, 0xe1, 0x37, 0xc4,
1118	0x77, 0xea, 0xc4, 0x75, 0x3d, 0x41, 0x84, 0xe3, 0xb9, 0xe1, 0x17, 0x55, 0xad, 0x46, 0xe2, 0xda,
1119	0x34, 0x3c, 0xbf, 0x96, 0x71, 0x23, 0xe9, 0x3b, 0xb6, 0x3b, 0xa0, 0xae, 0x08, 0x71, 0x57, 0x33,
1120	0x70, 0x36, 0xf3, 0x86, 0x3e, 0xa7, 0x11, 0xec, 0x4a, 0x08, 0xeb, 0x7b, 0xae, 0xcd, 0x86, 0xae,
1121	0xeb, 0xb8, 0x76, 0xdd, 0xf3, 0x29, 0x4b, 0x70, 0x5a, 0x0c, 0x41, 0xea, 0x6d, 0x7f, 0x78, 0x50,
1122	0xa7, 0x03, 0x5f, 0x3c, 0x0e, 0x0f, 0x97, 0xc7, 0x0f, 0x0f, 0x1c, 0xda, 0xef, 0x59, 0x03, 0xc2,
1123	0x0f, 0x03, 0x84, 0xf1, 0x35, 0x82, 0x6a, 0x87, 0x12, 0xd6, 0x7d, 0x60, 0x52, 0xd2, 0xdb, 0x92,
1124	0x04, 0x3a, 0x54, 0x70, 0x93, 0x7e, 0x31, 0xa4, 0x5c, 0xe0, 0xcb, 0x50, 0xec, 0x11, 0x41, 0x38,
1125	0x15, 0x96, 0xd3, 0xe3, 0x15, 0xb4, 0x9c, 0x5f, 0x99, 0x36, 0x21, 0x14, 0xb5, 0x7a, 0x1c, 0x63,
1126	0x98, 0x72, 0xc9, 0x80, 0x56, 0xf2, 0xcb, 0x68, 0x65, 0xda, 0x54, 0xcf, 0x78, 0x09, 0xc0, 0x27,
1127	0x36, 0xb5, 0x84, 0x77, 0x48, 0xdd, 0x4a, 0x4e, 0x9d, 0x4c, 0x4b, 0xc9, 0xae, 0x14, 0xe0, 0x45,
1128	0x50, 0x2f, 0x16, 0x77, 0x9e, 0xd0, 0xca, 0xd4, 0x32, 0x5a, 0x29, 0x98, 0xe7, 0xa4, 0xa0, 0xe3,
1129	0x3c, 0xa1, 0xc6, 0xb7, 0x08, 0x16, 0xb5, 0x7c, 0xb8, 0xef, 0xb9, 0x9c, 0xe2, 0x0f, 0x61, 0x4e,
1130	0x7a, 0xca, 0x52, 0xae, 0xb2, 0x38, 0x15, 0x01, 0xa9, 0x62, 0x63, 0xb9, 0x96, 0x0e, 0x67, 0x2d,
1131	0xae, 0xc3, 0x9c, 0x61, 0x71, 0x8d, 0xf8, 0x1a, 0xcc, 0xb9, 0xf4, 0x91, 0xb0, 0x52, 0x54, 0x67,
1132	0xa4, 0xb8, 0x1d, 0xd1, 0x35, 0xfe, 0xc8, 0x41, 0xb5, 0x35, 0xf0, 0x3d, 0x26, 0xb4, 0x1e, 0x5a,
1133	0x02, 0x18, 0x79, 0xa8, 0x82, 0x02, 0x63, 0x8f, 0x1d, 0x84, 0x57, 0xa0, 0xc4, 0xe8, 0x01, 0x65,
1134	0xd4, 0xed, 0x52, 0x2b, 0x04, 0x4d, 0x29, 0xd0, 0xec, 0xb1, 0xbc, 0xa3, 0x90, 0x97, 0xa1, 0xc8,
1135	0xbd, 0x21, 0xeb, 0x52, 0x6b, 0xc8, 0x1c, 0x5e, 0xc9, 0x05, 0xae, 0x0e, 0x44, 0x7b, 0xcc, 0xe1,
1136	0xd8, 0x03, 0xec, 0x13, 0x26, 0x1c, 0x19, 0x7d, 0x8b, 0x0b, 0x46, 0x04, 0xb5, 0x1f, 0x57, 0x0a,
1137	0xcb, 0x68, 0x65, 0xb6, 0xf1, 0x81, 0xce, 0xfa, 0x6c, 0xd6, 0xb5, 0x76, 0xa4, 0xa8, 0x13, 0xea,
1138	0x31, 0xe7, 0xfd, 0x71, 0x91, 0x61, 0xc1, 0x7c, 0x0a, 0x87, 0x0d, 0xb8, 0xd4, 0xde, 0x30, 0x77,
1139	0x5b, 0xbb, 0xad, 0xfb, 0xf7, 0xac, 0xce, 0xae, 0xb9, 0xb1, 0xdb, 0xdc, 0xfa, 0xd4, 0xda, 0xbb,
1140	0xd7, 0x69, 0x37, 0xef, 0xb4, 0x36, 0x5b, 0xcd, 0xbb, 0xa5, 0xff, 0xe1, 0x57, 0xa0, 0xdc, 0x6e,
1141	0x9a, 0xd6, 0x66, 0x6b, 0xbb, 0x69, 0xc9, 0x87, 0xce, 0xc6, 0x4e, 0x7b, 0xbb, 0x59, 0x42, 0x78,
1142	0x06, 0xa6, 0x77, 0x9a, 0xe6, 0x56, 0xd3, 0xda, 0xd8, 0xde, 0x2e, 0xe5, 0x8c, 0x8f, 0x60, 0x51,
1143	0xcb, 0x31, 0x8c, 0xf5, 0x9b, 0x80, 0x93, 0xb1, 0x8e, 0xe5, 0xe0, 0x5c, 0x3c, 0x98, 0xad, 0x1e,
1144	0x37, 0x7e, 0x42, 0xb0, 0xd0, 0x7c, 0x34, 0xae, 0x2c, 0x16, 0x25, 0x9f, 0x79, 0x9f, 0xd3, 0x6e,
1145	0x3c, 0x4a, 0xa1, 0xa4, 0xd5, 0x93, 0xc7, 0x54, 0x7d, 0x2b, 0x7d, 0x1f, 0x65, 0x6c, 0x20, 0xd9,
1146	0x63, 0x0e, 0x7e, 0x03, 0xe6, 0x53, 0x44, 0xc2, 0x8c, 0x9f, 0x4d, 0xf2, 0xc0, 0xd7, 0x65, 0x7e,
1147	0x46, 0xf1, 0x96, 0xd5, 0xc0, 0x2b, 0x53, 0x8a, 0xf0, 0x28, 0xdc, 0xf7, 0xa4, 0xd4, 0xf8, 0x15,
1148	0xc1, 0xc2, 0x9e, 0xdf, 0x23, 0x82, 0xea, 0xf8, 0x6a, 0x6f, 0x44, 0xda, 0x1b, 0x37, 0x61, 0x36,
1149	0x09, 0x55, 0xfc, 0x27, 0x29, 0x88, 0xf3, 0x71, 0x4d, 0xf8, 0x16, 0x14, 0x87, 0x8a, 0x8f, 0x6a,
1150	0x0f, 0xca, 0xbc, 0x62, 0xa3, 0x1a, 0x29, 0x89, 0x3a, 0x48, 0x6d, 0x53, 0x76, 0x90, 0x1d, 0xc2,
1151	0x0f, 0x4d, 0x08, 0xe0, 0xf2, 0xd9, 0xd8, 0x84, 0x85, 0xbb, 0xb4, 0x4f, 0x5f, 0xd6, 0x18, 0xe3,
1152	0x0e, 0x5c, 0xdc, 0xa2, 0xe2, 0x25, 0x95, 0x3c, 0xcf, 0x41, 0x75, 0xdb, 0xe1, 0xe2, 0x8e, 0x77,
1153	0x44, 0x19, 0xb1, 0xe9, 0xed, 0x61, 0xf7, 0x30, 0x56, 0xb1, 0xa7, 0xf0, 0xed, 0x55, 0x98, 0x4d,
1154	0x46, 0x33, 0x8c, 0xfa, 0x4c, 0x22, 0x98, 0xf8, 0x02, 0x14, 0xb8, 0x20, 0x4c, 0xa8, 0xca, 0xce,
1155	0x9b, 0xc1, 0x0b, 0x2e, 0x41, 0x9e, 0xba, 0x3d, 0x55, 0xa0, 0x79, 0x53, 0x3e, 0xe2, 0x1a, 0x94,
1156	0x05, 0x61, 0x36, 0x15, 0xd6, 0xbe, 0xa2, 0x64, 0x3d, 0x74, 0x7a, 0xe2, 0x41, 0xe5, 0x8c, 0x42,
1157	0xcc, 0x07, 0x47, 0x01, 0xd9, 0x4f, 0xe4, 0xc1, 0x58, 0x23, 0x3d, 0xfb, 0xc2, 0x46, 0x7a, 0x6e,
1158	0xac, 0x91, 0x1e, 0xc0, 0x6c, 0xd2, 0x7e, 0x5c, 0x87, 0x82, 0x1a, 0x56, 0xca, 0xd6, 0x62, 0x63,
1159	0x41, 0x9b, 0x1f, 0x12, 0x60, 0x06, 0x38, 0x7c, 0x05, 0x66, 0x06, 0x94, 0xb8, 0x56, 0x37, 0xd4,
1160	0xa3, 0x12, 0x2b, 0x67, 0x9e, 0x97, 0xc2, 0x48, 0xb7, 0xf1, 0x0b, 0x82, 0x45, 0xad, 0xb3, 0xc3,
1161	0x22, 0x7e, 0x0d, 0xce, 0x27, 0x8c, 0x45, 0xca, 0xd8, 0xe2, 0x7e, 0xcc, 0xcc, 0x1d, 0x28, 0x45,
1162	0x57, 0x84, 0x8e, 0x09, 0xda, 0x5f, 0xb1, 0x61, 0xe8, 0x38, 0x26, 0x6f, 0x32, 0xe7, 0xba, 0xc9,
1163	0x9b, 0x75, 0x8d, 0x3d, 0xaf, 0x6b, 0xec, 0x7f, 0x23, 0xc0, 0xa3, 0x51, 0x73, 0x9c, 0x1e, 0xa7,
1164	0xe9, 0x3a, 0xf8, 0xf5, 0x44, 0xf1, 0x49, 0x60, 0x41, 0x01, 0x47, 0xa5, 0x25, 0x51, 0xe9, 0x34,
1165	0x3a, 0xfb, 0xc2, 0x34, 0x3a, 0xa7, 0x49, 0xa3, 0xe9, 0x51, 0x1a, 0x25, 0xd3, 0x22, 0x7f, 0xaa,
1166	0xf9, 0xfa, 0x10, 0xca, 0x09, 0x9b, 0xc3, 0x28, 0xbd, 0x07, 0x70, 0xbc, 0xa4, 0x44, 0x13, 0xb5,
1167	0x92, 0xd5, 0x40, 0xcc, 0x18, 0x76, 0xe2, 0x31, 0xfa, 0x97, 0xf4, 0xb6, 0x60, 0x94, 0x0c, 0x12,
1168	0xde, 0x3e, 0xa1, 0x31, 0x6b, 0x6b, 0x35, 0xf7, 0x5f, 0xd4, 0xaa, 0xc4, 0x3d, 0x20, 0xac, 0xa7,
1169	0xaa, 0xb3, 0x60, 0x06, 0x2f, 0x32, 0x9b, 0x85, 0x27, 0x48, 0xdf, 0x52, 0xaf, 0x5c, 0xc5, 0xb1,
1170	0x60, 0x16, 0x95, 0xac, 0xa3, 0x44, 0xc6, 0x7d, 0x28, 0x27, 0xec, 0x7c, 0x59, 0x0f, 0x37, 0xbe,
1171	0x47, 0x70, 0x21, 0xd0, 0xe8, 0xb8, 0xb6, 0x3c, 0xed, 0x50, 0x76, 0xe4, 0x74, 0x29, 0x7e, 0x06,
1172	0xc5, 0xd8, 0x4d, 0xf8, 0x9a, 0x4e, 0x5b, 0xda, 0xe5, 0xd5, 0xeb, 0x27, 0xe2, 0x02, 0xca, 0xc6,
1173	0xe2, 0xf3, 0xdf, 0xff, 0xfc, 0x2e, 0xf7, 0x7f, 0xa3, 0x74, 0xbc, 0x39, 0xaf, 0x73, 0x05, 0x5b,
1174	0x47, 0xab, 0x6f, 0xa3, 0xc6, 0x6f, 0xd3, 0x30, 0x13, 0xa3, 0xf3, 0xf1, 0x1a, 0xfe, 0x12, 0x41,
1175	0x59, 0x33, 0xd0, 0x71, 0xed, 0x74, 0xdb, 0x49, 0x75, 0x29, 0xc2, 0xc7, 0x36, 0xdf, 0xda, 0xfd,
1176	0x68, 0xf3, 0x35, 0xae, 0x28, 0x5e, 0x4b, 0x46, 0x65, 0x7c, 0x6f, 0xe6, 0xeb, 0x8e, 0x52, 0xba,
1177	0x8e, 0x56, 0xf1, 0x0f, 0x08, 0x70, 0x7a, 0x1f, 0xc0, 0x37, 0x74, 0x54, 0x32, 0xf7, 0x86, 0x93,
1178	0x98, 0xdc, 0x54, 0x4c, 0xd6, 0x8c, 0xb7, 0x52, 0x4c, 0xea, 0x4f, 0x53, 0x79, 0xfb, 0x6c, 0x3d,
1179	0xd8, 0x28, 0x42, 0x76, 0x65, 0xcd, 0x9a, 0xab, 0xf7, 0x54, 0xf6, 0x7e, 0x5e, 0xad, 0x4f, 0x8c,
1180	0x0f, 0x63, 0x9a, 0xed, 0xbb, 0x3a, 0x57, 0x9f, 0x49, 0x76, 0x3f, 0x22, 0xc0, 0xe9, 0xdd, 0x44,
1181	0xef, 0xbb, 0xcc, 0x1d, 0xa6, 0x7a, 0xe2, 0x02, 0x62, 0xbc, 0xaf, 0xc8, 0xdc, 0x6c, 0x5c, 0x9d,
1182	0xcc, 0x7d, 0x63, 0x7b, 0x0e, 0xfe, 0x0a, 0x01, 0x4e, 0x6f, 0x1d, 0x7a, 0x9a, 0x99, 0xdb, 0x49,
1183	0xf5, 0x62, 0x6a, 0xc5, 0x69, 0xca, 0x3f, 0x28, 0xe3, 0x86, 0x22, 0x77, 0x7d, 0x75, 0x32, 0x72,
1184	0xf8, 0x1b, 0x04, 0x73, 0x63, 0xab, 0x0b, 0x5e, 0xd5, 0x31, 0xd1, 0xef, 0x37, 0x13, 0x78, 0x2b,
1185	0x24, 0x84, 0x27, 0x24, 0xf4, 0x33, 0x82, 0xb2, 0x66, 0x30, 0xeb, 0x53, 0x2c, 0x7b, 0x5d, 0xd2,
1186	0xa7, 0xd8, 0x0b, 0x26, 0x7e, 0x14, 0x55, 0xfc, 0xee, 0x44, 0x3c, 0xeb, 0xd1, 0xf8, 0x0e, 0x27,
1187	0x3f, 0x7e, 0x0a, 0xc5, 0xd8, 0x84, 0xca, 0xe8, 0x6a, 0xa9, 0xb1, 0x9d, 0xd1, 0xd5, 0xd2, 0xa3,
1188	0x4e, 0xd3, 0xd5, 0x46, 0x99, 0x7f, 0x9b, 0xc2, 0xc5, 0xae, 0x37, 0xd0, 0xa8, 0xba, 0x0d, 0x4a,
1189	0x4b, 0x5b, 0xe6, 0x48, 0x1b, 0x7d, 0xb6, 0x1e, 0x21, 0xbc, 0x3e, 0x71, 0xed, 0x9a, 0xc7, 0x6c,
1190	0xf9, 0x33, 0xaf, 0x32, 0xa8, 0x1e, 0x1c, 0x11, 0xdf, 0xe1, 0xf1, 0x1f, 0xfc, 0x5b, 0xd1, 0xf3,
1191	0x3f, 0x08, 0xed, 0x9f, 0x51, 0xc8, 0x77, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x9b, 0xce,
1192	0x6e, 0xa3, 0x10, 0x00, 0x00,
1193}
1194
1195// Reference imports to suppress errors if they are not otherwise used.
1196var _ context.Context
1197var _ grpc.ClientConnInterface
1198
1199// This is a compile-time assertion to ensure that this generated file
1200// is compatible with the grpc package it is being compiled against.
1201const _ = grpc.SupportPackageIsVersion6
1202
1203// StreamingReadServiceClient is the client API for StreamingReadService service.
1204//
1205// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1206type StreamingReadServiceClient interface {
1207	// Returns a stream of all the reads matching the search request, ordered
1208	// by reference name, position, and ID.
1209	StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error)
1210}
1211
1212type streamingReadServiceClient struct {
1213	cc grpc.ClientConnInterface
1214}
1215
1216func NewStreamingReadServiceClient(cc grpc.ClientConnInterface) StreamingReadServiceClient {
1217	return &streamingReadServiceClient{cc}
1218}
1219
1220func (c *streamingReadServiceClient) StreamReads(ctx context.Context, in *StreamReadsRequest, opts ...grpc.CallOption) (StreamingReadService_StreamReadsClient, error) {
1221	stream, err := c.cc.NewStream(ctx, &_StreamingReadService_serviceDesc.Streams[0], "/google.genomics.v1.StreamingReadService/StreamReads", opts...)
1222	if err != nil {
1223		return nil, err
1224	}
1225	x := &streamingReadServiceStreamReadsClient{stream}
1226	if err := x.ClientStream.SendMsg(in); err != nil {
1227		return nil, err
1228	}
1229	if err := x.ClientStream.CloseSend(); err != nil {
1230		return nil, err
1231	}
1232	return x, nil
1233}
1234
1235type StreamingReadService_StreamReadsClient interface {
1236	Recv() (*StreamReadsResponse, error)
1237	grpc.ClientStream
1238}
1239
1240type streamingReadServiceStreamReadsClient struct {
1241	grpc.ClientStream
1242}
1243
1244func (x *streamingReadServiceStreamReadsClient) Recv() (*StreamReadsResponse, error) {
1245	m := new(StreamReadsResponse)
1246	if err := x.ClientStream.RecvMsg(m); err != nil {
1247		return nil, err
1248	}
1249	return m, nil
1250}
1251
1252// StreamingReadServiceServer is the server API for StreamingReadService service.
1253type StreamingReadServiceServer interface {
1254	// Returns a stream of all the reads matching the search request, ordered
1255	// by reference name, position, and ID.
1256	StreamReads(*StreamReadsRequest, StreamingReadService_StreamReadsServer) error
1257}
1258
1259// UnimplementedStreamingReadServiceServer can be embedded to have forward compatible implementations.
1260type UnimplementedStreamingReadServiceServer struct {
1261}
1262
1263func (*UnimplementedStreamingReadServiceServer) StreamReads(req *StreamReadsRequest, srv StreamingReadService_StreamReadsServer) error {
1264	return status.Errorf(codes.Unimplemented, "method StreamReads not implemented")
1265}
1266
1267func RegisterStreamingReadServiceServer(s *grpc.Server, srv StreamingReadServiceServer) {
1268	s.RegisterService(&_StreamingReadService_serviceDesc, srv)
1269}
1270
1271func _StreamingReadService_StreamReads_Handler(srv interface{}, stream grpc.ServerStream) error {
1272	m := new(StreamReadsRequest)
1273	if err := stream.RecvMsg(m); err != nil {
1274		return err
1275	}
1276	return srv.(StreamingReadServiceServer).StreamReads(m, &streamingReadServiceStreamReadsServer{stream})
1277}
1278
1279type StreamingReadService_StreamReadsServer interface {
1280	Send(*StreamReadsResponse) error
1281	grpc.ServerStream
1282}
1283
1284type streamingReadServiceStreamReadsServer struct {
1285	grpc.ServerStream
1286}
1287
1288func (x *streamingReadServiceStreamReadsServer) Send(m *StreamReadsResponse) error {
1289	return x.ServerStream.SendMsg(m)
1290}
1291
1292var _StreamingReadService_serviceDesc = grpc.ServiceDesc{
1293	ServiceName: "google.genomics.v1.StreamingReadService",
1294	HandlerType: (*StreamingReadServiceServer)(nil),
1295	Methods:     []grpc.MethodDesc{},
1296	Streams: []grpc.StreamDesc{
1297		{
1298			StreamName:    "StreamReads",
1299			Handler:       _StreamingReadService_StreamReads_Handler,
1300			ServerStreams: true,
1301		},
1302	},
1303	Metadata: "google/genomics/v1/reads.proto",
1304}
1305
1306// ReadServiceV1Client is the client API for ReadServiceV1 service.
1307//
1308// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1309type ReadServiceV1Client interface {
1310	// Creates read group sets by asynchronously importing the provided
1311	// information.
1312	//
1313	// For the definitions of read group sets and other genomics resources, see
1314	// [Fundamentals of Google
1315	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1316	//
1317	// The caller must have WRITE permissions to the dataset.
1318	//
1319	// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1320	//
1321	// - Tags will be converted to strings - tag types are not preserved
1322	// - Comments (`@CO`) in the input file header will not be preserved
1323	// - Original header order of references (`@SQ`) will not be preserved
1324	// - Any reverse stranded unmapped reads will be reverse complemented, and
1325	// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1326	// - Unmapped reads will be stripped of positional information (reference name
1327	// and position)
1328	ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1329	// Exports a read group set to a BAM file in Google Cloud Storage.
1330	//
1331	// For the definitions of read group sets and other genomics resources, see
1332	// [Fundamentals of Google
1333	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1334	//
1335	// Note that currently there may be some differences between exported BAM
1336	// files and the original BAM file at the time of import. See
1337	// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
1338	// for caveats.
1339	ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1340	// Searches for read group sets matching the criteria.
1341	//
1342	// For the definitions of read group sets and other genomics resources, see
1343	// [Fundamentals of Google
1344	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1345	//
1346	// Implements
1347	// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1348	SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error)
1349	// Updates a read group set.
1350	//
1351	// For the definitions of read group sets and other genomics resources, see
1352	// [Fundamentals of Google
1353	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1354	//
1355	// This method supports patch semantics.
1356	UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
1357	// Deletes a read group set.
1358	//
1359	// For the definitions of read group sets and other genomics resources, see
1360	// [Fundamentals of Google
1361	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1362	DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1363	// Gets a read group set by ID.
1364	//
1365	// For the definitions of read group sets and other genomics resources, see
1366	// [Fundamentals of Google
1367	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1368	GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error)
1369	// Lists fixed width coverage buckets for a read group set, each of which
1370	// correspond to a range of a reference sequence. Each bucket summarizes
1371	// coverage information across its corresponding genomic range.
1372	//
1373	// For the definitions of read group sets and other genomics resources, see
1374	// [Fundamentals of Google
1375	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1376	//
1377	// Coverage is defined as the number of reads which are aligned to a given
1378	// base in the reference sequence. Coverage buckets are available at several
1379	// precomputed bucket widths, enabling retrieval of various coverage 'zoom
1380	// levels'. The caller must have READ permissions for the target read group
1381	// set.
1382	ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error)
1383	// Gets a list of reads for one or more read group sets.
1384	//
1385	// For the definitions of read group sets and other genomics resources, see
1386	// [Fundamentals of Google
1387	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1388	//
1389	// Reads search operates over a genomic coordinate space of reference sequence
1390	// & position defined over the reference sequences to which the requested
1391	// read group sets are aligned.
1392	//
1393	// If a target positional range is specified, search returns all reads whose
1394	// alignment to the reference genome overlap the range. A query which
1395	// specifies only read group set IDs yields all reads in those read group
1396	// sets, including unmapped reads.
1397	//
1398	// All reads returned (including reads on subsequent pages) are ordered by
1399	// genomic coordinate (by reference sequence, then position). Reads with
1400	// equivalent genomic coordinates are returned in an unspecified order. This
1401	// order is consistent, such that two queries for the same content (regardless
1402	// of page size) yield reads in the same order across their respective streams
1403	// of paginated responses.
1404	//
1405	// Implements
1406	// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
1407	SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error)
1408}
1409
1410type readServiceV1Client struct {
1411	cc grpc.ClientConnInterface
1412}
1413
1414func NewReadServiceV1Client(cc grpc.ClientConnInterface) ReadServiceV1Client {
1415	return &readServiceV1Client{cc}
1416}
1417
1418func (c *readServiceV1Client) ImportReadGroupSets(ctx context.Context, in *ImportReadGroupSetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1419	out := new(longrunning.Operation)
1420	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets", in, out, opts...)
1421	if err != nil {
1422		return nil, err
1423	}
1424	return out, nil
1425}
1426
1427func (c *readServiceV1Client) ExportReadGroupSet(ctx context.Context, in *ExportReadGroupSetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1428	out := new(longrunning.Operation)
1429	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet", in, out, opts...)
1430	if err != nil {
1431		return nil, err
1432	}
1433	return out, nil
1434}
1435
1436func (c *readServiceV1Client) SearchReadGroupSets(ctx context.Context, in *SearchReadGroupSetsRequest, opts ...grpc.CallOption) (*SearchReadGroupSetsResponse, error) {
1437	out := new(SearchReadGroupSetsResponse)
1438	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets", in, out, opts...)
1439	if err != nil {
1440		return nil, err
1441	}
1442	return out, nil
1443}
1444
1445func (c *readServiceV1Client) UpdateReadGroupSet(ctx context.Context, in *UpdateReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
1446	out := new(ReadGroupSet)
1447	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet", in, out, opts...)
1448	if err != nil {
1449		return nil, err
1450	}
1451	return out, nil
1452}
1453
1454func (c *readServiceV1Client) DeleteReadGroupSet(ctx context.Context, in *DeleteReadGroupSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1455	out := new(empty.Empty)
1456	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet", in, out, opts...)
1457	if err != nil {
1458		return nil, err
1459	}
1460	return out, nil
1461}
1462
1463func (c *readServiceV1Client) GetReadGroupSet(ctx context.Context, in *GetReadGroupSetRequest, opts ...grpc.CallOption) (*ReadGroupSet, error) {
1464	out := new(ReadGroupSet)
1465	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/GetReadGroupSet", in, out, opts...)
1466	if err != nil {
1467		return nil, err
1468	}
1469	return out, nil
1470}
1471
1472func (c *readServiceV1Client) ListCoverageBuckets(ctx context.Context, in *ListCoverageBucketsRequest, opts ...grpc.CallOption) (*ListCoverageBucketsResponse, error) {
1473	out := new(ListCoverageBucketsResponse)
1474	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets", in, out, opts...)
1475	if err != nil {
1476		return nil, err
1477	}
1478	return out, nil
1479}
1480
1481func (c *readServiceV1Client) SearchReads(ctx context.Context, in *SearchReadsRequest, opts ...grpc.CallOption) (*SearchReadsResponse, error) {
1482	out := new(SearchReadsResponse)
1483	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReadServiceV1/SearchReads", in, out, opts...)
1484	if err != nil {
1485		return nil, err
1486	}
1487	return out, nil
1488}
1489
1490// ReadServiceV1Server is the server API for ReadServiceV1 service.
1491type ReadServiceV1Server interface {
1492	// Creates read group sets by asynchronously importing the provided
1493	// information.
1494	//
1495	// For the definitions of read group sets and other genomics resources, see
1496	// [Fundamentals of Google
1497	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1498	//
1499	// The caller must have WRITE permissions to the dataset.
1500	//
1501	// ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1502	//
1503	// - Tags will be converted to strings - tag types are not preserved
1504	// - Comments (`@CO`) in the input file header will not be preserved
1505	// - Original header order of references (`@SQ`) will not be preserved
1506	// - Any reverse stranded unmapped reads will be reverse complemented, and
1507	// their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1508	// - Unmapped reads will be stripped of positional information (reference name
1509	// and position)
1510	ImportReadGroupSets(context.Context, *ImportReadGroupSetsRequest) (*longrunning.Operation, error)
1511	// Exports a read group set to a BAM file in Google Cloud Storage.
1512	//
1513	// For the definitions of read group sets and other genomics resources, see
1514	// [Fundamentals of Google
1515	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1516	//
1517	// Note that currently there may be some differences between exported BAM
1518	// files and the original BAM file at the time of import. See
1519	// [ImportReadGroupSets][google.genomics.v1.ReadServiceV1.ImportReadGroupSets]
1520	// for caveats.
1521	ExportReadGroupSet(context.Context, *ExportReadGroupSetRequest) (*longrunning.Operation, error)
1522	// Searches for read group sets matching the criteria.
1523	//
1524	// For the definitions of read group sets and other genomics resources, see
1525	// [Fundamentals of Google
1526	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1527	//
1528	// Implements
1529	// [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1530	SearchReadGroupSets(context.Context, *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error)
1531	// Updates a read group set.
1532	//
1533	// For the definitions of read group sets and other genomics resources, see
1534	// [Fundamentals of Google
1535	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1536	//
1537	// This method supports patch semantics.
1538	UpdateReadGroupSet(context.Context, *UpdateReadGroupSetRequest) (*ReadGroupSet, error)
1539	// Deletes a read group set.
1540	//
1541	// For the definitions of read group sets and other genomics resources, see
1542	// [Fundamentals of Google
1543	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1544	DeleteReadGroupSet(context.Context, *DeleteReadGroupSetRequest) (*empty.Empty, error)
1545	// Gets a read group set by ID.
1546	//
1547	// For the definitions of read group sets and other genomics resources, see
1548	// [Fundamentals of Google
1549	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1550	GetReadGroupSet(context.Context, *GetReadGroupSetRequest) (*ReadGroupSet, error)
1551	// Lists fixed width coverage buckets for a read group set, each of which
1552	// correspond to a range of a reference sequence. Each bucket summarizes
1553	// coverage information across its corresponding genomic range.
1554	//
1555	// For the definitions of read group sets and other genomics resources, see
1556	// [Fundamentals of Google
1557	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1558	//
1559	// Coverage is defined as the number of reads which are aligned to a given
1560	// base in the reference sequence. Coverage buckets are available at several
1561	// precomputed bucket widths, enabling retrieval of various coverage 'zoom
1562	// levels'. The caller must have READ permissions for the target read group
1563	// set.
1564	ListCoverageBuckets(context.Context, *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error)
1565	// Gets a list of reads for one or more read group sets.
1566	//
1567	// For the definitions of read group sets and other genomics resources, see
1568	// [Fundamentals of Google
1569	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1570	//
1571	// Reads search operates over a genomic coordinate space of reference sequence
1572	// & position defined over the reference sequences to which the requested
1573	// read group sets are aligned.
1574	//
1575	// If a target positional range is specified, search returns all reads whose
1576	// alignment to the reference genome overlap the range. A query which
1577	// specifies only read group set IDs yields all reads in those read group
1578	// sets, including unmapped reads.
1579	//
1580	// All reads returned (including reads on subsequent pages) are ordered by
1581	// genomic coordinate (by reference sequence, then position). Reads with
1582	// equivalent genomic coordinates are returned in an unspecified order. This
1583	// order is consistent, such that two queries for the same content (regardless
1584	// of page size) yield reads in the same order across their respective streams
1585	// of paginated responses.
1586	//
1587	// Implements
1588	// [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
1589	SearchReads(context.Context, *SearchReadsRequest) (*SearchReadsResponse, error)
1590}
1591
1592// UnimplementedReadServiceV1Server can be embedded to have forward compatible implementations.
1593type UnimplementedReadServiceV1Server struct {
1594}
1595
1596func (*UnimplementedReadServiceV1Server) ImportReadGroupSets(ctx context.Context, req *ImportReadGroupSetsRequest) (*longrunning.Operation, error) {
1597	return nil, status.Errorf(codes.Unimplemented, "method ImportReadGroupSets not implemented")
1598}
1599func (*UnimplementedReadServiceV1Server) ExportReadGroupSet(ctx context.Context, req *ExportReadGroupSetRequest) (*longrunning.Operation, error) {
1600	return nil, status.Errorf(codes.Unimplemented, "method ExportReadGroupSet not implemented")
1601}
1602func (*UnimplementedReadServiceV1Server) SearchReadGroupSets(ctx context.Context, req *SearchReadGroupSetsRequest) (*SearchReadGroupSetsResponse, error) {
1603	return nil, status.Errorf(codes.Unimplemented, "method SearchReadGroupSets not implemented")
1604}
1605func (*UnimplementedReadServiceV1Server) UpdateReadGroupSet(ctx context.Context, req *UpdateReadGroupSetRequest) (*ReadGroupSet, error) {
1606	return nil, status.Errorf(codes.Unimplemented, "method UpdateReadGroupSet not implemented")
1607}
1608func (*UnimplementedReadServiceV1Server) DeleteReadGroupSet(ctx context.Context, req *DeleteReadGroupSetRequest) (*empty.Empty, error) {
1609	return nil, status.Errorf(codes.Unimplemented, "method DeleteReadGroupSet not implemented")
1610}
1611func (*UnimplementedReadServiceV1Server) GetReadGroupSet(ctx context.Context, req *GetReadGroupSetRequest) (*ReadGroupSet, error) {
1612	return nil, status.Errorf(codes.Unimplemented, "method GetReadGroupSet not implemented")
1613}
1614func (*UnimplementedReadServiceV1Server) ListCoverageBuckets(ctx context.Context, req *ListCoverageBucketsRequest) (*ListCoverageBucketsResponse, error) {
1615	return nil, status.Errorf(codes.Unimplemented, "method ListCoverageBuckets not implemented")
1616}
1617func (*UnimplementedReadServiceV1Server) SearchReads(ctx context.Context, req *SearchReadsRequest) (*SearchReadsResponse, error) {
1618	return nil, status.Errorf(codes.Unimplemented, "method SearchReads not implemented")
1619}
1620
1621func RegisterReadServiceV1Server(s *grpc.Server, srv ReadServiceV1Server) {
1622	s.RegisterService(&_ReadServiceV1_serviceDesc, srv)
1623}
1624
1625func _ReadServiceV1_ImportReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1626	in := new(ImportReadGroupSetsRequest)
1627	if err := dec(in); err != nil {
1628		return nil, err
1629	}
1630	if interceptor == nil {
1631		return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, in)
1632	}
1633	info := &grpc.UnaryServerInfo{
1634		Server:     srv,
1635		FullMethod: "/google.genomics.v1.ReadServiceV1/ImportReadGroupSets",
1636	}
1637	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1638		return srv.(ReadServiceV1Server).ImportReadGroupSets(ctx, req.(*ImportReadGroupSetsRequest))
1639	}
1640	return interceptor(ctx, in, info, handler)
1641}
1642
1643func _ReadServiceV1_ExportReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1644	in := new(ExportReadGroupSetRequest)
1645	if err := dec(in); err != nil {
1646		return nil, err
1647	}
1648	if interceptor == nil {
1649		return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, in)
1650	}
1651	info := &grpc.UnaryServerInfo{
1652		Server:     srv,
1653		FullMethod: "/google.genomics.v1.ReadServiceV1/ExportReadGroupSet",
1654	}
1655	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1656		return srv.(ReadServiceV1Server).ExportReadGroupSet(ctx, req.(*ExportReadGroupSetRequest))
1657	}
1658	return interceptor(ctx, in, info, handler)
1659}
1660
1661func _ReadServiceV1_SearchReadGroupSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1662	in := new(SearchReadGroupSetsRequest)
1663	if err := dec(in); err != nil {
1664		return nil, err
1665	}
1666	if interceptor == nil {
1667		return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, in)
1668	}
1669	info := &grpc.UnaryServerInfo{
1670		Server:     srv,
1671		FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReadGroupSets",
1672	}
1673	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1674		return srv.(ReadServiceV1Server).SearchReadGroupSets(ctx, req.(*SearchReadGroupSetsRequest))
1675	}
1676	return interceptor(ctx, in, info, handler)
1677}
1678
1679func _ReadServiceV1_UpdateReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1680	in := new(UpdateReadGroupSetRequest)
1681	if err := dec(in); err != nil {
1682		return nil, err
1683	}
1684	if interceptor == nil {
1685		return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, in)
1686	}
1687	info := &grpc.UnaryServerInfo{
1688		Server:     srv,
1689		FullMethod: "/google.genomics.v1.ReadServiceV1/UpdateReadGroupSet",
1690	}
1691	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1692		return srv.(ReadServiceV1Server).UpdateReadGroupSet(ctx, req.(*UpdateReadGroupSetRequest))
1693	}
1694	return interceptor(ctx, in, info, handler)
1695}
1696
1697func _ReadServiceV1_DeleteReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1698	in := new(DeleteReadGroupSetRequest)
1699	if err := dec(in); err != nil {
1700		return nil, err
1701	}
1702	if interceptor == nil {
1703		return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, in)
1704	}
1705	info := &grpc.UnaryServerInfo{
1706		Server:     srv,
1707		FullMethod: "/google.genomics.v1.ReadServiceV1/DeleteReadGroupSet",
1708	}
1709	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1710		return srv.(ReadServiceV1Server).DeleteReadGroupSet(ctx, req.(*DeleteReadGroupSetRequest))
1711	}
1712	return interceptor(ctx, in, info, handler)
1713}
1714
1715func _ReadServiceV1_GetReadGroupSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1716	in := new(GetReadGroupSetRequest)
1717	if err := dec(in); err != nil {
1718		return nil, err
1719	}
1720	if interceptor == nil {
1721		return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, in)
1722	}
1723	info := &grpc.UnaryServerInfo{
1724		Server:     srv,
1725		FullMethod: "/google.genomics.v1.ReadServiceV1/GetReadGroupSet",
1726	}
1727	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1728		return srv.(ReadServiceV1Server).GetReadGroupSet(ctx, req.(*GetReadGroupSetRequest))
1729	}
1730	return interceptor(ctx, in, info, handler)
1731}
1732
1733func _ReadServiceV1_ListCoverageBuckets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1734	in := new(ListCoverageBucketsRequest)
1735	if err := dec(in); err != nil {
1736		return nil, err
1737	}
1738	if interceptor == nil {
1739		return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, in)
1740	}
1741	info := &grpc.UnaryServerInfo{
1742		Server:     srv,
1743		FullMethod: "/google.genomics.v1.ReadServiceV1/ListCoverageBuckets",
1744	}
1745	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1746		return srv.(ReadServiceV1Server).ListCoverageBuckets(ctx, req.(*ListCoverageBucketsRequest))
1747	}
1748	return interceptor(ctx, in, info, handler)
1749}
1750
1751func _ReadServiceV1_SearchReads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1752	in := new(SearchReadsRequest)
1753	if err := dec(in); err != nil {
1754		return nil, err
1755	}
1756	if interceptor == nil {
1757		return srv.(ReadServiceV1Server).SearchReads(ctx, in)
1758	}
1759	info := &grpc.UnaryServerInfo{
1760		Server:     srv,
1761		FullMethod: "/google.genomics.v1.ReadServiceV1/SearchReads",
1762	}
1763	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1764		return srv.(ReadServiceV1Server).SearchReads(ctx, req.(*SearchReadsRequest))
1765	}
1766	return interceptor(ctx, in, info, handler)
1767}
1768
1769var _ReadServiceV1_serviceDesc = grpc.ServiceDesc{
1770	ServiceName: "google.genomics.v1.ReadServiceV1",
1771	HandlerType: (*ReadServiceV1Server)(nil),
1772	Methods: []grpc.MethodDesc{
1773		{
1774			MethodName: "ImportReadGroupSets",
1775			Handler:    _ReadServiceV1_ImportReadGroupSets_Handler,
1776		},
1777		{
1778			MethodName: "ExportReadGroupSet",
1779			Handler:    _ReadServiceV1_ExportReadGroupSet_Handler,
1780		},
1781		{
1782			MethodName: "SearchReadGroupSets",
1783			Handler:    _ReadServiceV1_SearchReadGroupSets_Handler,
1784		},
1785		{
1786			MethodName: "UpdateReadGroupSet",
1787			Handler:    _ReadServiceV1_UpdateReadGroupSet_Handler,
1788		},
1789		{
1790			MethodName: "DeleteReadGroupSet",
1791			Handler:    _ReadServiceV1_DeleteReadGroupSet_Handler,
1792		},
1793		{
1794			MethodName: "GetReadGroupSet",
1795			Handler:    _ReadServiceV1_GetReadGroupSet_Handler,
1796		},
1797		{
1798			MethodName: "ListCoverageBuckets",
1799			Handler:    _ReadServiceV1_ListCoverageBuckets_Handler,
1800		},
1801		{
1802			MethodName: "SearchReads",
1803			Handler:    _ReadServiceV1_SearchReads_Handler,
1804		},
1805	},
1806	Streams:  []grpc.StreamDesc{},
1807	Metadata: "google/genomics/v1/reads.proto",
1808}
1809