proto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2017 License: MIT Imports: 9 Imported by: 0

README

The github.com/ericsage/cxmate/proto package is generated from the cxmate.proto file.

To generate it, you need the protoc v3 and the protoc-gen-go tools.

Download the protoc build (version 3.x) for your platform and put it in your PATH.

https://github.com/google/protobuf/releases

Use 'go get' to install the latest protoc-gen-go (v4 at time of writing):

$ go get -u github.com/golang/protobuf/protoc-gen-go

Then, run the following from this directory to re-generate the package:

$ protoc -I=. cxmate.proto --go_out=plugins=grpc:.

If you encounter unexpected diffs, such as changes to the "ProtoPackageIsVersion3" constants, then you may be using the wrong versions of protoc or protoc-gen-go. To debug, run 'which protoc' and 'which protoc-gen-go' and check that the commands in your path are the ones you just installed.

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

cxmate.proto

It has these top-level messages:

NetworkElement
Parameter
Error
Node
Edge
NodeAttribute
EdgeAttribute
NetworkAttribute
CartesianCoordinate
CyGroup
CyView
CyVisualProperty
CyHiddenAttribute
CyNetworkRelation
CySubNetwork
CyTableColumn
NdexStatus
Citation
CitationAttribute
NodeCitations
EdgeCitations
Support
SupportAttribute
NodeSupportance
EdgeSupportance
FunctionTerm
ReifiedEdge

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAspectName

func GetAspectName(e *NetworkElement) string

func NetworkElementToJSON

func NetworkElementToJSON(w io.Writer, e *NetworkElement) error

func RegisterCxMateServiceServer

func RegisterCxMateServiceServer(s *grpc.Server, srv CxMateServiceServer)

Types

type CartesianCoordinate

type CartesianCoordinate struct {
	NodeId int64   `protobuf:"varint,1,opt,name=nodeId,json=node" json:"nodeId,omitempty"`
	X      float64 `protobuf:"fixed64,2,opt,name=x" json:"x,omitempty"`
	Y      float64 `protobuf:"fixed64,3,opt,name=y" json:"y,omitempty"`
	Z      float64 `protobuf:"fixed64,4,opt,name=z" json:"z,omitempty"`
	ViewId int64   `protobuf:"varint,5,opt,name=viewId,json=view" json:"viewId,omitempty"`
}

aspect: cartesianLayout CartesianCoordinate represents an (x,y,(z)) coordinate attached to a node.

func (*CartesianCoordinate) Descriptor

func (*CartesianCoordinate) Descriptor() ([]byte, []int)

func (*CartesianCoordinate) GetNodeId

func (m *CartesianCoordinate) GetNodeId() int64

func (*CartesianCoordinate) GetViewId

func (m *CartesianCoordinate) GetViewId() int64

func (*CartesianCoordinate) GetX

func (m *CartesianCoordinate) GetX() float64

func (*CartesianCoordinate) GetY

func (m *CartesianCoordinate) GetY() float64

func (*CartesianCoordinate) GetZ

func (m *CartesianCoordinate) GetZ() float64

func (*CartesianCoordinate) ProtoMessage

func (*CartesianCoordinate) ProtoMessage()

func (*CartesianCoordinate) Reset

func (m *CartesianCoordinate) Reset()

func (*CartesianCoordinate) String

func (m *CartesianCoordinate) String() string

type Citation

type Citation struct {
	Id          string               `protobuf:"bytes,1,opt,name=id,json=@id" json:"id,omitempty"`
	Title       string               `protobuf:"bytes,2,opt,name=title,json=dc:title" json:"title,omitempty"`
	Description string               `protobuf:"bytes,3,opt,name=description,json=dc:description" json:"description,omitempty"`
	Contributor string               `protobuf:"bytes,4,opt,name=contributor,json=dc:contributor" json:"contributor,omitempty"`
	Identifier  string               `protobuf:"bytes,5,opt,name=identifier,json=dc:identifier" json:"identifier,omitempty"`
	Type        string               `protobuf:"bytes,6,opt,name=type,json=dc:type" json:"type,omitempty"`
	Attributes  []*CitationAttribute `protobuf:"bytes,7,rep,name=attributes" json:"attributes,omitempty"`
}

aspect: citations Citation specifies a literature reference to a network.

func (*Citation) Descriptor

func (*Citation) Descriptor() ([]byte, []int)

func (*Citation) GetAttributes

func (m *Citation) GetAttributes() []*CitationAttribute

func (*Citation) GetContributor

func (m *Citation) GetContributor() string

func (*Citation) GetDescription

func (m *Citation) GetDescription() string

func (*Citation) GetId

func (m *Citation) GetId() string

func (*Citation) GetIdentifier

func (m *Citation) GetIdentifier() string

func (*Citation) GetTitle

func (m *Citation) GetTitle() string

func (*Citation) GetType

func (m *Citation) GetType() string

func (*Citation) ProtoMessage

func (*Citation) ProtoMessage()

func (*Citation) Reset

func (m *Citation) Reset()

func (*Citation) String

func (m *Citation) String() string

type CitationAttribute

type CitationAttribute struct {
	Name  string `protobuf:"bytes,1,opt,name=name,json=n" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,json=v" json:"value,omitempty"`
	Type  string `protobuf:"bytes,3,opt,name=type,json=t" json:"type,omitempty"`
}

