messages

package
v0.0.0-...-4ba8117 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessages        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessages = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Event_EventType_name = map[int32]string{
	0: "INPUT",
	1: "OUTPUT",
	2: "SCENE",
	3: "TAMPERING",
}
View Source
var Event_EventType_value = map[string]int32{
	"INPUT":     0,
	"OUTPUT":    1,
	"SCENE":     2,
	"TAMPERING": 3,
}

Functions

This section is empty.

Types

type CameraConfig

type CameraConfig struct {
	Url      string `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
	Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	Port     string `protobuf:"bytes,3,opt,name=Port,proto3" json:"Port,omitempty"`
	IP       string `protobuf:"bytes,4,opt,name=IP,proto3" json:"IP,omitempty"`
}

func (*CameraConfig) Descriptor

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

func (*CameraConfig) Equal

func (this *CameraConfig) Equal(that interface{}) bool

func (*CameraConfig) GetHostname

func (m *CameraConfig) GetHostname() string

func (*CameraConfig) GetIP

func (m *CameraConfig) GetIP() string

func (*CameraConfig) GetPort

func (m *CameraConfig) GetPort() string

func (*CameraConfig) GetUrl

func (m *CameraConfig) GetUrl() string

func (*CameraConfig) GoString

func (this *CameraConfig) GoString() string

func (*CameraConfig) Marshal

func (m *CameraConfig) Marshal() (dAtA []byte, err error)

func (*CameraConfig) MarshalTo

func (m *CameraConfig) MarshalTo(dAtA []byte) (int, error)

func (*CameraConfig) MarshalToSizedBuffer

func (m *CameraConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CameraConfig) ProtoMessage

func (*CameraConfig) ProtoMessage()

func (*CameraConfig) Reset

func (m *CameraConfig) Reset()

func (*CameraConfig) Size

func (m *CameraConfig) Size() (n int)

func (*CameraConfig) String

func (this *CameraConfig) String() string

func (*CameraConfig) Unmarshal

func (m *CameraConfig) Unmarshal(dAtA []byte) error

func (*CameraConfig) XXX_DiscardUnknown

func (m *CameraConfig) XXX_DiscardUnknown()

func (*CameraConfig) XXX_Marshal

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

func (*CameraConfig) XXX_Merge

func (m *CameraConfig) XXX_Merge(src proto.Message)

func (*CameraConfig) XXX_Size

func (m *CameraConfig) XXX_Size() int

func (*CameraConfig) XXX_Unmarshal

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

type CountingActor

type CountingActor struct {
	Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*CountingActor) Descriptor

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

func (*CountingActor) Equal

func (this *CountingActor) Equal(that interface{}) bool

func (*CountingActor) GetAddress

func (m *CountingActor) GetAddress() string

func (*CountingActor) GetID

func (m *CountingActor) GetID() string

func (*CountingActor) GoString

func (this *CountingActor) GoString() string

func (*CountingActor) Marshal

func (m *CountingActor) Marshal() (dAtA []byte, err error)

func (*CountingActor) MarshalTo

func (m *CountingActor) MarshalTo(dAtA []byte) (int, error)

func (*CountingActor) MarshalToSizedBuffer

func (m *CountingActor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CountingActor) ProtoMessage

func (*CountingActor) ProtoMessage()

func (*CountingActor) Reset

func (m *CountingActor) Reset()

func (*CountingActor) Size

func (m *CountingActor) Size() (n int)

func (*CountingActor) String

func (this *CountingActor) String() string

func (*CountingActor) Unmarshal

func (m *CountingActor) Unmarshal(dAtA []byte) error

func (*CountingActor) XXX_DiscardUnknown

func (m *CountingActor) XXX_DiscardUnknown()

func (*CountingActor) XXX_Marshal

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

func (*CountingActor) XXX_Merge

func (m *CountingActor) XXX_Merge(src proto.Message)

func (*CountingActor) XXX_Size

func (m *CountingActor) XXX_Size() int

func (*CountingActor) XXX_Unmarshal

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

type Event

type Event struct {
	Type  Event_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=messages.Event_EventType" json:"type,omitempty"`
	Value int64           `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	ID    int32           `protobuf:"varint,3,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*Event) Descriptor

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

func (*Event) Equal

func (this *Event) Equal(that interface{}) bool

func (*Event) GetID

func (m *Event) GetID() int32

func (*Event) GetType

func (m *Event) GetType() Event_EventType

func (*Event) GetValue

func (m *Event) GetValue() int64

func (*Event) GoString

func (this *Event) GoString() string

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (this *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type Event_EventType

type Event_EventType int32
const (
	INPUT     Event_EventType = 0
	OUTPUT    Event_EventType = 1
	SCENE     Event_EventType = 2
	TAMPERING Event_EventType = 3
)

func (Event_EventType) EnumDescriptor

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

func (Event_EventType) String

func (x Event_EventType) String() string

type InfoCounterRequest

type InfoCounterRequest struct {
}

func (*InfoCounterRequest) Descriptor

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

func (*InfoCounterRequest) Equal

func (this *InfoCounterRequest) Equal(that interface{}) bool

func (*InfoCounterRequest) GoString

func (this *InfoCounterRequest) GoString() string

func (*InfoCounterRequest) Marshal

func (m *InfoCounterRequest) Marshal() (dAtA []byte, err error)

func (*InfoCounterRequest) MarshalTo

func (m *InfoCounterRequest) MarshalTo(dAtA []byte) (int, error)

func (*InfoCounterRequest) MarshalToSizedBuffer

func (m *InfoCounterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InfoCounterRequest) ProtoMessage

func (*InfoCounterRequest) ProtoMessage()

func (*InfoCounterRequest) Reset

func (m *InfoCounterRequest) Reset()

func (*InfoCounterRequest) Size

func (m *InfoCounterRequest) Size() (n int)

func (*InfoCounterRequest) String

func (this *InfoCounterRequest) String() string

func (*InfoCounterRequest) Unmarshal

func (m *InfoCounterRequest) Unmarshal(dAtA []byte) error

func (*InfoCounterRequest) XXX_DiscardUnknown

func (m *InfoCounterRequest) XXX_DiscardUnknown()

func (*InfoCounterRequest) XXX_Marshal

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

func (*InfoCounterRequest) XXX_Merge

func (m *InfoCounterRequest) XXX_Merge(src proto.Message)

func (*InfoCounterRequest) XXX_Size

func (m *InfoCounterRequest) XXX_Size() int

func (*InfoCounterRequest) XXX_Unmarshal

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

type InfoCounterResponse

type InfoCounterResponse struct {
	Inputs  int64 `protobuf:"varint,1,opt,name=Inputs,proto3" json:"Inputs,omitempty"`
	Outputs int64 `protobuf:"varint,2,opt,name=Outputs,proto3" json:"Outputs,omitempty"`
}

func (*InfoCounterResponse) Descriptor

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

func (*InfoCounterResponse) Equal

func (this *InfoCounterResponse) Equal(that interface{}) bool

func (*InfoCounterResponse) GetInputs

func (m *InfoCounterResponse) GetInputs() int64

func (*InfoCounterResponse) GetOutputs

func (m *InfoCounterResponse) GetOutputs() int64

func (*InfoCounterResponse) GoString

func (this *InfoCounterResponse) GoString() string

func (*InfoCounterResponse) Marshal

func (m *InfoCounterResponse) Marshal() (dAtA []byte, err error)

func (*InfoCounterResponse) MarshalTo

func (m *InfoCounterResponse) MarshalTo(dAtA []byte) (int, error)

func (*InfoCounterResponse) MarshalToSizedBuffer

func (m *InfoCounterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InfoCounterResponse) ProtoMessage

func (*InfoCounterResponse) ProtoMessage()

func (*InfoCounterResponse) Reset

func (m *InfoCounterResponse) Reset()

func (*InfoCounterResponse) Size

func (m *InfoCounterResponse) Size() (n int)

func (*InfoCounterResponse) String

func (this *InfoCounterResponse) String() string

func (*InfoCounterResponse) Unmarshal

func (m *InfoCounterResponse) Unmarshal(dAtA []byte) error

func (*InfoCounterResponse) XXX_DiscardUnknown

func (m *InfoCounterResponse) XXX_DiscardUnknown()

func (*InfoCounterResponse) XXX_Marshal

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

func (*InfoCounterResponse) XXX_Merge

func (m *InfoCounterResponse) XXX_Merge(src proto.Message)

func (*InfoCounterResponse) XXX_Size

func (m *InfoCounterResponse) XXX_Size() int

func (*InfoCounterResponse) XXX_Unmarshal

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

type Restart

type Restart struct {
}

func (*Restart) Descriptor

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

func (*Restart) Equal

func (this *Restart) Equal(that interface{}) bool

func (*Restart) GoString

func (this *Restart) GoString() string

func (*Restart) Marshal

func (m *Restart) Marshal() (dAtA []byte, err error)

func (*Restart) MarshalTo

func (m *Restart) MarshalTo(dAtA []byte) (int, error)

func (*Restart) MarshalToSizedBuffer

func (m *Restart) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Restart) ProtoMessage

func (*Restart) ProtoMessage()

func (*Restart) Reset

func (m *Restart) Reset()

func (*Restart) Size

func (m *Restart) Size() (n int)

func (*Restart) String

func (this *Restart) String() string

func (*Restart) Unmarshal

func (m *Restart) Unmarshal(dAtA []byte) error

func (*Restart) XXX_DiscardUnknown

func (m *Restart) XXX_DiscardUnknown()

func (*Restart) XXX_Marshal

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

func (*Restart) XXX_Merge

func (m *Restart) XXX_Merge(src proto.Message)

func (*Restart) XXX_Size

func (m *Restart) XXX_Size() int

func (*Restart) XXX_Unmarshal

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

type Snapshot

type Snapshot struct {
	Inputs        int64           `protobuf:"varint,1,opt,name=Inputs,proto3" json:"Inputs,omitempty"`
	Outputs       int64           `protobuf:"varint,2,opt,name=Outputs,proto3" json:"Outputs,omitempty"`
	RawInputs     int64           `protobuf:"varint,3,opt,name=RawInputs,proto3" json:"RawInputs,omitempty"`
	RawOutputs    int64           `protobuf:"varint,4,opt,name=RawOutputs,proto3" json:"RawOutputs,omitempty"`
	AllInputs     int64           `protobuf:"varint,5,opt,name=AllInputs,proto3" json:"AllInputs,omitempty"`
	AllOutputs    int64           `protobuf:"varint,6,opt,name=AllOutputs,proto3" json:"AllOutputs,omitempty"`
	InputsMap     map[int32]int64 `` /* 162-byte string literal not displayed */
	OutputsMap    map[int32]int64 `` /* 164-byte string literal not displayed */
	RawInputsMap  map[int32]int64 `` /* 168-byte string literal not displayed */
	RawOutputsMap map[int32]int64 `` /* 170-byte string literal not displayed */
	AllInputsMap  map[int32]int64 `` /* 168-byte string literal not displayed */
	AllOutputsMap map[int32]int64 `` /* 170-byte string literal not displayed */
	TamperingMap  map[int32]int64 `` /* 168-byte string literal not displayed */
}

func (*Snapshot) Descriptor

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

func (*Snapshot) Equal

func (this *Snapshot) Equal(that interface{}) bool

func (*Snapshot) GetAllInputs

func (m *Snapshot) GetAllInputs() int64

func (*Snapshot) GetAllInputsMap

func (m *Snapshot) GetAllInputsMap() map[int32]int64

func (*Snapshot) GetAllOutputs

func (m *Snapshot) GetAllOutputs() int64

func (*Snapshot) GetAllOutputsMap

func (m *Snapshot) GetAllOutputsMap() map[int32]int64

func (*Snapshot) GetInputs

func (m *Snapshot) GetInputs() int64

func (*Snapshot) GetInputsMap

func (m *Snapshot) GetInputsMap() map[int32]int64

func (*Snapshot) GetOutputs

func (m *Snapshot) GetOutputs() int64

func (*Snapshot) GetOutputsMap

func (m *Snapshot) GetOutputsMap() map[int32]int64

func (*Snapshot) GetRawInputs

func (m *Snapshot) GetRawInputs() int64

func (*Snapshot) GetRawInputsMap

func (m *Snapshot) GetRawInputsMap() map[int32]int64

func (*Snapshot) GetRawOutputs

func (m *Snapshot) GetRawOutputs() int64

func (*Snapshot) GetRawOutputsMap

func (m *Snapshot) GetRawOutputsMap() map[int32]int64

func (*Snapshot) GetTamperingMap

func (m *Snapshot) GetTamperingMap() map[int32]int64

func (*Snapshot) GoString

func (this *Snapshot) GoString() string

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) MarshalToSizedBuffer

func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

func (m *Snapshot) Size() (n int)

func (*Snapshot) String

func (this *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

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

func (*Snapshot) XXX_Merge

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

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

type Start

type Start struct {
}

Service interface

func (*Start) Descriptor

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

func (*Start) Equal

func (this *Start) Equal(that interface{}) bool

func (*Start) GoString

func (this *Start) GoString() string

func (*Start) Marshal

func (m *Start) Marshal() (dAtA []byte, err error)

func (*Start) MarshalTo

func (m *Start) MarshalTo(dAtA []byte) (int, error)

func (*Start) MarshalToSizedBuffer

func (m *Start) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Start) ProtoMessage

func (*Start) ProtoMessage()

func (*Start) Reset

func (m *Start) Reset()

func (*Start) Size

func (m *Start) Size() (n int)

func (*Start) String

func (this *Start) String() string

func (*Start) Unmarshal

func (m *Start) Unmarshal(dAtA []byte) error

func (*Start) XXX_DiscardUnknown

func (m *Start) XXX_DiscardUnknown()

func (*Start) XXX_Marshal

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

func (*Start) XXX_Merge

func (m *Start) XXX_Merge(src proto.Message)

func (*Start) XXX_Size

func (m *Start) XXX_Size() int

func (*Start) XXX_Unmarshal

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

type StatusRequest

type StatusRequest struct {
}

func (*StatusRequest) Descriptor

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

func (*StatusRequest) Equal

func (this *StatusRequest) Equal(that interface{}) bool

func (*StatusRequest) GoString

func (this *StatusRequest) GoString() string

func (*StatusRequest) Marshal

func (m *StatusRequest) Marshal() (dAtA []byte, err error)

func (*StatusRequest) MarshalTo

func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatusRequest) MarshalToSizedBuffer

func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) Reset

func (m *StatusRequest) Reset()

func (*StatusRequest) Size

func (m *StatusRequest) Size() (n int)

func (*StatusRequest) String

func (this *StatusRequest) String() string

func (*StatusRequest) Unmarshal

func (m *StatusRequest) Unmarshal(dAtA []byte) error

func (*StatusRequest) XXX_DiscardUnknown

func (m *StatusRequest) XXX_DiscardUnknown()

func (*StatusRequest) XXX_Marshal

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

func (*StatusRequest) XXX_Merge

func (m *StatusRequest) XXX_Merge(src proto.Message)

func (*StatusRequest) XXX_Size

func (m *StatusRequest) XXX_Size() int

func (*StatusRequest) XXX_Unmarshal

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

type StatusResponse

type StatusResponse struct {
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}

func (*StatusResponse) Descriptor

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

func (*StatusResponse) Equal

func (this *StatusResponse) Equal(that interface{}) bool

func (*StatusResponse) GetState

func (m *StatusResponse) GetState() string

func (*StatusResponse) GoString

func (this *StatusResponse) GoString() string

func (*StatusResponse) Marshal

func (m *StatusResponse) Marshal() (dAtA []byte, err error)

func (*StatusResponse) MarshalTo

func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*StatusResponse) MarshalToSizedBuffer

func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) Size

func (m *StatusResponse) Size() (n int)

func (*StatusResponse) String

func (this *StatusResponse) String() string

func (*StatusResponse) Unmarshal

func (m *StatusResponse) Unmarshal(dAtA []byte) error

func (*StatusResponse) XXX_DiscardUnknown

func (m *StatusResponse) XXX_DiscardUnknown()

func (*StatusResponse) XXX_Marshal

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

func (*StatusResponse) XXX_Merge

func (m *StatusResponse) XXX_Merge(src proto.Message)

func (*StatusResponse) XXX_Size

func (m *StatusResponse) XXX_Size() int

func (*StatusResponse) XXX_Unmarshal

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

type Stop

type Stop struct {
}

func (*Stop) Descriptor

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

func (*Stop) Equal

func (this *Stop) Equal(that interface{}) bool

func (*Stop) GoString

func (this *Stop) GoString() string

func (*Stop) Marshal

func (m *Stop) Marshal() (dAtA []byte, err error)

func (*Stop) MarshalTo

func (m *Stop) MarshalTo(dAtA []byte) (int, error)

func (*Stop) MarshalToSizedBuffer

func (m *Stop) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Stop) ProtoMessage

func (*Stop) ProtoMessage()

func (*Stop) Reset

func (m *Stop) Reset()

func (*Stop) Size

func (m *Stop) Size() (n int)

func (*Stop) String

func (this *Stop) String() string

func (*Stop) Unmarshal

func (m *Stop) Unmarshal(dAtA []byte) error

func (*Stop) XXX_DiscardUnknown

func (m *Stop) XXX_DiscardUnknown()

func (*Stop) XXX_Marshal

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

func (*Stop) XXX_Merge

func (m *Stop) XXX_Merge(src proto.Message)

func (*Stop) XXX_Size

func (m *Stop) XXX_Size() int

func (*Stop) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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