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