Documentation ¶
Index ¶
- Variables
- func RegisterPointAlarmStatusServer(s *grpc.Server, srv PointAlarmStatusServer)
- type AlarmStatus
- type AlarmStatusInterval
- func (*AlarmStatusInterval) Descriptor() ([]byte, []int)
- func (m *AlarmStatusInterval) GetAlarmStatus() AlarmStatus
- func (m *AlarmStatusInterval) GetLeftBound() float64
- func (m *AlarmStatusInterval) GetRightBound() float64
- func (m *AlarmStatusInterval) GetType() IntervalType
- func (*AlarmStatusInterval) ProtoMessage()
- func (m *AlarmStatusInterval) Reset()
- func (m *AlarmStatusInterval) String() string
- func (m *AlarmStatusInterval) XXX_DiscardUnknown()
- func (m *AlarmStatusInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AlarmStatusInterval) XXX_Merge(src proto.Message)
- func (m *AlarmStatusInterval) XXX_Size() int
- func (m *AlarmStatusInterval) XXX_Unmarshal(b []byte) error
- type AlarmStatusIntervals
- func (*AlarmStatusIntervals) Descriptor() ([]byte, []int)
- func (m *AlarmStatusIntervals) GetList() []*AlarmStatusInterval
- func (*AlarmStatusIntervals) ProtoMessage()
- func (m *AlarmStatusIntervals) Reset()
- func (m *AlarmStatusIntervals) String() string
- func (m *AlarmStatusIntervals) XXX_DiscardUnknown()
- func (m *AlarmStatusIntervals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AlarmStatusIntervals) XXX_Merge(src proto.Message)
- func (m *AlarmStatusIntervals) XXX_Size() int
- func (m *AlarmStatusIntervals) XXX_Unmarshal(b []byte) error
- type DeepPingOutput
- func (*DeepPingOutput) Descriptor() ([]byte, []int)
- func (m *DeepPingOutput) GetValue() string
- func (*DeepPingOutput) ProtoMessage()
- func (m *DeepPingOutput) Reset()
- func (m *DeepPingOutput) String() string
- func (m *DeepPingOutput) XXX_DiscardUnknown()
- func (m *DeepPingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeepPingOutput) XXX_Merge(src proto.Message)
- func (m *DeepPingOutput) XXX_Size() int
- func (m *DeepPingOutput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmStatusInput
- func (*GetPointAlarmStatusInput) Descriptor() ([]byte, []int)
- func (m *GetPointAlarmStatusInput) GetNodeId() string
- func (*GetPointAlarmStatusInput) ProtoMessage()
- func (m *GetPointAlarmStatusInput) Reset()
- func (m *GetPointAlarmStatusInput) String() string
- func (m *GetPointAlarmStatusInput) XXX_DiscardUnknown()
- func (m *GetPointAlarmStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmStatusInput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmStatusInput) XXX_Size() int
- func (m *GetPointAlarmStatusInput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmStatusOutput
- func (*GetPointAlarmStatusOutput) Descriptor() ([]byte, []int)
- func (m *GetPointAlarmStatusOutput) GetAlarmStatus() AlarmStatus
- func (*GetPointAlarmStatusOutput) ProtoMessage()
- func (m *GetPointAlarmStatusOutput) Reset()
- func (m *GetPointAlarmStatusOutput) String() string
- func (m *GetPointAlarmStatusOutput) XXX_DiscardUnknown()
- func (m *GetPointAlarmStatusOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmStatusOutput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmStatusOutput) XXX_Size() int
- func (m *GetPointAlarmStatusOutput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmStatusStreamInput
- func (*GetPointAlarmStatusStreamInput) Descriptor() ([]byte, []int)
- func (*GetPointAlarmStatusStreamInput) ProtoMessage()
- func (m *GetPointAlarmStatusStreamInput) Reset()
- func (m *GetPointAlarmStatusStreamInput) String() string
- func (m *GetPointAlarmStatusStreamInput) XXX_DiscardUnknown()
- func (m *GetPointAlarmStatusStreamInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmStatusStreamInput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmStatusStreamInput) XXX_Size() int
- func (m *GetPointAlarmStatusStreamInput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmStatusStreamOutput
- func (*GetPointAlarmStatusStreamOutput) Descriptor() ([]byte, []int)
- func (m *GetPointAlarmStatusStreamOutput) GetAlarmStatus() AlarmStatus
- func (m *GetPointAlarmStatusStreamOutput) GetNodeId() string
- func (*GetPointAlarmStatusStreamOutput) ProtoMessage()
- func (m *GetPointAlarmStatusStreamOutput) Reset()
- func (m *GetPointAlarmStatusStreamOutput) String() string
- func (m *GetPointAlarmStatusStreamOutput) XXX_DiscardUnknown()
- func (m *GetPointAlarmStatusStreamOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmStatusStreamOutput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmStatusStreamOutput) XXX_Size() int
- func (m *GetPointAlarmStatusStreamOutput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmThresholdInput
- func (*GetPointAlarmThresholdInput) Descriptor() ([]byte, []int)
- func (m *GetPointAlarmThresholdInput) GetNodeId() string
- func (*GetPointAlarmThresholdInput) ProtoMessage()
- func (m *GetPointAlarmThresholdInput) Reset()
- func (m *GetPointAlarmThresholdInput) String() string
- func (m *GetPointAlarmThresholdInput) XXX_DiscardUnknown()
- func (m *GetPointAlarmThresholdInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmThresholdInput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmThresholdInput) XXX_Size() int
- func (m *GetPointAlarmThresholdInput) XXX_Unmarshal(b []byte) error
- type GetPointAlarmThresholdOutput
- func (*GetPointAlarmThresholdOutput) Descriptor() ([]byte, []int)
- func (m *GetPointAlarmThresholdOutput) GetIntervals() *AlarmStatusIntervals
- func (m *GetPointAlarmThresholdOutput) GetType() ThresholdType
- func (*GetPointAlarmThresholdOutput) ProtoMessage()
- func (m *GetPointAlarmThresholdOutput) Reset()
- func (m *GetPointAlarmThresholdOutput) String() string
- func (m *GetPointAlarmThresholdOutput) XXX_DiscardUnknown()
- func (m *GetPointAlarmThresholdOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPointAlarmThresholdOutput) XXX_Merge(src proto.Message)
- func (m *GetPointAlarmThresholdOutput) XXX_Size() int
- func (m *GetPointAlarmThresholdOutput) XXX_Unmarshal(b []byte) error
- type IntervalType
- type PointAlarmStatusClient
- type PointAlarmStatusServer
- type PointAlarmStatus_GetPointAlarmStatusStreamClient
- type PointAlarmStatus_GetPointAlarmStatusStreamServer
- type SetPointAlarmStatusInput
- func (*SetPointAlarmStatusInput) Descriptor() ([]byte, []int)
- func (m *SetPointAlarmStatusInput) GetAlarmStatus() AlarmStatus
- func (m *SetPointAlarmStatusInput) GetNodeId() string
- func (*SetPointAlarmStatusInput) ProtoMessage()
- func (m *SetPointAlarmStatusInput) Reset()
- func (m *SetPointAlarmStatusInput) String() string
- func (m *SetPointAlarmStatusInput) XXX_DiscardUnknown()
- func (m *SetPointAlarmStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetPointAlarmStatusInput) XXX_Merge(src proto.Message)
- func (m *SetPointAlarmStatusInput) XXX_Size() int
- func (m *SetPointAlarmStatusInput) XXX_Unmarshal(b []byte) error
- type SetPointAlarmStatusOutput
- func (*SetPointAlarmStatusOutput) Descriptor() ([]byte, []int)
- func (*SetPointAlarmStatusOutput) ProtoMessage()
- func (m *SetPointAlarmStatusOutput) Reset()
- func (m *SetPointAlarmStatusOutput) String() string
- func (m *SetPointAlarmStatusOutput) XXX_DiscardUnknown()
- func (m *SetPointAlarmStatusOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetPointAlarmStatusOutput) XXX_Merge(src proto.Message)
- func (m *SetPointAlarmStatusOutput) XXX_Size() int
- func (m *SetPointAlarmStatusOutput) XXX_Unmarshal(b []byte) error
- type SetPointAlarmThresholdInput
- func (*SetPointAlarmThresholdInput) Descriptor() ([]byte, []int)
- func (m *SetPointAlarmThresholdInput) GetIntervals() *AlarmStatusIntervals
- func (m *SetPointAlarmThresholdInput) GetNodeId() string
- func (m *SetPointAlarmThresholdInput) GetType() ThresholdType
- func (m *SetPointAlarmThresholdInput) GetUserId() string
- func (*SetPointAlarmThresholdInput) ProtoMessage()
- func (m *SetPointAlarmThresholdInput) Reset()
- func (m *SetPointAlarmThresholdInput) String() string
- func (m *SetPointAlarmThresholdInput) XXX_DiscardUnknown()
- func (m *SetPointAlarmThresholdInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetPointAlarmThresholdInput) XXX_Merge(src proto.Message)
- func (m *SetPointAlarmThresholdInput) XXX_Size() int
- func (m *SetPointAlarmThresholdInput) XXX_Unmarshal(b []byte) error
- type SetPointAlarmThresholdOutput
- func (*SetPointAlarmThresholdOutput) Descriptor() ([]byte, []int)
- func (*SetPointAlarmThresholdOutput) ProtoMessage()
- func (m *SetPointAlarmThresholdOutput) Reset()
- func (m *SetPointAlarmThresholdOutput) String() string
- func (m *SetPointAlarmThresholdOutput) XXX_DiscardUnknown()
- func (m *SetPointAlarmThresholdOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetPointAlarmThresholdOutput) XXX_Merge(src proto.Message)
- func (m *SetPointAlarmThresholdOutput) XXX_Size() int
- func (m *SetPointAlarmThresholdOutput) XXX_Unmarshal(b []byte) error
- type ThresholdType
- type Void
- func (*Void) Descriptor() ([]byte, []int)
- func (*Void) ProtoMessage()
- func (m *Void) Reset()
- func (m *Void) String() string
- func (m *Void) XXX_DiscardUnknown()
- func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Void) XXX_Merge(src proto.Message)
- func (m *Void) XXX_Size() int
- func (m *Void) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AlarmStatus_name = map[int32]string{
0: "NOT_CONFIGURED",
1: "NO_DATA",
2: "GOOD",
3: "ALERT",
4: "DANGER",
}
View Source
var AlarmStatus_value = map[string]int32{
"NOT_CONFIGURED": 0,
"NO_DATA": 1,
"GOOD": 2,
"ALERT": 3,
"DANGER": 4,
}
View Source
var IntervalType_name = map[int32]string{
0: "BOUNDED_OPEN",
1: "BOUNDED_CLOSED",
2: "BOUNDED_LEFT_OPEN_RIGHT_CLOSED",
3: "BOUNDED_LEFT_CLOSED_RIGHT_OPEN",
4: "UNBOUNDED",
5: "LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_OPEN",
6: "LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_CLOSED",
7: "LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_OPEN",
8: "LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_CLOSED",
}
View Source
var IntervalType_value = map[string]int32{
"BOUNDED_OPEN": 0,
"BOUNDED_CLOSED": 1,
"BOUNDED_LEFT_OPEN_RIGHT_CLOSED": 2,
"BOUNDED_LEFT_CLOSED_RIGHT_OPEN": 3,
"UNBOUNDED": 4,
"LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_OPEN": 5,
"LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_CLOSED": 6,
"LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_OPEN": 7,
"LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_CLOSED": 8,
}
View Source
var ThresholdType_name = map[int32]string{
0: "NONE",
1: "OVERALL_IN_WINDOW",
2: "OVERALL_OUT_OF_WINDOW",
}
View Source
var ThresholdType_value = map[string]int32{
"NONE": 0,
"OVERALL_IN_WINDOW": 1,
"OVERALL_OUT_OF_WINDOW": 2,
}
Functions ¶
func RegisterPointAlarmStatusServer ¶
func RegisterPointAlarmStatusServer(s *grpc.Server, srv PointAlarmStatusServer)
Types ¶
type AlarmStatus ¶
type AlarmStatus int32
const ( AlarmStatus_NOT_CONFIGURED AlarmStatus = 0 AlarmStatus_NO_DATA AlarmStatus = 1 AlarmStatus_GOOD AlarmStatus = 2 AlarmStatus_ALERT AlarmStatus = 3 AlarmStatus_DANGER AlarmStatus = 4 )
func (AlarmStatus) EnumDescriptor ¶
func (AlarmStatus) EnumDescriptor() ([]byte, []int)
func (AlarmStatus) String ¶
func (x AlarmStatus) String() string
type AlarmStatusInterval ¶
type AlarmStatusInterval struct { LeftBound float64 `protobuf:"fixed64,1,opt,name=left_bound,json=leftBound,proto3" json:"left_bound,omitempty"` RightBound float64 `protobuf:"fixed64,2,opt,name=right_bound,json=rightBound,proto3" json:"right_bound,omitempty"` Type IntervalType `protobuf:"varint,3,opt,name=type,proto3,enum=pasapi.IntervalType" json:"type,omitempty"` AlarmStatus AlarmStatus `protobuf:"varint,4,opt,name=alarm_status,json=alarmStatus,proto3,enum=pasapi.AlarmStatus" json:"alarm_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlarmStatusInterval) Descriptor ¶
func (*AlarmStatusInterval) Descriptor() ([]byte, []int)
func (*AlarmStatusInterval) GetAlarmStatus ¶
func (m *AlarmStatusInterval) GetAlarmStatus() AlarmStatus
func (*AlarmStatusInterval) GetLeftBound ¶
func (m *AlarmStatusInterval) GetLeftBound() float64
func (*AlarmStatusInterval) GetRightBound ¶
func (m *AlarmStatusInterval) GetRightBound() float64
func (*AlarmStatusInterval) GetType ¶
func (m *AlarmStatusInterval) GetType() IntervalType
func (*AlarmStatusInterval) ProtoMessage ¶
func (*AlarmStatusInterval) ProtoMessage()
func (*AlarmStatusInterval) Reset ¶
func (m *AlarmStatusInterval) Reset()
func (*AlarmStatusInterval) String ¶
func (m *AlarmStatusInterval) String() string
func (*AlarmStatusInterval) XXX_DiscardUnknown ¶
func (m *AlarmStatusInterval) XXX_DiscardUnknown()
func (*AlarmStatusInterval) XXX_Marshal ¶
func (m *AlarmStatusInterval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlarmStatusInterval) XXX_Merge ¶
func (dst *AlarmStatusInterval) XXX_Merge(src proto.Message)
func (*AlarmStatusInterval) XXX_Size ¶
func (m *AlarmStatusInterval) XXX_Size() int
func (*AlarmStatusInterval) XXX_Unmarshal ¶
func (m *AlarmStatusInterval) XXX_Unmarshal(b []byte) error
type AlarmStatusIntervals ¶
type AlarmStatusIntervals struct { List []*AlarmStatusInterval `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlarmStatusIntervals) Descriptor ¶
func (*AlarmStatusIntervals) Descriptor() ([]byte, []int)
func (*AlarmStatusIntervals) GetList ¶
func (m *AlarmStatusIntervals) GetList() []*AlarmStatusInterval
func (*AlarmStatusIntervals) ProtoMessage ¶
func (*AlarmStatusIntervals) ProtoMessage()
func (*AlarmStatusIntervals) Reset ¶
func (m *AlarmStatusIntervals) Reset()
func (*AlarmStatusIntervals) String ¶
func (m *AlarmStatusIntervals) String() string
func (*AlarmStatusIntervals) XXX_DiscardUnknown ¶
func (m *AlarmStatusIntervals) XXX_DiscardUnknown()
func (*AlarmStatusIntervals) XXX_Marshal ¶
func (m *AlarmStatusIntervals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlarmStatusIntervals) XXX_Merge ¶
func (dst *AlarmStatusIntervals) XXX_Merge(src proto.Message)
func (*AlarmStatusIntervals) XXX_Size ¶
func (m *AlarmStatusIntervals) XXX_Size() int
func (*AlarmStatusIntervals) XXX_Unmarshal ¶
func (m *AlarmStatusIntervals) XXX_Unmarshal(b []byte) error
type DeepPingOutput ¶
type DeepPingOutput 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:"-"` }
DeepPing Messages
func (*DeepPingOutput) Descriptor ¶
func (*DeepPingOutput) Descriptor() ([]byte, []int)
func (*DeepPingOutput) GetValue ¶
func (m *DeepPingOutput) GetValue() string
func (*DeepPingOutput) ProtoMessage ¶
func (*DeepPingOutput) ProtoMessage()
func (*DeepPingOutput) Reset ¶
func (m *DeepPingOutput) Reset()
func (*DeepPingOutput) String ¶
func (m *DeepPingOutput) String() string
func (*DeepPingOutput) XXX_DiscardUnknown ¶
func (m *DeepPingOutput) XXX_DiscardUnknown()
func (*DeepPingOutput) XXX_Marshal ¶
func (m *DeepPingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeepPingOutput) XXX_Merge ¶
func (dst *DeepPingOutput) XXX_Merge(src proto.Message)
func (*DeepPingOutput) XXX_Size ¶
func (m *DeepPingOutput) XXX_Size() int
func (*DeepPingOutput) XXX_Unmarshal ¶
func (m *DeepPingOutput) XXX_Unmarshal(b []byte) error
type GetPointAlarmStatusInput ¶
type GetPointAlarmStatusInput 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:"-"` }
GetPointAlarmStatus Messages
func (*GetPointAlarmStatusInput) Descriptor ¶
func (*GetPointAlarmStatusInput) Descriptor() ([]byte, []int)
func (*GetPointAlarmStatusInput) GetNodeId ¶
func (m *GetPointAlarmStatusInput) GetNodeId() string
func (*GetPointAlarmStatusInput) ProtoMessage ¶
func (*GetPointAlarmStatusInput) ProtoMessage()
func (*GetPointAlarmStatusInput) Reset ¶
func (m *GetPointAlarmStatusInput) Reset()
func (*GetPointAlarmStatusInput) String ¶
func (m *GetPointAlarmStatusInput) String() string
func (*GetPointAlarmStatusInput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmStatusInput) XXX_DiscardUnknown()
func (*GetPointAlarmStatusInput) XXX_Marshal ¶
func (m *GetPointAlarmStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmStatusInput) XXX_Merge ¶
func (dst *GetPointAlarmStatusInput) XXX_Merge(src proto.Message)
func (*GetPointAlarmStatusInput) XXX_Size ¶
func (m *GetPointAlarmStatusInput) XXX_Size() int
func (*GetPointAlarmStatusInput) XXX_Unmarshal ¶
func (m *GetPointAlarmStatusInput) XXX_Unmarshal(b []byte) error
type GetPointAlarmStatusOutput ¶
type GetPointAlarmStatusOutput struct { AlarmStatus AlarmStatus `protobuf:"varint,1,opt,name=alarm_status,json=alarmStatus,proto3,enum=pasapi.AlarmStatus" json:"alarm_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPointAlarmStatusOutput) Descriptor ¶
func (*GetPointAlarmStatusOutput) Descriptor() ([]byte, []int)
func (*GetPointAlarmStatusOutput) GetAlarmStatus ¶
func (m *GetPointAlarmStatusOutput) GetAlarmStatus() AlarmStatus
func (*GetPointAlarmStatusOutput) ProtoMessage ¶
func (*GetPointAlarmStatusOutput) ProtoMessage()
func (*GetPointAlarmStatusOutput) Reset ¶
func (m *GetPointAlarmStatusOutput) Reset()
func (*GetPointAlarmStatusOutput) String ¶
func (m *GetPointAlarmStatusOutput) String() string
func (*GetPointAlarmStatusOutput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmStatusOutput) XXX_DiscardUnknown()
func (*GetPointAlarmStatusOutput) XXX_Marshal ¶
func (m *GetPointAlarmStatusOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmStatusOutput) XXX_Merge ¶
func (dst *GetPointAlarmStatusOutput) XXX_Merge(src proto.Message)
func (*GetPointAlarmStatusOutput) XXX_Size ¶
func (m *GetPointAlarmStatusOutput) XXX_Size() int
func (*GetPointAlarmStatusOutput) XXX_Unmarshal ¶
func (m *GetPointAlarmStatusOutput) XXX_Unmarshal(b []byte) error
type GetPointAlarmStatusStreamInput ¶
type GetPointAlarmStatusStreamInput struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetPointAlarmStatusStream Messages
func (*GetPointAlarmStatusStreamInput) Descriptor ¶
func (*GetPointAlarmStatusStreamInput) Descriptor() ([]byte, []int)
func (*GetPointAlarmStatusStreamInput) ProtoMessage ¶
func (*GetPointAlarmStatusStreamInput) ProtoMessage()
func (*GetPointAlarmStatusStreamInput) Reset ¶
func (m *GetPointAlarmStatusStreamInput) Reset()
func (*GetPointAlarmStatusStreamInput) String ¶
func (m *GetPointAlarmStatusStreamInput) String() string
func (*GetPointAlarmStatusStreamInput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmStatusStreamInput) XXX_DiscardUnknown()
func (*GetPointAlarmStatusStreamInput) XXX_Marshal ¶
func (m *GetPointAlarmStatusStreamInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmStatusStreamInput) XXX_Merge ¶
func (dst *GetPointAlarmStatusStreamInput) XXX_Merge(src proto.Message)
func (*GetPointAlarmStatusStreamInput) XXX_Size ¶
func (m *GetPointAlarmStatusStreamInput) XXX_Size() int
func (*GetPointAlarmStatusStreamInput) XXX_Unmarshal ¶
func (m *GetPointAlarmStatusStreamInput) XXX_Unmarshal(b []byte) error
type GetPointAlarmStatusStreamOutput ¶
type GetPointAlarmStatusStreamOutput struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` AlarmStatus AlarmStatus `protobuf:"varint,2,opt,name=alarm_status,json=alarmStatus,proto3,enum=pasapi.AlarmStatus" json:"alarm_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPointAlarmStatusStreamOutput) Descriptor ¶
func (*GetPointAlarmStatusStreamOutput) Descriptor() ([]byte, []int)
func (*GetPointAlarmStatusStreamOutput) GetAlarmStatus ¶
func (m *GetPointAlarmStatusStreamOutput) GetAlarmStatus() AlarmStatus
func (*GetPointAlarmStatusStreamOutput) GetNodeId ¶
func (m *GetPointAlarmStatusStreamOutput) GetNodeId() string
func (*GetPointAlarmStatusStreamOutput) ProtoMessage ¶
func (*GetPointAlarmStatusStreamOutput) ProtoMessage()
func (*GetPointAlarmStatusStreamOutput) Reset ¶
func (m *GetPointAlarmStatusStreamOutput) Reset()
func (*GetPointAlarmStatusStreamOutput) String ¶
func (m *GetPointAlarmStatusStreamOutput) String() string
func (*GetPointAlarmStatusStreamOutput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmStatusStreamOutput) XXX_DiscardUnknown()
func (*GetPointAlarmStatusStreamOutput) XXX_Marshal ¶
func (m *GetPointAlarmStatusStreamOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmStatusStreamOutput) XXX_Merge ¶
func (dst *GetPointAlarmStatusStreamOutput) XXX_Merge(src proto.Message)
func (*GetPointAlarmStatusStreamOutput) XXX_Size ¶
func (m *GetPointAlarmStatusStreamOutput) XXX_Size() int
func (*GetPointAlarmStatusStreamOutput) XXX_Unmarshal ¶
func (m *GetPointAlarmStatusStreamOutput) XXX_Unmarshal(b []byte) error
type GetPointAlarmThresholdInput ¶
type GetPointAlarmThresholdInput 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:"-"` }
GetPointAlarmThreshold Messages
func (*GetPointAlarmThresholdInput) Descriptor ¶
func (*GetPointAlarmThresholdInput) Descriptor() ([]byte, []int)
func (*GetPointAlarmThresholdInput) GetNodeId ¶
func (m *GetPointAlarmThresholdInput) GetNodeId() string
func (*GetPointAlarmThresholdInput) ProtoMessage ¶
func (*GetPointAlarmThresholdInput) ProtoMessage()
func (*GetPointAlarmThresholdInput) Reset ¶
func (m *GetPointAlarmThresholdInput) Reset()
func (*GetPointAlarmThresholdInput) String ¶
func (m *GetPointAlarmThresholdInput) String() string
func (*GetPointAlarmThresholdInput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmThresholdInput) XXX_DiscardUnknown()
func (*GetPointAlarmThresholdInput) XXX_Marshal ¶
func (m *GetPointAlarmThresholdInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmThresholdInput) XXX_Merge ¶
func (dst *GetPointAlarmThresholdInput) XXX_Merge(src proto.Message)
func (*GetPointAlarmThresholdInput) XXX_Size ¶
func (m *GetPointAlarmThresholdInput) XXX_Size() int
func (*GetPointAlarmThresholdInput) XXX_Unmarshal ¶
func (m *GetPointAlarmThresholdInput) XXX_Unmarshal(b []byte) error
type GetPointAlarmThresholdOutput ¶
type GetPointAlarmThresholdOutput struct { Type ThresholdType `protobuf:"varint,1,opt,name=type,proto3,enum=pasapi.ThresholdType" json:"type,omitempty"` Intervals *AlarmStatusIntervals `protobuf:"bytes,2,opt,name=intervals,proto3" json:"intervals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPointAlarmThresholdOutput) Descriptor ¶
func (*GetPointAlarmThresholdOutput) Descriptor() ([]byte, []int)
func (*GetPointAlarmThresholdOutput) GetIntervals ¶
func (m *GetPointAlarmThresholdOutput) GetIntervals() *AlarmStatusIntervals
func (*GetPointAlarmThresholdOutput) GetType ¶
func (m *GetPointAlarmThresholdOutput) GetType() ThresholdType
func (*GetPointAlarmThresholdOutput) ProtoMessage ¶
func (*GetPointAlarmThresholdOutput) ProtoMessage()
func (*GetPointAlarmThresholdOutput) Reset ¶
func (m *GetPointAlarmThresholdOutput) Reset()
func (*GetPointAlarmThresholdOutput) String ¶
func (m *GetPointAlarmThresholdOutput) String() string
func (*GetPointAlarmThresholdOutput) XXX_DiscardUnknown ¶
func (m *GetPointAlarmThresholdOutput) XXX_DiscardUnknown()
func (*GetPointAlarmThresholdOutput) XXX_Marshal ¶
func (m *GetPointAlarmThresholdOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPointAlarmThresholdOutput) XXX_Merge ¶
func (dst *GetPointAlarmThresholdOutput) XXX_Merge(src proto.Message)
func (*GetPointAlarmThresholdOutput) XXX_Size ¶
func (m *GetPointAlarmThresholdOutput) XXX_Size() int
func (*GetPointAlarmThresholdOutput) XXX_Unmarshal ¶
func (m *GetPointAlarmThresholdOutput) XXX_Unmarshal(b []byte) error
type IntervalType ¶
type IntervalType int32
https://en.wikipedia.org/wiki/Interval_(mathematics)#Classification_of_intervals
const ( IntervalType_BOUNDED_OPEN IntervalType = 0 IntervalType_BOUNDED_CLOSED IntervalType = 1 IntervalType_BOUNDED_LEFT_OPEN_RIGHT_CLOSED IntervalType = 2 IntervalType_BOUNDED_LEFT_CLOSED_RIGHT_OPEN IntervalType = 3 IntervalType_UNBOUNDED IntervalType = 4 IntervalType_LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_OPEN IntervalType = 5 IntervalType_LEFT_UNBOUNDED_RIGHT_BOUNDED_RIGHT_CLOSED IntervalType = 6 IntervalType_LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_OPEN IntervalType = 7 IntervalType_LEFT_BOUNDED_RIGHT_UNBOUNDED_LEFT_CLOSED IntervalType = 8 )
func (IntervalType) EnumDescriptor ¶
func (IntervalType) EnumDescriptor() ([]byte, []int)
func (IntervalType) String ¶
func (x IntervalType) String() string
type PointAlarmStatusClient ¶
type PointAlarmStatusClient interface { DeepPing(ctx context.Context, in *Void, opts ...grpc.CallOption) (*DeepPingOutput, error) SetPointAlarmThreshold(ctx context.Context, in *SetPointAlarmThresholdInput, opts ...grpc.CallOption) (*SetPointAlarmThresholdOutput, error) GetPointAlarmThreshold(ctx context.Context, in *GetPointAlarmThresholdInput, opts ...grpc.CallOption) (*GetPointAlarmThresholdOutput, error) SetPointAlarmStatus(ctx context.Context, in *SetPointAlarmStatusInput, opts ...grpc.CallOption) (*SetPointAlarmStatusOutput, error) GetPointAlarmStatus(ctx context.Context, in *GetPointAlarmStatusInput, opts ...grpc.CallOption) (*GetPointAlarmStatusOutput, error) GetPointAlarmStatusStream(ctx context.Context, in *GetPointAlarmStatusStreamInput, opts ...grpc.CallOption) (PointAlarmStatus_GetPointAlarmStatusStreamClient, error) }
PointAlarmStatusClient is the client API for PointAlarmStatus service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPointAlarmStatusClient ¶
func NewPointAlarmStatusClient(cc *grpc.ClientConn) PointAlarmStatusClient
type PointAlarmStatusServer ¶
type PointAlarmStatusServer interface { DeepPing(context.Context, *Void) (*DeepPingOutput, error) SetPointAlarmThreshold(context.Context, *SetPointAlarmThresholdInput) (*SetPointAlarmThresholdOutput, error) GetPointAlarmThreshold(context.Context, *GetPointAlarmThresholdInput) (*GetPointAlarmThresholdOutput, error) SetPointAlarmStatus(context.Context, *SetPointAlarmStatusInput) (*SetPointAlarmStatusOutput, error) GetPointAlarmStatus(context.Context, *GetPointAlarmStatusInput) (*GetPointAlarmStatusOutput, error) GetPointAlarmStatusStream(*GetPointAlarmStatusStreamInput, PointAlarmStatus_GetPointAlarmStatusStreamServer) error }
PointAlarmStatusServer is the server API for PointAlarmStatus service.
type PointAlarmStatus_GetPointAlarmStatusStreamClient ¶
type PointAlarmStatus_GetPointAlarmStatusStreamClient interface { Recv() (*GetPointAlarmStatusStreamOutput, error) grpc.ClientStream }
type PointAlarmStatus_GetPointAlarmStatusStreamServer ¶
type PointAlarmStatus_GetPointAlarmStatusStreamServer interface { Send(*GetPointAlarmStatusStreamOutput) error grpc.ServerStream }
type SetPointAlarmStatusInput ¶
type SetPointAlarmStatusInput struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` AlarmStatus AlarmStatus `protobuf:"varint,2,opt,name=alarm_status,json=alarmStatus,proto3,enum=pasapi.AlarmStatus" json:"alarm_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetPointAlarmStatus Messages
func (*SetPointAlarmStatusInput) Descriptor ¶
func (*SetPointAlarmStatusInput) Descriptor() ([]byte, []int)
func (*SetPointAlarmStatusInput) GetAlarmStatus ¶
func (m *SetPointAlarmStatusInput) GetAlarmStatus() AlarmStatus
func (*SetPointAlarmStatusInput) GetNodeId ¶
func (m *SetPointAlarmStatusInput) GetNodeId() string
func (*SetPointAlarmStatusInput) ProtoMessage ¶
func (*SetPointAlarmStatusInput) ProtoMessage()
func (*SetPointAlarmStatusInput) Reset ¶
func (m *SetPointAlarmStatusInput) Reset()
func (*SetPointAlarmStatusInput) String ¶
func (m *SetPointAlarmStatusInput) String() string
func (*SetPointAlarmStatusInput) XXX_DiscardUnknown ¶
func (m *SetPointAlarmStatusInput) XXX_DiscardUnknown()
func (*SetPointAlarmStatusInput) XXX_Marshal ¶
func (m *SetPointAlarmStatusInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPointAlarmStatusInput) XXX_Merge ¶
func (dst *SetPointAlarmStatusInput) XXX_Merge(src proto.Message)
func (*SetPointAlarmStatusInput) XXX_Size ¶
func (m *SetPointAlarmStatusInput) XXX_Size() int
func (*SetPointAlarmStatusInput) XXX_Unmarshal ¶
func (m *SetPointAlarmStatusInput) XXX_Unmarshal(b []byte) error
type SetPointAlarmStatusOutput ¶
type SetPointAlarmStatusOutput struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetPointAlarmStatusOutput) Descriptor ¶
func (*SetPointAlarmStatusOutput) Descriptor() ([]byte, []int)
func (*SetPointAlarmStatusOutput) ProtoMessage ¶
func (*SetPointAlarmStatusOutput) ProtoMessage()
func (*SetPointAlarmStatusOutput) Reset ¶
func (m *SetPointAlarmStatusOutput) Reset()
func (*SetPointAlarmStatusOutput) String ¶
func (m *SetPointAlarmStatusOutput) String() string
func (*SetPointAlarmStatusOutput) XXX_DiscardUnknown ¶
func (m *SetPointAlarmStatusOutput) XXX_DiscardUnknown()
func (*SetPointAlarmStatusOutput) XXX_Marshal ¶
func (m *SetPointAlarmStatusOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPointAlarmStatusOutput) XXX_Merge ¶
func (dst *SetPointAlarmStatusOutput) XXX_Merge(src proto.Message)
func (*SetPointAlarmStatusOutput) XXX_Size ¶
func (m *SetPointAlarmStatusOutput) XXX_Size() int
func (*SetPointAlarmStatusOutput) XXX_Unmarshal ¶
func (m *SetPointAlarmStatusOutput) XXX_Unmarshal(b []byte) error
type SetPointAlarmThresholdInput ¶
type SetPointAlarmThresholdInput struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Type ThresholdType `protobuf:"varint,3,opt,name=type,proto3,enum=pasapi.ThresholdType" json:"type,omitempty"` Intervals *AlarmStatusIntervals `protobuf:"bytes,4,opt,name=intervals,proto3" json:"intervals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetPointAlarmThreshold Messages
func (*SetPointAlarmThresholdInput) Descriptor ¶
func (*SetPointAlarmThresholdInput) Descriptor() ([]byte, []int)
func (*SetPointAlarmThresholdInput) GetIntervals ¶
func (m *SetPointAlarmThresholdInput) GetIntervals() *AlarmStatusIntervals
func (*SetPointAlarmThresholdInput) GetNodeId ¶
func (m *SetPointAlarmThresholdInput) GetNodeId() string
func (*SetPointAlarmThresholdInput) GetType ¶
func (m *SetPointAlarmThresholdInput) GetType() ThresholdType
func (*SetPointAlarmThresholdInput) GetUserId ¶
func (m *SetPointAlarmThresholdInput) GetUserId() string
func (*SetPointAlarmThresholdInput) ProtoMessage ¶
func (*SetPointAlarmThresholdInput) ProtoMessage()
func (*SetPointAlarmThresholdInput) Reset ¶
func (m *SetPointAlarmThresholdInput) Reset()
func (*SetPointAlarmThresholdInput) String ¶
func (m *SetPointAlarmThresholdInput) String() string
func (*SetPointAlarmThresholdInput) XXX_DiscardUnknown ¶
func (m *SetPointAlarmThresholdInput) XXX_DiscardUnknown()
func (*SetPointAlarmThresholdInput) XXX_Marshal ¶
func (m *SetPointAlarmThresholdInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPointAlarmThresholdInput) XXX_Merge ¶
func (dst *SetPointAlarmThresholdInput) XXX_Merge(src proto.Message)
func (*SetPointAlarmThresholdInput) XXX_Size ¶
func (m *SetPointAlarmThresholdInput) XXX_Size() int
func (*SetPointAlarmThresholdInput) XXX_Unmarshal ¶
func (m *SetPointAlarmThresholdInput) XXX_Unmarshal(b []byte) error
type SetPointAlarmThresholdOutput ¶
type SetPointAlarmThresholdOutput struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetPointAlarmThresholdOutput) Descriptor ¶
func (*SetPointAlarmThresholdOutput) Descriptor() ([]byte, []int)
func (*SetPointAlarmThresholdOutput) ProtoMessage ¶
func (*SetPointAlarmThresholdOutput) ProtoMessage()
func (*SetPointAlarmThresholdOutput) Reset ¶
func (m *SetPointAlarmThresholdOutput) Reset()
func (*SetPointAlarmThresholdOutput) String ¶
func (m *SetPointAlarmThresholdOutput) String() string
func (*SetPointAlarmThresholdOutput) XXX_DiscardUnknown ¶
func (m *SetPointAlarmThresholdOutput) XXX_DiscardUnknown()
func (*SetPointAlarmThresholdOutput) XXX_Marshal ¶
func (m *SetPointAlarmThresholdOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPointAlarmThresholdOutput) XXX_Merge ¶
func (dst *SetPointAlarmThresholdOutput) XXX_Merge(src proto.Message)
func (*SetPointAlarmThresholdOutput) XXX_Size ¶
func (m *SetPointAlarmThresholdOutput) XXX_Size() int
func (*SetPointAlarmThresholdOutput) XXX_Unmarshal ¶
func (m *SetPointAlarmThresholdOutput) XXX_Unmarshal(b []byte) error
type ThresholdType ¶
type ThresholdType int32
const ( ThresholdType_NONE ThresholdType = 0 ThresholdType_OVERALL_IN_WINDOW ThresholdType = 1 ThresholdType_OVERALL_OUT_OF_WINDOW ThresholdType = 2 )
func (ThresholdType) EnumDescriptor ¶
func (ThresholdType) EnumDescriptor() ([]byte, []int)
func (ThresholdType) String ¶
func (x ThresholdType) String() string
type Void ¶
type Void struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Void) Descriptor ¶
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) XXX_DiscardUnknown ¶
func (m *Void) XXX_DiscardUnknown()
func (*Void) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.