grpcapi

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValueType_name = map[int32]string{
	0: "NUMERIC",
	1: "SINGLE_CHOICE",
	2: "MULTI_CHOICE",
}
View Source
var ValueType_value = map[string]int32{
	"NUMERIC":       0,
	"SINGLE_CHOICE": 1,
	"MULTI_CHOICE":  2,
}

Functions

func RegisterHierarchyServer

func RegisterHierarchyServer(s *grpc.Server, srv HierarchyServer)

Types

type AncestorNode

type AncestorNode struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Origin               *Origin  `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	Label                string   `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type                 string   `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	SubType              string   `protobuf:"bytes,6,opt,name=subType,proto3" json:"subType,omitempty"`
	ParentId             string   `protobuf:"bytes,7,opt,name=parentId,proto3" json:"parentId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AncestorNode) Descriptor

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

func (*AncestorNode) GetDescription

func (m *AncestorNode) GetDescription() string

func (*AncestorNode) GetId

func (m *AncestorNode) GetId() string

func (*AncestorNode) GetLabel

func (m *AncestorNode) GetLabel() string

func (*AncestorNode) GetOrigin

func (m *AncestorNode) GetOrigin() *Origin

func (*AncestorNode) GetParentId

func (m *AncestorNode) GetParentId() string

func (*AncestorNode) GetSubType

func (m *AncestorNode) GetSubType() string

func (*AncestorNode) GetType

func (m *AncestorNode) GetType() string

func (*AncestorNode) ProtoMessage

func (*AncestorNode) ProtoMessage()

func (*AncestorNode) Reset

func (m *AncestorNode) Reset()

func (*AncestorNode) String

func (m *AncestorNode) String() string

func (*AncestorNode) XXX_DiscardUnknown

func (m *AncestorNode) XXX_DiscardUnknown()

func (*AncestorNode) XXX_Marshal

func (m *AncestorNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AncestorNode) XXX_Merge

func (dst *AncestorNode) XXX_Merge(src proto.Message)

func (*AncestorNode) XXX_Size

func (m *AncestorNode) XXX_Size() int

func (*AncestorNode) XXX_Unmarshal

func (m *AncestorNode) XXX_Unmarshal(b []byte) error

type AssetNode

type AssetNode struct {
	Criticality          string   `protobuf:"bytes,1,opt,name=criticality,proto3" json:"criticality,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AssetNode) Descriptor

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

func (*AssetNode) GetCriticality

func (m *AssetNode) GetCriticality() string

func (*AssetNode) ProtoMessage

func (*AssetNode) ProtoMessage()

func (*AssetNode) Reset

func (m *AssetNode) Reset()

func (*AssetNode) String

func (m *AssetNode) String() string

func (*AssetNode) XXX_DiscardUnknown

func (m *AssetNode) XXX_DiscardUnknown()

func (*AssetNode) XXX_Marshal

func (m *AssetNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AssetNode) XXX_Merge

func (dst *AssetNode) XXX_Merge(src proto.Message)

func (*AssetNode) XXX_Size

func (m *AssetNode) XXX_Size() int

func (*AssetNode) XXX_Unmarshal

func (m *AssetNode) XXX_Unmarshal(b []byte) error

type DeleteNodeInput

type DeleteNodeInput struct {
	UserId               string   `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	NodeId               string   `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	Origin               *Origin  `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteNodeInput) Descriptor

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

func (*DeleteNodeInput) GetNodeId

func (m *DeleteNodeInput) GetNodeId() string

func (*DeleteNodeInput) GetOrigin

func (m *DeleteNodeInput) GetOrigin() *Origin

func (*DeleteNodeInput) GetUserId

func (m *DeleteNodeInput) GetUserId() string

func (*DeleteNodeInput) ProtoMessage

func (*DeleteNodeInput) ProtoMessage()

func (*DeleteNodeInput) Reset

func (m *DeleteNodeInput) Reset()

func (*DeleteNodeInput) String

func (m *DeleteNodeInput) String() string

func (*DeleteNodeInput) XXX_DiscardUnknown

func (m *DeleteNodeInput) XXX_DiscardUnknown()

