1// Copyright 2016 Google Inc. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/genomics/v1/references.proto 20 21package genomics 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 grpc "google.golang.org/grpc" 30 codes "google.golang.org/grpc/codes" 31 status "google.golang.org/grpc/status" 32 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 33 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 34) 35 36const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41) 42 43// A reference is a canonical assembled DNA sequence, intended to act as a 44// reference coordinate space for other genomic annotations. A single reference 45// might represent the human chromosome 1 or mitochandrial DNA, for instance. A 46// reference belongs to one or more reference sets. 47// 48// For more genomics resource definitions, see [Fundamentals of Google 49// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 50type Reference struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 55 // The server-generated reference ID, unique across all references. 56 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 57 // The length of this reference's sequence. 58 Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` 59 // MD5 of the upper-case sequence excluding all whitespace characters (this 60 // is equivalent to SQ:M5 in SAM). This value is represented in lower case 61 // hexadecimal format. 62 Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` 63 // The name of this reference, for example `22`. 64 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 65 // The URI from which the sequence was obtained. Typically specifies a FASTA 66 // format file. 67 SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` 68 // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally 69 // with a version number, for example `GCF_000001405.26`. 70 SourceAccessions []string `protobuf:"bytes,6,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` 71 // ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. 72 NcbiTaxonId int32 `protobuf:"varint,7,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"` 73} 74 75func (x *Reference) Reset() { 76 *x = Reference{} 77 if protoimpl.UnsafeEnabled { 78 mi := &file_google_genomics_v1_references_proto_msgTypes[0] 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 ms.StoreMessageInfo(mi) 81 } 82} 83 84func (x *Reference) String() string { 85 return protoimpl.X.MessageStringOf(x) 86} 87 88func (*Reference) ProtoMessage() {} 89 90func (x *Reference) ProtoReflect() protoreflect.Message { 91 mi := &file_google_genomics_v1_references_proto_msgTypes[0] 92 if protoimpl.UnsafeEnabled && x != nil { 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 if ms.LoadMessageInfo() == nil { 95 ms.StoreMessageInfo(mi) 96 } 97 return ms 98 } 99 return mi.MessageOf(x) 100} 101 102// Deprecated: Use Reference.ProtoReflect.Descriptor instead. 103func (*Reference) Descriptor() ([]byte, []int) { 104 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{0} 105} 106 107func (x *Reference) GetId() string { 108 if x != nil { 109 return x.Id 110 } 111 return "" 112} 113 114func (x *Reference) GetLength() int64 { 115 if x != nil { 116 return x.Length 117 } 118 return 0 119} 120 121func (x *Reference) GetMd5Checksum() string { 122 if x != nil { 123 return x.Md5Checksum 124 } 125 return "" 126} 127 128func (x *Reference) GetName() string { 129 if x != nil { 130 return x.Name 131 } 132 return "" 133} 134 135func (x *Reference) GetSourceUri() string { 136 if x != nil { 137 return x.SourceUri 138 } 139 return "" 140} 141 142func (x *Reference) GetSourceAccessions() []string { 143 if x != nil { 144 return x.SourceAccessions 145 } 146 return nil 147} 148 149func (x *Reference) GetNcbiTaxonId() int32 { 150 if x != nil { 151 return x.NcbiTaxonId 152 } 153 return 0 154} 155 156// A reference set is a set of references which typically comprise a reference 157// assembly for a species, such as `GRCh38` which is representative 158// of the human genome. A reference set defines a common coordinate space for 159// comparing reference-aligned experimental data. A reference set contains 1 or 160// more references. 161// 162// For more genomics resource definitions, see [Fundamentals of Google 163// Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 164type ReferenceSet struct { 165 state protoimpl.MessageState 166 sizeCache protoimpl.SizeCache 167 unknownFields protoimpl.UnknownFields 168 169 // The server-generated reference set ID, unique across all reference sets. 170 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 171 // The IDs of the reference objects that are part of this set. 172 // `Reference.md5checksum` must be unique within this set. 173 ReferenceIds []string `protobuf:"bytes,2,rep,name=reference_ids,json=referenceIds,proto3" json:"reference_ids,omitempty"` 174 // Order-independent MD5 checksum which identifies this reference set. The 175 // checksum is computed by sorting all lower case hexidecimal string 176 // `reference.md5checksum` (for all reference in this set) in 177 // ascending lexicographic order, concatenating, and taking the MD5 of that 178 // value. The resulting value is represented in lower case hexadecimal format. 179 Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` 180 // ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) 181 // indicating the species which this reference set is intended to model. Note 182 // that contained references may specify a different `ncbiTaxonId`, as 183 // assemblies may contain reference sequences which do not belong to the 184 // modeled species, for example EBV in a human reference genome. 185 NcbiTaxonId int32 `protobuf:"varint,4,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"` 186 // Free text description of this reference set. 187 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` 188 // Public id of this reference set, such as `GRCh37`. 189 AssemblyId string `protobuf:"bytes,6,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` 190 // The URI from which the references were obtained. 191 SourceUri string `protobuf:"bytes,7,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` 192 // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally 193 // with a version number, for example `NC_000001.11`. 194 SourceAccessions []string `protobuf:"bytes,8,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` 195} 196 197func (x *ReferenceSet) Reset() { 198 *x = ReferenceSet{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_google_genomics_v1_references_proto_msgTypes[1] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204} 205 206func (x *ReferenceSet) String() string { 207 return protoimpl.X.MessageStringOf(x) 208} 209 210func (*ReferenceSet) ProtoMessage() {} 211 212func (x *ReferenceSet) ProtoReflect() protoreflect.Message { 213 mi := &file_google_genomics_v1_references_proto_msgTypes[1] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222} 223 224// Deprecated: Use ReferenceSet.ProtoReflect.Descriptor instead. 225func (*ReferenceSet) Descriptor() ([]byte, []int) { 226 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{1} 227} 228 229func (x *ReferenceSet) GetId() string { 230 if x != nil { 231 return x.Id 232 } 233 return "" 234} 235 236func (x *ReferenceSet) GetReferenceIds() []string { 237 if x != nil { 238 return x.ReferenceIds 239 } 240 return nil 241} 242 243func (x *ReferenceSet) GetMd5Checksum() string { 244 if x != nil { 245 return x.Md5Checksum 246 } 247 return "" 248} 249 250func (x *ReferenceSet) GetNcbiTaxonId() int32 { 251 if x != nil { 252 return x.NcbiTaxonId 253 } 254 return 0 255} 256 257func (x *ReferenceSet) GetDescription() string { 258 if x != nil { 259 return x.Description 260 } 261 return "" 262} 263 264func (x *ReferenceSet) GetAssemblyId() string { 265 if x != nil { 266 return x.AssemblyId 267 } 268 return "" 269} 270 271func (x *ReferenceSet) GetSourceUri() string { 272 if x != nil { 273 return x.SourceUri 274 } 275 return "" 276} 277 278func (x *ReferenceSet) GetSourceAccessions() []string { 279 if x != nil { 280 return x.SourceAccessions 281 } 282 return nil 283} 284 285type SearchReferenceSetsRequest struct { 286 state protoimpl.MessageState 287 sizeCache protoimpl.SizeCache 288 unknownFields protoimpl.UnknownFields 289 290 // If present, return reference sets for which the 291 // [md5checksum][google.genomics.v1.ReferenceSet.md5checksum] matches exactly. 292 Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` 293 // If present, return reference sets for which a prefix of any of 294 // [sourceAccessions][google.genomics.v1.ReferenceSet.source_accessions] 295 // match any of these strings. Accession numbers typically have a main number 296 // and a version, for example `NC_000001.11`. 297 Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` 298 // If present, return reference sets for which a substring of their 299 // `assemblyId` matches this string (case insensitive). 300 AssemblyId string `protobuf:"bytes,3,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` 301 // The continuation token, which is used to page through large result sets. 302 // To get the next page of results, set this parameter to the value of 303 // `nextPageToken` from the previous response. 304 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 305 // The maximum number of results to return in a single page. If unspecified, 306 // defaults to 1024. The maximum value is 4096. 307 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 308} 309 310func (x *SearchReferenceSetsRequest) Reset() { 311 *x = SearchReferenceSetsRequest{} 312 if protoimpl.UnsafeEnabled { 313 mi := &file_google_genomics_v1_references_proto_msgTypes[2] 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 ms.StoreMessageInfo(mi) 316 } 317} 318 319func (x *SearchReferenceSetsRequest) String() string { 320 return protoimpl.X.MessageStringOf(x) 321} 322 323func (*SearchReferenceSetsRequest) ProtoMessage() {} 324 325func (x *SearchReferenceSetsRequest) ProtoReflect() protoreflect.Message { 326 mi := &file_google_genomics_v1_references_proto_msgTypes[2] 327 if protoimpl.UnsafeEnabled && x != nil { 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 329 if ms.LoadMessageInfo() == nil { 330 ms.StoreMessageInfo(mi) 331 } 332 return ms 333 } 334 return mi.MessageOf(x) 335} 336 337// Deprecated: Use SearchReferenceSetsRequest.ProtoReflect.Descriptor instead. 338func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) { 339 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{2} 340} 341 342func (x *SearchReferenceSetsRequest) GetMd5Checksums() []string { 343 if x != nil { 344 return x.Md5Checksums 345 } 346 return nil 347} 348 349func (x *SearchReferenceSetsRequest) GetAccessions() []string { 350 if x != nil { 351 return x.Accessions 352 } 353 return nil 354} 355 356func (x *SearchReferenceSetsRequest) GetAssemblyId() string { 357 if x != nil { 358 return x.AssemblyId 359 } 360 return "" 361} 362 363func (x *SearchReferenceSetsRequest) GetPageToken() string { 364 if x != nil { 365 return x.PageToken 366 } 367 return "" 368} 369 370func (x *SearchReferenceSetsRequest) GetPageSize() int32 { 371 if x != nil { 372 return x.PageSize 373 } 374 return 0 375} 376 377type SearchReferenceSetsResponse struct { 378 state protoimpl.MessageState 379 sizeCache protoimpl.SizeCache 380 unknownFields protoimpl.UnknownFields 381 382 // The matching references sets. 383 ReferenceSets []*ReferenceSet `protobuf:"bytes,1,rep,name=reference_sets,json=referenceSets,proto3" json:"reference_sets,omitempty"` 384 // The continuation token, which is used to page through large result sets. 385 // Provide this value in a subsequent request to return the next page of 386 // results. This field will be empty if there aren't any additional results. 387 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 388} 389 390func (x *SearchReferenceSetsResponse) Reset() { 391 *x = SearchReferenceSetsResponse{} 392 if protoimpl.UnsafeEnabled { 393 mi := &file_google_genomics_v1_references_proto_msgTypes[3] 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 ms.StoreMessageInfo(mi) 396 } 397} 398 399func (x *SearchReferenceSetsResponse) String() string { 400 return protoimpl.X.MessageStringOf(x) 401} 402 403func (*SearchReferenceSetsResponse) ProtoMessage() {} 404 405func (x *SearchReferenceSetsResponse) ProtoReflect() protoreflect.Message { 406 mi := &file_google_genomics_v1_references_proto_msgTypes[3] 407 if protoimpl.UnsafeEnabled && x != nil { 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 if ms.LoadMessageInfo() == nil { 410 ms.StoreMessageInfo(mi) 411 } 412 return ms 413 } 414 return mi.MessageOf(x) 415} 416 417// Deprecated: Use SearchReferenceSetsResponse.ProtoReflect.Descriptor instead. 418func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) { 419 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{3} 420} 421 422func (x *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet { 423 if x != nil { 424 return x.ReferenceSets 425 } 426 return nil 427} 428 429func (x *SearchReferenceSetsResponse) GetNextPageToken() string { 430 if x != nil { 431 return x.NextPageToken 432 } 433 return "" 434} 435 436type GetReferenceSetRequest struct { 437 state protoimpl.MessageState 438 sizeCache protoimpl.SizeCache 439 unknownFields protoimpl.UnknownFields 440 441 // The ID of the reference set. 442 ReferenceSetId string `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` 443} 444 445func (x *GetReferenceSetRequest) Reset() { 446 *x = GetReferenceSetRequest{} 447 if protoimpl.UnsafeEnabled { 448 mi := &file_google_genomics_v1_references_proto_msgTypes[4] 449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 450 ms.StoreMessageInfo(mi) 451 } 452} 453 454func (x *GetReferenceSetRequest) String() string { 455 return protoimpl.X.MessageStringOf(x) 456} 457 458func (*GetReferenceSetRequest) ProtoMessage() {} 459 460func (x *GetReferenceSetRequest) ProtoReflect() protoreflect.Message { 461 mi := &file_google_genomics_v1_references_proto_msgTypes[4] 462 if protoimpl.UnsafeEnabled && x != nil { 463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 464 if ms.LoadMessageInfo() == nil { 465 ms.StoreMessageInfo(mi) 466 } 467 return ms 468 } 469 return mi.MessageOf(x) 470} 471 472// Deprecated: Use GetReferenceSetRequest.ProtoReflect.Descriptor instead. 473func (*GetReferenceSetRequest) Descriptor() ([]byte, []int) { 474 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{4} 475} 476 477func (x *GetReferenceSetRequest) GetReferenceSetId() string { 478 if x != nil { 479 return x.ReferenceSetId 480 } 481 return "" 482} 483 484type SearchReferencesRequest struct { 485 state protoimpl.MessageState 486 sizeCache protoimpl.SizeCache 487 unknownFields protoimpl.UnknownFields 488 489 // If present, return references for which the 490 // [md5checksum][google.genomics.v1.Reference.md5checksum] matches exactly. 491 Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` 492 // If present, return references for which a prefix of any of 493 // [sourceAccessions][google.genomics.v1.Reference.source_accessions] match 494 // any of these strings. Accession numbers typically have a main number and a 495 // version, for example `GCF_000001405.26`. 496 Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` 497 // If present, return only references which belong to this reference set. 498 ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` 499 // The continuation token, which is used to page through large result sets. 500 // To get the next page of results, set this parameter to the value of 501 // `nextPageToken` from the previous response. 502 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 503 // The maximum number of results to return in a single page. If unspecified, 504 // defaults to 1024. The maximum value is 4096. 505 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 506} 507 508func (x *SearchReferencesRequest) Reset() { 509 *x = SearchReferencesRequest{} 510 if protoimpl.UnsafeEnabled { 511 mi := &file_google_genomics_v1_references_proto_msgTypes[5] 512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 513 ms.StoreMessageInfo(mi) 514 } 515} 516 517func (x *SearchReferencesRequest) String() string { 518 return protoimpl.X.MessageStringOf(x) 519} 520 521func (*SearchReferencesRequest) ProtoMessage() {} 522 523func (x *SearchReferencesRequest) ProtoReflect() protoreflect.Message { 524 mi := &file_google_genomics_v1_references_proto_msgTypes[5] 525 if protoimpl.UnsafeEnabled && x != nil { 526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 527 if ms.LoadMessageInfo() == nil { 528 ms.StoreMessageInfo(mi) 529 } 530 return ms 531 } 532 return mi.MessageOf(x) 533} 534 535// Deprecated: Use SearchReferencesRequest.ProtoReflect.Descriptor instead. 536func (*SearchReferencesRequest) Descriptor() ([]byte, []int) { 537 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{5} 538} 539 540func (x *SearchReferencesRequest) GetMd5Checksums() []string { 541 if x != nil { 542 return x.Md5Checksums 543 } 544 return nil 545} 546 547func (x *SearchReferencesRequest) GetAccessions() []string { 548 if x != nil { 549 return x.Accessions 550 } 551 return nil 552} 553 554func (x *SearchReferencesRequest) GetReferenceSetId() string { 555 if x != nil { 556 return x.ReferenceSetId 557 } 558 return "" 559} 560 561func (x *SearchReferencesRequest) GetPageToken() string { 562 if x != nil { 563 return x.PageToken 564 } 565 return "" 566} 567 568func (x *SearchReferencesRequest) GetPageSize() int32 { 569 if x != nil { 570 return x.PageSize 571 } 572 return 0 573} 574 575type SearchReferencesResponse struct { 576 state protoimpl.MessageState 577 sizeCache protoimpl.SizeCache 578 unknownFields protoimpl.UnknownFields 579 580 // The matching references. 581 References []*Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` 582 // The continuation token, which is used to page through large result sets. 583 // Provide this value in a subsequent request to return the next page of 584 // results. This field will be empty if there aren't any additional results. 585 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 586} 587 588func (x *SearchReferencesResponse) Reset() { 589 *x = SearchReferencesResponse{} 590 if protoimpl.UnsafeEnabled { 591 mi := &file_google_genomics_v1_references_proto_msgTypes[6] 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 ms.StoreMessageInfo(mi) 594 } 595} 596 597func (x *SearchReferencesResponse) String() string { 598 return protoimpl.X.MessageStringOf(x) 599} 600 601func (*SearchReferencesResponse) ProtoMessage() {} 602 603func (x *SearchReferencesResponse) ProtoReflect() protoreflect.Message { 604 mi := &file_google_genomics_v1_references_proto_msgTypes[6] 605 if protoimpl.UnsafeEnabled && x != nil { 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 607 if ms.LoadMessageInfo() == nil { 608 ms.StoreMessageInfo(mi) 609 } 610 return ms 611 } 612 return mi.MessageOf(x) 613} 614 615// Deprecated: Use SearchReferencesResponse.ProtoReflect.Descriptor instead. 616func (*SearchReferencesResponse) Descriptor() ([]byte, []int) { 617 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{6} 618} 619 620func (x *SearchReferencesResponse) GetReferences() []*Reference { 621 if x != nil { 622 return x.References 623 } 624 return nil 625} 626 627func (x *SearchReferencesResponse) GetNextPageToken() string { 628 if x != nil { 629 return x.NextPageToken 630 } 631 return "" 632} 633 634type GetReferenceRequest struct { 635 state protoimpl.MessageState 636 sizeCache protoimpl.SizeCache 637 unknownFields protoimpl.UnknownFields 638 639 // The ID of the reference. 640 ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` 641} 642 643func (x *GetReferenceRequest) Reset() { 644 *x = GetReferenceRequest{} 645 if protoimpl.UnsafeEnabled { 646 mi := &file_google_genomics_v1_references_proto_msgTypes[7] 647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 648 ms.StoreMessageInfo(mi) 649 } 650} 651 652func (x *GetReferenceRequest) String() string { 653 return protoimpl.X.MessageStringOf(x) 654} 655 656func (*GetReferenceRequest) ProtoMessage() {} 657 658func (x *GetReferenceRequest) ProtoReflect() protoreflect.Message { 659 mi := &file_google_genomics_v1_references_proto_msgTypes[7] 660 if protoimpl.UnsafeEnabled && x != nil { 661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 662 if ms.LoadMessageInfo() == nil { 663 ms.StoreMessageInfo(mi) 664 } 665 return ms 666 } 667 return mi.MessageOf(x) 668} 669 670// Deprecated: Use GetReferenceRequest.ProtoReflect.Descriptor instead. 671func (*GetReferenceRequest) Descriptor() ([]byte, []int) { 672 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{7} 673} 674 675func (x *GetReferenceRequest) GetReferenceId() string { 676 if x != nil { 677 return x.ReferenceId 678 } 679 return "" 680} 681 682type ListBasesRequest struct { 683 state protoimpl.MessageState 684 sizeCache protoimpl.SizeCache 685 unknownFields protoimpl.UnknownFields 686 687 // The ID of the reference. 688 ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` 689 // The start position (0-based) of this query. Defaults to 0. 690 Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` 691 // The end position (0-based, exclusive) of this query. Defaults to the length 692 // of this reference. 693 End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` 694 // The continuation token, which is used to page through large result sets. 695 // To get the next page of results, set this parameter to the value of 696 // `nextPageToken` from the previous response. 697 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 698 // The maximum number of bases to return in a single page. If unspecified, 699 // defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base 700 // pairs). 701 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 702} 703 704func (x *ListBasesRequest) Reset() { 705 *x = ListBasesRequest{} 706 if protoimpl.UnsafeEnabled { 707 mi := &file_google_genomics_v1_references_proto_msgTypes[8] 708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 709 ms.StoreMessageInfo(mi) 710 } 711} 712 713func (x *ListBasesRequest) String() string { 714 return protoimpl.X.MessageStringOf(x) 715} 716 717func (*ListBasesRequest) ProtoMessage() {} 718 719func (x *ListBasesRequest) ProtoReflect() protoreflect.Message { 720 mi := &file_google_genomics_v1_references_proto_msgTypes[8] 721 if protoimpl.UnsafeEnabled && x != nil { 722 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 723 if ms.LoadMessageInfo() == nil { 724 ms.StoreMessageInfo(mi) 725 } 726 return ms 727 } 728 return mi.MessageOf(x) 729} 730 731// Deprecated: Use ListBasesRequest.ProtoReflect.Descriptor instead. 732func (*ListBasesRequest) Descriptor() ([]byte, []int) { 733 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{8} 734} 735 736func (x *ListBasesRequest) GetReferenceId() string { 737 if x != nil { 738 return x.ReferenceId 739 } 740 return "" 741} 742 743func (x *ListBasesRequest) GetStart() int64 { 744 if x != nil { 745 return x.Start 746 } 747 return 0 748} 749 750func (x *ListBasesRequest) GetEnd() int64 { 751 if x != nil { 752 return x.End 753 } 754 return 0 755} 756 757func (x *ListBasesRequest) GetPageToken() string { 758 if x != nil { 759 return x.PageToken 760 } 761 return "" 762} 763 764func (x *ListBasesRequest) GetPageSize() int32 { 765 if x != nil { 766 return x.PageSize 767 } 768 return 0 769} 770 771type ListBasesResponse struct { 772 state protoimpl.MessageState 773 sizeCache protoimpl.SizeCache 774 unknownFields protoimpl.UnknownFields 775 776 // The offset position (0-based) of the given `sequence` from the 777 // start of this `Reference`. This value will differ for each page 778 // in a paginated request. 779 Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` 780 // A substring of the bases that make up this reference. 781 Sequence string `protobuf:"bytes,2,opt,name=sequence,proto3" json:"sequence,omitempty"` 782 // The continuation token, which is used to page through large result sets. 783 // Provide this value in a subsequent request to return the next page of 784 // results. This field will be empty if there aren't any additional results. 785 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 786} 787 788func (x *ListBasesResponse) Reset() { 789 *x = ListBasesResponse{} 790 if protoimpl.UnsafeEnabled { 791 mi := &file_google_genomics_v1_references_proto_msgTypes[9] 792 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 793 ms.StoreMessageInfo(mi) 794 } 795} 796 797func (x *ListBasesResponse) String() string { 798 return protoimpl.X.MessageStringOf(x) 799} 800 801func (*ListBasesResponse) ProtoMessage() {} 802 803func (x *ListBasesResponse) ProtoReflect() protoreflect.Message { 804 mi := &file_google_genomics_v1_references_proto_msgTypes[9] 805 if protoimpl.UnsafeEnabled && x != nil { 806 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 807 if ms.LoadMessageInfo() == nil { 808 ms.StoreMessageInfo(mi) 809 } 810 return ms 811 } 812 return mi.MessageOf(x) 813} 814 815// Deprecated: Use ListBasesResponse.ProtoReflect.Descriptor instead. 816func (*ListBasesResponse) Descriptor() ([]byte, []int) { 817 return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{9} 818} 819 820func (x *ListBasesResponse) GetOffset() int64 { 821 if x != nil { 822 return x.Offset 823 } 824 return 0 825} 826 827func (x *ListBasesResponse) GetSequence() string { 828 if x != nil { 829 return x.Sequence 830 } 831 return "" 832} 833 834func (x *ListBasesResponse) GetNextPageToken() string { 835 if x != nil { 836 return x.NextPageToken 837 } 838 return "" 839} 840 841var File_google_genomics_v1_references_proto protoreflect.FileDescriptor 842 843var file_google_genomics_v1_references_proto_rawDesc = []byte{ 844 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 845 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 846 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 847 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 848 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 849 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 850 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 851 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 852 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a, 853 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 854 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 855 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 856 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 857 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 858 0x72, 0x69, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 859 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x73, 860 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 861 0x22, 0x0a, 0x0d, 0x6e, 0x63, 0x62, 0x69, 0x5f, 0x74, 0x61, 0x78, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 862 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x63, 0x62, 0x69, 0x54, 0x61, 0x78, 0x6f, 863 0x6e, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 864 0x65, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 865 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 866 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 867 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x64, 0x35, 868 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 869 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 870 0x63, 0x62, 0x69, 0x5f, 0x74, 0x61, 0x78, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 871 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x63, 0x62, 0x69, 0x54, 0x61, 0x78, 0x6f, 0x6e, 0x49, 0x64, 0x12, 872 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 873 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 874 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x5f, 0x69, 0x64, 875 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 876 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 877 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 878 0x69, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 879 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f, 880 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xbd, 881 0x01, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 882 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 883 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 884 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 885 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 886 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 887 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x5f, 0x69, 0x64, 888 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 889 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 890 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 891 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 892 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8e, 893 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 894 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 895 0x0a, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x73, 896 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 897 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 898 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 899 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 900 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 901 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 902 0x42, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 903 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x66, 904 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 905 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 906 0x74, 0x49, 0x64, 0x22, 0xc3, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 907 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 908 0x22, 0x0a, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 909 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 910 0x75, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 911 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 912 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 913 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 914 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 915 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 916 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 917 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 918 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x53, 0x65, 919 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 920 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 921 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 922 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 923 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 924 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 925 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 926 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x38, 0x0a, 927 0x13, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 928 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 929 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 930 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 931 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 932 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 933 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 934 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 935 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 936 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 937 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 938 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 939 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 940 0x69, 0x7a, 0x65, 0x22, 0x6f, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 941 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 942 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 943 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 944 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 945 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 946 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 947 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xdb, 0x05, 0x0a, 0x12, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 948 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x12, 0x9b, 0x01, 0x0a, 0x13, 949 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 950 0x65, 0x74, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 951 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 952 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 953 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 954 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 955 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 956 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x76, 957 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x65, 0x74, 0x73, 0x2f, 958 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x12, 0x8d, 0x01, 0x0a, 0x0f, 0x47, 0x65, 959 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x2a, 0x2e, 960 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 961 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 962 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 963 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 964 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 965 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 966 0x63, 0x65, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 967 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x10, 0x53, 0x65, 968 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 969 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 970 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 971 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 972 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 973 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 974 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 975 0x1a, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 976 0x73, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x12, 0x7d, 0x0a, 0x0c, 0x47, 977 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x2e, 0x67, 0x6f, 978 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 979 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 980 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 981 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 982 0x6e, 0x63, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 983 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 984 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x09, 0x4c, 985 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 986 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 987 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 988 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 989 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 990 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 991 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x72, 992 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x62, 0x61, 0x73, 993 0x65, 0x73, 0x42, 0x6a, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 994 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 995 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 996 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 997 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 998 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 999 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xf8, 0x01, 0x01, 0x62, 0x06, 1000 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1001} 1002 1003var ( 1004 file_google_genomics_v1_references_proto_rawDescOnce sync.Once 1005 file_google_genomics_v1_references_proto_rawDescData = file_google_genomics_v1_references_proto_rawDesc 1006) 1007 1008func file_google_genomics_v1_references_proto_rawDescGZIP() []byte { 1009 file_google_genomics_v1_references_proto_rawDescOnce.Do(func() { 1010 file_google_genomics_v1_references_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_genomics_v1_references_proto_rawDescData) 1011 }) 1012 return file_google_genomics_v1_references_proto_rawDescData 1013} 1014 1015var file_google_genomics_v1_references_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1016var file_google_genomics_v1_references_proto_goTypes = []interface{}{ 1017 (*Reference)(nil), // 0: google.genomics.v1.Reference 1018 (*ReferenceSet)(nil), // 1: google.genomics.v1.ReferenceSet 1019 (*SearchReferenceSetsRequest)(nil), // 2: google.genomics.v1.SearchReferenceSetsRequest 1020 (*SearchReferenceSetsResponse)(nil), // 3: google.genomics.v1.SearchReferenceSetsResponse 1021 (*GetReferenceSetRequest)(nil), // 4: google.genomics.v1.GetReferenceSetRequest 1022 (*SearchReferencesRequest)(nil), // 5: google.genomics.v1.SearchReferencesRequest 1023 (*SearchReferencesResponse)(nil), // 6: google.genomics.v1.SearchReferencesResponse 1024 (*GetReferenceRequest)(nil), // 7: google.genomics.v1.GetReferenceRequest 1025 (*ListBasesRequest)(nil), // 8: google.genomics.v1.ListBasesRequest 1026 (*ListBasesResponse)(nil), // 9: google.genomics.v1.ListBasesResponse 1027} 1028var file_google_genomics_v1_references_proto_depIdxs = []int32{ 1029 1, // 0: google.genomics.v1.SearchReferenceSetsResponse.reference_sets:type_name -> google.genomics.v1.ReferenceSet 1030 0, // 1: google.genomics.v1.SearchReferencesResponse.references:type_name -> google.genomics.v1.Reference 1031 2, // 2: google.genomics.v1.ReferenceServiceV1.SearchReferenceSets:input_type -> google.genomics.v1.SearchReferenceSetsRequest 1032 4, // 3: google.genomics.v1.ReferenceServiceV1.GetReferenceSet:input_type -> google.genomics.v1.GetReferenceSetRequest 1033 5, // 4: google.genomics.v1.ReferenceServiceV1.SearchReferences:input_type -> google.genomics.v1.SearchReferencesRequest 1034 7, // 5: google.genomics.v1.ReferenceServiceV1.GetReference:input_type -> google.genomics.v1.GetReferenceRequest 1035 8, // 6: google.genomics.v1.ReferenceServiceV1.ListBases:input_type -> google.genomics.v1.ListBasesRequest 1036 3, // 7: google.genomics.v1.ReferenceServiceV1.SearchReferenceSets:output_type -> google.genomics.v1.SearchReferenceSetsResponse 1037 1, // 8: google.genomics.v1.ReferenceServiceV1.GetReferenceSet:output_type -> google.genomics.v1.ReferenceSet 1038 6, // 9: google.genomics.v1.ReferenceServiceV1.SearchReferences:output_type -> google.genomics.v1.SearchReferencesResponse 1039 0, // 10: google.genomics.v1.ReferenceServiceV1.GetReference:output_type -> google.genomics.v1.Reference 1040 9, // 11: google.genomics.v1.ReferenceServiceV1.ListBases:output_type -> google.genomics.v1.ListBasesResponse 1041 7, // [7:12] is the sub-list for method output_type 1042 2, // [2:7] is the sub-list for method input_type 1043 2, // [2:2] is the sub-list for extension type_name 1044 2, // [2:2] is the sub-list for extension extendee 1045 0, // [0:2] is the sub-list for field type_name 1046} 1047 1048func init() { file_google_genomics_v1_references_proto_init() } 1049func file_google_genomics_v1_references_proto_init() { 1050 if File_google_genomics_v1_references_proto != nil { 1051 return 1052 } 1053 if !protoimpl.UnsafeEnabled { 1054 file_google_genomics_v1_references_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1055 switch v := v.(*Reference); i { 1056 case 0: 1057 return &v.state 1058 case 1: 1059 return &v.sizeCache 1060 case 2: 1061 return &v.unknownFields 1062 default: 1063 return nil 1064 } 1065 } 1066 file_google_genomics_v1_references_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1067 switch v := v.(*ReferenceSet); i { 1068 case 0: 1069 return &v.state 1070 case 1: 1071 return &v.sizeCache 1072 case 2: 1073 return &v.unknownFields 1074 default: 1075 return nil 1076 } 1077 } 1078 file_google_genomics_v1_references_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1079 switch v := v.(*SearchReferenceSetsRequest); i { 1080 case 0: 1081 return &v.state 1082 case 1: 1083 return &v.sizeCache 1084 case 2: 1085 return &v.unknownFields 1086 default: 1087 return nil 1088 } 1089 } 1090 file_google_genomics_v1_references_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1091 switch v := v.(*SearchReferenceSetsResponse); i { 1092 case 0: 1093 return &v.state 1094 case 1: 1095 return &v.sizeCache 1096 case 2: 1097 return &v.unknownFields 1098 default: 1099 return nil 1100 } 1101 } 1102 file_google_genomics_v1_references_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1103 switch v := v.(*GetReferenceSetRequest); i { 1104 case 0: 1105 return &v.state 1106 case 1: 1107 return &v.sizeCache 1108 case 2: 1109 return &v.unknownFields 1110 default: 1111 return nil 1112 } 1113 } 1114 file_google_genomics_v1_references_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1115 switch v := v.(*SearchReferencesRequest); i { 1116 case 0: 1117 return &v.state 1118 case 1: 1119 return &v.sizeCache 1120 case 2: 1121 return &v.unknownFields 1122 default: 1123 return nil 1124 } 1125 } 1126 file_google_genomics_v1_references_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1127 switch v := v.(*SearchReferencesResponse); i { 1128 case 0: 1129 return &v.state 1130 case 1: 1131 return &v.sizeCache 1132 case 2: 1133 return &v.unknownFields 1134 default: 1135 return nil 1136 } 1137 } 1138 file_google_genomics_v1_references_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1139 switch v := v.(*GetReferenceRequest); i { 1140 case 0: 1141 return &v.state 1142 case 1: 1143 return &v.sizeCache 1144 case 2: 1145 return &v.unknownFields 1146 default: 1147 return nil 1148 } 1149 } 1150 file_google_genomics_v1_references_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1151 switch v := v.(*ListBasesRequest); i { 1152 case 0: 1153 return &v.state 1154 case 1: 1155 return &v.sizeCache 1156 case 2: 1157 return &v.unknownFields 1158 default: 1159 return nil 1160 } 1161 } 1162 file_google_genomics_v1_references_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1163 switch v := v.(*ListBasesResponse); i { 1164 case 0: 1165 return &v.state 1166 case 1: 1167 return &v.sizeCache 1168 case 2: 1169 return &v.unknownFields 1170 default: 1171 return nil 1172 } 1173 } 1174 } 1175 type x struct{} 1176 out := protoimpl.TypeBuilder{ 1177 File: protoimpl.DescBuilder{ 1178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1179 RawDescriptor: file_google_genomics_v1_references_proto_rawDesc, 1180 NumEnums: 0, 1181 NumMessages: 10, 1182 NumExtensions: 0, 1183 NumServices: 1, 1184 }, 1185 GoTypes: file_google_genomics_v1_references_proto_goTypes, 1186 DependencyIndexes: file_google_genomics_v1_references_proto_depIdxs, 1187 MessageInfos: file_google_genomics_v1_references_proto_msgTypes, 1188 }.Build() 1189 File_google_genomics_v1_references_proto = out.File 1190 file_google_genomics_v1_references_proto_rawDesc = nil 1191 file_google_genomics_v1_references_proto_goTypes = nil 1192 file_google_genomics_v1_references_proto_depIdxs = nil 1193} 1194 1195// Reference imports to suppress errors if they are not otherwise used. 1196var _ context.Context 1197var _ grpc.ClientConnInterface 1198 1199// This is a compile-time assertion to ensure that this generated file 1200// is compatible with the grpc package it is being compiled against. 1201const _ = grpc.SupportPackageIsVersion6 1202 1203// ReferenceServiceV1Client is the client API for ReferenceServiceV1 service. 1204// 1205// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1206type ReferenceServiceV1Client interface { 1207 // Searches for reference sets which match the given criteria. 1208 // 1209 // For the definitions of references and other genomics resources, see 1210 // [Fundamentals of Google 1211 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1212 // 1213 // Implements 1214 // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) 1215 SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) 1216 // Gets a reference set. 1217 // 1218 // For the definitions of references and other genomics resources, see 1219 // [Fundamentals of Google 1220 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1221 // 1222 // Implements 1223 // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). 1224 GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) 1225 // Searches for references which match the given criteria. 1226 // 1227 // For the definitions of references and other genomics resources, see 1228 // [Fundamentals of Google 1229 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1230 // 1231 // Implements 1232 // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). 1233 SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) 1234 // Gets a reference. 1235 // 1236 // For the definitions of references and other genomics resources, see 1237 // [Fundamentals of Google 1238 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1239 // 1240 // Implements 1241 // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). 1242 GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) 1243 // Lists the bases in a reference, optionally restricted to a range. 1244 // 1245 // For the definitions of references and other genomics resources, see 1246 // [Fundamentals of Google 1247 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1248 // 1249 // Implements 1250 // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). 1251 ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) 1252} 1253 1254type referenceServiceV1Client struct { 1255 cc grpc.ClientConnInterface 1256} 1257 1258func NewReferenceServiceV1Client(cc grpc.ClientConnInterface) ReferenceServiceV1Client { 1259 return &referenceServiceV1Client{cc} 1260} 1261 1262func (c *referenceServiceV1Client) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) { 1263 out := new(SearchReferenceSetsResponse) 1264 err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", in, out, opts...) 1265 if err != nil { 1266 return nil, err 1267 } 1268 return out, nil 1269} 1270 1271func (c *referenceServiceV1Client) GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) { 1272 out := new(ReferenceSet) 1273 err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", in, out, opts...) 1274 if err != nil { 1275 return nil, err 1276 } 1277 return out, nil 1278} 1279 1280func (c *referenceServiceV1Client) SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) { 1281 out := new(SearchReferencesResponse) 1282 err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferences", in, out, opts...) 1283 if err != nil { 1284 return nil, err 1285 } 1286 return out, nil 1287} 1288 1289func (c *referenceServiceV1Client) GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) { 1290 out := new(Reference) 1291 err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReference", in, out, opts...) 1292 if err != nil { 1293 return nil, err 1294 } 1295 return out, nil 1296} 1297 1298func (c *referenceServiceV1Client) ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) { 1299 out := new(ListBasesResponse) 1300 err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/ListBases", in, out, opts...) 1301 if err != nil { 1302 return nil, err 1303 } 1304 return out, nil 1305} 1306 1307// ReferenceServiceV1Server is the server API for ReferenceServiceV1 service. 1308type ReferenceServiceV1Server interface { 1309 // Searches for reference sets which match the given criteria. 1310 // 1311 // For the definitions of references and other genomics resources, see 1312 // [Fundamentals of Google 1313 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1314 // 1315 // Implements 1316 // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) 1317 SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) 1318 // Gets a reference set. 1319 // 1320 // For the definitions of references and other genomics resources, see 1321 // [Fundamentals of Google 1322 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1323 // 1324 // Implements 1325 // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). 1326 GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) 1327 // Searches for references which match the given criteria. 1328 // 1329 // For the definitions of references and other genomics resources, see 1330 // [Fundamentals of Google 1331 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1332 // 1333 // Implements 1334 // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). 1335 SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) 1336 // Gets a reference. 1337 // 1338 // For the definitions of references and other genomics resources, see 1339 // [Fundamentals of Google 1340 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1341 // 1342 // Implements 1343 // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). 1344 GetReference(context.Context, *GetReferenceRequest) (*Reference, error) 1345 // Lists the bases in a reference, optionally restricted to a range. 1346 // 1347 // For the definitions of references and other genomics resources, see 1348 // [Fundamentals of Google 1349 // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 1350 // 1351 // Implements 1352 // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). 1353 ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) 1354} 1355 1356// UnimplementedReferenceServiceV1Server can be embedded to have forward compatible implementations. 1357type UnimplementedReferenceServiceV1Server struct { 1358} 1359 1360func (*UnimplementedReferenceServiceV1Server) SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) { 1361 return nil, status.Errorf(codes.Unimplemented, "method SearchReferenceSets not implemented") 1362} 1363func (*UnimplementedReferenceServiceV1Server) GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) { 1364 return nil, status.Errorf(codes.Unimplemented, "method GetReferenceSet not implemented") 1365} 1366func (*UnimplementedReferenceServiceV1Server) SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) { 1367 return nil, status.Errorf(codes.Unimplemented, "method SearchReferences not implemented") 1368} 1369func (*UnimplementedReferenceServiceV1Server) GetReference(context.Context, *GetReferenceRequest) (*Reference, error) { 1370 return nil, status.Errorf(codes.Unimplemented, "method GetReference not implemented") 1371} 1372func (*UnimplementedReferenceServiceV1Server) ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) { 1373 return nil, status.Errorf(codes.Unimplemented, "method ListBases not implemented") 1374} 1375 1376func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server) { 1377 s.RegisterService(&_ReferenceServiceV1_serviceDesc, srv) 1378} 1379 1380func _ReferenceServiceV1_SearchReferenceSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1381 in := new(SearchReferenceSetsRequest) 1382 if err := dec(in); err != nil { 1383 return nil, err 1384 } 1385 if interceptor == nil { 1386 return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, in) 1387 } 1388 info := &grpc.UnaryServerInfo{ 1389 Server: srv, 1390 FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", 1391 } 1392 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1393 return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, req.(*SearchReferenceSetsRequest)) 1394 } 1395 return interceptor(ctx, in, info, handler) 1396} 1397 1398func _ReferenceServiceV1_GetReferenceSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1399 in := new(GetReferenceSetRequest) 1400 if err := dec(in); err != nil { 1401 return nil, err 1402 } 1403 if interceptor == nil { 1404 return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, in) 1405 } 1406 info := &grpc.UnaryServerInfo{ 1407 Server: srv, 1408 FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", 1409 } 1410 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1411 return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, req.(*GetReferenceSetRequest)) 1412 } 1413 return interceptor(ctx, in, info, handler) 1414} 1415 1416func _ReferenceServiceV1_SearchReferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1417 in := new(SearchReferencesRequest) 1418 if err := dec(in); err != nil { 1419 return nil, err 1420 } 1421 if interceptor == nil { 1422 return srv.(ReferenceServiceV1Server).SearchReferences(ctx, in) 1423 } 1424 info := &grpc.UnaryServerInfo{ 1425 Server: srv, 1426 FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferences", 1427 } 1428 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1429 return srv.(ReferenceServiceV1Server).SearchReferences(ctx, req.(*SearchReferencesRequest)) 1430 } 1431 return interceptor(ctx, in, info, handler) 1432} 1433 1434func _ReferenceServiceV1_GetReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1435 in := new(GetReferenceRequest) 1436 if err := dec(in); err != nil { 1437 return nil, err 1438 } 1439 if interceptor == nil { 1440 return srv.(ReferenceServiceV1Server).GetReference(ctx, in) 1441 } 1442 info := &grpc.UnaryServerInfo{ 1443 Server: srv, 1444 FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReference", 1445 } 1446 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1447 return srv.(ReferenceServiceV1Server).GetReference(ctx, req.(*GetReferenceRequest)) 1448 } 1449 return interceptor(ctx, in, info, handler) 1450} 1451 1452func _ReferenceServiceV1_ListBases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1453 in := new(ListBasesRequest) 1454 if err := dec(in); err != nil { 1455 return nil, err 1456 } 1457 if interceptor == nil { 1458 return srv.(ReferenceServiceV1Server).ListBases(ctx, in) 1459 } 1460 info := &grpc.UnaryServerInfo{ 1461 Server: srv, 1462 FullMethod: "/google.genomics.v1.ReferenceServiceV1/ListBases", 1463 } 1464 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1465 return srv.(ReferenceServiceV1Server).ListBases(ctx, req.(*ListBasesRequest)) 1466 } 1467 return interceptor(ctx, in, info, handler) 1468} 1469 1470var _ReferenceServiceV1_serviceDesc = grpc.ServiceDesc{ 1471 ServiceName: "google.genomics.v1.ReferenceServiceV1", 1472 HandlerType: (*ReferenceServiceV1Server)(nil), 1473 Methods: []grpc.MethodDesc{ 1474 { 1475 MethodName: "SearchReferenceSets", 1476 Handler: _ReferenceServiceV1_SearchReferenceSets_Handler, 1477 }, 1478 { 1479 MethodName: "GetReferenceSet", 1480 Handler: _ReferenceServiceV1_GetReferenceSet_Handler, 1481 }, 1482 { 1483 MethodName: "SearchReferences", 1484 Handler: _ReferenceServiceV1_SearchReferences_Handler, 1485 }, 1486 { 1487 MethodName: "GetReference", 1488 Handler: _ReferenceServiceV1_GetReference_Handler, 1489 }, 1490 { 1491 MethodName: "ListBases", 1492 Handler: _ReferenceServiceV1_ListBases_Handler, 1493 }, 1494 }, 1495 Streams: []grpc.StreamDesc{}, 1496 Metadata: "google/genomics/v1/references.proto", 1497} 1498