Documentation ¶
Index ¶
- Variables
- func RegisterHierarchyServer(s *grpc.Server, srv HierarchyServer)
- type AncestorNode
- func (*AncestorNode) Descriptor() ([]byte, []int)
- func (m *AncestorNode) GetDescription() string
- func (m *AncestorNode) GetId() string
- func (m *AncestorNode) GetLabel() string
- func (m *AncestorNode) GetOrigin() *Origin
- func (m *AncestorNode) GetParentId() string
- func (m *AncestorNode) GetSubType() string
- func (m *AncestorNode) GetType() string
- func (*AncestorNode) ProtoMessage()
- func (m *AncestorNode) Reset()
- func (m *AncestorNode) String() string
- func (m *AncestorNode) XXX_DiscardUnknown()
- func (m *AncestorNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AncestorNode) XXX_Merge(src proto.Message)
- func (m *AncestorNode) XXX_Size() int
- func (m *AncestorNode) XXX_Unmarshal(b []byte) error
- type AssetNode
- func (*AssetNode) Descriptor() ([]byte, []int)
- func (m *AssetNode) GetCriticality() string
- func (*AssetNode) ProtoMessage()
- func (m *AssetNode) Reset()
- func (m *AssetNode) String() string
- func (m *AssetNode) XXX_DiscardUnknown()
- func (m *AssetNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AssetNode) XXX_Merge(src proto.Message)
- func (m *AssetNode) XXX_Size() int
- func (m *AssetNode) XXX_Unmarshal(b []byte) error
- type DeleteNodeInput
- func (*DeleteNodeInput) Descriptor() ([]byte, []int)
- func (m *DeleteNodeInput) GetNodeId() string
- func (m *DeleteNodeInput) GetOrigin() *Origin
- func (m *DeleteNodeInput) GetUserId() string
- func (*DeleteNodeInput) ProtoMessage()
- func (m *DeleteNodeInput) Reset()
- func (m *DeleteNodeInput) String() string
- func (m *DeleteNodeInput) XXX_DiscardUnknown()
- func (m *DeleteNodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteNodeInput) XXX_Merge(src proto.Message)
- func (m *DeleteNodeInput) XXX_Size() int
- func (m *DeleteNodeInput) XXX_Unmarshal(b []byte) error
- type GetAncestorsInput
- func (*GetAncestorsInput) Descriptor() ([]byte, []int)
- func (m *GetAncestorsInput) GetNodeId() string
- func (*GetAncestorsInput) ProtoMessage()
- func (m *GetAncestorsInput) Reset()
- func (m *GetAncestorsInput) String() string
- func (m *GetAncestorsInput) XXX_DiscardUnknown()
- func (m *GetAncestorsInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAncestorsInput) XXX_Merge(src proto.Message)
- func (m *GetAncestorsInput) XXX_Size() int
- func (m *GetAncestorsInput) XXX_Unmarshal(b []byte) error
- type GetAncestorsOutput
- func (*GetAncestorsOutput) Descriptor() ([]byte, []int)
- func (m *GetAncestorsOutput) GetNodes() []*AncestorNode
- func (*GetAncestorsOutput) ProtoMessage()
- func (m *GetAncestorsOutput) Reset()
- func (m *GetAncestorsOutput) String() string
- func (m *GetAncestorsOutput) XXX_DiscardUnknown()
- func (m *GetAncestorsOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetAncestorsOutput) XXX_Merge(src proto.Message)
- func (m *GetAncestorsOutput) XXX_Size() int
- func (m *GetAncestorsOutput) XXX_Unmarshal(b []byte) error
- type GetEventsInput
- func (*GetEventsInput) Descriptor() ([]byte, []int)
- func (m *GetEventsInput) GetLimit() *PrimitiveInt32
- func (m *GetEventsInput) GetSince() int64
- func (*GetEventsInput) ProtoMessage()
- func (m *GetEventsInput) Reset()
- func (m *GetEventsInput) String() string
- func (m *GetEventsInput) XXX_DiscardUnknown()
- func (m *GetEventsInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetEventsInput) XXX_Merge(src proto.Message)
- func (m *GetEventsInput) XXX_Size() int
- func (m *GetEventsInput) XXX_Unmarshal(b []byte) error
- type GetEventsOutput
- func (*GetEventsOutput) Descriptor() ([]byte, []int)
- func (m *GetEventsOutput) GetEvents() []byte
- func (*GetEventsOutput) ProtoMessage()
- func (m *GetEventsOutput) Reset()
- func (m *GetEventsOutput) String() string
- func (m *GetEventsOutput) XXX_DiscardUnknown()
- func (m *GetEventsOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetEventsOutput) XXX_Merge(src proto.Message)
- func (m *GetEventsOutput) XXX_Size() int
- func (m *GetEventsOutput) XXX_Unmarshal(b []byte) error
- type HierarchyClient
- type HierarchyServer
- type Hierarchy_GetEventStreamClient
- type Hierarchy_GetEventStreamServer
- type InspectionPoint
- func (*InspectionPoint) Descriptor() ([]byte, []int)
- func (m *InspectionPoint) GetAnswers() []string
- func (m *InspectionPoint) GetNumericUnit() string
- func (m *InspectionPoint) GetOBSOLETEValueType() string
- func (m *InspectionPoint) GetValueType() ValueType
- func (*InspectionPoint) ProtoMessage()
- func (m *InspectionPoint) Reset()
- func (m *InspectionPoint) String() string
- func (m *InspectionPoint) XXX_DiscardUnknown()
- func (m *InspectionPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InspectionPoint) XXX_Merge(src proto.Message)
- func (m *InspectionPoint) XXX_Size() int
- func (m *InspectionPoint) XXX_Unmarshal(b []byte) error
- type MeasurementPoint
- func (*MeasurementPoint) Descriptor() ([]byte, []int)
- func (m *MeasurementPoint) GetAngular() string
- func (m *MeasurementPoint) GetBearing() int32
- func (m *MeasurementPoint) GetMeasurementType() string
- func (m *MeasurementPoint) GetShaft() string
- func (m *MeasurementPoint) GetShaftSide() string
- func (*MeasurementPoint) ProtoMessage()
- func (m *MeasurementPoint) Reset()
- func (m *MeasurementPoint) String() string
- func (m *MeasurementPoint) XXX_DiscardUnknown()
- func (m *MeasurementPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MeasurementPoint) XXX_Merge(src proto.Message)
- func (m *MeasurementPoint) XXX_Size() int
- func (m *MeasurementPoint) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAssetNode() *AssetNode
- func (m *Node) GetCriticality() string
- func (m *Node) GetDescription() string
- func (m *Node) GetId() string
- func (m *Node) GetInspectionPoint() *InspectionPoint
- func (m *Node) GetLabel() string
- func (m *Node) GetMeasurementPoint() *MeasurementPoint
- func (m *Node) GetOrigin() *Origin
- func (m *Node) GetSubType() string
- func (m *Node) GetType() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Nodes
- func (*Nodes) Descriptor() ([]byte, []int)
- func (m *Nodes) GetNodes() []*Node
- func (*Nodes) ProtoMessage()
- func (m *Nodes) Reset()
- func (m *Nodes) String() string
- func (m *Nodes) XXX_DiscardUnknown()
- func (m *Nodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Nodes) XXX_Merge(src proto.Message)
- func (m *Nodes) XXX_Size() int
- func (m *Nodes) XXX_Unmarshal(b []byte) error
- type Origin
- func (*Origin) Descriptor() ([]byte, []int)
- func (m *Origin) GetId() string
- func (m *Origin) GetProvider() string
- func (m *Origin) GetType() string
- func (*Origin) ProtoMessage()
- func (m *Origin) Reset()
- func (m *Origin) String() string
- func (m *Origin) XXX_DiscardUnknown()
- func (m *Origin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Origin) XXX_Merge(src proto.Message)
- func (m *Origin) XXX_Size() int
- func (m *Origin) XXX_Unmarshal(b []byte) error
- type PrimitiveBytes
- func (*PrimitiveBytes) Descriptor() ([]byte, []int)
- func (m *PrimitiveBytes) GetValue() []byte
- func (*PrimitiveBytes) ProtoMessage()
- func (m *PrimitiveBytes) Reset()
- func (m *PrimitiveBytes) String() string
- func (m *PrimitiveBytes) XXX_DiscardUnknown()
- func (m *PrimitiveBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimitiveBytes) XXX_Merge(src proto.Message)
- func (m *PrimitiveBytes) XXX_Size() int
- func (m *PrimitiveBytes) XXX_Unmarshal(b []byte) error
- type PrimitiveInt32
- func (*PrimitiveInt32) Descriptor() ([]byte, []int)
- func (m *PrimitiveInt32) GetValue() int32
- func (*PrimitiveInt32) ProtoMessage()
- func (m *PrimitiveInt32) Reset()
- func (m *PrimitiveInt32) String() string
- func (m *PrimitiveInt32) XXX_DiscardUnknown()
- func (m *PrimitiveInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimitiveInt32) XXX_Merge(src proto.Message)
- func (m *PrimitiveInt32) XXX_Size() int
- func (m *PrimitiveInt32) XXX_Unmarshal(b []byte) error
- type PrimitiveString
- func (*PrimitiveString) Descriptor() ([]byte, []int)
- func (m *PrimitiveString) GetValue() string
- func (*PrimitiveString) ProtoMessage()
- func (m *PrimitiveString) Reset()
- func (m *PrimitiveString) String() string
- func (m *PrimitiveString) XXX_DiscardUnknown()
- func (m *PrimitiveString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimitiveString) XXX_Merge(src proto.Message)
- func (m *PrimitiveString) XXX_Size() int
- func (m *PrimitiveString) XXX_Unmarshal(b []byte) error
- type PrimitiveVoid
- func (*PrimitiveVoid) Descriptor() ([]byte, []int)
- func (*PrimitiveVoid) ProtoMessage()
- func (m *PrimitiveVoid) Reset()
- func (m *PrimitiveVoid) String() string
- func (m *PrimitiveVoid) XXX_DiscardUnknown()
- func (m *PrimitiveVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrimitiveVoid) XXX_Merge(src proto.Message)
- func (m *PrimitiveVoid) XXX_Size() int
- func (m *PrimitiveVoid) XXX_Unmarshal(b []byte) error
- type SaveNodeInput
- func (*SaveNodeInput) Descriptor() ([]byte, []int)
- func (m *SaveNodeInput) GetNode() *Node
- func (m *SaveNodeInput) GetParentId() string
- func (m *SaveNodeInput) GetParentOrigin() *Origin
- func (m *SaveNodeInput) GetUserId() string
- func (*SaveNodeInput) ProtoMessage()
- func (m *SaveNodeInput) Reset()
- func (m *SaveNodeInput) String() string
- func (m *SaveNodeInput) XXX_DiscardUnknown()
- func (m *SaveNodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SaveNodeInput) XXX_Merge(src proto.Message)
- func (m *SaveNodeInput) XXX_Size() int
- func (m *SaveNodeInput) XXX_Unmarshal(b []byte) error
- type ValueType
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) GetCriticality ¶
func (*AssetNode) ProtoMessage ¶
func (*AssetNode) ProtoMessage()
func (*AssetNode) XXX_DiscardUnknown ¶
func (m *AssetNode) XXX_DiscardUnknown()
func (*AssetNode) XXX_Marshal ¶
func (*AssetNode) XXX_Unmarshal ¶
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 ¶
type HierarchyServer interface { DeepPing(context.Context, *PrimitiveVoid) (*PrimitiveString, error) GetNode(context.Context, *PrimitiveString) (*Node, error) GetNodes(context.Context, *PrimitiveString) (*Nodes, error) GetChildNodes(context.Context, *PrimitiveString) (*Nodes, error) GetParentNode(context.Context, *PrimitiveString) (*Node, error) GetAncestors(context.Context, *GetAncestorsInput) (*GetAncestorsOutput, error) GetNodeIdByOrigin(context.Context, *Origin) (*PrimitiveString, error) SaveNode(context.Context, *SaveNodeInput) (*PrimitiveString, error) DeleteNode(context.Context, *DeleteNodeInput) (*PrimitiveVoid, error) GetEvents(context.Context, *GetEventsInput) (*GetEventsOutput, error) GetEventStream(*PrimitiveVoid, Hierarchy_GetEventStreamServer) error }
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) GetAssetNode ¶
func (*Node) GetCriticality ¶
func (*Node) GetDescription ¶
func (*Node) GetInspectionPoint ¶
func (m *Node) GetInspectionPoint() *InspectionPoint
func (*Node) GetMeasurementPoint ¶
func (m *Node) GetMeasurementPoint() *MeasurementPoint
func (*Node) GetSubType ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Nodes) ProtoMessage()
func (*Nodes) XXX_DiscardUnknown ¶
func (m *Nodes) XXX_DiscardUnknown()
func (*Nodes) XXX_Marshal ¶
func (*Nodes) XXX_Unmarshal ¶
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) GetProvider ¶
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) XXX_DiscardUnknown ¶
func (m *Origin) XXX_DiscardUnknown()
func (*Origin) XXX_Marshal ¶
func (*Origin) XXX_Unmarshal ¶
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
Click to show internal directories.
Click to hide internal directories.