func (*DeleteNodeInput) XXX_Marshal

func (m *DeleteNodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteNodeInput) XXX_Merge

func (dst *DeleteNodeInput) XXX_Merge(src proto.Message)

func (*DeleteNodeInput) XXX_Size

func (m *DeleteNodeInput) XXX_Size() int

func (*DeleteNodeInput) XXX_Unmarshal

func (m *DeleteNodeInput) XXX_Unmarshal(b []byte) error

type GetAncestorsInput

type GetAncestorsInput struct {
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAncestorsInput) Descriptor

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

func (*GetAncestorsInput) GetNodeId

func (m *GetAncestorsInput) GetNodeId() string

func (*GetAncestorsInput) ProtoMessage

func (*GetAncestorsInput) ProtoMessage()

func (*GetAncestorsInput) Reset

func (m *GetAncestorsInput) Reset()

func (*GetAncestorsInput) String

func (m *GetAncestorsInput) String() string

func (*GetAncestorsInput) XXX_DiscardUnknown

func (m *GetAncestorsInput) XXX_DiscardUnknown()

func (*GetAncestorsInput) XXX_Marshal

func (m *GetAncestorsInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAncestorsInput) XXX_Merge

func (dst *GetAncestorsInput) XXX_Merge(src proto.Message)

func (*GetAncestorsInput) XXX_Size

func (m *GetAncestorsInput) XXX_Size() int

func (*GetAncestorsInput) XXX_Unmarshal

func (m *GetAncestorsInput) XXX_Unmarshal(b []byte) error

type GetAncestorsOutput

type GetAncestorsOutput struct {
	Nodes                []*AncestorNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetAncestorsOutput) Descriptor

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

func (*GetAncestorsOutput) GetNodes

func (m *GetAncestorsOutput) GetNodes() []*AncestorNode

func (*GetAncestorsOutput) ProtoMessage

func (*GetAncestorsOutput) ProtoMessage()

func (*GetAncestorsOutput) Reset

func (m *GetAncestorsOutput) Reset()

func (*GetAncestorsOutput) String

func (m *GetAncestorsOutput) String() string

func (*GetAncestorsOutput) XXX_DiscardUnknown

func (m *GetAncestorsOutput) XXX_DiscardUnknown()

func (*GetAncestorsOutput) XXX_Marshal

func (m *GetAncestorsOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAncestorsOutput) XXX_Merge

func (dst *GetAncestorsOutput) XXX_Merge(src proto.Message)

func (*GetAncestorsOutput) XXX_Size

func (m *GetAncestorsOutput) XXX_Size() int

func (*GetAncestorsOutput) XXX_Unmarshal

func (m *GetAncestorsOutput) XXX_Unmarshal(b []byte) error

type GetEventsInput