CitationAttribute holds an attribute of a citation.

func (*CitationAttribute) Descriptor

func (*CitationAttribute) Descriptor() ([]byte, []int)

func (*CitationAttribute) GetName

func (m *CitationAttribute) GetName() string

func (*CitationAttribute) GetType

func (m *CitationAttribute) GetType() string

func (*CitationAttribute) GetValue

func (m *CitationAttribute) GetValue() string

func (*CitationAttribute) ProtoMessage

func (*CitationAttribute) ProtoMessage()

func (*CitationAttribute) Reset

func (m *CitationAttribute) Reset()

func (*CitationAttribute) String

func (m *CitationAttribute) String() string

type CxMateServiceClient

type CxMateServiceClient interface {
	// StreamNetworks transfers one or more networks to and from the service.
	StreamNetworks(ctx context.Context, opts ...grpc.CallOption) (CxMateService_StreamNetworksClient, error)
}

func NewCxMateServiceClient

func NewCxMateServiceClient(cc *grpc.ClientConn) CxMateServiceClient

type CxMateServiceServer

type CxMateServiceServer interface {
	// StreamNetworks transfers one or more networks to and from the service.
	StreamNetworks(CxMateService_StreamNetworksServer) error
}

type CxMateService_StreamNetworksClient

type CxMateService_StreamNetworksClient interface {
	Send(*NetworkElement) error
	Recv() (*NetworkElement, error)
	grpc.ClientStream
}

type CxMateService_StreamNetworksServer

type CxMateService_StreamNetworksServer interface {
	Send(*NetworkElement) error
	Recv() (*NetworkElement, error)
	grpc.ServerStream
}

type CyGroup

type CyGroup struct {
	Id            int64   `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	View          int64   `protobuf:"varint,2,opt,name=view" json:"view,omitempty"`
	Name          string  `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Nodes         []int64 `protobuf:"varint,4,rep,packed,name=nodes" json:"nodes,omitempty"`
	ExternalEdges []int64 `protobuf:"varint,5,rep,packed,name=externalEdges,json=external_edge" json:"externalEdges,omitempty"`
	InternalEdges []int64 `protobuf:"varint,6,rep,packed,name=internalEdges,json=internal_edges" json:"internalEdges,omitempty"`
}

aspect: cyGroups CyGroup represents a Cytoscape group.

func (*CyGroup) Descriptor

func (*CyGroup) Descriptor() ([]byte, []int)

func (*CyGroup) GetExternalEdges

func (m *CyGroup) GetExternalEdges() []int64

func (*CyGroup) GetId

func (m *CyGroup) GetId() int64

func (*CyGroup) GetInternalEdges

func (m *CyGroup) GetInternalEdges() []int64

func (*CyGroup) GetName

func (m *CyGroup) GetName() string

func (*CyGroup) GetNodes

func (m *CyGroup) GetNodes() []int64

func (*CyGroup) GetView

func (m *CyGroup) GetView() int64

func (*CyGroup) ProtoMessage

func (*CyGroup) ProtoMessage()

func (*CyGroup) Reset

func (m *CyGroup) Reset()

func (*CyGroup) String

func (m *CyGroup) String() string

type CyHiddenAttribute

type CyHiddenAttribute struct {
	Name     string `protobuf:"bytes,1,opt,name=name,json=n" json:"name,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=value,json=v" json:"value,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=type,json=d" json:"type,omitempty"`
	SubnetId int64  `protobuf:"varint,4,opt,name=subnetId,json=s" json:"subnetId,omitempty"`
}

aspect: cyHiddenAttributes CyHiddenAttribute represents a Cytoscape hidden attribute.

func (*CyHiddenAttribute) Descriptor

func (*CyHiddenAttribute) Descriptor() ([]byte, []int)

func (*CyHiddenAttribute) GetName

func (m *CyHiddenAttribute) GetName() string

func (*CyHiddenAttribute) GetSubnetId

func (m *CyHiddenAttribute) GetSubnetId() int64

func (*CyHiddenAttribute) GetType

func (m *CyHiddenAttribute) GetType() string

func (*CyHiddenAttribute) GetValue

func (m *CyHiddenAttribute) GetValue() string

func (*CyHiddenAttribute) ProtoMessage

func (*CyHiddenAttribute) ProtoMessage()

func (*CyHiddenAttribute) Reset

func (m *CyHiddenAttribute) Reset()

func (*CyHiddenAttribute) String

func (m *CyHiddenAttribute) String() string

type CyNetworkRelation

type CyNetworkRelation struct {
	ParentId     int64  `protobuf:"varint,1,opt,name=parentId,json=p" json:"parentId,omitempty"`
	ChildId      int64  `protobuf:"varint,2,opt,name=childId,json=c" json:"childId,omitempty"`
	Relationship string `protobuf:"bytes,3,opt,name=relationship,json=r" json:"relationship,omitempty"`
	Name         string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
}

aspect: cyNetworkRelations CyNetworkRelation represents a relationship between two Cytoscape networks.

func (*CyNetworkRelation) Descriptor

func (*CyNetworkRelation) Descriptor() ([]byte, []int)

func (*CyNetworkRelation) GetChildId

func (m *CyNetworkRelation) GetChildId() int64

func (*CyNetworkRelation) GetName

func (m *CyNetworkRelation) GetName() string

func (*CyNetworkRelation) GetParentId

func (m *CyNetworkRelation) GetParentId() int64

