1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/genomics/v1/annotations.proto 3 4package genomics 5 6import ( 7 context "context" 8 fmt "fmt" 9 math "math" 10 11 proto "github.com/golang/protobuf/proto" 12 empty "github.com/golang/protobuf/ptypes/empty" 13 _struct "github.com/golang/protobuf/ptypes/struct" 14 wrappers "github.com/golang/protobuf/ptypes/wrappers" 15 _ "google.golang.org/genproto/googleapis/api/annotations" 16 status "google.golang.org/genproto/googleapis/rpc/status" 17 field_mask "google.golang.org/genproto/protobuf/field_mask" 18 grpc "google.golang.org/grpc" 19 codes "google.golang.org/grpc/codes" 20 status1 "google.golang.org/grpc/status" 21) 22 23// Reference imports to suppress errors if they are not otherwise used. 24var _ = proto.Marshal 25var _ = fmt.Errorf 26var _ = math.Inf 27 28// This is a compile-time assertion to ensure that this generated file 29// is compatible with the proto package it is being compiled against. 30// A compilation error at this line likely means your copy of the 31// proto package needs to be updated. 32const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 33 34// When an [Annotation][google.genomics.v1.Annotation] or 35// [AnnotationSet][google.genomics.v1.AnnotationSet] is created, if `type` is 36// not specified it will be set to `GENERIC`. 37type AnnotationType int32 38 39const ( 40 AnnotationType_ANNOTATION_TYPE_UNSPECIFIED AnnotationType = 0 41 // A `GENERIC` annotation type should be used when no other annotation 42 // type will suffice. This represents an untyped annotation of the reference 43 // genome. 44 AnnotationType_GENERIC AnnotationType = 1 45 // A `VARIANT` annotation type. 46 AnnotationType_VARIANT AnnotationType = 2 47 // A `GENE` annotation type represents the existence of a gene at the 48 // associated reference coordinates. The start coordinate is typically the 49 // gene's transcription start site and the end is typically the end of the 50 // gene's last exon. 51 AnnotationType_GENE AnnotationType = 3 52 // A `TRANSCRIPT` annotation type represents the assertion that a 53 // particular region of the reference genome may be transcribed as RNA. 54 AnnotationType_TRANSCRIPT AnnotationType = 4 55) 56 57var AnnotationType_name = map[int32]string{ 58 0: "ANNOTATION_TYPE_UNSPECIFIED", 59 1: "GENERIC", 60 2: "VARIANT", 61 3: "GENE", 62 4: "TRANSCRIPT", 63} 64 65var AnnotationType_value = map[string]int32{ 66 "ANNOTATION_TYPE_UNSPECIFIED": 0, 67 "GENERIC": 1, 68 "VARIANT": 2, 69 "GENE": 3, 70 "TRANSCRIPT": 4, 71} 72 73func (x AnnotationType) String() string { 74 return proto.EnumName(AnnotationType_name, int32(x)) 75} 76 77func (AnnotationType) EnumDescriptor() ([]byte, []int) { 78 return fileDescriptor_4c5f02d3172d33a8, []int{0} 79} 80 81type VariantAnnotation_Type int32 82 83const ( 84 VariantAnnotation_TYPE_UNSPECIFIED VariantAnnotation_Type = 0 85 // `TYPE_OTHER` should be used when no other Type will suffice. 86 // Further explanation of the variant type may be included in the 87 // [info][google.genomics.v1.Annotation.info] field. 88 VariantAnnotation_TYPE_OTHER VariantAnnotation_Type = 1 89 // `INSERTION` indicates an insertion. 90 VariantAnnotation_INSERTION VariantAnnotation_Type = 2 91 // `DELETION` indicates a deletion. 92 VariantAnnotation_DELETION VariantAnnotation_Type = 3 93 // `SUBSTITUTION` indicates a block substitution of 94 // two or more nucleotides. 95 VariantAnnotation_SUBSTITUTION VariantAnnotation_Type = 4 96 // `SNP` indicates a single nucleotide polymorphism. 97 VariantAnnotation_SNP VariantAnnotation_Type = 5 98 // `STRUCTURAL` indicates a large structural variant, 99 // including chromosomal fusions, inversions, etc. 100 VariantAnnotation_STRUCTURAL VariantAnnotation_Type = 6 101 // `CNV` indicates a variation in copy number. 102 VariantAnnotation_CNV VariantAnnotation_Type = 7 103) 104 105var VariantAnnotation_Type_name = map[int32]string{ 106 0: "TYPE_UNSPECIFIED", 107 1: "TYPE_OTHER", 108 2: "INSERTION", 109 3: "DELETION", 110 4: "SUBSTITUTION", 111 5: "SNP", 112 6: "STRUCTURAL", 113 7: "CNV", 114} 115 116var VariantAnnotation_Type_value = map[string]int32{ 117 "TYPE_UNSPECIFIED": 0, 118 "TYPE_OTHER": 1, 119 "INSERTION": 2, 120 "DELETION": 3, 121 "SUBSTITUTION": 4, 122 "SNP": 5, 123 "STRUCTURAL": 6, 124 "CNV": 7, 125} 126 127func (x VariantAnnotation_Type) String() string { 128 return proto.EnumName(VariantAnnotation_Type_name, int32(x)) 129} 130 131func (VariantAnnotation_Type) EnumDescriptor() ([]byte, []int) { 132 return fileDescriptor_4c5f02d3172d33a8, []int{2, 0} 133} 134 135type VariantAnnotation_Effect int32 136 137const ( 138 VariantAnnotation_EFFECT_UNSPECIFIED VariantAnnotation_Effect = 0 139 // `EFFECT_OTHER` should be used when no other Effect 140 // will suffice. 141 VariantAnnotation_EFFECT_OTHER VariantAnnotation_Effect = 1 142 // `FRAMESHIFT` indicates a mutation in which the insertion or 143 // deletion of nucleotides resulted in a frameshift change. 144 VariantAnnotation_FRAMESHIFT VariantAnnotation_Effect = 2 145 // `FRAME_PRESERVING_INDEL` indicates a mutation in which a 146 // multiple of three nucleotides has been inserted or deleted, resulting 147 // in no change to the reading frame of the coding sequence. 148 VariantAnnotation_FRAME_PRESERVING_INDEL VariantAnnotation_Effect = 3 149 // `SYNONYMOUS_SNP` indicates a single nucleotide polymorphism 150 // mutation that results in no amino acid change. 151 VariantAnnotation_SYNONYMOUS_SNP VariantAnnotation_Effect = 4 152 // `NONSYNONYMOUS_SNP` indicates a single nucleotide 153 // polymorphism mutation that results in an amino acid change. 154 VariantAnnotation_NONSYNONYMOUS_SNP VariantAnnotation_Effect = 5 155 // `STOP_GAIN` indicates a mutation that leads to the creation 156 // of a stop codon at the variant site. Frameshift mutations creating 157 // downstream stop codons do not count as `STOP_GAIN`. 158 VariantAnnotation_STOP_GAIN VariantAnnotation_Effect = 6 159 // `STOP_LOSS` indicates a mutation that eliminates a 160 // stop codon at the variant site. 161 VariantAnnotation_STOP_LOSS VariantAnnotation_Effect = 7 162 // `SPLICE_SITE_DISRUPTION` indicates that this variant is 163 // found in a splice site for the associated transcript, and alters the 164 // normal splicing pattern. 165 VariantAnnotation_SPLICE_SITE_DISRUPTION VariantAnnotation_Effect = 8 166) 167 168var VariantAnnotation_Effect_name = map[int32]string{ 169 0: "EFFECT_UNSPECIFIED", 170 1: "EFFECT_OTHER", 171 2: "FRAMESHIFT", 172 3: "FRAME_PRESERVING_INDEL", 173 4: "SYNONYMOUS_SNP", 174 5: "NONSYNONYMOUS_SNP", 175 6: "STOP_GAIN", 176 7: "STOP_LOSS", 177 8: "SPLICE_SITE_DISRUPTION", 178} 179 180var VariantAnnotation_Effect_value = map[string]int32{ 181 "EFFECT_UNSPECIFIED": 0, 182 "EFFECT_OTHER": 1, 183 "FRAMESHIFT": 2, 184 "FRAME_PRESERVING_INDEL": 3, 185 "SYNONYMOUS_SNP": 4, 186 "NONSYNONYMOUS_SNP": 5, 187 "STOP_GAIN": 6, 188 "STOP_LOSS": 7, 189 "SPLICE_SITE_DISRUPTION": 8, 190} 191 192func (x VariantAnnotation_Effect) String() string { 193 return proto.EnumName(VariantAnnotation_Effect_name, int32(x)) 194} 195 196func (VariantAnnotation_Effect) EnumDescriptor() ([]byte, []int) { 197 return fileDescriptor_4c5f02d3172d33a8, []int{2, 1} 198} 199 200type VariantAnnotation_ClinicalSignificance int32 201 202const ( 203 VariantAnnotation_CLINICAL_SIGNIFICANCE_UNSPECIFIED VariantAnnotation_ClinicalSignificance = 0 204 // `OTHER` should be used when no other clinical significance 205 // value will suffice. 206 VariantAnnotation_CLINICAL_SIGNIFICANCE_OTHER VariantAnnotation_ClinicalSignificance = 1 207 VariantAnnotation_UNCERTAIN VariantAnnotation_ClinicalSignificance = 2 208 VariantAnnotation_BENIGN VariantAnnotation_ClinicalSignificance = 3 209 VariantAnnotation_LIKELY_BENIGN VariantAnnotation_ClinicalSignificance = 4 210 VariantAnnotation_LIKELY_PATHOGENIC VariantAnnotation_ClinicalSignificance = 5 211 VariantAnnotation_PATHOGENIC VariantAnnotation_ClinicalSignificance = 6 212 VariantAnnotation_DRUG_RESPONSE VariantAnnotation_ClinicalSignificance = 7 213 VariantAnnotation_HISTOCOMPATIBILITY VariantAnnotation_ClinicalSignificance = 8 214 VariantAnnotation_CONFERS_SENSITIVITY VariantAnnotation_ClinicalSignificance = 9 215 VariantAnnotation_RISK_FACTOR VariantAnnotation_ClinicalSignificance = 10 216 VariantAnnotation_ASSOCIATION VariantAnnotation_ClinicalSignificance = 11 217 VariantAnnotation_PROTECTIVE VariantAnnotation_ClinicalSignificance = 12 218 // `MULTIPLE_REPORTED` should be used when multiple clinical 219 // signficances are reported for a variant. The original clinical 220 // significance values may be provided in the `info` field. 221 VariantAnnotation_MULTIPLE_REPORTED VariantAnnotation_ClinicalSignificance = 13 222) 223 224var VariantAnnotation_ClinicalSignificance_name = map[int32]string{ 225 0: "CLINICAL_SIGNIFICANCE_UNSPECIFIED", 226 1: "CLINICAL_SIGNIFICANCE_OTHER", 227 2: "UNCERTAIN", 228 3: "BENIGN", 229 4: "LIKELY_BENIGN", 230 5: "LIKELY_PATHOGENIC", 231 6: "PATHOGENIC", 232 7: "DRUG_RESPONSE", 233 8: "HISTOCOMPATIBILITY", 234 9: "CONFERS_SENSITIVITY", 235 10: "RISK_FACTOR", 236 11: "ASSOCIATION", 237 12: "PROTECTIVE", 238 13: "MULTIPLE_REPORTED", 239} 240 241var VariantAnnotation_ClinicalSignificance_value = map[string]int32{ 242 "CLINICAL_SIGNIFICANCE_UNSPECIFIED": 0, 243 "CLINICAL_SIGNIFICANCE_OTHER": 1, 244 "UNCERTAIN": 2, 245 "BENIGN": 3, 246 "LIKELY_BENIGN": 4, 247 "LIKELY_PATHOGENIC": 5, 248 "PATHOGENIC": 6, 249 "DRUG_RESPONSE": 7, 250 "HISTOCOMPATIBILITY": 8, 251 "CONFERS_SENSITIVITY": 9, 252 "RISK_FACTOR": 10, 253 "ASSOCIATION": 11, 254 "PROTECTIVE": 12, 255 "MULTIPLE_REPORTED": 13, 256} 257 258func (x VariantAnnotation_ClinicalSignificance) String() string { 259 return proto.EnumName(VariantAnnotation_ClinicalSignificance_name, int32(x)) 260} 261 262func (VariantAnnotation_ClinicalSignificance) EnumDescriptor() ([]byte, []int) { 263 return fileDescriptor_4c5f02d3172d33a8, []int{2, 2} 264} 265 266// An annotation set is a logical grouping of annotations that share consistent 267// type information and provenance. Examples of annotation sets include 'all 268// genes from refseq', and 'all variant annotations from ClinVar'. 269type AnnotationSet struct { 270 // The server-generated annotation set ID, unique across all annotation sets. 271 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 272 // The dataset to which this annotation set belongs. 273 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` 274 // The ID of the reference set that defines the coordinate space for this 275 // set's annotations. 276 ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` 277 // The display name for this annotation set. 278 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 279 // The source URI describing the file from which this annotation set was 280 // generated, if any. 281 SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` 282 // The type of annotations contained within this set. 283 Type AnnotationType `protobuf:"varint,6,opt,name=type,proto3,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` 284 // A map of additional read alignment information. This must be of the form 285 // map<string, string[]> (string key mapping to a list of string values). 286 Info map[string]*_struct.ListValue `protobuf:"bytes,17,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 288 XXX_unrecognized []byte `json:"-"` 289 XXX_sizecache int32 `json:"-"` 290} 291 292func (m *AnnotationSet) Reset() { *m = AnnotationSet{} } 293func (m *AnnotationSet) String() string { return proto.CompactTextString(m) } 294func (*AnnotationSet) ProtoMessage() {} 295func (*AnnotationSet) Descriptor() ([]byte, []int) { 296 return fileDescriptor_4c5f02d3172d33a8, []int{0} 297} 298 299func (m *AnnotationSet) XXX_Unmarshal(b []byte) error { 300 return xxx_messageInfo_AnnotationSet.Unmarshal(m, b) 301} 302func (m *AnnotationSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 303 return xxx_messageInfo_AnnotationSet.Marshal(b, m, deterministic) 304} 305func (m *AnnotationSet) XXX_Merge(src proto.Message) { 306 xxx_messageInfo_AnnotationSet.Merge(m, src) 307} 308func (m *AnnotationSet) XXX_Size() int { 309 return xxx_messageInfo_AnnotationSet.Size(m) 310} 311func (m *AnnotationSet) XXX_DiscardUnknown() { 312 xxx_messageInfo_AnnotationSet.DiscardUnknown(m) 313} 314 315var xxx_messageInfo_AnnotationSet proto.InternalMessageInfo 316 317func (m *AnnotationSet) GetId() string { 318 if m != nil { 319 return m.Id 320 } 321 return "" 322} 323 324func (m *AnnotationSet) GetDatasetId() string { 325 if m != nil { 326 return m.DatasetId 327 } 328 return "" 329} 330 331func (m *AnnotationSet) GetReferenceSetId() string { 332 if m != nil { 333 return m.ReferenceSetId 334 } 335 return "" 336} 337 338func (m *AnnotationSet) GetName() string { 339 if m != nil { 340 return m.Name 341 } 342 return "" 343} 344 345func (m *AnnotationSet) GetSourceUri() string { 346 if m != nil { 347 return m.SourceUri 348 } 349 return "" 350} 351 352func (m *AnnotationSet) GetType() AnnotationType { 353 if m != nil { 354 return m.Type 355 } 356 return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED 357} 358 359func (m *AnnotationSet) GetInfo() map[string]*_struct.ListValue { 360 if m != nil { 361 return m.Info 362 } 363 return nil 364} 365 366// An annotation describes a region of reference genome. The value of an 367// annotation may be one of several canonical types, supplemented by arbitrary 368// info tags. An annotation is not inherently associated with a specific 369// sample or individual (though a client could choose to use annotations in 370// this way). Example canonical annotation types are `GENE` and 371// `VARIANT`. 372type Annotation struct { 373 // The server-generated annotation ID, unique across all annotations. 374 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 375 // The annotation set to which this annotation belongs. 376 AnnotationSetId string `protobuf:"bytes,2,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` 377 // The display name of this annotation. 378 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 379 // The ID of the Google Genomics reference associated with this range. 380 ReferenceId string `protobuf:"bytes,4,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` 381 // The display name corresponding to the reference specified by 382 // `referenceId`, for example `chr1`, `1`, or `chrX`. 383 ReferenceName string `protobuf:"bytes,5,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` 384 // The start position of the range on the reference, 0-based inclusive. 385 Start int64 `protobuf:"varint,6,opt,name=start,proto3" json:"start,omitempty"` 386 // The end position of the range on the reference, 0-based exclusive. 387 End int64 `protobuf:"varint,7,opt,name=end,proto3" json:"end,omitempty"` 388 // Whether this range refers to the reverse strand, as opposed to the forward 389 // strand. Note that regardless of this field, the start/end position of the 390 // range always refer to the forward strand. 391 ReverseStrand bool `protobuf:"varint,8,opt,name=reverse_strand,json=reverseStrand,proto3" json:"reverse_strand,omitempty"` 392 // The data type for this annotation. Must match the containing annotation 393 // set's type. 394 Type AnnotationType `protobuf:"varint,9,opt,name=type,proto3,enum=google.genomics.v1.AnnotationType" json:"type,omitempty"` 395 // Types that are valid to be assigned to Value: 396 // *Annotation_Variant 397 // *Annotation_Transcript 398 Value isAnnotation_Value `protobuf_oneof:"value"` 399 // A map of additional read alignment information. This must be of the form 400 // map<string, string[]> (string key mapping to a list of string values). 401 Info map[string]*_struct.ListValue `protobuf:"bytes,12,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 402 XXX_NoUnkeyedLiteral struct{} `json:"-"` 403 XXX_unrecognized []byte `json:"-"` 404 XXX_sizecache int32 `json:"-"` 405} 406 407func (m *Annotation) Reset() { *m = Annotation{} } 408func (m *Annotation) String() string { return proto.CompactTextString(m) } 409func (*Annotation) ProtoMessage() {} 410func (*Annotation) Descriptor() ([]byte, []int) { 411 return fileDescriptor_4c5f02d3172d33a8, []int{1} 412} 413 414func (m *Annotation) XXX_Unmarshal(b []byte) error { 415 return xxx_messageInfo_Annotation.Unmarshal(m, b) 416} 417func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 418 return xxx_messageInfo_Annotation.Marshal(b, m, deterministic) 419} 420func (m *Annotation) XXX_Merge(src proto.Message) { 421 xxx_messageInfo_Annotation.Merge(m, src) 422} 423func (m *Annotation) XXX_Size() int { 424 return xxx_messageInfo_Annotation.Size(m) 425} 426func (m *Annotation) XXX_DiscardUnknown() { 427 xxx_messageInfo_Annotation.DiscardUnknown(m) 428} 429 430var xxx_messageInfo_Annotation proto.InternalMessageInfo 431 432func (m *Annotation) GetId() string { 433 if m != nil { 434 return m.Id 435 } 436 return "" 437} 438 439func (m *Annotation) GetAnnotationSetId() string { 440 if m != nil { 441 return m.AnnotationSetId 442 } 443 return "" 444} 445 446func (m *Annotation) GetName() string { 447 if m != nil { 448 return m.Name 449 } 450 return "" 451} 452 453func (m *Annotation) GetReferenceId() string { 454 if m != nil { 455 return m.ReferenceId 456 } 457 return "" 458} 459 460func (m *Annotation) GetReferenceName() string { 461 if m != nil { 462 return m.ReferenceName 463 } 464 return "" 465} 466 467func (m *Annotation) GetStart() int64 { 468 if m != nil { 469 return m.Start 470 } 471 return 0 472} 473 474func (m *Annotation) GetEnd() int64 { 475 if m != nil { 476 return m.End 477 } 478 return 0 479} 480 481func (m *Annotation) GetReverseStrand() bool { 482 if m != nil { 483 return m.ReverseStrand 484 } 485 return false 486} 487 488func (m *Annotation) GetType() AnnotationType { 489 if m != nil { 490 return m.Type 491 } 492 return AnnotationType_ANNOTATION_TYPE_UNSPECIFIED 493} 494 495type isAnnotation_Value interface { 496 isAnnotation_Value() 497} 498 499type Annotation_Variant struct { 500 Variant *VariantAnnotation `protobuf:"bytes,10,opt,name=variant,proto3,oneof"` 501} 502 503type Annotation_Transcript struct { 504 Transcript *Transcript `protobuf:"bytes,11,opt,name=transcript,proto3,oneof"` 505} 506 507func (*Annotation_Variant) isAnnotation_Value() {} 508 509func (*Annotation_Transcript) isAnnotation_Value() {} 510 511func (m *Annotation) GetValue() isAnnotation_Value { 512 if m != nil { 513 return m.Value 514 } 515 return nil 516} 517 518func (m *Annotation) GetVariant() *VariantAnnotation { 519 if x, ok := m.GetValue().(*Annotation_Variant); ok { 520 return x.Variant 521 } 522 return nil 523} 524 525func (m *Annotation) GetTranscript() *Transcript { 526 if x, ok := m.GetValue().(*Annotation_Transcript); ok { 527 return x.Transcript 528 } 529 return nil 530} 531 532func (m *Annotation) GetInfo() map[string]*_struct.ListValue { 533 if m != nil { 534 return m.Info 535 } 536 return nil 537} 538 539// XXX_OneofWrappers is for the internal use of the proto package. 540func (*Annotation) XXX_OneofWrappers() []interface{} { 541 return []interface{}{ 542 (*Annotation_Variant)(nil), 543 (*Annotation_Transcript)(nil), 544 } 545} 546 547type VariantAnnotation struct { 548 // Type has been adapted from ClinVar's list of variant types. 549 Type VariantAnnotation_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.genomics.v1.VariantAnnotation_Type" json:"type,omitempty"` 550 // Effect of the variant on the coding sequence. 551 Effect VariantAnnotation_Effect `protobuf:"varint,2,opt,name=effect,proto3,enum=google.genomics.v1.VariantAnnotation_Effect" json:"effect,omitempty"` 552 // The alternate allele for this variant. If multiple alternate alleles 553 // exist at this location, create a separate variant for each one, as they 554 // may represent distinct conditions. 555 AlternateBases string `protobuf:"bytes,3,opt,name=alternate_bases,json=alternateBases,proto3" json:"alternate_bases,omitempty"` 556 // Google annotation ID of the gene affected by this variant. This should 557 // be provided when the variant is created. 558 GeneId string `protobuf:"bytes,4,opt,name=gene_id,json=geneId,proto3" json:"gene_id,omitempty"` 559 // Google annotation IDs of the transcripts affected by this variant. These 560 // should be provided when the variant is created. 561 TranscriptIds []string `protobuf:"bytes,5,rep,name=transcript_ids,json=transcriptIds,proto3" json:"transcript_ids,omitempty"` 562 // The set of conditions associated with this variant. 563 // A condition describes the way a variant influences human health. 564 Conditions []*VariantAnnotation_ClinicalCondition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` 565 // Describes the clinical significance of a variant. 566 // It is adapted from the ClinVar controlled vocabulary for clinical 567 // significance described at: 568 // http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ 569 ClinicalSignificance VariantAnnotation_ClinicalSignificance `protobuf:"varint,7,opt,name=clinical_significance,json=clinicalSignificance,proto3,enum=google.genomics.v1.VariantAnnotation_ClinicalSignificance" json:"clinical_significance,omitempty"` 570 XXX_NoUnkeyedLiteral struct{} `json:"-"` 571 XXX_unrecognized []byte `json:"-"` 572 XXX_sizecache int32 `json:"-"` 573} 574 575func (m *VariantAnnotation) Reset() { *m = VariantAnnotation{} } 576func (m *VariantAnnotation) String() string { return proto.CompactTextString(m) } 577func (*VariantAnnotation) ProtoMessage() {} 578func (*VariantAnnotation) Descriptor() ([]byte, []int) { 579 return fileDescriptor_4c5f02d3172d33a8, []int{2} 580} 581 582func (m *VariantAnnotation) XXX_Unmarshal(b []byte) error { 583 return xxx_messageInfo_VariantAnnotation.Unmarshal(m, b) 584} 585func (m *VariantAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 586 return xxx_messageInfo_VariantAnnotation.Marshal(b, m, deterministic) 587} 588func (m *VariantAnnotation) XXX_Merge(src proto.Message) { 589 xxx_messageInfo_VariantAnnotation.Merge(m, src) 590} 591func (m *VariantAnnotation) XXX_Size() int { 592 return xxx_messageInfo_VariantAnnotation.Size(m) 593} 594func (m *VariantAnnotation) XXX_DiscardUnknown() { 595 xxx_messageInfo_VariantAnnotation.DiscardUnknown(m) 596} 597 598var xxx_messageInfo_VariantAnnotation proto.InternalMessageInfo 599 600func (m *VariantAnnotation) GetType() VariantAnnotation_Type { 601 if m != nil { 602 return m.Type 603 } 604 return VariantAnnotation_TYPE_UNSPECIFIED 605} 606 607func (m *VariantAnnotation) GetEffect() VariantAnnotation_Effect { 608 if m != nil { 609 return m.Effect 610 } 611 return VariantAnnotation_EFFECT_UNSPECIFIED 612} 613 614func (m *VariantAnnotation) GetAlternateBases() string { 615 if m != nil { 616 return m.AlternateBases 617 } 618 return "" 619} 620 621func (m *VariantAnnotation) GetGeneId() string { 622 if m != nil { 623 return m.GeneId 624 } 625 return "" 626} 627 628func (m *VariantAnnotation) GetTranscriptIds() []string { 629 if m != nil { 630 return m.TranscriptIds 631 } 632 return nil 633} 634 635func (m *VariantAnnotation) GetConditions() []*VariantAnnotation_ClinicalCondition { 636 if m != nil { 637 return m.Conditions 638 } 639 return nil 640} 641 642func (m *VariantAnnotation) GetClinicalSignificance() VariantAnnotation_ClinicalSignificance { 643 if m != nil { 644 return m.ClinicalSignificance 645 } 646 return VariantAnnotation_CLINICAL_SIGNIFICANCE_UNSPECIFIED 647} 648 649type VariantAnnotation_ClinicalCondition struct { 650 // A set of names for the condition. 651 Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` 652 // The set of external IDs for this condition. 653 ExternalIds []*ExternalId `protobuf:"bytes,2,rep,name=external_ids,json=externalIds,proto3" json:"external_ids,omitempty"` 654 // The MedGen concept id associated with this gene. 655 // Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ 656 ConceptId string `protobuf:"bytes,3,opt,name=concept_id,json=conceptId,proto3" json:"concept_id,omitempty"` 657 // The OMIM id for this condition. 658 // Search for these IDs at http://omim.org/ 659 OmimId string `protobuf:"bytes,4,opt,name=omim_id,json=omimId,proto3" json:"omim_id,omitempty"` 660 XXX_NoUnkeyedLiteral struct{} `json:"-"` 661 XXX_unrecognized []byte `json:"-"` 662 XXX_sizecache int32 `json:"-"` 663} 664 665func (m *VariantAnnotation_ClinicalCondition) Reset() { *m = VariantAnnotation_ClinicalCondition{} } 666func (m *VariantAnnotation_ClinicalCondition) String() string { return proto.CompactTextString(m) } 667func (*VariantAnnotation_ClinicalCondition) ProtoMessage() {} 668func (*VariantAnnotation_ClinicalCondition) Descriptor() ([]byte, []int) { 669 return fileDescriptor_4c5f02d3172d33a8, []int{2, 0} 670} 671 672func (m *VariantAnnotation_ClinicalCondition) XXX_Unmarshal(b []byte) error { 673 return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Unmarshal(m, b) 674} 675func (m *VariantAnnotation_ClinicalCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 676 return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Marshal(b, m, deterministic) 677} 678func (m *VariantAnnotation_ClinicalCondition) XXX_Merge(src proto.Message) { 679 xxx_messageInfo_VariantAnnotation_ClinicalCondition.Merge(m, src) 680} 681func (m *VariantAnnotation_ClinicalCondition) XXX_Size() int { 682 return xxx_messageInfo_VariantAnnotation_ClinicalCondition.Size(m) 683} 684func (m *VariantAnnotation_ClinicalCondition) XXX_DiscardUnknown() { 685 xxx_messageInfo_VariantAnnotation_ClinicalCondition.DiscardUnknown(m) 686} 687 688var xxx_messageInfo_VariantAnnotation_ClinicalCondition proto.InternalMessageInfo 689 690func (m *VariantAnnotation_ClinicalCondition) GetNames() []string { 691 if m != nil { 692 return m.Names 693 } 694 return nil 695} 696 697func (m *VariantAnnotation_ClinicalCondition) GetExternalIds() []*ExternalId { 698 if m != nil { 699 return m.ExternalIds 700 } 701 return nil 702} 703 704func (m *VariantAnnotation_ClinicalCondition) GetConceptId() string { 705 if m != nil { 706 return m.ConceptId 707 } 708 return "" 709} 710 711func (m *VariantAnnotation_ClinicalCondition) GetOmimId() string { 712 if m != nil { 713 return m.OmimId 714 } 715 return "" 716} 717 718// A transcript represents the assertion that a particular region of the 719// reference genome may be transcribed as RNA. 720type Transcript struct { 721 // The annotation ID of the gene from which this transcript is transcribed. 722 GeneId string `protobuf:"bytes,1,opt,name=gene_id,json=geneId,proto3" json:"gene_id,omitempty"` 723 // The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose 724 // this transcript. This field should be unset for genomes where transcript 725 // splicing does not occur, for example prokaryotes. 726 // 727 // Introns are regions of the transcript that are not included in the 728 // spliced RNA product. Though not explicitly modeled here, intron ranges can 729 // be deduced; all regions of this transcript that are not exons are introns. 730 // 731 // Exonic sequences do not necessarily code for a translational product 732 // (amino acids). Only the regions of exons bounded by the 733 // [codingSequence][google.genomics.v1.Transcript.coding_sequence] correspond 734 // to coding DNA sequence. 735 // 736 // Exons are ordered by start position and may not overlap. 737 Exons []*Transcript_Exon `protobuf:"bytes,2,rep,name=exons,proto3" json:"exons,omitempty"` 738 // The range of the coding sequence for this transcript, if any. To determine 739 // the exact ranges of coding sequence, intersect this range with those of the 740 // [exons][google.genomics.v1.Transcript.exons], if any. If there are any 741 // [exons][google.genomics.v1.Transcript.exons], the 742 // [codingSequence][google.genomics.v1.Transcript.coding_sequence] must start 743 // and end within them. 744 // 745 // Note that in some cases, the reference genome will not exactly match the 746 // observed mRNA transcript e.g. due to variance in the source genome from 747 // reference. In these cases, 748 // [exon.frame][google.genomics.v1.Transcript.Exon.frame] will not necessarily 749 // match the expected reference reading frame and coding exon reference bases 750 // cannot necessarily be concatenated to produce the original transcript mRNA. 751 CodingSequence *Transcript_CodingSequence `protobuf:"bytes,3,opt,name=coding_sequence,json=codingSequence,proto3" json:"coding_sequence,omitempty"` 752 XXX_NoUnkeyedLiteral struct{} `json:"-"` 753 XXX_unrecognized []byte `json:"-"` 754 XXX_sizecache int32 `json:"-"` 755} 756 757func (m *Transcript) Reset() { *m = Transcript{} } 758func (m *Transcript) String() string { return proto.CompactTextString(m) } 759func (*Transcript) ProtoMessage() {} 760func (*Transcript) Descriptor() ([]byte, []int) { 761 return fileDescriptor_4c5f02d3172d33a8, []int{3} 762} 763 764func (m *Transcript) XXX_Unmarshal(b []byte) error { 765 return xxx_messageInfo_Transcript.Unmarshal(m, b) 766} 767func (m *Transcript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 768 return xxx_messageInfo_Transcript.Marshal(b, m, deterministic) 769} 770func (m *Transcript) XXX_Merge(src proto.Message) { 771 xxx_messageInfo_Transcript.Merge(m, src) 772} 773func (m *Transcript) XXX_Size() int { 774 return xxx_messageInfo_Transcript.Size(m) 775} 776func (m *Transcript) XXX_DiscardUnknown() { 777 xxx_messageInfo_Transcript.DiscardUnknown(m) 778} 779 780var xxx_messageInfo_Transcript proto.InternalMessageInfo 781 782func (m *Transcript) GetGeneId() string { 783 if m != nil { 784 return m.GeneId 785 } 786 return "" 787} 788 789func (m *Transcript) GetExons() []*Transcript_Exon { 790 if m != nil { 791 return m.Exons 792 } 793 return nil 794} 795 796func (m *Transcript) GetCodingSequence() *Transcript_CodingSequence { 797 if m != nil { 798 return m.CodingSequence 799 } 800 return nil 801} 802 803type Transcript_Exon struct { 804 // The start position of the exon on this annotation's reference sequence, 805 // 0-based inclusive. Note that this is relative to the reference start, and 806 // **not** the containing annotation start. 807 Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` 808 // The end position of the exon on this annotation's reference sequence, 809 // 0-based exclusive. Note that this is relative to the reference start, and 810 // *not* the containing annotation start. 811 End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` 812 // The frame of this exon. Contains a value of 0, 1, or 2, which indicates 813 // the offset of the first coding base of the exon within the reading frame 814 // of the coding DNA sequence, if any. This field is dependent on the 815 // strandedness of this annotation (see 816 // [Annotation.reverse_strand][google.genomics.v1.Annotation.reverse_strand]). 817 // For forward stranded annotations, this offset is relative to the 818 // [exon.start][google.genomics.v1.Transcript.Exon.start]. For reverse 819 // strand annotations, this offset is relative to the 820 // [exon.end][google.genomics.v1.Transcript.Exon.end] `- 1`. 821 // 822 // Unset if this exon does not intersect the coding sequence. Upon creation 823 // of a transcript, the frame must be populated for all or none of the 824 // coding exons. 825 Frame *wrappers.Int32Value `protobuf:"bytes,3,opt,name=frame,proto3" json:"frame,omitempty"` 826 XXX_NoUnkeyedLiteral struct{} `json:"-"` 827 XXX_unrecognized []byte `json:"-"` 828 XXX_sizecache int32 `json:"-"` 829} 830 831func (m *Transcript_Exon) Reset() { *m = Transcript_Exon{} } 832func (m *Transcript_Exon) String() string { return proto.CompactTextString(m) } 833func (*Transcript_Exon) ProtoMessage() {} 834func (*Transcript_Exon) Descriptor() ([]byte, []int) { 835 return fileDescriptor_4c5f02d3172d33a8, []int{3, 0} 836} 837 838func (m *Transcript_Exon) XXX_Unmarshal(b []byte) error { 839 return xxx_messageInfo_Transcript_Exon.Unmarshal(m, b) 840} 841func (m *Transcript_Exon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 842 return xxx_messageInfo_Transcript_Exon.Marshal(b, m, deterministic) 843} 844func (m *Transcript_Exon) XXX_Merge(src proto.Message) { 845 xxx_messageInfo_Transcript_Exon.Merge(m, src) 846} 847func (m *Transcript_Exon) XXX_Size() int { 848 return xxx_messageInfo_Transcript_Exon.Size(m) 849} 850func (m *Transcript_Exon) XXX_DiscardUnknown() { 851 xxx_messageInfo_Transcript_Exon.DiscardUnknown(m) 852} 853 854var xxx_messageInfo_Transcript_Exon proto.InternalMessageInfo 855 856func (m *Transcript_Exon) GetStart() int64 { 857 if m != nil { 858 return m.Start 859 } 860 return 0 861} 862 863func (m *Transcript_Exon) GetEnd() int64 { 864 if m != nil { 865 return m.End 866 } 867 return 0 868} 869 870func (m *Transcript_Exon) GetFrame() *wrappers.Int32Value { 871 if m != nil { 872 return m.Frame 873 } 874 return nil 875} 876 877type Transcript_CodingSequence struct { 878 // The start of the coding sequence on this annotation's reference sequence, 879 // 0-based inclusive. Note that this position is relative to the reference 880 // start, and *not* the containing annotation start. 881 Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` 882 // The end of the coding sequence on this annotation's reference sequence, 883 // 0-based exclusive. Note that this position is relative to the reference 884 // start, and *not* the containing annotation start. 885 End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` 886 XXX_NoUnkeyedLiteral struct{} `json:"-"` 887 XXX_unrecognized []byte `json:"-"` 888 XXX_sizecache int32 `json:"-"` 889} 890 891func (m *Transcript_CodingSequence) Reset() { *m = Transcript_CodingSequence{} } 892func (m *Transcript_CodingSequence) String() string { return proto.CompactTextString(m) } 893func (*Transcript_CodingSequence) ProtoMessage() {} 894func (*Transcript_CodingSequence) Descriptor() ([]byte, []int) { 895 return fileDescriptor_4c5f02d3172d33a8, []int{3, 1} 896} 897 898func (m *Transcript_CodingSequence) XXX_Unmarshal(b []byte) error { 899 return xxx_messageInfo_Transcript_CodingSequence.Unmarshal(m, b) 900} 901func (m *Transcript_CodingSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 902 return xxx_messageInfo_Transcript_CodingSequence.Marshal(b, m, deterministic) 903} 904func (m *Transcript_CodingSequence) XXX_Merge(src proto.Message) { 905 xxx_messageInfo_Transcript_CodingSequence.Merge(m, src) 906} 907func (m *Transcript_CodingSequence) XXX_Size() int { 908 return xxx_messageInfo_Transcript_CodingSequence.Size(m) 909} 910func (m *Transcript_CodingSequence) XXX_DiscardUnknown() { 911 xxx_messageInfo_Transcript_CodingSequence.DiscardUnknown(m) 912} 913 914var xxx_messageInfo_Transcript_CodingSequence proto.InternalMessageInfo 915 916func (m *Transcript_CodingSequence) GetStart() int64 { 917 if m != nil { 918 return m.Start 919 } 920 return 0 921} 922 923func (m *Transcript_CodingSequence) GetEnd() int64 { 924 if m != nil { 925 return m.End 926 } 927 return 0 928} 929 930type ExternalId struct { 931 // The name of the source of this data. 932 SourceName string `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"` 933 // The id used by the source of this data. 934 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 935 XXX_NoUnkeyedLiteral struct{} `json:"-"` 936 XXX_unrecognized []byte `json:"-"` 937 XXX_sizecache int32 `json:"-"` 938} 939 940func (m *ExternalId) Reset() { *m = ExternalId{} } 941func (m *ExternalId) String() string { return proto.CompactTextString(m) } 942func (*ExternalId) ProtoMessage() {} 943func (*ExternalId) Descriptor() ([]byte, []int) { 944 return fileDescriptor_4c5f02d3172d33a8, []int{4} 945} 946 947func (m *ExternalId) XXX_Unmarshal(b []byte) error { 948 return xxx_messageInfo_ExternalId.Unmarshal(m, b) 949} 950func (m *ExternalId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 951 return xxx_messageInfo_ExternalId.Marshal(b, m, deterministic) 952} 953func (m *ExternalId) XXX_Merge(src proto.Message) { 954 xxx_messageInfo_ExternalId.Merge(m, src) 955} 956func (m *ExternalId) XXX_Size() int { 957 return xxx_messageInfo_ExternalId.Size(m) 958} 959func (m *ExternalId) XXX_DiscardUnknown() { 960 xxx_messageInfo_ExternalId.DiscardUnknown(m) 961} 962 963var xxx_messageInfo_ExternalId proto.InternalMessageInfo 964 965func (m *ExternalId) GetSourceName() string { 966 if m != nil { 967 return m.SourceName 968 } 969 return "" 970} 971 972func (m *ExternalId) GetId() string { 973 if m != nil { 974 return m.Id 975 } 976 return "" 977} 978 979type CreateAnnotationSetRequest struct { 980 // The annotation set to create. 981 AnnotationSet *AnnotationSet `protobuf:"bytes,1,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` 982 XXX_NoUnkeyedLiteral struct{} `json:"-"` 983 XXX_unrecognized []byte `json:"-"` 984 XXX_sizecache int32 `json:"-"` 985} 986 987func (m *CreateAnnotationSetRequest) Reset() { *m = CreateAnnotationSetRequest{} } 988func (m *CreateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } 989func (*CreateAnnotationSetRequest) ProtoMessage() {} 990func (*CreateAnnotationSetRequest) Descriptor() ([]byte, []int) { 991 return fileDescriptor_4c5f02d3172d33a8, []int{5} 992} 993 994func (m *CreateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { 995 return xxx_messageInfo_CreateAnnotationSetRequest.Unmarshal(m, b) 996} 997func (m *CreateAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 998 return xxx_messageInfo_CreateAnnotationSetRequest.Marshal(b, m, deterministic) 999} 1000func (m *CreateAnnotationSetRequest) XXX_Merge(src proto.Message) { 1001 xxx_messageInfo_CreateAnnotationSetRequest.Merge(m, src) 1002} 1003func (m *CreateAnnotationSetRequest) XXX_Size() int { 1004 return xxx_messageInfo_CreateAnnotationSetRequest.Size(m) 1005} 1006func (m *CreateAnnotationSetRequest) XXX_DiscardUnknown() { 1007 xxx_messageInfo_CreateAnnotationSetRequest.DiscardUnknown(m) 1008} 1009 1010var xxx_messageInfo_CreateAnnotationSetRequest proto.InternalMessageInfo 1011 1012func (m *CreateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet { 1013 if m != nil { 1014 return m.AnnotationSet 1015 } 1016 return nil 1017} 1018 1019type GetAnnotationSetRequest struct { 1020 // The ID of the annotation set to be retrieved. 1021 AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` 1022 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1023 XXX_unrecognized []byte `json:"-"` 1024 XXX_sizecache int32 `json:"-"` 1025} 1026 1027func (m *GetAnnotationSetRequest) Reset() { *m = GetAnnotationSetRequest{} } 1028func (m *GetAnnotationSetRequest) String() string { return proto.CompactTextString(m) } 1029func (*GetAnnotationSetRequest) ProtoMessage() {} 1030func (*GetAnnotationSetRequest) Descriptor() ([]byte, []int) { 1031 return fileDescriptor_4c5f02d3172d33a8, []int{6} 1032} 1033 1034func (m *GetAnnotationSetRequest) XXX_Unmarshal(b []byte) error { 1035 return xxx_messageInfo_GetAnnotationSetRequest.Unmarshal(m, b) 1036} 1037func (m *GetAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1038 return xxx_messageInfo_GetAnnotationSetRequest.Marshal(b, m, deterministic) 1039} 1040func (m *GetAnnotationSetRequest) XXX_Merge(src proto.Message) { 1041 xxx_messageInfo_GetAnnotationSetRequest.Merge(m, src) 1042} 1043func (m *GetAnnotationSetRequest) XXX_Size() int { 1044 return xxx_messageInfo_GetAnnotationSetRequest.Size(m) 1045} 1046func (m *GetAnnotationSetRequest) XXX_DiscardUnknown() { 1047 xxx_messageInfo_GetAnnotationSetRequest.DiscardUnknown(m) 1048} 1049 1050var xxx_messageInfo_GetAnnotationSetRequest proto.InternalMessageInfo 1051 1052func (m *GetAnnotationSetRequest) GetAnnotationSetId() string { 1053 if m != nil { 1054 return m.AnnotationSetId 1055 } 1056 return "" 1057} 1058 1059type UpdateAnnotationSetRequest struct { 1060 // The ID of the annotation set to be updated. 1061 AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` 1062 // The new annotation set. 1063 AnnotationSet *AnnotationSet `protobuf:"bytes,2,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` 1064 // An optional mask specifying which fields to update. Mutable fields are 1065 // [name][google.genomics.v1.AnnotationSet.name], 1066 // [source_uri][google.genomics.v1.AnnotationSet.source_uri], and 1067 // [info][google.genomics.v1.AnnotationSet.info]. If unspecified, all 1068 // mutable fields will be updated. 1069 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1070 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1071 XXX_unrecognized []byte `json:"-"` 1072 XXX_sizecache int32 `json:"-"` 1073} 1074 1075func (m *UpdateAnnotationSetRequest) Reset() { *m = UpdateAnnotationSetRequest{} } 1076func (m *UpdateAnnotationSetRequest) String() string { return proto.CompactTextString(m) } 1077func (*UpdateAnnotationSetRequest) ProtoMessage() {} 1078func (*UpdateAnnotationSetRequest) Descriptor() ([]byte, []int) { 1079 return fileDescriptor_4c5f02d3172d33a8, []int{7} 1080} 1081 1082func (m *UpdateAnnotationSetRequest) XXX_Unmarshal(b []byte) error { 1083 return xxx_messageInfo_UpdateAnnotationSetRequest.Unmarshal(m, b) 1084} 1085func (m *UpdateAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1086 return xxx_messageInfo_UpdateAnnotationSetRequest.Marshal(b, m, deterministic) 1087} 1088func (m *UpdateAnnotationSetRequest) XXX_Merge(src proto.Message) { 1089 xxx_messageInfo_UpdateAnnotationSetRequest.Merge(m, src) 1090} 1091func (m *UpdateAnnotationSetRequest) XXX_Size() int { 1092 return xxx_messageInfo_UpdateAnnotationSetRequest.Size(m) 1093} 1094func (m *UpdateAnnotationSetRequest) XXX_DiscardUnknown() { 1095 xxx_messageInfo_UpdateAnnotationSetRequest.DiscardUnknown(m) 1096} 1097 1098var xxx_messageInfo_UpdateAnnotationSetRequest proto.InternalMessageInfo 1099 1100func (m *UpdateAnnotationSetRequest) GetAnnotationSetId() string { 1101 if m != nil { 1102 return m.AnnotationSetId 1103 } 1104 return "" 1105} 1106 1107func (m *UpdateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet { 1108 if m != nil { 1109 return m.AnnotationSet 1110 } 1111 return nil 1112} 1113 1114func (m *UpdateAnnotationSetRequest) GetUpdateMask() *field_mask.FieldMask { 1115 if m != nil { 1116 return m.UpdateMask 1117 } 1118 return nil 1119} 1120 1121type DeleteAnnotationSetRequest struct { 1122 // The ID of the annotation set to be deleted. 1123 AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` 1124 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1125 XXX_unrecognized []byte `json:"-"` 1126 XXX_sizecache int32 `json:"-"` 1127} 1128 1129func (m *DeleteAnnotationSetRequest) Reset() { *m = DeleteAnnotationSetRequest{} } 1130func (m *DeleteAnnotationSetRequest) String() string { return proto.CompactTextString(m) } 1131func (*DeleteAnnotationSetRequest) ProtoMessage() {} 1132func (*DeleteAnnotationSetRequest) Descriptor() ([]byte, []int) { 1133 return fileDescriptor_4c5f02d3172d33a8, []int{8} 1134} 1135 1136func (m *DeleteAnnotationSetRequest) XXX_Unmarshal(b []byte) error { 1137 return xxx_messageInfo_DeleteAnnotationSetRequest.Unmarshal(m, b) 1138} 1139func (m *DeleteAnnotationSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1140 return xxx_messageInfo_DeleteAnnotationSetRequest.Marshal(b, m, deterministic) 1141} 1142func (m *DeleteAnnotationSetRequest) XXX_Merge(src proto.Message) { 1143 xxx_messageInfo_DeleteAnnotationSetRequest.Merge(m, src) 1144} 1145func (m *DeleteAnnotationSetRequest) XXX_Size() int { 1146 return xxx_messageInfo_DeleteAnnotationSetRequest.Size(m) 1147} 1148func (m *DeleteAnnotationSetRequest) XXX_DiscardUnknown() { 1149 xxx_messageInfo_DeleteAnnotationSetRequest.DiscardUnknown(m) 1150} 1151 1152var xxx_messageInfo_DeleteAnnotationSetRequest proto.InternalMessageInfo 1153 1154func (m *DeleteAnnotationSetRequest) GetAnnotationSetId() string { 1155 if m != nil { 1156 return m.AnnotationSetId 1157 } 1158 return "" 1159} 1160 1161type SearchAnnotationSetsRequest struct { 1162 // Required. The dataset IDs to search within. Caller must have `READ` access 1163 // to these datasets. 1164 DatasetIds []string `protobuf:"bytes,1,rep,name=dataset_ids,json=datasetIds,proto3" json:"dataset_ids,omitempty"` 1165 // If specified, only annotation sets associated with the given reference set 1166 // are returned. 1167 ReferenceSetId string `protobuf:"bytes,2,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` 1168 // Only return annotations sets for which a substring of the name matches this 1169 // string (case insensitive). 1170 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 1171 // If specified, only annotation sets that have any of these types are 1172 // returned. 1173 Types []AnnotationType `protobuf:"varint,4,rep,packed,name=types,proto3,enum=google.genomics.v1.AnnotationType" json:"types,omitempty"` 1174 // The continuation token, which is used to page through large result sets. 1175 // To get the next page of results, set this parameter to the value of 1176 // `nextPageToken` from the previous response. 1177 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1178 // The maximum number of results to return in a single page. If unspecified, 1179 // defaults to 128. The maximum value is 1024. 1180 PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1181 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1182 XXX_unrecognized []byte `json:"-"` 1183 XXX_sizecache int32 `json:"-"` 1184} 1185 1186func (m *SearchAnnotationSetsRequest) Reset() { *m = SearchAnnotationSetsRequest{} } 1187func (m *SearchAnnotationSetsRequest) String() string { return proto.CompactTextString(m) } 1188func (*SearchAnnotationSetsRequest) ProtoMessage() {} 1189func (*SearchAnnotationSetsRequest) Descriptor() ([]byte, []int) { 1190 return fileDescriptor_4c5f02d3172d33a8, []int{9} 1191} 1192 1193func (m *SearchAnnotationSetsRequest) XXX_Unmarshal(b []byte) error { 1194 return xxx_messageInfo_SearchAnnotationSetsRequest.Unmarshal(m, b) 1195} 1196func (m *SearchAnnotationSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1197 return xxx_messageInfo_SearchAnnotationSetsRequest.Marshal(b, m, deterministic) 1198} 1199func (m *SearchAnnotationSetsRequest) XXX_Merge(src proto.Message) { 1200 xxx_messageInfo_SearchAnnotationSetsRequest.Merge(m, src) 1201} 1202func (m *SearchAnnotationSetsRequest) XXX_Size() int { 1203 return xxx_messageInfo_SearchAnnotationSetsRequest.Size(m) 1204} 1205func (m *SearchAnnotationSetsRequest) XXX_DiscardUnknown() { 1206 xxx_messageInfo_SearchAnnotationSetsRequest.DiscardUnknown(m) 1207} 1208 1209var xxx_messageInfo_SearchAnnotationSetsRequest proto.InternalMessageInfo 1210 1211func (m *SearchAnnotationSetsRequest) GetDatasetIds() []string { 1212 if m != nil { 1213 return m.DatasetIds 1214 } 1215 return nil 1216} 1217 1218func (m *SearchAnnotationSetsRequest) GetReferenceSetId() string { 1219 if m != nil { 1220 return m.ReferenceSetId 1221 } 1222 return "" 1223} 1224 1225func (m *SearchAnnotationSetsRequest) GetName() string { 1226 if m != nil { 1227 return m.Name 1228 } 1229 return "" 1230} 1231 1232func (m *SearchAnnotationSetsRequest) GetTypes() []AnnotationType { 1233 if m != nil { 1234 return m.Types 1235 } 1236 return nil 1237} 1238 1239func (m *SearchAnnotationSetsRequest) GetPageToken() string { 1240 if m != nil { 1241 return m.PageToken 1242 } 1243 return "" 1244} 1245 1246func (m *SearchAnnotationSetsRequest) GetPageSize() int32 { 1247 if m != nil { 1248 return m.PageSize 1249 } 1250 return 0 1251} 1252 1253type SearchAnnotationSetsResponse struct { 1254 // The matching annotation sets. 1255 AnnotationSets []*AnnotationSet `protobuf:"bytes,1,rep,name=annotation_sets,json=annotationSets,proto3" json:"annotation_sets,omitempty"` 1256 // The continuation token, which is used to page through large result sets. 1257 // Provide this value in a subsequent request to return the next page of 1258 // results. This field will be empty if there aren't any additional results. 1259 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1260 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1261 XXX_unrecognized []byte `json:"-"` 1262 XXX_sizecache int32 `json:"-"` 1263} 1264 1265func (m *SearchAnnotationSetsResponse) Reset() { *m = SearchAnnotationSetsResponse{} } 1266func (m *SearchAnnotationSetsResponse) String() string { return proto.CompactTextString(m) } 1267func (*SearchAnnotationSetsResponse) ProtoMessage() {} 1268func (*SearchAnnotationSetsResponse) Descriptor() ([]byte, []int) { 1269 return fileDescriptor_4c5f02d3172d33a8, []int{10} 1270} 1271 1272func (m *SearchAnnotationSetsResponse) XXX_Unmarshal(b []byte) error { 1273 return xxx_messageInfo_SearchAnnotationSetsResponse.Unmarshal(m, b) 1274} 1275func (m *SearchAnnotationSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1276 return xxx_messageInfo_SearchAnnotationSetsResponse.Marshal(b, m, deterministic) 1277} 1278func (m *SearchAnnotationSetsResponse) XXX_Merge(src proto.Message) { 1279 xxx_messageInfo_SearchAnnotationSetsResponse.Merge(m, src) 1280} 1281func (m *SearchAnnotationSetsResponse) XXX_Size() int { 1282 return xxx_messageInfo_SearchAnnotationSetsResponse.Size(m) 1283} 1284func (m *SearchAnnotationSetsResponse) XXX_DiscardUnknown() { 1285 xxx_messageInfo_SearchAnnotationSetsResponse.DiscardUnknown(m) 1286} 1287 1288var xxx_messageInfo_SearchAnnotationSetsResponse proto.InternalMessageInfo 1289 1290func (m *SearchAnnotationSetsResponse) GetAnnotationSets() []*AnnotationSet { 1291 if m != nil { 1292 return m.AnnotationSets 1293 } 1294 return nil 1295} 1296 1297func (m *SearchAnnotationSetsResponse) GetNextPageToken() string { 1298 if m != nil { 1299 return m.NextPageToken 1300 } 1301 return "" 1302} 1303 1304type CreateAnnotationRequest struct { 1305 // The annotation to be created. 1306 Annotation *Annotation `protobuf:"bytes,1,opt,name=annotation,proto3" json:"annotation,omitempty"` 1307 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1308 XXX_unrecognized []byte `json:"-"` 1309 XXX_sizecache int32 `json:"-"` 1310} 1311 1312func (m *CreateAnnotationRequest) Reset() { *m = CreateAnnotationRequest{} } 1313func (m *CreateAnnotationRequest) String() string { return proto.CompactTextString(m) } 1314func (*CreateAnnotationRequest) ProtoMessage() {} 1315func (*CreateAnnotationRequest) Descriptor() ([]byte, []int) { 1316 return fileDescriptor_4c5f02d3172d33a8, []int{11} 1317} 1318 1319func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error { 1320 return xxx_messageInfo_CreateAnnotationRequest.Unmarshal(m, b) 1321} 1322func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1323 return xxx_messageInfo_CreateAnnotationRequest.Marshal(b, m, deterministic) 1324} 1325func (m *CreateAnnotationRequest) XXX_Merge(src proto.Message) { 1326 xxx_messageInfo_CreateAnnotationRequest.Merge(m, src) 1327} 1328func (m *CreateAnnotationRequest) XXX_Size() int { 1329 return xxx_messageInfo_CreateAnnotationRequest.Size(m) 1330} 1331func (m *CreateAnnotationRequest) XXX_DiscardUnknown() { 1332 xxx_messageInfo_CreateAnnotationRequest.DiscardUnknown(m) 1333} 1334 1335var xxx_messageInfo_CreateAnnotationRequest proto.InternalMessageInfo 1336 1337func (m *CreateAnnotationRequest) GetAnnotation() *Annotation { 1338 if m != nil { 1339 return m.Annotation 1340 } 1341 return nil 1342} 1343 1344type BatchCreateAnnotationsRequest struct { 1345 // The annotations to be created. At most 4096 can be specified in a single 1346 // request. 1347 Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` 1348 // A unique request ID which enables the server to detect duplicated requests. 1349 // If provided, duplicated requests will result in the same response; if not 1350 // provided, duplicated requests may result in duplicated data. For a given 1351 // annotation set, callers should not reuse `request_id`s when writing 1352 // different batches of annotations - behavior in this case is undefined. 1353 // A common approach is to use a UUID. For batch jobs where worker crashes are 1354 // a possibility, consider using some unique variant of a worker or run ID. 1355 RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 1356 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1357 XXX_unrecognized []byte `json:"-"` 1358 XXX_sizecache int32 `json:"-"` 1359} 1360 1361func (m *BatchCreateAnnotationsRequest) Reset() { *m = BatchCreateAnnotationsRequest{} } 1362func (m *BatchCreateAnnotationsRequest) String() string { return proto.CompactTextString(m) } 1363func (*BatchCreateAnnotationsRequest) ProtoMessage() {} 1364func (*BatchCreateAnnotationsRequest) Descriptor() ([]byte, []int) { 1365 return fileDescriptor_4c5f02d3172d33a8, []int{12} 1366} 1367 1368func (m *BatchCreateAnnotationsRequest) XXX_Unmarshal(b []byte) error { 1369 return xxx_messageInfo_BatchCreateAnnotationsRequest.Unmarshal(m, b) 1370} 1371func (m *BatchCreateAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1372 return xxx_messageInfo_BatchCreateAnnotationsRequest.Marshal(b, m, deterministic) 1373} 1374func (m *BatchCreateAnnotationsRequest) XXX_Merge(src proto.Message) { 1375 xxx_messageInfo_BatchCreateAnnotationsRequest.Merge(m, src) 1376} 1377func (m *BatchCreateAnnotationsRequest) XXX_Size() int { 1378 return xxx_messageInfo_BatchCreateAnnotationsRequest.Size(m) 1379} 1380func (m *BatchCreateAnnotationsRequest) XXX_DiscardUnknown() { 1381 xxx_messageInfo_BatchCreateAnnotationsRequest.DiscardUnknown(m) 1382} 1383 1384var xxx_messageInfo_BatchCreateAnnotationsRequest proto.InternalMessageInfo 1385 1386func (m *BatchCreateAnnotationsRequest) GetAnnotations() []*Annotation { 1387 if m != nil { 1388 return m.Annotations 1389 } 1390 return nil 1391} 1392 1393func (m *BatchCreateAnnotationsRequest) GetRequestId() string { 1394 if m != nil { 1395 return m.RequestId 1396 } 1397 return "" 1398} 1399 1400type BatchCreateAnnotationsResponse struct { 1401 // The resulting per-annotation entries, ordered consistently with the 1402 // original request. 1403 Entries []*BatchCreateAnnotationsResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` 1404 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1405 XXX_unrecognized []byte `json:"-"` 1406 XXX_sizecache int32 `json:"-"` 1407} 1408 1409func (m *BatchCreateAnnotationsResponse) Reset() { *m = BatchCreateAnnotationsResponse{} } 1410func (m *BatchCreateAnnotationsResponse) String() string { return proto.CompactTextString(m) } 1411func (*BatchCreateAnnotationsResponse) ProtoMessage() {} 1412func (*BatchCreateAnnotationsResponse) Descriptor() ([]byte, []int) { 1413 return fileDescriptor_4c5f02d3172d33a8, []int{13} 1414} 1415 1416func (m *BatchCreateAnnotationsResponse) XXX_Unmarshal(b []byte) error { 1417 return xxx_messageInfo_BatchCreateAnnotationsResponse.Unmarshal(m, b) 1418} 1419func (m *BatchCreateAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1420 return xxx_messageInfo_BatchCreateAnnotationsResponse.Marshal(b, m, deterministic) 1421} 1422func (m *BatchCreateAnnotationsResponse) XXX_Merge(src proto.Message) { 1423 xxx_messageInfo_BatchCreateAnnotationsResponse.Merge(m, src) 1424} 1425func (m *BatchCreateAnnotationsResponse) XXX_Size() int { 1426 return xxx_messageInfo_BatchCreateAnnotationsResponse.Size(m) 1427} 1428func (m *BatchCreateAnnotationsResponse) XXX_DiscardUnknown() { 1429 xxx_messageInfo_BatchCreateAnnotationsResponse.DiscardUnknown(m) 1430} 1431 1432var xxx_messageInfo_BatchCreateAnnotationsResponse proto.InternalMessageInfo 1433 1434func (m *BatchCreateAnnotationsResponse) GetEntries() []*BatchCreateAnnotationsResponse_Entry { 1435 if m != nil { 1436 return m.Entries 1437 } 1438 return nil 1439} 1440 1441type BatchCreateAnnotationsResponse_Entry struct { 1442 // The creation status. 1443 Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` 1444 // The created annotation, if creation was successful. 1445 Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` 1446 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1447 XXX_unrecognized []byte `json:"-"` 1448 XXX_sizecache int32 `json:"-"` 1449} 1450 1451func (m *BatchCreateAnnotationsResponse_Entry) Reset() { *m = BatchCreateAnnotationsResponse_Entry{} } 1452func (m *BatchCreateAnnotationsResponse_Entry) String() string { return proto.CompactTextString(m) } 1453func (*BatchCreateAnnotationsResponse_Entry) ProtoMessage() {} 1454func (*BatchCreateAnnotationsResponse_Entry) Descriptor() ([]byte, []int) { 1455 return fileDescriptor_4c5f02d3172d33a8, []int{13, 0} 1456} 1457 1458func (m *BatchCreateAnnotationsResponse_Entry) XXX_Unmarshal(b []byte) error { 1459 return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Unmarshal(m, b) 1460} 1461func (m *BatchCreateAnnotationsResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1462 return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Marshal(b, m, deterministic) 1463} 1464func (m *BatchCreateAnnotationsResponse_Entry) XXX_Merge(src proto.Message) { 1465 xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Merge(m, src) 1466} 1467func (m *BatchCreateAnnotationsResponse_Entry) XXX_Size() int { 1468 return xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.Size(m) 1469} 1470func (m *BatchCreateAnnotationsResponse_Entry) XXX_DiscardUnknown() { 1471 xxx_messageInfo_BatchCreateAnnotationsResponse_Entry.DiscardUnknown(m) 1472} 1473 1474var xxx_messageInfo_BatchCreateAnnotationsResponse_Entry proto.InternalMessageInfo 1475 1476func (m *BatchCreateAnnotationsResponse_Entry) GetStatus() *status.Status { 1477 if m != nil { 1478 return m.Status 1479 } 1480 return nil 1481} 1482 1483func (m *BatchCreateAnnotationsResponse_Entry) GetAnnotation() *Annotation { 1484 if m != nil { 1485 return m.Annotation 1486 } 1487 return nil 1488} 1489 1490type GetAnnotationRequest struct { 1491 // The ID of the annotation to be retrieved. 1492 AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` 1493 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1494 XXX_unrecognized []byte `json:"-"` 1495 XXX_sizecache int32 `json:"-"` 1496} 1497 1498func (m *GetAnnotationRequest) Reset() { *m = GetAnnotationRequest{} } 1499func (m *GetAnnotationRequest) String() string { return proto.CompactTextString(m) } 1500func (*GetAnnotationRequest) ProtoMessage() {} 1501func (*GetAnnotationRequest) Descriptor() ([]byte, []int) { 1502 return fileDescriptor_4c5f02d3172d33a8, []int{14} 1503} 1504 1505func (m *GetAnnotationRequest) XXX_Unmarshal(b []byte) error { 1506 return xxx_messageInfo_GetAnnotationRequest.Unmarshal(m, b) 1507} 1508func (m *GetAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1509 return xxx_messageInfo_GetAnnotationRequest.Marshal(b, m, deterministic) 1510} 1511func (m *GetAnnotationRequest) XXX_Merge(src proto.Message) { 1512 xxx_messageInfo_GetAnnotationRequest.Merge(m, src) 1513} 1514func (m *GetAnnotationRequest) XXX_Size() int { 1515 return xxx_messageInfo_GetAnnotationRequest.Size(m) 1516} 1517func (m *GetAnnotationRequest) XXX_DiscardUnknown() { 1518 xxx_messageInfo_GetAnnotationRequest.DiscardUnknown(m) 1519} 1520 1521var xxx_messageInfo_GetAnnotationRequest proto.InternalMessageInfo 1522 1523func (m *GetAnnotationRequest) GetAnnotationId() string { 1524 if m != nil { 1525 return m.AnnotationId 1526 } 1527 return "" 1528} 1529 1530type UpdateAnnotationRequest struct { 1531 // The ID of the annotation to be updated. 1532 AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` 1533 // The new annotation. 1534 Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` 1535 // An optional mask specifying which fields to update. Mutable fields are 1536 // [name][google.genomics.v1.Annotation.name], 1537 // [variant][google.genomics.v1.Annotation.variant], 1538 // [transcript][google.genomics.v1.Annotation.transcript], and 1539 // [info][google.genomics.v1.Annotation.info]. If unspecified, all mutable 1540 // fields will be updated. 1541 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1542 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1543 XXX_unrecognized []byte `json:"-"` 1544 XXX_sizecache int32 `json:"-"` 1545} 1546 1547func (m *UpdateAnnotationRequest) Reset() { *m = UpdateAnnotationRequest{} } 1548func (m *UpdateAnnotationRequest) String() string { return proto.CompactTextString(m) } 1549func (*UpdateAnnotationRequest) ProtoMessage() {} 1550func (*UpdateAnnotationRequest) Descriptor() ([]byte, []int) { 1551 return fileDescriptor_4c5f02d3172d33a8, []int{15} 1552} 1553 1554func (m *UpdateAnnotationRequest) XXX_Unmarshal(b []byte) error { 1555 return xxx_messageInfo_UpdateAnnotationRequest.Unmarshal(m, b) 1556} 1557func (m *UpdateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1558 return xxx_messageInfo_UpdateAnnotationRequest.Marshal(b, m, deterministic) 1559} 1560func (m *UpdateAnnotationRequest) XXX_Merge(src proto.Message) { 1561 xxx_messageInfo_UpdateAnnotationRequest.Merge(m, src) 1562} 1563func (m *UpdateAnnotationRequest) XXX_Size() int { 1564 return xxx_messageInfo_UpdateAnnotationRequest.Size(m) 1565} 1566func (m *UpdateAnnotationRequest) XXX_DiscardUnknown() { 1567 xxx_messageInfo_UpdateAnnotationRequest.DiscardUnknown(m) 1568} 1569 1570var xxx_messageInfo_UpdateAnnotationRequest proto.InternalMessageInfo 1571 1572func (m *UpdateAnnotationRequest) GetAnnotationId() string { 1573 if m != nil { 1574 return m.AnnotationId 1575 } 1576 return "" 1577} 1578 1579func (m *UpdateAnnotationRequest) GetAnnotation() *Annotation { 1580 if m != nil { 1581 return m.Annotation 1582 } 1583 return nil 1584} 1585 1586func (m *UpdateAnnotationRequest) GetUpdateMask() *field_mask.FieldMask { 1587 if m != nil { 1588 return m.UpdateMask 1589 } 1590 return nil 1591} 1592 1593type DeleteAnnotationRequest struct { 1594 // The ID of the annotation to be deleted. 1595 AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"` 1596 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1597 XXX_unrecognized []byte `json:"-"` 1598 XXX_sizecache int32 `json:"-"` 1599} 1600 1601func (m *DeleteAnnotationRequest) Reset() { *m = DeleteAnnotationRequest{} } 1602func (m *DeleteAnnotationRequest) String() string { return proto.CompactTextString(m) } 1603func (*DeleteAnnotationRequest) ProtoMessage() {} 1604func (*DeleteAnnotationRequest) Descriptor() ([]byte, []int) { 1605 return fileDescriptor_4c5f02d3172d33a8, []int{16} 1606} 1607 1608func (m *DeleteAnnotationRequest) XXX_Unmarshal(b []byte) error { 1609 return xxx_messageInfo_DeleteAnnotationRequest.Unmarshal(m, b) 1610} 1611func (m *DeleteAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1612 return xxx_messageInfo_DeleteAnnotationRequest.Marshal(b, m, deterministic) 1613} 1614func (m *DeleteAnnotationRequest) XXX_Merge(src proto.Message) { 1615 xxx_messageInfo_DeleteAnnotationRequest.Merge(m, src) 1616} 1617func (m *DeleteAnnotationRequest) XXX_Size() int { 1618 return xxx_messageInfo_DeleteAnnotationRequest.Size(m) 1619} 1620func (m *DeleteAnnotationRequest) XXX_DiscardUnknown() { 1621 xxx_messageInfo_DeleteAnnotationRequest.DiscardUnknown(m) 1622} 1623 1624var xxx_messageInfo_DeleteAnnotationRequest proto.InternalMessageInfo 1625 1626func (m *DeleteAnnotationRequest) GetAnnotationId() string { 1627 if m != nil { 1628 return m.AnnotationId 1629 } 1630 return "" 1631} 1632 1633type SearchAnnotationsRequest struct { 1634 // Required. The annotation sets to search within. The caller must have 1635 // `READ` access to these annotation sets. 1636 // All queried annotation sets must have the same type. 1637 AnnotationSetIds []string `protobuf:"bytes,1,rep,name=annotation_set_ids,json=annotationSetIds,proto3" json:"annotation_set_ids,omitempty"` 1638 // Required. `reference_id` or `reference_name` must be set. 1639 // 1640 // Types that are valid to be assigned to Reference: 1641 // *SearchAnnotationsRequest_ReferenceId 1642 // *SearchAnnotationsRequest_ReferenceName 1643 Reference isSearchAnnotationsRequest_Reference `protobuf_oneof:"reference"` 1644 // The start position of the range on the reference, 0-based inclusive. If 1645 // specified, 1646 // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or 1647 // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] 1648 // must be specified. Defaults to 0. 1649 Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` 1650 // The end position of the range on the reference, 0-based exclusive. If 1651 // [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or 1652 // [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] 1653 // must be specified, Defaults to the length of the reference. 1654 End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"` 1655 // The continuation token, which is used to page through large result sets. 1656 // To get the next page of results, set this parameter to the value of 1657 // `nextPageToken` from the previous response. 1658 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1659 // The maximum number of results to return in a single page. If unspecified, 1660 // defaults to 256. The maximum value is 2048. 1661 PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1662 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1663 XXX_unrecognized []byte `json:"-"` 1664 XXX_sizecache int32 `json:"-"` 1665} 1666 1667func (m *SearchAnnotationsRequest) Reset() { *m = SearchAnnotationsRequest{} } 1668func (m *SearchAnnotationsRequest) String() string { return proto.CompactTextString(m) } 1669func (*SearchAnnotationsRequest) ProtoMessage() {} 1670func (*SearchAnnotationsRequest) Descriptor() ([]byte, []int) { 1671 return fileDescriptor_4c5f02d3172d33a8, []int{17} 1672} 1673 1674func (m *SearchAnnotationsRequest) XXX_Unmarshal(b []byte) error { 1675 return xxx_messageInfo_SearchAnnotationsRequest.Unmarshal(m, b) 1676} 1677func (m *SearchAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1678 return xxx_messageInfo_SearchAnnotationsRequest.Marshal(b, m, deterministic) 1679} 1680func (m *SearchAnnotationsRequest) XXX_Merge(src proto.Message) { 1681 xxx_messageInfo_SearchAnnotationsRequest.Merge(m, src) 1682} 1683func (m *SearchAnnotationsRequest) XXX_Size() int { 1684 return xxx_messageInfo_SearchAnnotationsRequest.Size(m) 1685} 1686func (m *SearchAnnotationsRequest) XXX_DiscardUnknown() { 1687 xxx_messageInfo_SearchAnnotationsRequest.DiscardUnknown(m) 1688} 1689 1690var xxx_messageInfo_SearchAnnotationsRequest proto.InternalMessageInfo 1691 1692func (m *SearchAnnotationsRequest) GetAnnotationSetIds() []string { 1693 if m != nil { 1694 return m.AnnotationSetIds 1695 } 1696 return nil 1697} 1698 1699type isSearchAnnotationsRequest_Reference interface { 1700 isSearchAnnotationsRequest_Reference() 1701} 1702 1703type SearchAnnotationsRequest_ReferenceId struct { 1704 ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3,oneof"` 1705} 1706 1707type SearchAnnotationsRequest_ReferenceName struct { 1708 ReferenceName string `protobuf:"bytes,3,opt,name=reference_name,json=referenceName,proto3,oneof"` 1709} 1710 1711func (*SearchAnnotationsRequest_ReferenceId) isSearchAnnotationsRequest_Reference() {} 1712 1713func (*SearchAnnotationsRequest_ReferenceName) isSearchAnnotationsRequest_Reference() {} 1714 1715func (m *SearchAnnotationsRequest) GetReference() isSearchAnnotationsRequest_Reference { 1716 if m != nil { 1717 return m.Reference 1718 } 1719 return nil 1720} 1721 1722func (m *SearchAnnotationsRequest) GetReferenceId() string { 1723 if x, ok := m.GetReference().(*SearchAnnotationsRequest_ReferenceId); ok { 1724 return x.ReferenceId 1725 } 1726 return "" 1727} 1728 1729func (m *SearchAnnotationsRequest) GetReferenceName() string { 1730 if x, ok := m.GetReference().(*SearchAnnotationsRequest_ReferenceName); ok { 1731 return x.ReferenceName 1732 } 1733 return "" 1734} 1735 1736func (m *SearchAnnotationsRequest) GetStart() int64 { 1737 if m != nil { 1738 return m.Start 1739 } 1740 return 0 1741} 1742 1743func (m *SearchAnnotationsRequest) GetEnd() int64 { 1744 if m != nil { 1745 return m.End 1746 } 1747 return 0 1748} 1749 1750func (m *SearchAnnotationsRequest) GetPageToken() string { 1751 if m != nil { 1752 return m.PageToken 1753 } 1754 return "" 1755} 1756 1757func (m *SearchAnnotationsRequest) GetPageSize() int32 { 1758 if m != nil { 1759 return m.PageSize 1760 } 1761 return 0 1762} 1763 1764// XXX_OneofWrappers is for the internal use of the proto package. 1765func (*SearchAnnotationsRequest) XXX_OneofWrappers() []interface{} { 1766 return []interface{}{ 1767 (*SearchAnnotationsRequest_ReferenceId)(nil), 1768 (*SearchAnnotationsRequest_ReferenceName)(nil), 1769 } 1770} 1771 1772type SearchAnnotationsResponse struct { 1773 // The matching annotations. 1774 Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` 1775 // The continuation token, which is used to page through large result sets. 1776 // Provide this value in a subsequent request to return the next page of 1777 // results. This field will be empty if there aren't any additional results. 1778 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1779 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1780 XXX_unrecognized []byte `json:"-"` 1781 XXX_sizecache int32 `json:"-"` 1782} 1783 1784func (m *SearchAnnotationsResponse) Reset() { *m = SearchAnnotationsResponse{} } 1785func (m *SearchAnnotationsResponse) String() string { return proto.CompactTextString(m) } 1786func (*SearchAnnotationsResponse) ProtoMessage() {} 1787func (*SearchAnnotationsResponse) Descriptor() ([]byte, []int) { 1788 return fileDescriptor_4c5f02d3172d33a8, []int{18} 1789} 1790 1791func (m *SearchAnnotationsResponse) XXX_Unmarshal(b []byte) error { 1792 return xxx_messageInfo_SearchAnnotationsResponse.Unmarshal(m, b) 1793} 1794func (m *SearchAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1795 return xxx_messageInfo_SearchAnnotationsResponse.Marshal(b, m, deterministic) 1796} 1797func (m *SearchAnnotationsResponse) XXX_Merge(src proto.Message) { 1798 xxx_messageInfo_SearchAnnotationsResponse.Merge(m, src) 1799} 1800func (m *SearchAnnotationsResponse) XXX_Size() int { 1801 return xxx_messageInfo_SearchAnnotationsResponse.Size(m) 1802} 1803func (m *SearchAnnotationsResponse) XXX_DiscardUnknown() { 1804 xxx_messageInfo_SearchAnnotationsResponse.DiscardUnknown(m) 1805} 1806 1807var xxx_messageInfo_SearchAnnotationsResponse proto.InternalMessageInfo 1808 1809func (m *SearchAnnotationsResponse) GetAnnotations() []*Annotation { 1810 if m != nil { 1811 return m.Annotations 1812 } 1813 return nil 1814} 1815 1816func (m *SearchAnnotationsResponse) GetNextPageToken() string { 1817 if m != nil { 1818 return m.NextPageToken 1819 } 1820 return "" 1821} 1822 1823func init() { 1824 proto.RegisterEnum("google.genomics.v1.AnnotationType", AnnotationType_name, AnnotationType_value) 1825 proto.RegisterEnum("google.genomics.v1.VariantAnnotation_Type", VariantAnnotation_Type_name, VariantAnnotation_Type_value) 1826 proto.RegisterEnum("google.genomics.v1.VariantAnnotation_Effect", VariantAnnotation_Effect_name, VariantAnnotation_Effect_value) 1827 proto.RegisterEnum("google.genomics.v1.VariantAnnotation_ClinicalSignificance", VariantAnnotation_ClinicalSignificance_name, VariantAnnotation_ClinicalSignificance_value) 1828 proto.RegisterType((*AnnotationSet)(nil), "google.genomics.v1.AnnotationSet") 1829 proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.AnnotationSet.InfoEntry") 1830 proto.RegisterType((*Annotation)(nil), "google.genomics.v1.Annotation") 1831 proto.RegisterMapType((map[string]*_struct.ListValue)(nil), "google.genomics.v1.Annotation.InfoEntry") 1832 proto.RegisterType((*VariantAnnotation)(nil), "google.genomics.v1.VariantAnnotation") 1833 proto.RegisterType((*VariantAnnotation_ClinicalCondition)(nil), "google.genomics.v1.VariantAnnotation.ClinicalCondition") 1834 proto.RegisterType((*Transcript)(nil), "google.genomics.v1.Transcript") 1835 proto.RegisterType((*Transcript_Exon)(nil), "google.genomics.v1.Transcript.Exon") 1836 proto.RegisterType((*Transcript_CodingSequence)(nil), "google.genomics.v1.Transcript.CodingSequence") 1837 proto.RegisterType((*ExternalId)(nil), "google.genomics.v1.ExternalId") 1838 proto.RegisterType((*CreateAnnotationSetRequest)(nil), "google.genomics.v1.CreateAnnotationSetRequest") 1839 proto.RegisterType((*GetAnnotationSetRequest)(nil), "google.genomics.v1.GetAnnotationSetRequest") 1840 proto.RegisterType((*UpdateAnnotationSetRequest)(nil), "google.genomics.v1.UpdateAnnotationSetRequest") 1841 proto.RegisterType((*DeleteAnnotationSetRequest)(nil), "google.genomics.v1.DeleteAnnotationSetRequest") 1842 proto.RegisterType((*SearchAnnotationSetsRequest)(nil), "google.genomics.v1.SearchAnnotationSetsRequest") 1843 proto.RegisterType((*SearchAnnotationSetsResponse)(nil), "google.genomics.v1.SearchAnnotationSetsResponse") 1844 proto.RegisterType((*CreateAnnotationRequest)(nil), "google.genomics.v1.CreateAnnotationRequest") 1845 proto.RegisterType((*BatchCreateAnnotationsRequest)(nil), "google.genomics.v1.BatchCreateAnnotationsRequest") 1846 proto.RegisterType((*BatchCreateAnnotationsResponse)(nil), "google.genomics.v1.BatchCreateAnnotationsResponse") 1847 proto.RegisterType((*BatchCreateAnnotationsResponse_Entry)(nil), "google.genomics.v1.BatchCreateAnnotationsResponse.Entry") 1848 proto.RegisterType((*GetAnnotationRequest)(nil), "google.genomics.v1.GetAnnotationRequest") 1849 proto.RegisterType((*UpdateAnnotationRequest)(nil), "google.genomics.v1.UpdateAnnotationRequest") 1850 proto.RegisterType((*DeleteAnnotationRequest)(nil), "google.genomics.v1.DeleteAnnotationRequest") 1851 proto.RegisterType((*SearchAnnotationsRequest)(nil), "google.genomics.v1.SearchAnnotationsRequest") 1852 proto.RegisterType((*SearchAnnotationsResponse)(nil), "google.genomics.v1.SearchAnnotationsResponse") 1853} 1854 1855func init() { 1856 proto.RegisterFile("google/genomics/v1/annotations.proto", fileDescriptor_4c5f02d3172d33a8) 1857} 1858 1859var fileDescriptor_4c5f02d3172d33a8 = []byte{ 1860 // 2188 bytes of a gzipped FileDescriptorProto 1861 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x6f, 0xdb, 0xc8, 1862 0x15, 0x0f, 0xf5, 0x69, 0x3f, 0xd9, 0x32, 0x3d, 0xf1, 0xda, 0x5a, 0x39, 0x1f, 0x0e, 0xf3, 0x65, 1863 0xb8, 0x89, 0xbc, 0x51, 0x80, 0x36, 0x75, 0xda, 0x74, 0x65, 0x9a, 0xb6, 0xa7, 0xab, 0x50, 0xc2, 1864 0x90, 0x72, 0xe1, 0x5e, 0x08, 0x86, 0x1a, 0x7b, 0x89, 0xd8, 0x94, 0x4a, 0xd2, 0x6e, 0xbc, 0xc5, 1865 0x02, 0x8b, 0xc5, 0x16, 0x3d, 0xf5, 0xb2, 0xbb, 0xf7, 0x5e, 0x0a, 0xb4, 0xff, 0x43, 0x2f, 0x05, 1866 0x7a, 0x6f, 0x0f, 0x45, 0xff, 0x83, 0x5e, 0xf6, 0xda, 0x53, 0x81, 0x5e, 0x8a, 0x19, 0x92, 0x12, 1867 0x45, 0x51, 0xb6, 0xdc, 0x00, 0xbd, 0x71, 0xde, 0xbc, 0xf7, 0xe6, 0x37, 0xbf, 0x99, 0xf7, 0x31, 1868 0x12, 0x3c, 0x38, 0xee, 0xf5, 0x8e, 0x4f, 0xe8, 0xe6, 0x31, 0x75, 0x7a, 0xa7, 0xb6, 0xe5, 0x6d, 1869 0x9e, 0x3f, 0xdb, 0x34, 0x1d, 0xa7, 0xe7, 0x9b, 0xbe, 0xdd, 0x73, 0xbc, 0x5a, 0xdf, 0xed, 0xf9, 1870 0x3d, 0x84, 0x02, 0xad, 0x5a, 0xa4, 0x55, 0x3b, 0x7f, 0x56, 0xbd, 0x15, 0x5a, 0x9a, 0x7d, 0x7b, 1871 0xdc, 0xa2, 0xba, 0x1a, 0xce, 0xf2, 0xd1, 0x9b, 0xb3, 0xa3, 0x4d, 0x7a, 0xda, 0xf7, 0x2f, 0xc2, 1872 0xc9, 0xb5, 0xe4, 0xe4, 0x91, 0x4d, 0x4f, 0xba, 0xc6, 0xa9, 0xe9, 0xbd, 0x0d, 0x35, 0x6e, 0x25, 1873 0x35, 0x3c, 0xdf, 0x3d, 0xb3, 0xfc, 0x70, 0xf6, 0x4e, 0x72, 0xf6, 0x97, 0xae, 0xd9, 0xef, 0x53, 1874 0x37, 0x5a, 0x7c, 0x25, 0x9c, 0x77, 0xfb, 0xd6, 0xa6, 0xe7, 0x9b, 0xfe, 0x59, 0x38, 0x21, 0x7d, 1875 0x97, 0x81, 0xf9, 0xc6, 0x00, 0xab, 0x46, 0x7d, 0x54, 0x86, 0x8c, 0xdd, 0xad, 0x08, 0x6b, 0xc2, 1876 0xfa, 0x2c, 0xc9, 0xd8, 0x5d, 0x74, 0x1b, 0xa0, 0x6b, 0xfa, 0xa6, 0x47, 0x7d, 0xc3, 0xee, 0x56, 1877 0x32, 0x5c, 0x3e, 0x1b, 0x4a, 0x70, 0x17, 0xad, 0x83, 0xe8, 0xd2, 0x23, 0xea, 0x52, 0xc7, 0xa2, 1878 0x46, 0xa8, 0x94, 0xe5, 0x4a, 0xe5, 0x81, 0x5c, 0xe3, 0x9a, 0x08, 0x72, 0x8e, 0x79, 0x4a, 0x2b, 1879 0x39, 0x3e, 0xcb, 0xbf, 0x99, 0x73, 0xaf, 0x77, 0xe6, 0x5a, 0xd4, 0x38, 0x73, 0xed, 0x4a, 0x3e, 1880 0x70, 0x1e, 0x48, 0x3a, 0xae, 0x8d, 0xbe, 0x0f, 0x39, 0xff, 0xa2, 0x4f, 0x2b, 0x85, 0x35, 0x61, 1881 0xbd, 0x5c, 0x97, 0x6a, 0xe3, 0xa4, 0xd7, 0x86, 0xe0, 0xf5, 0x8b, 0x3e, 0x25, 0x5c, 0x1f, 0xfd, 1882 0x04, 0x72, 0xb6, 0x73, 0xd4, 0xab, 0x2c, 0xae, 0x65, 0xd7, 0x4b, 0xf5, 0xef, 0x5d, 0x6e, 0xa7, 1883 0x51, 0xbf, 0x86, 0x9d, 0xa3, 0x9e, 0xe2, 0xf8, 0xee, 0x05, 0xe1, 0x86, 0x55, 0x0d, 0x66, 0x07, 1884 0x22, 0x24, 0x42, 0xf6, 0x2d, 0xbd, 0x08, 0x29, 0x61, 0x9f, 0xe8, 0x23, 0xc8, 0x9f, 0x9b, 0x27, 1885 0x67, 0x94, 0xd3, 0x51, 0xaa, 0x57, 0xa3, 0x05, 0x22, 0xfa, 0x6b, 0x4d, 0xdb, 0xf3, 0x0f, 0x98, 1886 0x06, 0x09, 0x14, 0xb7, 0x32, 0x2f, 0x04, 0xe9, 0xaf, 0x39, 0x80, 0xe1, 0xb2, 0x63, 0x44, 0x6f, 1887 0xc0, 0xe2, 0xf0, 0xd6, 0x18, 0x23, 0x7c, 0x2f, 0x98, 0x71, 0xb4, 0x31, 0x2e, 0xb3, 0x31, 0x2e, 1888 0xef, 0xc1, 0xdc, 0xf0, 0x24, 0xec, 0x6e, 0xc8, 0x73, 0x69, 0x20, 0xc3, 0x5d, 0xf4, 0x10, 0x86, 1889 0x87, 0x62, 0x70, 0x07, 0x01, 0xe5, 0xf3, 0x03, 0xa9, 0xca, 0x3c, 0x2d, 0x41, 0xde, 0xf3, 0x4d, 1890 0xd7, 0xe7, 0xbc, 0x67, 0x49, 0x30, 0x60, 0x34, 0x50, 0xa7, 0x5b, 0x29, 0x72, 0x19, 0xfb, 0x0c, 1891 0xdc, 0x9d, 0x53, 0xd7, 0xa3, 0x86, 0xe7, 0xbb, 0xa6, 0xd3, 0xad, 0xcc, 0xac, 0x09, 0xeb, 0x33, 1892 0xcc, 0x1d, 0x97, 0x6a, 0x5c, 0x38, 0x38, 0xc5, 0xd9, 0x6b, 0x9e, 0x62, 0x03, 0x8a, 0xe7, 0xa6, 1893 0x6b, 0x9b, 0x8e, 0x5f, 0x01, 0xce, 0xf3, 0xc3, 0x34, 0xd3, 0x83, 0x40, 0x65, 0xe8, 0x61, 0xff, 1894 0x06, 0x89, 0xec, 0xd0, 0xc7, 0x00, 0x0c, 0x83, 0x67, 0xb9, 0x76, 0xdf, 0xaf, 0x94, 0xb8, 0x97, 1895 0x3b, 0x69, 0x5e, 0xf4, 0x81, 0xd6, 0xfe, 0x0d, 0x12, 0xb3, 0x41, 0x3f, 0x0a, 0xaf, 0xd2, 0x1c, 1896 0xbf, 0x4a, 0xeb, 0x97, 0x83, 0xff, 0xbf, 0xdc, 0xa3, 0xed, 0x62, 0x68, 0x25, 0xfd, 0x67, 0x16, 1897 0x16, 0xc7, 0xb6, 0x8f, 0x5e, 0x85, 0x74, 0x0b, 0x9c, 0xee, 0x8d, 0xa9, 0x38, 0xab, 0xc5, 0x68, 1898 0xdf, 0x81, 0x02, 0x3d, 0x3a, 0xa2, 0x96, 0xcf, 0x51, 0x95, 0xeb, 0x4f, 0xa6, 0xf3, 0xa0, 0x70, 1899 0x1b, 0x12, 0xda, 0xa2, 0xc7, 0xb0, 0x60, 0x9e, 0xf8, 0xd4, 0x75, 0x4c, 0x9f, 0x1a, 0x6f, 0x4c, 1900 0x8f, 0x7a, 0x51, 0x5a, 0x18, 0x88, 0xb7, 0x99, 0x14, 0xad, 0x40, 0xf1, 0x98, 0x3a, 0xb1, 0x1b, 1901 0x5b, 0x60, 0xc3, 0xe0, 0xb2, 0x0e, 0xcf, 0xc1, 0xb0, 0xbb, 0x5e, 0x25, 0xbf, 0x96, 0x65, 0x97, 1902 0x75, 0x28, 0xc5, 0x5d, 0x0f, 0xfd, 0x0c, 0xc0, 0xea, 0x39, 0x5d, 0x9b, 0xe7, 0xda, 0x4a, 0x81, 1903 0x1f, 0xd3, 0x0f, 0xa6, 0x83, 0x2c, 0x9f, 0xd8, 0x8e, 0x6d, 0x99, 0x27, 0x72, 0x64, 0x4f, 0x62, 1904 0xae, 0x50, 0x0f, 0x3e, 0xb0, 0x42, 0x05, 0xc3, 0xb3, 0x8f, 0x1d, 0xfb, 0xc8, 0xb6, 0x4c, 0xc7, 1905 0xa2, 0x3c, 0x02, 0xca, 0xf5, 0xad, 0xeb, 0xad, 0xa1, 0xc5, 0x3c, 0x90, 0x25, 0x2b, 0x45, 0x5a, 1906 0xfd, 0xbd, 0x00, 0x8b, 0x63, 0x90, 0x58, 0x30, 0xb2, 0x48, 0xf5, 0x2a, 0x02, 0xdf, 0x7d, 0x30, 1907 0x40, 0x0d, 0x98, 0xa3, 0xef, 0x38, 0x8f, 0x27, 0x9c, 0x9a, 0x0c, 0xdf, 0x77, 0xea, 0xd5, 0x56, 1908 0x42, 0x3d, 0xdc, 0x25, 0x25, 0x3a, 0xf8, 0xf6, 0x58, 0xee, 0xb5, 0x7a, 0x8e, 0x45, 0xfb, 0xb1, 1909 0x9c, 0x3d, 0x1b, 0x4a, 0x70, 0x97, 0x9d, 0x4b, 0xef, 0xd4, 0x3e, 0x8d, 0x9d, 0x0b, 0x1b, 0xe2, 1910 0xae, 0xf4, 0x39, 0xe4, 0xd8, 0x6d, 0x41, 0x4b, 0x20, 0xea, 0x87, 0x6d, 0xc5, 0xe8, 0xa8, 0x5a, 1911 0x5b, 0x91, 0xf1, 0x2e, 0x56, 0x76, 0xc4, 0x1b, 0xa8, 0x0c, 0xc0, 0xa5, 0x2d, 0x7d, 0x5f, 0x21, 1912 0xa2, 0x80, 0xe6, 0x61, 0x16, 0xab, 0x9a, 0x42, 0x74, 0xdc, 0x52, 0xc5, 0x0c, 0x9a, 0x83, 0x99, 1913 0x1d, 0xa5, 0xa9, 0xf0, 0x51, 0x16, 0x89, 0x30, 0xa7, 0x75, 0xb6, 0x35, 0x1d, 0xeb, 0x1d, 0x2e, 1914 0xc9, 0xa1, 0x22, 0x64, 0x35, 0xb5, 0x2d, 0xe6, 0x99, 0x1f, 0x4d, 0x27, 0x1d, 0x59, 0xef, 0x90, 1915 0x46, 0x53, 0x2c, 0xb0, 0x09, 0x59, 0x3d, 0x10, 0x8b, 0xd2, 0x5f, 0x04, 0x28, 0x04, 0x77, 0x0d, 1916 0x2d, 0x03, 0x52, 0x76, 0x77, 0x15, 0x59, 0x4f, 0x60, 0x10, 0x61, 0x2e, 0x94, 0x47, 0x28, 0xca, 1917 0x00, 0xbb, 0xa4, 0xf1, 0x5a, 0xd1, 0xf6, 0xf1, 0xae, 0x2e, 0x66, 0x50, 0x15, 0x96, 0xf9, 0xd8, 1918 0x68, 0x13, 0x45, 0x53, 0xc8, 0x01, 0x56, 0xf7, 0x0c, 0xac, 0xee, 0x28, 0x4d, 0x31, 0x8b, 0x10, 1919 0x94, 0xb5, 0x43, 0xb5, 0xa5, 0x1e, 0xbe, 0x6e, 0x75, 0x34, 0x83, 0xa1, 0xc9, 0xa1, 0x0f, 0x60, 1920 0x51, 0x6d, 0xa9, 0x09, 0x71, 0x9e, 0x6d, 0x4e, 0xd3, 0x5b, 0x6d, 0x63, 0xaf, 0x81, 0x55, 0xb1, 1921 0x30, 0x18, 0x36, 0x5b, 0x9a, 0x26, 0x16, 0xd9, 0x22, 0x5a, 0xbb, 0x89, 0x65, 0xc5, 0xd0, 0xb0, 1922 0xae, 0x18, 0x3b, 0x58, 0x23, 0x9d, 0x36, 0xdf, 0xe7, 0x8c, 0xf4, 0xe7, 0x0c, 0x2c, 0xa5, 0x5d, 1923 0x0d, 0xf4, 0x10, 0xee, 0xc9, 0x4d, 0xac, 0x62, 0xb9, 0xd1, 0x34, 0x34, 0xbc, 0xa7, 0xe2, 0x5d, 1924 0x2c, 0x37, 0x54, 0x39, 0x49, 0xf3, 0x5d, 0x58, 0x4d, 0x57, 0x8b, 0xf1, 0xde, 0x51, 0x65, 0x85, 1925 0xe8, 0x0c, 0x5a, 0x06, 0x01, 0x14, 0xb6, 0x15, 0x15, 0xef, 0x31, 0xd6, 0x17, 0x61, 0xbe, 0x89, 1926 0x3f, 0x51, 0x9a, 0x87, 0x46, 0x28, 0xe2, 0xfb, 0x0b, 0x45, 0xed, 0x86, 0xbe, 0xdf, 0xda, 0x53, 1927 0x54, 0x2c, 0x07, 0x87, 0x10, 0x1b, 0x17, 0x98, 0xe5, 0x0e, 0xe9, 0xec, 0x19, 0x44, 0xd1, 0xda, 1928 0x2d, 0x55, 0x53, 0xc4, 0x22, 0x3b, 0x83, 0x7d, 0xac, 0xe9, 0x2d, 0xb9, 0xf5, 0xba, 0xdd, 0xd0, 1929 0xf1, 0x36, 0x6e, 0x62, 0xfd, 0x50, 0x9c, 0x41, 0x2b, 0x70, 0x53, 0x6e, 0xa9, 0xbb, 0x0a, 0xd1, 1930 0x0c, 0x4d, 0x51, 0x35, 0xac, 0xe3, 0x03, 0x36, 0x31, 0x8b, 0x16, 0xa0, 0x44, 0xb0, 0xf6, 0x89, 1931 0xb1, 0xdb, 0x90, 0xf5, 0x16, 0x11, 0x81, 0x09, 0x1a, 0x9a, 0xd6, 0x92, 0x71, 0x83, 0x73, 0x53, 1932 0xe2, 0xab, 0x92, 0x96, 0xae, 0xc8, 0x3a, 0x3e, 0x50, 0xc4, 0x39, 0x06, 0xee, 0x75, 0xa7, 0xa9, 1933 0xe3, 0x76, 0x53, 0x31, 0x88, 0xd2, 0x6e, 0x11, 0x5d, 0xd9, 0x11, 0xe7, 0xa5, 0x7f, 0x64, 0x00, 1934 0x86, 0x69, 0x3b, 0x9e, 0x47, 0x84, 0x91, 0x3c, 0xf2, 0x43, 0xc8, 0xd3, 0x77, 0x2c, 0x37, 0x04, 1935 0x31, 0x72, 0xff, 0xf2, 0xf4, 0x5f, 0x53, 0xde, 0xf5, 0x1c, 0x12, 0x58, 0xa0, 0x03, 0x58, 0xb0, 1936 0x7a, 0x5d, 0xdb, 0x39, 0x36, 0x3c, 0xfa, 0x8b, 0x33, 0x56, 0x1f, 0x79, 0x9c, 0x94, 0xea, 0x4f, 1937 0xaf, 0x70, 0x22, 0x73, 0x2b, 0x2d, 0x34, 0x22, 0x65, 0x6b, 0x64, 0x5c, 0x35, 0x21, 0xc7, 0x96, 1938 0x19, 0x16, 0x5a, 0x21, 0xa5, 0xd0, 0x66, 0x86, 0x85, 0xf6, 0x19, 0xe4, 0x8f, 0xdc, 0xa8, 0xde, 1939 0x97, 0xea, 0xab, 0x63, 0x75, 0x02, 0x3b, 0xfe, 0xf3, 0x7a, 0x58, 0x28, 0xb8, 0x66, 0xf5, 0x05, 1940 0x94, 0x47, 0x41, 0x4c, 0xbb, 0x98, 0xf4, 0x63, 0x80, 0x61, 0xca, 0x40, 0x77, 0xa1, 0x14, 0x76, 1941 0x68, 0xbc, 0x5f, 0x08, 0xa8, 0x0d, 0x9b, 0x36, 0xde, 0x2c, 0x04, 0x6d, 0x4c, 0x26, 0x6a, 0x63, 1942 0xa4, 0x23, 0xa8, 0xca, 0x2e, 0x35, 0x7d, 0x3a, 0xd2, 0x61, 0x11, 0x86, 0xc2, 0xf3, 0xd1, 0x3e, 1943 0x94, 0x47, 0x9b, 0x1c, 0xee, 0xb1, 0x54, 0xbf, 0x77, 0x65, 0x8f, 0x46, 0xe6, 0x47, 0x9a, 0x20, 1944 0x49, 0x81, 0x95, 0x3d, 0xea, 0xa7, 0x2e, 0x92, 0xda, 0x49, 0x09, 0xa9, 0x9d, 0x94, 0xf4, 0x37, 1945 0x01, 0xaa, 0x9d, 0x7e, 0x77, 0x12, 0xde, 0x6b, 0xb8, 0x4a, 0xd9, 0x5b, 0xe6, 0x7f, 0xdb, 0x1b, 1946 0x7a, 0x09, 0xa5, 0x33, 0x8e, 0x89, 0xbf, 0x00, 0xc2, 0x53, 0x1f, 0xef, 0x0e, 0x76, 0xd9, 0x23, 1947 0xe1, 0xb5, 0xe9, 0xbd, 0x25, 0x10, 0xa8, 0xb3, 0x6f, 0x69, 0x1f, 0xaa, 0x3b, 0xf4, 0x84, 0xbe, 1948 0xff, 0x86, 0xa4, 0x7f, 0x09, 0xb0, 0xaa, 0x51, 0xd3, 0xb5, 0x3e, 0x1d, 0x71, 0xe5, 0x45, 0xbe, 1949 0xee, 0x42, 0x69, 0xf8, 0x34, 0x88, 0x0a, 0x14, 0x0c, 0xde, 0x06, 0x5e, 0xea, 0xe3, 0x20, 0x73, 1950 0xe9, 0xe3, 0x20, 0xde, 0xd0, 0xbe, 0x80, 0x3c, 0x6b, 0x48, 0xbc, 0x4a, 0x6e, 0x2d, 0x3b, 0x65, 1951 0xe3, 0x18, 0x18, 0xb0, 0xd2, 0xd6, 0x37, 0x8f, 0xa9, 0xe1, 0xf7, 0xde, 0x52, 0x27, 0x7a, 0x56, 1952 0x30, 0x89, 0xce, 0x04, 0x68, 0x15, 0xf8, 0xc0, 0xf0, 0xec, 0xcf, 0x82, 0xb7, 0x45, 0x9e, 0xcc, 1953 0x30, 0x81, 0x66, 0x7f, 0x46, 0xa5, 0xaf, 0x05, 0xb8, 0x95, 0xbe, 0x69, 0xaf, 0xdf, 0x73, 0x3c, 1954 0x8a, 0x7e, 0x0a, 0x0b, 0xa3, 0x0c, 0x06, 0x3b, 0x9f, 0xea, 0x9c, 0xcb, 0x23, 0x14, 0x7b, 0xe8, 1955 0x11, 0x2c, 0x38, 0xf4, 0x9d, 0x6f, 0xc4, 0xd0, 0x06, 0xfc, 0xcc, 0x33, 0x71, 0x3b, 0x42, 0x2c, 1956 0x1d, 0xc2, 0x4a, 0x32, 0xa8, 0xa2, 0x43, 0x78, 0x05, 0x30, 0x74, 0x1a, 0x46, 0xd3, 0x9d, 0xcb, 1957 0x91, 0x90, 0x98, 0x85, 0xf4, 0x85, 0x00, 0xb7, 0xb7, 0x4d, 0xdf, 0xfa, 0x34, 0xb9, 0xc0, 0xe0, 1958 0x98, 0x3f, 0x86, 0x52, 0xec, 0x39, 0x1b, 0x6e, 0xf6, 0xaa, 0x25, 0xe2, 0x26, 0xec, 0x3c, 0xdc, 1959 0xc0, 0x59, 0xec, 0x0d, 0x19, 0x4a, 0x70, 0x57, 0xfa, 0x4e, 0x80, 0x3b, 0x93, 0x20, 0x84, 0xa4, 1960 0x13, 0x28, 0x52, 0xc7, 0x77, 0x6d, 0x1a, 0xad, 0xff, 0x22, 0x6d, 0xfd, 0xcb, 0x9d, 0xd4, 0x82, 1961 0xce, 0x3c, 0x72, 0x54, 0xf5, 0x20, 0x1f, 0x34, 0xe6, 0x1b, 0x50, 0x08, 0x1e, 0xc5, 0x21, 0x7d, 1962 0x28, 0xf2, 0xed, 0xf6, 0xad, 0x9a, 0xc6, 0x67, 0x48, 0xa8, 0x91, 0xa0, 0x3b, 0x73, 0x6d, 0xba, 1963 0x5f, 0xc2, 0xd2, 0x48, 0xda, 0x8a, 0x48, 0xbe, 0x0f, 0xb1, 0x1c, 0x30, 0x8c, 0xc9, 0xb9, 0xa1, 1964 0x10, 0x77, 0xa5, 0x3f, 0x09, 0xb0, 0x92, 0x4c, 0x56, 0xd7, 0x71, 0xf0, 0xbe, 0xe8, 0xdf, 0x2f, 1965 0x31, 0xbd, 0x82, 0x95, 0x64, 0x62, 0xba, 0xd6, 0xee, 0x7f, 0x93, 0x81, 0x4a, 0x32, 0x32, 0x07, 1966 0x97, 0xf4, 0x09, 0xa0, 0xb1, 0xbc, 0x16, 0xa5, 0x24, 0x31, 0x91, 0xd8, 0x3c, 0x74, 0x3f, 0xf1, 1967 0x56, 0xe6, 0x57, 0x72, 0xff, 0xc6, 0xe8, 0x6b, 0xf9, 0xf1, 0xd8, 0x6b, 0x39, 0x1b, 0xaa, 0x4d, 1968 0x7a, 0x2f, 0xe7, 0x52, 0x2a, 0x6b, 0x7e, 0x58, 0xc6, 0x47, 0xd3, 0x52, 0xe1, 0xd2, 0xb4, 0x54, 1969 0x1c, 0x4d, 0x4b, 0xdb, 0x25, 0x98, 0x1d, 0x2c, 0x2a, 0xfd, 0x5a, 0x80, 0x0f, 0x53, 0x98, 0x08, 1970 0x63, 0xe5, 0xfd, 0xe3, 0x75, 0xca, 0xb4, 0xb4, 0x41, 0xa1, 0x3c, 0x9a, 0x80, 0x59, 0x5f, 0xda, 1971 0x50, 0xd5, 0x96, 0xce, 0x7b, 0x39, 0x23, 0xe5, 0x7d, 0x50, 0x82, 0xe2, 0x9e, 0xa2, 0x2a, 0x04, 1972 0xcb, 0xa2, 0xc0, 0x06, 0x07, 0x0d, 0x82, 0x1b, 0x2a, 0xeb, 0xc9, 0x67, 0x20, 0xc7, 0x66, 0xc4, 1973 0x2c, 0x7f, 0x43, 0x90, 0x86, 0xaa, 0xc9, 0x04, 0xb7, 0x75, 0x31, 0x57, 0xff, 0x6a, 0x1e, 0x6e, 1974 0xc6, 0xf3, 0xa8, 0x7b, 0x6e, 0x5b, 0xf4, 0xe0, 0x19, 0xfa, 0x56, 0x80, 0x9b, 0x29, 0xbd, 0x06, 1975 0xaa, 0xa5, 0xed, 0x75, 0x72, 0x53, 0x52, 0xbd, 0x3a, 0x71, 0x4b, 0x1b, 0x5f, 0xfe, 0xfd, 0x9f, 1976 0xdf, 0x64, 0x1e, 0x48, 0x28, 0xf1, 0x73, 0x20, 0xf5, 0xbd, 0xad, 0x44, 0xd5, 0x47, 0x5f, 0x0b, 1977 0x20, 0x26, 0x5b, 0x13, 0x94, 0xfa, 0x23, 0xd4, 0x84, 0x06, 0x66, 0x1a, 0x40, 0x35, 0x0e, 0x68, 1978 0x1d, 0x3d, 0x1a, 0x07, 0xb4, 0xf9, 0xab, 0xb1, 0x48, 0xf8, 0x1c, 0xfd, 0x51, 0x80, 0x9b, 0x29, 1979 0x7d, 0x4e, 0x3a, 0x57, 0x93, 0x1b, 0xa2, 0x69, 0xa0, 0xbd, 0xe2, 0xd0, 0x5e, 0x54, 0xa7, 0x84, 1980 0x36, 0xc6, 0xdf, 0x6f, 0x05, 0xb8, 0x99, 0xd2, 0xc1, 0xa4, 0x43, 0x9d, 0xdc, 0xea, 0x54, 0x97, 1981 0xc7, 0xf2, 0x92, 0x72, 0xda, 0xf7, 0x2f, 0x22, 0xea, 0x36, 0xa6, 0xa5, 0xee, 0x77, 0x02, 0x2c, 1982 0xa5, 0x75, 0x04, 0x68, 0x33, 0x0d, 0xd0, 0x25, 0x0d, 0x53, 0xf5, 0xa3, 0xe9, 0x0d, 0x82, 0x58, 1983 0x96, 0x1e, 0x70, 0xac, 0x77, 0xa4, 0x0f, 0x53, 0xb0, 0x7a, 0xdc, 0x70, 0x4b, 0xd8, 0x40, 0x5f, 1984 0x09, 0x20, 0x26, 0xef, 0x77, 0xfa, 0x8d, 0x9b, 0xd0, 0x45, 0x54, 0xaf, 0x48, 0x0f, 0xd2, 0x7d, 1985 0x8e, 0xe3, 0xb6, 0xb4, 0x90, 0xc0, 0xb1, 0x15, 0xaf, 0x0e, 0x7f, 0x10, 0x60, 0x39, 0xbd, 0x04, 1986 0xa3, 0x67, 0xd7, 0x29, 0xd7, 0x01, 0xa4, 0xfa, 0xf5, 0x2b, 0xbc, 0xf4, 0x88, 0xc3, 0x5c, 0x93, 1987 0x56, 0x93, 0x30, 0xdf, 0x0c, 0xed, 0x18, 0x61, 0x5f, 0x0a, 0x30, 0x3f, 0x12, 0x7c, 0x68, 0xfd, 1988 0xca, 0xf8, 0x9c, 0x96, 0xaa, 0xc7, 0x1c, 0xc3, 0x3d, 0x74, 0x37, 0x81, 0x61, 0xe4, 0x6e, 0xb1, 1989 0x7b, 0xf5, 0xad, 0x00, 0x62, 0x32, 0xd2, 0xd2, 0x4f, 0x6d, 0x42, 0xcd, 0xbf, 0x12, 0xca, 0x73, 1990 0x0e, 0xe5, 0x69, 0xf5, 0x2a, 0x28, 0x23, 0xa7, 0xf8, 0x85, 0x00, 0x62, 0x32, 0xaa, 0xd2, 0x61, 1991 0x4d, 0xa8, 0xe6, 0x13, 0x03, 0x2f, 0x64, 0x66, 0xe3, 0x4a, 0x66, 0xbe, 0x11, 0x60, 0x71, 0xac, 1992 0xbe, 0xa1, 0x27, 0xd3, 0x44, 0xcf, 0xe0, 0xfa, 0x3c, 0x9d, 0x52, 0x3b, 0xbc, 0x39, 0xf7, 0x38, 1993 0xb6, 0x55, 0x69, 0x39, 0x89, 0x6d, 0x10, 0x65, 0xdb, 0x6f, 0x61, 0xd9, 0xea, 0x9d, 0xa6, 0xb8, 1994 0xdd, 0x16, 0x63, 0x1e, 0xdb, 0x6c, 0xcf, 0x6d, 0xe1, 0xe7, 0x5b, 0x91, 0x5e, 0xef, 0xc4, 0x74, 1995 0x8e, 0x6b, 0x3d, 0xf7, 0x78, 0xf3, 0x98, 0x3a, 0x9c, 0x91, 0xcd, 0x60, 0xca, 0xec, 0xdb, 0x5e, 1996 0xfc, 0x6f, 0xa6, 0x97, 0xd1, 0xf7, 0xbf, 0x05, 0xe1, 0x4d, 0x81, 0x6b, 0x3e, 0xff, 0x6f, 0x00, 1997 0x00, 0x00, 0xff, 0xff, 0xf4, 0x94, 0x75, 0x44, 0x8f, 0x1a, 0x00, 0x00, 1998} 1999 2000// Reference imports to suppress errors if they are not otherwise used. 2001var _ context.Context 2002var _ grpc.ClientConnInterface 2003 2004// This is a compile-time assertion to ensure that this generated file 2005// is compatible with the grpc package it is being compiled against. 2006const _ = grpc.SupportPackageIsVersion6 2007 2008// AnnotationServiceV1Client is the client API for AnnotationServiceV1 service. 2009// 2010// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2011type AnnotationServiceV1Client interface { 2012 // Creates a new annotation set. Caller must have WRITE permission for the 2013 // associated dataset. 2014 // 2015 // The following fields are required: 2016 // 2017 // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] 2018 // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] 2019 // 2020 // All other fields may be optionally specified, unless documented as being 2021 // server-generated (for example, the `id` field). 2022 CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) 2023 // Gets an annotation set. Caller must have READ permission for 2024 // the associated dataset. 2025 GetAnnotationSet(ctx context.Context, in *GetAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) 2026 // Updates an annotation set. The update must respect all mutability 2027 // restrictions and other invariants described on the annotation set resource. 2028 // Caller must have WRITE permission for the associated dataset. 2029 UpdateAnnotationSet(ctx context.Context, in *UpdateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) 2030 // Deletes an annotation set. Caller must have WRITE permission 2031 // for the associated annotation set. 2032 DeleteAnnotationSet(ctx context.Context, in *DeleteAnnotationSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2033 // Searches for annotation sets that match the given criteria. Annotation sets 2034 // are returned in an unspecified order. This order is consistent, such that 2035 // two queries for the same content (regardless of page size) yield annotation 2036 // sets in the same order across their respective streams of paginated 2037 // responses. Caller must have READ permission for the queried datasets. 2038 SearchAnnotationSets(ctx context.Context, in *SearchAnnotationSetsRequest, opts ...grpc.CallOption) (*SearchAnnotationSetsResponse, error) 2039 // Creates a new annotation. Caller must have WRITE permission 2040 // for the associated annotation set. 2041 // 2042 // The following fields are required: 2043 // 2044 // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] 2045 // * [referenceName][google.genomics.v1.Annotation.reference_name] or 2046 // [referenceId][google.genomics.v1.Annotation.reference_id] 2047 // 2048 // ### Transcripts 2049 // 2050 // For annotations of type TRANSCRIPT, the following fields of 2051 // [transcript][google.genomics.v1.Annotation.transcript] must be provided: 2052 // 2053 // * [exons.start][google.genomics.v1.Transcript.Exon.start] 2054 // * [exons.end][google.genomics.v1.Transcript.Exon.end] 2055 // 2056 // All other fields may be optionally specified, unless documented as being 2057 // server-generated (for example, the `id` field). The annotated 2058 // range must be no longer than 100Mbp (mega base pairs). See the 2059 // [Annotation resource][google.genomics.v1.Annotation] 2060 // for additional restrictions on each field. 2061 CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) 2062 // Creates one or more new annotations atomically. All annotations must 2063 // belong to the same annotation set. Caller must have WRITE 2064 // permission for this annotation set. For optimal performance, batch 2065 // positionally adjacent annotations together. 2066 // 2067 // If the request has a systemic issue, such as an attempt to write to 2068 // an inaccessible annotation set, the entire RPC will fail accordingly. For 2069 // lesser data issues, when possible an error will be isolated to the 2070 // corresponding batch entry in the response; the remaining well formed 2071 // annotations will be created normally. 2072 // 2073 // For details on the requirements for each individual annotation resource, 2074 // see 2075 // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. 2076 BatchCreateAnnotations(ctx context.Context, in *BatchCreateAnnotationsRequest, opts ...grpc.CallOption) (*BatchCreateAnnotationsResponse, error) 2077 // Gets an annotation. Caller must have READ permission 2078 // for the associated annotation set. 2079 GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) 2080 // Updates an annotation. Caller must have 2081 // WRITE permission for the associated dataset. 2082 UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) 2083 // Deletes an annotation. Caller must have WRITE permission for 2084 // the associated annotation set. 2085 DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2086 // Searches for annotations that match the given criteria. Results are 2087 // ordered by genomic coordinate (by reference sequence, then position). 2088 // Annotations with equivalent genomic coordinates are returned in an 2089 // unspecified order. This order is consistent, such that two queries for the 2090 // same content (regardless of page size) yield annotations in the same order 2091 // across their respective streams of paginated responses. Caller must have 2092 // READ permission for the queried annotation sets. 2093 SearchAnnotations(ctx context.Context, in *SearchAnnotationsRequest, opts ...grpc.CallOption) (*SearchAnnotationsResponse, error) 2094} 2095 2096type annotationServiceV1Client struct { 2097 cc grpc.ClientConnInterface 2098} 2099 2100func NewAnnotationServiceV1Client(cc grpc.ClientConnInterface) AnnotationServiceV1Client { 2101 return &annotationServiceV1Client{cc} 2102} 2103 2104func (c *annotationServiceV1Client) CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { 2105 out := new(AnnotationSet) 2106 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/CreateAnnotationSet", in, out, opts...) 2107 if err != nil { 2108 return nil, err 2109 } 2110 return out, nil 2111} 2112 2113func (c *annotationServiceV1Client) GetAnnotationSet(ctx context.Context, in *GetAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { 2114 out := new(AnnotationSet) 2115 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/GetAnnotationSet", in, out, opts...) 2116 if err != nil { 2117 return nil, err 2118 } 2119 return out, nil 2120} 2121 2122func (c *annotationServiceV1Client) UpdateAnnotationSet(ctx context.Context, in *UpdateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) { 2123 out := new(AnnotationSet) 2124 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotationSet", in, out, opts...) 2125 if err != nil { 2126 return nil, err 2127 } 2128 return out, nil 2129} 2130 2131func (c *annotationServiceV1Client) DeleteAnnotationSet(ctx context.Context, in *DeleteAnnotationSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2132 out := new(empty.Empty) 2133 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotationSet", in, out, opts...) 2134 if err != nil { 2135 return nil, err 2136 } 2137 return out, nil 2138} 2139 2140func (c *annotationServiceV1Client) SearchAnnotationSets(ctx context.Context, in *SearchAnnotationSetsRequest, opts ...grpc.CallOption) (*SearchAnnotationSetsResponse, error) { 2141 out := new(SearchAnnotationSetsResponse) 2142 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/SearchAnnotationSets", in, out, opts...) 2143 if err != nil { 2144 return nil, err 2145 } 2146 return out, nil 2147} 2148 2149func (c *annotationServiceV1Client) CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { 2150 out := new(Annotation) 2151 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/CreateAnnotation", in, out, opts...) 2152 if err != nil { 2153 return nil, err 2154 } 2155 return out, nil 2156} 2157 2158func (c *annotationServiceV1Client) BatchCreateAnnotations(ctx context.Context, in *BatchCreateAnnotationsRequest, opts ...grpc.CallOption) (*BatchCreateAnnotationsResponse, error) { 2159 out := new(BatchCreateAnnotationsResponse) 2160 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/BatchCreateAnnotations", in, out, opts...) 2161 if err != nil { 2162 return nil, err 2163 } 2164 return out, nil 2165} 2166 2167func (c *annotationServiceV1Client) GetAnnotation(ctx context.Context, in *GetAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { 2168 out := new(Annotation) 2169 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/GetAnnotation", in, out, opts...) 2170 if err != nil { 2171 return nil, err 2172 } 2173 return out, nil 2174} 2175 2176func (c *annotationServiceV1Client) UpdateAnnotation(ctx context.Context, in *UpdateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) { 2177 out := new(Annotation) 2178 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotation", in, out, opts...) 2179 if err != nil { 2180 return nil, err 2181 } 2182 return out, nil 2183} 2184 2185func (c *annotationServiceV1Client) DeleteAnnotation(ctx context.Context, in *DeleteAnnotationRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2186 out := new(empty.Empty) 2187 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotation", in, out, opts...) 2188 if err != nil { 2189 return nil, err 2190 } 2191 return out, nil 2192} 2193 2194func (c *annotationServiceV1Client) SearchAnnotations(ctx context.Context, in *SearchAnnotationsRequest, opts ...grpc.CallOption) (*SearchAnnotationsResponse, error) { 2195 out := new(SearchAnnotationsResponse) 2196 err := c.cc.Invoke(ctx, "/google.genomics.v1.AnnotationServiceV1/SearchAnnotations", in, out, opts...) 2197 if err != nil { 2198 return nil, err 2199 } 2200 return out, nil 2201} 2202 2203// AnnotationServiceV1Server is the server API for AnnotationServiceV1 service. 2204type AnnotationServiceV1Server interface { 2205 // Creates a new annotation set. Caller must have WRITE permission for the 2206 // associated dataset. 2207 // 2208 // The following fields are required: 2209 // 2210 // * [datasetId][google.genomics.v1.AnnotationSet.dataset_id] 2211 // * [referenceSetId][google.genomics.v1.AnnotationSet.reference_set_id] 2212 // 2213 // All other fields may be optionally specified, unless documented as being 2214 // server-generated (for example, the `id` field). 2215 CreateAnnotationSet(context.Context, *CreateAnnotationSetRequest) (*AnnotationSet, error) 2216 // Gets an annotation set. Caller must have READ permission for 2217 // the associated dataset. 2218 GetAnnotationSet(context.Context, *GetAnnotationSetRequest) (*AnnotationSet, error) 2219 // Updates an annotation set. The update must respect all mutability 2220 // restrictions and other invariants described on the annotation set resource. 2221 // Caller must have WRITE permission for the associated dataset. 2222 UpdateAnnotationSet(context.Context, *UpdateAnnotationSetRequest) (*AnnotationSet, error) 2223 // Deletes an annotation set. Caller must have WRITE permission 2224 // for the associated annotation set. 2225 DeleteAnnotationSet(context.Context, *DeleteAnnotationSetRequest) (*empty.Empty, error) 2226 // Searches for annotation sets that match the given criteria. Annotation sets 2227 // are returned in an unspecified order. This order is consistent, such that 2228 // two queries for the same content (regardless of page size) yield annotation 2229 // sets in the same order across their respective streams of paginated 2230 // responses. Caller must have READ permission for the queried datasets. 2231 SearchAnnotationSets(context.Context, *SearchAnnotationSetsRequest) (*SearchAnnotationSetsResponse, error) 2232 // Creates a new annotation. Caller must have WRITE permission 2233 // for the associated annotation set. 2234 // 2235 // The following fields are required: 2236 // 2237 // * [annotationSetId][google.genomics.v1.Annotation.annotation_set_id] 2238 // * [referenceName][google.genomics.v1.Annotation.reference_name] or 2239 // [referenceId][google.genomics.v1.Annotation.reference_id] 2240 // 2241 // ### Transcripts 2242 // 2243 // For annotations of type TRANSCRIPT, the following fields of 2244 // [transcript][google.genomics.v1.Annotation.transcript] must be provided: 2245 // 2246 // * [exons.start][google.genomics.v1.Transcript.Exon.start] 2247 // * [exons.end][google.genomics.v1.Transcript.Exon.end] 2248 // 2249 // All other fields may be optionally specified, unless documented as being 2250 // server-generated (for example, the `id` field). The annotated 2251 // range must be no longer than 100Mbp (mega base pairs). See the 2252 // [Annotation resource][google.genomics.v1.Annotation] 2253 // for additional restrictions on each field. 2254 CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) 2255 // Creates one or more new annotations atomically. All annotations must 2256 // belong to the same annotation set. Caller must have WRITE 2257 // permission for this annotation set. For optimal performance, batch 2258 // positionally adjacent annotations together. 2259 // 2260 // If the request has a systemic issue, such as an attempt to write to 2261 // an inaccessible annotation set, the entire RPC will fail accordingly. For 2262 // lesser data issues, when possible an error will be isolated to the 2263 // corresponding batch entry in the response; the remaining well formed 2264 // annotations will be created normally. 2265 // 2266 // For details on the requirements for each individual annotation resource, 2267 // see 2268 // [CreateAnnotation][google.genomics.v1.AnnotationServiceV1.CreateAnnotation]. 2269 BatchCreateAnnotations(context.Context, *BatchCreateAnnotationsRequest) (*BatchCreateAnnotationsResponse, error) 2270 // Gets an annotation. Caller must have READ permission 2271 // for the associated annotation set. 2272 GetAnnotation(context.Context, *GetAnnotationRequest) (*Annotation, error) 2273 // Updates an annotation. Caller must have 2274 // WRITE permission for the associated dataset. 2275 UpdateAnnotation(context.Context, *UpdateAnnotationRequest) (*Annotation, error) 2276 // Deletes an annotation. Caller must have WRITE permission for 2277 // the associated annotation set. 2278 DeleteAnnotation(context.Context, *DeleteAnnotationRequest) (*empty.Empty, error) 2279 // Searches for annotations that match the given criteria. Results are 2280 // ordered by genomic coordinate (by reference sequence, then position). 2281 // Annotations with equivalent genomic coordinates are returned in an 2282 // unspecified order. This order is consistent, such that two queries for the 2283 // same content (regardless of page size) yield annotations in the same order 2284 // across their respective streams of paginated responses. Caller must have 2285 // READ permission for the queried annotation sets. 2286 SearchAnnotations(context.Context, *SearchAnnotationsRequest) (*SearchAnnotationsResponse, error) 2287} 2288 2289// UnimplementedAnnotationServiceV1Server can be embedded to have forward compatible implementations. 2290type UnimplementedAnnotationServiceV1Server struct { 2291} 2292 2293func (*UnimplementedAnnotationServiceV1Server) CreateAnnotationSet(ctx context.Context, req *CreateAnnotationSetRequest) (*AnnotationSet, error) { 2294 return nil, status1.Errorf(codes.Unimplemented, "method CreateAnnotationSet not implemented") 2295} 2296func (*UnimplementedAnnotationServiceV1Server) GetAnnotationSet(ctx context.Context, req *GetAnnotationSetRequest) (*AnnotationSet, error) { 2297 return nil, status1.Errorf(codes.Unimplemented, "method GetAnnotationSet not implemented") 2298} 2299func (*UnimplementedAnnotationServiceV1Server) UpdateAnnotationSet(ctx context.Context, req *UpdateAnnotationSetRequest) (*AnnotationSet, error) { 2300 return nil, status1.Errorf(codes.Unimplemented, "method UpdateAnnotationSet not implemented") 2301} 2302func (*UnimplementedAnnotationServiceV1Server) DeleteAnnotationSet(ctx context.Context, req *DeleteAnnotationSetRequest) (*empty.Empty, error) { 2303 return nil, status1.Errorf(codes.Unimplemented, "method DeleteAnnotationSet not implemented") 2304} 2305func (*UnimplementedAnnotationServiceV1Server) SearchAnnotationSets(ctx context.Context, req *SearchAnnotationSetsRequest) (*SearchAnnotationSetsResponse, error) { 2306 return nil, status1.Errorf(codes.Unimplemented, "method SearchAnnotationSets not implemented") 2307} 2308func (*UnimplementedAnnotationServiceV1Server) CreateAnnotation(ctx context.Context, req *CreateAnnotationRequest) (*Annotation, error) { 2309 return nil, status1.Errorf(codes.Unimplemented, "method CreateAnnotation not implemented") 2310} 2311func (*UnimplementedAnnotationServiceV1Server) BatchCreateAnnotations(ctx context.Context, req *BatchCreateAnnotationsRequest) (*BatchCreateAnnotationsResponse, error) { 2312 return nil, status1.Errorf(codes.Unimplemented, "method BatchCreateAnnotations not implemented") 2313} 2314func (*UnimplementedAnnotationServiceV1Server) GetAnnotation(ctx context.Context, req *GetAnnotationRequest) (*Annotation, error) { 2315 return nil, status1.Errorf(codes.Unimplemented, "method GetAnnotation not implemented") 2316} 2317func (*UnimplementedAnnotationServiceV1Server) UpdateAnnotation(ctx context.Context, req *UpdateAnnotationRequest) (*Annotation, error) { 2318 return nil, status1.Errorf(codes.Unimplemented, "method UpdateAnnotation not implemented") 2319} 2320func (*UnimplementedAnnotationServiceV1Server) DeleteAnnotation(ctx context.Context, req *DeleteAnnotationRequest) (*empty.Empty, error) { 2321 return nil, status1.Errorf(codes.Unimplemented, "method DeleteAnnotation not implemented") 2322} 2323func (*UnimplementedAnnotationServiceV1Server) SearchAnnotations(ctx context.Context, req *SearchAnnotationsRequest) (*SearchAnnotationsResponse, error) { 2324 return nil, status1.Errorf(codes.Unimplemented, "method SearchAnnotations not implemented") 2325} 2326 2327func RegisterAnnotationServiceV1Server(s *grpc.Server, srv AnnotationServiceV1Server) { 2328 s.RegisterService(&_AnnotationServiceV1_serviceDesc, srv) 2329} 2330 2331func _AnnotationServiceV1_CreateAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2332 in := new(CreateAnnotationSetRequest) 2333 if err := dec(in); err != nil { 2334 return nil, err 2335 } 2336 if interceptor == nil { 2337 return srv.(AnnotationServiceV1Server).CreateAnnotationSet(ctx, in) 2338 } 2339 info := &grpc.UnaryServerInfo{ 2340 Server: srv, 2341 FullMethod: "/google.genomics.v1.AnnotationServiceV1/CreateAnnotationSet", 2342 } 2343 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2344 return srv.(AnnotationServiceV1Server).CreateAnnotationSet(ctx, req.(*CreateAnnotationSetRequest)) 2345 } 2346 return interceptor(ctx, in, info, handler) 2347} 2348 2349func _AnnotationServiceV1_GetAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2350 in := new(GetAnnotationSetRequest) 2351 if err := dec(in); err != nil { 2352 return nil, err 2353 } 2354 if interceptor == nil { 2355 return srv.(AnnotationServiceV1Server).GetAnnotationSet(ctx, in) 2356 } 2357 info := &grpc.UnaryServerInfo{ 2358 Server: srv, 2359 FullMethod: "/google.genomics.v1.AnnotationServiceV1/GetAnnotationSet", 2360 } 2361 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2362 return srv.(AnnotationServiceV1Server).GetAnnotationSet(ctx, req.(*GetAnnotationSetRequest)) 2363 } 2364 return interceptor(ctx, in, info, handler) 2365} 2366 2367func _AnnotationServiceV1_UpdateAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2368 in := new(UpdateAnnotationSetRequest) 2369 if err := dec(in); err != nil { 2370 return nil, err 2371 } 2372 if interceptor == nil { 2373 return srv.(AnnotationServiceV1Server).UpdateAnnotationSet(ctx, in) 2374 } 2375 info := &grpc.UnaryServerInfo{ 2376 Server: srv, 2377 FullMethod: "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotationSet", 2378 } 2379 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2380 return srv.(AnnotationServiceV1Server).UpdateAnnotationSet(ctx, req.(*UpdateAnnotationSetRequest)) 2381 } 2382 return interceptor(ctx, in, info, handler) 2383} 2384 2385func _AnnotationServiceV1_DeleteAnnotationSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2386 in := new(DeleteAnnotationSetRequest) 2387 if err := dec(in); err != nil { 2388 return nil, err 2389 } 2390 if interceptor == nil { 2391 return srv.(AnnotationServiceV1Server).DeleteAnnotationSet(ctx, in) 2392 } 2393 info := &grpc.UnaryServerInfo{ 2394 Server: srv, 2395 FullMethod: "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotationSet", 2396 } 2397 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2398 return srv.(AnnotationServiceV1Server).DeleteAnnotationSet(ctx, req.(*DeleteAnnotationSetRequest)) 2399 } 2400 return interceptor(ctx, in, info, handler) 2401} 2402 2403func _AnnotationServiceV1_SearchAnnotationSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2404 in := new(SearchAnnotationSetsRequest) 2405 if err := dec(in); err != nil { 2406 return nil, err 2407 } 2408 if interceptor == nil { 2409 return srv.(AnnotationServiceV1Server).SearchAnnotationSets(ctx, in) 2410 } 2411 info := &grpc.UnaryServerInfo{ 2412 Server: srv, 2413 FullMethod: "/google.genomics.v1.AnnotationServiceV1/SearchAnnotationSets", 2414 } 2415 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2416 return srv.(AnnotationServiceV1Server).SearchAnnotationSets(ctx, req.(*SearchAnnotationSetsRequest)) 2417 } 2418 return interceptor(ctx, in, info, handler) 2419} 2420 2421func _AnnotationServiceV1_CreateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2422 in := new(CreateAnnotationRequest) 2423 if err := dec(in); err != nil { 2424 return nil, err 2425 } 2426 if interceptor == nil { 2427 return srv.(AnnotationServiceV1Server).CreateAnnotation(ctx, in) 2428 } 2429 info := &grpc.UnaryServerInfo{ 2430 Server: srv, 2431 FullMethod: "/google.genomics.v1.AnnotationServiceV1/CreateAnnotation", 2432 } 2433 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2434 return srv.(AnnotationServiceV1Server).CreateAnnotation(ctx, req.(*CreateAnnotationRequest)) 2435 } 2436 return interceptor(ctx, in, info, handler) 2437} 2438 2439func _AnnotationServiceV1_BatchCreateAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2440 in := new(BatchCreateAnnotationsRequest) 2441 if err := dec(in); err != nil { 2442 return nil, err 2443 } 2444 if interceptor == nil { 2445 return srv.(AnnotationServiceV1Server).BatchCreateAnnotations(ctx, in) 2446 } 2447 info := &grpc.UnaryServerInfo{ 2448 Server: srv, 2449 FullMethod: "/google.genomics.v1.AnnotationServiceV1/BatchCreateAnnotations", 2450 } 2451 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2452 return srv.(AnnotationServiceV1Server).BatchCreateAnnotations(ctx, req.(*BatchCreateAnnotationsRequest)) 2453 } 2454 return interceptor(ctx, in, info, handler) 2455} 2456 2457func _AnnotationServiceV1_GetAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2458 in := new(GetAnnotationRequest) 2459 if err := dec(in); err != nil { 2460 return nil, err 2461 } 2462 if interceptor == nil { 2463 return srv.(AnnotationServiceV1Server).GetAnnotation(ctx, in) 2464 } 2465 info := &grpc.UnaryServerInfo{ 2466 Server: srv, 2467 FullMethod: "/google.genomics.v1.AnnotationServiceV1/GetAnnotation", 2468 } 2469 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2470 return srv.(AnnotationServiceV1Server).GetAnnotation(ctx, req.(*GetAnnotationRequest)) 2471 } 2472 return interceptor(ctx, in, info, handler) 2473} 2474 2475func _AnnotationServiceV1_UpdateAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2476 in := new(UpdateAnnotationRequest) 2477 if err := dec(in); err != nil { 2478 return nil, err 2479 } 2480 if interceptor == nil { 2481 return srv.(AnnotationServiceV1Server).UpdateAnnotation(ctx, in) 2482 } 2483 info := &grpc.UnaryServerInfo{ 2484 Server: srv, 2485 FullMethod: "/google.genomics.v1.AnnotationServiceV1/UpdateAnnotation", 2486 } 2487 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2488 return srv.(AnnotationServiceV1Server).UpdateAnnotation(ctx, req.(*UpdateAnnotationRequest)) 2489 } 2490 return interceptor(ctx, in, info, handler) 2491} 2492 2493func _AnnotationServiceV1_DeleteAnnotation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2494 in := new(DeleteAnnotationRequest) 2495 if err := dec(in); err != nil { 2496 return nil, err 2497 } 2498 if interceptor == nil { 2499 return srv.(AnnotationServiceV1Server).DeleteAnnotation(ctx, in) 2500 } 2501 info := &grpc.UnaryServerInfo{ 2502 Server: srv, 2503 FullMethod: "/google.genomics.v1.AnnotationServiceV1/DeleteAnnotation", 2504 } 2505 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2506 return srv.(AnnotationServiceV1Server).DeleteAnnotation(ctx, req.(*DeleteAnnotationRequest)) 2507 } 2508 return interceptor(ctx, in, info, handler) 2509} 2510 2511func _AnnotationServiceV1_SearchAnnotations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2512 in := new(SearchAnnotationsRequest) 2513 if err := dec(in); err != nil { 2514 return nil, err 2515 } 2516 if interceptor == nil { 2517 return srv.(AnnotationServiceV1Server).SearchAnnotations(ctx, in) 2518 } 2519 info := &grpc.UnaryServerInfo{ 2520 Server: srv, 2521 FullMethod: "/google.genomics.v1.AnnotationServiceV1/SearchAnnotations", 2522 } 2523 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2524 return srv.(AnnotationServiceV1Server).SearchAnnotations(ctx, req.(*SearchAnnotationsRequest)) 2525 } 2526 return interceptor(ctx, in, info, handler) 2527} 2528 2529var _AnnotationServiceV1_serviceDesc = grpc.ServiceDesc{ 2530 ServiceName: "google.genomics.v1.AnnotationServiceV1", 2531 HandlerType: (*AnnotationServiceV1Server)(nil), 2532 Methods: []grpc.MethodDesc{ 2533 { 2534 MethodName: "CreateAnnotationSet", 2535 Handler: _AnnotationServiceV1_CreateAnnotationSet_Handler, 2536 }, 2537 { 2538 MethodName: "GetAnnotationSet", 2539 Handler: _AnnotationServiceV1_GetAnnotationSet_Handler, 2540 }, 2541 { 2542 MethodName: "UpdateAnnotationSet", 2543 Handler: _AnnotationServiceV1_UpdateAnnotationSet_Handler, 2544 }, 2545 { 2546 MethodName: "DeleteAnnotationSet", 2547 Handler: _AnnotationServiceV1_DeleteAnnotationSet_Handler, 2548 }, 2549 { 2550 MethodName: "SearchAnnotationSets", 2551 Handler: _AnnotationServiceV1_SearchAnnotationSets_Handler, 2552 }, 2553 { 2554 MethodName: "CreateAnnotation", 2555 Handler: _AnnotationServiceV1_CreateAnnotation_Handler, 2556 }, 2557 { 2558 MethodName: "BatchCreateAnnotations", 2559 Handler: _AnnotationServiceV1_BatchCreateAnnotations_Handler, 2560 }, 2561 { 2562 MethodName: "GetAnnotation", 2563 Handler: _AnnotationServiceV1_GetAnnotation_Handler, 2564 }, 2565 { 2566 MethodName: "UpdateAnnotation", 2567 Handler: _AnnotationServiceV1_UpdateAnnotation_Handler, 2568 }, 2569 { 2570 MethodName: "DeleteAnnotation", 2571 Handler: _AnnotationServiceV1_DeleteAnnotation_Handler, 2572 }, 2573 { 2574 MethodName: "SearchAnnotations", 2575 Handler: _AnnotationServiceV1_SearchAnnotations_Handler, 2576 }, 2577 }, 2578 Streams: []grpc.StreamDesc{}, 2579 Metadata: "google/genomics/v1/annotations.proto", 2580} 2581