Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterFeatureServiceServer(s grpc.ServiceRegistrar, srv FeatureServiceServer)
- type Dbxref
- func (*Dbxref) Descriptor() ([]byte, []int)deprecated
- func (x *Dbxref) GetDatabase() string
- func (x *Dbxref) GetDbxrefId() string
- func (x *Dbxref) GetVersion() int64
- func (*Dbxref) ProtoMessage()
- func (x *Dbxref) ProtoReflect() protoreflect.Message
- func (x *Dbxref) Reset()
- func (x *Dbxref) String() string
- func (this *Dbxref) Validate() error
- type Feature
- type FeatureAttributes
- func (*FeatureAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureAttributes) GetChildren() []*FeatureRelationship
- func (x *FeatureAttributes) GetCreatedAt() *timestamppb.Timestamp
- func (x *FeatureAttributes) GetCreatedBy() int64
- func (x *FeatureAttributes) GetDbxrefs() []*Dbxref
- func (x *FeatureAttributes) GetIsAnalysis() bool
- func (x *FeatureAttributes) GetIsObsolete() bool
- func (x *FeatureAttributes) GetLocation() []*FeatureLocation
- func (x *FeatureAttributes) GetName() string
- func (x *FeatureAttributes) GetOrganism() *Organism
- func (x *FeatureAttributes) GetParents() []*FeatureRelationship
- func (x *FeatureAttributes) GetPublications() []*Publication
- func (x *FeatureAttributes) GetSynonyms() []string
- func (x *FeatureAttributes) GetUpdatedAt() *timestamppb.Timestamp
- func (x *FeatureAttributes) GetUpdatedBy() int64
- func (x *FeatureAttributes) GetVersion() int64
- func (*FeatureAttributes) ProtoMessage()
- func (x *FeatureAttributes) ProtoReflect() protoreflect.Message
- func (x *FeatureAttributes) Reset()
- func (x *FeatureAttributes) String() string
- func (this *FeatureAttributes) Validate() error
- type FeatureCollection
- func (*FeatureCollection) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureCollection) GetData() []*FeatureData
- func (*FeatureCollection) ProtoMessage()
- func (x *FeatureCollection) ProtoReflect() protoreflect.Message
- func (x *FeatureCollection) Reset()
- func (x *FeatureCollection) String() string
- func (this *FeatureCollection) Validate() error
- type FeatureConnection
- func (*FeatureConnection) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureConnection) GetFeatureId() string
- func (x *FeatureConnection) GetRelationship() *FeatureRelationship
- func (*FeatureConnection) ProtoMessage()
- func (x *FeatureConnection) ProtoReflect() protoreflect.Message
- func (x *FeatureConnection) Reset()
- func (x *FeatureConnection) String() string
- func (this *FeatureConnection) Validate() error
- type FeatureData
- func (*FeatureData) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureData) GetAttributes() *FeatureAttributes
- func (x *FeatureData) GetId() string
- func (x *FeatureData) GetType() string
- func (*FeatureData) ProtoMessage()
- func (x *FeatureData) ProtoReflect() protoreflect.Message
- func (x *FeatureData) Reset()
- func (x *FeatureData) String() string
- func (this *FeatureData) Validate() error
- type FeatureDbxref
- func (*FeatureDbxref) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureDbxref) GetDbxref() *Dbxref
- func (x *FeatureDbxref) GetFeatureId() string
- func (*FeatureDbxref) ProtoMessage()
- func (x *FeatureDbxref) ProtoReflect() protoreflect.Message
- func (x *FeatureDbxref) Reset()
- func (x *FeatureDbxref) String() string
- func (this *FeatureDbxref) Validate() error
- type FeatureHistory
- func (*FeatureHistory) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureHistory) GetFeatureId() string
- func (x *FeatureHistory) GetLinkedFeature() string
- func (*FeatureHistory) ProtoMessage()
- func (x *FeatureHistory) ProtoReflect() protoreflect.Message
- func (x *FeatureHistory) Reset()
- func (x *FeatureHistory) String() string
- func (this *FeatureHistory) Validate() error
- type FeatureId
- type FeatureLocation
- func (*FeatureLocation) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureLocation) GetEnd() int64
- func (x *FeatureLocation) GetGroup() int64
- func (x *FeatureLocation) GetPhase() int64
- func (x *FeatureLocation) GetRank() int64
- func (x *FeatureLocation) GetResidue() string
- func (x *FeatureLocation) GetSourceFeatureId() string
- func (x *FeatureLocation) GetStart() int64
- func (x *FeatureLocation) GetStrand() int64
- func (*FeatureLocation) ProtoMessage()
- func (x *FeatureLocation) ProtoReflect() protoreflect.Message
- func (x *FeatureLocation) Reset()
- func (x *FeatureLocation) String() string
- func (this *FeatureLocation) Validate() error
- type FeaturePublication
- func (*FeaturePublication) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturePublication) GetFeatureId() string
- func (x *FeaturePublication) GetPublication() *FeaturePublication
- func (*FeaturePublication) ProtoMessage()
- func (x *FeaturePublication) ProtoReflect() protoreflect.Message
- func (x *FeaturePublication) Reset()
- func (x *FeaturePublication) String() string
- func (this *FeaturePublication) Validate() error
- type FeatureRelationFilter
- func (*FeatureRelationFilter) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureRelationFilter) GetFeatureId() string
- func (x *FeatureRelationFilter) GetRelation() string
- func (*FeatureRelationFilter) ProtoMessage()
- func (x *FeatureRelationFilter) ProtoReflect() protoreflect.Message
- func (x *FeatureRelationFilter) Reset()
- func (x *FeatureRelationFilter) String() string
- func (this *FeatureRelationFilter) Validate() error
- type FeatureRelationship
- func (*FeatureRelationship) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureRelationship) GetFeatureId() string
- func (x *FeatureRelationship) GetRelation() string
- func (*FeatureRelationship) ProtoMessage()
- func (x *FeatureRelationship) ProtoReflect() protoreflect.Message
- func (x *FeatureRelationship) Reset()
- func (x *FeatureRelationship) String() string
- func (this *FeatureRelationship) Validate() error
- type FeatureServiceClient
- type FeatureServiceServer
- type FeatureSynonym
- func (*FeatureSynonym) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureSynonym) GetFeatureId() string
- func (x *FeatureSynonym) GetSynonym() string
- func (*FeatureSynonym) ProtoMessage()
- func (x *FeatureSynonym) ProtoReflect() protoreflect.Message
- func (x *FeatureSynonym) Reset()
- func (x *FeatureSynonym) String() string
- func (this *FeatureSynonym) Validate() error
- type FeatureUpdate
- func (*FeatureUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureUpdate) GetData() *FeatureUpdate_Data
- func (x *FeatureUpdate) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*FeatureUpdate) ProtoMessage()
- func (x *FeatureUpdate) ProtoReflect() protoreflect.Message
- func (x *FeatureUpdate) Reset()
- func (x *FeatureUpdate) String() string
- func (this *FeatureUpdate) Validate() error
- type FeatureUpdateAttributes
- func (*FeatureUpdateAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureUpdateAttributes) GetChildren() []*FeatureRelationship
- func (x *FeatureUpdateAttributes) GetDbxrefs() []*Dbxref
- func (x *FeatureUpdateAttributes) GetIsAnalysis() bool
- func (x *FeatureUpdateAttributes) GetLocation() []*FeatureLocation
- func (x *FeatureUpdateAttributes) GetName() string
- func (x *FeatureUpdateAttributes) GetOrganism() *Organism
- func (x *FeatureUpdateAttributes) GetParents() []*FeatureRelationship
- func (x *FeatureUpdateAttributes) GetPublications() []*Publication
- func (x *FeatureUpdateAttributes) GetSynonyms() []string
- func (x *FeatureUpdateAttributes) GetUpdatedBy() int64
- func (*FeatureUpdateAttributes) ProtoMessage()
- func (x *FeatureUpdateAttributes) ProtoReflect() protoreflect.Message
- func (x *FeatureUpdateAttributes) Reset()
- func (x *FeatureUpdateAttributes) String() string
- func (this *FeatureUpdateAttributes) Validate() error
- type FeatureUpdate_Data
- func (*FeatureUpdate_Data) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureUpdate_Data) GetAttributes() *FeatureUpdateAttributes
- func (x *FeatureUpdate_Data) GetId() string
- func (x *FeatureUpdate_Data) GetType() string
- func (*FeatureUpdate_Data) ProtoMessage()
- func (x *FeatureUpdate_Data) ProtoReflect() protoreflect.Message
- func (x *FeatureUpdate_Data) Reset()
- func (x *FeatureUpdate_Data) String() string
- func (this *FeatureUpdate_Data) Validate() error
- type ListParameters
- func (*ListParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ListParameters) GetCursor() int64
- func (x *ListParameters) GetFilter() string
- func (x *ListParameters) GetLimit() int64
- func (*ListParameters) ProtoMessage()
- func (x *ListParameters) ProtoReflect() protoreflect.Message
- func (x *ListParameters) Reset()
- func (x *ListParameters) String() string
- func (this *ListParameters) Validate() error
- type LocatedFeatureFilter
- func (*LocatedFeatureFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LocatedFeatureFilter) GetFeatureId() string
- func (x *LocatedFeatureFilter) GetFilter() string
- func (x *LocatedFeatureFilter) GetType() string
- func (*LocatedFeatureFilter) ProtoMessage()
- func (x *LocatedFeatureFilter) ProtoReflect() protoreflect.Message
- func (x *LocatedFeatureFilter) Reset()
- func (x *LocatedFeatureFilter) String() string
- func (this *LocatedFeatureFilter) Validate() error
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetLimit() int64
- func (x *Meta) GetNextCursor() int64
- func (x *Meta) GetTotal() int64
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
- func (this *Meta) Validate() error
- type NewFeature
- func (*NewFeature) Descriptor() ([]byte, []int)deprecated
- func (x *NewFeature) GetData() *NewFeature_Data
- func (*NewFeature) ProtoMessage()
- func (x *NewFeature) ProtoReflect() protoreflect.Message
- func (x *NewFeature) Reset()
- func (x *NewFeature) String() string
- func (this *NewFeature) Validate() error
- type NewFeatureAttributes
- func (*NewFeatureAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *NewFeatureAttributes) GetChildren() []*FeatureRelationship
- func (x *NewFeatureAttributes) GetCreatedBy() int64
- func (x *NewFeatureAttributes) GetDbxrefs() []*Dbxref
- func (x *NewFeatureAttributes) GetIsAnalysis() bool
- func (x *NewFeatureAttributes) GetIsObsolete() bool
- func (x *NewFeatureAttributes) GetLocation() []*FeatureLocation
- func (x *NewFeatureAttributes) GetName() string
- func (x *NewFeatureAttributes) GetOrganism() *Organism
- func (x *NewFeatureAttributes) GetParents() []*FeatureRelationship
- func (x *NewFeatureAttributes) GetPublications() []*Publication
- func (x *NewFeatureAttributes) GetSynonyms() []string
- func (x *NewFeatureAttributes) GetUpdatedBy() int64
- func (x *NewFeatureAttributes) GetVersion() int64
- func (*NewFeatureAttributes) ProtoMessage()
- func (x *NewFeatureAttributes) ProtoReflect() protoreflect.Message
- func (x *NewFeatureAttributes) Reset()
- func (x *NewFeatureAttributes) String() string
- func (this *NewFeatureAttributes) Validate() error
- type NewFeatureLocation
- func (*NewFeatureLocation) Descriptor() ([]byte, []int)deprecated
- func (x *NewFeatureLocation) GetFeatureId() string
- func (x *NewFeatureLocation) GetLocation() *FeatureLocation
- func (*NewFeatureLocation) ProtoMessage()
- func (x *NewFeatureLocation) ProtoReflect() protoreflect.Message
- func (x *NewFeatureLocation) Reset()
- func (x *NewFeatureLocation) String() string
- func (this *NewFeatureLocation) Validate() error
- type NewFeature_Data
- func (*NewFeature_Data) Descriptor() ([]byte, []int)deprecated
- func (x *NewFeature_Data) GetAttributes() *NewFeatureAttributes
- func (x *NewFeature_Data) GetType() string
- func (*NewFeature_Data) ProtoMessage()
- func (x *NewFeature_Data) ProtoReflect() protoreflect.Message
- func (x *NewFeature_Data) Reset()
- func (x *NewFeature_Data) String() string
- func (this *NewFeature_Data) Validate() error
- type Organism
- func (*Organism) Descriptor() ([]byte, []int)deprecated
- func (x *Organism) GetCommonName() string
- func (x *Organism) GetGenus() string
- func (x *Organism) GetRank() string
- func (x *Organism) GetScientificName() string
- func (x *Organism) GetSpecies() string
- func (x *Organism) GetStrain() string
- func (x *Organism) GetTaxonId() string
- func (*Organism) ProtoMessage()
- func (x *Organism) ProtoReflect() protoreflect.Message
- func (x *Organism) Reset()
- func (x *Organism) String() string
- func (this *Organism) Validate() error
- type PaginatedFeatureCollection
- func (*PaginatedFeatureCollection) Descriptor() ([]byte, []int)deprecated
- func (x *PaginatedFeatureCollection) GetData() []*FeatureData
- func (x *PaginatedFeatureCollection) GetMeta() *Meta
- func (*PaginatedFeatureCollection) ProtoMessage()
- func (x *PaginatedFeatureCollection) ProtoReflect() protoreflect.Message
- func (x *PaginatedFeatureCollection) Reset()
- func (x *PaginatedFeatureCollection) String() string
- func (this *PaginatedFeatureCollection) Validate() error
- type Publication
- func (*Publication) Descriptor() ([]byte, []int)deprecated
- func (x *Publication) GetPublicationId() string
- func (x *Publication) GetSource() string
- func (*Publication) ProtoMessage()
- func (x *Publication) ProtoReflect() protoreflect.Message
- func (x *Publication) Reset()
- func (x *Publication) String() string
- func (this *Publication) Validate() error
- type ReferenceFeatureFilter
- func (*ReferenceFeatureFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceFeatureFilter) GetFeatureId() string
- func (x *ReferenceFeatureFilter) GetRank() int64
- func (*ReferenceFeatureFilter) ProtoMessage()
- func (x *ReferenceFeatureFilter) ProtoReflect() protoreflect.Message
- func (x *ReferenceFeatureFilter) Reset()
- func (x *ReferenceFeatureFilter) String() string
- func (this *ReferenceFeatureFilter) Validate() error
- type UnimplementedFeatureServiceServer
- func (UnimplementedFeatureServiceServer) AddChildRelationship(context.Context, *FeatureConnection) (*Feature, error)
- func (UnimplementedFeatureServiceServer) AddDbxref(context.Context, *FeatureDbxref) (*Feature, error)
- func (UnimplementedFeatureServiceServer) AddParentalRelationship(context.Context, *FeatureConnection) (*Feature, error)
- func (UnimplementedFeatureServiceServer) AddPublication(context.Context, *FeaturePublication) (*Feature, error)
- func (UnimplementedFeatureServiceServer) AddSynonym(context.Context, *FeatureSynonym) (*Feature, error)
- func (UnimplementedFeatureServiceServer) AttachLocation(context.Context, *NewFeatureLocation) (*Feature, error)
- func (UnimplementedFeatureServiceServer) CreateFeature(context.Context, *NewFeature) (*Feature, error)
- func (UnimplementedFeatureServiceServer) CreateOrganism(context.Context, *Organism) (*Organism, error)
- func (UnimplementedFeatureServiceServer) DeleteChildRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DeleteDbxref(context.Context, *FeatureDbxref) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DeleteFeature(context.Context, *FeatureId) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DeleteParentalRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DeletePublication(context.Context, *FeaturePublication) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DeleteSynonym(context.Context, *FeatureSynonym) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) DetachLocation(context.Context, *ReferenceFeatureFilter) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) GetChildren(context.Context, *FeatureRelationFilter) (*FeatureCollection, error)
- func (UnimplementedFeatureServiceServer) GetFeature(context.Context, *FeatureId) (*Feature, error)
- func (UnimplementedFeatureServiceServer) GetLocatedFeatures(context.Context, *LocatedFeatureFilter) (*PaginatedFeatureCollection, error)
- func (UnimplementedFeatureServiceServer) GetParents(context.Context, *FeatureRelationFilter) (*FeatureCollection, error)
- func (UnimplementedFeatureServiceServer) GetReferenceFeature(context.Context, *ReferenceFeatureFilter) (*Feature, error)
- func (UnimplementedFeatureServiceServer) GetReferenceFeatures(context.Context, *FeatureId) (*FeatureCollection, error)
- func (UnimplementedFeatureServiceServer) ListFeatures(context.Context, *ListParameters) (*PaginatedFeatureCollection, error)
- func (UnimplementedFeatureServiceServer) RemoveNextFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) RemovePrevFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error)
- func (UnimplementedFeatureServiceServer) SetNextFeatureHistory(context.Context, *FeatureHistory) (*Feature, error)
- func (UnimplementedFeatureServiceServer) SetPrevFeatureHistory(context.Context, *FeatureHistory) (*Feature, error)
- func (UnimplementedFeatureServiceServer) UpdateFeature(context.Context, *FeatureUpdate) (*Feature, error)
- type UnsafeFeatureServiceServer
Constants ¶
const ( FeatureService_GetFeature_FullMethodName = "/dictybase.feature.FeatureService/GetFeature" FeatureService_GetParents_FullMethodName = "/dictybase.feature.FeatureService/GetParents" FeatureService_GetChildren_FullMethodName = "/dictybase.feature.FeatureService/GetChildren" FeatureService_GetReferenceFeature_FullMethodName = "/dictybase.feature.FeatureService/GetReferenceFeature" FeatureService_GetReferenceFeatures_FullMethodName = "/dictybase.feature.FeatureService/GetReferenceFeatures" FeatureService_GetLocatedFeatures_FullMethodName = "/dictybase.feature.FeatureService/GetLocatedFeatures" FeatureService_ListFeatures_FullMethodName = "/dictybase.feature.FeatureService/ListFeatures" FeatureService_CreateFeature_FullMethodName = "/dictybase.feature.FeatureService/CreateFeature" FeatureService_UpdateFeature_FullMethodName = "/dictybase.feature.FeatureService/UpdateFeature" FeatureService_AddParentalRelationship_FullMethodName = "/dictybase.feature.FeatureService/AddParentalRelationship" FeatureService_AddChildRelationship_FullMethodName = "/dictybase.feature.FeatureService/AddChildRelationship" FeatureService_AttachLocation_FullMethodName = "/dictybase.feature.FeatureService/AttachLocation" FeatureService_AddSynonym_FullMethodName = "/dictybase.feature.FeatureService/AddSynonym" FeatureService_AddPublication_FullMethodName = "/dictybase.feature.FeatureService/AddPublication" FeatureService_SetPrevFeatureHistory_FullMethodName = "/dictybase.feature.FeatureService/SetPrevFeatureHistory" FeatureService_SetNextFeatureHistory_FullMethodName = "/dictybase.feature.FeatureService/SetNextFeatureHistory" FeatureService_AddDbxref_FullMethodName = "/dictybase.feature.FeatureService/AddDbxref" FeatureService_CreateOrganism_FullMethodName = "/dictybase.feature.FeatureService/CreateOrganism" FeatureService_DeleteFeature_FullMethodName = "/dictybase.feature.FeatureService/DeleteFeature" FeatureService_DeleteParentalRelationship_FullMethodName = "/dictybase.feature.FeatureService/DeleteParentalRelationship" FeatureService_DeleteChildRelationship_FullMethodName = "/dictybase.feature.FeatureService/DeleteChildRelationship" FeatureService_DetachLocation_FullMethodName = "/dictybase.feature.FeatureService/DetachLocation" FeatureService_DeleteSynonym_FullMethodName = "/dictybase.feature.FeatureService/DeleteSynonym" FeatureService_DeletePublication_FullMethodName = "/dictybase.feature.FeatureService/DeletePublication" FeatureService_RemovePrevFeatureHistory_FullMethodName = "/dictybase.feature.FeatureService/RemovePrevFeatureHistory" FeatureService_RemoveNextFeatureHistory_FullMethodName = "/dictybase.feature.FeatureService/RemoveNextFeatureHistory" FeatureService_DeleteDbxref_FullMethodName = "/dictybase.feature.FeatureService/DeleteDbxref" )
Variables ¶
var FeatureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dictybase.feature.FeatureService", HandlerType: (*FeatureServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFeature", Handler: _FeatureService_GetFeature_Handler, }, { MethodName: "GetParents", Handler: _FeatureService_GetParents_Handler, }, { MethodName: "GetChildren", Handler: _FeatureService_GetChildren_Handler, }, { MethodName: "GetReferenceFeature", Handler: _FeatureService_GetReferenceFeature_Handler, }, { MethodName: "GetReferenceFeatures", Handler: _FeatureService_GetReferenceFeatures_Handler, }, { MethodName: "GetLocatedFeatures", Handler: _FeatureService_GetLocatedFeatures_Handler, }, { MethodName: "ListFeatures", Handler: _FeatureService_ListFeatures_Handler, }, { MethodName: "CreateFeature", Handler: _FeatureService_CreateFeature_Handler, }, { MethodName: "UpdateFeature", Handler: _FeatureService_UpdateFeature_Handler, }, { MethodName: "AddParentalRelationship", Handler: _FeatureService_AddParentalRelationship_Handler, }, { MethodName: "AddChildRelationship", Handler: _FeatureService_AddChildRelationship_Handler, }, { MethodName: "AttachLocation", Handler: _FeatureService_AttachLocation_Handler, }, { MethodName: "AddSynonym", Handler: _FeatureService_AddSynonym_Handler, }, { MethodName: "AddPublication", Handler: _FeatureService_AddPublication_Handler, }, { MethodName: "SetPrevFeatureHistory", Handler: _FeatureService_SetPrevFeatureHistory_Handler, }, { MethodName: "SetNextFeatureHistory", Handler: _FeatureService_SetNextFeatureHistory_Handler, }, { MethodName: "AddDbxref", Handler: _FeatureService_AddDbxref_Handler, }, { MethodName: "CreateOrganism", Handler: _FeatureService_CreateOrganism_Handler, }, { MethodName: "DeleteFeature", Handler: _FeatureService_DeleteFeature_Handler, }, { MethodName: "DeleteParentalRelationship", Handler: _FeatureService_DeleteParentalRelationship_Handler, }, { MethodName: "DeleteChildRelationship", Handler: _FeatureService_DeleteChildRelationship_Handler, }, { MethodName: "DetachLocation", Handler: _FeatureService_DetachLocation_Handler, }, { MethodName: "DeleteSynonym", Handler: _FeatureService_DeleteSynonym_Handler, }, { MethodName: "DeletePublication", Handler: _FeatureService_DeletePublication_Handler, }, { MethodName: "RemovePrevFeatureHistory", Handler: _FeatureService_RemovePrevFeatureHistory_Handler, }, { MethodName: "RemoveNextFeatureHistory", Handler: _FeatureService_RemoveNextFeatureHistory_Handler, }, { MethodName: "DeleteDbxref", Handler: _FeatureService_DeleteDbxref_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dictybase/feature/feature.proto", }
FeatureService_ServiceDesc is the grpc.ServiceDesc for FeatureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_dictybase_feature_feature_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFeatureServiceServer ¶
func RegisterFeatureServiceServer(s grpc.ServiceRegistrar, srv FeatureServiceServer)
Types ¶
type Dbxref ¶
type Dbxref struct { // Identifier DbxrefId string `protobuf:"bytes,1,opt,name=dbxref_id,json=dbxrefId,proto3" json:"dbxref_id,omitempty"` Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // Source database Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
An identifier typically from a bioinformatics database(NCBI,Uniprot,Ensembl etc.)
func (*Dbxref) Descriptor
deprecated
func (*Dbxref) GetDatabase ¶
func (*Dbxref) GetDbxrefId ¶
func (*Dbxref) GetVersion ¶
func (*Dbxref) ProtoMessage ¶
func (*Dbxref) ProtoMessage()
func (*Dbxref) ProtoReflect ¶
func (x *Dbxref) ProtoReflect() protoreflect.Message
type Feature ¶
type Feature struct { Data *FeatureData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Definition of a biological entity
func (*Feature) Descriptor
deprecated
func (*Feature) GetData ¶
func (x *Feature) GetData() *FeatureData
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureAttributes ¶
type FeatureAttributes struct { // Short human readable textual name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Identifier of the user who created the feature CreatedBy int64 `protobuf:"varint,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Identifier of the user who updated the feature UpdatedBy int64 `protobuf:"varint,3,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // Timestamp for creation and update CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Organism *Organism `protobuf:"bytes,6,opt,name=organism,proto3" json:"organism,omitempty"` // Toggle the obsolete status IsObsolete bool `protobuf:"varint,7,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` // List of biological parent features Parents []*FeatureRelationship `protobuf:"bytes,8,rep,name=parents,proto3" json:"parents,omitempty"` // List of biological children feature Children []*FeatureRelationship `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"` // List of feature locations in the reference backend Location []*FeatureLocation `protobuf:"bytes,10,rep,name=location,proto3" json:"location,omitempty"` // Alternate list of names Synonyms []string `protobuf:"bytes,11,rep,name=synonyms,proto3" json:"synonyms,omitempty"` Publications []*Publication `protobuf:"bytes,12,rep,name=publications,proto3" json:"publications,omitempty"` // Indicates if the feature is generated(annotated) from the // result of an automated analysis IsAnalysis bool `protobuf:"varint,13,opt,name=is_analysis,json=isAnalysis,proto3" json:"is_analysis,omitempty"` // Version of this feature, it increase by 1 for the replacement Version int64 `protobuf:"varint,14,opt,name=version,proto3" json:"version,omitempty"` // Earlier instance of the feature that this one has replaced Dbxrefs []*Dbxref `protobuf:"bytes,15,rep,name=dbxrefs,proto3" json:"dbxrefs,omitempty"` // contains filtered or unexported fields }
Definition of various feature fields
func (*FeatureAttributes) Descriptor
deprecated
func (*FeatureAttributes) Descriptor() ([]byte, []int)
Deprecated: Use FeatureAttributes.ProtoReflect.Descriptor instead.
func (*FeatureAttributes) GetChildren ¶
func (x *FeatureAttributes) GetChildren() []*FeatureRelationship
func (*FeatureAttributes) GetCreatedAt ¶
func (x *FeatureAttributes) GetCreatedAt() *timestamppb.Timestamp
func (*FeatureAttributes) GetCreatedBy ¶
func (x *FeatureAttributes) GetCreatedBy() int64
func (*FeatureAttributes) GetDbxrefs ¶
func (x *FeatureAttributes) GetDbxrefs() []*Dbxref
func (*FeatureAttributes) GetIsAnalysis ¶
func (x *FeatureAttributes) GetIsAnalysis() bool
func (*FeatureAttributes) GetIsObsolete ¶
func (x *FeatureAttributes) GetIsObsolete() bool
func (*FeatureAttributes) GetLocation ¶
func (x *FeatureAttributes) GetLocation() []*FeatureLocation
func (*FeatureAttributes) GetName ¶
func (x *FeatureAttributes) GetName() string
func (*FeatureAttributes) GetOrganism ¶
func (x *FeatureAttributes) GetOrganism() *Organism
func (*FeatureAttributes) GetParents ¶
func (x *FeatureAttributes) GetParents() []*FeatureRelationship
func (*FeatureAttributes) GetPublications ¶
func (x *FeatureAttributes) GetPublications() []*Publication
func (*FeatureAttributes) GetSynonyms ¶
func (x *FeatureAttributes) GetSynonyms() []string
func (*FeatureAttributes) GetUpdatedAt ¶
func (x *FeatureAttributes) GetUpdatedAt() *timestamppb.Timestamp
func (*FeatureAttributes) GetUpdatedBy ¶
func (x *FeatureAttributes) GetUpdatedBy() int64
func (*FeatureAttributes) GetVersion ¶
func (x *FeatureAttributes) GetVersion() int64
func (*FeatureAttributes) ProtoMessage ¶
func (*FeatureAttributes) ProtoMessage()
func (*FeatureAttributes) ProtoReflect ¶
func (x *FeatureAttributes) ProtoReflect() protoreflect.Message
func (*FeatureAttributes) Reset ¶
func (x *FeatureAttributes) Reset()
func (*FeatureAttributes) String ¶
func (x *FeatureAttributes) String() string
func (*FeatureAttributes) Validate ¶
func (this *FeatureAttributes) Validate() error
type FeatureCollection ¶
type FeatureCollection struct { Data []*FeatureData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
List of features
func (*FeatureCollection) Descriptor
deprecated
func (*FeatureCollection) Descriptor() ([]byte, []int)
Deprecated: Use FeatureCollection.ProtoReflect.Descriptor instead.
func (*FeatureCollection) GetData ¶
func (x *FeatureCollection) GetData() []*FeatureData
func (*FeatureCollection) ProtoMessage ¶
func (*FeatureCollection) ProtoMessage()
func (*FeatureCollection) ProtoReflect ¶
func (x *FeatureCollection) ProtoReflect() protoreflect.Message
func (*FeatureCollection) Reset ¶
func (x *FeatureCollection) Reset()
func (*FeatureCollection) String ¶
func (x *FeatureCollection) String() string
func (*FeatureCollection) Validate ¶
func (this *FeatureCollection) Validate() error
type FeatureConnection ¶
type FeatureConnection struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` Relationship *FeatureRelationship `protobuf:"bytes,2,opt,name=relationship,proto3" json:"relationship,omitempty"` // contains filtered or unexported fields }
Definition for connecting two biologically related(parent or children) features
func (*FeatureConnection) Descriptor
deprecated
func (*FeatureConnection) Descriptor() ([]byte, []int)
Deprecated: Use FeatureConnection.ProtoReflect.Descriptor instead.
func (*FeatureConnection) GetFeatureId ¶
func (x *FeatureConnection) GetFeatureId() string
func (*FeatureConnection) GetRelationship ¶
func (x *FeatureConnection) GetRelationship() *FeatureRelationship
func (*FeatureConnection) ProtoMessage ¶
func (*FeatureConnection) ProtoMessage()
func (*FeatureConnection) ProtoReflect ¶
func (x *FeatureConnection) ProtoReflect() protoreflect.Message
func (*FeatureConnection) Reset ¶
func (x *FeatureConnection) Reset()
func (*FeatureConnection) String ¶
func (x *FeatureConnection) String() string
func (*FeatureConnection) Validate ¶
func (this *FeatureConnection) Validate() error
type FeatureData ¶
type FeatureData struct { // The biological type of feature, generally a sequence ontology term Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Unique id Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Attributes *FeatureAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*FeatureData) Descriptor
deprecated
func (*FeatureData) Descriptor() ([]byte, []int)
Deprecated: Use FeatureData.ProtoReflect.Descriptor instead.
func (*FeatureData) GetAttributes ¶
func (x *FeatureData) GetAttributes() *FeatureAttributes
func (*FeatureData) GetId ¶
func (x *FeatureData) GetId() string
func (*FeatureData) GetType ¶
func (x *FeatureData) GetType() string
func (*FeatureData) ProtoMessage ¶
func (*FeatureData) ProtoMessage()
func (*FeatureData) ProtoReflect ¶
func (x *FeatureData) ProtoReflect() protoreflect.Message
func (*FeatureData) Reset ¶
func (x *FeatureData) Reset()
func (*FeatureData) String ¶
func (x *FeatureData) String() string
func (*FeatureData) Validate ¶
func (this *FeatureData) Validate() error
type FeatureDbxref ¶
type FeatureDbxref struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` Dbxref *Dbxref `protobuf:"bytes,2,opt,name=dbxref,proto3" json:"dbxref,omitempty"` // contains filtered or unexported fields }
Definition for managing dbxref with a feature
func (*FeatureDbxref) Descriptor
deprecated
func (*FeatureDbxref) Descriptor() ([]byte, []int)
Deprecated: Use FeatureDbxref.ProtoReflect.Descriptor instead.
func (*FeatureDbxref) GetDbxref ¶
func (x *FeatureDbxref) GetDbxref() *Dbxref
func (*FeatureDbxref) GetFeatureId ¶
func (x *FeatureDbxref) GetFeatureId() string
func (*FeatureDbxref) ProtoMessage ¶
func (*FeatureDbxref) ProtoMessage()
func (*FeatureDbxref) ProtoReflect ¶
func (x *FeatureDbxref) ProtoReflect() protoreflect.Message
func (*FeatureDbxref) Reset ¶
func (x *FeatureDbxref) Reset()
func (*FeatureDbxref) String ¶
func (x *FeatureDbxref) String() string
func (*FeatureDbxref) Validate ¶
func (this *FeatureDbxref) Validate() error
type FeatureHistory ¶
type FeatureHistory struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` LinkedFeature string `protobuf:"bytes,2,opt,name=linked_feature,json=linkedFeature,proto3" json:"linked_feature,omitempty"` // contains filtered or unexported fields }
Definition for managing a previous or next feature in the feature history
func (*FeatureHistory) Descriptor
deprecated
func (*FeatureHistory) Descriptor() ([]byte, []int)
Deprecated: Use FeatureHistory.ProtoReflect.Descriptor instead.
func (*FeatureHistory) GetFeatureId ¶
func (x *FeatureHistory) GetFeatureId() string
func (*FeatureHistory) GetLinkedFeature ¶
func (x *FeatureHistory) GetLinkedFeature() string
func (*FeatureHistory) ProtoMessage ¶
func (*FeatureHistory) ProtoMessage()
func (*FeatureHistory) ProtoReflect ¶
func (x *FeatureHistory) ProtoReflect() protoreflect.Message
func (*FeatureHistory) Reset ¶
func (x *FeatureHistory) Reset()
func (*FeatureHistory) String ¶
func (x *FeatureHistory) String() string
func (*FeatureHistory) Validate ¶
func (this *FeatureHistory) Validate() error
type FeatureId ¶
type FeatureId struct { // Unique feature identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeatureId) Descriptor
deprecated
func (*FeatureId) ProtoMessage ¶
func (*FeatureId) ProtoMessage()
func (*FeatureId) ProtoReflect ¶
func (x *FeatureId) ProtoReflect() protoreflect.Message
type FeatureLocation ¶
type FeatureLocation struct { // Source or reference feature(identifier) which this location is relative to SourceFeatureId string `protobuf:"bytes,1,opt,name=source_feature_id,json=sourceFeatureId,proto3" json:"source_feature_id,omitempty"` // start/leftmost boundary of this location in linear range based on // interbase coordinates. To convert it to base-oriented system, add 1 to // this value. Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` // End/rightmost boundary of this location in linear range based on // interbase coordinates. No conversion is needed to convert it to a base // oriented system. End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` // Orientation of this location, should be one of 0,1, or -1 Strand int64 `protobuf:"varint,4,opt,name=strand,proto3" json:"strand,omitempty"` // Phase of translation with respect to source feature, should be one of 0,1,or 2. Phase int64 `protobuf:"varint,5,opt,name=phase,proto3" json:"phase,omitempty"` // Alternate residues which differ from feature residues Residue string `protobuf:"bytes,6,opt,name=residue,proto3" json:"residue,omitempty"` // Represents derivable extra location of a feature. The default value 0 is // used for direct location. Any other derived location gets values greater // than 0. For example, the position of an exon on a BAC and in a global // chromosomal coordinates. Group int64 `protobuf:"varint,7,opt,name=group,proto3" json:"group,omitempty"` // Used for feature with multiple locations, 0 is used as default. For // example, a blast HSP has two locations, one on the query and one on the // subject. Rank int64 `protobuf:"varint,8,opt,name=rank,proto3" json:"rank,omitempty"` // contains filtered or unexported fields }
The location of a feature relative to another feature using space-based(interbase) coordinates.
func (*FeatureLocation) Descriptor
deprecated
func (*FeatureLocation) Descriptor() ([]byte, []int)
Deprecated: Use FeatureLocation.ProtoReflect.Descriptor instead.
func (*FeatureLocation) GetEnd ¶
func (x *FeatureLocation) GetEnd() int64
func (*FeatureLocation) GetGroup ¶
func (x *FeatureLocation) GetGroup() int64
func (*FeatureLocation) GetPhase ¶
func (x *FeatureLocation) GetPhase() int64
func (*FeatureLocation) GetRank ¶
func (x *FeatureLocation) GetRank() int64
func (*FeatureLocation) GetResidue ¶
func (x *FeatureLocation) GetResidue() string
func (*FeatureLocation) GetSourceFeatureId ¶
func (x *FeatureLocation) GetSourceFeatureId() string
func (*FeatureLocation) GetStart ¶
func (x *FeatureLocation) GetStart() int64
func (*FeatureLocation) GetStrand ¶
func (x *FeatureLocation) GetStrand() int64
func (*FeatureLocation) ProtoMessage ¶
func (*FeatureLocation) ProtoMessage()
func (*FeatureLocation) ProtoReflect ¶
func (x *FeatureLocation) ProtoReflect() protoreflect.Message
func (*FeatureLocation) Reset ¶
func (x *FeatureLocation) Reset()
func (*FeatureLocation) String ¶
func (x *FeatureLocation) String() string
func (*FeatureLocation) Validate ¶
func (this *FeatureLocation) Validate() error
type FeaturePublication ¶
type FeaturePublication struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` Publication *FeaturePublication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` // contains filtered or unexported fields }
Definition for managing publication with a feature
func (*FeaturePublication) Descriptor
deprecated
func (*FeaturePublication) Descriptor() ([]byte, []int)
Deprecated: Use FeaturePublication.ProtoReflect.Descriptor instead.
func (*FeaturePublication) GetFeatureId ¶
func (x *FeaturePublication) GetFeatureId() string
func (*FeaturePublication) GetPublication ¶
func (x *FeaturePublication) GetPublication() *FeaturePublication
func (*FeaturePublication) ProtoMessage ¶
func (*FeaturePublication) ProtoMessage()
func (*FeaturePublication) ProtoReflect ¶
func (x *FeaturePublication) ProtoReflect() protoreflect.Message
func (*FeaturePublication) Reset ¶
func (x *FeaturePublication) Reset()
func (*FeaturePublication) String ¶
func (x *FeaturePublication) String() string
func (*FeaturePublication) Validate ¶
func (this *FeaturePublication) Validate() error
type FeatureRelationFilter ¶
type FeatureRelationFilter struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` // Type of relationship, generally a sequence ontology term Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*FeatureRelationFilter) Descriptor
deprecated
func (*FeatureRelationFilter) Descriptor() ([]byte, []int)
Deprecated: Use FeatureRelationFilter.ProtoReflect.Descriptor instead.
func (*FeatureRelationFilter) GetFeatureId ¶
func (x *FeatureRelationFilter) GetFeatureId() string
func (*FeatureRelationFilter) GetRelation ¶
func (x *FeatureRelationFilter) GetRelation() string
func (*FeatureRelationFilter) ProtoMessage ¶
func (*FeatureRelationFilter) ProtoMessage()
func (*FeatureRelationFilter) ProtoReflect ¶
func (x *FeatureRelationFilter) ProtoReflect() protoreflect.Message
func (*FeatureRelationFilter) Reset ¶
func (x *FeatureRelationFilter) Reset()
func (*FeatureRelationFilter) String ¶
func (x *FeatureRelationFilter) String() string
func (*FeatureRelationFilter) Validate ¶
func (this *FeatureRelationFilter) Validate() error
type FeatureRelationship ¶
type FeatureRelationship struct { // Type of relationship, generally a sequence ontology term Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"` // Related feature id FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` // contains filtered or unexported fields }
Definition for a related feature
func (*FeatureRelationship) Descriptor
deprecated
func (*FeatureRelationship) Descriptor() ([]byte, []int)
Deprecated: Use FeatureRelationship.ProtoReflect.Descriptor instead.
func (*FeatureRelationship) GetFeatureId ¶
func (x *FeatureRelationship) GetFeatureId() string
func (*FeatureRelationship) GetRelation ¶
func (x *FeatureRelationship) GetRelation() string
func (*FeatureRelationship) ProtoMessage ¶
func (*FeatureRelationship) ProtoMessage()
func (*FeatureRelationship) ProtoReflect ¶
func (x *FeatureRelationship) ProtoReflect() protoreflect.Message
func (*FeatureRelationship) Reset ¶
func (x *FeatureRelationship) Reset()
func (*FeatureRelationship) String ¶
func (x *FeatureRelationship) String() string
func (*FeatureRelationship) Validate ¶
func (this *FeatureRelationship) Validate() error
type FeatureServiceClient ¶
type FeatureServiceClient interface { // Retrieves the specified feature GetFeature(ctx context.Context, in *FeatureId, opts ...grpc.CallOption) (*Feature, error) // Retrieves all the biological parents features GetParents(ctx context.Context, in *FeatureRelationFilter, opts ...grpc.CallOption) (*FeatureCollection, error) // Retrieves all biological children features GetChildren(ctx context.Context, in *FeatureRelationFilter, opts ...grpc.CallOption) (*FeatureCollection, error) // Retrieves the feature(called reference or source feature) under whose // coordinate system the current feature is located. By default rank 0 is // assumed GetReferenceFeature(ctx context.Context, in *ReferenceFeatureFilter, opts ...grpc.CallOption) (*Feature, error) // Retrieves all reference features GetReferenceFeatures(ctx context.Context, in *FeatureId, opts ...grpc.CallOption) (*FeatureCollection, error) // Retrieves all features that are located within the bounds of // referernce feature GetLocatedFeatures(ctx context.Context, in *LocatedFeatureFilter, opts ...grpc.CallOption) (*PaginatedFeatureCollection, error) // Retrieves all features ListFeatures(ctx context.Context, in *ListParameters, opts ...grpc.CallOption) (*PaginatedFeatureCollection, error) // Create a new feature CreateFeature(ctx context.Context, in *NewFeature, opts ...grpc.CallOption) (*Feature, error) // Update an existing feature UpdateFeature(ctx context.Context, in *FeatureUpdate, opts ...grpc.CallOption) (*Feature, error) // Add a new parental relation with an existing feature. In case of an // existing parent(s), it will be appended to the list. AddParentalRelationship(ctx context.Context, in *FeatureConnection, opts ...grpc.CallOption) (*Feature, error) // Add a new child relation with an existing feature. In case of an // existing child, it will be appended to the list. AddChildRelationship(ctx context.Context, in *FeatureConnection, opts ...grpc.CallOption) (*Feature, error) // Attach a new location entry to connect to a referernce // feature. In case of any existing location(s), it will be // appended to the list. The reference feature referred in // the location needs to exist. AttachLocation(ctx context.Context, in *NewFeatureLocation, opts ...grpc.CallOption) (*Feature, error) // Add a new synonym.In case of existing synonym(s), // it will be appended to the list AddSynonym(ctx context.Context, in *FeatureSynonym, opts ...grpc.CallOption) (*Feature, error) // Add a new publication.In case of existing publication(s), // it will append it to the list AddPublication(ctx context.Context, in *FeaturePublication, opts ...grpc.CallOption) (*Feature, error) // Sets the previous feature in the feature history. SetPrevFeatureHistory(ctx context.Context, in *FeatureHistory, opts ...grpc.CallOption) (*Feature, error) // Sets the next feature in the feature history. SetNextFeatureHistory(ctx context.Context, in *FeatureHistory, opts ...grpc.CallOption) (*Feature, error) // Add a new dbxref. In case of existing dbxref it will // append it to the list. AddDbxref(ctx context.Context, in *FeatureDbxref, opts ...grpc.CallOption) (*Feature, error) // Create a new organism entry CreateOrganism(ctx context.Context, in *Organism, opts ...grpc.CallOption) (*Organism, error) // Delete an existing feature DeleteFeature(ctx context.Context, in *FeatureId, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a parental relationship with a feature DeleteParentalRelationship(ctx context.Context, in *FeatureConnection, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a child relationship with a feature DeleteChildRelationship(ctx context.Context, in *FeatureConnection, opts ...grpc.CallOption) (*emptypb.Empty, error) // Detach an existing location from reference feature DetachLocation(ctx context.Context, in *ReferenceFeatureFilter, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a synonym from the feature. DeleteSynonym(ctx context.Context, in *FeatureSynonym, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a publication from the feature. DeletePublication(ctx context.Context, in *FeaturePublication, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove the previous feature from the feature history. RemovePrevFeatureHistory(ctx context.Context, in *FeatureHistory, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove the next feature from the feature history. RemoveNextFeatureHistory(ctx context.Context, in *FeatureHistory, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete dbxref from a feature. DeleteDbxref(ctx context.Context, in *FeatureDbxref, opts ...grpc.CallOption) (*emptypb.Empty, error) }
FeatureServiceClient is the client API for FeatureService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFeatureServiceClient ¶
func NewFeatureServiceClient(cc grpc.ClientConnInterface) FeatureServiceClient
type FeatureServiceServer ¶
type FeatureServiceServer interface { // Retrieves the specified feature GetFeature(context.Context, *FeatureId) (*Feature, error) // Retrieves all the biological parents features GetParents(context.Context, *FeatureRelationFilter) (*FeatureCollection, error) // Retrieves all biological children features GetChildren(context.Context, *FeatureRelationFilter) (*FeatureCollection, error) // Retrieves the feature(called reference or source feature) under whose // coordinate system the current feature is located. By default rank 0 is // assumed GetReferenceFeature(context.Context, *ReferenceFeatureFilter) (*Feature, error) // Retrieves all reference features GetReferenceFeatures(context.Context, *FeatureId) (*FeatureCollection, error) // Retrieves all features that are located within the bounds of // referernce feature GetLocatedFeatures(context.Context, *LocatedFeatureFilter) (*PaginatedFeatureCollection, error) // Retrieves all features ListFeatures(context.Context, *ListParameters) (*PaginatedFeatureCollection, error) // Create a new feature CreateFeature(context.Context, *NewFeature) (*Feature, error) // Update an existing feature UpdateFeature(context.Context, *FeatureUpdate) (*Feature, error) // Add a new parental relation with an existing feature. In case of an // existing parent(s), it will be appended to the list. AddParentalRelationship(context.Context, *FeatureConnection) (*Feature, error) // Add a new child relation with an existing feature. In case of an // existing child, it will be appended to the list. AddChildRelationship(context.Context, *FeatureConnection) (*Feature, error) // Attach a new location entry to connect to a referernce // feature. In case of any existing location(s), it will be // appended to the list. The reference feature referred in // the location needs to exist. AttachLocation(context.Context, *NewFeatureLocation) (*Feature, error) // Add a new synonym.In case of existing synonym(s), // it will be appended to the list AddSynonym(context.Context, *FeatureSynonym) (*Feature, error) // Add a new publication.In case of existing publication(s), // it will append it to the list AddPublication(context.Context, *FeaturePublication) (*Feature, error) // Sets the previous feature in the feature history. SetPrevFeatureHistory(context.Context, *FeatureHistory) (*Feature, error) // Sets the next feature in the feature history. SetNextFeatureHistory(context.Context, *FeatureHistory) (*Feature, error) // Add a new dbxref. In case of existing dbxref it will // append it to the list. AddDbxref(context.Context, *FeatureDbxref) (*Feature, error) // Create a new organism entry CreateOrganism(context.Context, *Organism) (*Organism, error) // Delete an existing feature DeleteFeature(context.Context, *FeatureId) (*emptypb.Empty, error) // Delete a parental relationship with a feature DeleteParentalRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error) // Delete a child relationship with a feature DeleteChildRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error) // Detach an existing location from reference feature DetachLocation(context.Context, *ReferenceFeatureFilter) (*emptypb.Empty, error) // Delete a synonym from the feature. DeleteSynonym(context.Context, *FeatureSynonym) (*emptypb.Empty, error) // Delete a publication from the feature. DeletePublication(context.Context, *FeaturePublication) (*emptypb.Empty, error) // Remove the previous feature from the feature history. RemovePrevFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error) // Remove the next feature from the feature history. RemoveNextFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error) // Delete dbxref from a feature. DeleteDbxref(context.Context, *FeatureDbxref) (*emptypb.Empty, error) // contains filtered or unexported methods }
FeatureServiceServer is the server API for FeatureService service. All implementations must embed UnimplementedFeatureServiceServer for forward compatibility
type FeatureSynonym ¶
type FeatureSynonym struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` Synonym string `protobuf:"bytes,2,opt,name=synonym,proto3" json:"synonym,omitempty"` // contains filtered or unexported fields }
Defintion for managing synonym of a feature
func (*FeatureSynonym) Descriptor
deprecated
func (*FeatureSynonym) Descriptor() ([]byte, []int)
Deprecated: Use FeatureSynonym.ProtoReflect.Descriptor instead.
func (*FeatureSynonym) GetFeatureId ¶
func (x *FeatureSynonym) GetFeatureId() string
func (*FeatureSynonym) GetSynonym ¶
func (x *FeatureSynonym) GetSynonym() string
func (*FeatureSynonym) ProtoMessage ¶
func (*FeatureSynonym) ProtoMessage()
func (*FeatureSynonym) ProtoReflect ¶
func (x *FeatureSynonym) ProtoReflect() protoreflect.Message
func (*FeatureSynonym) Reset ¶
func (x *FeatureSynonym) Reset()
func (*FeatureSynonym) String ¶
func (x *FeatureSynonym) String() string
func (*FeatureSynonym) Validate ¶
func (this *FeatureSynonym) Validate() error
type FeatureUpdate ¶
type FeatureUpdate struct { Data *FeatureUpdate_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // An optional mask specifying which fields to update. // Presence of this field allow partial updates. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Definition for updating a feature
func (*FeatureUpdate) Descriptor
deprecated
func (*FeatureUpdate) Descriptor() ([]byte, []int)
Deprecated: Use FeatureUpdate.ProtoReflect.Descriptor instead.
func (*FeatureUpdate) GetData ¶
func (x *FeatureUpdate) GetData() *FeatureUpdate_Data
func (*FeatureUpdate) GetUpdateMask ¶
func (x *FeatureUpdate) GetUpdateMask() *fieldmaskpb.FieldMask
func (*FeatureUpdate) ProtoMessage ¶
func (*FeatureUpdate) ProtoMessage()
func (*FeatureUpdate) ProtoReflect ¶
func (x *FeatureUpdate) ProtoReflect() protoreflect.Message
func (*FeatureUpdate) Reset ¶
func (x *FeatureUpdate) Reset()
func (*FeatureUpdate) String ¶
func (x *FeatureUpdate) String() string
func (*FeatureUpdate) Validate ¶
func (this *FeatureUpdate) Validate() error
type FeatureUpdateAttributes ¶
type FeatureUpdateAttributes struct { // Short human readable textual name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Identifier of the user who updated the feature UpdatedBy int64 `protobuf:"varint,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Dbxrefs []*Dbxref `protobuf:"bytes,3,rep,name=dbxrefs,proto3" json:"dbxrefs,omitempty"` Organism *Organism `protobuf:"bytes,4,opt,name=organism,proto3" json:"organism,omitempty"` // List of biological parent features Parents []*FeatureRelationship `protobuf:"bytes,5,rep,name=parents,proto3" json:"parents,omitempty"` // List of biological children feature Children []*FeatureRelationship `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` Location []*FeatureLocation `protobuf:"bytes,7,rep,name=location,proto3" json:"location,omitempty"` // aLTERNATe list of names Synonyms []string `protobuf:"bytes,8,rep,name=synonyms,proto3" json:"synonyms,omitempty"` Publications []*Publication `protobuf:"bytes,9,rep,name=publications,proto3" json:"publications,omitempty"` // Indicates if the feature is generated(annotated) from the // result of an automated analysis IsAnalysis bool `protobuf:"varint,10,opt,name=is_analysis,json=isAnalysis,proto3" json:"is_analysis,omitempty"` // contains filtered or unexported fields }
Definition of feature fields for updating a feature
func (*FeatureUpdateAttributes) Descriptor
deprecated
func (*FeatureUpdateAttributes) Descriptor() ([]byte, []int)
Deprecated: Use FeatureUpdateAttributes.ProtoReflect.Descriptor instead.
func (*FeatureUpdateAttributes) GetChildren ¶
func (x *FeatureUpdateAttributes) GetChildren() []*FeatureRelationship
func (*FeatureUpdateAttributes) GetDbxrefs ¶
func (x *FeatureUpdateAttributes) GetDbxrefs() []*Dbxref
func (*FeatureUpdateAttributes) GetIsAnalysis ¶
func (x *FeatureUpdateAttributes) GetIsAnalysis() bool
func (*FeatureUpdateAttributes) GetLocation ¶
func (x *FeatureUpdateAttributes) GetLocation() []*FeatureLocation
func (*FeatureUpdateAttributes) GetName ¶
func (x *FeatureUpdateAttributes) GetName() string
func (*FeatureUpdateAttributes) GetOrganism ¶
func (x *FeatureUpdateAttributes) GetOrganism() *Organism
func (*FeatureUpdateAttributes) GetParents ¶
func (x *FeatureUpdateAttributes) GetParents() []*FeatureRelationship
func (*FeatureUpdateAttributes) GetPublications ¶
func (x *FeatureUpdateAttributes) GetPublications() []*Publication
func (*FeatureUpdateAttributes) GetSynonyms ¶
func (x *FeatureUpdateAttributes) GetSynonyms() []string
func (*FeatureUpdateAttributes) GetUpdatedBy ¶
func (x *FeatureUpdateAttributes) GetUpdatedBy() int64
func (*FeatureUpdateAttributes) ProtoMessage ¶
func (*FeatureUpdateAttributes) ProtoMessage()
func (*FeatureUpdateAttributes) ProtoReflect ¶
func (x *FeatureUpdateAttributes) ProtoReflect() protoreflect.Message
func (*FeatureUpdateAttributes) Reset ¶
func (x *FeatureUpdateAttributes) Reset()
func (*FeatureUpdateAttributes) String ¶
func (x *FeatureUpdateAttributes) String() string
func (*FeatureUpdateAttributes) Validate ¶
func (this *FeatureUpdateAttributes) Validate() error
type FeatureUpdate_Data ¶
type FeatureUpdate_Data struct { // The biological type of feature, generally a sequence ontology term Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Attributes *FeatureUpdateAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeatureUpdate_Data) Descriptor
deprecated
func (*FeatureUpdate_Data) Descriptor() ([]byte, []int)
Deprecated: Use FeatureUpdate_Data.ProtoReflect.Descriptor instead.
func (*FeatureUpdate_Data) GetAttributes ¶
func (x *FeatureUpdate_Data) GetAttributes() *FeatureUpdateAttributes
func (*FeatureUpdate_Data) GetId ¶
func (x *FeatureUpdate_Data) GetId() string
func (*FeatureUpdate_Data) GetType ¶
func (x *FeatureUpdate_Data) GetType() string
func (*FeatureUpdate_Data) ProtoMessage ¶
func (*FeatureUpdate_Data) ProtoMessage()
func (*FeatureUpdate_Data) ProtoReflect ¶
func (x *FeatureUpdate_Data) ProtoReflect() protoreflect.Message
func (*FeatureUpdate_Data) Reset ¶
func (x *FeatureUpdate_Data) Reset()
func (*FeatureUpdate_Data) String ¶
func (x *FeatureUpdate_Data) String() string
func (*FeatureUpdate_Data) Validate ¶
func (this *FeatureUpdate_Data) Validate() error
type ListParameters ¶
type ListParameters struct { // A unique pointer to the next set of result in the list Cursor int64 `protobuf:"varint,1,opt,name=cursor,proto3" json:"cursor,omitempty"` // Maximum number of records that can be fetch per request Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // The `filter` field restricts the data return by the collection. To use // it, supply one or multiple allowed fields to filter followed // by a filter expression. It uses the following syntax... // // field_name operator value // // field_name - Any one of the allowed field name that are given below. // // - name - feature name (string). // - type - The biological type of feature, generally a sequence ontology term (string) // - species - Organism species (string) // - genus - Organism genus (string) // - strain - Strain name of the organism (string) // - taxon_id - Taxon identifier (string) // - obsolete - Live or retired feature (bool) // - analysis - Feature as a result of analysis (bool) // // operator - Defines the type of filter match to use. It could be any of // the following four and all of them should be URL-encoded for http request. // // == Equals (URL encoding is %3D%3D) // != Not equals // ~ Contains/matches substring (case insensitive) // !~ Not contains substring (case insensitive) // > Greater than // < Less than // =< Less than equal to // >= Greater than equal to // // value - The value must be a string, a number or a boolean. URL-reserved // characters must be URL-encoded for http request. // // filter: "name==pcA" // filter: "name~scr" // filter: "obsolete==true" // // Filter can be combined using OR or AND boolean logic. // // - The OR is represented using a comma(,). // // - The AND is represented using a semi-colon(;). // // - AND and OR operators can be combined and AND takes precedence over OR. // // filter: "name==pcA;obsolete==true;type=exon" // filter: "name==transcription,name==gtx" Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
ListParameters defines fields for manipulating output of PaginatedFeatureCollection
func (*ListParameters) Descriptor
deprecated
func (*ListParameters) Descriptor() ([]byte, []int)
Deprecated: Use ListParameters.ProtoReflect.Descriptor instead.
func (*ListParameters) GetCursor ¶
func (x *ListParameters) GetCursor() int64
func (*ListParameters) GetFilter ¶
func (x *ListParameters) GetFilter() string
func (*ListParameters) GetLimit ¶
func (x *ListParameters) GetLimit() int64
func (*ListParameters) ProtoMessage ¶
func (*ListParameters) ProtoMessage()
func (*ListParameters) ProtoReflect ¶
func (x *ListParameters) ProtoReflect() protoreflect.Message
func (*ListParameters) Reset ¶
func (x *ListParameters) Reset()
func (*ListParameters) String ¶
func (x *ListParameters) String() string
func (*ListParameters) Validate ¶
func (this *ListParameters) Validate() error
type LocatedFeatureFilter ¶
type LocatedFeatureFilter struct { // unique id of the reference feature FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` // The biological type of feature, generally a sequence ontology term. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The `filter` field restricts no of features in the collection by using a // combination of custom start and end coordinates of reference feature. To // use it, supply the field name followed by the filter expression. It uses // the following syntax... // // field_name operator value // // field_name - Any one of the allowed field name that are given below. // // - start - leftmost boundary of location (number). // - end - rightmost boundary of location (number). // // operator - Defines the type of filter match to use. It could be any of // the following and all of them should be URL-encoded for http request. // // > Greater than // < Less than // =< Less than equal to // >= Greater than equal to // // value - The value must be a number here. If only one of the value is // given, the coordinate of reference feature is for the other by default. // URL-reserved // characters must be URL-encoded for http request. // // filter: "start>=100" // filter: "end<789" // // Filter can be combined using AND boolean logic. The AND is represented // using a semi-colon(;). // // filter: "start>=89;end<=7430" Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*LocatedFeatureFilter) Descriptor
deprecated
func (*LocatedFeatureFilter) Descriptor() ([]byte, []int)
Deprecated: Use LocatedFeatureFilter.ProtoReflect.Descriptor instead.
func (*LocatedFeatureFilter) GetFeatureId ¶
func (x *LocatedFeatureFilter) GetFeatureId() string
func (*LocatedFeatureFilter) GetFilter ¶
func (x *LocatedFeatureFilter) GetFilter() string
func (*LocatedFeatureFilter) GetType ¶
func (x *LocatedFeatureFilter) GetType() string
func (*LocatedFeatureFilter) ProtoMessage ¶
func (*LocatedFeatureFilter) ProtoMessage()
func (*LocatedFeatureFilter) ProtoReflect ¶
func (x *LocatedFeatureFilter) ProtoReflect() protoreflect.Message
func (*LocatedFeatureFilter) Reset ¶
func (x *LocatedFeatureFilter) Reset()
func (*LocatedFeatureFilter) String ¶
func (x *LocatedFeatureFilter) String() string
func (*LocatedFeatureFilter) Validate ¶
func (this *LocatedFeatureFilter) Validate() error
type Meta ¶
type Meta struct { // A unique pointer to the next set of result in the collection. Set the // cursor value parameter to the value of next_cursor to retrieve the next // set of collection using the same method NextCursor int64 `protobuf:"varint,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // Maximum number of records that can be fetch per request Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Total number of records in the collection. Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
Metadata definition for traversing the collection
func (*Meta) Descriptor
deprecated
func (*Meta) GetNextCursor ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
type NewFeature ¶
type NewFeature struct { Data *NewFeature_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Definition for creating new feature
func (*NewFeature) Descriptor
deprecated
func (*NewFeature) Descriptor() ([]byte, []int)
Deprecated: Use NewFeature.ProtoReflect.Descriptor instead.
func (*NewFeature) GetData ¶
func (x *NewFeature) GetData() *NewFeature_Data
func (*NewFeature) ProtoMessage ¶
func (*NewFeature) ProtoMessage()
func (*NewFeature) ProtoReflect ¶
func (x *NewFeature) ProtoReflect() protoreflect.Message
func (*NewFeature) Reset ¶
func (x *NewFeature) Reset()
func (*NewFeature) String ¶
func (x *NewFeature) String() string
func (*NewFeature) Validate ¶
func (this *NewFeature) Validate() error
type NewFeatureAttributes ¶
type NewFeatureAttributes struct { // Short human readable textual name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Identifier of the user who created the feature CreatedBy int64 `protobuf:"varint,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Identifier of the user who updated the feature UpdatedBy int64 `protobuf:"varint,3,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Dbxrefs []*Dbxref `protobuf:"bytes,4,rep,name=dbxrefs,proto3" json:"dbxrefs,omitempty"` Organism *Organism `protobuf:"bytes,5,opt,name=organism,proto3" json:"organism,omitempty"` // Toggle the obsolete status IsObsolete bool `protobuf:"varint,6,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` // List of biological parent features Parents []*FeatureRelationship `protobuf:"bytes,7,rep,name=parents,proto3" json:"parents,omitempty"` // List of biological children feature Children []*FeatureRelationship `protobuf:"bytes,8,rep,name=children,proto3" json:"children,omitempty"` Location []*FeatureLocation `protobuf:"bytes,9,rep,name=location,proto3" json:"location,omitempty"` // Alternate list of names Synonyms []string `protobuf:"bytes,10,rep,name=synonyms,proto3" json:"synonyms,omitempty"` Publications []*Publication `protobuf:"bytes,11,rep,name=publications,proto3" json:"publications,omitempty"` // Indicates if the feature is generated(annotated) from the // result of an automated analysis IsAnalysis bool `protobuf:"varint,12,opt,name=is_analysis,json=isAnalysis,proto3" json:"is_analysis,omitempty"` // Version of this feature, it increase by 1 for the replacement Version int64 `protobuf:"varint,13,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Definition of various feature fields for creating new feature
func (*NewFeatureAttributes) Descriptor
deprecated
func (*NewFeatureAttributes) Descriptor() ([]byte, []int)
Deprecated: Use NewFeatureAttributes.ProtoReflect.Descriptor instead.
func (*NewFeatureAttributes) GetChildren ¶
func (x *NewFeatureAttributes) GetChildren() []*FeatureRelationship
func (*NewFeatureAttributes) GetCreatedBy ¶
func (x *NewFeatureAttributes) GetCreatedBy() int64
func (*NewFeatureAttributes) GetDbxrefs ¶
func (x *NewFeatureAttributes) GetDbxrefs() []*Dbxref
func (*NewFeatureAttributes) GetIsAnalysis ¶
func (x *NewFeatureAttributes) GetIsAnalysis() bool
func (*NewFeatureAttributes) GetIsObsolete ¶
func (x *NewFeatureAttributes) GetIsObsolete() bool
func (*NewFeatureAttributes) GetLocation ¶
func (x *NewFeatureAttributes) GetLocation() []*FeatureLocation
func (*NewFeatureAttributes) GetName ¶
func (x *NewFeatureAttributes) GetName() string
func (*NewFeatureAttributes) GetOrganism ¶
func (x *NewFeatureAttributes) GetOrganism() *Organism
func (*NewFeatureAttributes) GetParents ¶
func (x *NewFeatureAttributes) GetParents() []*FeatureRelationship
func (*NewFeatureAttributes) GetPublications ¶
func (x *NewFeatureAttributes) GetPublications() []*Publication
func (*NewFeatureAttributes) GetSynonyms ¶
func (x *NewFeatureAttributes) GetSynonyms() []string
func (*NewFeatureAttributes) GetUpdatedBy ¶
func (x *NewFeatureAttributes) GetUpdatedBy() int64
func (*NewFeatureAttributes) GetVersion ¶
func (x *NewFeatureAttributes) GetVersion() int64
func (*NewFeatureAttributes) ProtoMessage ¶
func (*NewFeatureAttributes) ProtoMessage()
func (*NewFeatureAttributes) ProtoReflect ¶
func (x *NewFeatureAttributes) ProtoReflect() protoreflect.Message
func (*NewFeatureAttributes) Reset ¶
func (x *NewFeatureAttributes) Reset()
func (*NewFeatureAttributes) String ¶
func (x *NewFeatureAttributes) String() string
func (*NewFeatureAttributes) Validate ¶
func (this *NewFeatureAttributes) Validate() error
type NewFeatureLocation ¶
type NewFeatureLocation struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` Location *FeatureLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
Definition for attaching a new location to a feature
func (*NewFeatureLocation) Descriptor
deprecated
func (*NewFeatureLocation) Descriptor() ([]byte, []int)
Deprecated: Use NewFeatureLocation.ProtoReflect.Descriptor instead.
func (*NewFeatureLocation) GetFeatureId ¶
func (x *NewFeatureLocation) GetFeatureId() string
func (*NewFeatureLocation) GetLocation ¶
func (x *NewFeatureLocation) GetLocation() *FeatureLocation
func (*NewFeatureLocation) ProtoMessage ¶
func (*NewFeatureLocation) ProtoMessage()
func (*NewFeatureLocation) ProtoReflect ¶
func (x *NewFeatureLocation) ProtoReflect() protoreflect.Message
func (*NewFeatureLocation) Reset ¶
func (x *NewFeatureLocation) Reset()
func (*NewFeatureLocation) String ¶
func (x *NewFeatureLocation) String() string
func (*NewFeatureLocation) Validate ¶
func (this *NewFeatureLocation) Validate() error
type NewFeature_Data ¶
type NewFeature_Data struct { // The biological type of feature, generally a sequence ontology term Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Attributes *NewFeatureAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*NewFeature_Data) Descriptor
deprecated
func (*NewFeature_Data) Descriptor() ([]byte, []int)
Deprecated: Use NewFeature_Data.ProtoReflect.Descriptor instead.
func (*NewFeature_Data) GetAttributes ¶
func (x *NewFeature_Data) GetAttributes() *NewFeatureAttributes
func (*NewFeature_Data) GetType ¶
func (x *NewFeature_Data) GetType() string
func (*NewFeature_Data) ProtoMessage ¶
func (*NewFeature_Data) ProtoMessage()
func (*NewFeature_Data) ProtoReflect ¶
func (x *NewFeature_Data) ProtoReflect() protoreflect.Message
func (*NewFeature_Data) Reset ¶
func (x *NewFeature_Data) Reset()
func (*NewFeature_Data) String ¶
func (x *NewFeature_Data) String() string
func (*NewFeature_Data) Validate ¶
func (this *NewFeature_Data) Validate() error
type Organism ¶
type Organism struct { // Taxon identifier TaxonId string `protobuf:"bytes,1,opt,name=taxon_id,json=taxonId,proto3" json:"taxon_id,omitempty"` // Organism genus Genus string `protobuf:"bytes,2,opt,name=genus,proto3" json:"genus,omitempty"` // Organism species Species string `protobuf:"bytes,3,opt,name=species,proto3" json:"species,omitempty"` CommonName string `protobuf:"bytes,4,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` // Taxonomic rank Rank string `protobuf:"bytes,5,opt,name=rank,proto3" json:"rank,omitempty"` // Scientific name ScientificName string `protobuf:"bytes,6,opt,name=scientific_name,json=scientificName,proto3" json:"scientific_name,omitempty"` // Strain name Strain string `protobuf:"bytes,7,opt,name=strain,proto3" json:"strain,omitempty"` // contains filtered or unexported fields }
Defintion of an organism entry
func (*Organism) Descriptor
deprecated
func (*Organism) GetCommonName ¶
func (*Organism) GetScientificName ¶
func (*Organism) GetSpecies ¶
func (*Organism) GetTaxonId ¶
func (*Organism) ProtoMessage ¶
func (*Organism) ProtoMessage()
func (*Organism) ProtoReflect ¶
func (x *Organism) ProtoReflect() protoreflect.Message
type PaginatedFeatureCollection ¶
type PaginatedFeatureCollection struct { Data []*FeatureData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
List of features with pagination
func (*PaginatedFeatureCollection) Descriptor
deprecated
func (*PaginatedFeatureCollection) Descriptor() ([]byte, []int)
Deprecated: Use PaginatedFeatureCollection.ProtoReflect.Descriptor instead.
func (*PaginatedFeatureCollection) GetData ¶
func (x *PaginatedFeatureCollection) GetData() []*FeatureData
func (*PaginatedFeatureCollection) GetMeta ¶
func (x *PaginatedFeatureCollection) GetMeta() *Meta
func (*PaginatedFeatureCollection) ProtoMessage ¶
func (*PaginatedFeatureCollection) ProtoMessage()
func (*PaginatedFeatureCollection) ProtoReflect ¶
func (x *PaginatedFeatureCollection) ProtoReflect() protoreflect.Message
func (*PaginatedFeatureCollection) Reset ¶
func (x *PaginatedFeatureCollection) Reset()
func (*PaginatedFeatureCollection) String ¶
func (x *PaginatedFeatureCollection) String() string
func (*PaginatedFeatureCollection) Validate ¶
func (this *PaginatedFeatureCollection) Validate() error
type Publication ¶
type Publication struct { // An identifier that refers to a publication PublicationId string `protobuf:"bytes,1,opt,name=publication_id,json=publicationId,proto3" json:"publication_id,omitempty"` // Source of this publication identifier Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
Container for linked publications
func (*Publication) Descriptor
deprecated
func (*Publication) Descriptor() ([]byte, []int)
Deprecated: Use Publication.ProtoReflect.Descriptor instead.
func (*Publication) GetPublicationId ¶
func (x *Publication) GetPublicationId() string
func (*Publication) GetSource ¶
func (x *Publication) GetSource() string
func (*Publication) ProtoMessage ¶
func (*Publication) ProtoMessage()
func (*Publication) ProtoReflect ¶
func (x *Publication) ProtoReflect() protoreflect.Message
func (*Publication) Reset ¶
func (x *Publication) Reset()
func (*Publication) String ¶
func (x *Publication) String() string
func (*Publication) Validate ¶
func (this *Publication) Validate() error
type ReferenceFeatureFilter ¶
type ReferenceFeatureFilter struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` // Used for feature with multiple locations, 0 is used as default. Rank int64 `protobuf:"varint,2,opt,name=rank,proto3" json:"rank,omitempty"` // contains filtered or unexported fields }
func (*ReferenceFeatureFilter) Descriptor
deprecated
func (*ReferenceFeatureFilter) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceFeatureFilter.ProtoReflect.Descriptor instead.
func (*ReferenceFeatureFilter) GetFeatureId ¶
func (x *ReferenceFeatureFilter) GetFeatureId() string
func (*ReferenceFeatureFilter) GetRank ¶
func (x *ReferenceFeatureFilter) GetRank() int64
func (*ReferenceFeatureFilter) ProtoMessage ¶
func (*ReferenceFeatureFilter) ProtoMessage()
func (*ReferenceFeatureFilter) ProtoReflect ¶
func (x *ReferenceFeatureFilter) ProtoReflect() protoreflect.Message
func (*ReferenceFeatureFilter) Reset ¶
func (x *ReferenceFeatureFilter) Reset()
func (*ReferenceFeatureFilter) String ¶
func (x *ReferenceFeatureFilter) String() string
func (*ReferenceFeatureFilter) Validate ¶
func (this *ReferenceFeatureFilter) Validate() error
type UnimplementedFeatureServiceServer ¶
type UnimplementedFeatureServiceServer struct { }
UnimplementedFeatureServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFeatureServiceServer) AddChildRelationship ¶
func (UnimplementedFeatureServiceServer) AddChildRelationship(context.Context, *FeatureConnection) (*Feature, error)
func (UnimplementedFeatureServiceServer) AddDbxref ¶
func (UnimplementedFeatureServiceServer) AddDbxref(context.Context, *FeatureDbxref) (*Feature, error)
func (UnimplementedFeatureServiceServer) AddParentalRelationship ¶
func (UnimplementedFeatureServiceServer) AddParentalRelationship(context.Context, *FeatureConnection) (*Feature, error)
func (UnimplementedFeatureServiceServer) AddPublication ¶
func (UnimplementedFeatureServiceServer) AddPublication(context.Context, *FeaturePublication) (*Feature, error)
func (UnimplementedFeatureServiceServer) AddSynonym ¶
func (UnimplementedFeatureServiceServer) AddSynonym(context.Context, *FeatureSynonym) (*Feature, error)
func (UnimplementedFeatureServiceServer) AttachLocation ¶
func (UnimplementedFeatureServiceServer) AttachLocation(context.Context, *NewFeatureLocation) (*Feature, error)
func (UnimplementedFeatureServiceServer) CreateFeature ¶
func (UnimplementedFeatureServiceServer) CreateFeature(context.Context, *NewFeature) (*Feature, error)
func (UnimplementedFeatureServiceServer) CreateOrganism ¶
func (UnimplementedFeatureServiceServer) DeleteChildRelationship ¶
func (UnimplementedFeatureServiceServer) DeleteChildRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) DeleteDbxref ¶
func (UnimplementedFeatureServiceServer) DeleteDbxref(context.Context, *FeatureDbxref) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) DeleteFeature ¶
func (UnimplementedFeatureServiceServer) DeleteParentalRelationship ¶
func (UnimplementedFeatureServiceServer) DeleteParentalRelationship(context.Context, *FeatureConnection) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) DeletePublication ¶
func (UnimplementedFeatureServiceServer) DeletePublication(context.Context, *FeaturePublication) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) DeleteSynonym ¶
func (UnimplementedFeatureServiceServer) DeleteSynonym(context.Context, *FeatureSynonym) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) DetachLocation ¶
func (UnimplementedFeatureServiceServer) DetachLocation(context.Context, *ReferenceFeatureFilter) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) GetChildren ¶
func (UnimplementedFeatureServiceServer) GetChildren(context.Context, *FeatureRelationFilter) (*FeatureCollection, error)
func (UnimplementedFeatureServiceServer) GetFeature ¶
func (UnimplementedFeatureServiceServer) GetLocatedFeatures ¶
func (UnimplementedFeatureServiceServer) GetLocatedFeatures(context.Context, *LocatedFeatureFilter) (*PaginatedFeatureCollection, error)
func (UnimplementedFeatureServiceServer) GetParents ¶
func (UnimplementedFeatureServiceServer) GetParents(context.Context, *FeatureRelationFilter) (*FeatureCollection, error)
func (UnimplementedFeatureServiceServer) GetReferenceFeature ¶
func (UnimplementedFeatureServiceServer) GetReferenceFeature(context.Context, *ReferenceFeatureFilter) (*Feature, error)
func (UnimplementedFeatureServiceServer) GetReferenceFeatures ¶
func (UnimplementedFeatureServiceServer) GetReferenceFeatures(context.Context, *FeatureId) (*FeatureCollection, error)
func (UnimplementedFeatureServiceServer) ListFeatures ¶
func (UnimplementedFeatureServiceServer) ListFeatures(context.Context, *ListParameters) (*PaginatedFeatureCollection, error)
func (UnimplementedFeatureServiceServer) RemoveNextFeatureHistory ¶
func (UnimplementedFeatureServiceServer) RemoveNextFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) RemovePrevFeatureHistory ¶
func (UnimplementedFeatureServiceServer) RemovePrevFeatureHistory(context.Context, *FeatureHistory) (*emptypb.Empty, error)
func (UnimplementedFeatureServiceServer) SetNextFeatureHistory ¶
func (UnimplementedFeatureServiceServer) SetNextFeatureHistory(context.Context, *FeatureHistory) (*Feature, error)
func (UnimplementedFeatureServiceServer) SetPrevFeatureHistory ¶
func (UnimplementedFeatureServiceServer) SetPrevFeatureHistory(context.Context, *FeatureHistory) (*Feature, error)
func (UnimplementedFeatureServiceServer) UpdateFeature ¶
func (UnimplementedFeatureServiceServer) UpdateFeature(context.Context, *FeatureUpdate) (*Feature, error)
type UnsafeFeatureServiceServer ¶
type UnsafeFeatureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFeatureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeatureServiceServer will result in compilation errors.