func (*CyNetworkRelation) GetRelationship

func (m *CyNetworkRelation) GetRelationship() string

func (*CyNetworkRelation) ProtoMessage

func (*CyNetworkRelation) ProtoMessage()

func (*CyNetworkRelation) Reset

func (m *CyNetworkRelation) Reset()

func (*CyNetworkRelation) String

func (m *CyNetworkRelation) String() string

type CySubNetwork

type CySubNetwork struct {
	Id    int64   `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	Edges []int64 `protobuf:"varint,2,rep,packed,name=edges" json:"edges,omitempty"`
	Nodes []int64 `protobuf:"varint,3,rep,packed,name=nodes" json:"nodes,omitempty"`
}

aspect: cySubNetworks CySubNetwork represents a Cytoscape collection subnetwork.

func (*CySubNetwork) Descriptor

func (*CySubNetwork) Descriptor() ([]byte, []int)

func (*CySubNetwork) GetEdges

func (m *CySubNetwork) GetEdges() []int64

func (*CySubNetwork) GetId

func (m *CySubNetwork) GetId() int64

func (*CySubNetwork) GetNodes

func (m *CySubNetwork) GetNodes() []int64

func (*CySubNetwork) ProtoMessage

func (*CySubNetwork) ProtoMessage()

func (*CySubNetwork) Reset

func (m *CySubNetwork) Reset()

func (*CySubNetwork) String

func (m *CySubNetwork) String() string

type CyTableColumn

type CyTableColumn struct {
	Name     string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Owner    string `protobuf:"bytes,3,opt,name=owner" json:"owner,omitempty"`
	SubnetId int64  `protobuf:"varint,4,opt,name=subnetId,json=applies_to" json:"subnetId,omitempty"`
}

aspect: cyTableColumns CyTableColumn represents a Cytoscape column.

func (*CyTableColumn) Descriptor

func (*CyTableColumn) Descriptor() ([]byte, []int)

func (*CyTableColumn) GetName

func (m *CyTableColumn) GetName() string

func (*CyTableColumn) GetOwner

func (m *CyTableColumn) GetOwner() string

func (*CyTableColumn) GetSubnetId

func (m *CyTableColumn) GetSubnetId() int64

func (*CyTableColumn) GetType

func (m *CyTableColumn) GetType() string

func (*CyTableColumn) ProtoMessage

func (*CyTableColumn) ProtoMessage()

func (*CyTableColumn) Reset

func (m *CyTableColumn) Reset()

func (*CyTableColumn) String

func (m *CyTableColumn) String() string

type CyView

type CyView struct {
	Id       int64 `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	SubnetId int64 `protobuf:"varint,2,opt,name=subnetId,json=s" json:"subnetId,omitempty"`
}

aspect: cyViews CyView represents a Cytoscape view.

func (*CyView) Descriptor

func (*CyView) Descriptor() ([]byte, []int)

func (*CyView) GetId

func (m *CyView) GetId() int64

func (*CyView) GetSubnetId

func (m *CyView) GetSubnetId() int64

func (*CyView) ProtoMessage

func (*CyView) ProtoMessage()

func (*CyView) Reset

func (m *CyView) Reset()

func (*CyView) String

func (m *CyView) String() string

type CyVisualProperty

type CyVisualProperty struct {
	Owner        string            `protobuf:"bytes,1,opt,name=owner,json=properties_of" json:"owner,omitempty"`
	OwnerId      int64             `protobuf:"varint,2,opt,name=ownerId,json=applies_to" json:"ownerId,omitempty"`
	View         int64             `protobuf:"varint,4,opt,name=view" json:"view,omitempty"`
	Properties   map[string]string `` /* 140-byte string literal not displayed */
	Dependencies map[string]string `` /* 144-byte string literal not displayed */
	Mappings     map[string][]byte `` /* 143-byte string literal not displayed */
}

aspect: cyVisualProperties CyVisualProperty represents a Cytoscape visual property.

func (*CyVisualProperty) Descriptor

func (*CyVisualProperty) Descriptor() ([]byte, []int)

func (*CyVisualProperty) GetDependencies

func (m *CyVisualProperty) GetDependencies() map[string]string

func (*CyVisualProperty) GetMappings

func (m *CyVisualProperty) GetMappings() map[string][]byte

func (*CyVisualProperty) GetOwner

func (m *CyVisualProperty) GetOwner() string

func (*CyVisualProperty) GetOwnerId

func (m *CyVisualProperty) GetOwnerId() int64

func (*CyVisualProperty) GetProperties

func (m *CyVisualProperty) GetProperties() map[string]string

func (*CyVisualProperty) GetView

func (m *CyVisualProperty) GetView() int64

func (*CyVisualProperty) ProtoMessage

func (*CyVisualProperty) ProtoMessage()

func (*CyVisualProperty) Reset

func (m *CyVisualProperty) Reset()

func (*CyVisualProperty) String

func (m *CyVisualProperty) String() string

type Edge

type Edge struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	SourceId    int64  `protobuf:"varint,2,opt,name=sourceId,json=s" json:"sourceId,omitempty"`
	TargetId    int64  `protobuf:"varint,3,opt,name=targetId,json=t" json:"targetId,omitempty"`
	Interaction string `protobuf:"bytes,4,opt,name=interaction,json=i" json:"interaction,omitempty"`
}

