Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterFeatureAnnotationServiceServer(s grpc.ServiceRegistrar, srv FeatureAnnotationServiceServer)
- func RegisterOrganismFeatureServiceServer(s grpc.ServiceRegistrar, srv OrganismFeatureServiceServer)
- 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 DeleteFeatureAnnotationRequest
- func (*DeleteFeatureAnnotationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFeatureAnnotationRequest) GetId() string
- func (x *DeleteFeatureAnnotationRequest) GetPurge() bool
- func (*DeleteFeatureAnnotationRequest) ProtoMessage()
- func (x *DeleteFeatureAnnotationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFeatureAnnotationRequest) Reset()
- func (x *DeleteFeatureAnnotationRequest) String() string
- func (this *DeleteFeatureAnnotationRequest) Validate() error
- type FeatureAnnotation
- func (*FeatureAnnotation) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureAnnotation) GetAttributes() *FeatureAnnotationAttributes
- func (x *FeatureAnnotation) GetCreatedAt() *timestamppb.Timestamp
- func (x *FeatureAnnotation) GetCreatedBy() string
- func (x *FeatureAnnotation) GetId() string
- func (x *FeatureAnnotation) GetIsObsolete() bool
- func (x *FeatureAnnotation) GetType() string
- func (x *FeatureAnnotation) GetUpdatedAt() *timestamppb.Timestamp
- func (x *FeatureAnnotation) GetUpdatedBy() string
- func (x *FeatureAnnotation) GetVersion() int64
- func (*FeatureAnnotation) ProtoMessage()
- func (x *FeatureAnnotation) ProtoReflect() protoreflect.Message
- func (x *FeatureAnnotation) Reset()
- func (x *FeatureAnnotation) String() string
- func (this *FeatureAnnotation) Validate() error
- type FeatureAnnotationAttributes
- func (*FeatureAnnotationAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureAnnotationAttributes) GetDbxrefs() []*Dbxref
- func (x *FeatureAnnotationAttributes) GetName() string
- func (x *FeatureAnnotationAttributes) GetPublications() []string
- func (x *FeatureAnnotationAttributes) GetPubmed() []string
- func (x *FeatureAnnotationAttributes) GetSynonyms() []string
- func (*FeatureAnnotationAttributes) ProtoMessage()
- func (x *FeatureAnnotationAttributes) ProtoReflect() protoreflect.Message
- func (x *FeatureAnnotationAttributes) Reset()
- func (x *FeatureAnnotationAttributes) String() string
- func (this *FeatureAnnotationAttributes) Validate() error
- type FeatureAnnotationId
- func (*FeatureAnnotationId) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureAnnotationId) GetId() string
- func (*FeatureAnnotationId) ProtoMessage()
- func (x *FeatureAnnotationId) ProtoReflect() protoreflect.Message
- func (x *FeatureAnnotationId) Reset()
- func (x *FeatureAnnotationId) String() string
- func (this *FeatureAnnotationId) Validate() error
- type FeatureAnnotationServiceClient
- type FeatureAnnotationServiceServer
- type FeatureAnnotationUpdate
- func (*FeatureAnnotationUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureAnnotationUpdate) GetAttributes() *FeatureAnnotationAttributes
- func (x *FeatureAnnotationUpdate) GetId() string
- func (x *FeatureAnnotationUpdate) GetIsObsolete() bool
- func (x *FeatureAnnotationUpdate) GetType() string
- func (x *FeatureAnnotationUpdate) GetUpdatedBy() string
- func (*FeatureAnnotationUpdate) ProtoMessage()
- func (x *FeatureAnnotationUpdate) ProtoReflect() protoreflect.Message
- func (x *FeatureAnnotationUpdate) Reset()
- func (x *FeatureAnnotationUpdate) String() string
- func (this *FeatureAnnotationUpdate) Validate() error
- type NewFeatureAnnotation
- func (*NewFeatureAnnotation) Descriptor() ([]byte, []int)deprecated
- func (x *NewFeatureAnnotation) GetAttributes() *FeatureAnnotationAttributes
- func (x *NewFeatureAnnotation) GetCreatedAt() *timestamppb.Timestamp
- func (x *NewFeatureAnnotation) GetCreatedBy() string
- func (x *NewFeatureAnnotation) GetIsObsolete() bool
- func (x *NewFeatureAnnotation) GetType() string
- func (x *NewFeatureAnnotation) GetUpdatedAt() *timestamppb.Timestamp
- func (x *NewFeatureAnnotation) GetVersion() int64
- func (*NewFeatureAnnotation) ProtoMessage()
- func (x *NewFeatureAnnotation) ProtoReflect() protoreflect.Message
- func (x *NewFeatureAnnotation) Reset()
- func (x *NewFeatureAnnotation) String() string
- func (this *NewFeatureAnnotation) Validate() error
- type OrganismFeatureLink
- func (*OrganismFeatureLink) Descriptor() ([]byte, []int)deprecated
- func (x *OrganismFeatureLink) GetFeatureId() string
- func (x *OrganismFeatureLink) GetOrganismId() int64
- func (*OrganismFeatureLink) ProtoMessage()
- func (x *OrganismFeatureLink) ProtoReflect() protoreflect.Message
- func (x *OrganismFeatureLink) Reset()
- func (x *OrganismFeatureLink) String() string
- func (this *OrganismFeatureLink) Validate() error
- type OrganismFeatureServiceClient
- type OrganismFeatureServiceServer
- type OrganismFeatureUpdate
- func (*OrganismFeatureUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *OrganismFeatureUpdate) GetFeatureId() string
- func (x *OrganismFeatureUpdate) GetNewOrganismId() int64
- func (*OrganismFeatureUpdate) ProtoMessage()
- func (x *OrganismFeatureUpdate) ProtoReflect() protoreflect.Message
- func (x *OrganismFeatureUpdate) Reset()
- func (x *OrganismFeatureUpdate) String() string
- func (this *OrganismFeatureUpdate) Validate() error
- type UnimplementedFeatureAnnotationServiceServer
- func (UnimplementedFeatureAnnotationServiceServer) CreateFeatureAnnotation(context.Context, *NewFeatureAnnotation) (*FeatureAnnotation, error)
- func (UnimplementedFeatureAnnotationServiceServer) DeleteFeatureAnnotation(context.Context, *DeleteFeatureAnnotationRequest) (*emptypb.Empty, error)
- func (UnimplementedFeatureAnnotationServiceServer) GetFeatureAnnotation(context.Context, *FeatureAnnotationId) (*FeatureAnnotation, error)
- func (UnimplementedFeatureAnnotationServiceServer) UpdateFeatureAnnotation(context.Context, *FeatureAnnotationUpdate) (*FeatureAnnotation, error)
- type UnimplementedOrganismFeatureServiceServer
- func (UnimplementedOrganismFeatureServiceServer) GetFeatureOrganism(context.Context, *FeatureAnnotationId) (*organism.Organism, error)
- func (UnimplementedOrganismFeatureServiceServer) LinkFeatureToOrganism(context.Context, *OrganismFeatureLink) (*emptypb.Empty, error)
- func (UnimplementedOrganismFeatureServiceServer) RemoveFeatureOrganism(context.Context, *FeatureAnnotationId) (*emptypb.Empty, error)
- func (UnimplementedOrganismFeatureServiceServer) UpdateFeatureOrganism(context.Context, *OrganismFeatureUpdate) (*emptypb.Empty, error)
- type UnsafeFeatureAnnotationServiceServer
- type UnsafeOrganismFeatureServiceServer
Constants ¶
const ( FeatureAnnotationService_CreateFeatureAnnotation_FullMethodName = "/dictybase.feature_annotation.FeatureAnnotationService/CreateFeatureAnnotation" FeatureAnnotationService_GetFeatureAnnotation_FullMethodName = "/dictybase.feature_annotation.FeatureAnnotationService/GetFeatureAnnotation" FeatureAnnotationService_UpdateFeatureAnnotation_FullMethodName = "/dictybase.feature_annotation.FeatureAnnotationService/UpdateFeatureAnnotation" FeatureAnnotationService_DeleteFeatureAnnotation_FullMethodName = "/dictybase.feature_annotation.FeatureAnnotationService/DeleteFeatureAnnotation" )
const ( OrganismFeatureService_LinkFeatureToOrganism_FullMethodName = "/dictybase.feature_annotation.OrganismFeatureService/LinkFeatureToOrganism" OrganismFeatureService_GetFeatureOrganism_FullMethodName = "/dictybase.feature_annotation.OrganismFeatureService/GetFeatureOrganism" OrganismFeatureService_UpdateFeatureOrganism_FullMethodName = "/dictybase.feature_annotation.OrganismFeatureService/UpdateFeatureOrganism" OrganismFeatureService_RemoveFeatureOrganism_FullMethodName = "/dictybase.feature_annotation.OrganismFeatureService/RemoveFeatureOrganism" )
Variables ¶
var FeatureAnnotationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dictybase.feature_annotation.FeatureAnnotationService", HandlerType: (*FeatureAnnotationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateFeatureAnnotation", Handler: _FeatureAnnotationService_CreateFeatureAnnotation_Handler, }, { MethodName: "GetFeatureAnnotation", Handler: _FeatureAnnotationService_GetFeatureAnnotation_Handler, }, { MethodName: "UpdateFeatureAnnotation", Handler: _FeatureAnnotationService_UpdateFeatureAnnotation_Handler, }, { MethodName: "DeleteFeatureAnnotation", Handler: _FeatureAnnotationService_DeleteFeatureAnnotation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dictybase/feature_annotation/feature_annotation.proto", }
FeatureAnnotationService_ServiceDesc is the grpc.ServiceDesc for FeatureAnnotationService 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_annotation_feature_annotation_organism_proto protoreflect.FileDescriptor
var File_dictybase_feature_annotation_feature_annotation_proto protoreflect.FileDescriptor
var OrganismFeatureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dictybase.feature_annotation.OrganismFeatureService", HandlerType: (*OrganismFeatureServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LinkFeatureToOrganism", Handler: _OrganismFeatureService_LinkFeatureToOrganism_Handler, }, { MethodName: "GetFeatureOrganism", Handler: _OrganismFeatureService_GetFeatureOrganism_Handler, }, { MethodName: "UpdateFeatureOrganism", Handler: _OrganismFeatureService_UpdateFeatureOrganism_Handler, }, { MethodName: "RemoveFeatureOrganism", Handler: _OrganismFeatureService_RemoveFeatureOrganism_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dictybase/feature_annotation/feature_annotation_organism.proto", }
OrganismFeatureService_ServiceDesc is the grpc.ServiceDesc for OrganismFeatureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFeatureAnnotationServiceServer ¶
func RegisterFeatureAnnotationServiceServer(s grpc.ServiceRegistrar, srv FeatureAnnotationServiceServer)
func RegisterOrganismFeatureServiceServer ¶
func RegisterOrganismFeatureServiceServer(s grpc.ServiceRegistrar, srv OrganismFeatureServiceServer)
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 DeleteFeatureAnnotationRequest ¶
type DeleteFeatureAnnotationRequest struct { // unique identifier for the feature annotation Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // flag to indicate whether the entry will be wiped or turned obsolete(soft delete) Purge bool `protobuf:"varint,2,opt,name=purge,proto3" json:"purge,omitempty"` // contains filtered or unexported fields }
func (*DeleteFeatureAnnotationRequest) Descriptor
deprecated
func (*DeleteFeatureAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeatureAnnotationRequest.ProtoReflect.Descriptor instead.
func (*DeleteFeatureAnnotationRequest) GetId ¶
func (x *DeleteFeatureAnnotationRequest) GetId() string
func (*DeleteFeatureAnnotationRequest) GetPurge ¶
func (x *DeleteFeatureAnnotationRequest) GetPurge() bool
func (*DeleteFeatureAnnotationRequest) ProtoMessage ¶
func (*DeleteFeatureAnnotationRequest) ProtoMessage()
func (*DeleteFeatureAnnotationRequest) ProtoReflect ¶
func (x *DeleteFeatureAnnotationRequest) ProtoReflect() protoreflect.Message
func (*DeleteFeatureAnnotationRequest) Reset ¶
func (x *DeleteFeatureAnnotationRequest) Reset()
func (*DeleteFeatureAnnotationRequest) String ¶
func (x *DeleteFeatureAnnotationRequest) String() string
func (*DeleteFeatureAnnotationRequest) Validate ¶
func (this *DeleteFeatureAnnotationRequest) Validate() error
type FeatureAnnotation ¶
type FeatureAnnotation struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Attributes *FeatureAnnotationAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // email id of the user who created the content CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // email id of the user who updated the content UpdatedBy string `protobuf:"bytes,5,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // Timestamp for creation and update CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Toggle the obsolete status IsObsolete bool `protobuf:"varint,8,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` // Version of this feature Version int64 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*FeatureAnnotation) Descriptor
deprecated
func (*FeatureAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use FeatureAnnotation.ProtoReflect.Descriptor instead.
func (*FeatureAnnotation) GetAttributes ¶
func (x *FeatureAnnotation) GetAttributes() *FeatureAnnotationAttributes
func (*FeatureAnnotation) GetCreatedAt ¶
func (x *FeatureAnnotation) GetCreatedAt() *timestamppb.Timestamp
func (*FeatureAnnotation) GetCreatedBy ¶
func (x *FeatureAnnotation) GetCreatedBy() string
func (*FeatureAnnotation) GetId ¶
func (x *FeatureAnnotation) GetId() string
func (*FeatureAnnotation) GetIsObsolete ¶
func (x *FeatureAnnotation) GetIsObsolete() bool
func (*FeatureAnnotation) GetType ¶
func (x *FeatureAnnotation) GetType() string
func (*FeatureAnnotation) GetUpdatedAt ¶
func (x *FeatureAnnotation) GetUpdatedAt() *timestamppb.Timestamp
func (*FeatureAnnotation) GetUpdatedBy ¶
func (x *FeatureAnnotation) GetUpdatedBy() string
func (*FeatureAnnotation) GetVersion ¶
func (x *FeatureAnnotation) GetVersion() int64
func (*FeatureAnnotation) ProtoMessage ¶
func (*FeatureAnnotation) ProtoMessage()
func (*FeatureAnnotation) ProtoReflect ¶
func (x *FeatureAnnotation) ProtoReflect() protoreflect.Message
func (*FeatureAnnotation) Reset ¶
func (x *FeatureAnnotation) Reset()
func (*FeatureAnnotation) String ¶
func (x *FeatureAnnotation) String() string
func (*FeatureAnnotation) Validate ¶
func (this *FeatureAnnotation) Validate() error
type FeatureAnnotationAttributes ¶
type FeatureAnnotationAttributes struct { // Short human readable textual name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Alternate list of names Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` // List of publications(doi identifiers) Publications []string `protobuf:"bytes,3,rep,name=publications,proto3" json:"publications,omitempty"` // List of pubmed id Pubmed []string `protobuf:"bytes,4,rep,name=pubmed,proto3" json:"pubmed,omitempty"` // Cross references to other databases Dbxrefs []*Dbxref `protobuf:"bytes,5,rep,name=dbxrefs,proto3" json:"dbxrefs,omitempty"` // contains filtered or unexported fields }
Common attributes for feature annotations
func (*FeatureAnnotationAttributes) Descriptor
deprecated
func (*FeatureAnnotationAttributes) Descriptor() ([]byte, []int)
Deprecated: Use FeatureAnnotationAttributes.ProtoReflect.Descriptor instead.
func (*FeatureAnnotationAttributes) GetDbxrefs ¶
func (x *FeatureAnnotationAttributes) GetDbxrefs() []*Dbxref
func (*FeatureAnnotationAttributes) GetName ¶
func (x *FeatureAnnotationAttributes) GetName() string
func (*FeatureAnnotationAttributes) GetPublications ¶
func (x *FeatureAnnotationAttributes) GetPublications() []string
func (*FeatureAnnotationAttributes) GetPubmed ¶
func (x *FeatureAnnotationAttributes) GetPubmed() []string
func (*FeatureAnnotationAttributes) GetSynonyms ¶
func (x *FeatureAnnotationAttributes) GetSynonyms() []string
func (*FeatureAnnotationAttributes) ProtoMessage ¶
func (*FeatureAnnotationAttributes) ProtoMessage()
func (*FeatureAnnotationAttributes) ProtoReflect ¶
func (x *FeatureAnnotationAttributes) ProtoReflect() protoreflect.Message
func (*FeatureAnnotationAttributes) Reset ¶
func (x *FeatureAnnotationAttributes) Reset()
func (*FeatureAnnotationAttributes) String ¶
func (x *FeatureAnnotationAttributes) String() string
func (*FeatureAnnotationAttributes) Validate ¶
func (this *FeatureAnnotationAttributes) Validate() error
type FeatureAnnotationId ¶
type FeatureAnnotationId struct { // unique identifier for the feature annotation Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeatureAnnotationId) Descriptor
deprecated
func (*FeatureAnnotationId) Descriptor() ([]byte, []int)
Deprecated: Use FeatureAnnotationId.ProtoReflect.Descriptor instead.
func (*FeatureAnnotationId) GetId ¶
func (x *FeatureAnnotationId) GetId() string
func (*FeatureAnnotationId) ProtoMessage ¶
func (*FeatureAnnotationId) ProtoMessage()
func (*FeatureAnnotationId) ProtoReflect ¶
func (x *FeatureAnnotationId) ProtoReflect() protoreflect.Message
func (*FeatureAnnotationId) Reset ¶
func (x *FeatureAnnotationId) Reset()
func (*FeatureAnnotationId) String ¶
func (x *FeatureAnnotationId) String() string
func (*FeatureAnnotationId) Validate ¶
func (this *FeatureAnnotationId) Validate() error
type FeatureAnnotationServiceClient ¶
type FeatureAnnotationServiceClient interface { // Create a feature annotation CreateFeatureAnnotation(ctx context.Context, in *NewFeatureAnnotation, opts ...grpc.CallOption) (*FeatureAnnotation, error) // Retrieves the specified feature annotation GetFeatureAnnotation(ctx context.Context, in *FeatureAnnotationId, opts ...grpc.CallOption) (*FeatureAnnotation, error) // Update an existing feature annotation UpdateFeatureAnnotation(ctx context.Context, in *FeatureAnnotationUpdate, opts ...grpc.CallOption) (*FeatureAnnotation, error) // Delete an existing feature annotation DeleteFeatureAnnotation(ctx context.Context, in *DeleteFeatureAnnotationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
FeatureAnnotationServiceClient is the client API for FeatureAnnotationService 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 NewFeatureAnnotationServiceClient ¶
func NewFeatureAnnotationServiceClient(cc grpc.ClientConnInterface) FeatureAnnotationServiceClient
type FeatureAnnotationServiceServer ¶
type FeatureAnnotationServiceServer interface { // Create a feature annotation CreateFeatureAnnotation(context.Context, *NewFeatureAnnotation) (*FeatureAnnotation, error) // Retrieves the specified feature annotation GetFeatureAnnotation(context.Context, *FeatureAnnotationId) (*FeatureAnnotation, error) // Update an existing feature annotation UpdateFeatureAnnotation(context.Context, *FeatureAnnotationUpdate) (*FeatureAnnotation, error) // Delete an existing feature annotation DeleteFeatureAnnotation(context.Context, *DeleteFeatureAnnotationRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
FeatureAnnotationServiceServer is the server API for FeatureAnnotationService service. All implementations must embed UnimplementedFeatureAnnotationServiceServer for forward compatibility
type FeatureAnnotationUpdate ¶
type FeatureAnnotationUpdate struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Attributes *FeatureAnnotationAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // email id of the user who updated the content UpdatedBy string `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // Toggle the obsolete status IsObsolete bool `protobuf:"varint,5,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` // contains filtered or unexported fields }
func (*FeatureAnnotationUpdate) Descriptor
deprecated
func (*FeatureAnnotationUpdate) Descriptor() ([]byte, []int)
Deprecated: Use FeatureAnnotationUpdate.ProtoReflect.Descriptor instead.
func (*FeatureAnnotationUpdate) GetAttributes ¶
func (x *FeatureAnnotationUpdate) GetAttributes() *FeatureAnnotationAttributes
func (*FeatureAnnotationUpdate) GetId ¶
func (x *FeatureAnnotationUpdate) GetId() string
func (*FeatureAnnotationUpdate) GetIsObsolete ¶
func (x *FeatureAnnotationUpdate) GetIsObsolete() bool
func (*FeatureAnnotationUpdate) GetType ¶
func (x *FeatureAnnotationUpdate) GetType() string
func (*FeatureAnnotationUpdate) GetUpdatedBy ¶
func (x *FeatureAnnotationUpdate) GetUpdatedBy() string
func (*FeatureAnnotationUpdate) ProtoMessage ¶
func (*FeatureAnnotationUpdate) ProtoMessage()
func (*FeatureAnnotationUpdate) ProtoReflect ¶
func (x *FeatureAnnotationUpdate) ProtoReflect() protoreflect.Message
func (*FeatureAnnotationUpdate) Reset ¶
func (x *FeatureAnnotationUpdate) Reset()
func (*FeatureAnnotationUpdate) String ¶
func (x *FeatureAnnotationUpdate) String() string
func (*FeatureAnnotationUpdate) Validate ¶
func (this *FeatureAnnotationUpdate) Validate() error
type NewFeatureAnnotation ¶
type NewFeatureAnnotation struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Attributes *FeatureAnnotationAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` // email id of the user who created the content CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_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"` // Toggle the obsolete status IsObsolete bool `protobuf:"varint,6,opt,name=is_obsolete,json=isObsolete,proto3" json:"is_obsolete,omitempty"` // Version of this feature Version int64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*NewFeatureAnnotation) Descriptor
deprecated
func (*NewFeatureAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use NewFeatureAnnotation.ProtoReflect.Descriptor instead.
func (*NewFeatureAnnotation) GetAttributes ¶
func (x *NewFeatureAnnotation) GetAttributes() *FeatureAnnotationAttributes
func (*NewFeatureAnnotation) GetCreatedAt ¶
func (x *NewFeatureAnnotation) GetCreatedAt() *timestamppb.Timestamp
func (*NewFeatureAnnotation) GetCreatedBy ¶
func (x *NewFeatureAnnotation) GetCreatedBy() string
func (*NewFeatureAnnotation) GetIsObsolete ¶
func (x *NewFeatureAnnotation) GetIsObsolete() bool
func (*NewFeatureAnnotation) GetType ¶
func (x *NewFeatureAnnotation) GetType() string
func (*NewFeatureAnnotation) GetUpdatedAt ¶
func (x *NewFeatureAnnotation) GetUpdatedAt() *timestamppb.Timestamp
func (*NewFeatureAnnotation) GetVersion ¶
func (x *NewFeatureAnnotation) GetVersion() int64
func (*NewFeatureAnnotation) ProtoMessage ¶
func (*NewFeatureAnnotation) ProtoMessage()
func (*NewFeatureAnnotation) ProtoReflect ¶
func (x *NewFeatureAnnotation) ProtoReflect() protoreflect.Message
func (*NewFeatureAnnotation) Reset ¶
func (x *NewFeatureAnnotation) Reset()
func (*NewFeatureAnnotation) String ¶
func (x *NewFeatureAnnotation) String() string
func (*NewFeatureAnnotation) Validate ¶
func (this *NewFeatureAnnotation) Validate() error
type OrganismFeatureLink ¶
type OrganismFeatureLink struct { OrganismId int64 `protobuf:"varint,1,opt,name=organism_id,json=organismId,proto3" json:"organism_id,omitempty"` FeatureId string `protobuf:"bytes,2,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` // contains filtered or unexported fields }
Message for linking feature to organism
func (*OrganismFeatureLink) Descriptor
deprecated
func (*OrganismFeatureLink) Descriptor() ([]byte, []int)
Deprecated: Use OrganismFeatureLink.ProtoReflect.Descriptor instead.
func (*OrganismFeatureLink) GetFeatureId ¶
func (x *OrganismFeatureLink) GetFeatureId() string
func (*OrganismFeatureLink) GetOrganismId ¶
func (x *OrganismFeatureLink) GetOrganismId() int64
func (*OrganismFeatureLink) ProtoMessage ¶
func (*OrganismFeatureLink) ProtoMessage()
func (*OrganismFeatureLink) ProtoReflect ¶
func (x *OrganismFeatureLink) ProtoReflect() protoreflect.Message
func (*OrganismFeatureLink) Reset ¶
func (x *OrganismFeatureLink) Reset()
func (*OrganismFeatureLink) String ¶
func (x *OrganismFeatureLink) String() string
func (*OrganismFeatureLink) Validate ¶
func (this *OrganismFeatureLink) Validate() error
type OrganismFeatureServiceClient ¶
type OrganismFeatureServiceClient interface { // Link a feature annotation to an organism LinkFeatureToOrganism(ctx context.Context, in *OrganismFeatureLink, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get organism for a feature GetFeatureOrganism(ctx context.Context, in *FeatureAnnotationId, opts ...grpc.CallOption) (*organism.Organism, error) // Update feature's organism link UpdateFeatureOrganism(ctx context.Context, in *OrganismFeatureUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) // Remove feature's organism link RemoveFeatureOrganism(ctx context.Context, in *FeatureAnnotationId, opts ...grpc.CallOption) (*emptypb.Empty, error) }
OrganismFeatureServiceClient is the client API for OrganismFeatureService 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 NewOrganismFeatureServiceClient ¶
func NewOrganismFeatureServiceClient(cc grpc.ClientConnInterface) OrganismFeatureServiceClient
type OrganismFeatureServiceServer ¶
type OrganismFeatureServiceServer interface { // Link a feature annotation to an organism LinkFeatureToOrganism(context.Context, *OrganismFeatureLink) (*emptypb.Empty, error) // Get organism for a feature GetFeatureOrganism(context.Context, *FeatureAnnotationId) (*organism.Organism, error) // Update feature's organism link UpdateFeatureOrganism(context.Context, *OrganismFeatureUpdate) (*emptypb.Empty, error) // Remove feature's organism link RemoveFeatureOrganism(context.Context, *FeatureAnnotationId) (*emptypb.Empty, error) // contains filtered or unexported methods }
OrganismFeatureServiceServer is the server API for OrganismFeatureService service. All implementations must embed UnimplementedOrganismFeatureServiceServer for forward compatibility
type OrganismFeatureUpdate ¶
type OrganismFeatureUpdate struct { FeatureId string `protobuf:"bytes,1,opt,name=feature_id,json=featureId,proto3" json:"feature_id,omitempty"` NewOrganismId int64 `protobuf:"varint,2,opt,name=new_organism_id,json=newOrganismId,proto3" json:"new_organism_id,omitempty"` // contains filtered or unexported fields }
Message for updating organism-feature relationship
func (*OrganismFeatureUpdate) Descriptor
deprecated
func (*OrganismFeatureUpdate) Descriptor() ([]byte, []int)
Deprecated: Use OrganismFeatureUpdate.ProtoReflect.Descriptor instead.
func (*OrganismFeatureUpdate) GetFeatureId ¶
func (x *OrganismFeatureUpdate) GetFeatureId() string
func (*OrganismFeatureUpdate) GetNewOrganismId ¶
func (x *OrganismFeatureUpdate) GetNewOrganismId() int64
func (*OrganismFeatureUpdate) ProtoMessage ¶
func (*OrganismFeatureUpdate) ProtoMessage()
func (*OrganismFeatureUpdate) ProtoReflect ¶
func (x *OrganismFeatureUpdate) ProtoReflect() protoreflect.Message
func (*OrganismFeatureUpdate) Reset ¶
func (x *OrganismFeatureUpdate) Reset()
func (*OrganismFeatureUpdate) String ¶
func (x *OrganismFeatureUpdate) String() string
func (*OrganismFeatureUpdate) Validate ¶
func (this *OrganismFeatureUpdate) Validate() error
type UnimplementedFeatureAnnotationServiceServer ¶
type UnimplementedFeatureAnnotationServiceServer struct { }
UnimplementedFeatureAnnotationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFeatureAnnotationServiceServer) CreateFeatureAnnotation ¶
func (UnimplementedFeatureAnnotationServiceServer) CreateFeatureAnnotation(context.Context, *NewFeatureAnnotation) (*FeatureAnnotation, error)
func (UnimplementedFeatureAnnotationServiceServer) DeleteFeatureAnnotation ¶
func (UnimplementedFeatureAnnotationServiceServer) DeleteFeatureAnnotation(context.Context, *DeleteFeatureAnnotationRequest) (*emptypb.Empty, error)
func (UnimplementedFeatureAnnotationServiceServer) GetFeatureAnnotation ¶
func (UnimplementedFeatureAnnotationServiceServer) GetFeatureAnnotation(context.Context, *FeatureAnnotationId) (*FeatureAnnotation, error)
func (UnimplementedFeatureAnnotationServiceServer) UpdateFeatureAnnotation ¶
func (UnimplementedFeatureAnnotationServiceServer) UpdateFeatureAnnotation(context.Context, *FeatureAnnotationUpdate) (*FeatureAnnotation, error)
type UnimplementedOrganismFeatureServiceServer ¶
type UnimplementedOrganismFeatureServiceServer struct { }
UnimplementedOrganismFeatureServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrganismFeatureServiceServer) GetFeatureOrganism ¶
func (UnimplementedOrganismFeatureServiceServer) GetFeatureOrganism(context.Context, *FeatureAnnotationId) (*organism.Organism, error)
func (UnimplementedOrganismFeatureServiceServer) LinkFeatureToOrganism ¶
func (UnimplementedOrganismFeatureServiceServer) LinkFeatureToOrganism(context.Context, *OrganismFeatureLink) (*emptypb.Empty, error)
func (UnimplementedOrganismFeatureServiceServer) RemoveFeatureOrganism ¶
func (UnimplementedOrganismFeatureServiceServer) RemoveFeatureOrganism(context.Context, *FeatureAnnotationId) (*emptypb.Empty, error)
func (UnimplementedOrganismFeatureServiceServer) UpdateFeatureOrganism ¶
func (UnimplementedOrganismFeatureServiceServer) UpdateFeatureOrganism(context.Context, *OrganismFeatureUpdate) (*emptypb.Empty, error)
type UnsafeFeatureAnnotationServiceServer ¶
type UnsafeFeatureAnnotationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFeatureAnnotationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeatureAnnotationServiceServer will result in compilation errors.
type UnsafeOrganismFeatureServiceServer ¶
type UnsafeOrganismFeatureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganismFeatureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganismFeatureServiceServer will result in compilation errors.