type GetEventsInput struct {
	Since                int64           `protobuf:"varint,1,opt,name=since,proto3" json:"since,omitempty"`
	Limit                *PrimitiveInt32 `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetEventsInput) Descriptor

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

func (*GetEventsInput) GetLimit

func (m *GetEventsInput) GetLimit() *PrimitiveInt32

func (*GetEventsInput) GetSince

func (m *GetEventsInput) GetSince() int64

func (*GetEventsInput) ProtoMessage

func (*GetEventsInput) ProtoMessage()

func (*GetEventsInput) Reset

func (m *GetEventsInput) Reset()

func (*GetEventsInput) String

func (m *GetEventsInput) String() string

func (*GetEventsInput) XXX_DiscardUnknown

func (m *GetEventsInput) XXX_DiscardUnknown()

func (*GetEventsInput) XXX_Marshal

func (m *GetEventsInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEventsInput) XXX_Merge

func (dst *GetEventsInput) XXX_Merge(src proto.Message)

func (*GetEventsInput) XXX_Size

func (m *GetEventsInput) XXX_Size() int

func (*GetEventsInput) XXX_Unmarshal

func (m *GetEventsInput) XXX_Unmarshal(b []byte) error

type GetEventsOutput

type GetEventsOutput struct {
	Events               []byte   `protobuf:"bytes,1,opt,name=events,proto3" json:"events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetEventsOutput) Descriptor

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

func (*GetEventsOutput) GetEvents

func (m *GetEventsOutput) GetEvents() []byte

func (*GetEventsOutput) ProtoMessage

func (*GetEventsOutput) ProtoMessage()

func (*GetEventsOutput) Reset

func (m *GetEventsOutput) Reset()

func (*GetEventsOutput) String

func (m *GetEventsOutput) String() string

func (*GetEventsOutput) XXX_DiscardUnknown

func (m *GetEventsOutput) XXX_DiscardUnknown()

func (*GetEventsOutput) XXX_Marshal

func (m *GetEventsOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEventsOutput) XXX_Merge

func (dst *GetEventsOutput) XXX_Merge(src proto.Message)

func (*GetEventsOutput) XXX_Size

func (m *GetEventsOutput) XXX_Size() int

func (*GetEventsOutput) XXX_Unmarshal

func (m *GetEventsOutput) XXX_Unmarshal(b []byte) error

type HierarchyClient

type HierarchyClient interface {
	DeepPing(ctx context.Context, in *PrimitiveVoid, opts ...grpc.CallOption) (*PrimitiveString, error)
	GetNode(ctx context.Context, in *PrimitiveString, opts ...grpc.CallOption) (*Node, error)
	GetNodes(ctx context.Context, in *PrimitiveString, opts ...grpc.CallOption) (*Nodes, error)
	GetChildNodes(ctx context.Context, in *PrimitiveString, opts ...grpc.CallOption) (*Nodes, error)
	GetParentNode(ctx context.Context, in *PrimitiveString, opts ...grpc.CallOption) (*Node, error)
	GetAncestors(ctx context.Context, in *GetAncestorsInput, opts ...grpc.CallOption) (*GetAncestorsOutput, error)
	GetNodeIdByOrigin(ctx context.Context, in *Origin, opts ...grpc.CallOption) (*PrimitiveString, error)
	SaveNode(ctx context.Context, in *SaveNodeInput, opts ...grpc.CallOption) (*PrimitiveString, error)
	DeleteNode(ctx context.Context, in *DeleteNodeInput, opts ...grpc.CallOption) (*PrimitiveVoid, error)
	GetEvents(ctx context.Context, in *GetEventsInput, opts ...grpc.CallOption) (*GetEventsOutput, error)
	GetEventStream(ctx context.Context, in *PrimitiveVoid, opts ...grpc.CallOption) (Hierarchy_GetEventStreamClient, error)
}

HierarchyClient is the client API for Hierarchy service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHierarchyClient

func NewHierarchyClient(cc *grpc.ClientConn) HierarchyClient

type HierarchyServer

HierarchyServer is the server API for Hierarchy service.

type Hierarchy_GetEventStreamClient

type Hierarchy_GetEventStreamClient interface {
	Recv() (*PrimitiveBytes, error)
	grpc.ClientStream
}

type Hierarchy_GetEventStreamServer

type Hierarchy_GetEventStreamServer interface {
	Send(*PrimitiveBytes) error
	grpc.ServerStream
}

type InspectionPoint

type InspectionPoint struct {
	OBSOLETEValueType    string    `protobuf:"bytes,1,opt,name=OBSOLETE_valueType,json=OBSOLETEValueType,proto3" json:"OBSOLETE_valueType,omitempty"`
	ValueType            ValueType `protobuf:"varint,4,opt,name=valueType,proto3,enum=grpcapi.ValueType" json:"valueType,omitempty"`
	NumericUnit          string    `protobuf:"bytes,2,opt,name=numericUnit,proto3" json:"numericUnit,omitempty"`
	Answers              []string  `protobuf:"bytes,3,rep,name=answers,proto3" json:"answers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*InspectionPoint) Descriptor

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

func (*InspectionPoint) GetAnswers

func (m *InspectionPoint) GetAnswers() []string

func (*InspectionPoint) GetNumericUnit

func (m *InspectionPoint) GetNumericUnit() string

func (*InspectionPoint) GetOBSOLETEValueType

func (m *InspectionPoint) GetOBSOLETEValueType() string

func (*InspectionPoint) GetValueType

func (m *InspectionPoint) GetValueType() ValueType

func (*InspectionPoint) ProtoMessage

func (*InspectionPoint) ProtoMessage()

func (*InspectionPoint) Reset

func (m *InspectionPoint) Reset()

func (*InspectionPoint) String

func (m *InspectionPoint) String() string

func (*InspectionPoint) XXX_DiscardUnknown

func (m *InspectionPoint) XXX_DiscardUnknown()

func (*InspectionPoint) XXX_Marshal

func (m *InspectionPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectionPoint) XXX_Merge

func (dst *InspectionPoint) XXX_Merge(src proto.Message)

func (*InspectionPoint) XXX_Size

func (m *InspectionPoint) XXX_Size() int

func (*InspectionPoint) XXX_Unmarshal

func (m *InspectionPoint) XXX_Unmarshal(b []byte) error

type MeasurementPoint

type MeasurementPoint struct {
	Angular              string   `protobuf:"bytes,1,opt,name=angular,proto3" json:"angular,omitempty"`
	Bearing              int32    `protobuf:"varint,3,opt,name=bearing,proto3" json:"bearing,omitempty"`
	MeasurementType      string   `protobuf:"bytes,4,opt,name=measurementType,proto3" json:"measurementType,omitempty"`
	Shaft                string   `protobuf:"bytes,5,opt,name=shaft,proto3" json:"shaft,omitempty"`
	ShaftSide            string   `protobuf:"bytes,6,opt,name=shaftSide,proto3" json:"shaftSide,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MeasurementPoint) Descriptor

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

func (*MeasurementPoint) GetAngular

func (m *MeasurementPoint) GetAngular() string

func (*MeasurementPoint) GetBearing

func (m *MeasurementPoint) GetBearing() int32

func (*MeasurementPoint) GetMeasurementType

func (m *MeasurementPoint) GetMeasurementType() string

func (*MeasurementPoint) GetShaft

func (m *MeasurementPoint) GetShaft() string

func (*MeasurementPoint) GetShaftSide

func (m *MeasurementPoint) GetShaftSide() string

func (*MeasurementPoint) ProtoMessage

func (*MeasurementPoint) ProtoMessage()

func (*MeasurementPoint) Reset

func (m *MeasurementPoint) Reset()

func (*MeasurementPoint) String

func (m *MeasurementPoint) String() string

func (*MeasurementPoint) XXX_DiscardUnknown

func (m *MeasurementPoint) XXX_DiscardUnknown()

func (*MeasurementPoint) XXX_Marshal

func (m *MeasurementPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeasurementPoint) XXX_Merge

func (dst *MeasurementPoint) XXX_Merge(src proto.Message)

func (*MeasurementPoint) XXX_Size

func (m *MeasurementPoint) XXX_Size() int

func (*MeasurementPoint) XXX_Unmarshal

func (m *MeasurementPoint) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label                string            `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description          string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type                 string            `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Criticality          string            `protobuf:"bytes,5,opt,name=criticality,proto3" json:"criticality,omitempty"`
	SubType              string            `protobuf:"bytes,6,opt,name=subType,proto3" json:"subType,omitempty"`
	Origin               *Origin           `protobuf:"bytes,7,opt,name=origin,proto3" json:"origin,omitempty"`
	AssetNode            *AssetNode        `protobuf:"bytes,8,opt,name=assetNode,proto3" json:"assetNode,omitempty"`
	MeasurementPoint     *MeasurementPoint `protobuf:"bytes,9,opt,name=measurementPoint,proto3" json:"measurementPoint,omitempty"`
	InspectionPoint      *InspectionPoint  `protobuf:"bytes,10,opt,name=inspectionPoint,proto3" json:"inspectionPoint,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Node) Descriptor

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

func (*Node) GetAssetNode

func (m *Node) GetAssetNode() *AssetNode

func (*Node) GetCriticality

func (m *Node) GetCriticality() string

func (*Node) GetDescription

func (m *Node) GetDescription() string

func (*Node) GetId

func (m *Node) GetId() string

func (*Node) GetInspectionPoint

func (m *Node) GetInspectionPoint() *InspectionPoint

func (*Node) GetLabel

func (m *Node) GetLabel() string

func (*Node) GetMeasurementPoint

func (m *Node) GetMeasurementPoint() *MeasurementPoint

func (*Node) GetOrigin

func (m *Node) GetOrigin() *Origin

func (*Node) GetSubType

func (m *Node) GetSubType() string

func (*Node) GetType

func (m *Node) GetType() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (dst *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type Nodes

type Nodes struct {
	Nodes                []*Node  `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Nodes) Descriptor

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

func (*Nodes) GetNodes

func (m *Nodes) GetNodes() []*Node

func (*Nodes) ProtoMessage

func (*Nodes) ProtoMessage()

func (*Nodes) Reset

func (m *Nodes) Reset()

func (*Nodes) String

func (m *Nodes) String() string

func (*Nodes) XXX_DiscardUnknown

func (m *Nodes) XXX_DiscardUnknown()

func (*Nodes) XXX_Marshal

func (m *Nodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Nodes) XXX_Merge

func (dst *Nodes) XXX_Merge(src proto.Message)

func (*Nodes) XXX_Size

func (m *Nodes) XXX_Size() int

func (*Nodes) XXX_Unmarshal

func (m *Nodes) XXX_Unmarshal(b []byte) error

type Origin

type Origin struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Provider             string   `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Origin) Descriptor

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

func (*Origin) GetId

func (m *Origin) GetId() string

func (*Origin) GetProvider

func (m *Origin) GetProvider() string

func (*Origin) GetType

func (m *Origin) GetType() string

func (*Origin) ProtoMessage

func (*Origin) ProtoMessage()

func (*Origin) Reset

func (m *Origin) Reset()

func (*Origin) String

func (m *Origin) String() string

func (*Origin) XXX_DiscardUnknown

func (m *Origin) XXX_DiscardUnknown()

func (*Origin) XXX_Marshal

func (m *Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Origin) XXX_Merge

func (dst *Origin) XXX_Merge(src proto.Message)

func (*Origin) XXX_Size

func (m *Origin) XXX_Size() int

func (*Origin) XXX_Unmarshal

func (m *Origin) XXX_Unmarshal(b []byte) error

type PrimitiveBytes

type PrimitiveBytes struct {
	Value                []byte   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveBytes) Descriptor

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

func (*PrimitiveBytes) GetValue

func (m *PrimitiveBytes) GetValue() []byte

func (*PrimitiveBytes) ProtoMessage

func (*PrimitiveBytes) ProtoMessage()

func (*PrimitiveBytes) Reset

func (m *PrimitiveBytes) Reset()

func (*PrimitiveBytes) String

func (m *PrimitiveBytes) String() string

func (*PrimitiveBytes) XXX_DiscardUnknown

func (m *PrimitiveBytes) XXX_DiscardUnknown()

func (*PrimitiveBytes) XXX_Marshal

func (m *PrimitiveBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveBytes) XXX_Merge

func (dst *PrimitiveBytes) XXX_Merge(src proto.Message)

func (*PrimitiveBytes) XXX_Size

func (m *PrimitiveBytes) XXX_Size() int

func (*PrimitiveBytes) XXX_Unmarshal

func (m *PrimitiveBytes) XXX_Unmarshal(b []byte) error

type PrimitiveInt32

type PrimitiveInt32 struct {
	Value                int32    `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveInt32) Descriptor

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