aspect: edge Edge represents a single edge in a network.

func (*Edge) Descriptor

func (*Edge) Descriptor() ([]byte, []int)

func (*Edge) GetId

func (m *Edge) GetId() int64

func (*Edge) GetInteraction

func (m *Edge) GetInteraction() string

func (*Edge) GetSourceId

func (m *Edge) GetSourceId() int64

func (*Edge) GetTargetId

func (m *Edge) GetTargetId() int64

func (*Edge) ProtoMessage

func (*Edge) ProtoMessage()

func (*Edge) Reset

func (m *Edge) Reset()

func (*Edge) String

func (m *Edge) String() string

type EdgeAttribute

type EdgeAttribute struct {
	EdgeId   int64  `protobuf:"varint,1,opt,name=edgeId,json=po" json:"edgeId,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,json=n" json:"name,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,json=v" json:"value,omitempty"`
	Type     string `protobuf:"bytes,4,opt,name=type,json=d" json:"type,omitempty"`
	SubnetId int64  `protobuf:"varint,5,opt,name=subnetId,json=s" json:"subnetId,omitempty"`
}

aspect: edgeAttribute EdgeAttribute represents a single attribute attached to an edge.

func (*EdgeAttribute) Descriptor

func (*EdgeAttribute) Descriptor() ([]byte, []int)

func (*EdgeAttribute) GetEdgeId

func (m *EdgeAttribute) GetEdgeId() int64

func (*EdgeAttribute) GetName

func (m *EdgeAttribute) GetName() string

func (*EdgeAttribute) GetSubnetId

func (m *EdgeAttribute) GetSubnetId() int64

func (*EdgeAttribute) GetType

func (m *EdgeAttribute) GetType() string

func (*EdgeAttribute) GetValue

func (m *EdgeAttribute) GetValue() string

func (*EdgeAttribute) ProtoMessage

func (*EdgeAttribute) ProtoMessage()

func (*EdgeAttribute) Reset

func (m *EdgeAttribute) Reset()

func (*EdgeAttribute) String

func (m *EdgeAttribute) String() string

type EdgeCitations

type EdgeCitations struct {
	Edges     []int64 `protobuf:"varint,1,rep,packed,name=edges,json=citations" json:"edges,omitempty"`
	Citations []int64 `protobuf:"varint,2,rep,packed,name=citations,json=po" json:"citations,omitempty"`
}

aspect: edgeCitations EdgeCitations creates a series of edges to citations mappings.

func (*EdgeCitations) Descriptor

func (*EdgeCitations) Descriptor() ([]byte, []int)

func (*EdgeCitations) GetCitations

func (m *EdgeCitations) GetCitations() []int64

func (*EdgeCitations) GetEdges

func (m *EdgeCitations) GetEdges() []int64

func (*EdgeCitations) ProtoMessage

func (*EdgeCitations) ProtoMessage()

func (*EdgeCitations) Reset

func (m *EdgeCitations) Reset()

func (*EdgeCitations) String

func (m *EdgeCitations) String() string

type EdgeSupportance

type EdgeSupportance struct {
	Edges       []int64 `protobuf:"varint,1,rep,packed,name=edges" json:"edges,omitempty"`
	Supportance []int64 `protobuf:"varint,2,rep,packed,name=supportance,json=po" json:"supportance,omitempty"`
}

aspect: edgeSupports EdgeSupportance provides supportance for a series of edges.

func (*EdgeSupportance) Descriptor

func (*EdgeSupportance) Descriptor() ([]byte, []int)

func (*EdgeSupportance) GetEdges

func (m *EdgeSupportance) GetEdges() []int64

func (*EdgeSupportance) GetSupportance

func (m *EdgeSupportance) GetSupportance() []int64

func (*EdgeSupportance) ProtoMessage

func (*EdgeSupportance) ProtoMessage()

func (*EdgeSupportance) Reset

func (m *EdgeSupportance) Reset()

func (*EdgeSupportance) String

func (m *EdgeSupportance) String() string

type Error

