proto

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_DeviceDetector_proto protoreflect.FileDescriptor

Functions

func RegisterHomeDetectorServer

func RegisterHomeDetectorServer(s grpc.ServiceRegistrar, srv HomeDetectorServer)

Types

type AddressRequest

type AddressRequest struct {
	Ip       string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Mac      string   `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	Distance float32  `protobuf:"fixed32,3,opt,name=distance,proto3" json:"distance,omitempty"`
	Hosts    []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
	Vendor   string   `protobuf:"bytes,5,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*AddressRequest) Descriptor deprecated

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

Deprecated: Use AddressRequest.ProtoReflect.Descriptor instead.

func (*AddressRequest) GetDistance

func (x *AddressRequest) GetDistance() float32

func (*AddressRequest) GetHosts added in v0.1.5

func (x *AddressRequest) GetHosts() []string

func (*AddressRequest) GetIp

func (x *AddressRequest) GetIp() string

func (*AddressRequest) GetMac

func (x *AddressRequest) GetMac() string

func (*AddressRequest) GetVendor added in v0.1.5

func (x *AddressRequest) GetVendor() string

func (*AddressRequest) ProtoMessage

func (*AddressRequest) ProtoMessage()

func (*AddressRequest) ProtoReflect

func (x *AddressRequest) ProtoReflect() protoreflect.Message

func (*AddressRequest) Reset

func (x *AddressRequest) Reset()

func (*AddressRequest) String

func (x *AddressRequest) String() string

type AddressesRequest

type AddressesRequest struct {
	Addresses []*AddressRequest `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressesRequest) Descriptor deprecated

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

Deprecated: Use AddressesRequest.ProtoReflect.Descriptor instead.

func (*AddressesRequest) GetAddresses

func (x *AddressesRequest) GetAddresses() []*AddressRequest

func (*AddressesRequest) ProtoMessage

func (*AddressesRequest) ProtoMessage()

func (*AddressesRequest) ProtoReflect

func (x *AddressesRequest) ProtoReflect() protoreflect.Message

func (*AddressesRequest) Reset

func (x *AddressesRequest) Reset()

func (*AddressesRequest) String

func (x *AddressesRequest) String() string

type BleDevices

type BleDevices struct {
	Id       string      `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	LastSeen int64       `protobuf:"varint,2,opt,name=LastSeen,proto3" json:"LastSeen,omitempty"`
	Commands []*Commands `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"`
	Name     string      `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	Home     string      `protobuf:"bytes,5,opt,name=Home,proto3" json:"Home,omitempty"`
	Tile     bool        `protobuf:"varint,6,opt,name=tile,proto3" json:"tile,omitempty"`
	Distance float32     `protobuf:"fixed32,7,opt,name=distance,proto3" json:"distance,omitempty"`
	Metadata []*Metadata `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*BleDevices) Descriptor deprecated

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

Deprecated: Use BleDevices.ProtoReflect.Descriptor instead.

func (*BleDevices) GetCommands

func (x *BleDevices) GetCommands() []*Commands

func (*BleDevices) GetDistance

func (x *BleDevices) GetDistance() float32

func (*BleDevices) GetHome

func (x *BleDevices) GetHome() string

func (*BleDevices) GetId

func (x *BleDevices) GetId() string

func (*BleDevices) GetLastSeen

func (x *BleDevices) GetLastSeen() int64

func (*BleDevices) GetMetadata added in v0.1.5

func (x *BleDevices) GetMetadata() []*Metadata

func (*BleDevices) GetName

func (x *BleDevices) GetName() string

func (*BleDevices) GetTile

func (x *BleDevices) GetTile() bool

func (*BleDevices) ProtoMessage

func (*BleDevices) ProtoMessage()

func (*BleDevices) ProtoReflect

func (x *BleDevices) ProtoReflect() protoreflect.Message

func (*BleDevices) Reset

func (x *BleDevices) Reset()

func (*BleDevices) String

func (x *BleDevices) String() string

type BleRequest

type BleRequest struct {
	Key      string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Distance float32 `protobuf:"fixed32,2,opt,name=distance,proto3" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*BleRequest) Descriptor deprecated

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

Deprecated: Use BleRequest.ProtoReflect.Descriptor instead.

func (*BleRequest) GetDistance

func (x *BleRequest) GetDistance() float32

func (*BleRequest) GetKey

func (x *BleRequest) GetKey() string

func (*BleRequest) ProtoMessage

func (*BleRequest) ProtoMessage()

func (*BleRequest) ProtoReflect

func (x *BleRequest) ProtoReflect() protoreflect.Message

func (*BleRequest) Reset

func (x *BleRequest) Reset()

func (*BleRequest) String

func (x *BleRequest) String() string

type CQsResponse

type CQsResponse struct {
	Cqs []*TimedCommands `protobuf:"bytes,1,rep,name=cqs,proto3" json:"cqs,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*CQsResponse) Descriptor deprecated

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

Deprecated: Use CQsResponse.ProtoReflect.Descriptor instead.

func (*CQsResponse) GetCqs

func (x *CQsResponse) GetCqs() []*TimedCommands

func (*CQsResponse) ProtoMessage

func (*CQsResponse) ProtoMessage()

func (*CQsResponse) ProtoReflect

func (x *CQsResponse) ProtoReflect() protoreflect.Message

func (*CQsResponse) Reset

func (x *CQsResponse) Reset()

func (*CQsResponse) String

func (x *CQsResponse) String() string

type Commands

type Commands struct {
	Timeout int64  `protobuf:"varint,1,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
	Command string `protobuf:"bytes,2,opt,name=Command,proto3" json:"Command,omitempty"`
	Id      string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"`
	// contains filtered or unexported fields
}

func (*Commands) Descriptor deprecated

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

Deprecated: Use Commands.ProtoReflect.Descriptor instead.

func (*Commands) GetCommand

func (x *Commands) GetCommand() string

func (*Commands) GetId

func (x *Commands) GetId() string

func (*Commands) GetTimeout

func (x *Commands) GetTimeout() int64

func (*Commands) ProtoMessage

func (*Commands) ProtoMessage()

func (*Commands) ProtoReflect

func (x *Commands) ProtoReflect() protoreflect.Message

func (*Commands) Reset

func (x *Commands) Reset()

func (*Commands) String

func (x *Commands) String() string

type Devices

type Devices struct {
	Id            *NetworkId  `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Home          string      `protobuf:"bytes,2,opt,name=Home,proto3" json:"Home,omitempty"`
	LastSeen      int64       `protobuf:"varint,3,opt,name=LastSeen,proto3" json:"LastSeen,omitempty"`
	Away          bool        `protobuf:"varint,4,opt,name=Away,proto3" json:"Away,omitempty"`
	Name          string      `protobuf:"bytes,5,opt,name=Name,proto3" json:"Name,omitempty"`
	Person        bool        `protobuf:"varint,6,opt,name=Person,proto3" json:"Person,omitempty"`
	Command       string      `protobuf:"bytes,7,opt,name=Command,proto3" json:"Command,omitempty"`
	Smart         bool        `protobuf:"varint,8,opt,name=Smart,proto3" json:"Smart,omitempty"`
	Manufacturer  string      `protobuf:"bytes,9,opt,name=Manufacturer,proto3" json:"Manufacturer,omitempty"`
	PresenceAware bool        `protobuf:"varint,10,opt,name=PresenceAware,proto3" json:"PresenceAware,omitempty"`
	Latency       float32     `protobuf:"fixed32,11,opt,name=Latency,proto3" json:"Latency,omitempty"`
	Hostnames     []string    `protobuf:"bytes,12,rep,name=Hostnames,proto3" json:"Hostnames,omitempty"`
	Metadata      []*Metadata `protobuf:"bytes,13,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Devices) Descriptor deprecated

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

Deprecated: Use Devices.ProtoReflect.Descriptor instead.

func (*Devices) GetAway

func (x *Devices) GetAway() bool

func (*Devices) GetCommand

func (x *Devices) GetCommand() string

func (*Devices) GetHome

func (x *Devices) GetHome() string

func (*Devices) GetHostnames added in v0.1.5

func (x *Devices) GetHostnames() []string

func (*Devices) GetId

func (x *Devices) GetId() *NetworkId

func (*Devices) GetLastSeen

func (x *Devices) GetLastSeen() int64

func (*Devices) GetLatency

func (x *Devices) GetLatency() float32

func (*Devices) GetManufacturer

func (x *Devices) GetManufacturer() string

func (*Devices) GetMetadata added in v0.1.5

func (x *Devices) GetMetadata() []*Metadata

func (*Devices) GetName

func (x *Devices) GetName() string

func (*Devices) GetPerson

func (x *Devices) GetPerson() bool

func (*Devices) GetPresenceAware

func (x *Devices) GetPresenceAware() bool

func (*Devices) GetSmart

func (x *Devices) GetSmart() bool

func (*Devices) ProtoMessage

func (*Devices) ProtoMessage()

func (*Devices) ProtoReflect

func (x *Devices) ProtoReflect() protoreflect.Message

func (*Devices) Reset

func (x *Devices) Reset()

func (*Devices) String

func (x *Devices) String() string

type DevicesResponse

type DevicesResponse struct {
	Devices []*Devices `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*DevicesResponse) Descriptor deprecated

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

Deprecated: Use DevicesResponse.ProtoReflect.Descriptor instead.

func (*DevicesResponse) GetDevices

func (x *DevicesResponse) GetDevices() []*Devices

func (*DevicesResponse) ProtoMessage

func (*DevicesResponse) ProtoMessage()

func (*DevicesResponse) ProtoReflect

func (x *DevicesResponse) ProtoReflect() protoreflect.Message

func (*DevicesResponse) Reset

func (x *DevicesResponse) Reset()

func (*DevicesResponse) String

func (x *DevicesResponse) String() string

type FCMCall added in v0.1.5

type FCMCall struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body  string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*FCMCall) Descriptor deprecated added in v0.1.5

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

Deprecated: Use FCMCall.ProtoReflect.Descriptor instead.

func (*FCMCall) GetBody added in v0.1.5

func (x *FCMCall) GetBody() string

func (*FCMCall) GetImage added in v0.1.5

func (x *FCMCall) GetImage() string

func (*FCMCall) GetTitle added in v0.1.5

func (x *FCMCall) GetTitle() string

func (*FCMCall) ProtoMessage added in v0.1.5

func (*FCMCall) ProtoMessage()

func (*FCMCall) ProtoReflect added in v0.1.5

func (x *FCMCall) ProtoReflect() protoreflect.Message

func (*FCMCall) Reset added in v0.1.5

func (x *FCMCall) Reset()

func (*FCMCall) String added in v0.1.5

func (x *FCMCall) String() string

type GoogleAssistantCall added in v0.1.5

type GoogleAssistantCall struct {
	User     string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Command  string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	Converse bool   `protobuf:"varint,3,opt,name=converse,proto3" json:"converse,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleAssistantCall) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GoogleAssistantCall.ProtoReflect.Descriptor instead.

func (*GoogleAssistantCall) GetCommand added in v0.1.5

func (x *GoogleAssistantCall) GetCommand() string

func (*GoogleAssistantCall) GetConverse added in v0.1.5

func (x *GoogleAssistantCall) GetConverse() bool

func (*GoogleAssistantCall) GetUser added in v0.1.5

func (x *GoogleAssistantCall) GetUser() string

func (*GoogleAssistantCall) ProtoMessage added in v0.1.5

func (*GoogleAssistantCall) ProtoMessage()

func (*GoogleAssistantCall) ProtoReflect added in v0.1.5

func (x *GoogleAssistantCall) ProtoReflect() protoreflect.Message

func (*GoogleAssistantCall) Reset added in v0.1.5

func (x *GoogleAssistantCall) Reset()

func (*GoogleAssistantCall) String added in v0.1.5

func (x *GoogleAssistantCall) String() string

type HomeDetectorClient

type HomeDetectorClient interface {
	// Sends a greeting
	Ack(ctx context.Context, in *BleRequest, opts ...grpc.CallOption) (*Reply, error)
	Address(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*Reply, error)
	Addresses(ctx context.Context, in *AddressesRequest, opts ...grpc.CallOption) (*Reply, error)
	ListTimedCommands(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TCsResponse, error)
	ListCommandQueue(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CQsResponse, error)
	ListDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DevicesResponse, error)
	UpdateDevice(ctx context.Context, in *Devices, opts ...grpc.CallOption) (*Reply, error)
	DeleteDevice(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
	DeleteCommandQueue(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
	DeleteTimedCommand(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
	CompleteTimedCommands(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
	CompleteTimedCommand(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
	CreateTimedCommand(ctx context.Context, in *TimedCommands, opts ...grpc.CallOption) (*Reply, error)
	ListPeople(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PeopleResponse, error)
	TogglePerson(ctx context.Context, in *Devices, opts ...grpc.CallOption) (*Reply, error)
	HouseEmpty(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*Reply, error)
}

HomeDetectorClient is the client API for HomeDetector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type HomeDetectorServer

type HomeDetectorServer interface {
	// Sends a greeting
	Ack(context.Context, *BleRequest) (*Reply, error)
	Address(context.Context, *AddressRequest) (*Reply, error)
	Addresses(context.Context, *AddressesRequest) (*Reply, error)
	ListTimedCommands(context.Context, *emptypb.Empty) (*TCsResponse, error)
	ListCommandQueue(context.Context, *emptypb.Empty) (*CQsResponse, error)
	ListDevices(context.Context, *emptypb.Empty) (*DevicesResponse, error)
	UpdateDevice(context.Context, *Devices) (*Reply, error)
	DeleteDevice(context.Context, *StringRequest) (*Reply, error)
	DeleteCommandQueue(context.Context, *StringRequest) (*Reply, error)
	DeleteTimedCommand(context.Context, *StringRequest) (*Reply, error)
	CompleteTimedCommands(context.Context, *StringRequest) (*Reply, error)
	CompleteTimedCommand(context.Context, *StringRequest) (*Reply, error)
	CreateTimedCommand(context.Context, *TimedCommands) (*Reply, error)
	ListPeople(context.Context, *emptypb.Empty) (*PeopleResponse, error)
	TogglePerson(context.Context, *Devices) (*Reply, error)
	HouseEmpty(context.Context, *StringRequest) (*Reply, error)
	// contains filtered or unexported methods
}

HomeDetectorServer is the server API for HomeDetector service. All implementations must embed UnimplementedHomeDetectorServer for forward compatibility

type MQTTAddressRequest

type MQTTAddressRequest struct {
	Agent     *MQTTAgent        `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	Addresses []*AddressRequest `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Timestamp int64             `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Metadata  []*Metadata       `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*MQTTAddressRequest) Descriptor deprecated

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

Deprecated: Use MQTTAddressRequest.ProtoReflect.Descriptor instead.

func (*MQTTAddressRequest) GetAddresses

func (x *MQTTAddressRequest) GetAddresses() []*AddressRequest

func (*MQTTAddressRequest) GetAgent

func (x *MQTTAddressRequest) GetAgent() *MQTTAgent

func (*MQTTAddressRequest) GetMetadata added in v0.1.5

func (x *MQTTAddressRequest) GetMetadata() []*Metadata

func (*MQTTAddressRequest) GetTimestamp added in v0.1.5

func (x *MQTTAddressRequest) GetTimestamp() int64

func (*MQTTAddressRequest) ProtoMessage

func (*MQTTAddressRequest) ProtoMessage()

func (*MQTTAddressRequest) ProtoReflect

func (x *MQTTAddressRequest) ProtoReflect() protoreflect.Message

func (*MQTTAddressRequest) Reset

func (x *MQTTAddressRequest) Reset()

func (*MQTTAddressRequest) String

func (x *MQTTAddressRequest) String() string

type MQTTAgent

type MQTTAgent struct {
	Home string `protobuf:"bytes,1,opt,name=home,proto3" json:"home,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MQTTAgent) Descriptor deprecated

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

Deprecated: Use MQTTAgent.ProtoReflect.Descriptor instead.

func (*MQTTAgent) GetHome

func (x *MQTTAgent) GetHome() string

func (*MQTTAgent) GetId

func (x *MQTTAgent) GetId() string

func (*MQTTAgent) ProtoMessage

func (*MQTTAgent) ProtoMessage()

func (*MQTTAgent) ProtoReflect

func (x *MQTTAgent) ProtoReflect() protoreflect.Message

func (*MQTTAgent) Reset

func (x *MQTTAgent) Reset()

func (*MQTTAgent) String

func (x *MQTTAgent) String() string

type MQTTBleRequest

type MQTTBleRequest struct {
	Agent    *MQTTAgent  `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	Bles     *BleRequest `protobuf:"bytes,2,opt,name=bles,proto3" json:"bles,omitempty"`
	Metadata []*Metadata `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*MQTTBleRequest) Descriptor deprecated

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

Deprecated: Use MQTTBleRequest.ProtoReflect.Descriptor instead.

func (*MQTTBleRequest) GetAgent

func (x *MQTTBleRequest) GetAgent() *MQTTAgent

func (*MQTTBleRequest) GetBles

func (x *MQTTBleRequest) GetBles() *BleRequest

func (*MQTTBleRequest) GetMetadata added in v0.1.5

func (x *MQTTBleRequest) GetMetadata() []*Metadata

func (*MQTTBleRequest) ProtoMessage

func (*MQTTBleRequest) ProtoMessage()

func (*MQTTBleRequest) ProtoReflect

func (x *MQTTBleRequest) ProtoReflect() protoreflect.Message

func (*MQTTBleRequest) Reset

func (x *MQTTBleRequest) Reset()

func (*MQTTBleRequest) String

func (x *MQTTBleRequest) String() string

type Metadata added in v0.1.5

type Metadata struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated added in v0.1.5

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetKey added in v0.1.5

func (x *Metadata) GetKey() string

func (*Metadata) GetValue added in v0.1.5

func (x *Metadata) GetValue() string

func (*Metadata) ProtoMessage added in v0.1.5

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v0.1.5

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset added in v0.1.5

func (x *Metadata) Reset()

func (*Metadata) String added in v0.1.5

func (x *Metadata) String() string

type NetworkId

type NetworkId struct {
	Ip   string `protobuf:"bytes,1,opt,name=Ip,proto3" json:"Ip,omitempty"`
	Mac  string `protobuf:"bytes,2,opt,name=Mac,proto3" json:"Mac,omitempty"`
	UUID string `protobuf:"bytes,3,opt,name=UUID,proto3" json:"UUID,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkId) Descriptor deprecated

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

Deprecated: Use NetworkId.ProtoReflect.Descriptor instead.

func (*NetworkId) GetIp

func (x *NetworkId) GetIp() string

func (*NetworkId) GetMac

func (x *NetworkId) GetMac() string

func (*NetworkId) GetUUID

func (x *NetworkId) GetUUID() string

func (*NetworkId) ProtoMessage

func (*NetworkId) ProtoMessage()

func (*NetworkId) ProtoReflect

func (x *NetworkId) ProtoReflect() protoreflect.Message

func (*NetworkId) Reset

func (x *NetworkId) Reset()

func (*NetworkId) String

func (x *NetworkId) String() string

type People added in v0.1.5

type People struct {
	Name string   `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Ids  []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	Away bool     `protobuf:"varint,3,opt,name=away,proto3" json:"away,omitempty"`
	Home string   `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"`
	// contains filtered or unexported fields
}

func (*People) Descriptor deprecated added in v0.1.5

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

Deprecated: Use People.ProtoReflect.Descriptor instead.

func (*People) GetAway added in v0.1.5

func (x *People) GetAway() bool

func (*People) GetHome added in v0.1.5

func (x *People) GetHome() string

func (*People) GetIds added in v0.1.5

func (x *People) GetIds() []string

func (*People) GetName added in v0.1.5

func (x *People) GetName() string

func (*People) ProtoMessage added in v0.1.5

func (*People) ProtoMessage()

func (*People) ProtoReflect added in v0.1.5

func (x *People) ProtoReflect() protoreflect.Message

func (*People) Reset added in v0.1.5

func (x *People) Reset()

func (*People) String added in v0.1.5

func (x *People) String() string

type PeopleResponse added in v0.1.5

type PeopleResponse struct {
	People []*People `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"`
	// contains filtered or unexported fields
}

func (*PeopleResponse) Descriptor deprecated added in v0.1.5

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

Deprecated: Use PeopleResponse.ProtoReflect.Descriptor instead.

func (*PeopleResponse) GetPeople added in v0.1.5

func (x *PeopleResponse) GetPeople() []*People

func (*PeopleResponse) ProtoMessage added in v0.1.5

func (*PeopleResponse) ProtoMessage()

func (*PeopleResponse) ProtoReflect added in v0.1.5

func (x *PeopleResponse) ProtoReflect() protoreflect.Message

func (*PeopleResponse) Reset added in v0.1.5

func (x *PeopleResponse) Reset()

func (*PeopleResponse) String added in v0.1.5

func (x *PeopleResponse) String() string

type Reply

type Reply struct {
	Acknowledged bool `protobuf:"varint,1,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*Reply) Descriptor deprecated

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

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetAcknowledged

func (x *Reply) GetAcknowledged() bool

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type StringRequest

type StringRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*StringRequest) Descriptor deprecated

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

Deprecated: Use StringRequest.ProtoReflect.Descriptor instead.

func (*StringRequest) GetKey

func (x *StringRequest) GetKey() string

func (*StringRequest) ProtoMessage

func (*StringRequest) ProtoMessage()

func (*StringRequest) ProtoReflect

func (x *StringRequest) ProtoReflect() protoreflect.Message

func (*StringRequest) Reset

func (x *StringRequest) Reset()

func (*StringRequest) String

func (x *StringRequest) String() string

type TCsResponse

type TCsResponse struct {
	Bles []*BleDevices `protobuf:"bytes,1,rep,name=bles,proto3" json:"bles,omitempty"`
	// contains filtered or unexported fields
}

func (*TCsResponse) Descriptor deprecated

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

Deprecated: Use TCsResponse.ProtoReflect.Descriptor instead.

func (*TCsResponse) GetBles

func (x *TCsResponse) GetBles() []*BleDevices

func (*TCsResponse) ProtoMessage

func (*TCsResponse) ProtoMessage()

func (*TCsResponse) ProtoReflect

func (x *TCsResponse) ProtoReflect() protoreflect.Message

func (*TCsResponse) Reset

func (x *TCsResponse) Reset()

func (*TCsResponse) String

func (x *TCsResponse) String() string

type TimedCommands

type TimedCommands struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Executeat int64  `protobuf:"varint,2,opt,name=executeat,proto3" json:"executeat,omitempty"`
	Owner     string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Command   string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"`
	Executed  bool   `protobuf:"varint,5,opt,name=executed,proto3" json:"executed,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*TimedCommands) Descriptor deprecated

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

Deprecated: Use TimedCommands.ProtoReflect.Descriptor instead.

func (*TimedCommands) GetCommand

func (x *TimedCommands) GetCommand() string

func (*TimedCommands) GetExecuteat

func (x *TimedCommands) GetExecuteat() int64

func (*TimedCommands) GetExecuted

func (x *TimedCommands) GetExecuted() bool

func (*TimedCommands) GetId

func (x *TimedCommands) GetId() string

func (*TimedCommands) GetOwner

func (x *TimedCommands) GetOwner() string

func (*TimedCommands) ProtoMessage

func (*TimedCommands) ProtoMessage()

func (*TimedCommands) ProtoReflect

func (x *TimedCommands) ProtoReflect() protoreflect.Message

func (*TimedCommands) Reset

func (x *TimedCommands) Reset()

func (*TimedCommands) String

func (x *TimedCommands) String() string

type UnimplementedHomeDetectorServer

type UnimplementedHomeDetectorServer struct {
}

UnimplementedHomeDetectorServer must be embedded to have forward compatible implementations.

func (UnimplementedHomeDetectorServer) Ack

func (UnimplementedHomeDetectorServer) Address

func (UnimplementedHomeDetectorServer) Addresses

func (UnimplementedHomeDetectorServer) CompleteTimedCommand

func (UnimplementedHomeDetectorServer) CompleteTimedCommands

func (UnimplementedHomeDetectorServer) CreateTimedCommand

func (UnimplementedHomeDetectorServer) DeleteCommandQueue

func (UnimplementedHomeDetectorServer) DeleteDevice

func (UnimplementedHomeDetectorServer) DeleteTimedCommand

func (UnimplementedHomeDetectorServer) HouseEmpty added in v0.1.5

func (UnimplementedHomeDetectorServer) ListCommandQueue

func (UnimplementedHomeDetectorServer) ListDevices

func (UnimplementedHomeDetectorServer) ListPeople added in v0.1.5

func (UnimplementedHomeDetectorServer) ListTimedCommands

func (UnimplementedHomeDetectorServer) TogglePerson added in v0.1.5

func (UnimplementedHomeDetectorServer) UpdateDevice

type UnsafeHomeDetectorServer

type UnsafeHomeDetectorServer interface {
	// contains filtered or unexported methods
}

UnsafeHomeDetectorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HomeDetectorServer will result in compilation errors.

Jump to

Keyboard shortcuts

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