func (*PrimitiveInt32) GetValue

func (m *PrimitiveInt32) GetValue() int32

func (*PrimitiveInt32) ProtoMessage

func (*PrimitiveInt32) ProtoMessage()

func (*PrimitiveInt32) Reset

func (m *PrimitiveInt32) Reset()

func (*PrimitiveInt32) String

func (m *PrimitiveInt32) String() string

func (*PrimitiveInt32) XXX_DiscardUnknown

func (m *PrimitiveInt32) XXX_DiscardUnknown()

func (*PrimitiveInt32) XXX_Marshal

func (m *PrimitiveInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveInt32) XXX_Merge

func (dst *PrimitiveInt32) XXX_Merge(src proto.Message)

func (*PrimitiveInt32) XXX_Size

func (m *PrimitiveInt32) XXX_Size() int

func (*PrimitiveInt32) XXX_Unmarshal

func (m *PrimitiveInt32) XXX_Unmarshal(b []byte) error

type PrimitiveString

type PrimitiveString struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveString) Descriptor

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

func (*PrimitiveString) GetValue

func (m *PrimitiveString) GetValue() string

func (*PrimitiveString) ProtoMessage

func (*PrimitiveString) ProtoMessage()

func (*PrimitiveString) Reset

func (m *PrimitiveString) Reset()