type Error struct {
	Status  int64  `protobuf:"varint,1,opt,name=status" json:"status,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	Link    string `protobuf:"bytes,4,opt,name=link" json:"link,omitempty"`
}

Error represents a service error.

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)
func (m *Error) GetLink() string

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetStatus

func (m *Error) GetStatus() int64

func (*Error) GetType

func (m *Error) GetType() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

type FunctionTerm

type FunctionTerm struct {
	NodeId    int64    `protobuf:"varint,1,opt,name=nodeId,json=po" json:"nodeId,omitempty"`
	Function  string   `protobuf:"bytes,2,opt,name=function,json=f" json:"function,omitempty"`
	Arguments []string `protobuf:"bytes,3,rep,name=arguments,json=args" json:"arguments,omitempty"`
}

aspect: functionTerms FuntionTerm link nodes with expressions that define the meaning of the node.

func (*FunctionTerm) Descriptor

func (*FunctionTerm) Descriptor() ([]byte, []int)

func (*FunctionTerm) GetArguments

func (m *FunctionTerm) GetArguments() []string

func (*FunctionTerm) GetFunction

func (m *FunctionTerm) GetFunction() string

func (*FunctionTerm) GetNodeId

func (m *FunctionTerm) GetNodeId() int64

func (*FunctionTerm) ProtoMessage

func (*FunctionTerm) ProtoMessage()

func (*FunctionTerm) Reset

func (m *FunctionTerm) Reset()

func (*FunctionTerm) String

func (m *FunctionTerm) String() string

type NdexStatus

type NdexStatus struct {
	Id           string `protobuf:"bytes,1,opt,name=id,json=externalId" json:"id,omitempty"`
	Location     string `protobuf:"bytes,2,opt,name=location,json=ndexServerURI" json:"location,omitempty"`
	Owner        string `protobuf:"bytes,3,opt,name=owner" json:"owner,omitempty"`
	CreationTime string `protobuf:"bytes,4,opt,name=creationTime" json:"creationTime,omitempty"`
	ReadOnly     bool   `protobuf:"varint,5,opt,name=readOnly" json:"readOnly,omitempty"`
	Visibility   string `protobuf:"bytes,6,opt,name=visibility" json:"visibility,omitempty"`
	EdgeCount    int64  `protobuf:"varint,7,opt,name=edgeCount" json:"edgeCount,omitempty"`
	NodeCount    int64  `protobuf:"varint,8,opt,name=nodeCount" json:"nodeCount,omitempty"`
}

aspect: ndexStatus NdexStatus represents the status of a network on an NDEx server.

func (*NdexStatus) Descriptor

func (*NdexStatus) Descriptor() ([]byte, []int)

func (*NdexStatus) GetCreationTime

func (m *NdexStatus) GetCreationTime() string

func (*NdexStatus) GetEdgeCount

func (m *NdexStatus) GetEdgeCount() int64

func (*NdexStatus) GetId

func (m *NdexStatus) GetId() string

func (*NdexStatus) GetLocation

func (m *NdexStatus) GetLocation() string

func (*NdexStatus) GetNodeCount

func (m *NdexStatus) GetNodeCount() int64

func (*NdexStatus) GetOwner

func (m *NdexStatus) GetOwner() string

func (*NdexStatus) GetReadOnly

func (m *NdexStatus) GetReadOnly() bool

func (*NdexStatus) GetVisibility

func (m *NdexStatus) GetVisibility() string

func (*NdexStatus) ProtoMessage

func (*NdexStatus) ProtoMessage()

func (*NdexStatus) Reset

func (m *NdexStatus) Reset()

func (*NdexStatus) String

func (m *NdexStatus) String() string

type NetworkAttribute

type NetworkAttribute struct {
	Name     string `protobuf:"bytes,1,opt,name=name,json=n" json:"name,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=value,json=v" json:"value,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=type,json=d" json:"type,omitempty"`
	SubnetId int64  `protobuf:"varint,4,opt,name=subnetId,json=s" json:"subnetId,omitempty"`
}

aspect: networkAttributes NetworkAttribute represents a single attribute attached to a network.

func (*NetworkAttribute) Descriptor

func (*NetworkAttribute) Descriptor() ([]byte, []int)

func (*NetworkAttribute) GetName

func (m *NetworkAttribute) GetName() string

func (*NetworkAttribute) GetSubnetId

func (m *NetworkAttribute) GetSubnetId() int64

func (*NetworkAttribute) GetType

func (m *NetworkAttribute) GetType() string

func (*NetworkAttribute) GetValue

func (m *NetworkAttribute) GetValue() string

func (*NetworkAttribute) ProtoMessage

func (*NetworkAttribute) ProtoMessage()

func (*NetworkAttribute) Reset

func (m *NetworkAttribute) Reset()

func (*NetworkAttribute) String

func (m *NetworkAttribute) String() string

type NetworkElement

type NetworkElement struct {
	Label string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
	// Types that are valid to be assigned to Element:
	//	*NetworkElement_Parameter
	//	*NetworkElement_Error
	//	*NetworkElement_Node
	//	*NetworkElement_Edge
	//	*NetworkElement_NodeAttribute
	//	*NetworkElement_EdgeAttribute
	//	*NetworkElement_NetworkAttribute
	//	*NetworkElement_CartesianCoordinate
	//	*NetworkElement_CyGroup
	//	*NetworkElement_CyView
	//	*NetworkElement_CyVisualProperty
	//	*NetworkElement_CyHiddenAttribute
	//	*NetworkElement_CyNetworkRelation
	//	*NetworkElement_CySubNetwork
	//	*NetworkElement_CyTableColumn
	//	*NetworkElement_NdexStatus
	//	*NetworkElement_Citation
	//	*NetworkElement_NodeCitations
	//	*NetworkElement_EdgeCitations
	//	*NetworkElement_Support
	//	*NetworkElement_NodeSupportance
	//	*NetworkElement_EdgeSupportance
	//	*NetworkElement_FunctionTerm
	//	*NetworkElement_ReifiedEdge
	Element isNetworkElement_Element `protobuf_oneof:"element"`
}

NetworkElement is a wrapper for all of the cxMate supported element types.

func NetworkElementFromJSON

func NetworkElementFromJSON(label string, eleType string, dec *json.Decoder) (*NetworkElement, error)

NetworkElementFromJSON is an extension to handle decoding JSON into the oneOf in NetworkElement

func (*NetworkElement) Descriptor

func (*NetworkElement) Descriptor() ([]byte, []int)

func (*NetworkElement) GetCartesianCoordinate

func (m *NetworkElement) GetCartesianCoordinate() *CartesianCoordinate

func (*NetworkElement) GetCitation

func (m *NetworkElement) GetCitation() *Citation

func (*NetworkElement) GetCyGroup

func (m *NetworkElement) GetCyGroup() *CyGroup

func (*NetworkElement) GetCyHiddenAttribute

func (m *NetworkElement) GetCyHiddenAttribute() *CyHiddenAttribute

func (*NetworkElement) GetCyNetworkRelation

func (m *NetworkElement) GetCyNetworkRelation() *CyNetworkRelation

func (*NetworkElement) GetCySubNetwork

func (m *NetworkElement) GetCySubNetwork() *CySubNetwork

func (*NetworkElement) GetCyTableColumn

func (m *NetworkElement) GetCyTableColumn() *CyTableColumn

func (*NetworkElement) GetCyView

func (m *NetworkElement) GetCyView() *CyView

func (*NetworkElement) GetCyVisualProperty

func (m *NetworkElement) GetCyVisualProperty() *CyVisualProperty

func (*NetworkElement) GetEdge

func (m *NetworkElement) GetEdge() *Edge

func (*NetworkElement) GetEdgeAttribute

func (m *NetworkElement) GetEdgeAttribute() *EdgeAttribute

func (*NetworkElement) GetEdgeCitations

func (m *NetworkElement) GetEdgeCitations() *EdgeCitations

func (*NetworkElement) GetEdgeSupportance

func (m *NetworkElement) GetEdgeSupportance() *EdgeSupportance

func (*NetworkElement) GetElement

func (m *NetworkElement) GetElement() isNetworkElement_Element

func (*NetworkElement) GetError

func (m *NetworkElement) GetError() *Error

func (*NetworkElement) GetFunctionTerm

func (m *NetworkElement) GetFunctionTerm() *FunctionTerm

func (*NetworkElement) GetLabel

func (m *NetworkElement) GetLabel() string

func (*NetworkElement) GetNdexStatus

func (m *NetworkElement) GetNdexStatus() *NdexStatus

func (*NetworkElement) GetNetworkAttribute

func (m *NetworkElement) GetNetworkAttribute() *NetworkAttribute

func (*NetworkElement) GetNode

func (m *NetworkElement) GetNode() *Node

func (*NetworkElement) GetNodeAttribute

func (m *NetworkElement) GetNodeAttribute() *NodeAttribute

func (*NetworkElement) GetNodeCitations

func (m *NetworkElement) GetNodeCitations() *NodeCitations

func (*NetworkElement) GetNodeSupportance

func (m *NetworkElement) GetNodeSupportance() *NodeSupportance

func (*NetworkElement) GetParameter

func (m *NetworkElement) GetParameter() *Parameter

func (*NetworkElement) GetReifiedEdge

func (m *NetworkElement) GetReifiedEdge() *ReifiedEdge

func (*NetworkElement) GetSupport

func (m *NetworkElement) GetSupport() *Support

func (*NetworkElement) ProtoMessage

func (*NetworkElement) ProtoMessage()

func (*NetworkElement) Reset

func (m *NetworkElement) Reset()

func (*NetworkElement) String

func (m *NetworkElement) String() string

func (*NetworkElement) XXX_OneofFuncs

func (*NetworkElement) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type NetworkElement_CartesianCoordinate

type NetworkElement_CartesianCoordinate struct {
	CartesianCoordinate *CartesianCoordinate `protobuf:"bytes,9,opt,name=CartesianCoordinate,oneof"`
}

type NetworkElement_Citation

type NetworkElement_Citation struct {
	Citation *Citation `protobuf:"bytes,18,opt,name=citation,oneof"`
}

type NetworkElement_CyGroup

type NetworkElement_CyGroup struct {
	CyGroup *CyGroup `protobuf:"bytes,10,opt,name=cyGroup,oneof"`
}

type NetworkElement_CyHiddenAttribute

type NetworkElement_CyHiddenAttribute struct {
	CyHiddenAttribute *CyHiddenAttribute `protobuf:"bytes,13,opt,name=cyHiddenAttribute,oneof"`
}

type NetworkElement_CyNetworkRelation

type NetworkElement_CyNetworkRelation struct {
	CyNetworkRelation *CyNetworkRelation `protobuf:"bytes,14,opt,name=cyNetworkRelation,oneof"`
}

type NetworkElement_CySubNetwork

type NetworkElement_CySubNetwork struct {
	CySubNetwork *CySubNetwork `protobuf:"bytes,15,opt,name=cySubNetwork,oneof"`
}

type NetworkElement_CyTableColumn

type NetworkElement_CyTableColumn struct {
	CyTableColumn *CyTableColumn `protobuf:"bytes,16,opt,name=cyTableColumn,oneof"`
}

type NetworkElement_CyView

type NetworkElement_CyView struct {
	CyView *CyView `protobuf:"bytes,11,opt,name=cyView,oneof"`
}

type NetworkElement_CyVisualProperty

type NetworkElement_CyVisualProperty struct {
	CyVisualProperty *CyVisualProperty `protobuf:"bytes,12,opt,name=cyVisualProperty,oneof"`
}

type NetworkElement_Edge

type NetworkElement_Edge struct {
	Edge *Edge `protobuf:"bytes,5,opt,name=edge,oneof"`
}

type NetworkElement_EdgeAttribute

type NetworkElement_EdgeAttribute struct {
	EdgeAttribute *EdgeAttribute `protobuf:"bytes,7,opt,name=edgeAttribute,oneof"`
}

type NetworkElement_EdgeCitations

type NetworkElement_EdgeCitations struct {
	EdgeCitations *EdgeCitations `protobuf:"bytes,20,opt,name=edgeCitations,oneof"`
}

type NetworkElement_EdgeSupportance

type NetworkElement_EdgeSupportance struct {
	EdgeSupportance *EdgeSupportance `protobuf:"bytes,23,opt,name=edgeSupportance,oneof"`
}

type NetworkElement_Error

type NetworkElement_Error struct {
	Error *Error `protobuf:"bytes,3,opt,name=error,oneof"`
}

type NetworkElement_FunctionTerm

type NetworkElement_FunctionTerm struct {
	FunctionTerm *FunctionTerm `protobuf:"bytes,24,opt,name=functionTerm,oneof"`
}

type NetworkElement_NdexStatus

type NetworkElement_NdexStatus struct {
	NdexStatus *NdexStatus `protobuf:"bytes,17,opt,name=ndexStatus,oneof"`
}

type NetworkElement_NetworkAttribute

type NetworkElement_NetworkAttribute struct {
	NetworkAttribute *NetworkAttribute `protobuf:"bytes,8,opt,name=networkAttribute,oneof"`
}

type NetworkElement_Node

type NetworkElement_Node struct {
	Node *Node `protobuf:"bytes,4,opt,name=node,oneof"`
}

type NetworkElement_NodeAttribute

type NetworkElement_NodeAttribute struct {
	NodeAttribute *NodeAttribute `protobuf:"bytes,6,opt,name=nodeAttribute,oneof"`
}

type NetworkElement_NodeCitations

type NetworkElement_NodeCitations struct {
	NodeCitations *NodeCitations `protobuf:"bytes,19,opt,name=nodeCitations,oneof"`
}

type NetworkElement_NodeSupportance

type NetworkElement_NodeSupportance struct {
	NodeSupportance *NodeSupportance `protobuf:"bytes,22,opt,name=nodeSupportance,oneof"`
}

type NetworkElement_Parameter

type NetworkElement_Parameter struct {
	Parameter *Parameter `protobuf:"bytes,2,opt,name=parameter,oneof"`
}

type NetworkElement_ReifiedEdge

type NetworkElement_ReifiedEdge struct {
	ReifiedEdge *ReifiedEdge `protobuf:"bytes,25,opt,name=reifiedEdge,oneof"`
}

type NetworkElement_Support

type NetworkElement_Support struct {
	Support *Support `protobuf:"bytes,21,opt,name=support,oneof"`
}

type Node

type Node struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,json=n" json:"name,omitempty"`
	Represents string `protobuf:"bytes,3,opt,name=represents,json=r" json:"represents,omitempty"`
}

