You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1093 lines
44 KiB

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