func (*PrimitiveString) String

func (m *PrimitiveString) String() string

func (*PrimitiveString) XXX_DiscardUnknown

func (m *PrimitiveString) XXX_DiscardUnknown()

func (*PrimitiveString) XXX_Marshal

func (m *PrimitiveString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveString) XXX_Merge

func (dst *PrimitiveString) XXX_Merge(src proto.Message)

func (*PrimitiveString) XXX_Size

func (m *PrimitiveString) XXX_Size() int

func (*PrimitiveString) XXX_Unmarshal

func (m *PrimitiveString) XXX_Unmarshal(b []byte) error

type PrimitiveVoid

type PrimitiveVoid struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveVoid) Descriptor

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

func (*PrimitiveVoid) ProtoMessage

func (*PrimitiveVoid) ProtoMessage()

func (*PrimitiveVoid) Reset

func (m *PrimitiveVoid) Reset()

func (*PrimitiveVoid) String

func (m *PrimitiveVoid) String() string

func (*PrimitiveVoid) XXX_DiscardUnknown

func (m *PrimitiveVoid) XXX_DiscardUnknown()

func (*PrimitiveVoid) XXX_Marshal

func (m *PrimitiveVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveVoid) XXX_Merge

func (dst *PrimitiveVoid) XXX_Merge(src proto.Message)

