// Copyright 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.22.0 // protoc v3.12.2 // source: google/genomics/v1/references.proto package genomics import ( context "context" reflect "reflect" sync "sync" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 // A reference is a canonical assembled DNA sequence, intended to act as a // reference coordinate space for other genomic annotations. A single reference // might represent the human chromosome 1 or mitochandrial DNA, for instance. A // reference belongs to one or more reference sets. // // For more genomics resource definitions, see [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) type Reference struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The server-generated reference ID, unique across all references. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The length of this reference's sequence. Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` // MD5 of the upper-case sequence excluding all whitespace characters (this // is equivalent to SQ:M5 in SAM). This value is represented in lower case // hexadecimal format. Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` // The name of this reference, for example `22`. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The URI from which the sequence was obtained. Typically specifies a FASTA // format file. SourceUri string `protobuf:"bytes,5,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally // with a version number, for example `GCF_000001405.26`. SourceAccessions []string `protobuf:"bytes,6,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` // ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. NcbiTaxonId int32 `protobuf:"varint,7,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"` } func (x *Reference) Reset() { *x = Reference{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Reference) String() string { return protoimpl.X.MessageStringOf(x) } func (*Reference) ProtoMessage() {} func (x *Reference) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Reference.ProtoReflect.Descriptor instead. func (*Reference) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{0} } func (x *Reference) GetId() string { if x != nil { return x.Id } return "" } func (x *Reference) GetLength() int64 { if x != nil { return x.Length } return 0 } func (x *Reference) GetMd5Checksum() string { if x != nil { return x.Md5Checksum } return "" } func (x *Reference) GetName() string { if x != nil { return x.Name } return "" } func (x *Reference) GetSourceUri() string { if x != nil { return x.SourceUri } return "" } func (x *Reference) GetSourceAccessions() []string { if x != nil { return x.SourceAccessions } return nil } func (x *Reference) GetNcbiTaxonId() int32 { if x != nil { return x.NcbiTaxonId } return 0 } // A reference set is a set of references which typically comprise a reference // assembly for a species, such as `GRCh38` which is representative // of the human genome. A reference set defines a common coordinate space for // comparing reference-aligned experimental data. A reference set contains 1 or // more references. // // For more genomics resource definitions, see [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) type ReferenceSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The server-generated reference set ID, unique across all reference sets. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The IDs of the reference objects that are part of this set. // `Reference.md5checksum` must be unique within this set. ReferenceIds []string `protobuf:"bytes,2,rep,name=reference_ids,json=referenceIds,proto3" json:"reference_ids,omitempty"` // Order-independent MD5 checksum which identifies this reference set. The // checksum is computed by sorting all lower case hexidecimal string // `reference.md5checksum` (for all reference in this set) in // ascending lexicographic order, concatenating, and taking the MD5 of that // value. The resulting value is represented in lower case hexadecimal format. Md5Checksum string `protobuf:"bytes,3,opt,name=md5checksum,proto3" json:"md5checksum,omitempty"` // ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) // indicating the species which this reference set is intended to model. Note // that contained references may specify a different `ncbiTaxonId`, as // assemblies may contain reference sequences which do not belong to the // modeled species, for example EBV in a human reference genome. NcbiTaxonId int32 `protobuf:"varint,4,opt,name=ncbi_taxon_id,json=ncbiTaxonId,proto3" json:"ncbi_taxon_id,omitempty"` // Free text description of this reference set. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Public id of this reference set, such as `GRCh37`. AssemblyId string `protobuf:"bytes,6,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` // The URI from which the references were obtained. SourceUri string `protobuf:"bytes,7,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"` // All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally // with a version number, for example `NC_000001.11`. SourceAccessions []string `protobuf:"bytes,8,rep,name=source_accessions,json=sourceAccessions,proto3" json:"source_accessions,omitempty"` } func (x *ReferenceSet) Reset() { *x = ReferenceSet{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ReferenceSet) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReferenceSet) ProtoMessage() {} func (x *ReferenceSet) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReferenceSet.ProtoReflect.Descriptor instead. func (*ReferenceSet) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{1} } func (x *ReferenceSet) GetId() string { if x != nil { return x.Id } return "" } func (x *ReferenceSet) GetReferenceIds() []string { if x != nil { return x.ReferenceIds } return nil } func (x *ReferenceSet) GetMd5Checksum() string { if x != nil { return x.Md5Checksum } return "" } func (x *ReferenceSet) GetNcbiTaxonId() int32 { if x != nil { return x.NcbiTaxonId } return 0 } func (x *ReferenceSet) GetDescription() string { if x != nil { return x.Description } return "" } func (x *ReferenceSet) GetAssemblyId() string { if x != nil { return x.AssemblyId } return "" } func (x *ReferenceSet) GetSourceUri() string { if x != nil { return x.SourceUri } return "" } func (x *ReferenceSet) GetSourceAccessions() []string { if x != nil { return x.SourceAccessions } return nil } type SearchReferenceSetsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // If present, return reference sets for which the // [md5checksum][google.genomics.v1.ReferenceSet.md5checksum] matches exactly. Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` // If present, return reference sets for which a prefix of any of // [sourceAccessions][google.genomics.v1.ReferenceSet.source_accessions] // match any of these strings. Accession numbers typically have a main number // and a version, for example `NC_000001.11`. Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` // If present, return reference sets for which a substring of their // `assemblyId` matches this string (case insensitive). AssemblyId string `protobuf:"bytes,3,opt,name=assembly_id,json=assemblyId,proto3" json:"assembly_id,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. The maximum value is 4096. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } func (x *SearchReferenceSetsRequest) Reset() { *x = SearchReferenceSetsRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchReferenceSetsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchReferenceSetsRequest) ProtoMessage() {} func (x *SearchReferenceSetsRequest) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchReferenceSetsRequest.ProtoReflect.Descriptor instead. func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{2} } func (x *SearchReferenceSetsRequest) GetMd5Checksums() []string { if x != nil { return x.Md5Checksums } return nil } func (x *SearchReferenceSetsRequest) GetAccessions() []string { if x != nil { return x.Accessions } return nil } func (x *SearchReferenceSetsRequest) GetAssemblyId() string { if x != nil { return x.AssemblyId } return "" } func (x *SearchReferenceSetsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *SearchReferenceSetsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type SearchReferenceSetsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The matching references sets. ReferenceSets []*ReferenceSet `protobuf:"bytes,1,rep,name=reference_sets,json=referenceSets,proto3" json:"reference_sets,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *SearchReferenceSetsResponse) Reset() { *x = SearchReferenceSetsResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchReferenceSetsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchReferenceSetsResponse) ProtoMessage() {} func (x *SearchReferenceSetsResponse) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchReferenceSetsResponse.ProtoReflect.Descriptor instead. func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{3} } func (x *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet { if x != nil { return x.ReferenceSets } return nil } func (x *SearchReferenceSetsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } type GetReferenceSetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the reference set. ReferenceSetId string `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` } func (x *GetReferenceSetRequest) Reset() { *x = GetReferenceSetRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetReferenceSetRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetReferenceSetRequest) ProtoMessage() {} func (x *GetReferenceSetRequest) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetReferenceSetRequest.ProtoReflect.Descriptor instead. func (*GetReferenceSetRequest) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{4} } func (x *GetReferenceSetRequest) GetReferenceSetId() string { if x != nil { return x.ReferenceSetId } return "" } type SearchReferencesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // If present, return references for which the // [md5checksum][google.genomics.v1.Reference.md5checksum] matches exactly. Md5Checksums []string `protobuf:"bytes,1,rep,name=md5checksums,proto3" json:"md5checksums,omitempty"` // If present, return references for which a prefix of any of // [sourceAccessions][google.genomics.v1.Reference.source_accessions] match // any of these strings. Accession numbers typically have a main number and a // version, for example `GCF_000001405.26`. Accessions []string `protobuf:"bytes,2,rep,name=accessions,proto3" json:"accessions,omitempty"` // If present, return only references which belong to this reference set. ReferenceSetId string `protobuf:"bytes,3,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of results to return in a single page. If unspecified, // defaults to 1024. The maximum value is 4096. PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } func (x *SearchReferencesRequest) Reset() { *x = SearchReferencesRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchReferencesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchReferencesRequest) ProtoMessage() {} func (x *SearchReferencesRequest) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchReferencesRequest.ProtoReflect.Descriptor instead. func (*SearchReferencesRequest) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{5} } func (x *SearchReferencesRequest) GetMd5Checksums() []string { if x != nil { return x.Md5Checksums } return nil } func (x *SearchReferencesRequest) GetAccessions() []string { if x != nil { return x.Accessions } return nil } func (x *SearchReferencesRequest) GetReferenceSetId() string { if x != nil { return x.ReferenceSetId } return "" } func (x *SearchReferencesRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *SearchReferencesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type SearchReferencesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The matching references. References []*Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *SearchReferencesResponse) Reset() { *x = SearchReferencesResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchReferencesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchReferencesResponse) ProtoMessage() {} func (x *SearchReferencesResponse) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchReferencesResponse.ProtoReflect.Descriptor instead. func (*SearchReferencesResponse) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{6} } func (x *SearchReferencesResponse) GetReferences() []*Reference { if x != nil { return x.References } return nil } func (x *SearchReferencesResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } type GetReferenceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the reference. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` } func (x *GetReferenceRequest) Reset() { *x = GetReferenceRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetReferenceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetReferenceRequest) ProtoMessage() {} func (x *GetReferenceRequest) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetReferenceRequest.ProtoReflect.Descriptor instead. func (*GetReferenceRequest) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{7} } func (x *GetReferenceRequest) GetReferenceId() string { if x != nil { return x.ReferenceId } return "" } type ListBasesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The ID of the reference. ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"` // The start position (0-based) of this query. Defaults to 0. Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` // The end position (0-based, exclusive) of this query. Defaults to the length // of this reference. End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` // The continuation token, which is used to page through large result sets. // To get the next page of results, set this parameter to the value of // `nextPageToken` from the previous response. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of bases to return in a single page. If unspecified, // defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base // pairs). PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` } func (x *ListBasesRequest) Reset() { *x = ListBasesRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListBasesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBasesRequest) ProtoMessage() {} func (x *ListBasesRequest) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBasesRequest.ProtoReflect.Descriptor instead. func (*ListBasesRequest) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{8} } func (x *ListBasesRequest) GetReferenceId() string { if x != nil { return x.ReferenceId } return "" } func (x *ListBasesRequest) GetStart() int64 { if x != nil { return x.Start } return 0 } func (x *ListBasesRequest) GetEnd() int64 { if x != nil { return x.End } return 0 } func (x *ListBasesRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } func (x *ListBasesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type ListBasesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The offset position (0-based) of the given `sequence` from the // start of this `Reference`. This value will differ for each page // in a paginated request. Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // A substring of the bases that make up this reference. Sequence string `protobuf:"bytes,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // The continuation token, which is used to page through large result sets. // Provide this value in a subsequent request to return the next page of // results. This field will be empty if there aren't any additional results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } func (x *ListBasesResponse) Reset() { *x = ListBasesResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_genomics_v1_references_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListBasesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBasesResponse) ProtoMessage() {} func (x *ListBasesResponse) ProtoReflect() protoreflect.Message { mi := &file_google_genomics_v1_references_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBasesResponse.ProtoReflect.Descriptor instead. func (*ListBasesResponse) Descriptor() ([]byte, []int) { return file_google_genomics_v1_references_proto_rawDescGZIP(), []int{9} } func (x *ListBasesResponse) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *ListBasesResponse) GetSequence() string { if x != nil { return x.Sequence } return "" } func (x *ListBasesResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } var File_google_genomics_v1_references_proto protoreflect.FileDescriptor var file_google_genomics_v1_references_proto_rawDesc = []byte{ 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x63, 0x62, 0x69, 0x5f, 0x74, 0x61, 0x78, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x63, 0x62, 0x69, 0x54, 0x61, 0x78, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0d, 0x6e, 0x63, 0x62, 0x69, 0x5f, 0x74, 0x61, 0x78, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x6e, 0x63, 0x62, 0x69, 0x54, 0x61, 0x78, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xbd, 0x01, 0x0a, 0x1a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x42, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x22, 0xc3, 0x01, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x64, 0x35, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x38, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x99, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x6f, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xdb, 0x05, 0x0a, 0x12, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x12, 0x9b, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x12, 0x8d, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x74, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x12, 0x7d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x73, 0x42, 0x6a, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x73, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_genomics_v1_references_proto_rawDescOnce sync.Once file_google_genomics_v1_references_proto_rawDescData = file_google_genomics_v1_references_proto_rawDesc ) func file_google_genomics_v1_references_proto_rawDescGZIP() []byte { file_google_genomics_v1_references_proto_rawDescOnce.Do(func() { file_google_genomics_v1_references_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_genomics_v1_references_proto_rawDescData) }) return file_google_genomics_v1_references_proto_rawDescData } var file_google_genomics_v1_references_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_google_genomics_v1_references_proto_goTypes = []interface{}{ (*Reference)(nil), // 0: google.genomics.v1.Reference (*ReferenceSet)(nil), // 1: google.genomics.v1.ReferenceSet (*SearchReferenceSetsRequest)(nil), // 2: google.genomics.v1.SearchReferenceSetsRequest (*SearchReferenceSetsResponse)(nil), // 3: google.genomics.v1.SearchReferenceSetsResponse (*GetReferenceSetRequest)(nil), // 4: google.genomics.v1.GetReferenceSetRequest (*SearchReferencesRequest)(nil), // 5: google.genomics.v1.SearchReferencesRequest (*SearchReferencesResponse)(nil), // 6: google.genomics.v1.SearchReferencesResponse (*GetReferenceRequest)(nil), // 7: google.genomics.v1.GetReferenceRequest (*ListBasesRequest)(nil), // 8: google.genomics.v1.ListBasesRequest (*ListBasesResponse)(nil), // 9: google.genomics.v1.ListBasesResponse } var file_google_genomics_v1_references_proto_depIdxs = []int32{ 1, // 0: google.genomics.v1.SearchReferenceSetsResponse.reference_sets:type_name -> google.genomics.v1.ReferenceSet 0, // 1: google.genomics.v1.SearchReferencesResponse.references:type_name -> google.genomics.v1.Reference 2, // 2: google.genomics.v1.ReferenceServiceV1.SearchReferenceSets:input_type -> google.genomics.v1.SearchReferenceSetsRequest 4, // 3: google.genomics.v1.ReferenceServiceV1.GetReferenceSet:input_type -> google.genomics.v1.GetReferenceSetRequest 5, // 4: google.genomics.v1.ReferenceServiceV1.SearchReferences:input_type -> google.genomics.v1.SearchReferencesRequest 7, // 5: google.genomics.v1.ReferenceServiceV1.GetReference:input_type -> google.genomics.v1.GetReferenceRequest 8, // 6: google.genomics.v1.ReferenceServiceV1.ListBases:input_type -> google.genomics.v1.ListBasesRequest 3, // 7: google.genomics.v1.ReferenceServiceV1.SearchReferenceSets:output_type -> google.genomics.v1.SearchReferenceSetsResponse 1, // 8: google.genomics.v1.ReferenceServiceV1.GetReferenceSet:output_type -> google.genomics.v1.ReferenceSet 6, // 9: google.genomics.v1.ReferenceServiceV1.SearchReferences:output_type -> google.genomics.v1.SearchReferencesResponse 0, // 10: google.genomics.v1.ReferenceServiceV1.GetReference:output_type -> google.genomics.v1.Reference 9, // 11: google.genomics.v1.ReferenceServiceV1.ListBases:output_type -> google.genomics.v1.ListBasesResponse 7, // [7:12] is the sub-list for method output_type 2, // [2:7] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_google_genomics_v1_references_proto_init() } func file_google_genomics_v1_references_proto_init() { if File_google_genomics_v1_references_proto != nil { return } if !protoimpl.UnsafeEnabled { file_google_genomics_v1_references_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Reference); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReferenceSet); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchReferenceSetsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchReferenceSetsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetReferenceSetRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchReferencesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchReferencesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetReferenceRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListBasesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_genomics_v1_references_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListBasesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_genomics_v1_references_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_google_genomics_v1_references_proto_goTypes, DependencyIndexes: file_google_genomics_v1_references_proto_depIdxs, MessageInfos: file_google_genomics_v1_references_proto_msgTypes, }.Build() File_google_genomics_v1_references_proto = out.File file_google_genomics_v1_references_proto_rawDesc = nil file_google_genomics_v1_references_proto_goTypes = nil file_google_genomics_v1_references_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // ReferenceServiceV1Client is the client API for ReferenceServiceV1 service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ReferenceServiceV1Client interface { // Searches for reference sets which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) // Gets a reference set. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) // Searches for references which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) // Gets a reference. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) // Lists the bases in a reference, optionally restricted to a range. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) } type referenceServiceV1Client struct { cc grpc.ClientConnInterface } func NewReferenceServiceV1Client(cc grpc.ClientConnInterface) ReferenceServiceV1Client { return &referenceServiceV1Client{cc} } func (c *referenceServiceV1Client) SearchReferenceSets(ctx context.Context, in *SearchReferenceSetsRequest, opts ...grpc.CallOption) (*SearchReferenceSetsResponse, error) { out := new(SearchReferenceSetsResponse) err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *referenceServiceV1Client) GetReferenceSet(ctx context.Context, in *GetReferenceSetRequest, opts ...grpc.CallOption) (*ReferenceSet, error) { out := new(ReferenceSet) err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *referenceServiceV1Client) SearchReferences(ctx context.Context, in *SearchReferencesRequest, opts ...grpc.CallOption) (*SearchReferencesResponse, error) { out := new(SearchReferencesResponse) err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/SearchReferences", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *referenceServiceV1Client) GetReference(ctx context.Context, in *GetReferenceRequest, opts ...grpc.CallOption) (*Reference, error) { out := new(Reference) err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/GetReference", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *referenceServiceV1Client) ListBases(ctx context.Context, in *ListBasesRequest, opts ...grpc.CallOption) (*ListBasesResponse, error) { out := new(ListBasesResponse) err := c.cc.Invoke(ctx, "/google.genomics.v1.ReferenceServiceV1/ListBases", in, out, opts...) if err != nil { return nil, err } return out, nil } // ReferenceServiceV1Server is the server API for ReferenceServiceV1 service. type ReferenceServiceV1Server interface { // Searches for reference sets which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) // Gets a reference set. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83). GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) // Searches for references which match the given criteria. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) // Gets a reference. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158). GetReference(context.Context, *GetReferenceRequest) (*Reference, error) // Lists the bases in a reference, optionally restricted to a range. // // For the definitions of references and other genomics resources, see // [Fundamentals of Google // Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) // // Implements // [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) } // UnimplementedReferenceServiceV1Server can be embedded to have forward compatible implementations. type UnimplementedReferenceServiceV1Server struct { } func (*UnimplementedReferenceServiceV1Server) SearchReferenceSets(context.Context, *SearchReferenceSetsRequest) (*SearchReferenceSetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchReferenceSets not implemented") } func (*UnimplementedReferenceServiceV1Server) GetReferenceSet(context.Context, *GetReferenceSetRequest) (*ReferenceSet, error) { return nil, status.Errorf(codes.Unimplemented, "method GetReferenceSet not implemented") } func (*UnimplementedReferenceServiceV1Server) SearchReferences(context.Context, *SearchReferencesRequest) (*SearchReferencesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchReferences not implemented") } func (*UnimplementedReferenceServiceV1Server) GetReference(context.Context, *GetReferenceRequest) (*Reference, error) { return nil, status.Errorf(codes.Unimplemented, "method GetReference not implemented") } func (*UnimplementedReferenceServiceV1Server) ListBases(context.Context, *ListBasesRequest) (*ListBasesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListBases not implemented") } func RegisterReferenceServiceV1Server(s *grpc.Server, srv ReferenceServiceV1Server) { s.RegisterService(&_ReferenceServiceV1_serviceDesc, srv) } func _ReferenceServiceV1_SearchReferenceSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchReferenceSetsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferenceSets", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReferenceServiceV1Server).SearchReferenceSets(ctx, req.(*SearchReferenceSetsRequest)) } return interceptor(ctx, in, info, handler) } func _ReferenceServiceV1_GetReferenceSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetReferenceSetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReferenceSet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReferenceServiceV1Server).GetReferenceSet(ctx, req.(*GetReferenceSetRequest)) } return interceptor(ctx, in, info, handler) } func _ReferenceServiceV1_SearchReferences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchReferencesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ReferenceServiceV1Server).SearchReferences(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.genomics.v1.ReferenceServiceV1/SearchReferences", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReferenceServiceV1Server).SearchReferences(ctx, req.(*SearchReferencesRequest)) } return interceptor(ctx, in, info, handler) } func _ReferenceServiceV1_GetReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetReferenceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ReferenceServiceV1Server).GetReference(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.genomics.v1.ReferenceServiceV1/GetReference", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReferenceServiceV1Server).GetReference(ctx, req.(*GetReferenceRequest)) } return interceptor(ctx, in, info, handler) } func _ReferenceServiceV1_ListBases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListBasesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ReferenceServiceV1Server).ListBases(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.genomics.v1.ReferenceServiceV1/ListBases", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ReferenceServiceV1Server).ListBases(ctx, req.(*ListBasesRequest)) } return interceptor(ctx, in, info, handler) } var _ReferenceServiceV1_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.genomics.v1.ReferenceServiceV1", HandlerType: (*ReferenceServiceV1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SearchReferenceSets", Handler: _ReferenceServiceV1_SearchReferenceSets_Handler, }, { MethodName: "GetReferenceSet", Handler: _ReferenceServiceV1_GetReferenceSet_Handler, }, { MethodName: "SearchReferences", Handler: _ReferenceServiceV1_SearchReferences_Handler, }, { MethodName: "GetReference", Handler: _ReferenceServiceV1_GetReference_Handler, }, { MethodName: "ListBases", Handler: _ReferenceServiceV1_ListBases_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/genomics/v1/references.proto", }