Documentation
¶
Index ¶
- Variables
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetC() int64
- func (x *Element) GetH() int64
- func (x *Element) GetN() int64
- func (x *Element) GetO() int64
- func (x *Element) GetS() int64
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type Micromolecule
- func (*Micromolecule) Descriptor() ([]byte, []int)deprecated
- func (x *Micromolecule) GetAbundance() int64
- func (x *Micromolecule) GetComposition() *Element
- func (x *Micromolecule) GetMass() float64
- func (x *Micromolecule) GetMolecule() *Traits
- func (x *Micromolecule) GetSymbol() string
- func (*Micromolecule) ProtoMessage()
- func (x *Micromolecule) ProtoReflect() protoreflect.Message
- func (x *Micromolecule) Reset()
- func (x *Micromolecule) String() string
- type Traits
- func (*Traits) Descriptor() ([]byte, []int)deprecated
- func (x *Traits) GetA() string
- func (x *Traits) GetB() string
- func (x *Traits) GetMagnetic_Field() string
- func (*Traits) ProtoMessage()
- func (x *Traits) ProtoReflect() protoreflect.Message
- func (x *Traits) Reset()
- func (x *Traits) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_other_proteins_binary_binary_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct { // carbon C int64 `protobuf:"varint,1,opt,name=C,proto3" json:"C,omitempty"` // sulpfur S int64 `protobuf:"varint,2,opt,name=S,proto3" json:"S,omitempty"` // hydrogen H int64 `protobuf:"varint,3,opt,name=H,proto3" json:"H,omitempty"` // nitrogen N int64 `protobuf:"varint,4,opt,name=N,proto3" json:"N,omitempty"` // oxygen O int64 `protobuf:"varint,5,opt,name=O,proto3" json:"O,omitempty"` // contains filtered or unexported fields }
Element have all the resuide element which take part in marcomoleculaes
func (*Element) Descriptor
deprecated
func (*Element) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type Micromolecule ¶
type Micromolecule struct { Symbol string `protobuf:"bytes,1,opt,name=Symbol,proto3" json:"Symbol,omitempty"` Mass float64 `protobuf:"fixed64,2,opt,name=Mass,proto3" json:"Mass,omitempty"` Composition *Element `protobuf:"bytes,3,opt,name=Composition,proto3" json:"Composition,omitempty"` Molecule *Traits `protobuf:"bytes,4,opt,name=Molecule,proto3" json:"Molecule,omitempty"` Abundance int64 `protobuf:"varint,5,opt,name=Abundance,proto3" json:"Abundance,omitempty"` // contains filtered or unexported fields }
micromolecule is a subset of the marcomolecule
func (*Micromolecule) Descriptor
deprecated
func (*Micromolecule) Descriptor() ([]byte, []int)
Deprecated: Use Micromolecule.ProtoReflect.Descriptor instead.
func (*Micromolecule) GetAbundance ¶
func (x *Micromolecule) GetAbundance() int64
func (*Micromolecule) GetComposition ¶
func (x *Micromolecule) GetComposition() *Element
func (*Micromolecule) GetMass ¶
func (x *Micromolecule) GetMass() float64
func (*Micromolecule) GetMolecule ¶
func (x *Micromolecule) GetMolecule() *Traits
func (*Micromolecule) GetSymbol ¶
func (x *Micromolecule) GetSymbol() string
func (*Micromolecule) ProtoMessage ¶
func (*Micromolecule) ProtoMessage()
func (*Micromolecule) ProtoReflect ¶
func (x *Micromolecule) ProtoReflect() protoreflect.Message
func (*Micromolecule) Reset ¶
func (x *Micromolecule) Reset()
func (*Micromolecule) String ¶
func (x *Micromolecule) String() string
type Traits ¶
type Traits struct { // acidic_a = "A" A string `protobuf:"bytes,1,opt,name=A,proto3" json:"A,omitempty"` // acidic_b = "B" B string `protobuf:"bytes,2,opt,name=B,proto3" json:"B,omitempty"` // magnetic field Magnetic_Field string `protobuf:"bytes,3,opt,name=Magnetic_Field,json=MagneticField,proto3" json:"Magnetic_Field,omitempty"` // contains filtered or unexported fields }
func (*Traits) Descriptor
deprecated
func (*Traits) GetMagnetic_Field ¶
func (*Traits) ProtoMessage ¶
func (*Traits) ProtoMessage()
func (*Traits) ProtoReflect ¶
func (x *Traits) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.