func (*PrimitiveVoid) XXX_Size

func (m *PrimitiveVoid) XXX_Size() int

func (*PrimitiveVoid) XXX_Unmarshal

func (m *PrimitiveVoid) XXX_Unmarshal(b []byte) error

type SaveNodeInput

type SaveNodeInput struct {
	UserId               string   `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Node                 *Node    `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
	ParentId             string   `protobuf:"bytes,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
	ParentOrigin         *Origin  `protobuf:"bytes,4,opt,name=parentOrigin,proto3" json:"parentOrigin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SaveNodeInput) Descriptor

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

func (*SaveNodeInput) GetNode

func (m *SaveNodeInput) GetNode() *Node

func (*SaveNodeInput) GetParentId

func (m *SaveNodeInput) GetParentId() string

func (*SaveNodeInput) GetParentOrigin

func (m *SaveNodeInput) GetParentOrigin() *Origin

func (*SaveNodeInput) GetUserId

func (m *SaveNodeInput) GetUserId() string

func (*SaveNodeInput) ProtoMessage

func (*SaveNodeInput) ProtoMessage()

func (*SaveNodeInput) Reset

func (m *SaveNodeInput) Reset()

func (*SaveNodeInput) String

func (m *SaveNodeInput) String() string

func (*SaveNodeInput) XXX_DiscardUnknown

func (m *SaveNodeInput) XXX_DiscardUnknown()

func (*SaveNodeInput) XXX_Marshal

func (m *SaveNodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveNodeInput) XXX_Merge

func (dst *SaveNodeInput) XXX_Merge(src proto.Message)

func (*SaveNodeInput) XXX_Size

func (m *SaveNodeInput) XXX_Size() int

func (*SaveNodeInput) XXX_Unmarshal

func (m *SaveNodeInput) XXX_Unmarshal(b []byte) error

type ValueType

type ValueType int32
const (
	ValueType_NUMERIC       ValueType = 0
	ValueType_SINGLE_CHOICE ValueType = 1
	ValueType_MULTI_CHOICE  ValueType = 2
)

func (ValueType) EnumDescriptor

func (ValueType) EnumDescriptor() ([]byte, []int)

func (ValueType) String

func (x ValueType) String() string

Jump to

Keyboard shortcuts

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