aspect: node Node represents a single node in a network.

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetId

func (m *Node) GetId() int64

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetRepresents

func (m *Node) GetRepresents() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

type NodeAttribute

type NodeAttribute struct {
	NodeId   int64  `protobuf:"varint,1,opt,name=nodeId,json=po" json:"nodeId,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,json=n" json:"name,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,json=v" json:"value,omitempty"`
	Type     string `protobuf:"bytes,4,opt,name=type,json=d" json:"type,omitempty"`
	SubnetId int64  `protobuf:"varint,5,opt,name=subnetId,json=s" json:"subnetId,omitempty"`
}

aspect: nodeAttribute NodeAttribute represents a single attribute attached to a node.

func (*NodeAttribute) Descriptor

func (*NodeAttribute) Descriptor() ([]byte, []int)

func (*NodeAttribute) GetName

func (m *NodeAttribute) GetName() string

func (*NodeAttribute) GetNodeId

func (m *NodeAttribute) GetNodeId() int64

func (*NodeAttribute) GetSubnetId

func (m *NodeAttribute) GetSubnetId() int64

func (*NodeAttribute) GetType

func (m *NodeAttribute) GetType() string

func (*NodeAttribute) GetValue

func (m *NodeAttribute) GetValue() string

func (*NodeAttribute) ProtoMessage

