binary

package
v0.0.0-...-4a74ca9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Element.ProtoReflect.Descriptor instead.

func (*Element) GetC

func (x *Element) GetC() int64

func (*Element) GetH

func (x *Element) GetH() int64

func (*Element) GetN

func (x *Element) GetN() int64

func (*Element) GetO

func (x *Element) GetO() int64

func (*Element) GetS

func (x *Element) GetS() int64

func (*Element) ProtoMessage

func (*Element) ProtoMessage()

func (*Element) ProtoReflect

func (x *Element) ProtoReflect() protoreflect.Message

func (*Element) Reset

func (x *Element) Reset()

func (*Element) String

func (x *Element) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Traits.ProtoReflect.Descriptor instead.

func (*Traits) GetA

func (x *Traits) GetA() string

func (*Traits) GetB

func (x *Traits) GetB() string

func (*Traits) GetMagnetic_Field

func (x *Traits) GetMagnetic_Field() string

func (*Traits) ProtoMessage

func (*Traits) ProtoMessage()

func (*Traits) ProtoReflect

func (x *Traits) ProtoReflect() protoreflect.Message

func (*Traits) Reset

func (x *Traits) Reset()

func (*Traits) String

func (x *Traits) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL