Documentation ¶
Index ¶
- Variables
- func RegisterPointAlarmStatusServer(s *grpc.Server, srv PointAlarmStatusServer)
- type AlarmStatus
- 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 DoubleObject
- func (*DoubleObject) Descriptor() ([]byte, []int)
- func (m *DoubleObject) GetValue() float64
- func (*DoubleObject) ProtoMessage()
- func (m *DoubleObject) Reset()
- func (m *DoubleObject) String() string
- func (m *DoubleObject) XXX_DiscardUnknown()
- func (m *DoubleObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DoubleObject) XXX_Merge(src proto.Message)
- func (m *DoubleObject) XXX_Size() int
- func (m *DoubleObject) 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) GetOverall() *Overall
- 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 Overall
- func (*Overall) Descriptor() ([]byte, []int)
- func (m *Overall) GetInnerHigh() *DoubleObject
- func (m *Overall) GetInnerLow() *DoubleObject
- func (m *Overall) GetOuterHigh() *DoubleObject
- func (m *Overall) GetOuterLow() *DoubleObject
- func (*Overall) ProtoMessage()
- func (m *Overall) Reset()
- func (m *Overall) String() string
- func (m *Overall) XXX_DiscardUnknown()
- func (m *Overall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Overall) XXX_Merge(src proto.Message)
- func (m *Overall) XXX_Size() int
- func (m *Overall) XXX_Unmarshal(b []byte) error
- 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) GetNodeId() string
- func (m *SetPointAlarmThresholdInput) GetOverall() *Overall
- 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 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 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 DoubleObject ¶ added in v1.1.1
type DoubleObject struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DoubleObject) Descriptor ¶ added in v1.1.1
func (*DoubleObject) Descriptor() ([]byte, []int)
func (*DoubleObject) GetValue ¶ added in v1.1.1
func (m *DoubleObject) GetValue() float64
func (*DoubleObject) ProtoMessage ¶ added in v1.1.1
func (*DoubleObject) ProtoMessage()
func (*DoubleObject) Reset ¶ added in v1.1.1
func (m *DoubleObject) Reset()
func (*DoubleObject) String ¶ added in v1.1.1
func (m *DoubleObject) String() string
func (*DoubleObject) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *DoubleObject) XXX_DiscardUnknown()
func (*DoubleObject) XXX_Marshal ¶ added in v1.1.1
func (m *DoubleObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DoubleObject) XXX_Merge ¶ added in v1.1.1
func (dst *DoubleObject) XXX_Merge(src proto.Message)
func (*DoubleObject) XXX_Size ¶ added in v1.1.1
func (m *DoubleObject) XXX_Size() int
func (*DoubleObject) XXX_Unmarshal ¶ added in v1.1.1
func (m *DoubleObject) 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"` Overall *Overall `protobuf:"bytes,2,opt,name=overall,proto3" json:"overall,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPointAlarmThresholdOutput) Descriptor ¶
func (*GetPointAlarmThresholdOutput) Descriptor() ([]byte, []int)
func (*GetPointAlarmThresholdOutput) GetOverall ¶ added in v1.1.1
func (m *GetPointAlarmThresholdOutput) GetOverall() *Overall
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 Overall ¶ added in v1.1.1
type Overall struct { OuterHigh *DoubleObject `protobuf:"bytes,1,opt,name=outer_high,json=outerHigh,proto3" json:"outer_high,omitempty"` InnerHigh *DoubleObject `protobuf:"bytes,2,opt,name=inner_high,json=innerHigh,proto3" json:"inner_high,omitempty"` InnerLow *DoubleObject `protobuf:"bytes,3,opt,name=inner_low,json=innerLow,proto3" json:"inner_low,omitempty"` OuterLow *DoubleObject `protobuf:"bytes,4,opt,name=outer_low,json=outerLow,proto3" json:"outer_low,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Overall) Descriptor ¶ added in v1.1.1
func (*Overall) GetInnerHigh ¶ added in v1.1.1
func (m *Overall) GetInnerHigh() *DoubleObject
func (*Overall) GetInnerLow ¶ added in v1.1.1
func (m *Overall) GetInnerLow() *DoubleObject
func (*Overall) GetOuterHigh ¶ added in v1.1.1
func (m *Overall) GetOuterHigh() *DoubleObject
func (*Overall) GetOuterLow ¶ added in v1.1.1
func (m *Overall) GetOuterLow() *DoubleObject
func (*Overall) ProtoMessage ¶ added in v1.1.1
func (*Overall) ProtoMessage()
func (*Overall) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *Overall) XXX_DiscardUnknown()
func (*Overall) XXX_Marshal ¶ added in v1.1.1
func (*Overall) XXX_Unmarshal ¶ added in v1.1.1
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"` Overall *Overall `protobuf:"bytes,4,opt,name=overall,proto3" json:"overall,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) GetNodeId ¶
func (m *SetPointAlarmThresholdInput) GetNodeId() string
func (*SetPointAlarmThresholdInput) GetOverall ¶ added in v1.1.1
func (m *SetPointAlarmThresholdInput) GetOverall() *Overall
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.