func (*NodeAttribute) ProtoMessage()

func (*NodeAttribute) Reset

func (m *NodeAttribute) Reset()

func (*NodeAttribute) String

func (m *NodeAttribute) String() string

type NodeCitations

type NodeCitations struct {
	Nodes     []int64 `protobuf:"varint,1,rep,packed,name=nodes,json=citations" json:"nodes,omitempty"`
	Citations []int64 `protobuf:"varint,2,rep,packed,name=citations,json=po" json:"citations,omitempty"`
}

aspect: nodeCitations NodeCitations creates a series of nodes to citations mappings.

func (*NodeCitations) Descriptor

func (*NodeCitations) Descriptor() ([]byte, []int)

func (*NodeCitations) GetCitations

func (m *NodeCitations) GetCitations() []int64

func (*NodeCitations) GetNodes

func (m *NodeCitations) GetNodes() []int64

func (*NodeCitations) ProtoMessage

func (*NodeCitations) ProtoMessage()

func (*NodeCitations) Reset

func (m *NodeCitations) Reset()

func (*NodeCitations) String

func (m *NodeCitations) String() string

type NodeSupportance

type NodeSupportance struct {
	Nodes       []int64 `protobuf:"varint,1,rep,packed,name=nodes" json:"nodes,omitempty"`
	Supportance []int64 `protobuf:"varint,2,rep,packed,name=supportance,json=po" json:"supportance,omitempty"`
}

