1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/genomics/v1/references.proto
3
4package genomics
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13	grpc "google.golang.org/grpc"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A reference is a canonical assembled DNA sequence, intended to act as a
28// reference coordinate space for other genomic annotations. A single reference
29// might represent the human chromosome 1 or mitochandrial DNA, for instance. A
30// reference belongs to one or more reference sets.
31//
32// For more genomics resource definitions, see [Fundamentals of Google
33// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
34type Reference struct {
35	// The server-generated reference ID, unique across all references.
36	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
37	// The length of this reference's sequence.
38	Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
39	// MD5 of the upper-case sequence excluding all whitespace characters (this
40	// is equivalent to SQ:M5 in SAM). This value is represented in lower case
41	// hexadecimal format.
42	Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"`
43	// The name of this reference, for example `22`.
44	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
45	// The URI from which the sequence was obtained. Typically specifies a FASTA
46	// format file.
47	SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
48	// All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
49	// with a version number, for example `GCF_000001405.26`.
50	SourceAccessions []string `protobuf:"bytes,6,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"`
51	// ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
52	NcbiTaxonId          int32    `protobuf:"varint,7,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"`
53	XXX_NoUnkeyedLiteral struct{} `json:"-"`
54	XXX_unrecognized     []byte   `json:"-"`
55	XXX_sizecache        int32    `json:"-"`
56}
57
58func (m *Reference) Reset()         { *m = Reference{} }
59func (m *Reference) String() string { return proto.CompactTextString(m) }
60func (*Reference) ProtoMessage()    {}
61func (*Reference) Descriptor() ([]byte, []int) {
62	return fileDescriptor_008bb4c9c386df7c, []int{0}
63}
64
65func (m *Reference) XXX_Unmarshal(b []byte) error {
66	return xxx_messageInfo_Reference.Unmarshal(m, b)
67}
68func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
69	return xxx_messageInfo_Reference.Marshal(b, m, deterministic)
70}
71func (m *Reference) XXX_Merge(src proto.Message) {
72	xxx_messageInfo_Reference.Merge(m, src)
73}
74func (m *Reference) XXX_Size() int {
75	return xxx_messageInfo_Reference.Size(m)
76}
77func (m *Reference) XXX_DiscardUnknown() {
78	xxx_messageInfo_Reference.DiscardUnknown(m)
79}
80
81var xxx_messageInfo_Reference proto.InternalMessageInfo
82
83func (m *Reference) GetId() string {
84	if m != nil {
85		return m.Id
86	}
87	return ""
88}
89
90func (m *Reference) GetLength() int64 {
91	if m != nil {
92		return m.Length
93	}
94	return 0
95}
96
97func (m *Reference) GetMd5Checksum() string {
98	if m != nil {
99		return m.Md5Checksum
100	}
101	return ""
102}
103
104func (m *Reference) GetName() string {
105	if m != nil {
106		return m.Name
107	}
108	return ""
109}
110
111func (m *Reference) GetSourceUri() string {
112	if m != nil {
113		return m.SourceUri
114	}
115	return ""
116}
117
118func (m *Reference) GetSourceAccessions() []string {
119	if m != nil {
120		return m.SourceAccessions
121	}
122	return nil
123}
124
125func (m *Reference) GetNcbiTaxonId() int32 {
126	if m != nil {
127		return m.NcbiTaxonId
128	}
129	return 0
130}
131
132// A reference set is a set of references which typically comprise a reference
133// assembly for a species, such as `GRCh38` which is representative
134// of the human genome. A reference set defines a common coordinate space for
135// comparing reference-aligned experimental data. A reference set contains 1 or
136// more references.
137//
138// For more genomics resource definitions, see [Fundamentals of Google
139// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
140type ReferenceSet struct {
141	// The server-generated reference set ID, unique across all reference sets.
142	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
143	// The IDs of the reference objects that are part of this set.
144	// `Reference.md5checksum` must be unique within this set.
145	ReferenceIds []string `protobuf:"bytes,2,rep,name=reference_ids,json=referenceIds,proto3" json:"reference_ids,omitempty"`
146	// Order-independent MD5 checksum which identifies this reference set. The
147	// checksum is computed by sorting all lower case hexidecimal string
148	// `reference.md5checksum` (for all reference in this set) in
149	// ascending lexicographic order, concatenating, and taking the MD5 of that
150	// value. The resulting value is represented in lower case hexadecimal format.
151	Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"`
152	// ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
153	// indicating the species which this reference set is intended to model. Note
154	// that contained references may specify a different `ncbiTaxonId`, as
155	// assemblies may contain reference sequences which do not belong to the
156	// modeled species, for example EBV in a human reference genome.
157	NcbiTaxonId int32 `protobuf:"varint,4,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"`
158	// Free text description of this reference set.
159	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
160	// Public id of this reference set, such as `GRCh37`.
161	AssemblyId string `protobuf:"bytes,6,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"`
162	// The URI from which the references were obtained.
163	SourceUri string `protobuf:"bytes,7,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
164	// All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
165	// with a version number, for example `NC_000001.11`.
166	SourceAccessions     []string `protobuf:"bytes,8,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"`
167	XXX_NoUnkeyedLiteral struct{} `json:"-"`
168	XXX_unrecognized     []byte   `json:"-"`
169	XXX_sizecache        int32    `json:"-"`
170}
171
172func (m *ReferenceSet) Reset()         { *m = ReferenceSet{} }
173func (m *ReferenceSet) String() string { return proto.CompactTextString(m) }
174func (*ReferenceSet) ProtoMessage()    {}
175func (*ReferenceSet) Descriptor() ([]byte, []int) {
176	return fileDescriptor_008bb4c9c386df7c, []int{1}
177}
178
179func (m *ReferenceSet) XXX_Unmarshal(b []byte) error {
180	return xxx_messageInfo_ReferenceSet.Unmarshal(m, b)
181}
182func (m *ReferenceSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
183	return xxx_messageInfo_ReferenceSet.Marshal(b, m, deterministic)
184}
185func (m *ReferenceSet) XXX_Merge(src proto.Message) {
186	xxx_messageInfo_ReferenceSet.Merge(m, src)
187}
188func (m *ReferenceSet) XXX_Size() int {
189	return xxx_messageInfo_ReferenceSet.Size(m)
190}
191func (m *ReferenceSet) XXX_DiscardUnknown() {
192	xxx_messageInfo_ReferenceSet.DiscardUnknown(m)
193}
194
195var xxx_messageInfo_ReferenceSet proto.InternalMessageInfo
196
197func (m *ReferenceSet) GetId() string {
198	if m != nil {
199		return m.Id
200	}
201	return ""
202}
203
204func (m *ReferenceSet) GetReferenceIds() []string {
205	if m != nil {
206		return m.ReferenceIds
207	}
208	return nil
209}
210
211func (m *ReferenceSet) GetMd5Checksum() string {
212	if m != nil {
213		return m.Md5Checksum
214	}
215	return ""
216}
217
218func (m *ReferenceSet) GetNcbiTaxonId() int32 {
219	if m != nil {
220		return m.NcbiTaxonId
221	}
222	return 0
223}
224
225func (m *ReferenceSet) GetDescription() string {
226	if m != nil {
227		return m.Description
228	}
229	return ""
230}
231
232func (m *ReferenceSet) GetAssemblyId() string {
233	if m != nil {
234		return m.AssemblyId
235	}
236	return ""
237}
238
239func (m *ReferenceSet) GetSourceUri() string {
240	if m != nil {
241		return m.SourceUri
242	}
243	return ""
244}
245
246func (m *ReferenceSet) GetSourceAccessions() []string {
247	if m != nil {
248		return m.SourceAccessions
249	}
250	return nil
251}
252
253type SearchReferenceSetsRequest struct {
254	// If present, return reference sets for which the
255	// [md5checksum][google.genomics.v1.ReferenceSet.md5checksum] matches exactly.
256	Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"`
257	// If present, return reference sets for which a prefix of any of
258	// [sourceAccessions][google.genomics.v1.ReferenceSet.source_accessions]
259	// match any of these strings. Accession numbers typically have a main number
260	// and a version, for example `NC_000001.11`.
261	Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"`
262	// If present, return reference sets for which a substring of their
263	// `assemblyId` matches this string (case insensitive).
264	AssemblyId string `protobuf:"bytes,3,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"`
265	// The continuation token, which is used to page through large result sets.
266	// To get the next page of results, set this parameter to the value of
267	// `nextPageToken` from the previous response.
268	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
269	// The maximum number of results to return in a single page. If unspecified,
270	// defaults to 1024. The maximum value is 4096.
271	PageSize             int32    `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
272	XXX_NoUnkeyedLiteral struct{} `json:"-"`
273	XXX_unrecognized     []byte   `json:"-"`
274	XXX_sizecache        int32    `json:"-"`
275}
276
277func (m *SearchReferenceSetsRequest) Reset()         { *m = SearchReferenceSetsRequest{} }
278func (m *SearchReferenceSetsRequest) String() string { return proto.CompactTextString(m) }
279func (*SearchReferenceSetsRequest) ProtoMessage()    {}
280func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) {
281	return fileDescriptor_008bb4c9c386df7c, []int{2}
282}
283
284func (m *SearchReferenceSetsRequest) XXX_Unmarshal(b []byte) error {
285	return xxx_messageInfo_SearchReferenceSetsRequest.Unmarshal(m, b)
286}
287func (m *SearchReferenceSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
288	return xxx_messageInfo_SearchReferenceSetsRequest.Marshal(b, m, deterministic)
289}
290func (m *SearchReferenceSetsRequest) XXX_Merge(src proto.Message) {
291	xxx_messageInfo_SearchReferenceSetsRequest.Merge(m, src)
292}
293func (m *SearchReferenceSetsRequest) XXX_Size() int {
294	return xxx_messageInfo_SearchReferenceSetsRequest.Size(m)
295}
296func (m *SearchReferenceSetsRequest) XXX_DiscardUnknown() {
297	xxx_messageInfo_SearchReferenceSetsRequest.DiscardUnknown(m)
298}
299
300var xxx_messageInfo_SearchReferenceSetsRequest proto.InternalMessageInfo
301
302func (m *SearchReferenceSetsRequest) GetMd5Checksums() []string {
303	if m != nil {
304		return m.Md5Checksums
305	}
306	return nil
307}
308
309func (m *SearchReferenceSetsRequest) GetAccessions() []string {
310	if m != nil {
311		return m.Accessions
312	}
313	return nil
314}
315
316func (m *SearchReferenceSetsRequest) GetAssemblyId() string {
317	if m != nil {
318		return m.AssemblyId
319	}
320	return ""
321}
322
323func (m *SearchReferenceSetsRequest) GetPageToken() string {
324	if m != nil {
325		return m.PageToken
326	}
327	return ""
328}
329
330func (m *SearchReferenceSetsRequest) GetPageSize() int32 {
331	if m != nil {
332		return m.PageSize
333	}
334	return 0
335}
336
337type SearchReferenceSetsResponse struct {
338	// The matching references sets.
339	ReferenceSets []*ReferenceSet `protobuf:"bytes,1,rep,name=reference_sets,json=referenceSets,proto3" json:"reference_sets,omitempty"`
340	// The continuation token, which is used to page through large result sets.
341	// Provide this value in a subsequent request to return the next page of
342	// results. This field will be empty if there aren't any additional results.
343	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
344	XXX_NoUnkeyedLiteral struct{} `json:"-"`
345	XXX_unrecognized     []byte   `json:"-"`
346	XXX_sizecache        int32    `json:"-"`
347}
348
349func (m *SearchReferenceSetsResponse) Reset()         { *m = SearchReferenceSetsResponse{} }
350func (m *SearchReferenceSetsResponse) String() string { return proto.CompactTextString(m) }
351func (*SearchReferenceSetsResponse) ProtoMessage()    {}
352func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) {
353	return fileDescriptor_008bb4c9c386df7c, []int{3}
354}
355
356func (m *SearchReferenceSetsResponse) XXX_Unmarshal(b []byte) error {
357	return xxx_messageInfo_SearchReferenceSetsResponse.Unmarshal(m, b)
358}
359func (m *SearchReferenceSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
360	return xxx_messageInfo_SearchReferenceSetsResponse.Marshal(b, m, deterministic)
361}
362func (m *SearchReferenceSetsResponse) XXX_Merge(src proto.Message) {
363	xxx_messageInfo_SearchReferenceSetsResponse.Merge(m, src)
364}
365func (m *SearchReferenceSetsResponse) XXX_Size() int {
366	return xxx_messageInfo_SearchReferenceSetsResponse.Size(m)
367}
368func (m *SearchReferenceSetsResponse) XXX_DiscardUnknown() {
369	xxx_messageInfo_SearchReferenceSetsResponse.DiscardUnknown(m)
370}
371
372var xxx_messageInfo_SearchReferenceSetsResponse proto.InternalMessageInfo
373
374func (m *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet {
375	if m != nil {
376		return m.ReferenceSets
377	}
378	return nil
379}
380
381func (m *SearchReferenceSetsResponse) GetNextPageToken() string {
382	if m != nil {
383		return m.NextPageToken
384	}
385	return ""
386}
387
388type GetReferenceSetRequest struct {
389	// The ID of the reference set.
390	ReferenceSetId       string   `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"`
391	XXX_NoUnkeyedLiteral struct{} `json:"-"`
392	XXX_unrecognized     []byte   `json:"-"`
393	XXX_sizecache        int32    `json:"-"`
394}
395
396func (m *GetReferenceSetRequest) Reset()         { *m = GetReferenceSetRequest{} }
397func (m *GetReferenceSetRequest) String() string { return proto.CompactTextString(m) }
398func (*GetReferenceSetRequest) ProtoMessage()    {}
399func (*GetReferenceSetRequest) Descriptor() ([]byte, []int) {
400	return fileDescriptor_008bb4c9c386df7c, []int{4}
401}
402
403func (m *GetReferenceSetRequest) XXX_Unmarshal(b []byte) error {
404	return xxx_messageInfo_GetReferenceSetRequest.Unmarshal(m, b)
405}
406func (m *GetReferenceSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
407	return xxx_messageInfo_GetReferenceSetRequest.Marshal(b, m, deterministic)
408}
409func (m *GetReferenceSetRequest) XXX_Merge(src proto.Message) {
410	xxx_messageInfo_GetReferenceSetRequest.Merge(m, src)
411}
412func (m *GetReferenceSetRequest) XXX_Size() int {
413	return xxx_messageInfo_GetReferenceSetRequest.Size(m)
414}
415func (m *GetReferenceSetRequest) XXX_DiscardUnknown() {
416	xxx_messageInfo_GetReferenceSetRequest.DiscardUnknown(m)
417}
418
419var xxx_messageInfo_GetReferenceSetRequest proto.InternalMessageInfo
420
421func (m *GetReferenceSetRequest) GetReferenceSetId() string {
422	if m != nil {
423		return m.ReferenceSetId
424	}
425	return ""
426}
427
428type SearchReferencesRequest struct {
429	// If present, return references for which the
430	// [md5checksum][google.genomics.v1.Reference.md5checksum] matches exactly.
431	Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"`
432	// If present, return references for which a prefix of any of
433	// [sourceAccessions][google.genomics.v1.Reference.source_accessions] match
434	// any of these strings. Accession numbers typically have a main number and a
435	// version, for example `GCF_000001405.26`.
436	Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"`
437	// If present, return only references which belong to this reference set.
438	ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"`
439	// The continuation token, which is used to page through large result sets.
440	// To get the next page of results, set this parameter to the value of
441	// `nextPageToken` from the previous response.
442	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
443	// The maximum number of results to return in a single page. If unspecified,
444	// defaults to 1024. The maximum value is 4096.
445	PageSize             int32    `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
446	XXX_NoUnkeyedLiteral struct{} `json:"-"`
447	XXX_unrecognized     []byte   `json:"-"`
448	XXX_sizecache        int32    `json:"-"`
449}
450
451func (m *SearchReferencesRequest) Reset()         { *m = SearchReferencesRequest{} }
452func (m *SearchReferencesRequest) String() string { return proto.CompactTextString(m) }
453func (*SearchReferencesRequest) ProtoMessage()    {}
454func (*SearchReferencesRequest) Descriptor() ([]byte, []int) {
455	return fileDescriptor_008bb4c9c386df7c, []int{5}
456}
457
458func (m *SearchReferencesRequest) XXX_Unmarshal(b []byte) error {
459	return xxx_messageInfo_SearchReferencesRequest.Unmarshal(m, b)
460}
461func (m *SearchReferencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
462	return xxx_messageInfo_SearchReferencesRequest.Marshal(b, m, deterministic)
463}
464func (m *SearchReferencesRequest) XXX_Merge(src proto.Message) {
465	xxx_messageInfo_SearchReferencesRequest.Merge(m, src)
466}
467func (m *SearchReferencesRequest) XXX_Size() int {
468	return xxx_messageInfo_SearchReferencesRequest.Size(m)
469}
470func (m *SearchReferencesRequest) XXX_DiscardUnknown() {
471	xxx_messageInfo_SearchReferencesRequest.DiscardUnknown(m)
472}
473
474var xxx_messageInfo_SearchReferencesRequest proto.InternalMessageInfo
475
476func (m *SearchReferencesRequest) GetMd5Checksums() []string {
477	if m != nil {
478		return m.Md5Checksums
479	}
480	return nil
481}
482
483func (m *SearchReferencesRequest) GetAccessions() []string {
484	if m != nil {
485		return m.Accessions
486	}
487	return nil
488}
489
490func (m *SearchReferencesRequest) GetReferenceSetId() string {
491	if m != nil {
492		return m.ReferenceSetId
493	}
494	return ""
495}
496
497func (m *SearchReferencesRequest) GetPageToken() string {
498	if m != nil {
499		return m.PageToken
500	}
501	return ""
502}
503
504func (m *SearchReferencesRequest) GetPageSize() int32 {
505	if m != nil {
506		return m.PageSize
507	}
508	return 0
509}
510
511type SearchReferencesResponse struct {
512	// The matching references.
513	References []*Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"`
514	// The continuation token, which is used to page through large result sets.
515	// Provide this value in a subsequent request to return the next page of
516	// results. This field will be empty if there aren't any additional results.
517	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
518	XXX_NoUnkeyedLiteral struct{} `json:"-"`
519	XXX_unrecognized     []byte   `json:"-"`
520	XXX_sizecache        int32    `json:"-"`
521}
522
523func (m *SearchReferencesResponse) Reset()         { *m = SearchReferencesResponse{} }
524func (m *SearchReferencesResponse) String() string { return proto.CompactTextString(m) }
525func (*SearchReferencesResponse) ProtoMessage()    {}
526func (*SearchReferencesResponse) Descriptor() ([]byte, []int) {
527	return fileDescriptor_008bb4c9c386df7c, []int{6}
528}
529
530func (m *SearchReferencesResponse) XXX_Unmarshal(b []byte) error {
531	return xxx_messageInfo_SearchReferencesResponse.Unmarshal(m, b)
532}
533func (m *SearchReferencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
534	return xxx_messageInfo_SearchReferencesResponse.Marshal(b, m, deterministic)
535}
536func (m *SearchReferencesResponse) XXX_Merge(src proto.Message) {
537	xxx_messageInfo_SearchReferencesResponse.Merge(m, src)
538}
539func (m *SearchReferencesResponse) XXX_Size() int {
540	return xxx_messageInfo_SearchReferencesResponse.Size(m)
541}
542func (m *SearchReferencesResponse) XXX_DiscardUnknown() {
543	xxx_messageInfo_SearchReferencesResponse.DiscardUnknown(m)
544}
545
546var xxx_messageInfo_SearchReferencesResponse proto.InternalMessageInfo
547
548func (m *SearchReferencesResponse) GetReferences() []*Reference {
549	if m != nil {
550		return m.References
551	}
552	return nil
553}
554
555func (m *SearchReferencesResponse) GetNextPageToken() string {
556	if m != nil {
557		return m.NextPageToken
558	}
559	return ""
560}
561
562type GetReferenceRequest struct {
563	// The ID of the reference.
564	ReferenceId          string   `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
565	XXX_NoUnkeyedLiteral struct{} `json:"-"`
566	XXX_unrecognized     []byte   `json:"-"`
567	XXX_sizecache        int32    `json:"-"`
568}
569
570func (m *GetReferenceRequest) Reset()         { *m = GetReferenceRequest{} }
571func (m *GetReferenceRequest) String() string { return proto.CompactTextString(m) }
572func (*GetReferenceRequest) ProtoMessage()    {}
573func (*GetReferenceRequest) Descriptor() ([]byte, []int) {
574	return fileDescriptor_008bb4c9c386df7c, []int{7}
575}
576
577func (m *GetReferenceRequest) XXX_Unmarshal(b []byte) error {
578	return xxx_messageInfo_GetReferenceRequest.Unmarshal(m, b)
579}
580func (m *GetReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
581	return xxx_messageInfo_GetReferenceRequest.Marshal(b, m, deterministic)
582}
583func (m *GetReferenceRequest) XXX_Merge(src proto.Message) {
584	xxx_messageInfo_GetReferenceRequest.Merge(m, src)
585}
586func (m *GetReferenceRequest) XXX_Size() int {
587	return xxx_messageInfo_GetReferenceRequest.Size(m)
588}
589func (m *GetReferenceRequest) XXX_DiscardUnknown() {
590	xxx_messageInfo_GetReferenceRequest.DiscardUnknown(m)
591}
592
593var xxx_messageInfo_GetReferenceRequest proto.InternalMessageInfo
594
595func (m *GetReferenceRequest) GetReferenceId() string {
596	if m != nil {
597		return m.ReferenceId
598	}
599	return ""
600}
601
602type ListBasesRequest struct {
603	// The ID of the reference.
604	ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
605	// The start position (0-based) of this query. Defaults to 0.
606	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
607	// The end position (0-based, exclusive) of this query. Defaults to the length
608	// of this reference.
609	End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
610	// The continuation token, which is used to page through large result sets.
611	// To get the next page of results, set this parameter to the value of
612	// `nextPageToken` from the previous response.
613	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
614	// The maximum number of bases to return in a single page. If unspecified,
615	// defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
616	// pairs).
617	PageSize             int32    `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
618	XXX_NoUnkeyedLiteral struct{} `json:"-"`
619	XXX_unrecognized     []byte   `json:"-"`
620	XXX_sizecache        int32    `json:"-"`
621}
622
623func (m *ListBasesRequest) Reset()         { *m = ListBasesRequest{} }
624func (m *ListBasesRequest) String() string { return proto.CompactTextString(m) }
625func (*ListBasesRequest) ProtoMessage()    {}
626func (*ListBasesRequest) Descriptor() ([]byte, []int) {
627	return fileDescriptor_008bb4c9c386df7c, []int{8}
628}
629
630func (m *ListBasesRequest) XXX_Unmarshal(b []byte) error {
631	return xxx_messageInfo_ListBasesRequest.Unmarshal(m, b)
632}
633func (m *ListBasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
634	return xxx_messageInfo_ListBasesRequest.Marshal(b, m, deterministic)
635}
636func (m *ListBasesRequest) XXX_Merge(src proto.Message) {
637	xxx_messageInfo_ListBasesRequest.Merge(m, src)
638}
639func (m *ListBasesRequest) XXX_Size() int {
640	return xxx_messageInfo_ListBasesRequest.Size(m)
641}
642func (m *ListBasesRequest) XXX_DiscardUnknown() {
643	xxx_messageInfo_ListBasesRequest.DiscardUnknown(m)
644}
645
646var xxx_messageInfo_ListBasesRequest proto.InternalMessageInfo
647
648func (m *ListBasesRequest) GetReferenceId() string {
649	if m != nil {
650		return m.ReferenceId
651	}
652	return ""
653}
654
655func (m *ListBasesRequest) GetStart() int64 {
656	if m != nil {
657		return m.Start
658	}
659	return 0
660}
661
662func (m *ListBasesRequest) GetEnd() int64 {
663	if m != nil {
664		return m.End
665	}
666	return 0
667}
668
669func (m *ListBasesRequest) GetPageToken() string {
670	if m != nil {
671		return m.PageToken
672	}
673	return ""
674}
675
676func (m *ListBasesRequest) GetPageSize() int32 {
677	if m != nil {
678		return m.PageSize
679	}
680	return 0
681}
682
683type ListBasesResponse struct {
684	// The offset position (0-based) of the given `sequence` from the
685	// start of this `Reference`. This value will differ for each page
686	// in a paginated request.
687	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
688	// A substring of the bases that make up this reference.
689	Sequence string `protobuf:"bytes,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
690	// The continuation token, which is used to page through large result sets.
691	// Provide this value in a subsequent request to return the next page of
692	// results. This field will be empty if there aren't any additional results.
693	NextPageToken        string   `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
694	XXX_NoUnkeyedLiteral struct{} `json:"-"`
695	XXX_unrecognized     []byte   `json:"-"`
696	XXX_sizecache        int32    `json:"-"`
697}
698
699func (m *ListBasesResponse) Reset()         { *m = ListBasesResponse{} }
700func (m *ListBasesResponse) String() string { return proto.CompactTextString(m) }
701func (*ListBasesResponse) ProtoMessage()    {}
702func (*ListBasesResponse) Descriptor() ([]byte, []int) {
703	return fileDescriptor_008bb4c9c386df7c, []int{9}
704}
705
706func (m *ListBasesResponse) XXX_Unmarshal(b []byte) error {
707	return xxx_messageInfo_ListBasesResponse.Unmarshal(m, b)
708}
709func (m *ListBasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
710	return xxx_messageInfo_ListBasesResponse.Marshal(b, m, deterministic)
711}
712func (m *ListBasesResponse) XXX_Merge(src proto.Message) {
713	xxx_messageInfo_ListBasesResponse.Merge(m, src)
714}
715func (m *ListBasesResponse) XXX_Size() int {
716	return xxx_messageInfo_ListBasesResponse.Size(m)
717}
718func (m *ListBasesResponse) XXX_DiscardUnknown() {
719	xxx_messageInfo_ListBasesResponse.DiscardUnknown(m)
720}
721
722var xxx_messageInfo_ListBasesResponse proto.InternalMessageInfo
723
724func (m *ListBasesResponse) GetOffset() int64 {
725	if m != nil {
726		return m.Offset
727	}
728	return 0
729}
730
731func (m *ListBasesResponse) GetSequence() string {
732	if m != nil {
733		return m.Sequence
734	}
735	return ""
736}
737
738func (m *ListBasesResponse) GetNextPageToken() string {
739	if m != nil {
740		return m.NextPageToken
741	}
742	return ""
743}
744
745func init() {
746	proto.RegisterType((*Reference)(nil), "google.genomics.v1.Reference")
747	proto.RegisterType((*ReferenceSet)(nil), "google.genomics.v1.ReferenceSet")
748	proto.RegisterType((*SearchReferenceSetsRequest)(nil), "google.genomics.v1.SearchReferenceSetsRequest")
749	proto.RegisterType((*SearchReferenceSetsResponse)(nil), "google.genomics.v1.SearchReferenceSetsResponse")
750	proto.RegisterType((*GetReferenceSetRequest)(nil), "google.genomics.v1.GetReferenceSetRequest")
751	proto.RegisterType((*SearchReferencesRequest)(nil), "google.genomics.v1.SearchReferencesRequest")
752	proto.RegisterType((*SearchReferencesResponse)(nil), "google.genomics.v1.SearchReferencesResponse")
753	proto.RegisterType((*GetReferenceRequest)(nil), "google.genomics.v1.GetReferenceRequest")
754	proto.RegisterType((*ListBasesRequest)(nil), "google.genomics.v1.ListBasesRequest")
755	proto.RegisterType((*ListBasesResponse)(nil), "google.genomics.v1.ListBasesResponse")
756}
757
758func init() {
759	proto.RegisterFile("google/genomics/v1/references.proto", fileDescriptor_008bb4c9c386df7c)
760}
761
762var fileDescriptor_008bb4c9c386df7c = []byte{
763	// 851 bytes of a gzipped FileDescriptorProto
764	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0x1b, 0x45,
765	0x14, 0xd6, 0x78, 0x63, 0x37, 0x7e, 0x76, 0x12, 0xf7, 0x15, 0xc2, 0xca, 0x25, 0xd4, 0x6c, 0x9a,
766	0x62, 0x35, 0x95, 0x57, 0x29, 0x42, 0x42, 0x45, 0x1c, 0xc8, 0xa5, 0x8a, 0xc4, 0x21, 0xda, 0x14,
767	0x0e, 0x5c, 0x56, 0x9b, 0xdd, 0x89, 0x33, 0x34, 0xde, 0x31, 0x3b, 0x93, 0xa8, 0xb4, 0xca, 0x01,
768	0x24, 0x8e, 0xc0, 0x81, 0x0b, 0x88, 0xdf, 0xc2, 0x89, 0x9f, 0xc0, 0x09, 0x71, 0xe5, 0x47, 0x70,
769	0x44, 0x33, 0x3b, 0xbb, 0x1e, 0xaf, 0x97, 0xd8, 0x52, 0xb9, 0xed, 0x7c, 0xf3, 0xe6, 0xcd, 0xf7,
770	0x7d, 0x6f, 0xde, 0xec, 0xc0, 0xee, 0x98, 0xf3, 0xf1, 0x05, 0xf5, 0xc7, 0x34, 0xe5, 0x13, 0x16,
771	0x0b, 0xff, 0xea, 0xc0, 0xcf, 0xe8, 0x19, 0xcd, 0x68, 0x1a, 0x53, 0x31, 0x9a, 0x66, 0x5c, 0x72,
772	0xc4, 0x3c, 0x68, 0x54, 0x04, 0x8d, 0xae, 0x0e, 0xfa, 0x6f, 0x9b, 0x85, 0xd1, 0x94, 0xf9, 0x51,
773	0x9a, 0x72, 0x19, 0x49, 0xc6, 0x53, 0xb3, 0xc2, 0xfb, 0x93, 0x40, 0x3b, 0x28, 0xd2, 0xe0, 0x26,
774	0x34, 0x58, 0xe2, 0x92, 0x01, 0x19, 0xb6, 0x83, 0x06, 0x4b, 0x70, 0x1b, 0x5a, 0x17, 0x34, 0x1d,
775	0xcb, 0x73, 0xb7, 0x31, 0x20, 0x43, 0x27, 0x30, 0x23, 0x1c, 0x40, 0x67, 0x92, 0x7c, 0x10, 0x9f,
776	0xd3, 0xf8, 0xb9, 0xb8, 0x9c, 0xb8, 0x8e, 0x5e, 0x60, 0x43, 0x88, 0xb0, 0x96, 0x46, 0x13, 0xea,
777	0xae, 0xe9, 0x29, 0xfd, 0x8d, 0x3b, 0x00, 0x82, 0x5f, 0x66, 0x31, 0x0d, 0x2f, 0x33, 0xe6, 0x36,
778	0xf5, 0x4c, 0x3b, 0x47, 0x3e, 0xcb, 0x18, 0xee, 0xc3, 0x6d, 0x33, 0x1d, 0xc5, 0x31, 0x15, 0x42,
779	0xb1, 0x74, 0x5b, 0x03, 0x67, 0xd8, 0x0e, 0x7a, 0xf9, 0xc4, 0x27, 0x25, 0x8e, 0x1e, 0x6c, 0xa4,
780	0xf1, 0x29, 0x0b, 0x65, 0xf4, 0x82, 0xa7, 0x21, 0x4b, 0xdc, 0x5b, 0x03, 0x32, 0x6c, 0x06, 0x1d,
781	0x05, 0x3e, 0x53, 0xd8, 0x51, 0xe2, 0xfd, 0xdc, 0x80, 0x6e, 0xa9, 0xed, 0x84, 0xca, 0x05, 0x79,
782	0xbb, 0xb0, 0x51, 0x5a, 0x18, 0xb2, 0x44, 0xb8, 0x0d, 0xbd, 0x5b, 0xb7, 0x04, 0x8f, 0x12, 0xb1,
783	0x82, 0xd6, 0x05, 0x2e, 0x6b, 0x0b, 0x5c, 0x54, 0x96, 0x84, 0x8a, 0x38, 0x63, 0x53, 0xe5, 0xbe,
784	0x11, 0x6f, 0x43, 0x78, 0x0f, 0x3a, 0x91, 0x10, 0x74, 0x72, 0x7a, 0xf1, 0xb5, 0xca, 0xd1, 0xd2,
785	0x11, 0x50, 0x40, 0x47, 0x49, 0xc5, 0xbe, 0x5b, 0x2b, 0xd9, 0xb7, 0x5e, 0x6f, 0x9f, 0xf7, 0x1b,
786	0x81, 0xfe, 0x09, 0x8d, 0xb2, 0xf8, 0xdc, 0x36, 0x48, 0x04, 0xf4, 0xab, 0x4b, 0x2a, 0x24, 0x7a,
787	0xd0, 0xb5, 0x04, 0x0a, 0x97, 0xe4, 0xbe, 0xd8, 0x18, 0xbe, 0x03, 0x60, 0x6d, 0x94, 0x3b, 0x67,
788	0x21, 0x55, 0x3d, 0x4e, 0x9d, 0x9e, 0x69, 0x34, 0xa6, 0xa1, 0xe4, 0xcf, 0x69, 0x6a, 0x0e, 0x4a,
789	0x5b, 0x21, 0xcf, 0x14, 0x80, 0x77, 0x41, 0x0f, 0x42, 0xc1, 0x5e, 0x52, 0xed, 0x57, 0x33, 0x58,
790	0x57, 0xc0, 0x09, 0x7b, 0x49, 0xbd, 0x1f, 0x08, 0xdc, 0xad, 0xe5, 0x2f, 0xa6, 0x3c, 0x15, 0x14,
791	0x9f, 0xc2, 0xe6, 0xac, 0xb2, 0x82, 0xca, 0x5c, 0x42, 0xe7, 0xf1, 0x60, 0xb4, 0xd8, 0x21, 0x23,
792	0x3b, 0x45, 0x30, 0x3b, 0x11, 0x2a, 0x21, 0x3e, 0x80, 0xad, 0x94, 0xbe, 0x90, 0xa1, 0xc5, 0xb4,
793	0xa1, 0x99, 0x6e, 0x28, 0xf8, 0xb8, 0x60, 0xeb, 0x1d, 0xc2, 0xf6, 0x53, 0x2a, 0xe7, 0x32, 0x19,
794	0x2f, 0x87, 0xd0, 0x9b, 0xa3, 0x12, 0x96, 0x47, 0x70, 0xd3, 0xde, 0xea, 0x28, 0xf1, 0x7e, 0x27,
795	0xf0, 0x56, 0x45, 0xd4, 0xff, 0x5a, 0x91, 0x3a, 0x26, 0x4e, 0x1d, 0x93, 0xd7, 0x2a, 0xcd, 0x37,
796	0x04, 0xdc, 0x45, 0x15, 0xa6, 0x2e, 0x1f, 0x03, 0xcc, 0x2e, 0x2d, 0x53, 0x93, 0x9d, 0x1b, 0x6b,
797	0x12, 0x58, 0x0b, 0x56, 0xae, 0xc6, 0x87, 0x70, 0xc7, 0xae, 0x46, 0x61, 0xe2, 0xbb, 0xd0, 0xb5,
798	0xfb, 0xdd, 0x94, 0xa1, 0x63, 0xb5, 0xbb, 0xf7, 0x0b, 0x81, 0xde, 0xa7, 0x4c, 0xc8, 0xc3, 0x48,
799	0xcc, 0xcc, 0x5f, 0xbe, 0x0e, 0xdf, 0x80, 0xa6, 0x90, 0x51, 0x26, 0xcd, 0x45, 0x99, 0x0f, 0xb0,
800	0x07, 0x0e, 0x4d, 0x73, 0x93, 0x9d, 0x40, 0x7d, 0xbe, 0x96, 0xb3, 0x1c, 0x6e, 0x5b, 0xd4, 0x8c,
801	0xa3, 0xdb, 0xd0, 0xe2, 0x67, 0x67, 0x82, 0x4a, 0xcd, 0xca, 0x09, 0xcc, 0x08, 0xfb, 0xb0, 0x2e,
802	0x14, 0xfd, 0x34, 0xa6, 0xc6, 0xa3, 0x72, 0x5c, 0x67, 0xa3, 0x53, 0x63, 0xe3, 0xe3, 0xbf, 0x9a,
803	0x80, 0xd6, 0x91, 0xce, 0xae, 0x58, 0x4c, 0x3f, 0x3f, 0xc0, 0x5f, 0x09, 0xdc, 0xa9, 0x69, 0x3e,
804	0x1c, 0xd5, 0x15, 0xf2, 0xbf, 0x6f, 0x99, 0xbe, 0xbf, 0x72, 0x7c, 0xae, 0xd5, 0xdb, 0xfd, 0xf6,
805	0x8f, 0xbf, 0x7f, 0x6a, 0xec, 0x78, 0xee, 0xfc, 0xcf, 0x8f, 0x4a, 0xe1, 0x0b, 0xbd, 0xec, 0x09,
806	0x79, 0x88, 0xdf, 0x13, 0xd8, 0xaa, 0xb4, 0x22, 0x3e, 0xac, 0xdb, 0xa9, 0xbe, 0x5f, 0xfb, 0x4b,
807	0xaf, 0x08, 0xef, 0x91, 0xa6, 0xf1, 0x00, 0xef, 0x2f, 0xd2, 0x78, 0x55, 0x6d, 0xb0, 0x6b, 0xfc,
808	0x91, 0x40, 0xaf, 0xda, 0x0f, 0xb8, 0xbf, 0x82, 0xf4, 0xd2, 0xa7, 0x47, 0xab, 0x05, 0x1b, 0x93,
809	0x06, 0x9a, 0x5d, 0xdf, 0x7b, 0x73, 0x9e, 0x9d, 0xe5, 0xd0, 0x35, 0x74, 0x6d, 0xed, 0xf8, 0xde,
810	0x32, 0x77, 0x0a, 0x22, 0x37, 0x77, 0xaa, 0xb7, 0xa7, 0x77, 0xbe, 0x87, 0x3b, 0x95, 0x9d, 0x5f,
811	0xd9, 0xcd, 0x73, 0x8d, 0xdf, 0x11, 0x68, 0x97, 0xe7, 0x18, 0xef, 0xd7, 0xe5, 0xac, 0x76, 0x60,
812	0x7f, 0x6f, 0x49, 0x94, 0xd1, 0xbe, 0xaf, 0x19, 0xec, 0xe1, 0xee, 0x8d, 0x0c, 0xfc, 0x53, 0xb5,
813	0xe8, 0xf0, 0x4b, 0xd8, 0x8e, 0xf9, 0xa4, 0x26, 0xf1, 0xe1, 0xd6, 0xcc, 0xd6, 0x63, 0xf5, 0x4a,
814	0x3a, 0x26, 0x5f, 0x3c, 0x29, 0xc2, 0xf8, 0x45, 0x94, 0x8e, 0x47, 0x3c, 0x1b, 0xab, 0x97, 0x98,
815	0x7e, 0x43, 0xf9, 0xf9, 0x54, 0x34, 0x65, 0xc2, 0x7e, 0x9d, 0x7d, 0x54, 0x7c, 0xff, 0x43, 0xc8,
816	0x69, 0x4b, 0x47, 0xbe, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x9f, 0xb6, 0x11, 0xc6,
817	0x09, 0x00, 0x00,
818}
819
820// Reference imports to suppress errors if they are not otherwise used.
821var _ context.Context
822var _ grpc.ClientConn
823
824// This is a compile-time assertion to ensure that this generated file
825// is compatible with the grpc package it is being compiled against.
826const _ = grpc.SupportPackageIsVersion4
827
828// ReferenceServiceV1Client is the client API for ReferenceServiceV1 service.
829//
830// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
831type ReferenceServiceV1Client interface {
832	// Searches for reference sets which match the given criteria.
833	//
834	// For the definitions of references and other genomics resources, see
835	// [Fundamentals of Google
836	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
837	//
838	// Implements
839	// [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
840	SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error)
841	// Gets a reference set.
842	//
843	// For the definitions of references and other genomics resources, see
844	// [Fundamentals of Google
845	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
846	//
847	// Implements
848	// [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
849	GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error)
850	// Searches for references which match the given criteria.
851	//
852	// For the definitions of references and other genomics resources, see
853	// [Fundamentals of Google
854	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
855	//
856	// Implements
857	// [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
858	SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error)
859	// Gets a reference.
860	//
861	// For the definitions of references and other genomics resources, see
862	// [Fundamentals of Google
863	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
864	//
865	// Implements
866	// [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).
867	GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error)
868	// Lists the bases in a reference, optionally restricted to a range.
869	//
870	// For the definitions of references and other genomics resources, see
871	// [Fundamentals of Google
872	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
873	//
874	// Implements
875	// [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
876	ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error)
877}
878
879type referenceServiceV1Client struct {
880	cc *grpc.ClientConn
881}
882
883func NewReferenceServiceV1Client(cc *grpc.ClientConn) ReferenceServiceV1Client {
884	return &referenceServiceV1Client{cc}
885}
886
887func (c *referenceServiceV1Client) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) {
888	out := new(SearchReferenceSetsResponse)
889	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", in, out, opts...)
890	if err != nil {
891		return nil, err
892	}
893	return out, nil
894}
895
896func (c *referenceServiceV1Client) GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) {
897	out := new(ReferenceSet)
898	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", in, out, opts...)
899	if err != nil {
900		return nil, err
901	}
902	return out, nil
903}
904
905func (c *referenceServiceV1Client) SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) {
906	out := new(SearchReferencesResponse)
907	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferences", in, out, opts...)
908	if err != nil {
909		return nil, err
910	}
911	return out, nil
912}
913
914func (c *referenceServiceV1Client) GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) {
915	out := new(Reference)
916	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReference", in, out, opts...)
917	if err != nil {
918		return nil, err
919	}
920	return out, nil
921}
922
923func (c *referenceServiceV1Client) ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) {
924	out := new(ListBasesResponse)
925	err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/ListBases", in, out, opts...)
926	if err != nil {
927		return nil, err
928	}
929	return out, nil
930}
931
932// ReferenceServiceV1Server is the server API for ReferenceServiceV1 service.
933type ReferenceServiceV1Server interface {
934	// Searches for reference sets which match the given criteria.
935	//
936	// For the definitions of references and other genomics resources, see
937	// [Fundamentals of Google
938	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
939	//
940	// Implements
941	// [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
942	SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error)
943	// Gets a reference set.
944	//
945	// For the definitions of references and other genomics resources, see
946	// [Fundamentals of Google
947	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
948	//
949	// Implements
950	// [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
951	GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error)
952	// Searches for references which match the given criteria.
953	//
954	// For the definitions of references and other genomics resources, see
955	// [Fundamentals of Google
956	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
957	//
958	// Implements
959	// [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
960	SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error)
961	// Gets a reference.
962	//
963	// For the definitions of references and other genomics resources, see
964	// [Fundamentals of Google
965	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
966	//
967	// Implements
968	// [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).
969	GetReference(context.Context, *GetReferenceRequest) (*Reference, error)
970	// Lists the bases in a reference, optionally restricted to a range.
971	//
972	// For the definitions of references and other genomics resources, see
973	// [Fundamentals of Google
974	// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
975	//
976	// Implements
977	// [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
978	ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error)
979}
980
981func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server) {
982	s.RegisterService(&_ReferenceServiceV1_serviceDesc, srv)
983}
984
985func _ReferenceServiceV1_SearchReferenceSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
986	in := new(SearchReferenceSetsRequest)
987	if err := dec(in); err != nil {
988		return nil, err
989	}
990	if interceptor == nil {
991		return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, in)
992	}
993	info := &grpc.UnaryServerInfo{
994		Server:     srv,
995		FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets",
996	}
997	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
998		return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, req.(*SearchReferenceSetsRequest))
999	}
1000	return interceptor(ctx, in, info, handler)
1001}
1002
1003func _ReferenceServiceV1_GetReferenceSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1004	in := new(GetReferenceSetRequest)
1005	if err := dec(in); err != nil {
1006		return nil, err
1007	}
1008	if interceptor == nil {
1009		return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, in)
1010	}
1011	info := &grpc.UnaryServerInfo{
1012		Server:     srv,
1013		FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet",
1014	}
1015	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1016		return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, req.(*GetReferenceSetRequest))
1017	}
1018	return interceptor(ctx, in, info, handler)
1019}
1020
1021func _ReferenceServiceV1_SearchReferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1022	in := new(SearchReferencesRequest)
1023	if err := dec(in); err != nil {
1024		return nil, err
1025	}
1026	if interceptor == nil {
1027		return srv.(ReferenceServiceV1Server).SearchReferences(ctx, in)
1028	}
1029	info := &grpc.UnaryServerInfo{
1030		Server:     srv,
1031		FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferences",
1032	}
1033	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1034		return srv.(ReferenceServiceV1Server).SearchReferences(ctx, req.(*SearchReferencesRequest))
1035	}
1036	return interceptor(ctx, in, info, handler)
1037}
1038
1039func _ReferenceServiceV1_GetReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1040	in := new(GetReferenceRequest)
1041	if err := dec(in); err != nil {
1042		return nil, err
1043	}
1044	if interceptor == nil {
1045		return srv.(ReferenceServiceV1Server).GetReference(ctx, in)
1046	}
1047	info := &grpc.UnaryServerInfo{
1048		Server:     srv,
1049		FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReference",
1050	}
1051	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1052		return srv.(ReferenceServiceV1Server).GetReference(ctx, req.(*GetReferenceRequest))
1053	}
1054	return interceptor(ctx, in, info, handler)
1055}
1056
1057func _ReferenceServiceV1_ListBases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1058	in := new(ListBasesRequest)
1059	if err := dec(in); err != nil {
1060		return nil, err
1061	}
1062	if interceptor == nil {
1063		return srv.(ReferenceServiceV1Server).ListBases(ctx, in)
1064	}
1065	info := &grpc.UnaryServerInfo{
1066		Server:     srv,
1067		FullMethod: "/google.genomics.v1.ReferenceServiceV1/ListBases",
1068	}
1069	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1070		return srv.(ReferenceServiceV1Server).ListBases(ctx, req.(*ListBasesRequest))
1071	}
1072	return interceptor(ctx, in, info, handler)
1073}
1074
1075var _ReferenceServiceV1_serviceDesc = grpc.ServiceDesc{
1076	ServiceName: "google.genomics.v1.ReferenceServiceV1",
1077	HandlerType: (*ReferenceServiceV1Server)(nil),
1078	Methods: []grpc.MethodDesc{
1079		{
1080			MethodName: "SearchReferenceSets",
1081			Handler:    _ReferenceServiceV1_SearchReferenceSets_Handler,
1082		},
1083		{
1084			MethodName: "GetReferenceSet",
1085			Handler:    _ReferenceServiceV1_GetReferenceSet_Handler,
1086		},
1087		{
1088			MethodName: "SearchReferences",
1089			Handler:    _ReferenceServiceV1_SearchReferences_Handler,
1090		},
1091		{
1092			MethodName: "GetReference",
1093			Handler:    _ReferenceServiceV1_GetReference_Handler,
1094		},
1095		{
1096			MethodName: "ListBases",
1097			Handler:    _ReferenceServiceV1_ListBases_Handler,
1098		},
1099	},
1100	Streams:  []grpc.StreamDesc{},
1101	Metadata: "google/genomics/v1/references.proto",
1102}
1103