mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-25 15:21:16 +00:00
1092 lines
44 KiB
Go
1092 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: google/genomics/v1/references.proto
|
|
|
|
package genomics // import "google.golang.org/genproto/googleapis/genomics/v1"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// 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 {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Reference) Reset() { *m = Reference{} }
|
|
func (m *Reference) String() string { return proto.CompactTextString(m) }
|
|
func (*Reference) ProtoMessage() {}
|
|
func (*Reference) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{0}
|
|
}
|
|
func (m *Reference) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Reference.Unmarshal(m, b)
|
|
}
|
|
func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Reference.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *Reference) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Reference.Merge(dst, src)
|
|
}
|
|
func (m *Reference) XXX_Size() int {
|
|
return xxx_messageInfo_Reference.Size(m)
|
|
}
|
|
func (m *Reference) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Reference.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Reference proto.InternalMessageInfo
|
|
|
|
func (m *Reference) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Reference) GetLength() int64 {
|
|
if m != nil {
|
|
return m.Length
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Reference) GetMd5Checksum() string {
|
|
if m != nil {
|
|
return m.Md5Checksum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Reference) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Reference) GetSourceUri() string {
|
|
if m != nil {
|
|
return m.SourceUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Reference) GetSourceAccessions() []string {
|
|
if m != nil {
|
|
return m.SourceAccessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Reference) GetNcbiTaxonId() int32 {
|
|
if m != nil {
|
|
return m.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 {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ReferenceSet) Reset() { *m = ReferenceSet{} }
|
|
func (m *ReferenceSet) String() string { return proto.CompactTextString(m) }
|
|
func (*ReferenceSet) ProtoMessage() {}
|
|
func (*ReferenceSet) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{1}
|
|
}
|
|
func (m *ReferenceSet) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ReferenceSet.Unmarshal(m, b)
|
|
}
|
|
func (m *ReferenceSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ReferenceSet.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ReferenceSet) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ReferenceSet.Merge(dst, src)
|
|
}
|
|
func (m *ReferenceSet) XXX_Size() int {
|
|
return xxx_messageInfo_ReferenceSet.Size(m)
|
|
}
|
|
func (m *ReferenceSet) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ReferenceSet.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ReferenceSet proto.InternalMessageInfo
|
|
|
|
func (m *ReferenceSet) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReferenceSet) GetReferenceIds() []string {
|
|
if m != nil {
|
|
return m.ReferenceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ReferenceSet) GetMd5Checksum() string {
|
|
if m != nil {
|
|
return m.Md5Checksum
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReferenceSet) GetNcbiTaxonId() int32 {
|
|
if m != nil {
|
|
return m.NcbiTaxonId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ReferenceSet) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReferenceSet) GetAssemblyId() string {
|
|
if m != nil {
|
|
return m.AssemblyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReferenceSet) GetSourceUri() string {
|
|
if m != nil {
|
|
return m.SourceUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ReferenceSet) GetSourceAccessions() []string {
|
|
if m != nil {
|
|
return m.SourceAccessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchReferenceSetsRequest struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SearchReferenceSetsRequest) Reset() { *m = SearchReferenceSetsRequest{} }
|
|
func (m *SearchReferenceSetsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SearchReferenceSetsRequest) ProtoMessage() {}
|
|
func (*SearchReferenceSetsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{2}
|
|
}
|
|
func (m *SearchReferenceSetsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SearchReferenceSetsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SearchReferenceSetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SearchReferenceSetsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SearchReferenceSetsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SearchReferenceSetsRequest.Merge(dst, src)
|
|
}
|
|
func (m *SearchReferenceSetsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SearchReferenceSetsRequest.Size(m)
|
|
}
|
|
func (m *SearchReferenceSetsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SearchReferenceSetsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SearchReferenceSetsRequest proto.InternalMessageInfo
|
|
|
|
func (m *SearchReferenceSetsRequest) GetMd5Checksums() []string {
|
|
if m != nil {
|
|
return m.Md5Checksums
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferenceSetsRequest) GetAccessions() []string {
|
|
if m != nil {
|
|
return m.Accessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferenceSetsRequest) GetAssemblyId() string {
|
|
if m != nil {
|
|
return m.AssemblyId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SearchReferenceSetsRequest) GetPageToken() string {
|
|
if m != nil {
|
|
return m.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SearchReferenceSetsRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchReferenceSetsResponse struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SearchReferenceSetsResponse) Reset() { *m = SearchReferenceSetsResponse{} }
|
|
func (m *SearchReferenceSetsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SearchReferenceSetsResponse) ProtoMessage() {}
|
|
func (*SearchReferenceSetsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{3}
|
|
}
|
|
func (m *SearchReferenceSetsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SearchReferenceSetsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SearchReferenceSetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SearchReferenceSetsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SearchReferenceSetsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SearchReferenceSetsResponse.Merge(dst, src)
|
|
}
|
|
func (m *SearchReferenceSetsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SearchReferenceSetsResponse.Size(m)
|
|
}
|
|
func (m *SearchReferenceSetsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SearchReferenceSetsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SearchReferenceSetsResponse proto.InternalMessageInfo
|
|
|
|
func (m *SearchReferenceSetsResponse) GetReferenceSets() []*ReferenceSet {
|
|
if m != nil {
|
|
return m.ReferenceSets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferenceSetsResponse) GetNextPageToken() string {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetReferenceSetRequest struct {
|
|
// The ID of the reference set.
|
|
ReferenceSetId string `protobuf:"bytes,1,opt,name=reference_set_id,json=referenceSetId,proto3" json:"reference_set_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetReferenceSetRequest) Reset() { *m = GetReferenceSetRequest{} }
|
|
func (m *GetReferenceSetRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetReferenceSetRequest) ProtoMessage() {}
|
|
func (*GetReferenceSetRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{4}
|
|
}
|
|
func (m *GetReferenceSetRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetReferenceSetRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetReferenceSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetReferenceSetRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetReferenceSetRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetReferenceSetRequest.Merge(dst, src)
|
|
}
|
|
func (m *GetReferenceSetRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetReferenceSetRequest.Size(m)
|
|
}
|
|
func (m *GetReferenceSetRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetReferenceSetRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetReferenceSetRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetReferenceSetRequest) GetReferenceSetId() string {
|
|
if m != nil {
|
|
return m.ReferenceSetId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SearchReferencesRequest struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SearchReferencesRequest) Reset() { *m = SearchReferencesRequest{} }
|
|
func (m *SearchReferencesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SearchReferencesRequest) ProtoMessage() {}
|
|
func (*SearchReferencesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{5}
|
|
}
|
|
func (m *SearchReferencesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SearchReferencesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SearchReferencesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SearchReferencesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SearchReferencesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SearchReferencesRequest.Merge(dst, src)
|
|
}
|
|
func (m *SearchReferencesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SearchReferencesRequest.Size(m)
|
|
}
|
|
func (m *SearchReferencesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SearchReferencesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SearchReferencesRequest proto.InternalMessageInfo
|
|
|
|
func (m *SearchReferencesRequest) GetMd5Checksums() []string {
|
|
if m != nil {
|
|
return m.Md5Checksums
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferencesRequest) GetAccessions() []string {
|
|
if m != nil {
|
|
return m.Accessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferencesRequest) GetReferenceSetId() string {
|
|
if m != nil {
|
|
return m.ReferenceSetId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SearchReferencesRequest) GetPageToken() string {
|
|
if m != nil {
|
|
return m.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SearchReferencesRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchReferencesResponse struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SearchReferencesResponse) Reset() { *m = SearchReferencesResponse{} }
|
|
func (m *SearchReferencesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SearchReferencesResponse) ProtoMessage() {}
|
|
func (*SearchReferencesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{6}
|
|
}
|
|
func (m *SearchReferencesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SearchReferencesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SearchReferencesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SearchReferencesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *SearchReferencesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SearchReferencesResponse.Merge(dst, src)
|
|
}
|
|
func (m *SearchReferencesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SearchReferencesResponse.Size(m)
|
|
}
|
|
func (m *SearchReferencesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SearchReferencesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SearchReferencesResponse proto.InternalMessageInfo
|
|
|
|
func (m *SearchReferencesResponse) GetReferences() []*Reference {
|
|
if m != nil {
|
|
return m.References
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SearchReferencesResponse) GetNextPageToken() string {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetReferenceRequest struct {
|
|
// The ID of the reference.
|
|
ReferenceId string `protobuf:"bytes,1,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetReferenceRequest) Reset() { *m = GetReferenceRequest{} }
|
|
func (m *GetReferenceRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetReferenceRequest) ProtoMessage() {}
|
|
func (*GetReferenceRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{7}
|
|
}
|
|
func (m *GetReferenceRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetReferenceRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetReferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetReferenceRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetReferenceRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetReferenceRequest.Merge(dst, src)
|
|
}
|
|
func (m *GetReferenceRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetReferenceRequest.Size(m)
|
|
}
|
|
func (m *GetReferenceRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetReferenceRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetReferenceRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetReferenceRequest) GetReferenceId() string {
|
|
if m != nil {
|
|
return m.ReferenceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListBasesRequest struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListBasesRequest) Reset() { *m = ListBasesRequest{} }
|
|
func (m *ListBasesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListBasesRequest) ProtoMessage() {}
|
|
func (*ListBasesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{8}
|
|
}
|
|
func (m *ListBasesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListBasesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListBasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListBasesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ListBasesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListBasesRequest.Merge(dst, src)
|
|
}
|
|
func (m *ListBasesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListBasesRequest.Size(m)
|
|
}
|
|
func (m *ListBasesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListBasesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListBasesRequest proto.InternalMessageInfo
|
|
|
|
func (m *ListBasesRequest) GetReferenceId() string {
|
|
if m != nil {
|
|
return m.ReferenceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListBasesRequest) GetStart() int64 {
|
|
if m != nil {
|
|
return m.Start
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListBasesRequest) GetEnd() int64 {
|
|
if m != nil {
|
|
return m.End
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListBasesRequest) GetPageToken() string {
|
|
if m != nil {
|
|
return m.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListBasesRequest) GetPageSize() int32 {
|
|
if m != nil {
|
|
return m.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListBasesResponse struct {
|
|
// 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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListBasesResponse) Reset() { *m = ListBasesResponse{} }
|
|
func (m *ListBasesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListBasesResponse) ProtoMessage() {}
|
|
func (*ListBasesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_references_5de88386bc96d288, []int{9}
|
|
}
|
|
func (m *ListBasesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListBasesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListBasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListBasesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *ListBasesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListBasesResponse.Merge(dst, src)
|
|
}
|
|
func (m *ListBasesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListBasesResponse.Size(m)
|
|
}
|
|
func (m *ListBasesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListBasesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListBasesResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListBasesResponse) GetOffset() int64 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ListBasesResponse) GetSequence() string {
|
|
if m != nil {
|
|
return m.Sequence
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ListBasesResponse) GetNextPageToken() string {
|
|
if m != nil {
|
|
return m.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Reference)(nil), "google.genomics.v1.Reference")
|
|
proto.RegisterType((*ReferenceSet)(nil), "google.genomics.v1.ReferenceSet")
|
|
proto.RegisterType((*SearchReferenceSetsRequest)(nil), "google.genomics.v1.SearchReferenceSetsRequest")
|
|
proto.RegisterType((*SearchReferenceSetsResponse)(nil), "google.genomics.v1.SearchReferenceSetsResponse")
|
|
proto.RegisterType((*GetReferenceSetRequest)(nil), "google.genomics.v1.GetReferenceSetRequest")
|
|
proto.RegisterType((*SearchReferencesRequest)(nil), "google.genomics.v1.SearchReferencesRequest")
|
|
proto.RegisterType((*SearchReferencesResponse)(nil), "google.genomics.v1.SearchReferencesResponse")
|
|
proto.RegisterType((*GetReferenceRequest)(nil), "google.genomics.v1.GetReferenceRequest")
|
|
proto.RegisterType((*ListBasesRequest)(nil), "google.genomics.v1.ListBasesRequest")
|
|
proto.RegisterType((*ListBasesResponse)(nil), "google.genomics.v1.ListBasesResponse")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// 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.SupportPackageIsVersion4
|
|
|
|
// 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.ClientConn
|
|
}
|
|
|
|
func NewReferenceServiceV1Client(cc *grpc.ClientConn) 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)
|
|
}
|
|
|
|
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",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("google/genomics/v1/references.proto", fileDescriptor_references_5de88386bc96d288)
|
|
}
|
|
|
|
var fileDescriptor_references_5de88386bc96d288 = []byte{
|
|
// 851 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x6f, 0x1b, 0x45,
|
|
0x14, 0xd6, 0x78, 0x63, 0x37, 0x7e, 0x76, 0x12, 0xf7, 0x15, 0xc2, 0x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