aspect: nodeSupports NodeSupportance provides supportance for a series of nodes.

func (*NodeSupportance) Descriptor

func (*NodeSupportance) Descriptor() ([]byte, []int)

func (*NodeSupportance) GetNodes

func (m *NodeSupportance) GetNodes() []int64

func (*NodeSupportance) GetSupportance

func (m *NodeSupportance) GetSupportance() []int64

func (*NodeSupportance) ProtoMessage

func (*NodeSupportance) ProtoMessage()

func (*NodeSupportance) Reset

func (m *NodeSupportance) Reset()

func (*NodeSupportance) String

func (m *NodeSupportance) String() string

type Parameter

type Parameter struct {
	Name   string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
	// Types that are valid to be assigned to Value:
	//	*Parameter_StringValue
	//	*Parameter_BooleanValue
	//	*Parameter_IntegerValue
	//	*Parameter_NumberValue
	Value isParameter_Value `protobuf_oneof:"value"`
}

Parameter represents a service parameter.

func (*Parameter) Descriptor

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) GetBooleanValue

func (m *Parameter) GetBooleanValue() bool

func (*Parameter) GetFormat

func (m *Parameter) GetFormat() string

func (*Parameter) GetIntegerValue

func (m *Parameter) GetIntegerValue() int64

func (*Parameter) GetName

func (m *Parameter) GetName() string

func (*Parameter) GetNumberValue

func (m *Parameter) GetNumberValue() float64

func (*Parameter) GetStringValue

func (m *Parameter) GetStringValue() string

func (*Parameter) GetValue

func (m *Parameter) GetValue() isParameter_Value

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

func (*Parameter) XXX_OneofFuncs

func (*Parameter) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Parameter_BooleanValue

type Parameter_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,4,opt,name=booleanValue,oneof"`
}

type Parameter_IntegerValue

type Parameter_IntegerValue struct {
	IntegerValue int64 `protobuf:"varint,5,opt,name=integerValue,oneof"`
}

type Parameter_NumberValue

type Parameter_NumberValue struct {
	NumberValue float64 `protobuf:"fixed64,6,opt,name=numberValue,oneof"`
}

type Parameter_StringValue

type Parameter_StringValue struct {
	StringValue string `protobuf:"bytes,3,opt,name=stringValue,oneof"`
}

type ReifiedEdge

type ReifiedEdge struct {
	EdgeId int64 `protobuf:"varint,1,opt,name=edgeId,json=edge" json:"edgeId,omitempty"`
	NodeId int64 `protobuf:"varint,2,opt,name=nodeId,json=node" json:"nodeId,omitempty"`
}

reifiedEdges: reifiedEdges ReifiedEdge logically turns a node into an edge.

func (*ReifiedEdge) Descriptor

func (*ReifiedEdge) Descriptor() ([]byte, []int)

func (*ReifiedEdge) GetEdgeId

func (m *ReifiedEdge) GetEdgeId() int64

func (*ReifiedEdge) GetNodeId

func (m *ReifiedEdge) GetNodeId() int64

func (*ReifiedEdge) ProtoMessage

func (*ReifiedEdge) ProtoMessage()

func (*ReifiedEdge) Reset

func (m *ReifiedEdge) Reset()

func (*ReifiedEdge) String

func (m *ReifiedEdge) String() string

type Support

type Support struct {
	Id         int64               `protobuf:"varint,1,opt,name=id,json=@id" json:"id,omitempty"`
	CitationId int64               `protobuf:"varint,2,opt,name=citationId,json=citation" json:"citationId,omitempty"`
	Text       string              `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
	Attributes []*SupportAttribute `protobuf:"bytes,4,rep,name=attributes" json:"attributes,omitempty"`
}

aspect: supports Support specifies text that can support one or more nodes or edges in a network.

func (*Support) Descriptor

func (*Support) Descriptor() ([]byte, []int)

func (*Support) GetAttributes

func (m *Support) GetAttributes() []*SupportAttribute

func (*Support) GetCitationId

func (m *Support) GetCitationId() int64

func (*Support) GetId

func (m *Support) GetId() int64

func (*Support) GetText

func (m *Support) GetText() string

func (*Support) ProtoMessage

func (*Support) ProtoMessage()

func (*Support) Reset

func (m *Support) Reset()

func (*Support) String

func (m *Support) String() string

type SupportAttribute

type SupportAttribute struct {
	Name  string `protobuf:"bytes,1,opt,name=name,json=n" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,json=v" json:"value,omitempty"`
	Type  string `protobuf:"bytes,3,opt,name=type,json=t" json:"type,omitempty"`
}

SupportAttribute holds an attribute of a supportant.

func (*SupportAttribute) Descriptor

func (*SupportAttribute) Descriptor() ([]byte, []int)

func (*SupportAttribute) GetName

func (m *SupportAttribute) GetName() string

func (*SupportAttribute) GetType

func (m *SupportAttribute) GetType() string

func (*SupportAttribute) GetValue

func (m *SupportAttribute) GetValue() string

func (*SupportAttribute) ProtoMessage

func (*SupportAttribute) ProtoMessage()

func (*SupportAttribute) Reset

func (m *SupportAttribute) Reset()

func (*SupportAttribute) String

func (m *SupportAttribute) String() string

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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