traits

package
v1.0.0-beta.45 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 13 Imported by: 31

Documentation

Index

Constants

View Source
const (
	AirQualitySensorApi_GetAirQuality_FullMethodName  = "/smartcore.traits.AirQualitySensorApi/GetAirQuality"
	AirQualitySensorApi_PullAirQuality_FullMethodName = "/smartcore.traits.AirQualitySensorApi/PullAirQuality"
)
View Source
const (
	AirTemperatureApi_GetAirTemperature_FullMethodName    = "/smartcore.traits.AirTemperatureApi/GetAirTemperature"
	AirTemperatureApi_UpdateAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureApi/UpdateAirTemperature"
	AirTemperatureApi_PullAirTemperature_FullMethodName   = "/smartcore.traits.AirTemperatureApi/PullAirTemperature"
)
View Source
const (
	BookingApi_ListBookings_FullMethodName    = "/smartcore.traits.BookingApi/ListBookings"
	BookingApi_CheckInBooking_FullMethodName  = "/smartcore.traits.BookingApi/CheckInBooking"
	BookingApi_CheckOutBooking_FullMethodName = "/smartcore.traits.BookingApi/CheckOutBooking"
	BookingApi_CreateBooking_FullMethodName   = "/smartcore.traits.BookingApi/CreateBooking"
	BookingApi_UpdateBooking_FullMethodName   = "/smartcore.traits.BookingApi/UpdateBooking"
	BookingApi_PullBookings_FullMethodName    = "/smartcore.traits.BookingApi/PullBookings"
)
View Source
const (
	BrightnessSensorApi_GetAmbientBrightness_FullMethodName  = "/smartcore.traits.BrightnessSensorApi/GetAmbientBrightness"
	BrightnessSensorApi_PullAmbientBrightness_FullMethodName = "/smartcore.traits.BrightnessSensorApi/PullAmbientBrightness"
)
View Source
const (
	ChannelApi_GetChosenChannel_FullMethodName  = "/smartcore.traits.ChannelApi/GetChosenChannel"
	ChannelApi_ChooseChannel_FullMethodName     = "/smartcore.traits.ChannelApi/ChooseChannel"
	ChannelApi_AdjustChannel_FullMethodName     = "/smartcore.traits.ChannelApi/AdjustChannel"
	ChannelApi_ReturnChannel_FullMethodName     = "/smartcore.traits.ChannelApi/ReturnChannel"
	ChannelApi_PullChosenChannel_FullMethodName = "/smartcore.traits.ChannelApi/PullChosenChannel"
)
View Source
const (
	CountApi_GetCount_FullMethodName    = "/smartcore.traits.CountApi/GetCount"
	CountApi_ResetCount_FullMethodName  = "/smartcore.traits.CountApi/ResetCount"
	CountApi_UpdateCount_FullMethodName = "/smartcore.traits.CountApi/UpdateCount"
	CountApi_PullCounts_FullMethodName  = "/smartcore.traits.CountApi/PullCounts"
)
View Source
const (
	ElectricApi_GetDemand_FullMethodName        = "/smartcore.traits.ElectricApi/GetDemand"
	ElectricApi_PullDemand_FullMethodName       = "/smartcore.traits.ElectricApi/PullDemand"
	ElectricApi_GetActiveMode_FullMethodName    = "/smartcore.traits.ElectricApi/GetActiveMode"
	ElectricApi_UpdateActiveMode_FullMethodName = "/smartcore.traits.ElectricApi/UpdateActiveMode"
	ElectricApi_ClearActiveMode_FullMethodName  = "/smartcore.traits.ElectricApi/ClearActiveMode"
	ElectricApi_PullActiveMode_FullMethodName   = "/smartcore.traits.ElectricApi/PullActiveMode"
	ElectricApi_ListModes_FullMethodName        = "/smartcore.traits.ElectricApi/ListModes"
	ElectricApi_PullModes_FullMethodName        = "/smartcore.traits.ElectricApi/PullModes"
)
View Source
const (
	EmergencyApi_GetEmergency_FullMethodName    = "/smartcore.traits.EmergencyApi/GetEmergency"
	EmergencyApi_UpdateEmergency_FullMethodName = "/smartcore.traits.EmergencyApi/UpdateEmergency"
	EmergencyApi_PullEmergency_FullMethodName   = "/smartcore.traits.EmergencyApi/PullEmergency"
)
View Source
const (
	EnergyStorageApi_GetEnergyLevel_FullMethodName  = "/smartcore.traits.EnergyStorageApi/GetEnergyLevel"
	EnergyStorageApi_PullEnergyLevel_FullMethodName = "/smartcore.traits.EnergyStorageApi/PullEnergyLevel"
	EnergyStorageApi_Charge_FullMethodName          = "/smartcore.traits.EnergyStorageApi/Charge"
)
View Source
const (
	EnterLeaveSensorApi_PullEnterLeaveEvents_FullMethodName  = "/smartcore.traits.EnterLeaveSensorApi/PullEnterLeaveEvents"
	EnterLeaveSensorApi_GetEnterLeaveEvent_FullMethodName    = "/smartcore.traits.EnterLeaveSensorApi/GetEnterLeaveEvent"
	EnterLeaveSensorApi_ResetEnterLeaveTotals_FullMethodName = "/smartcore.traits.EnterLeaveSensorApi/ResetEnterLeaveTotals"
)
View Source
const (
	ExtendRetractApi_GetExtension_FullMethodName          = "/smartcore.traits.ExtendRetractApi/GetExtension"
	ExtendRetractApi_UpdateExtension_FullMethodName       = "/smartcore.traits.ExtendRetractApi/UpdateExtension"
	ExtendRetractApi_Stop_FullMethodName                  = "/smartcore.traits.ExtendRetractApi/Stop"
	ExtendRetractApi_CreateExtensionPreset_FullMethodName = "/smartcore.traits.ExtendRetractApi/CreateExtensionPreset"
	ExtendRetractApi_PullExtensions_FullMethodName        = "/smartcore.traits.ExtendRetractApi/PullExtensions"
)
View Source
const (
	FanSpeedApi_GetFanSpeed_FullMethodName              = "/smartcore.traits.FanSpeedApi/GetFanSpeed"
	FanSpeedApi_UpdateFanSpeed_FullMethodName           = "/smartcore.traits.FanSpeedApi/UpdateFanSpeed"
	FanSpeedApi_PullFanSpeed_FullMethodName             = "/smartcore.traits.FanSpeedApi/PullFanSpeed"
	FanSpeedApi_ReverseFanSpeedDirection_FullMethodName = "/smartcore.traits.FanSpeedApi/ReverseFanSpeedDirection"
)
View Source
const (
	HailApi_CreateHail_FullMethodName = "/smartcore.traits.HailApi/CreateHail"
	HailApi_GetHail_FullMethodName    = "/smartcore.traits.HailApi/GetHail"
	HailApi_UpdateHail_FullMethodName = "/smartcore.traits.HailApi/UpdateHail"
	HailApi_DeleteHail_FullMethodName = "/smartcore.traits.HailApi/DeleteHail"
	HailApi_PullHail_FullMethodName   = "/smartcore.traits.HailApi/PullHail"
	HailApi_ListHails_FullMethodName  = "/smartcore.traits.HailApi/ListHails"
	HailApi_PullHails_FullMethodName  = "/smartcore.traits.HailApi/PullHails"
)
View Source
const (
	InputSelectApi_UpdateInput_FullMethodName = "/smartcore.traits.InputSelectApi/UpdateInput"
	InputSelectApi_GetInput_FullMethodName    = "/smartcore.traits.InputSelectApi/GetInput"
	InputSelectApi_PullInput_FullMethodName   = "/smartcore.traits.InputSelectApi/PullInput"
)
View Source
const (
	LightApi_UpdateBrightness_FullMethodName = "/smartcore.traits.LightApi/UpdateBrightness"
	LightApi_GetBrightness_FullMethodName    = "/smartcore.traits.LightApi/GetBrightness"
	LightApi_PullBrightness_FullMethodName   = "/smartcore.traits.LightApi/PullBrightness"
)
View Source
const (
	LockUnlockApi_GetLockUnlock_FullMethodName    = "/smartcore.traits.LockUnlockApi/GetLockUnlock"
	LockUnlockApi_UpdateLockUnlock_FullMethodName = "/smartcore.traits.LockUnlockApi/UpdateLockUnlock"
	LockUnlockApi_PullLockUnlock_FullMethodName   = "/smartcore.traits.LockUnlockApi/PullLockUnlock"
)
View Source
const (
	MetadataApi_GetMetadata_FullMethodName  = "/smartcore.traits.MetadataApi/GetMetadata"
	MetadataApi_PullMetadata_FullMethodName = "/smartcore.traits.MetadataApi/PullMetadata"
)
View Source
const (
	MicrophoneApi_GetGain_FullMethodName    = "/smartcore.traits.MicrophoneApi/GetGain"
	MicrophoneApi_UpdateGain_FullMethodName = "/smartcore.traits.MicrophoneApi/UpdateGain"
	MicrophoneApi_PullGain_FullMethodName   = "/smartcore.traits.MicrophoneApi/PullGain"
)
View Source
const (
	ModeApi_GetModeValues_FullMethodName    = "/smartcore.traits.ModeApi/GetModeValues"
	ModeApi_UpdateModeValues_FullMethodName = "/smartcore.traits.ModeApi/UpdateModeValues"
	ModeApi_PullModeValues_FullMethodName   = "/smartcore.traits.ModeApi/PullModeValues"
)
View Source
const (
	MotionSensorApi_GetMotionDetection_FullMethodName   = "/smartcore.traits.MotionSensorApi/GetMotionDetection"
	MotionSensorApi_PullMotionDetections_FullMethodName = "/smartcore.traits.MotionSensorApi/PullMotionDetections"
)
View Source
const (
	OccupancySensorApi_GetOccupancy_FullMethodName  = "/smartcore.traits.OccupancySensorApi/GetOccupancy"
	OccupancySensorApi_PullOccupancy_FullMethodName = "/smartcore.traits.OccupancySensorApi/PullOccupancy"
)
View Source
const (
	OnOffApi_GetOnOff_FullMethodName    = "/smartcore.traits.OnOffApi/GetOnOff"
	OnOffApi_UpdateOnOff_FullMethodName = "/smartcore.traits.OnOffApi/UpdateOnOff"
	OnOffApi_PullOnOff_FullMethodName   = "/smartcore.traits.OnOffApi/PullOnOff"
)
View Source
const (
	OpenCloseApi_GetPositions_FullMethodName    = "/smartcore.traits.OpenCloseApi/GetPositions"
	OpenCloseApi_UpdatePositions_FullMethodName = "/smartcore.traits.OpenCloseApi/UpdatePositions"
	OpenCloseApi_Stop_FullMethodName            = "/smartcore.traits.OpenCloseApi/Stop"
	OpenCloseApi_PullPositions_FullMethodName   = "/smartcore.traits.OpenCloseApi/PullPositions"
)
View Source
const (
	ParentApi_ListChildren_FullMethodName = "/smartcore.traits.ParentApi/ListChildren"
	ParentApi_PullChildren_FullMethodName = "/smartcore.traits.ParentApi/PullChildren"
)
View Source
const (
	PtzApi_GetPtz_FullMethodName       = "/smartcore.traits.PtzApi/GetPtz"
	PtzApi_UpdatePtz_FullMethodName    = "/smartcore.traits.PtzApi/UpdatePtz"
	PtzApi_Stop_FullMethodName         = "/smartcore.traits.PtzApi/Stop"
	PtzApi_CreatePreset_FullMethodName = "/smartcore.traits.PtzApi/CreatePreset"
	PtzApi_PullPtz_FullMethodName      = "/smartcore.traits.PtzApi/PullPtz"
)
View Source
const (
	PublicationApi_CreatePublication_FullMethodName      = "/smartcore.traits.PublicationApi/CreatePublication"
	PublicationApi_GetPublication_FullMethodName         = "/smartcore.traits.PublicationApi/GetPublication"
	PublicationApi_UpdatePublication_FullMethodName      = "/smartcore.traits.PublicationApi/UpdatePublication"
	PublicationApi_DeletePublication_FullMethodName      = "/smartcore.traits.PublicationApi/DeletePublication"
	PublicationApi_PullPublication_FullMethodName        = "/smartcore.traits.PublicationApi/PullPublication"
	PublicationApi_ListPublications_FullMethodName       = "/smartcore.traits.PublicationApi/ListPublications"
	PublicationApi_PullPublications_FullMethodName       = "/smartcore.traits.PublicationApi/PullPublications"
	PublicationApi_AcknowledgePublication_FullMethodName = "/smartcore.traits.PublicationApi/AcknowledgePublication"
)
View Source
const (
	SpeakerApi_GetVolume_FullMethodName    = "/smartcore.traits.SpeakerApi/GetVolume"
	SpeakerApi_UpdateVolume_FullMethodName = "/smartcore.traits.SpeakerApi/UpdateVolume"
	SpeakerApi_PullVolume_FullMethodName   = "/smartcore.traits.SpeakerApi/PullVolume"
)
View Source
const (
	VendingApi_ListConsumables_FullMethodName = "/smartcore.traits.VendingApi/ListConsumables"
	VendingApi_PullConsumables_FullMethodName = "/smartcore.traits.VendingApi/PullConsumables"
	VendingApi_GetStock_FullMethodName        = "/smartcore.traits.VendingApi/GetStock"
	VendingApi_UpdateStock_FullMethodName     = "/smartcore.traits.VendingApi/UpdateStock"
	VendingApi_PullStock_FullMethodName       = "/smartcore.traits.VendingApi/PullStock"
	VendingApi_ListInventory_FullMethodName   = "/smartcore.traits.VendingApi/ListInventory"
	VendingApi_PullInventory_FullMethodName   = "/smartcore.traits.VendingApi/PullInventory"
	VendingApi_Dispense_FullMethodName        = "/smartcore.traits.VendingApi/Dispense"
	VendingApi_StopDispense_FullMethodName    = "/smartcore.traits.VendingApi/StopDispense"
)
View Source
const (
	AirQualitySensorInfo_DescribeAirQuality_FullMethodName = "/smartcore.traits.AirQualitySensorInfo/DescribeAirQuality"
)
View Source
const (
	AirTemperatureInfo_DescribeAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureInfo/DescribeAirTemperature"
)
View Source
const (
	BookingInfo_DescribeBooking_FullMethodName = "/smartcore.traits.BookingInfo/DescribeBooking"
)
View Source
const (
	BrightnessSensorInfo_DescribeAmbientBrightness_FullMethodName = "/smartcore.traits.BrightnessSensorInfo/DescribeAmbientBrightness"
)
View Source
const (
	ChannelInfo_DescribeChosenChannel_FullMethodName = "/smartcore.traits.ChannelInfo/DescribeChosenChannel"
)
View Source
const (
	CountInfo_DescribeCount_FullMethodName = "/smartcore.traits.CountInfo/DescribeCount"
)
View Source
const (
	EmergencyInfo_DescribeEmergency_FullMethodName = "/smartcore.traits.EmergencyInfo/DescribeEmergency"
)
View Source
const (
	EnergyStorageInfo_DescribeEnergyLevel_FullMethodName = "/smartcore.traits.EnergyStorageInfo/DescribeEnergyLevel"
)
View Source
const (
	ExtendRetractInfo_DescribeExtension_FullMethodName = "/smartcore.traits.ExtendRetractInfo/DescribeExtension"
)
View Source
const (
	FanSpeedInfo_DescribeFanSpeed_FullMethodName = "/smartcore.traits.FanSpeedInfo/DescribeFanSpeed"
)
View Source
const (
	InputSelectInfo_DescribeInput_FullMethodName = "/smartcore.traits.InputSelectInfo/DescribeInput"
)
View Source
const (
	LightInfo_DescribeBrightness_FullMethodName = "/smartcore.traits.LightInfo/DescribeBrightness"
)
View Source
const (
	MicrophoneInfo_DescribeGain_FullMethodName = "/smartcore.traits.MicrophoneInfo/DescribeGain"
)
View Source
const (
	ModeInfo_DescribeModes_FullMethodName = "/smartcore.traits.ModeInfo/DescribeModes"
)
View Source
const (
	MotionSensorSensorInfo_DescribeMotionDetection_FullMethodName = "/smartcore.traits.MotionSensorSensorInfo/DescribeMotionDetection"
)
View Source
const (
	OccupancySensorInfo_DescribeOccupancy_FullMethodName = "/smartcore.traits.OccupancySensorInfo/DescribeOccupancy"
)
View Source
const (
	OnOffInfo_DescribeOnOff_FullMethodName = "/smartcore.traits.OnOffInfo/DescribeOnOff"
)
View Source
const (
	OpenCloseInfo_DescribePositions_FullMethodName = "/smartcore.traits.OpenCloseInfo/DescribePositions"
)
View Source
const (
	PtzInfo_DescribePtz_FullMethodName = "/smartcore.traits.PtzInfo/DescribePtz"
)
View Source
const (
	SpeakerInfo_DescribeVolume_FullMethodName = "/smartcore.traits.SpeakerInfo/DescribeVolume"
)

Variables

View Source
var (
	AirQuality_Comfort_name = map[int32]string{
		0: "COMFORT_UNSPECIFIED",
		1: "COMFORTABLE",
		2: "UNCOMFORTABLE",
	}
	AirQuality_Comfort_value = map[string]int32{
		"COMFORT_UNSPECIFIED": 0,
		"COMFORTABLE":         1,
		"UNCOMFORTABLE":       2,
	}
)

Enum value maps for AirQuality_Comfort.

View Source
var (
	AirTemperature_Mode_name = map[int32]string{
		0:  "MODE_UNSPECIFIED",
		1:  "ON",
		2:  "OFF",
		3:  "HEAT",
		4:  "COOL",
		5:  "HEAT_COOL",
		6:  "AUTO",
		7:  "FAN_ONLY",
		8:  "ECO",
		9:  "PURIFIER",
		10: "DRY",
		11: "LOCKED",
	}
	AirTemperature_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"ON":               1,
		"OFF":              2,
		"HEAT":             3,
		"COOL":             4,
		"HEAT_COOL":        5,
		"AUTO":             6,
		"FAN_ONLY":         7,
		"ECO":              8,
		"PURIFIER":         9,
		"DRY":              10,
		"LOCKED":           11,
	}
)

Enum value maps for AirTemperature_Mode.

View Source
var (
	BookingSupport_CheckInSupport_name = map[int32]string{
		0: "CHECK_IN_SUPPORT_UNSPECIFIED",
		1: "NO_SUPPORT",
		2: "STATE",
		3: "TIME",
	}
	BookingSupport_CheckInSupport_value = map[string]int32{
		"CHECK_IN_SUPPORT_UNSPECIFIED": 0,
		"NO_SUPPORT":                   1,
		"STATE":                        2,
		"TIME":                         3,
	}
)

Enum value maps for BookingSupport_CheckInSupport.

View Source
var (
	Emergency_Level_name = map[int32]string{
		0: "LEVEL_UNSPECIFIED",
		1: "OK",
		2: "WARNING",
		3: "EMERGENCY",
	}
	Emergency_Level_value = map[string]int32{
		"LEVEL_UNSPECIFIED": 0,
		"OK":                1,
		"WARNING":           2,
		"EMERGENCY":         3,
	}
)

Enum value maps for Emergency_Level.

View Source
var (
	EnergyLevelSupport_ChargeControl_name = map[int32]string{
		0: "CHARGE_CONTROL_UNSPECIFIED",
		1: "NONE",
		2: "DEVICE",
		3: "EXTERNAL",
		4: "ALL",
	}
	EnergyLevelSupport_ChargeControl_value = map[string]int32{
		"CHARGE_CONTROL_UNSPECIFIED": 0,
		"NONE":                       1,
		"DEVICE":                     2,
		"EXTERNAL":                   3,
		"ALL":                        4,
	}
)

Enum value maps for EnergyLevelSupport_ChargeControl.

View Source
var (
	EnergyLevel_Transfer_Speed_name = map[int32]string{
		0: "SPEED_UNSPECIFIED",
		1: "EXTRA_SLOW",
		2: "SLOW",
		3: "NORMAL",
		4: "FAST",
		5: "EXTRA_FAST",
	}
	EnergyLevel_Transfer_Speed_value = map[string]int32{
		"SPEED_UNSPECIFIED": 0,
		"EXTRA_SLOW":        1,
		"SLOW":              2,
		"NORMAL":            3,
		"FAST":              4,
		"EXTRA_FAST":        5,
	}
)

Enum value maps for EnergyLevel_Transfer_Speed.

View Source
var (
	EnergyLevel_Quantity_Threshold_name = map[int32]string{
		0: "THRESHOLD_UNSPECIFIED",
		1: "CRITICALLY_LOW",
		2: "EMPTY",
		3: "LOW",
		4: "MEDIUM",
		5: "HIGH",
		7: "FULL",
		8: "CRITICALLY_HIGH",
	}
	EnergyLevel_Quantity_Threshold_value = map[string]int32{
		"THRESHOLD_UNSPECIFIED": 0,
		"CRITICALLY_LOW":        1,
		"EMPTY":                 2,
		"LOW":                   3,
		"MEDIUM":                4,
		"HIGH":                  5,
		"FULL":                  7,
		"CRITICALLY_HIGH":       8,
	}
)

Enum value maps for EnergyLevel_Quantity_Threshold.

View Source
var (
	EnterLeaveEvent_Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "ENTER",
		2: "LEAVE",
	}
	EnterLeaveEvent_Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"ENTER":                 1,
		"LEAVE":                 2,
	}
)

Enum value maps for EnterLeaveEvent_Direction.

View Source
var (
	FanSpeed_Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "FORWARD",
		2: "BACKWARD",
	}
	FanSpeed_Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"FORWARD":               1,
		"BACKWARD":              2,
	}
)

Enum value maps for FanSpeed_Direction.

View Source
var (
	Hail_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CALLED",
		2: "BOARDING",
		3: "DEPARTED",
		4: "ARRIVED",
	}
	Hail_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CALLED":            1,
		"BOARDING":          2,
		"DEPARTED":          3,
		"ARRIVED":           4,
	}
)

Enum value maps for Hail_State.

View Source
var (
	InputSupport_Feature_name = map[int32]string{
		0: "FEATURE_UNSPECIFIED",
		1: "AV",
		2: "AUDIO_ONLY",
		3: "VIDEO_ONLY",
		4: "INDEPENDENT",
	}
	InputSupport_Feature_value = map[string]int32{
		"FEATURE_UNSPECIFIED": 0,
		"AV":                  1,
		"AUDIO_ONLY":          2,
		"VIDEO_ONLY":          3,
		"INDEPENDENT":         4,
	}
)

Enum value maps for InputSupport_Feature.

View Source
var (
	LockUnlock_Position_name = map[int32]string{
		0: "POSITION_UNSPECIFIED",
		1: "LOCKED",
		2: "UNLOCKED",
		3: "LOCKING",
		4: "UNLOCKING",
	}
	LockUnlock_Position_value = map[string]int32{
		"POSITION_UNSPECIFIED": 0,
		"LOCKED":               1,
		"UNLOCKED":             2,
		"LOCKING":              3,
		"UNLOCKING":            4,
	}
)

Enum value maps for LockUnlock_Position.

View Source
var (
	Metadata_NIC_Assignment_name = map[int32]string{
		0: "ASSIGNMENT_UNSPECIFIED",
		1: "DHCP",
		2: "STATIC",
	}
	Metadata_NIC_Assignment_value = map[string]int32{
		"ASSIGNMENT_UNSPECIFIED": 0,
		"DHCP":                   1,
		"STATIC":                 2,
	}
)

Enum value maps for Metadata_NIC_Assignment.

View Source
var (
	MotionDetection_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NOT_DETECTED",
		2: "DETECTED",
	}
	MotionDetection_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"NOT_DETECTED":      1,
		"DETECTED":          2,
	}
)

Enum value maps for MotionDetection_State.

View Source
var (
	Occupancy_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "OCCUPIED",
		2: "UNOCCUPIED",
		3: "IDLE",
	}
	Occupancy_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"OCCUPIED":          1,
		"UNOCCUPIED":        2,
		"IDLE":              3,
	}
)

Enum value maps for Occupancy_State.

View Source
var (
	OnOff_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ON",
		2: "OFF",
	}
	OnOff_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ON":                1,
		"OFF":               2,
	}
)

Enum value maps for OnOff_State.

View Source
var (
	OpenClosePosition_Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "UP",
		2: "DOWN",
		3: "LEFT",
		4: "RIGHT",
		5: "IN",
		6: "OUT",
	}
	OpenClosePosition_Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"UP":                    1,
		"DOWN":                  2,
		"LEFT":                  3,
		"RIGHT":                 4,
		"IN":                    5,
		"OUT":                   6,
	}
)

Enum value maps for OpenClosePosition_Direction.

View Source
var (
	OpenClosePosition_Resistance_name = map[int32]string{
		0: "RESISTANCE_UNSPECIFIED",
		1: "HELD",
		2: "REDUCED_MOTION",
		3: "SLOW",
	}
	OpenClosePosition_Resistance_value = map[string]int32{
		"RESISTANCE_UNSPECIFIED": 0,
		"HELD":                   1,
		"REDUCED_MOTION":         2,
		"SLOW":                   3,
	}
)

Enum value maps for OpenClosePosition_Resistance.

View Source
var (
	Publication_Audience_Receipt_name = map[int32]string{
		0: "RECEIPT_UNSPECIFIED",
		1: "NO_SIGNAL",
		2: "ACCEPTED",
		3: "REJECTED",
	}
	Publication_Audience_Receipt_value = map[string]int32{
		"RECEIPT_UNSPECIFIED": 0,
		"NO_SIGNAL":           1,
		"ACCEPTED":            2,
		"REJECTED":            3,
	}
)

Enum value maps for Publication_Audience_Receipt.

View Source
var (
	Consumable_Unit_name = map[int32]string{
		0: "UNIT_UNSPECIFIED",
		1: "NO_UNIT",
		2: "METER",
		3: "LITER",
		4: "CUBIC_METER",
		5: "CUP",
		6: "KILOGRAM",
	}
	Consumable_Unit_value = map[string]int32{
		"UNIT_UNSPECIFIED": 0,
		"NO_UNIT":          1,
		"METER":            2,
		"LITER":            3,
		"CUBIC_METER":      4,
		"CUP":              5,
		"KILOGRAM":         6,
	}
)

Enum value maps for Consumable_Unit.

View Source
var AirQualitySensorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.AirQualitySensorApi",
	HandlerType: (*AirQualitySensorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAirQuality",
			Handler:    _AirQualitySensorApi_GetAirQuality_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullAirQuality",
			Handler:       _AirQualitySensorApi_PullAirQuality_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/air_quality_sensor.proto",
}

AirQualitySensorApi_ServiceDesc is the grpc.ServiceDesc for AirQualitySensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AirQualitySensorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.AirQualitySensorInfo",
	HandlerType: (*AirQualitySensorInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeAirQuality",
			Handler:    _AirQualitySensorInfo_DescribeAirQuality_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/air_quality_sensor.proto",
}

AirQualitySensorInfo_ServiceDesc is the grpc.ServiceDesc for AirQualitySensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AirTemperatureApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.AirTemperatureApi",
	HandlerType: (*AirTemperatureApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAirTemperature",
			Handler:    _AirTemperatureApi_GetAirTemperature_Handler,
		},
		{
			MethodName: "UpdateAirTemperature",
			Handler:    _AirTemperatureApi_UpdateAirTemperature_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullAirTemperature",
			Handler:       _AirTemperatureApi_PullAirTemperature_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/air_temperature.proto",
}

AirTemperatureApi_ServiceDesc is the grpc.ServiceDesc for AirTemperatureApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AirTemperatureInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.AirTemperatureInfo",
	HandlerType: (*AirTemperatureInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeAirTemperature",
			Handler:    _AirTemperatureInfo_DescribeAirTemperature_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/air_temperature.proto",
}

AirTemperatureInfo_ServiceDesc is the grpc.ServiceDesc for AirTemperatureInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var BookingApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.BookingApi",
	HandlerType: (*BookingApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListBookings",
			Handler:    _BookingApi_ListBookings_Handler,
		},
		{
			MethodName: "CheckInBooking",
			Handler:    _BookingApi_CheckInBooking_Handler,
		},
		{
			MethodName: "CheckOutBooking",
			Handler:    _BookingApi_CheckOutBooking_Handler,
		},
		{
			MethodName: "CreateBooking",
			Handler:    _BookingApi_CreateBooking_Handler,
		},
		{
			MethodName: "UpdateBooking",
			Handler:    _BookingApi_UpdateBooking_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullBookings",
			Handler:       _BookingApi_PullBookings_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/booking.proto",
}

BookingApi_ServiceDesc is the grpc.ServiceDesc for BookingApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var BookingInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.BookingInfo",
	HandlerType: (*BookingInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeBooking",
			Handler:    _BookingInfo_DescribeBooking_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/booking.proto",
}

BookingInfo_ServiceDesc is the grpc.ServiceDesc for BookingInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var BrightnessSensorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.BrightnessSensorApi",
	HandlerType: (*BrightnessSensorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAmbientBrightness",
			Handler:    _BrightnessSensorApi_GetAmbientBrightness_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullAmbientBrightness",
			Handler:       _BrightnessSensorApi_PullAmbientBrightness_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/brightness_sensor.proto",
}

BrightnessSensorApi_ServiceDesc is the grpc.ServiceDesc for BrightnessSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var BrightnessSensorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.BrightnessSensorInfo",
	HandlerType: (*BrightnessSensorInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeAmbientBrightness",
			Handler:    _BrightnessSensorInfo_DescribeAmbientBrightness_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/brightness_sensor.proto",
}

BrightnessSensorInfo_ServiceDesc is the grpc.ServiceDesc for BrightnessSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChannelApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ChannelApi",
	HandlerType: (*ChannelApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetChosenChannel",
			Handler:    _ChannelApi_GetChosenChannel_Handler,
		},
		{
			MethodName: "ChooseChannel",
			Handler:    _ChannelApi_ChooseChannel_Handler,
		},
		{
			MethodName: "AdjustChannel",
			Handler:    _ChannelApi_AdjustChannel_Handler,
		},
		{
			MethodName: "ReturnChannel",
			Handler:    _ChannelApi_ReturnChannel_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullChosenChannel",
			Handler:       _ChannelApi_PullChosenChannel_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/channel.proto",
}

ChannelApi_ServiceDesc is the grpc.ServiceDesc for ChannelApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ChannelInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ChannelInfo",
	HandlerType: (*ChannelInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeChosenChannel",
			Handler:    _ChannelInfo_DescribeChosenChannel_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/channel.proto",
}

ChannelInfo_ServiceDesc is the grpc.ServiceDesc for ChannelInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CountApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.CountApi",
	HandlerType: (*CountApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCount",
			Handler:    _CountApi_GetCount_Handler,
		},
		{
			MethodName: "ResetCount",
			Handler:    _CountApi_ResetCount_Handler,
		},
		{
			MethodName: "UpdateCount",
			Handler:    _CountApi_UpdateCount_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullCounts",
			Handler:       _CountApi_PullCounts_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/count.proto",
}

CountApi_ServiceDesc is the grpc.ServiceDesc for CountApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CountInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.CountInfo",
	HandlerType: (*CountInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeCount",
			Handler:    _CountInfo_DescribeCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/count.proto",
}

CountInfo_ServiceDesc is the grpc.ServiceDesc for CountInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ElectricApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ElectricApi",
	HandlerType: (*ElectricApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDemand",
			Handler:    _ElectricApi_GetDemand_Handler,
		},
		{
			MethodName: "GetActiveMode",
			Handler:    _ElectricApi_GetActiveMode_Handler,
		},
		{
			MethodName: "UpdateActiveMode",
			Handler:    _ElectricApi_UpdateActiveMode_Handler,
		},
		{
			MethodName: "ClearActiveMode",
			Handler:    _ElectricApi_ClearActiveMode_Handler,
		},
		{
			MethodName: "ListModes",
			Handler:    _ElectricApi_ListModes_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullDemand",
			Handler:       _ElectricApi_PullDemand_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullActiveMode",
			Handler:       _ElectricApi_PullActiveMode_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullModes",
			Handler:       _ElectricApi_PullModes_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/electric.proto",
}

ElectricApi_ServiceDesc is the grpc.ServiceDesc for ElectricApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ElectricInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ElectricInfo",
	HandlerType: (*ElectricInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/electric.proto",
}

ElectricInfo_ServiceDesc is the grpc.ServiceDesc for ElectricInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EmergencyApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EmergencyApi",
	HandlerType: (*EmergencyApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEmergency",
			Handler:    _EmergencyApi_GetEmergency_Handler,
		},
		{
			MethodName: "UpdateEmergency",
			Handler:    _EmergencyApi_UpdateEmergency_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullEmergency",
			Handler:       _EmergencyApi_PullEmergency_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/emergency.proto",
}

EmergencyApi_ServiceDesc is the grpc.ServiceDesc for EmergencyApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EmergencyInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EmergencyInfo",
	HandlerType: (*EmergencyInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeEmergency",
			Handler:    _EmergencyInfo_DescribeEmergency_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/emergency.proto",
}

EmergencyInfo_ServiceDesc is the grpc.ServiceDesc for EmergencyInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EnergyStorageApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EnergyStorageApi",
	HandlerType: (*EnergyStorageApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEnergyLevel",
			Handler:    _EnergyStorageApi_GetEnergyLevel_Handler,
		},
		{
			MethodName: "Charge",
			Handler:    _EnergyStorageApi_Charge_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullEnergyLevel",
			Handler:       _EnergyStorageApi_PullEnergyLevel_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/energy_storage.proto",
}

EnergyStorageApi_ServiceDesc is the grpc.ServiceDesc for EnergyStorageApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EnergyStorageInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EnergyStorageInfo",
	HandlerType: (*EnergyStorageInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeEnergyLevel",
			Handler:    _EnergyStorageInfo_DescribeEnergyLevel_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/energy_storage.proto",
}

EnergyStorageInfo_ServiceDesc is the grpc.ServiceDesc for EnergyStorageInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EnterLeaveSensorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EnterLeaveSensorApi",
	HandlerType: (*EnterLeaveSensorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEnterLeaveEvent",
			Handler:    _EnterLeaveSensorApi_GetEnterLeaveEvent_Handler,
		},
		{
			MethodName: "ResetEnterLeaveTotals",
			Handler:    _EnterLeaveSensorApi_ResetEnterLeaveTotals_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullEnterLeaveEvents",
			Handler:       _EnterLeaveSensorApi_PullEnterLeaveEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/enter_leave_sensor.proto",
}

EnterLeaveSensorApi_ServiceDesc is the grpc.ServiceDesc for EnterLeaveSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EnterLeaveSensorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.EnterLeaveSensorInfo",
	HandlerType: (*EnterLeaveSensorInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/enter_leave_sensor.proto",
}

EnterLeaveSensorInfo_ServiceDesc is the grpc.ServiceDesc for EnterLeaveSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ExtendRetractApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ExtendRetractApi",
	HandlerType: (*ExtendRetractApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetExtension",
			Handler:    _ExtendRetractApi_GetExtension_Handler,
		},
		{
			MethodName: "UpdateExtension",
			Handler:    _ExtendRetractApi_UpdateExtension_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _ExtendRetractApi_Stop_Handler,
		},
		{
			MethodName: "CreateExtensionPreset",
			Handler:    _ExtendRetractApi_CreateExtensionPreset_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullExtensions",
			Handler:       _ExtendRetractApi_PullExtensions_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/extend_retract.proto",
}

ExtendRetractApi_ServiceDesc is the grpc.ServiceDesc for ExtendRetractApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ExtendRetractInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ExtendRetractInfo",
	HandlerType: (*ExtendRetractInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeExtension",
			Handler:    _ExtendRetractInfo_DescribeExtension_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/extend_retract.proto",
}

ExtendRetractInfo_ServiceDesc is the grpc.ServiceDesc for ExtendRetractInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FanSpeedApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.FanSpeedApi",
	HandlerType: (*FanSpeedApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetFanSpeed",
			Handler:    _FanSpeedApi_GetFanSpeed_Handler,
		},
		{
			MethodName: "UpdateFanSpeed",
			Handler:    _FanSpeedApi_UpdateFanSpeed_Handler,
		},
		{
			MethodName: "ReverseFanSpeedDirection",
			Handler:    _FanSpeedApi_ReverseFanSpeedDirection_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullFanSpeed",
			Handler:       _FanSpeedApi_PullFanSpeed_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/fan_speed.proto",
}

FanSpeedApi_ServiceDesc is the grpc.ServiceDesc for FanSpeedApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FanSpeedInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.FanSpeedInfo",
	HandlerType: (*FanSpeedInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeFanSpeed",
			Handler:    _FanSpeedInfo_DescribeFanSpeed_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/fan_speed.proto",
}

FanSpeedInfo_ServiceDesc is the grpc.ServiceDesc for FanSpeedInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_traits_air_quality_sensor_proto protoreflect.FileDescriptor
View Source
var File_traits_air_temperature_proto protoreflect.FileDescriptor
View Source
var File_traits_booking_proto protoreflect.FileDescriptor
View Source
var File_traits_brightness_sensor_proto protoreflect.FileDescriptor
View Source
var File_traits_channel_proto protoreflect.FileDescriptor
View Source
var File_traits_count_proto protoreflect.FileDescriptor
View Source
var File_traits_electric_proto protoreflect.FileDescriptor
View Source
var File_traits_emergency_proto protoreflect.FileDescriptor
View Source
var File_traits_energy_storage_proto protoreflect.FileDescriptor
View Source
var File_traits_enter_leave_sensor_proto protoreflect.FileDescriptor
View Source
var File_traits_extend_retract_proto protoreflect.FileDescriptor
View Source
var File_traits_fan_speed_proto protoreflect.FileDescriptor
View Source
var File_traits_hail_proto protoreflect.FileDescriptor
View Source
var File_traits_input_select_proto protoreflect.FileDescriptor
View Source
var File_traits_light_proto protoreflect.FileDescriptor
View Source
var File_traits_lock_unlock_proto protoreflect.FileDescriptor
View Source
var File_traits_metadata_proto protoreflect.FileDescriptor
View Source
var File_traits_microphone_proto protoreflect.FileDescriptor
View Source
var File_traits_mode_proto protoreflect.FileDescriptor
View Source
var File_traits_motion_sensor_proto protoreflect.FileDescriptor
View Source
var File_traits_occupancy_sensor_proto protoreflect.FileDescriptor
View Source
var File_traits_on_off_proto protoreflect.FileDescriptor
View Source
var File_traits_open_close_proto protoreflect.FileDescriptor
View Source
var File_traits_parent_proto protoreflect.FileDescriptor
View Source
var File_traits_ptz_proto protoreflect.FileDescriptor
View Source
var File_traits_publication_proto protoreflect.FileDescriptor
View Source
var File_traits_speaker_proto protoreflect.FileDescriptor
View Source
var File_traits_vending_proto protoreflect.FileDescriptor
View Source
var HailApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.HailApi",
	HandlerType: (*HailApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateHail",
			Handler:    _HailApi_CreateHail_Handler,
		},
		{
			MethodName: "GetHail",
			Handler:    _HailApi_GetHail_Handler,
		},
		{
			MethodName: "UpdateHail",
			Handler:    _HailApi_UpdateHail_Handler,
		},
		{
			MethodName: "DeleteHail",
			Handler:    _HailApi_DeleteHail_Handler,
		},
		{
			MethodName: "ListHails",
			Handler:    _HailApi_ListHails_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullHail",
			Handler:       _HailApi_PullHail_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullHails",
			Handler:       _HailApi_PullHails_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/hail.proto",
}

HailApi_ServiceDesc is the grpc.ServiceDesc for HailApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var HailInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.HailInfo",
	HandlerType: (*HailInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/hail.proto",
}

HailInfo_ServiceDesc is the grpc.ServiceDesc for HailInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var InputSelectApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.InputSelectApi",
	HandlerType: (*InputSelectApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateInput",
			Handler:    _InputSelectApi_UpdateInput_Handler,
		},
		{
			MethodName: "GetInput",
			Handler:    _InputSelectApi_GetInput_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullInput",
			Handler:       _InputSelectApi_PullInput_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/input_select.proto",
}

InputSelectApi_ServiceDesc is the grpc.ServiceDesc for InputSelectApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var InputSelectInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.InputSelectInfo",
	HandlerType: (*InputSelectInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeInput",
			Handler:    _InputSelectInfo_DescribeInput_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/input_select.proto",
}

InputSelectInfo_ServiceDesc is the grpc.ServiceDesc for InputSelectInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LightApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.LightApi",
	HandlerType: (*LightApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateBrightness",
			Handler:    _LightApi_UpdateBrightness_Handler,
		},
		{
			MethodName: "GetBrightness",
			Handler:    _LightApi_GetBrightness_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullBrightness",
			Handler:       _LightApi_PullBrightness_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/light.proto",
}

LightApi_ServiceDesc is the grpc.ServiceDesc for LightApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LightInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.LightInfo",
	HandlerType: (*LightInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeBrightness",
			Handler:    _LightInfo_DescribeBrightness_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/light.proto",
}

LightInfo_ServiceDesc is the grpc.ServiceDesc for LightInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LockUnlockApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.LockUnlockApi",
	HandlerType: (*LockUnlockApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLockUnlock",
			Handler:    _LockUnlockApi_GetLockUnlock_Handler,
		},
		{
			MethodName: "UpdateLockUnlock",
			Handler:    _LockUnlockApi_UpdateLockUnlock_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullLockUnlock",
			Handler:       _LockUnlockApi_PullLockUnlock_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/lock_unlock.proto",
}

LockUnlockApi_ServiceDesc is the grpc.ServiceDesc for LockUnlockApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LockUnlockInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.LockUnlockInfo",
	HandlerType: (*LockUnlockInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/lock_unlock.proto",
}

LockUnlockInfo_ServiceDesc is the grpc.ServiceDesc for LockUnlockInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MetadataApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MetadataApi",
	HandlerType: (*MetadataApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMetadata",
			Handler:    _MetadataApi_GetMetadata_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullMetadata",
			Handler:       _MetadataApi_PullMetadata_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/metadata.proto",
}

MetadataApi_ServiceDesc is the grpc.ServiceDesc for MetadataApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MetadataInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MetadataInfo",
	HandlerType: (*MetadataInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/metadata.proto",
}

MetadataInfo_ServiceDesc is the grpc.ServiceDesc for MetadataInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MicrophoneApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MicrophoneApi",
	HandlerType: (*MicrophoneApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGain",
			Handler:    _MicrophoneApi_GetGain_Handler,
		},
		{
			MethodName: "UpdateGain",
			Handler:    _MicrophoneApi_UpdateGain_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullGain",
			Handler:       _MicrophoneApi_PullGain_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/microphone.proto",
}

MicrophoneApi_ServiceDesc is the grpc.ServiceDesc for MicrophoneApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MicrophoneInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MicrophoneInfo",
	HandlerType: (*MicrophoneInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeGain",
			Handler:    _MicrophoneInfo_DescribeGain_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/microphone.proto",
}

MicrophoneInfo_ServiceDesc is the grpc.ServiceDesc for MicrophoneInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ModeApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ModeApi",
	HandlerType: (*ModeApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetModeValues",
			Handler:    _ModeApi_GetModeValues_Handler,
		},
		{
			MethodName: "UpdateModeValues",
			Handler:    _ModeApi_UpdateModeValues_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullModeValues",
			Handler:       _ModeApi_PullModeValues_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/mode.proto",
}

ModeApi_ServiceDesc is the grpc.ServiceDesc for ModeApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ModeInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ModeInfo",
	HandlerType: (*ModeInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeModes",
			Handler:    _ModeInfo_DescribeModes_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/mode.proto",
}

ModeInfo_ServiceDesc is the grpc.ServiceDesc for ModeInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MotionSensorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MotionSensorApi",
	HandlerType: (*MotionSensorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMotionDetection",
			Handler:    _MotionSensorApi_GetMotionDetection_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullMotionDetections",
			Handler:       _MotionSensorApi_PullMotionDetections_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/motion_sensor.proto",
}

MotionSensorApi_ServiceDesc is the grpc.ServiceDesc for MotionSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MotionSensorSensorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.MotionSensorSensorInfo",
	HandlerType: (*MotionSensorSensorInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeMotionDetection",
			Handler:    _MotionSensorSensorInfo_DescribeMotionDetection_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/motion_sensor.proto",
}

MotionSensorSensorInfo_ServiceDesc is the grpc.ServiceDesc for MotionSensorSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OccupancySensorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OccupancySensorApi",
	HandlerType: (*OccupancySensorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOccupancy",
			Handler:    _OccupancySensorApi_GetOccupancy_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullOccupancy",
			Handler:       _OccupancySensorApi_PullOccupancy_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/occupancy_sensor.proto",
}

OccupancySensorApi_ServiceDesc is the grpc.ServiceDesc for OccupancySensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OccupancySensorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OccupancySensorInfo",
	HandlerType: (*OccupancySensorInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeOccupancy",
			Handler:    _OccupancySensorInfo_DescribeOccupancy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/occupancy_sensor.proto",
}

OccupancySensorInfo_ServiceDesc is the grpc.ServiceDesc for OccupancySensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OnOffApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OnOffApi",
	HandlerType: (*OnOffApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOnOff",
			Handler:    _OnOffApi_GetOnOff_Handler,
		},
		{
			MethodName: "UpdateOnOff",
			Handler:    _OnOffApi_UpdateOnOff_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullOnOff",
			Handler:       _OnOffApi_PullOnOff_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/on_off.proto",
}

OnOffApi_ServiceDesc is the grpc.ServiceDesc for OnOffApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OnOffInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OnOffInfo",
	HandlerType: (*OnOffInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeOnOff",
			Handler:    _OnOffInfo_DescribeOnOff_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/on_off.proto",
}

OnOffInfo_ServiceDesc is the grpc.ServiceDesc for OnOffInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OpenCloseApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OpenCloseApi",
	HandlerType: (*OpenCloseApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPositions",
			Handler:    _OpenCloseApi_GetPositions_Handler,
		},
		{
			MethodName: "UpdatePositions",
			Handler:    _OpenCloseApi_UpdatePositions_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _OpenCloseApi_Stop_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullPositions",
			Handler:       _OpenCloseApi_PullPositions_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/open_close.proto",
}

OpenCloseApi_ServiceDesc is the grpc.ServiceDesc for OpenCloseApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OpenCloseInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.OpenCloseInfo",
	HandlerType: (*OpenCloseInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribePositions",
			Handler:    _OpenCloseInfo_DescribePositions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/open_close.proto",
}

OpenCloseInfo_ServiceDesc is the grpc.ServiceDesc for OpenCloseInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ParentApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ParentApi",
	HandlerType: (*ParentApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListChildren",
			Handler:    _ParentApi_ListChildren_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullChildren",
			Handler:       _ParentApi_PullChildren_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/parent.proto",
}

ParentApi_ServiceDesc is the grpc.ServiceDesc for ParentApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ParentInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.ParentInfo",
	HandlerType: (*ParentInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/parent.proto",
}

ParentInfo_ServiceDesc is the grpc.ServiceDesc for ParentInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PtzApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.PtzApi",
	HandlerType: (*PtzApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPtz",
			Handler:    _PtzApi_GetPtz_Handler,
		},
		{
			MethodName: "UpdatePtz",
			Handler:    _PtzApi_UpdatePtz_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _PtzApi_Stop_Handler,
		},
		{
			MethodName: "CreatePreset",
			Handler:    _PtzApi_CreatePreset_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullPtz",
			Handler:       _PtzApi_PullPtz_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/ptz.proto",
}

PtzApi_ServiceDesc is the grpc.ServiceDesc for PtzApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PtzInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.PtzInfo",
	HandlerType: (*PtzInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribePtz",
			Handler:    _PtzInfo_DescribePtz_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/ptz.proto",
}

PtzInfo_ServiceDesc is the grpc.ServiceDesc for PtzInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PublicationApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.PublicationApi",
	HandlerType: (*PublicationApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePublication",
			Handler:    _PublicationApi_CreatePublication_Handler,
		},
		{
			MethodName: "GetPublication",
			Handler:    _PublicationApi_GetPublication_Handler,
		},
		{
			MethodName: "UpdatePublication",
			Handler:    _PublicationApi_UpdatePublication_Handler,
		},
		{
			MethodName: "DeletePublication",
			Handler:    _PublicationApi_DeletePublication_Handler,
		},
		{
			MethodName: "ListPublications",
			Handler:    _PublicationApi_ListPublications_Handler,
		},
		{
			MethodName: "AcknowledgePublication",
			Handler:    _PublicationApi_AcknowledgePublication_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullPublication",
			Handler:       _PublicationApi_PullPublication_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullPublications",
			Handler:       _PublicationApi_PullPublications_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/publication.proto",
}

PublicationApi_ServiceDesc is the grpc.ServiceDesc for PublicationApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SpeakerApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.SpeakerApi",
	HandlerType: (*SpeakerApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetVolume",
			Handler:    _SpeakerApi_GetVolume_Handler,
		},
		{
			MethodName: "UpdateVolume",
			Handler:    _SpeakerApi_UpdateVolume_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullVolume",
			Handler:       _SpeakerApi_PullVolume_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/speaker.proto",
}

SpeakerApi_ServiceDesc is the grpc.ServiceDesc for SpeakerApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SpeakerInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.SpeakerInfo",
	HandlerType: (*SpeakerInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeVolume",
			Handler:    _SpeakerInfo_DescribeVolume_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "traits/speaker.proto",
}

SpeakerInfo_ServiceDesc is the grpc.ServiceDesc for SpeakerInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var VendingApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.VendingApi",
	HandlerType: (*VendingApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListConsumables",
			Handler:    _VendingApi_ListConsumables_Handler,
		},
		{
			MethodName: "GetStock",
			Handler:    _VendingApi_GetStock_Handler,
		},
		{
			MethodName: "UpdateStock",
			Handler:    _VendingApi_UpdateStock_Handler,
		},
		{
			MethodName: "ListInventory",
			Handler:    _VendingApi_ListInventory_Handler,
		},
		{
			MethodName: "Dispense",
			Handler:    _VendingApi_Dispense_Handler,
		},
		{
			MethodName: "StopDispense",
			Handler:    _VendingApi_StopDispense_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullConsumables",
			Handler:       _VendingApi_PullConsumables_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullStock",
			Handler:       _VendingApi_PullStock_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullInventory",
			Handler:       _VendingApi_PullInventory_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "traits/vending.proto",
}

VendingApi_ServiceDesc is the grpc.ServiceDesc for VendingApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var VendingInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.traits.VendingInfo",
	HandlerType: (*VendingInfoServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "traits/vending.proto",
}

VendingInfo_ServiceDesc is the grpc.ServiceDesc for VendingInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAirQualitySensorApiServer

func RegisterAirQualitySensorApiServer(s grpc.ServiceRegistrar, srv AirQualitySensorApiServer)

func RegisterAirQualitySensorInfoServer

func RegisterAirQualitySensorInfoServer(s grpc.ServiceRegistrar, srv AirQualitySensorInfoServer)

func RegisterAirTemperatureApiServer

func RegisterAirTemperatureApiServer(s grpc.ServiceRegistrar, srv AirTemperatureApiServer)

func RegisterAirTemperatureInfoServer

func RegisterAirTemperatureInfoServer(s grpc.ServiceRegistrar, srv AirTemperatureInfoServer)

func RegisterBookingApiServer

func RegisterBookingApiServer(s grpc.ServiceRegistrar, srv BookingApiServer)

func RegisterBookingInfoServer

func RegisterBookingInfoServer(s grpc.ServiceRegistrar, srv BookingInfoServer)

func RegisterBrightnessSensorApiServer

func RegisterBrightnessSensorApiServer(s grpc.ServiceRegistrar, srv BrightnessSensorApiServer)

func RegisterBrightnessSensorInfoServer

func RegisterBrightnessSensorInfoServer(s grpc.ServiceRegistrar, srv BrightnessSensorInfoServer)

func RegisterChannelApiServer

func RegisterChannelApiServer(s grpc.ServiceRegistrar, srv ChannelApiServer)

func RegisterChannelInfoServer

func RegisterChannelInfoServer(s grpc.ServiceRegistrar, srv ChannelInfoServer)

func RegisterCountApiServer

func RegisterCountApiServer(s grpc.ServiceRegistrar, srv CountApiServer)

func RegisterCountInfoServer

func RegisterCountInfoServer(s grpc.ServiceRegistrar, srv CountInfoServer)

func RegisterElectricApiServer

func RegisterElectricApiServer(s grpc.ServiceRegistrar, srv ElectricApiServer)

func RegisterElectricInfoServer

func RegisterElectricInfoServer(s grpc.ServiceRegistrar, srv ElectricInfoServer)

func RegisterEmergencyApiServer

func RegisterEmergencyApiServer(s grpc.ServiceRegistrar, srv EmergencyApiServer)

func RegisterEmergencyInfoServer

func RegisterEmergencyInfoServer(s grpc.ServiceRegistrar, srv EmergencyInfoServer)

func RegisterEnergyStorageApiServer

func RegisterEnergyStorageApiServer(s grpc.ServiceRegistrar, srv EnergyStorageApiServer)

func RegisterEnergyStorageInfoServer

func RegisterEnergyStorageInfoServer(s grpc.ServiceRegistrar, srv EnergyStorageInfoServer)

func RegisterEnterLeaveSensorApiServer

func RegisterEnterLeaveSensorApiServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorApiServer)

func RegisterEnterLeaveSensorInfoServer

func RegisterEnterLeaveSensorInfoServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorInfoServer)

func RegisterExtendRetractApiServer

func RegisterExtendRetractApiServer(s grpc.ServiceRegistrar, srv ExtendRetractApiServer)

func RegisterExtendRetractInfoServer

func RegisterExtendRetractInfoServer(s grpc.ServiceRegistrar, srv ExtendRetractInfoServer)

func RegisterFanSpeedApiServer

func RegisterFanSpeedApiServer(s grpc.ServiceRegistrar, srv FanSpeedApiServer)

func RegisterFanSpeedInfoServer

func RegisterFanSpeedInfoServer(s grpc.ServiceRegistrar, srv FanSpeedInfoServer)

func RegisterHailApiServer

func RegisterHailApiServer(s grpc.ServiceRegistrar, srv HailApiServer)

func RegisterHailInfoServer

func RegisterHailInfoServer(s grpc.ServiceRegistrar, srv HailInfoServer)

func RegisterInputSelectApiServer

func RegisterInputSelectApiServer(s grpc.ServiceRegistrar, srv InputSelectApiServer)

func RegisterInputSelectInfoServer

func RegisterInputSelectInfoServer(s grpc.ServiceRegistrar, srv InputSelectInfoServer)

func RegisterLightApiServer

func RegisterLightApiServer(s grpc.ServiceRegistrar, srv LightApiServer)

func RegisterLightInfoServer

func RegisterLightInfoServer(s grpc.ServiceRegistrar, srv LightInfoServer)

func RegisterLockUnlockApiServer

func RegisterLockUnlockApiServer(s grpc.ServiceRegistrar, srv LockUnlockApiServer)

func RegisterLockUnlockInfoServer

func RegisterLockUnlockInfoServer(s grpc.ServiceRegistrar, srv LockUnlockInfoServer)

func RegisterMetadataApiServer

func RegisterMetadataApiServer(s grpc.ServiceRegistrar, srv MetadataApiServer)

func RegisterMetadataInfoServer

func RegisterMetadataInfoServer(s grpc.ServiceRegistrar, srv MetadataInfoServer)

func RegisterMicrophoneApiServer

func RegisterMicrophoneApiServer(s grpc.ServiceRegistrar, srv MicrophoneApiServer)

func RegisterMicrophoneInfoServer

func RegisterMicrophoneInfoServer(s grpc.ServiceRegistrar, srv MicrophoneInfoServer)

func RegisterModeApiServer

func RegisterModeApiServer(s grpc.ServiceRegistrar, srv ModeApiServer)

func RegisterModeInfoServer

func RegisterModeInfoServer(s grpc.ServiceRegistrar, srv ModeInfoServer)

func RegisterMotionSensorApiServer

func RegisterMotionSensorApiServer(s grpc.ServiceRegistrar, srv MotionSensorApiServer)

func RegisterMotionSensorSensorInfoServer

func RegisterMotionSensorSensorInfoServer(s grpc.ServiceRegistrar, srv MotionSensorSensorInfoServer)

func RegisterOccupancySensorApiServer

func RegisterOccupancySensorApiServer(s grpc.ServiceRegistrar, srv OccupancySensorApiServer)

func RegisterOccupancySensorInfoServer

func RegisterOccupancySensorInfoServer(s grpc.ServiceRegistrar, srv OccupancySensorInfoServer)

func RegisterOnOffApiServer

func RegisterOnOffApiServer(s grpc.ServiceRegistrar, srv OnOffApiServer)

func RegisterOnOffInfoServer

func RegisterOnOffInfoServer(s grpc.ServiceRegistrar, srv OnOffInfoServer)

func RegisterOpenCloseApiServer

func RegisterOpenCloseApiServer(s grpc.ServiceRegistrar, srv OpenCloseApiServer)

func RegisterOpenCloseInfoServer

func RegisterOpenCloseInfoServer(s grpc.ServiceRegistrar, srv OpenCloseInfoServer)

func RegisterParentApiServer

func RegisterParentApiServer(s grpc.ServiceRegistrar, srv ParentApiServer)

func RegisterParentInfoServer

func RegisterParentInfoServer(s grpc.ServiceRegistrar, srv ParentInfoServer)

func RegisterPtzApiServer

func RegisterPtzApiServer(s grpc.ServiceRegistrar, srv PtzApiServer)

func RegisterPtzInfoServer

func RegisterPtzInfoServer(s grpc.ServiceRegistrar, srv PtzInfoServer)

func RegisterPublicationApiServer

func RegisterPublicationApiServer(s grpc.ServiceRegistrar, srv PublicationApiServer)

func RegisterSpeakerApiServer

func RegisterSpeakerApiServer(s grpc.ServiceRegistrar, srv SpeakerApiServer)

func RegisterSpeakerInfoServer

func RegisterSpeakerInfoServer(s grpc.ServiceRegistrar, srv SpeakerInfoServer)

func RegisterVendingApiServer

func RegisterVendingApiServer(s grpc.ServiceRegistrar, srv VendingApiServer)

func RegisterVendingInfoServer

func RegisterVendingInfoServer(s grpc.ServiceRegistrar, srv VendingInfoServer)

Types

type AcknowledgePublicationRequest

type AcknowledgePublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The ID of the publication to acknowledge.
	// Required.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The version of the publication to acknowledge.
	// Required.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// One of ACCEPTED or REJECTED.
	// Optional, ACCEPTED is used if not present
	Receipt Publication_Audience_Receipt `protobuf:"varint,4,opt,name=receipt,proto3,enum=smartcore.traits.Publication_Audience_Receipt" json:"receipt,omitempty"`
	// If receipt is REJECTED, supply a reason that may be shown to an operator to help troubleshoot issues.
	ReceiptRejectedReason string `` /* 126-byte string literal not displayed */
	// If true, acknowledging a publication more than once will not result in an error response status and the publication
	// will not change.
	AllowAcknowledged bool `protobuf:"varint,6,opt,name=allow_acknowledged,json=allowAcknowledged,proto3" json:"allow_acknowledged,omitempty"`
	// contains filtered or unexported fields
}

func (*AcknowledgePublicationRequest) Descriptor deprecated

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

Deprecated: Use AcknowledgePublicationRequest.ProtoReflect.Descriptor instead.

func (*AcknowledgePublicationRequest) GetAllowAcknowledged

func (x *AcknowledgePublicationRequest) GetAllowAcknowledged() bool

func (*AcknowledgePublicationRequest) GetId

func (*AcknowledgePublicationRequest) GetName

func (*AcknowledgePublicationRequest) GetReceipt

func (*AcknowledgePublicationRequest) GetReceiptRejectedReason

func (x *AcknowledgePublicationRequest) GetReceiptRejectedReason() string

func (*AcknowledgePublicationRequest) GetVersion

func (x *AcknowledgePublicationRequest) GetVersion() string

func (*AcknowledgePublicationRequest) ProtoMessage

func (*AcknowledgePublicationRequest) ProtoMessage()

func (*AcknowledgePublicationRequest) ProtoReflect

func (*AcknowledgePublicationRequest) Reset

func (x *AcknowledgePublicationRequest) Reset()

func (*AcknowledgePublicationRequest) String

type AdjustChannelRequest

type AdjustChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// How many channels to skip, use negative numbers to select previous channels. See ChannelApiAttributes.adjust_max.
	Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

AdjustChannelRequest describes how to change the channel relative to the current channel.

func (*AdjustChannelRequest) Descriptor deprecated

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

Deprecated: Use AdjustChannelRequest.ProtoReflect.Descriptor instead.

func (*AdjustChannelRequest) GetAmount

func (x *AdjustChannelRequest) GetAmount() int32

func (*AdjustChannelRequest) GetName

func (x *AdjustChannelRequest) GetName() string

func (*AdjustChannelRequest) ProtoMessage

func (*AdjustChannelRequest) ProtoMessage()

func (*AdjustChannelRequest) ProtoReflect

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

func (*AdjustChannelRequest) Reset

func (x *AdjustChannelRequest) Reset()

func (*AdjustChannelRequest) String

func (x *AdjustChannelRequest) String() string

type AirQuality

type AirQuality struct {

	// The CO2 level in parts per million
	CarbonDioxideLevel *float32 `protobuf:"fixed32,1,opt,name=carbon_dioxide_level,json=carbonDioxideLevel,proto3,oneof" json:"carbon_dioxide_level,omitempty"`
	// The VOC level in parts per million
	VolatileOrganicCompounds *float32 `` /* 143-byte string literal not displayed */
	// The air pressure in hPa
	AirPressure *float32 `protobuf:"fixed32,3,opt,name=air_pressure,json=airPressure,proto3,oneof" json:"air_pressure,omitempty"`
	// General comfort of the area
	Comfort AirQuality_Comfort `protobuf:"varint,4,opt,name=comfort,proto3,enum=smartcore.traits.AirQuality_Comfort" json:"comfort,omitempty"`
	// A percentage [0,100] reading for how infectious the air is.
	// Typically a combination of other sensor readings, the combination algorithm is undefined.
	InfectionRisk *float32 `protobuf:"fixed32,5,opt,name=infection_risk,json=infectionRisk,proto3,oneof" json:"infection_risk,omitempty"`
	// An air quality score for the area mapped to a percentage [0,100], with 100 being the best quality.
	Score *float32 `protobuf:"fixed32,6,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// A measure of particles in the air measuring 1 micron or less in size, in micrograms per cubic meter.
	ParticulateMatter_1 *float32 `protobuf:"fixed32,7,opt,name=particulate_matter_1,json=particulateMatter1,proto3,oneof" json:"particulate_matter_1,omitempty"`
	// A measure of particles in the air measuring 2.5 microns or less in size, in micrograms per cubic meter.
	ParticulateMatter_25 *float32 `` /* 128-byte string literal not displayed */
	// A measure of particles in the air measuring 10 microns or less in size, in micrograms per cubic meter.
	ParticulateMatter_10 *float32 `` /* 128-byte string literal not displayed */
	// The number of times per hour the air in the area is replaced.
	AirChangePerHour *float32 `protobuf:"fixed32,10,opt,name=air_change_per_hour,json=airChangePerHour,proto3,oneof" json:"air_change_per_hour,omitempty"`
	// contains filtered or unexported fields
}

AirQuality holds the value of all supported sensors.

func (*AirQuality) Descriptor deprecated

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

Deprecated: Use AirQuality.ProtoReflect.Descriptor instead.

func (*AirQuality) GetAirChangePerHour

func (x *AirQuality) GetAirChangePerHour() float32

func (*AirQuality) GetAirPressure

func (x *AirQuality) GetAirPressure() float32

func (*AirQuality) GetCarbonDioxideLevel

func (x *AirQuality) GetCarbonDioxideLevel() float32

func (*AirQuality) GetComfort

func (x *AirQuality) GetComfort() AirQuality_Comfort

func (*AirQuality) GetInfectionRisk

func (x *AirQuality) GetInfectionRisk() float32

func (*AirQuality) GetParticulateMatter_1

func (x *AirQuality) GetParticulateMatter_1() float32

func (*AirQuality) GetParticulateMatter_10

func (x *AirQuality) GetParticulateMatter_10() float32

func (*AirQuality) GetParticulateMatter_25

func (x *AirQuality) GetParticulateMatter_25() float32

func (*AirQuality) GetScore

func (x *AirQuality) GetScore() float32

func (*AirQuality) GetVolatileOrganicCompounds

func (x *AirQuality) GetVolatileOrganicCompounds() float32

func (*AirQuality) ProtoMessage

func (*AirQuality) ProtoMessage()

func (*AirQuality) ProtoReflect

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

func (*AirQuality) Reset

func (x *AirQuality) Reset()

func (*AirQuality) String

func (x *AirQuality) String() string

type AirQualitySensorApiClient

type AirQualitySensorApiClient interface {
	// Get the current state of all reading this device supports
	GetAirQuality(ctx context.Context, in *GetAirQualityRequest, opts ...grpc.CallOption) (*AirQuality, error)
	// Be notified of changes to any reading
	PullAirQuality(ctx context.Context, in *PullAirQualityRequest, opts ...grpc.CallOption) (AirQualitySensorApi_PullAirQualityClient, error)
}

AirQualitySensorApiClient is the client API for AirQualitySensorApi 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 AirQualitySensorApiServer

type AirQualitySensorApiServer interface {
	// Get the current state of all reading this device supports
	GetAirQuality(context.Context, *GetAirQualityRequest) (*AirQuality, error)
	// Be notified of changes to any reading
	PullAirQuality(*PullAirQualityRequest, AirQualitySensorApi_PullAirQualityServer) error
	// contains filtered or unexported methods
}

AirQualitySensorApiServer is the server API for AirQualitySensorApi service. All implementations must embed UnimplementedAirQualitySensorApiServer for forward compatibility

type AirQualitySensorApi_PullAirQualityClient

type AirQualitySensorApi_PullAirQualityClient interface {
	Recv() (*PullAirQualityResponse, error)
	grpc.ClientStream
}

type AirQualitySensorApi_PullAirQualityServer

type AirQualitySensorApi_PullAirQualityServer interface {
	Send(*PullAirQualityResponse) error
	grpc.ServerStream
}

type AirQualitySensorInfoClient

type AirQualitySensorInfoClient interface {
	// Get information about how a named device implements AirQuality measurements
	DescribeAirQuality(ctx context.Context, in *DescribeAirQualityRequest, opts ...grpc.CallOption) (*AirQualitySupport, error)
}

AirQualitySensorInfoClient is the client API for AirQualitySensorInfo 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 AirQualitySensorInfoServer

type AirQualitySensorInfoServer interface {
	// Get information about how a named device implements AirQuality measurements
	DescribeAirQuality(context.Context, *DescribeAirQualityRequest) (*AirQualitySupport, error)
	// contains filtered or unexported methods
}

AirQualitySensorInfoServer is the server API for AirQualitySensorInfo service. All implementations must embed UnimplementedAirQualitySensorInfoServer for forward compatibility

type AirQualitySupport

type AirQualitySupport struct {

	// How a named device supports read/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// If present then the sensor supports reporting CO2 levels, in parts-per-million.
	CarbonDioxideLevel *types.FloatBounds `protobuf:"bytes,2,opt,name=carbon_dioxide_level,json=carbonDioxideLevel,proto3" json:"carbon_dioxide_level,omitempty"`
	// If present then the sensor supports reporting volatile organic compounds, in parts-per-million.
	VolatileOrganicCompounds *types.FloatBounds `` /* 135-byte string literal not displayed */
	// If present then the sensor supports reporting air pressure, in hPa.
	AirPressure *types.FloatBounds `protobuf:"bytes,4,opt,name=air_pressure,json=airPressure,proto3" json:"air_pressure,omitempty"`
	// If non-empty then the sensor supports reporting a general comfort reading of any of the provided types.
	// Unknown should be assumed to be present if supported.
	Comfort []AirQuality_Comfort `protobuf:"varint,5,rep,packed,name=comfort,proto3,enum=smartcore.traits.AirQuality_Comfort" json:"comfort,omitempty"`
	// If present then the sensor supports reporting infection risk, as a percentage [0,100].
	InfectionRisk *types.FloatBounds `protobuf:"bytes,6,opt,name=infection_risk,json=infectionRisk,proto3" json:"infection_risk,omitempty"`
	// If present then the sensor supports reporting an air quality score, as a percentage [0,100].
	Score *types.FloatBounds `protobuf:"bytes,7,opt,name=score,proto3" json:"score,omitempty"`
	// If present then the sensor supports reporting particulate matter 1, in micrograms per cubic meter.
	ParticulateMatter_1 *types.FloatBounds `protobuf:"bytes,8,opt,name=particulate_matter_1,json=particulateMatter1,proto3" json:"particulate_matter_1,omitempty"`
	// If present then the sensor supports reporting particulate matter 2.5, in micrograms per cubic meter.
	ParticulateMatter_25 *types.FloatBounds `protobuf:"bytes,9,opt,name=particulate_matter_25,json=particulateMatter25,proto3" json:"particulate_matter_25,omitempty"`
	// If present then the sensor supports reporting particulate matter 10, in micrograms per cubic meter.
	ParticulateMatter_10 *types.FloatBounds `protobuf:"bytes,10,opt,name=particulate_matter_10,json=particulateMatter10,proto3" json:"particulate_matter_10,omitempty"`
	// If present then the sensor supports reporting air changes per hour.
	AirChangePerHour *types.FloatBounds `protobuf:"bytes,11,opt,name=air_change_per_hour,json=airChangePerHour,proto3" json:"air_change_per_hour,omitempty"`
	// contains filtered or unexported fields
}

AirQualitySupport describes the capabilities of devices implementing this trait

func (*AirQualitySupport) Descriptor deprecated

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

Deprecated: Use AirQualitySupport.ProtoReflect.Descriptor instead.

func (*AirQualitySupport) GetAirChangePerHour

func (x *AirQualitySupport) GetAirChangePerHour() *types.FloatBounds

func (*AirQualitySupport) GetAirPressure

func (x *AirQualitySupport) GetAirPressure() *types.FloatBounds

func (*AirQualitySupport) GetCarbonDioxideLevel

func (x *AirQualitySupport) GetCarbonDioxideLevel() *types.FloatBounds

func (*AirQualitySupport) GetComfort

func (x *AirQualitySupport) GetComfort() []AirQuality_Comfort

func (*AirQualitySupport) GetInfectionRisk

func (x *AirQualitySupport) GetInfectionRisk() *types.FloatBounds

func (*AirQualitySupport) GetParticulateMatter_1

func (x *AirQualitySupport) GetParticulateMatter_1() *types.FloatBounds

func (*AirQualitySupport) GetParticulateMatter_10

func (x *AirQualitySupport) GetParticulateMatter_10() *types.FloatBounds

func (*AirQualitySupport) GetParticulateMatter_25

func (x *AirQualitySupport) GetParticulateMatter_25() *types.FloatBounds

func (*AirQualitySupport) GetResourceSupport

func (x *AirQualitySupport) GetResourceSupport() *types.ResourceSupport

func (*AirQualitySupport) GetScore

func (x *AirQualitySupport) GetScore() *types.FloatBounds

func (*AirQualitySupport) GetVolatileOrganicCompounds

func (x *AirQualitySupport) GetVolatileOrganicCompounds() *types.FloatBounds

func (*AirQualitySupport) ProtoMessage

func (*AirQualitySupport) ProtoMessage()

func (*AirQualitySupport) ProtoReflect

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

func (*AirQualitySupport) Reset

func (x *AirQualitySupport) Reset()

func (*AirQualitySupport) String

func (x *AirQualitySupport) String() string

type AirQuality_Comfort

type AirQuality_Comfort int32

Comfort encodes levels of comfort for an area.

const (
	// The comfort level is unknown
	AirQuality_COMFORT_UNSPECIFIED AirQuality_Comfort = 0
	// The area should be comfortable for occupants
	AirQuality_COMFORTABLE AirQuality_Comfort = 1
	// The area might be uncomfortable for occupants
	AirQuality_UNCOMFORTABLE AirQuality_Comfort = 2
)

func (AirQuality_Comfort) Descriptor

func (AirQuality_Comfort) Enum

func (AirQuality_Comfort) EnumDescriptor deprecated

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

Deprecated: Use AirQuality_Comfort.Descriptor instead.

func (AirQuality_Comfort) Number

func (AirQuality_Comfort) String

func (x AirQuality_Comfort) String() string

func (AirQuality_Comfort) Type

type AirTemperature

type AirTemperature struct {

	// The current mode for the device
	Mode AirTemperature_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=smartcore.traits.AirTemperature_Mode" json:"mode,omitempty"`
	// Types that are assignable to TemperatureGoal:
	//
	//	*AirTemperature_TemperatureSetPoint
	//	*AirTemperature_TemperatureSetPointDelta
	//	*AirTemperature_TemperatureRange
	TemperatureGoal isAirTemperature_TemperatureGoal `protobuf_oneof:"temperature_goal"`
	// Optional, read-only. The ambient temperature as read by the device
	AmbientTemperature *types.Temperature `protobuf:"bytes,5,opt,name=ambient_temperature,json=ambientTemperature,proto3" json:"ambient_temperature,omitempty"`
	// Optional, read-only. The ambient humidity as read by the device
	AmbientHumidity *float32 `protobuf:"fixed32,6,opt,name=ambient_humidity,json=ambientHumidity,proto3,oneof" json:"ambient_humidity,omitempty"`
	// Optional, read-only. The dew-point as read by the device
	DewPoint *types.Temperature `protobuf:"bytes,7,opt,name=dew_point,json=dewPoint,proto3" json:"dew_point,omitempty"`
	// contains filtered or unexported fields
}

All the properties of the device

func (*AirTemperature) Descriptor deprecated

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

Deprecated: Use AirTemperature.ProtoReflect.Descriptor instead.

func (*AirTemperature) GetAmbientHumidity

func (x *AirTemperature) GetAmbientHumidity() float32

func (*AirTemperature) GetAmbientTemperature

func (x *AirTemperature) GetAmbientTemperature() *types.Temperature

func (*AirTemperature) GetDewPoint

func (x *AirTemperature) GetDewPoint() *types.Temperature

func (*AirTemperature) GetMode

func (x *AirTemperature) GetMode() AirTemperature_Mode

func (*AirTemperature) GetTemperatureGoal

func (m *AirTemperature) GetTemperatureGoal() isAirTemperature_TemperatureGoal

func (*AirTemperature) GetTemperatureRange

func (x *AirTemperature) GetTemperatureRange() *TemperatureRange

func (*AirTemperature) GetTemperatureSetPoint

func (x *AirTemperature) GetTemperatureSetPoint() *types.Temperature

func (*AirTemperature) GetTemperatureSetPointDelta

func (x *AirTemperature) GetTemperatureSetPointDelta() *types.Temperature

func (*AirTemperature) ProtoMessage

func (*AirTemperature) ProtoMessage()

func (*AirTemperature) ProtoReflect

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

func (*AirTemperature) Reset

func (x *AirTemperature) Reset()

func (*AirTemperature) String

func (x *AirTemperature) String() string

type AirTemperatureApiClient

type AirTemperatureApiClient interface {
	// Get the current state of the device
	GetAirTemperature(ctx context.Context, in *GetAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperature, error)
	// Update the target state for the device. the returned state may not be complete but will indicate at least the
	// current values for any set fields as part of the request.
	UpdateAirTemperature(ctx context.Context, in *UpdateAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperature, error)
	// Request notification of change to the device state. The messages in the response stream may not be complete
	// but will indicate the changes as they occur. They should be merged with the full state as fetched by the
	// GetAirTemperature method.
	PullAirTemperature(ctx context.Context, in *PullAirTemperatureRequest, opts ...grpc.CallOption) (AirTemperatureApi_PullAirTemperatureClient, error)
}

AirTemperatureApiClient is the client API for AirTemperatureApi 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 AirTemperatureApiServer

type AirTemperatureApiServer interface {
	// Get the current state of the device
	GetAirTemperature(context.Context, *GetAirTemperatureRequest) (*AirTemperature, error)
	// Update the target state for the device. the returned state may not be complete but will indicate at least the
	// current values for any set fields as part of the request.
	UpdateAirTemperature(context.Context, *UpdateAirTemperatureRequest) (*AirTemperature, error)
	// Request notification of change to the device state. The messages in the response stream may not be complete
	// but will indicate the changes as they occur. They should be merged with the full state as fetched by the
	// GetAirTemperature method.
	PullAirTemperature(*PullAirTemperatureRequest, AirTemperatureApi_PullAirTemperatureServer) error
	// contains filtered or unexported methods
}

AirTemperatureApiServer is the server API for AirTemperatureApi service. All implementations must embed UnimplementedAirTemperatureApiServer for forward compatibility

type AirTemperatureApi_PullAirTemperatureClient

type AirTemperatureApi_PullAirTemperatureClient interface {
	Recv() (*PullAirTemperatureResponse, error)
	grpc.ClientStream
}

type AirTemperatureApi_PullAirTemperatureServer

type AirTemperatureApi_PullAirTemperatureServer interface {
	Send(*PullAirTemperatureResponse) error
	grpc.ServerStream
}

type AirTemperatureInfoClient

type AirTemperatureInfoClient interface {
	// Get information about how a named device implements AirTemperature features
	DescribeAirTemperature(ctx context.Context, in *DescribeAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperatureSupport, error)
}

AirTemperatureInfoClient is the client API for AirTemperatureInfo 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 AirTemperatureInfoServer

type AirTemperatureInfoServer interface {
	// Get information about how a named device implements AirTemperature features
	DescribeAirTemperature(context.Context, *DescribeAirTemperatureRequest) (*AirTemperatureSupport, error)
	// contains filtered or unexported methods
}

AirTemperatureInfoServer is the server API for AirTemperatureInfo service. All implementations must embed UnimplementedAirTemperatureInfoServer for forward compatibility

type AirTemperatureSupport

type AirTemperatureSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// How the device thinks, all communications will be in celsius but the device's native unit is this.
	NativeUnit types.TemperatureUnit `` /* 129-byte string literal not displayed */
	// The list of modes a device supports.
	SupportedModes []AirTemperature_Mode `` /* 153-byte string literal not displayed */
	// The minimum difference between the low and high temperatures when set using a range. 0 means unset, default to 2.
	MinRangeCelsius float64 `protobuf:"fixed64,4,opt,name=min_range_celsius,json=minRangeCelsius,proto3" json:"min_range_celsius,omitempty"`
	// contains filtered or unexported fields
}

AirTemperatureSupport describes the capabilities of devices implementing this trait

func (*AirTemperatureSupport) Descriptor deprecated

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

Deprecated: Use AirTemperatureSupport.ProtoReflect.Descriptor instead.

func (*AirTemperatureSupport) GetMinRangeCelsius

func (x *AirTemperatureSupport) GetMinRangeCelsius() float64

func (*AirTemperatureSupport) GetNativeUnit

func (x *AirTemperatureSupport) GetNativeUnit() types.TemperatureUnit

func (*AirTemperatureSupport) GetResourceSupport

func (x *AirTemperatureSupport) GetResourceSupport() *types.ResourceSupport

func (*AirTemperatureSupport) GetSupportedModes

func (x *AirTemperatureSupport) GetSupportedModes() []AirTemperature_Mode

func (*AirTemperatureSupport) ProtoMessage

func (*AirTemperatureSupport) ProtoMessage()

func (*AirTemperatureSupport) ProtoReflect

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

func (*AirTemperatureSupport) Reset

func (x *AirTemperatureSupport) Reset()

func (*AirTemperatureSupport) String

func (x *AirTemperatureSupport) String() string

type AirTemperature_Mode

type AirTemperature_Mode int32

Supported modes for a device. Some of these values are used as descriptive attributes, some are used for control

const (
	// The mode is unknown during a query. If used during a write then no change will be made, if part of a
	// read then the mode is unknown. This makes no sense as part of an attribute.
	AirTemperature_MODE_UNSPECIFIED AirTemperature_Mode = 0
	// Write-only. If the device is OFF restore it to it's previous state
	AirTemperature_ON AirTemperature_Mode = 1
	// Attr, read, write. The device supports, is, or should be disabled
	AirTemperature_OFF AirTemperature_Mode = 2
	// Attr, read, write. The device supports, is, or should be heating
	AirTemperature_HEAT AirTemperature_Mode = 3
	// Attr, read, write. The device supports, is, or should be cooling
	AirTemperature_COOL AirTemperature_Mode = 4
	// Attr, read, write. The device supports, is, or should be maintaining heating/cooling to target a specific set
	// point (and/or min + max)
	AirTemperature_HEAT_COOL AirTemperature_Mode = 5
	// Attr. The device supports automatic control of set points and/or schedules based on some other means (AI for
	// example)
	AirTemperature_AUTO AirTemperature_Mode = 6
	// Attr, read, write. The device supports, is, or should be able to use only the fan without heating/cooling elements.
	AirTemperature_FAN_ONLY AirTemperature_Mode = 7
	// Attr, read, write. The device supports, is, or should be in an energy saving "eco" mode
	AirTemperature_ECO AirTemperature_Mode = 8
	// Attr, read, write. The device supports, is, or should be in an air purifying mode
	AirTemperature_PURIFIER AirTemperature_Mode = 9
	// Attr, read, write. The device supports, is, or should be in an air drying mode
	AirTemperature_DRY AirTemperature_Mode = 10
	// Attr, read, write. The device supports, is, or should be in locked mode (i.e. not user-editable)
	AirTemperature_LOCKED AirTemperature_Mode = 11
)

func (AirTemperature_Mode) Descriptor

func (AirTemperature_Mode) Enum

func (AirTemperature_Mode) EnumDescriptor deprecated

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

Deprecated: Use AirTemperature_Mode.Descriptor instead.

func (AirTemperature_Mode) Number

func (AirTemperature_Mode) String

func (x AirTemperature_Mode) String() string

func (AirTemperature_Mode) Type

type AirTemperature_TemperatureRange

type AirTemperature_TemperatureRange struct {
	// A target range for the device. Only supported when in HEAT_COOL mode
	TemperatureRange *TemperatureRange `protobuf:"bytes,4,opt,name=temperature_range,json=temperatureRange,proto3,oneof"`
}

type AirTemperature_TemperatureSetPoint

type AirTemperature_TemperatureSetPoint struct {
	// A target temperature for the device
	TemperatureSetPoint *types.Temperature `protobuf:"bytes,2,opt,name=temperature_set_point,json=temperatureSetPoint,proto3,oneof"`
}

type AirTemperature_TemperatureSetPointDelta

type AirTemperature_TemperatureSetPointDelta struct {
	// Write-only. Set the target temperature to a value relative to the current value.
	TemperatureSetPointDelta *types.Temperature `protobuf:"bytes,3,opt,name=temperature_set_point_delta,json=temperatureSetPointDelta,proto3,oneof"`
}

type AmbientBrightness

type AmbientBrightness struct {

	// Brightness measured in LUX
	BrightnessLux float32 `protobuf:"fixed32,1,opt,name=brightness_lux,json=brightnessLux,proto3" json:"brightness_lux,omitempty"`
	// contains filtered or unexported fields
}

AmbientBrightness records the light level measured by a device.

func (*AmbientBrightness) Descriptor deprecated

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

Deprecated: Use AmbientBrightness.ProtoReflect.Descriptor instead.

func (*AmbientBrightness) GetBrightnessLux

func (x *AmbientBrightness) GetBrightnessLux() float32

func (*AmbientBrightness) ProtoMessage

func (*AmbientBrightness) ProtoMessage()

func (*AmbientBrightness) ProtoReflect

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

func (*AmbientBrightness) Reset

func (x *AmbientBrightness) Reset()

func (*AmbientBrightness) String

func (x *AmbientBrightness) String() string

type AmbientBrightnessSupport

type AmbientBrightnessSupport struct {

	// How a named device supports read/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// The range of values the device is capable of reporting.
	BrightnessLux *types.FloatBounds `protobuf:"bytes,2,opt,name=brightness_lux,json=brightnessLux,proto3" json:"brightness_lux,omitempty"`
	// contains filtered or unexported fields
}

AmbientBrightnessSupport describes the capabilities of devices implementing this trait

func (*AmbientBrightnessSupport) Descriptor deprecated

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

Deprecated: Use AmbientBrightnessSupport.ProtoReflect.Descriptor instead.

func (*AmbientBrightnessSupport) GetBrightnessLux

func (x *AmbientBrightnessSupport) GetBrightnessLux() *types.FloatBounds

func (*AmbientBrightnessSupport) GetResourceSupport

func (x *AmbientBrightnessSupport) GetResourceSupport() *types.ResourceSupport

func (*AmbientBrightnessSupport) ProtoMessage

func (*AmbientBrightnessSupport) ProtoMessage()

func (*AmbientBrightnessSupport) ProtoReflect

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

func (*AmbientBrightnessSupport) Reset

func (x *AmbientBrightnessSupport) Reset()

func (*AmbientBrightnessSupport) String

func (x *AmbientBrightnessSupport) String() string

type AvPort

type AvPort struct {

	// Unique name for the port, used as the value for input or output properties
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Official human readable name for this port
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// If this port supports different features from the device as a whole, specify them here. For example some ports
	// might be audio only or not support audio breakout
	SupportedFeature InputSupport_Feature `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

represents a source (or destination) for the AV signal

func (*AvPort) Descriptor deprecated

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

Deprecated: Use AvPort.ProtoReflect.Descriptor instead.

func (*AvPort) GetDescription

func (x *AvPort) GetDescription() string

func (*AvPort) GetName

func (x *AvPort) GetName() string

func (*AvPort) GetSupportedFeature

func (x *AvPort) GetSupportedFeature() InputSupport_Feature

func (*AvPort) GetTitle

func (x *AvPort) GetTitle() string

func (*AvPort) ProtoMessage

func (*AvPort) ProtoMessage()

func (*AvPort) ProtoReflect

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

func (*AvPort) Reset

func (x *AvPort) Reset()

func (*AvPort) String

func (x *AvPort) String() string

type Booking

type Booking struct {

	// The name of the bookable (e.g. the resource name)
	Bookable string `protobuf:"bytes,1,opt,name=bookable,proto3" json:"bookable,omitempty"`
	// the unique identifier for this booking
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// the title of this booking
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// the name of the owner of this booking
	OwnerName string `protobuf:"bytes,4,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// the time period this booking is for
	Booked *time.Period `protobuf:"bytes,5,opt,name=booked,proto3" json:"booked,omitempty"`
	// The time period this booking was checked in for.
	// If this is absent, then no check in or check out has happened
	// If check_in.start_time is absent, no check in has happened
	// If check_in.end_time is absent, no check out has happened
	CheckIn *time.Period `protobuf:"bytes,6,opt,name=check_in,json=checkIn,proto3" json:"check_in,omitempty"`
	// If true, the booking does not require a check-in and one should not be expected.
	// Defaults to false; check-in is required.
	CheckInNotRequired bool `protobuf:"varint,7,opt,name=check_in_not_required,json=checkInNotRequired,proto3" json:"check_in_not_required,omitempty"`
	// contains filtered or unexported fields
}

func (*Booking) Descriptor deprecated

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

Deprecated: Use Booking.ProtoReflect.Descriptor instead.

func (*Booking) GetBookable

func (x *Booking) GetBookable() string

func (*Booking) GetBooked

func (x *Booking) GetBooked() *time.Period

func (*Booking) GetCheckIn

func (x *Booking) GetCheckIn() *time.Period

func (*Booking) GetCheckInNotRequired

func (x *Booking) GetCheckInNotRequired() bool

func (*Booking) GetId

func (x *Booking) GetId() string

func (*Booking) GetOwnerName

func (x *Booking) GetOwnerName() string

func (*Booking) GetTitle

func (x *Booking) GetTitle() string

func (*Booking) ProtoMessage

func (*Booking) ProtoMessage()

func (*Booking) ProtoReflect

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

func (*Booking) Reset

func (x *Booking) Reset()

func (*Booking) String

func (x *Booking) String() string

type BookingApiClient

type BookingApiClient interface {
	// list bookings for a given bookable
	ListBookings(ctx context.Context, in *ListBookingsRequest, opts ...grpc.CallOption) (*ListBookingsResponse, error)
	// check in an existing booking
	CheckInBooking(ctx context.Context, in *CheckInBookingRequest, opts ...grpc.CallOption) (*CheckInBookingResponse, error)
	// check out an existing booking
	CheckOutBooking(ctx context.Context, in *CheckOutBookingRequest, opts ...grpc.CallOption) (*CheckOutBookingResponse, error)
	// create a new booking
	CreateBooking(ctx context.Context, in *CreateBookingRequest, opts ...grpc.CallOption) (*CreateBookingResponse, error)
	// update an existing booking
	UpdateBooking(ctx context.Context, in *UpdateBookingRequest, opts ...grpc.CallOption) (*UpdateBookingResponse, error)
	// request updates to booking changes for a given bookable
	PullBookings(ctx context.Context, in *ListBookingsRequest, opts ...grpc.CallOption) (BookingApi_PullBookingsClient, error)
}

BookingApiClient is the client API for BookingApi 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.

func NewBookingApiClient

func NewBookingApiClient(cc grpc.ClientConnInterface) BookingApiClient

type BookingApiServer

type BookingApiServer interface {
	// list bookings for a given bookable
	ListBookings(context.Context, *ListBookingsRequest) (*ListBookingsResponse, error)
	// check in an existing booking
	CheckInBooking(context.Context, *CheckInBookingRequest) (*CheckInBookingResponse, error)
	// check out an existing booking
	CheckOutBooking(context.Context, *CheckOutBookingRequest) (*CheckOutBookingResponse, error)
	// create a new booking
	CreateBooking(context.Context, *CreateBookingRequest) (*CreateBookingResponse, error)
	// update an existing booking
	UpdateBooking(context.Context, *UpdateBookingRequest) (*UpdateBookingResponse, error)
	// request updates to booking changes for a given bookable
	PullBookings(*ListBookingsRequest, BookingApi_PullBookingsServer) error
	// contains filtered or unexported methods
}

BookingApiServer is the server API for BookingApi service. All implementations must embed UnimplementedBookingApiServer for forward compatibility

type BookingApi_PullBookingsClient

type BookingApi_PullBookingsClient interface {
	Recv() (*PullBookingsResponse, error)
	grpc.ClientStream
}

type BookingApi_PullBookingsServer

type BookingApi_PullBookingsServer interface {
	Send(*PullBookingsResponse) error
	grpc.ServerStream
}

type BookingInfoClient

type BookingInfoClient interface {
	// Get information about how a named device implements Booking features
	DescribeBooking(ctx context.Context, in *DescribeBookingRequest, opts ...grpc.CallOption) (*BookingSupport, error)
}

BookingInfoClient is the client API for BookingInfo 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 BookingInfoServer

type BookingInfoServer interface {
	// Get information about how a named device implements Booking features
	DescribeBooking(context.Context, *DescribeBookingRequest) (*BookingSupport, error)
	// contains filtered or unexported methods
}

BookingInfoServer is the server API for BookingInfo service. All implementations must embed UnimplementedBookingInfoServer for forward compatibility

type BookingSupport

type BookingSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// is check in supported, and how
	CheckInSupport BookingSupport_CheckInSupport `` /* 158-byte string literal not displayed */
	// is check out supported, and how
	CheckOutSupport BookingSupport_CheckInSupport `` /* 161-byte string literal not displayed */
	// the supported time resolution for date time fields and queries
	TimeResolution time.Unit `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

BookingSupport describes the capabilities of devices implementing this trait

func (*BookingSupport) Descriptor deprecated

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

Deprecated: Use BookingSupport.ProtoReflect.Descriptor instead.

func (*BookingSupport) GetCheckInSupport

func (x *BookingSupport) GetCheckInSupport() BookingSupport_CheckInSupport

func (*BookingSupport) GetCheckOutSupport

func (x *BookingSupport) GetCheckOutSupport() BookingSupport_CheckInSupport

func (*BookingSupport) GetResourceSupport

func (x *BookingSupport) GetResourceSupport() *types.ResourceSupport

func (*BookingSupport) GetTimeResolution

func (x *BookingSupport) GetTimeResolution() time.Unit

func (*BookingSupport) ProtoMessage

func (*BookingSupport) ProtoMessage()

func (*BookingSupport) ProtoReflect

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

func (*BookingSupport) Reset

func (x *BookingSupport) Reset()

func (*BookingSupport) String

func (x *BookingSupport) String() string

type BookingSupport_CheckInSupport

type BookingSupport_CheckInSupport int32
const (
	// check in support is unknown
	BookingSupport_CHECK_IN_SUPPORT_UNSPECIFIED BookingSupport_CheckInSupport = 0
	// check in is not supported
	BookingSupport_NO_SUPPORT BookingSupport_CheckInSupport = 1
	// check in is supported as a state, without an associated time
	BookingSupport_STATE BookingSupport_CheckInSupport = 2
	// check in is supported with an associated time
	BookingSupport_TIME BookingSupport_CheckInSupport = 3
)

func (BookingSupport_CheckInSupport) Descriptor

func (BookingSupport_CheckInSupport) Enum

func (BookingSupport_CheckInSupport) EnumDescriptor deprecated

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

Deprecated: Use BookingSupport_CheckInSupport.Descriptor instead.

func (BookingSupport_CheckInSupport) Number

func (BookingSupport_CheckInSupport) String

func (BookingSupport_CheckInSupport) Type

type Brightness

type Brightness struct {

	// A level that the device is set to. [0-100] as a percentage.
	// A zero value will be ignored iff preset is present.
	// On write only one of level_percent or preset should be set.
	LevelPercent float32 `protobuf:"fixed32,1,opt,name=level_percent,json=levelPercent,proto3" json:"level_percent,omitempty"`
	// A preset that the device is using
	Preset *LightPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// How the brightness changes or should change over time. On write only duration should be set.
	BrightnessTween *types.Tween `protobuf:"bytes,3,opt,name=brightness_tween,json=brightnessTween,proto3" json:"brightness_tween,omitempty"`
	// The target level_percent. Ignored on write. On read zero values should be ignored iff target_preset is present.
	TargetLevelPercent float32 `protobuf:"fixed32,4,opt,name=target_level_percent,json=targetLevelPercent,proto3" json:"target_level_percent,omitempty"`
	// The target preset. Ignored on write. If present ignore target_level_percent
	TargetPreset *LightPreset `protobuf:"bytes,5,opt,name=target_preset,json=targetPreset,proto3" json:"target_preset,omitempty"`
	// contains filtered or unexported fields
}

Brightness represent the light level that is being emitted. It represents the output level as either a percentage or a preset. Both percentage and preset can be present on read if the device supports exposing a presets underlying value, e.g. Full (100%). Off (0%) cannot be distinguished from Off (not present), this is by design as the alternative would complicate the type use for all other cases.

If the output level is transitioning towards a value then target_level_percent or target_preset may be present on read to indicate what the final state will be. The level_percent and preset value always represent the current value.

func (*Brightness) Descriptor deprecated

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

Deprecated: Use Brightness.ProtoReflect.Descriptor instead.

func (*Brightness) GetBrightnessTween

func (x *Brightness) GetBrightnessTween() *types.Tween

func (*Brightness) GetLevelPercent

func (x *Brightness) GetLevelPercent() float32

func (*Brightness) GetPreset

func (x *Brightness) GetPreset() *LightPreset

func (*Brightness) GetTargetLevelPercent

func (x *Brightness) GetTargetLevelPercent() float32

func (*Brightness) GetTargetPreset

func (x *Brightness) GetTargetPreset() *LightPreset

func (*Brightness) ProtoMessage

func (*Brightness) ProtoMessage()

func (*Brightness) ProtoReflect

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

func (*Brightness) Reset

func (x *Brightness) Reset()

func (*Brightness) String

func (x *Brightness) String() string

type BrightnessSensorApiClient

type BrightnessSensorApiClient interface {
	// GetAmbientBrightness returns the current brightness level as measured by the device.
	GetAmbientBrightness(ctx context.Context, in *GetAmbientBrightnessRequest, opts ...grpc.CallOption) (*AmbientBrightness, error)
	// PullAmbientBrightness returns a stream of brightness changes as the device measures them.
	PullAmbientBrightness(ctx context.Context, in *PullAmbientBrightnessRequest, opts ...grpc.CallOption) (BrightnessSensorApi_PullAmbientBrightnessClient, error)
}

BrightnessSensorApiClient is the client API for BrightnessSensorApi 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 BrightnessSensorApiServer

type BrightnessSensorApiServer interface {
	// GetAmbientBrightness returns the current brightness level as measured by the device.
	GetAmbientBrightness(context.Context, *GetAmbientBrightnessRequest) (*AmbientBrightness, error)
	// PullAmbientBrightness returns a stream of brightness changes as the device measures them.
	PullAmbientBrightness(*PullAmbientBrightnessRequest, BrightnessSensorApi_PullAmbientBrightnessServer) error
	// contains filtered or unexported methods
}

BrightnessSensorApiServer is the server API for BrightnessSensorApi service. All implementations must embed UnimplementedBrightnessSensorApiServer for forward compatibility

type BrightnessSensorApi_PullAmbientBrightnessClient

type BrightnessSensorApi_PullAmbientBrightnessClient interface {
	Recv() (*PullAmbientBrightnessResponse, error)
	grpc.ClientStream
}

type BrightnessSensorApi_PullAmbientBrightnessServer

type BrightnessSensorApi_PullAmbientBrightnessServer interface {
	Send(*PullAmbientBrightnessResponse) error
	grpc.ServerStream
}

type BrightnessSensorInfoClient

type BrightnessSensorInfoClient interface {
	// Get information about how a named device implements AmbientBrightness measurements
	DescribeAmbientBrightness(ctx context.Context, in *DescribeAmbientBrightnessRequest, opts ...grpc.CallOption) (*AmbientBrightnessSupport, error)
}

BrightnessSensorInfoClient is the client API for BrightnessSensorInfo 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 BrightnessSensorInfoServer

type BrightnessSensorInfoServer interface {
	// Get information about how a named device implements AmbientBrightness measurements
	DescribeAmbientBrightness(context.Context, *DescribeAmbientBrightnessRequest) (*AmbientBrightnessSupport, error)
	// contains filtered or unexported methods
}

BrightnessSensorInfoServer is the server API for BrightnessSensorInfo service. All implementations must embed UnimplementedBrightnessSensorInfoServer for forward compatibility

type BrightnessSupport

type BrightnessSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// control how the brightness can be controlled. The range of these attributes is fixed at 0-100 as a percentage
	BrightnessAttributes *types.Int32Attributes `protobuf:"bytes,2,opt,name=brightness_attributes,json=brightnessAttributes,proto3" json:"brightness_attributes,omitempty"`
	// A description of the supported presets, none means no presets
	Presets []*LightPreset `protobuf:"bytes,3,rep,name=presets,proto3" json:"presets,omitempty"`
	// contains filtered or unexported fields
}

BrightnessSupport describes the capabilities of devices implementing this trait

func (*BrightnessSupport) Descriptor deprecated

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

Deprecated: Use BrightnessSupport.ProtoReflect.Descriptor instead.

func (*BrightnessSupport) GetBrightnessAttributes

func (x *BrightnessSupport) GetBrightnessAttributes() *types.Int32Attributes

func (*BrightnessSupport) GetPresets

func (x *BrightnessSupport) GetPresets() []*LightPreset

func (*BrightnessSupport) GetResourceSupport

func (x *BrightnessSupport) GetResourceSupport() *types.ResourceSupport

func (*BrightnessSupport) ProtoMessage

func (*BrightnessSupport) ProtoMessage()

func (*BrightnessSupport) ProtoReflect

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

func (*BrightnessSupport) Reset

func (x *BrightnessSupport) Reset()

func (*BrightnessSupport) String

func (x *BrightnessSupport) String() string

type Channel

type Channel struct {

	// Id uniquely identifies the channel and can be used to select it explicitly.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A numeric identifier for the channel, such as 17 or 712.11-14. Not always parsable as a number.
	ChannelNumber string `protobuf:"bytes,2,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"`
	// A human readable name for the channel.
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

Channel describes a single channel that can be chosen on the device.

During read all known properties will be populated, id and title will always be present. On write either id or number must be present.

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetChannelNumber

func (x *Channel) GetChannelNumber() string

func (*Channel) GetId

func (x *Channel) GetId() string

func (*Channel) GetTitle

func (x *Channel) GetTitle() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

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

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelApiClient

type ChannelApiClient interface {
	// GetChosenChannel returns the currently chosen channel for the device.
	GetChosenChannel(ctx context.Context, in *GetChosenChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	// ChooseChannel will set the currently chosen channel to the one specified. Returns the chosen channel
	ChooseChannel(ctx context.Context, in *ChooseChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	// AdjustChannel will choose a channel based on the current channel, i.e. 'next channel'. Returns the chosen channel
	AdjustChannel(ctx context.Context, in *AdjustChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	// ReturnChannel will choose the previously chosen channel. Returns the chosen channel
	ReturnChannel(ctx context.Context, in *ReturnChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	// PullChosenChannel subscribes to chosen channel changes
	PullChosenChannel(ctx context.Context, in *PullChosenChannelRequest, opts ...grpc.CallOption) (ChannelApi_PullChosenChannelClient, error)
}

ChannelApiClient is the client API for ChannelApi 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.

func NewChannelApiClient

func NewChannelApiClient(cc grpc.ClientConnInterface) ChannelApiClient

type ChannelApiServer

type ChannelApiServer interface {
	// GetChosenChannel returns the currently chosen channel for the device.
	GetChosenChannel(context.Context, *GetChosenChannelRequest) (*Channel, error)
	// ChooseChannel will set the currently chosen channel to the one specified. Returns the chosen channel
	ChooseChannel(context.Context, *ChooseChannelRequest) (*Channel, error)
	// AdjustChannel will choose a channel based on the current channel, i.e. 'next channel'. Returns the chosen channel
	AdjustChannel(context.Context, *AdjustChannelRequest) (*Channel, error)
	// ReturnChannel will choose the previously chosen channel. Returns the chosen channel
	ReturnChannel(context.Context, *ReturnChannelRequest) (*Channel, error)
	// PullChosenChannel subscribes to chosen channel changes
	PullChosenChannel(*PullChosenChannelRequest, ChannelApi_PullChosenChannelServer) error
	// contains filtered or unexported methods
}

ChannelApiServer is the server API for ChannelApi service. All implementations must embed UnimplementedChannelApiServer for forward compatibility

type ChannelApi_PullChosenChannelClient

type ChannelApi_PullChosenChannelClient interface {
	Recv() (*PullChosenChannelResponse, error)
	grpc.ClientStream
}

type ChannelApi_PullChosenChannelServer

type ChannelApi_PullChosenChannelServer interface {
	Send(*PullChosenChannelResponse) error
	grpc.ServerStream
}

type ChannelInfoClient

type ChannelInfoClient interface {
	// Get information about how a named device implements channel choosing and adjustment
	DescribeChosenChannel(ctx context.Context, in *DescribeChosenChannelRequest, opts ...grpc.CallOption) (*ChosenChannelSupport, error)
}

ChannelInfoClient is the client API for ChannelInfo 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 ChannelInfoServer

type ChannelInfoServer interface {
	// Get information about how a named device implements channel choosing and adjustment
	DescribeChosenChannel(context.Context, *DescribeChosenChannelRequest) (*ChosenChannelSupport, error)
	// contains filtered or unexported methods
}

ChannelInfoServer is the server API for ChannelInfo service. All implementations must embed UnimplementedChannelInfoServer for forward compatibility

type ChargeRequest

type ChargeRequest struct {

	// Name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// True to begin charging, false to stop.
	Charge bool `protobuf:"varint,2,opt,name=charge,proto3" json:"charge,omitempty"`
	// contains filtered or unexported fields
}

func (*ChargeRequest) Descriptor deprecated

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

Deprecated: Use ChargeRequest.ProtoReflect.Descriptor instead.

func (*ChargeRequest) GetCharge

func (x *ChargeRequest) GetCharge() bool

func (*ChargeRequest) GetName

func (x *ChargeRequest) GetName() string

func (*ChargeRequest) ProtoMessage

func (*ChargeRequest) ProtoMessage()

func (*ChargeRequest) ProtoReflect

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

func (*ChargeRequest) Reset

func (x *ChargeRequest) Reset()

func (*ChargeRequest) String

func (x *ChargeRequest) String() string

type ChargeResponse

type ChargeResponse struct {
	// contains filtered or unexported fields
}

func (*ChargeResponse) Descriptor deprecated

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

Deprecated: Use ChargeResponse.ProtoReflect.Descriptor instead.

func (*ChargeResponse) ProtoMessage

func (*ChargeResponse) ProtoMessage()

func (*ChargeResponse) ProtoReflect

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

func (*ChargeResponse) Reset

func (x *ChargeResponse) Reset()

func (*ChargeResponse) String

func (x *ChargeResponse) String() string

type CheckInBookingRequest

type CheckInBookingRequest struct {

	// The name of the bookable (e.g. the resource name)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Which booking to check in
	BookingId string `protobuf:"bytes,2,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
	// The time the booking was checked-in. If omitted the server time will be used.
	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckInBookingRequest) Descriptor deprecated

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

Deprecated: Use CheckInBookingRequest.ProtoReflect.Descriptor instead.

func (*CheckInBookingRequest) GetBookingId

func (x *CheckInBookingRequest) GetBookingId() string

func (*CheckInBookingRequest) GetName

func (x *CheckInBookingRequest) GetName() string

func (*CheckInBookingRequest) GetTime

func (*CheckInBookingRequest) ProtoMessage

func (*CheckInBookingRequest) ProtoMessage()

func (*CheckInBookingRequest) ProtoReflect

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

func (*CheckInBookingRequest) Reset

func (x *CheckInBookingRequest) Reset()

func (*CheckInBookingRequest) String

func (x *CheckInBookingRequest) String() string

type CheckInBookingResponse

type CheckInBookingResponse struct {
	// contains filtered or unexported fields
}

func (*CheckInBookingResponse) Descriptor deprecated

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

Deprecated: Use CheckInBookingResponse.ProtoReflect.Descriptor instead.

func (*CheckInBookingResponse) ProtoMessage

func (*CheckInBookingResponse) ProtoMessage()

func (*CheckInBookingResponse) ProtoReflect

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

func (*CheckInBookingResponse) Reset

func (x *CheckInBookingResponse) Reset()

func (*CheckInBookingResponse) String

func (x *CheckInBookingResponse) String() string

type CheckOutBookingRequest

type CheckOutBookingRequest struct {

	// The name of the bookable (e.g. the resource name)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Which booking to check out
	BookingId string `protobuf:"bytes,2,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
	// The time the booking was checked-out. If omitted the server time will be used.
	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckOutBookingRequest) Descriptor deprecated

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

Deprecated: Use CheckOutBookingRequest.ProtoReflect.Descriptor instead.

func (*CheckOutBookingRequest) GetBookingId

func (x *CheckOutBookingRequest) GetBookingId() string

func (*CheckOutBookingRequest) GetName

func (x *CheckOutBookingRequest) GetName() string

func (*CheckOutBookingRequest) GetTime

func (*CheckOutBookingRequest) ProtoMessage

func (*CheckOutBookingRequest) ProtoMessage()

func (*CheckOutBookingRequest) ProtoReflect

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

func (*CheckOutBookingRequest) Reset

func (x *CheckOutBookingRequest) Reset()

func (*CheckOutBookingRequest) String

func (x *CheckOutBookingRequest) String() string

type CheckOutBookingResponse

type CheckOutBookingResponse struct {
	// contains filtered or unexported fields
}

func (*CheckOutBookingResponse) Descriptor deprecated

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

Deprecated: Use CheckOutBookingResponse.ProtoReflect.Descriptor instead.

func (*CheckOutBookingResponse) ProtoMessage

func (*CheckOutBookingResponse) ProtoMessage()

func (*CheckOutBookingResponse) ProtoReflect

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

func (*CheckOutBookingResponse) Reset

func (x *CheckOutBookingResponse) Reset()

func (*CheckOutBookingResponse) String

func (x *CheckOutBookingResponse) String() string

type Child

type Child struct {

	// Name is the Smart Core name for this child device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Traits lists the traits this child implements.
	Traits []*Trait `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"`
	// Parent is the name of this child's direct parent.
	// If absent this is the name of the device in the children request.
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

Child is a member of a parent.

func (*Child) Descriptor deprecated

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

Deprecated: Use Child.ProtoReflect.Descriptor instead.

func (*Child) GetName

func (x *Child) GetName() string

func (*Child) GetParent

func (x *Child) GetParent() string

func (*Child) GetTraits

func (x *Child) GetTraits() []*Trait

func (*Child) ProtoMessage

func (*Child) ProtoMessage()

func (*Child) ProtoReflect

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

func (*Child) Reset

func (x *Child) Reset()

func (*Child) String

func (x *Child) String() string

type ChooseChannelRequest

type ChooseChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The channel to select. Must contain either id or number.
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

ChooseChannelRequest describes which channel to select.

func (*ChooseChannelRequest) Descriptor deprecated

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

Deprecated: Use ChooseChannelRequest.ProtoReflect.Descriptor instead.

func (*ChooseChannelRequest) GetChannel

func (x *ChooseChannelRequest) GetChannel() *Channel

func (*ChooseChannelRequest) GetName

func (x *ChooseChannelRequest) GetName() string

func (*ChooseChannelRequest) ProtoMessage

func (*ChooseChannelRequest) ProtoMessage()

func (*ChooseChannelRequest) ProtoReflect

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

func (*ChooseChannelRequest) Reset

func (x *ChooseChannelRequest) Reset()

func (*ChooseChannelRequest) String

func (x *ChooseChannelRequest) String() string

type ChosenChannelSupport

type ChosenChannelSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// The max number of channels away from the current that are supported when adjusting channels. Defaults to 1.
	AdjustMax int32 `protobuf:"varint,2,opt,name=adjust_max,json=adjustMax,proto3" json:"adjust_max,omitempty"` // todo: support for [choose,adjust,return], not sure what the defaults should be
	// contains filtered or unexported fields
}

ChosenChannelSupport describes the capabilities of devices implementing this trait

func (*ChosenChannelSupport) Descriptor deprecated

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

Deprecated: Use ChosenChannelSupport.ProtoReflect.Descriptor instead.

func (*ChosenChannelSupport) GetAdjustMax

func (x *ChosenChannelSupport) GetAdjustMax() int32

func (*ChosenChannelSupport) GetResourceSupport

func (x *ChosenChannelSupport) GetResourceSupport() *types.ResourceSupport

func (*ChosenChannelSupport) ProtoMessage

func (*ChosenChannelSupport) ProtoMessage()

func (*ChosenChannelSupport) ProtoReflect

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

func (*ChosenChannelSupport) Reset

func (x *ChosenChannelSupport) Reset()

func (*ChosenChannelSupport) String

func (x *ChosenChannelSupport) String() string

type ClearActiveModeRequest

type ClearActiveModeRequest struct {

	// Name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearActiveModeRequest) Descriptor deprecated

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

Deprecated: Use ClearActiveModeRequest.ProtoReflect.Descriptor instead.

func (*ClearActiveModeRequest) GetName

func (x *ClearActiveModeRequest) GetName() string

func (*ClearActiveModeRequest) ProtoMessage

func (*ClearActiveModeRequest) ProtoMessage()

func (*ClearActiveModeRequest) ProtoReflect

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

func (*ClearActiveModeRequest) Reset

func (x *ClearActiveModeRequest) Reset()

func (*ClearActiveModeRequest) String

func (x *ClearActiveModeRequest) String() string

type Consumable

type Consumable struct {

	// A name that can be used to uniquely refer to this consumable in the device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The available portions that this consumable can be dispensed in.
	AvailablePortions []*Consumable_Portion `protobuf:"bytes,2,rep,name=available_portions,json=availablePortions,proto3" json:"available_portions,omitempty"`
	// The portion that will be dispensed if not specified as part of the request.
	DefaultPortion *Consumable_Quantity `protobuf:"bytes,3,opt,name=default_portion,json=defaultPortion,proto3" json:"default_portion,omitempty"`
	// An official title for this item.
	Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
	// A recognisable display name for this item.
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A picture of the item.
	Picture *types.Image `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"`
	// A url that resolves to more information on this item.
	Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"`
	// IDs holds external consumable ids.
	// For example this might hold an id representing an Amazon Dash button product code.
	// The map key should uniquely represent the domain for the id, for example "amazon.com/dash", the use of uris is not
	// required, values should be the id of this consumable in that domain, for example "sma81r6t1c5o3r58e1-3r8u16l1es".
	Ids map[string]string `` /* 149-byte string literal not displayed */
	// Additional properties associated with the consumable.
	// Typically displayed to a user to help them to distinguish between similar consumables.
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Consumable describes some item that can be dispensed from a vending device. Noticeable variations, so far as someone might want to choose between two consumables, should be modelled as separate consumable instances. For example red or green apples, large or regular drinks.

func (*Consumable) Descriptor deprecated

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

Deprecated: Use Consumable.ProtoReflect.Descriptor instead.

func (*Consumable) GetAvailablePortions

func (x *Consumable) GetAvailablePortions() []*Consumable_Portion

func (*Consumable) GetDefaultPortion

func (x *Consumable) GetDefaultPortion() *Consumable_Quantity

func (*Consumable) GetDisplayName

func (x *Consumable) GetDisplayName() string

func (*Consumable) GetIds

func (x *Consumable) GetIds() map[string]string

func (*Consumable) GetMore

func (x *Consumable) GetMore() map[string]string

func (*Consumable) GetName

func (x *Consumable) GetName() string

func (*Consumable) GetPicture

func (x *Consumable) GetPicture() *types.Image

func (*Consumable) GetTitle

func (x *Consumable) GetTitle() string

func (*Consumable) GetUrl

func (x *Consumable) GetUrl() string

func (*Consumable) ProtoMessage

func (*Consumable) ProtoMessage()

func (*Consumable) ProtoReflect

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

func (*Consumable) Reset

func (x *Consumable) Reset()

func (*Consumable) String

func (x *Consumable) String() string

type Consumable_Portion

type Consumable_Portion struct {

	// The unit the portion is measured in.
	Unit Consumable_Unit `protobuf:"varint,1,opt,name=unit,proto3,enum=smartcore.traits.Consumable_Unit" json:"unit,omitempty"`
	// Upper and lower bounds for the portion quantity.
	Bounds *types.FloatBounds `protobuf:"bytes,2,opt,name=bounds,proto3" json:"bounds,omitempty"`
	// The minimal increment for the portion quantity.
	Step float32 `protobuf:"fixed32,3,opt,name=step,proto3" json:"step,omitempty"`
	// contains filtered or unexported fields
}

Portion describes a possible consumption for this consumable. Portions are potential units to be dispensed, a device might support dispensing individual cups of water, in which case it would use `{unit:CUP, bounds:[1,1]}`. Alternatively a device might dispense sweets in chunks of 50g, and would describe this using `{unit:KILOGRAM, step:0.05}`. If the device had a safety feature to limit the sweets dispensed at one time it might also specify `bounds:[0.05, 5]`.

func (*Consumable_Portion) Descriptor deprecated

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

Deprecated: Use Consumable_Portion.ProtoReflect.Descriptor instead.

func (*Consumable_Portion) GetBounds

func (x *Consumable_Portion) GetBounds() *types.FloatBounds

func (*Consumable_Portion) GetStep

func (x *Consumable_Portion) GetStep() float32

func (*Consumable_Portion) GetUnit

func (x *Consumable_Portion) GetUnit() Consumable_Unit

func (*Consumable_Portion) ProtoMessage

func (*Consumable_Portion) ProtoMessage()

func (*Consumable_Portion) ProtoReflect

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

func (*Consumable_Portion) Reset

func (x *Consumable_Portion) Reset()

func (*Consumable_Portion) String

func (x *Consumable_Portion) String() string

type Consumable_Quantity

type Consumable_Quantity struct {
	Amount float32         `protobuf:"fixed32,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Unit   Consumable_Unit `protobuf:"varint,3,opt,name=unit,proto3,enum=smartcore.traits.Consumable_Unit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Quantity combines an amount and a unit.

func (*Consumable_Quantity) Descriptor deprecated

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

Deprecated: Use Consumable_Quantity.ProtoReflect.Descriptor instead.

func (*Consumable_Quantity) GetAmount

func (x *Consumable_Quantity) GetAmount() float32

func (*Consumable_Quantity) GetUnit

func (x *Consumable_Quantity) GetUnit() Consumable_Unit

func (*Consumable_Quantity) ProtoMessage

func (*Consumable_Quantity) ProtoMessage()

func (*Consumable_Quantity) ProtoReflect

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

func (*Consumable_Quantity) Reset

func (x *Consumable_Quantity) Reset()

func (*Consumable_Quantity) String

func (x *Consumable_Quantity) String() string

type Consumable_Stock

type Consumable_Stock struct {

	// The name of a consumable supported by this device.
	Consumable string `protobuf:"bytes,1,opt,name=consumable,proto3" json:"consumable,omitempty"`
	// How many/much of the consumable is remaining.
	// Optional.
	// If the consumable is currently dispensing, this should report how much is remaining after dispensing finishes.
	Remaining *Consumable_Quantity `protobuf:"bytes,2,opt,name=remaining,proto3" json:"remaining,omitempty"`
	// How many/much of the consumable has been used since the counter was last reset.
	// Optional.
	// Devices may reset the counter when the stock is filled, or may count for longer.
	// If the consumable is currently dispensing, this should report how much will be used after dispensing finishes.
	Used *Consumable_Quantity `protobuf:"bytes,3,opt,name=used,proto3" json:"used,omitempty"`
	// How many/much of the consumable was most recently dispensed.
	// If the consumable is currently dispensing, this should report the quantity it dispensed prior to the current
	// session.
	// Optional.
	LastDispensed *Consumable_Quantity `protobuf:"bytes,4,opt,name=last_dispensed,json=lastDispensed,proto3" json:"last_dispensed,omitempty"`
	// True if the consumable is currently being dispensed.
	Dispensing bool `protobuf:"varint,5,opt,name=dispensing,proto3" json:"dispensing,omitempty"`
	// contains filtered or unexported fields
}

Stock describes how much of a consumable is available.

func (*Consumable_Stock) Descriptor deprecated

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

Deprecated: Use Consumable_Stock.ProtoReflect.Descriptor instead.

func (*Consumable_Stock) GetConsumable

func (x *Consumable_Stock) GetConsumable() string

func (*Consumable_Stock) GetDispensing

func (x *Consumable_Stock) GetDispensing() bool

func (*Consumable_Stock) GetLastDispensed

func (x *Consumable_Stock) GetLastDispensed() *Consumable_Quantity

func (*Consumable_Stock) GetRemaining

func (x *Consumable_Stock) GetRemaining() *Consumable_Quantity

func (*Consumable_Stock) GetUsed

func (x *Consumable_Stock) GetUsed() *Consumable_Quantity

func (*Consumable_Stock) ProtoMessage

func (*Consumable_Stock) ProtoMessage()

func (*Consumable_Stock) ProtoReflect

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

func (*Consumable_Stock) Reset

func (x *Consumable_Stock) Reset()

func (*Consumable_Stock) String

func (x *Consumable_Stock) String() string

type Consumable_Unit

type Consumable_Unit int32

Unit defines different consumable units.

const (
	Consumable_UNIT_UNSPECIFIED Consumable_Unit = 0
	// There is no unit for this quantity, typically a count.
	Consumable_NO_UNIT Consumable_Unit = 1
	// The quantity is a length, in meters.
	Consumable_METER Consumable_Unit = 2
	// The quantity is a volume, in liters
	Consumable_LITER Consumable_Unit = 3
	// The quantity is a volume, in cubic meters.
	Consumable_CUBIC_METER Consumable_Unit = 4
	// The quantity is a portion, sized to fill a cup.
	Consumable_CUP Consumable_Unit = 5
	// The quantity is a mass, in kilograms.
	Consumable_KILOGRAM Consumable_Unit = 6
)

func (Consumable_Unit) Descriptor

func (Consumable_Unit) Enum

func (x Consumable_Unit) Enum() *Consumable_Unit

func (Consumable_Unit) EnumDescriptor deprecated

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

Deprecated: Use Consumable_Unit.Descriptor instead.

func (Consumable_Unit) Number

func (Consumable_Unit) String

func (x Consumable_Unit) String() string

func (Consumable_Unit) Type

type Count

type Count struct {

	// Total number of added items
	Added int32 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"`
	// Total number of removed items
	Removed int32 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"`
	// The time the counts were reset
	ResetTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"`
	// contains filtered or unexported fields
}

Count represents how many of a thing exist. The total measured count is added - removed. Some devices may adjust added up and down and leave removed at 0, some might increase both properties.

func (*Count) Descriptor deprecated

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

Deprecated: Use Count.ProtoReflect.Descriptor instead.

func (*Count) GetAdded

func (x *Count) GetAdded() int32

func (*Count) GetRemoved

func (x *Count) GetRemoved() int32

func (*Count) GetResetTime

func (x *Count) GetResetTime() *timestamppb.Timestamp

func (*Count) ProtoMessage

func (*Count) ProtoMessage()

func (*Count) ProtoReflect

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

func (*Count) Reset

func (x *Count) Reset()

func (*Count) String

func (x *Count) String() string

type CountApiClient

type CountApiClient interface {
	// Get the current count state
	GetCount(ctx context.Context, in *GetCountRequest, opts ...grpc.CallOption) (*Count, error)
	// Reset the counts to 0 and update the reset time.
	ResetCount(ctx context.Context, in *ResetCountRequest, opts ...grpc.CallOption) (*Count, error)
	// Update one or more properties of the count.
	UpdateCount(ctx context.Context, in *UpdateCountRequest, opts ...grpc.CallOption) (*Count, error)
	// Subscribe to changes to the count.
	PullCounts(ctx context.Context, in *PullCountsRequest, opts ...grpc.CallOption) (CountApi_PullCountsClient, error)
}

CountApiClient is the client API for CountApi 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.

func NewCountApiClient

func NewCountApiClient(cc grpc.ClientConnInterface) CountApiClient

type CountApiServer

type CountApiServer interface {
	// Get the current count state
	GetCount(context.Context, *GetCountRequest) (*Count, error)
	// Reset the counts to 0 and update the reset time.
	ResetCount(context.Context, *ResetCountRequest) (*Count, error)
	// Update one or more properties of the count.
	UpdateCount(context.Context, *UpdateCountRequest) (*Count, error)
	// Subscribe to changes to the count.
	PullCounts(*PullCountsRequest, CountApi_PullCountsServer) error
	// contains filtered or unexported methods
}

CountApiServer is the server API for CountApi service. All implementations must embed UnimplementedCountApiServer for forward compatibility

type CountApi_PullCountsClient

type CountApi_PullCountsClient interface {
	Recv() (*PullCountsResponse, error)
	grpc.ClientStream
}

type CountApi_PullCountsServer

type CountApi_PullCountsServer interface {
	Send(*PullCountsResponse) error
	grpc.ServerStream
}

type CountInfoClient

type CountInfoClient interface {
	// Get information about how a named device implements Count features
	DescribeCount(ctx context.Context, in *DescribeCountRequest, opts ...grpc.CallOption) (*CountSupport, error)
}

CountInfoClient is the client API for CountInfo 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.

func NewCountInfoClient

func NewCountInfoClient(cc grpc.ClientConnInterface) CountInfoClient

type CountInfoServer

type CountInfoServer interface {
	// Get information about how a named device implements Count features
	DescribeCount(context.Context, *DescribeCountRequest) (*CountSupport, error)
	// contains filtered or unexported methods
}

CountInfoServer is the server API for CountInfo service. All implementations must embed UnimplementedCountInfoServer for forward compatibility

type CountSupport

type CountSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Two way counters count additions and removals separately. Do NOT use this as a way to ignore the Count.removed
	// property, the total count is always added - removed.
	TwoWay bool `protobuf:"varint,2,opt,name=two_way,json=twoWay,proto3" json:"two_way,omitempty"`
	// Does the api support resetting the count timer.
	SupportsReset bool `protobuf:"varint,3,opt,name=supports_reset,json=supportsReset,proto3" json:"supports_reset,omitempty"`
	// When updating the count does this device support the delta property
	SupportsDelta bool `protobuf:"varint,4,opt,name=supports_delta,json=supportsDelta,proto3" json:"supports_delta,omitempty"`
	// contains filtered or unexported fields
}

CountSupport describes the capabilities of devices implementing this trait

func (*CountSupport) Descriptor deprecated

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

Deprecated: Use CountSupport.ProtoReflect.Descriptor instead.

func (*CountSupport) GetResourceSupport

func (x *CountSupport) GetResourceSupport() *types.ResourceSupport

func (*CountSupport) GetSupportsDelta

func (x *CountSupport) GetSupportsDelta() bool

func (*CountSupport) GetSupportsReset

func (x *CountSupport) GetSupportsReset() bool

func (*CountSupport) GetTwoWay

func (x *CountSupport) GetTwoWay() bool

func (*CountSupport) ProtoMessage

func (*CountSupport) ProtoMessage()

func (*CountSupport) ProtoReflect

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

func (*CountSupport) Reset

func (x *CountSupport) Reset()

func (*CountSupport) String

func (x *CountSupport) String() string

type CreateBookingRequest

type CreateBookingRequest struct {

	// The name of the bookable (e.g. the resource name)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the booking to add, the id field should not be set
	Booking *Booking `protobuf:"bytes,2,opt,name=booking,proto3" json:"booking,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBookingRequest) Descriptor deprecated

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

Deprecated: Use CreateBookingRequest.ProtoReflect.Descriptor instead.

func (*CreateBookingRequest) GetBooking

func (x *CreateBookingRequest) GetBooking() *Booking

func (*CreateBookingRequest) GetName

func (x *CreateBookingRequest) GetName() string

func (*CreateBookingRequest) ProtoMessage

func (*CreateBookingRequest) ProtoMessage()

func (*CreateBookingRequest) ProtoReflect

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

func (*CreateBookingRequest) Reset

func (x *CreateBookingRequest) Reset()

func (*CreateBookingRequest) String

func (x *CreateBookingRequest) String() string

type CreateBookingResponse

type CreateBookingResponse struct {

	// The created bookings' id
	BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBookingResponse) Descriptor deprecated

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

Deprecated: Use CreateBookingResponse.ProtoReflect.Descriptor instead.

func (*CreateBookingResponse) GetBookingId

func (x *CreateBookingResponse) GetBookingId() string

func (*CreateBookingResponse) ProtoMessage

func (*CreateBookingResponse) ProtoMessage()

func (*CreateBookingResponse) ProtoReflect

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

func (*CreateBookingResponse) Reset

func (x *CreateBookingResponse) Reset()

func (*CreateBookingResponse) String

func (x *CreateBookingResponse) String() string

type CreateExtensionPresetRequest

type CreateExtensionPresetRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The preset to store the position under
	Preset *ExtensionPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

A request to store the current position under a preset name

func (*CreateExtensionPresetRequest) Descriptor deprecated

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

Deprecated: Use CreateExtensionPresetRequest.ProtoReflect.Descriptor instead.

func (*CreateExtensionPresetRequest) GetName

func (x *CreateExtensionPresetRequest) GetName() string

func (*CreateExtensionPresetRequest) GetPreset

func (*CreateExtensionPresetRequest) ProtoMessage

func (*CreateExtensionPresetRequest) ProtoMessage()

func (*CreateExtensionPresetRequest) ProtoReflect

func (*CreateExtensionPresetRequest) Reset

func (x *CreateExtensionPresetRequest) Reset()

func (*CreateExtensionPresetRequest) String

type CreateHailRequest

type CreateHailRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Hail *Hail  `protobuf:"bytes,2,opt,name=hail,proto3" json:"hail,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHailRequest) Descriptor deprecated

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

Deprecated: Use CreateHailRequest.ProtoReflect.Descriptor instead.

func (*CreateHailRequest) GetHail

func (x *CreateHailRequest) GetHail() *Hail

func (*CreateHailRequest) GetName

func (x *CreateHailRequest) GetName() string

func (*CreateHailRequest) ProtoMessage

func (*CreateHailRequest) ProtoMessage()

func (*CreateHailRequest) ProtoReflect

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

func (*CreateHailRequest) Reset

func (x *CreateHailRequest) Reset()

func (*CreateHailRequest) String

func (x *CreateHailRequest) String() string

type CreatePtzPresetRequest

type CreatePtzPresetRequest struct {

	// the name of the device to update the state of
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Details for the preset
	Preset *PtzPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePtzPresetRequest) Descriptor deprecated

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

Deprecated: Use CreatePtzPresetRequest.ProtoReflect.Descriptor instead.

func (*CreatePtzPresetRequest) GetName

func (x *CreatePtzPresetRequest) GetName() string

func (*CreatePtzPresetRequest) GetPreset

func (x *CreatePtzPresetRequest) GetPreset() *PtzPreset

func (*CreatePtzPresetRequest) ProtoMessage

func (*CreatePtzPresetRequest) ProtoMessage()

func (*CreatePtzPresetRequest) ProtoReflect

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

func (*CreatePtzPresetRequest) Reset

func (x *CreatePtzPresetRequest) Reset()

func (*CreatePtzPresetRequest) String

func (x *CreatePtzPresetRequest) String() string

type CreatePublicationRequest

type CreatePublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The publication data to seed
	Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePublicationRequest) Descriptor deprecated

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

Deprecated: Use CreatePublicationRequest.ProtoReflect.Descriptor instead.

func (*CreatePublicationRequest) GetName

func (x *CreatePublicationRequest) GetName() string

func (*CreatePublicationRequest) GetPublication

func (x *CreatePublicationRequest) GetPublication() *Publication

func (*CreatePublicationRequest) ProtoMessage

func (*CreatePublicationRequest) ProtoMessage()

func (*CreatePublicationRequest) ProtoReflect

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

func (*CreatePublicationRequest) Reset

func (x *CreatePublicationRequest) Reset()

func (*CreatePublicationRequest) String

func (x *CreatePublicationRequest) String() string

type DeleteHailRequest

type DeleteHailRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the hail
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// If true, no error is returned if a hail with the given id can't be found.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteHailRequest) Descriptor deprecated

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

Deprecated: Use DeleteHailRequest.ProtoReflect.Descriptor instead.

func (*DeleteHailRequest) GetAllowMissing

func (x *DeleteHailRequest) GetAllowMissing() bool

func (*DeleteHailRequest) GetId

func (x *DeleteHailRequest) GetId() string

func (*DeleteHailRequest) GetName

func (x *DeleteHailRequest) GetName() string

func (*DeleteHailRequest) ProtoMessage

func (*DeleteHailRequest) ProtoMessage()

func (*DeleteHailRequest) ProtoReflect

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

func (*DeleteHailRequest) Reset

func (x *DeleteHailRequest) Reset()

func (*DeleteHailRequest) String

func (x *DeleteHailRequest) String() string

type DeleteHailResponse

type DeleteHailResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteHailResponse) Descriptor deprecated

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

Deprecated: Use DeleteHailResponse.ProtoReflect.Descriptor instead.

func (*DeleteHailResponse) ProtoMessage

func (*DeleteHailResponse) ProtoMessage()

func (*DeleteHailResponse) ProtoReflect

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

func (*DeleteHailResponse) Reset

func (x *DeleteHailResponse) Reset()

func (*DeleteHailResponse) String

func (x *DeleteHailResponse) String() string

type DeletePublicationRequest

type DeletePublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The publication id.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// If present, the delete will fail if the version on the server does not match this version.
	// Populate with the latest known version on the client to avoid concurrent updates overriding each other
	// transparently.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// If set to true, and no publication with the given id exists, the request will succeed but no action will
	// be taken.
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePublicationRequest) Descriptor deprecated

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

Deprecated: Use DeletePublicationRequest.ProtoReflect.Descriptor instead.

func (*DeletePublicationRequest) GetAllowMissing

func (x *DeletePublicationRequest) GetAllowMissing() bool

func (*DeletePublicationRequest) GetId

func (x *DeletePublicationRequest) GetId() string

func (*DeletePublicationRequest) GetName

func (x *DeletePublicationRequest) GetName() string

func (*DeletePublicationRequest) GetVersion

func (x *DeletePublicationRequest) GetVersion() string

func (*DeletePublicationRequest) ProtoMessage

func (*DeletePublicationRequest) ProtoMessage()

func (*DeletePublicationRequest) ProtoReflect

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

func (*DeletePublicationRequest) Reset

func (x *DeletePublicationRequest) Reset()

func (*DeletePublicationRequest) String

func (x *DeletePublicationRequest) String() string

type DescribeAirQualityRequest

type DescribeAirQualityRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAirQualityRequest) Descriptor deprecated

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

Deprecated: Use DescribeAirQualityRequest.ProtoReflect.Descriptor instead.

func (*DescribeAirQualityRequest) GetName

func (x *DescribeAirQualityRequest) GetName() string

func (*DescribeAirQualityRequest) ProtoMessage

func (*DescribeAirQualityRequest) ProtoMessage()

func (*DescribeAirQualityRequest) ProtoReflect

func (*DescribeAirQualityRequest) Reset

func (x *DescribeAirQualityRequest) Reset()

func (*DescribeAirQualityRequest) String

func (x *DescribeAirQualityRequest) String() string

type DescribeAirTemperatureRequest

type DescribeAirTemperatureRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAirTemperatureRequest) Descriptor deprecated

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

Deprecated: Use DescribeAirTemperatureRequest.ProtoReflect.Descriptor instead.

func (*DescribeAirTemperatureRequest) GetName

func (*DescribeAirTemperatureRequest) ProtoMessage

func (*DescribeAirTemperatureRequest) ProtoMessage()

func (*DescribeAirTemperatureRequest) ProtoReflect

func (*DescribeAirTemperatureRequest) Reset

func (x *DescribeAirTemperatureRequest) Reset()

func (*DescribeAirTemperatureRequest) String

type DescribeAmbientBrightnessRequest

type DescribeAmbientBrightnessRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAmbientBrightnessRequest) Descriptor deprecated

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

Deprecated: Use DescribeAmbientBrightnessRequest.ProtoReflect.Descriptor instead.

func (*DescribeAmbientBrightnessRequest) GetName

func (*DescribeAmbientBrightnessRequest) ProtoMessage

func (*DescribeAmbientBrightnessRequest) ProtoMessage()

func (*DescribeAmbientBrightnessRequest) ProtoReflect

func (*DescribeAmbientBrightnessRequest) Reset

func (*DescribeAmbientBrightnessRequest) String

type DescribeBookingRequest

type DescribeBookingRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeBookingRequest) Descriptor deprecated

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

Deprecated: Use DescribeBookingRequest.ProtoReflect.Descriptor instead.

func (*DescribeBookingRequest) GetName

func (x *DescribeBookingRequest) GetName() string

func (*DescribeBookingRequest) ProtoMessage

func (*DescribeBookingRequest) ProtoMessage()

func (*DescribeBookingRequest) ProtoReflect

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

func (*DescribeBookingRequest) Reset

func (x *DescribeBookingRequest) Reset()

func (*DescribeBookingRequest) String

func (x *DescribeBookingRequest) String() string

type DescribeBrightnessRequest

type DescribeBrightnessRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeBrightnessRequest) Descriptor deprecated

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

Deprecated: Use DescribeBrightnessRequest.ProtoReflect.Descriptor instead.

func (*DescribeBrightnessRequest) GetName

func (x *DescribeBrightnessRequest) GetName() string

func (*DescribeBrightnessRequest) ProtoMessage

func (*DescribeBrightnessRequest) ProtoMessage()

func (*DescribeBrightnessRequest) ProtoReflect

func (*DescribeBrightnessRequest) Reset

func (x *DescribeBrightnessRequest) Reset()

func (*DescribeBrightnessRequest) String

func (x *DescribeBrightnessRequest) String() string

type DescribeChosenChannelRequest

type DescribeChosenChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeChosenChannelRequest) Descriptor deprecated

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

Deprecated: Use DescribeChosenChannelRequest.ProtoReflect.Descriptor instead.

func (*DescribeChosenChannelRequest) GetName

func (x *DescribeChosenChannelRequest) GetName() string

func (*DescribeChosenChannelRequest) ProtoMessage

func (*DescribeChosenChannelRequest) ProtoMessage()

func (*DescribeChosenChannelRequest) ProtoReflect

func (*DescribeChosenChannelRequest) Reset

func (x *DescribeChosenChannelRequest) Reset()

func (*DescribeChosenChannelRequest) String

type DescribeCountRequest

type DescribeCountRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeCountRequest) Descriptor deprecated

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

Deprecated: Use DescribeCountRequest.ProtoReflect.Descriptor instead.

func (*DescribeCountRequest) GetName

func (x *DescribeCountRequest) GetName() string

func (*DescribeCountRequest) ProtoMessage

func (*DescribeCountRequest) ProtoMessage()

func (*DescribeCountRequest) ProtoReflect

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

func (*DescribeCountRequest) Reset

func (x *DescribeCountRequest) Reset()

func (*DescribeCountRequest) String

func (x *DescribeCountRequest) String() string

type DescribeEmergencyRequest

type DescribeEmergencyRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeEmergencyRequest) Descriptor deprecated

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

Deprecated: Use DescribeEmergencyRequest.ProtoReflect.Descriptor instead.

func (*DescribeEmergencyRequest) GetName

func (x *DescribeEmergencyRequest) GetName() string

func (*DescribeEmergencyRequest) ProtoMessage

func (*DescribeEmergencyRequest) ProtoMessage()

func (*DescribeEmergencyRequest) ProtoReflect

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

func (*DescribeEmergencyRequest) Reset

func (x *DescribeEmergencyRequest) Reset()

func (*DescribeEmergencyRequest) String

func (x *DescribeEmergencyRequest) String() string

type DescribeEnergyLevelRequest

type DescribeEnergyLevelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeEnergyLevelRequest) Descriptor deprecated

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

Deprecated: Use DescribeEnergyLevelRequest.ProtoReflect.Descriptor instead.

func (*DescribeEnergyLevelRequest) GetName

func (x *DescribeEnergyLevelRequest) GetName() string

func (*DescribeEnergyLevelRequest) ProtoMessage

func (*DescribeEnergyLevelRequest) ProtoMessage()

func (*DescribeEnergyLevelRequest) ProtoReflect

func (*DescribeEnergyLevelRequest) Reset

func (x *DescribeEnergyLevelRequest) Reset()

func (*DescribeEnergyLevelRequest) String

func (x *DescribeEnergyLevelRequest) String() string

type DescribeExtensionRequest

type DescribeExtensionRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeExtensionRequest) Descriptor deprecated

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

Deprecated: Use DescribeExtensionRequest.ProtoReflect.Descriptor instead.

func (*DescribeExtensionRequest) GetName

func (x *DescribeExtensionRequest) GetName() string

func (*DescribeExtensionRequest) ProtoMessage

func (*DescribeExtensionRequest) ProtoMessage()

func (*DescribeExtensionRequest) ProtoReflect

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

func (*DescribeExtensionRequest) Reset

func (x *DescribeExtensionRequest) Reset()

func (*DescribeExtensionRequest) String

func (x *DescribeExtensionRequest) String() string

type DescribeFanSpeedRequest

type DescribeFanSpeedRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeFanSpeedRequest) Descriptor deprecated

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

Deprecated: Use DescribeFanSpeedRequest.ProtoReflect.Descriptor instead.

func (*DescribeFanSpeedRequest) GetName

func (x *DescribeFanSpeedRequest) GetName() string

func (*DescribeFanSpeedRequest) ProtoMessage

func (*DescribeFanSpeedRequest) ProtoMessage()

func (*DescribeFanSpeedRequest) ProtoReflect

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

func (*DescribeFanSpeedRequest) Reset

func (x *DescribeFanSpeedRequest) Reset()

func (*DescribeFanSpeedRequest) String

func (x *DescribeFanSpeedRequest) String() string

type DescribeGainRequest

type DescribeGainRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeGainRequest) Descriptor deprecated

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

Deprecated: Use DescribeGainRequest.ProtoReflect.Descriptor instead.

func (*DescribeGainRequest) GetName

func (x *DescribeGainRequest) GetName() string

func (*DescribeGainRequest) ProtoMessage

func (*DescribeGainRequest) ProtoMessage()

func (*DescribeGainRequest) ProtoReflect

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

func (*DescribeGainRequest) Reset

func (x *DescribeGainRequest) Reset()

func (*DescribeGainRequest) String

func (x *DescribeGainRequest) String() string

type DescribeInputRequest

type DescribeInputRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeInputRequest) Descriptor deprecated

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

Deprecated: Use DescribeInputRequest.ProtoReflect.Descriptor instead.

func (*DescribeInputRequest) GetName

func (x *DescribeInputRequest) GetName() string

func (*DescribeInputRequest) ProtoMessage

func (*DescribeInputRequest) ProtoMessage()

func (*DescribeInputRequest) ProtoReflect

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

func (*DescribeInputRequest) Reset

func (x *DescribeInputRequest) Reset()

func (*DescribeInputRequest) String

func (x *DescribeInputRequest) String() string

type DescribeModesRequest

type DescribeModesRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeModesRequest) Descriptor deprecated

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

Deprecated: Use DescribeModesRequest.ProtoReflect.Descriptor instead.

func (*DescribeModesRequest) GetName

func (x *DescribeModesRequest) GetName() string

func (*DescribeModesRequest) ProtoMessage

func (*DescribeModesRequest) ProtoMessage()

func (*DescribeModesRequest) ProtoReflect

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

func (*DescribeModesRequest) Reset

func (x *DescribeModesRequest) Reset()

func (*DescribeModesRequest) String

func (x *DescribeModesRequest) String() string

type DescribeMotionDetectionRequest

type DescribeMotionDetectionRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeMotionDetectionRequest) Descriptor deprecated

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

Deprecated: Use DescribeMotionDetectionRequest.ProtoReflect.Descriptor instead.

func (*DescribeMotionDetectionRequest) GetName

func (*DescribeMotionDetectionRequest) ProtoMessage

func (*DescribeMotionDetectionRequest) ProtoMessage()

func (*DescribeMotionDetectionRequest) ProtoReflect

func (*DescribeMotionDetectionRequest) Reset

func (x *DescribeMotionDetectionRequest) Reset()

func (*DescribeMotionDetectionRequest) String

type DescribeOccupancyRequest

type DescribeOccupancyRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOccupancyRequest) Descriptor deprecated

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

Deprecated: Use DescribeOccupancyRequest.ProtoReflect.Descriptor instead.

func (*DescribeOccupancyRequest) GetName

func (x *DescribeOccupancyRequest) GetName() string

func (*DescribeOccupancyRequest) ProtoMessage

func (*DescribeOccupancyRequest) ProtoMessage()

func (*DescribeOccupancyRequest) ProtoReflect

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

func (*DescribeOccupancyRequest) Reset

func (x *DescribeOccupancyRequest) Reset()

func (*DescribeOccupancyRequest) String

func (x *DescribeOccupancyRequest) String() string

type DescribeOnOffRequest

type DescribeOnOffRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeOnOffRequest) Descriptor deprecated

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

Deprecated: Use DescribeOnOffRequest.ProtoReflect.Descriptor instead.

func (*DescribeOnOffRequest) GetName

func (x *DescribeOnOffRequest) GetName() string

func (*DescribeOnOffRequest) ProtoMessage

func (*DescribeOnOffRequest) ProtoMessage()

func (*DescribeOnOffRequest) ProtoReflect

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

func (*DescribeOnOffRequest) Reset

func (x *DescribeOnOffRequest) Reset()

func (*DescribeOnOffRequest) String

func (x *DescribeOnOffRequest) String() string

type DescribePositionsRequest

type DescribePositionsRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePositionsRequest) Descriptor deprecated

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

Deprecated: Use DescribePositionsRequest.ProtoReflect.Descriptor instead.

func (*DescribePositionsRequest) GetName

func (x *DescribePositionsRequest) GetName() string

func (*DescribePositionsRequest) ProtoMessage

func (*DescribePositionsRequest) ProtoMessage()

func (*DescribePositionsRequest) ProtoReflect

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

func (*DescribePositionsRequest) Reset

func (x *DescribePositionsRequest) Reset()

func (*DescribePositionsRequest) String

func (x *DescribePositionsRequest) String() string

type DescribePtzRequest

type DescribePtzRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePtzRequest) Descriptor deprecated

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

Deprecated: Use DescribePtzRequest.ProtoReflect.Descriptor instead.

func (*DescribePtzRequest) GetName

func (x *DescribePtzRequest) GetName() string

func (*DescribePtzRequest) ProtoMessage

func (*DescribePtzRequest) ProtoMessage()

func (*DescribePtzRequest) ProtoReflect

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

func (*DescribePtzRequest) Reset

func (x *DescribePtzRequest) Reset()

func (*DescribePtzRequest) String

func (x *DescribePtzRequest) String() string

type DescribeVolumeRequest

type DescribeVolumeRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeVolumeRequest) Descriptor deprecated

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

Deprecated: Use DescribeVolumeRequest.ProtoReflect.Descriptor instead.

func (*DescribeVolumeRequest) GetName

func (x *DescribeVolumeRequest) GetName() string

func (*DescribeVolumeRequest) ProtoMessage

func (*DescribeVolumeRequest) ProtoMessage()

func (*DescribeVolumeRequest) ProtoReflect

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

func (*DescribeVolumeRequest) Reset

func (x *DescribeVolumeRequest) Reset()

func (*DescribeVolumeRequest) String

func (x *DescribeVolumeRequest) String() string

type DispenseRequest

type DispenseRequest struct {

	// Name of the device to invoke the action on
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the consumable to dispense the stock for.
	Consumable string `protobuf:"bytes,4,opt,name=consumable,proto3" json:"consumable,omitempty"`
	// The quantity of the consumable to dispense.
	Quantity *Consumable_Quantity `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Fields to update relative to the quantity property.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*DispenseRequest) Descriptor deprecated

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

Deprecated: Use DispenseRequest.ProtoReflect.Descriptor instead.

func (*DispenseRequest) GetConsumable

func (x *DispenseRequest) GetConsumable() string

func (*DispenseRequest) GetName

func (x *DispenseRequest) GetName() string

func (*DispenseRequest) GetQuantity

func (x *DispenseRequest) GetQuantity() *Consumable_Quantity

func (*DispenseRequest) GetUpdateMask

func (x *DispenseRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*DispenseRequest) ProtoMessage

func (*DispenseRequest) ProtoMessage()

func (*DispenseRequest) ProtoReflect

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

func (*DispenseRequest) Reset

func (x *DispenseRequest) Reset()

func (*DispenseRequest) String

func (x *DispenseRequest) String() string

type ElectricApiClient

type ElectricApiClient interface {
	// GetDemand returns the current electricity demand for the device.
	GetDemand(ctx context.Context, in *GetDemandRequest, opts ...grpc.CallOption) (*ElectricDemand, error)
	// PullDemand returns a stream of changes to the current electricity demand for the device.
	PullDemand(ctx context.Context, in *PullDemandRequest, opts ...grpc.CallOption) (ElectricApi_PullDemandClient, error)
	GetActiveMode(ctx context.Context, in *GetActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error)
	// Configure the device to use the given mode.
	// The id of the given mode should match a known mode for the device.
	UpdateActiveMode(ctx context.Context, in *UpdateActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error)
	// ClearActiveMode instructs the device to discard any external mode selection, typically by applying the normal
	// operation mode for the device.
	ClearActiveMode(ctx context.Context, in *ClearActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error)
	PullActiveMode(ctx context.Context, in *PullActiveModeRequest, opts ...grpc.CallOption) (ElectricApi_PullActiveModeClient, error)
	// ListModes lists all electric modes for a device
	ListModes(ctx context.Context, in *ListModesRequest, opts ...grpc.CallOption) (*ListModesResponse, error)
	// PullModes returns a stream of changes to the list of supported modes for the device.
	PullModes(ctx context.Context, in *PullModesRequest, opts ...grpc.CallOption) (ElectricApi_PullModesClient, error)
}

ElectricApiClient is the client API for ElectricApi 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 ElectricApiServer

type ElectricApiServer interface {
	// GetDemand returns the current electricity demand for the device.
	GetDemand(context.Context, *GetDemandRequest) (*ElectricDemand, error)
	// PullDemand returns a stream of changes to the current electricity demand for the device.
	PullDemand(*PullDemandRequest, ElectricApi_PullDemandServer) error
	GetActiveMode(context.Context, *GetActiveModeRequest) (*ElectricMode, error)
	// Configure the device to use the given mode.
	// The id of the given mode should match a known mode for the device.
	UpdateActiveMode(context.Context, *UpdateActiveModeRequest) (*ElectricMode, error)
	// ClearActiveMode instructs the device to discard any external mode selection, typically by applying the normal
	// operation mode for the device.
	ClearActiveMode(context.Context, *ClearActiveModeRequest) (*ElectricMode, error)
	PullActiveMode(*PullActiveModeRequest, ElectricApi_PullActiveModeServer) error
	// ListModes lists all electric modes for a device
	ListModes(context.Context, *ListModesRequest) (*ListModesResponse, error)
	// PullModes returns a stream of changes to the list of supported modes for the device.
	PullModes(*PullModesRequest, ElectricApi_PullModesServer) error
	// contains filtered or unexported methods
}

ElectricApiServer is the server API for ElectricApi service. All implementations must embed UnimplementedElectricApiServer for forward compatibility

type ElectricApi_PullActiveModeClient

type ElectricApi_PullActiveModeClient interface {
	Recv() (*PullActiveModeResponse, error)
	grpc.ClientStream
}

type ElectricApi_PullActiveModeServer

type ElectricApi_PullActiveModeServer interface {
	Send(*PullActiveModeResponse) error
	grpc.ServerStream
}

type ElectricApi_PullDemandClient

type ElectricApi_PullDemandClient interface {
	Recv() (*PullDemandResponse, error)
	grpc.ClientStream
}

type ElectricApi_PullDemandServer

type ElectricApi_PullDemandServer interface {
	Send(*PullDemandResponse) error
	grpc.ServerStream
}

type ElectricApi_PullModesClient

type ElectricApi_PullModesClient interface {
	Recv() (*PullModesResponse, error)
	grpc.ClientStream
}

type ElectricApi_PullModesServer

type ElectricApi_PullModesServer interface {
	Send(*PullModesResponse) error
	grpc.ServerStream
}

type ElectricDemand

type ElectricDemand struct {

	// A measure of how much electric current is currently being used.
	// In amps.
	Current float32 `protobuf:"fixed32,1,opt,name=current,proto3" json:"current,omitempty"`
	// The voltage level of the device.
	// In volts.
	Voltage *float32 `protobuf:"fixed32,2,opt,name=voltage,proto3,oneof" json:"voltage,omitempty"`
	// The maximum current that the device can handle under normal operation.
	// In amps.
	// Zero means absent, not 0 amps.
	Rating float32 `protobuf:"fixed32,3,opt,name=rating,proto3" json:"rating,omitempty"`
	// The power factor of the device.
	// Use this to convert VA (apparent power) to W (real power).
	PowerFactor *float32 `protobuf:"fixed32,4,opt,name=power_factor,json=powerFactor,proto3,oneof" json:"power_factor,omitempty"`
	// The real power of the device.
	// In watts.
	// The product of current * voltage * power_factor, though might be different depending on measured values.
	RealPower *float32 `protobuf:"fixed32,5,opt,name=real_power,json=realPower,proto3,oneof" json:"real_power,omitempty"`
	// The apparent power of the device.
	// In volt-amps.
	// The product of current * voltage, though might be different depending on measured values.
	ApparentPower *float32 `protobuf:"fixed32,6,opt,name=apparent_power,json=apparentPower,proto3,oneof" json:"apparent_power,omitempty"`
	// The reactive power of the device.
	// In volt-amps reactive.
	ReactivePower *float32 `protobuf:"fixed32,7,opt,name=reactive_power,json=reactivePower,proto3,oneof" json:"reactive_power,omitempty"`
	// contains filtered or unexported fields
}

ElectricDemand describes how much power is being used by the device.

func (*ElectricDemand) Descriptor deprecated

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

Deprecated: Use ElectricDemand.ProtoReflect.Descriptor instead.

func (*ElectricDemand) GetApparentPower

func (x *ElectricDemand) GetApparentPower() float32

func (*ElectricDemand) GetCurrent

func (x *ElectricDemand) GetCurrent() float32

func (*ElectricDemand) GetPowerFactor

func (x *ElectricDemand) GetPowerFactor() float32

func (*ElectricDemand) GetRating

func (x *ElectricDemand) GetRating() float32

func (*ElectricDemand) GetReactivePower

func (x *ElectricDemand) GetReactivePower() float32

func (*ElectricDemand) GetRealPower

func (x *ElectricDemand) GetRealPower() float32

func (*ElectricDemand) GetVoltage

func (x *ElectricDemand) GetVoltage() float32

func (*ElectricDemand) ProtoMessage

func (*ElectricDemand) ProtoMessage()

func (*ElectricDemand) ProtoReflect

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

func (*ElectricDemand) Reset

func (x *ElectricDemand) Reset()

func (*ElectricDemand) String

func (x *ElectricDemand) String() string

type ElectricInfoClient

type ElectricInfoClient interface {
}

ElectricInfoClient is the client API for ElectricInfo 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 ElectricInfoServer

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

ElectricInfoServer is the server API for ElectricInfo service. All implementations must embed UnimplementedElectricInfoServer for forward compatibility

type ElectricMode

type ElectricMode struct {

	// ID uniquely identifies this mode in a device.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human readable name for this mode.
	// Output only.
	// Examples might include "Eco Mode", or "Smart Standby"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// A human readable description for this mode.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The voltage level of this mode.
	// In volts.
	// Zero means absent, not 0 volts.
	Voltage float32 `protobuf:"fixed32,4,opt,name=voltage,proto3" json:"voltage,omitempty"`
	// The time the modes information is relative to in server time.
	// When a client receives a mode with an absent start time it should use its own clock to create one, though this
	// may introduce skew depending on the difference between the server and client clocks.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// An ordered, continuous, non-empty, list of segments representing the power draw for this mode.
	// The first segment is relative to start_time, the second is relevant to the end of the first and so on.
	Segments []*ElectricMode_Segment `protobuf:"bytes,6,rep,name=segments,proto3" json:"segments,omitempty"`
	// When true this indicates that this mode is the normal / default operation mode for the device.
	// A device should have only one default mode.
	Normal bool `protobuf:"varint,7,opt,name=normal,proto3" json:"normal,omitempty"`
	// contains filtered or unexported fields
}

An ElectricMode represents one possible electrical mode of operation for the device. A device can potentially have multiple electrical modes, for example a TV might have Normal and Eco modes. The electric mode of the device gives details on how the device expects its electricity usage to be affected when in these modes.

func (*ElectricMode) Descriptor deprecated

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

Deprecated: Use ElectricMode.ProtoReflect.Descriptor instead.

func (*ElectricMode) GetDescription

func (x *ElectricMode) GetDescription() string

func (*ElectricMode) GetId

func (x *ElectricMode) GetId() string

func (*ElectricMode) GetNormal

func (x *ElectricMode) GetNormal() bool

func (*ElectricMode) GetSegments

func (x *ElectricMode) GetSegments() []*ElectricMode_Segment

func (*ElectricMode) GetStartTime

func (x *ElectricMode) GetStartTime() *timestamppb.Timestamp

func (*ElectricMode) GetTitle

func (x *ElectricMode) GetTitle() string

func (*ElectricMode) GetVoltage

func (x *ElectricMode) GetVoltage() float32

func (*ElectricMode) ProtoMessage

func (*ElectricMode) ProtoMessage()

func (*ElectricMode) ProtoReflect

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

func (*ElectricMode) Reset

func (x *ElectricMode) Reset()

func (*ElectricMode) String

func (x *ElectricMode) String() string

type ElectricMode_Segment

type ElectricMode_Segment struct {

	// The length of this mode segment.
	// An absent length means this segment lasts forever.
	// Only the last segment of a mode can have an absent length.
	Length *durationpb.Duration `protobuf:"bytes,1,opt,name=length,proto3" json:"length,omitempty"`
	// The maximum current that will be drawn by the device in this segment.
	// In amps. Required.
	// See the shape properties to determine a more accurate shape for the electrical demand.
	Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
	// The shape of the segment, useful as a more accurate data representation.
	// If none set assume fixed = magnitude.
	//
	// Types that are assignable to Shape:
	//
	//	*ElectricMode_Segment_Fixed
	Shape isElectricMode_Segment_Shape `protobuf_oneof:"shape"`
	// contains filtered or unexported fields
}

A Segment describes electrical properties for a slice of time.

func (*ElectricMode_Segment) Descriptor deprecated

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

Deprecated: Use ElectricMode_Segment.ProtoReflect.Descriptor instead.

func (*ElectricMode_Segment) GetFixed

func (x *ElectricMode_Segment) GetFixed() float32

func (*ElectricMode_Segment) GetLength

func (x *ElectricMode_Segment) GetLength() *durationpb.Duration

func (*ElectricMode_Segment) GetMagnitude

func (x *ElectricMode_Segment) GetMagnitude() float32

func (*ElectricMode_Segment) GetShape

func (m *ElectricMode_Segment) GetShape() isElectricMode_Segment_Shape

func (*ElectricMode_Segment) ProtoMessage

func (*ElectricMode_Segment) ProtoMessage()

func (*ElectricMode_Segment) ProtoReflect

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

func (*ElectricMode_Segment) Reset

func (x *ElectricMode_Segment) Reset()

func (*ElectricMode_Segment) String

func (x *ElectricMode_Segment) String() string

type ElectricMode_Segment_Fixed

type ElectricMode_Segment_Fixed struct {
	// Fixed represents a constant consumption for the length of this segment.
	// In amps.
	Fixed float32 `protobuf:"fixed32,3,opt,name=fixed,proto3,oneof"`
}

type Emergency

type Emergency struct {

	// The level of emergency that is active.
	Level Emergency_Level `protobuf:"varint,1,opt,name=level,proto3,enum=smartcore.traits.Emergency_Level" json:"level,omitempty"`
	// A textual description of the reason for the emergency. For example "Fire alarm triggered", "Excessive pressure"
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// The time the emergency level was changed. When writing and absent, and the level has changed, then server time will be used.
	LevelChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=level_change_time,json=levelChangeTime,proto3" json:"level_change_time,omitempty"`
	// Silent emergencies are ongoing but don't require continued or excessive user feedback.
	Silent bool `protobuf:"varint,4,opt,name=silent,proto3" json:"silent,omitempty"`
	// The emergency being fabricated, typically for testing.
	Drill bool `protobuf:"varint,5,opt,name=drill,proto3" json:"drill,omitempty"`
	// contains filtered or unexported fields
}

An emergency is a life threatening event.

func (*Emergency) Descriptor deprecated

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

Deprecated: Use Emergency.ProtoReflect.Descriptor instead.

func (*Emergency) GetDrill

func (x *Emergency) GetDrill() bool

func (*Emergency) GetLevel

func (x *Emergency) GetLevel() Emergency_Level

func (*Emergency) GetLevelChangeTime

func (x *Emergency) GetLevelChangeTime() *timestamppb.Timestamp

func (*Emergency) GetReason

func (x *Emergency) GetReason() string

func (*Emergency) GetSilent

func (x *Emergency) GetSilent() bool

func (*Emergency) ProtoMessage

func (*Emergency) ProtoMessage()

func (*Emergency) ProtoReflect

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

func (*Emergency) Reset

func (x *Emergency) Reset()

func (*Emergency) String

func (x *Emergency) String() string

type EmergencyApiClient

type EmergencyApiClient interface {
	// Get the current emergency state
	GetEmergency(ctx context.Context, in *GetEmergencyRequest, opts ...grpc.CallOption) (*Emergency, error)
	// Update the current emergency state
	UpdateEmergency(ctx context.Context, in *UpdateEmergencyRequest, opts ...grpc.CallOption) (*Emergency, error)
	// Be notified of changes to the emergency state
	PullEmergency(ctx context.Context, in *PullEmergencyRequest, opts ...grpc.CallOption) (EmergencyApi_PullEmergencyClient, error)
}

EmergencyApiClient is the client API for EmergencyApi 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 EmergencyApiServer

type EmergencyApiServer interface {
	// Get the current emergency state
	GetEmergency(context.Context, *GetEmergencyRequest) (*Emergency, error)
	// Update the current emergency state
	UpdateEmergency(context.Context, *UpdateEmergencyRequest) (*Emergency, error)
	// Be notified of changes to the emergency state
	PullEmergency(*PullEmergencyRequest, EmergencyApi_PullEmergencyServer) error
	// contains filtered or unexported methods
}

EmergencyApiServer is the server API for EmergencyApi service. All implementations must embed UnimplementedEmergencyApiServer for forward compatibility

type EmergencyApi_PullEmergencyClient

type EmergencyApi_PullEmergencyClient interface {
	Recv() (*PullEmergencyResponse, error)
	grpc.ClientStream
}

type EmergencyApi_PullEmergencyServer

type EmergencyApi_PullEmergencyServer interface {
	Send(*PullEmergencyResponse) error
	grpc.ServerStream
}

type EmergencyInfoClient

type EmergencyInfoClient interface {
	// Get information about how a named device implements Emergency features
	DescribeEmergency(ctx context.Context, in *DescribeEmergencyRequest, opts ...grpc.CallOption) (*EmergencySupport, error)
}

EmergencyInfoClient is the client API for EmergencyInfo 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 EmergencyInfoServer

type EmergencyInfoServer interface {
	// Get information about how a named device implements Emergency features
	DescribeEmergency(context.Context, *DescribeEmergencyRequest) (*EmergencySupport, error)
	// contains filtered or unexported methods
}

EmergencyInfoServer is the server API for EmergencyInfo service. All implementations must embed UnimplementedEmergencyInfoServer for forward compatibility

type EmergencySupport

type EmergencySupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// contains filtered or unexported fields
}

EmergencySupport describes the capabilities of devices implementing this trait

func (*EmergencySupport) Descriptor deprecated

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

Deprecated: Use EmergencySupport.ProtoReflect.Descriptor instead.

func (*EmergencySupport) GetResourceSupport

func (x *EmergencySupport) GetResourceSupport() *types.ResourceSupport

func (*EmergencySupport) ProtoMessage

func (*EmergencySupport) ProtoMessage()

func (*EmergencySupport) ProtoReflect

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

func (*EmergencySupport) Reset

func (x *EmergencySupport) Reset()

func (*EmergencySupport) String

func (x *EmergencySupport) String() string

type Emergency_Level

type Emergency_Level int32

Levels of emergency

const (
	// The level is unknown, applications may choose to be cautious or care-free with this lack of information.
	Emergency_LEVEL_UNSPECIFIED Emergency_Level = 0
	// There is no emergency.
	Emergency_OK Emergency_Level = 1
	// There is a chance of an emergency soon. This might be reported by a smoke detector that has detected some particles
	// but not enough to trigger the alarm yet.
	Emergency_WARNING Emergency_Level = 2
	// There is an emergency. Please protect yourself and follow emergency procedures.
	Emergency_EMERGENCY Emergency_Level = 3
)

func (Emergency_Level) Descriptor

func (Emergency_Level) Enum

func (x Emergency_Level) Enum() *Emergency_Level

func (Emergency_Level) EnumDescriptor deprecated

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

Deprecated: Use Emergency_Level.Descriptor instead.

func (Emergency_Level) Number

func (Emergency_Level) String

func (x Emergency_Level) String() string

func (Emergency_Level) Type

type EnergyLevel

type EnergyLevel struct {

	// Flow describes the direction of the flow of energy from the devices point of view.
	// If all fields are absent then we don't know how energy is flowing.
	//
	// Types that are assignable to Flow:
	//
	//	*EnergyLevel_Discharge
	//	*EnergyLevel_Charge
	//	*EnergyLevel_Idle
	Flow isEnergyLevel_Flow `protobuf_oneof:"flow"`
	// Quantity describes an absolute energy level using different units.
	Quantity *EnergyLevel_Quantity `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// Is the device plugged in.
	PluggedIn bool `protobuf:"varint,6,opt,name=plugged_in,json=pluggedIn,proto3" json:"plugged_in,omitempty"`
	// contains filtered or unexported fields
}

EnergyLevel describes properties related to the current and potential charge levels of the device.

func (*EnergyLevel) Descriptor deprecated

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

Deprecated: Use EnergyLevel.ProtoReflect.Descriptor instead.

func (*EnergyLevel) GetCharge

func (x *EnergyLevel) GetCharge() *EnergyLevel_Transfer

func (*EnergyLevel) GetDischarge

func (x *EnergyLevel) GetDischarge() *EnergyLevel_Transfer

func (*EnergyLevel) GetFlow

func (m *EnergyLevel) GetFlow() isEnergyLevel_Flow

func (*EnergyLevel) GetIdle

func (x *EnergyLevel) GetIdle() *EnergyLevel_Steady

func (*EnergyLevel) GetPluggedIn

func (x *EnergyLevel) GetPluggedIn() bool

func (*EnergyLevel) GetQuantity

func (x *EnergyLevel) GetQuantity() *EnergyLevel_Quantity

func (*EnergyLevel) ProtoMessage

func (*EnergyLevel) ProtoMessage()

func (*EnergyLevel) ProtoReflect

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

func (*EnergyLevel) Reset

func (x *EnergyLevel) Reset()

func (*EnergyLevel) String

func (x *EnergyLevel) String() string

type EnergyLevelSupport

type EnergyLevelSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// A true value indicates that the device can be recharged.
	// A rechargeable device should report charging and until_full where appropriate.
	Rechargeable bool `protobuf:"varint,2,opt,name=rechargeable,proto3" json:"rechargeable,omitempty"`
	// A description of how the charge status of the device can be changed.
	ChargeControl EnergyLevelSupport_ChargeControl `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

EnergyLevelSupport describes the capabilities of devices implementing this trait.

func (*EnergyLevelSupport) Descriptor deprecated

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

Deprecated: Use EnergyLevelSupport.ProtoReflect.Descriptor instead.

func (*EnergyLevelSupport) GetChargeControl

func (*EnergyLevelSupport) GetRechargeable

func (x *EnergyLevelSupport) GetRechargeable() bool

func (*EnergyLevelSupport) GetResourceSupport

func (x *EnergyLevelSupport) GetResourceSupport() *types.ResourceSupport

func (*EnergyLevelSupport) ProtoMessage

func (*EnergyLevelSupport) ProtoMessage()

func (*EnergyLevelSupport) ProtoReflect

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

func (*EnergyLevelSupport) Reset

func (x *EnergyLevelSupport) Reset()

func (*EnergyLevelSupport) String

func (x *EnergyLevelSupport) String() string

type EnergyLevelSupport_ChargeControl

type EnergyLevelSupport_ChargeControl int32
const (
	EnergyLevelSupport_CHARGE_CONTROL_UNSPECIFIED EnergyLevelSupport_ChargeControl = 0
	// Charge status cannot change.
	// Typically this is because the device is not rechargeable.
	EnergyLevelSupport_NONE EnergyLevelSupport_ChargeControl = 1
	// The device may change the charge status, calling Charge will not affect it and will return an error.
	EnergyLevelSupport_DEVICE EnergyLevelSupport_ChargeControl = 2
	// Calling Charge can change the charge status. The device will not change it on its own.
	EnergyLevelSupport_EXTERNAL EnergyLevelSupport_ChargeControl = 3
	// Both the device and calling Charge can change the charge status.
	EnergyLevelSupport_ALL EnergyLevelSupport_ChargeControl = 4
)

func (EnergyLevelSupport_ChargeControl) Descriptor

func (EnergyLevelSupport_ChargeControl) Enum

func (EnergyLevelSupport_ChargeControl) EnumDescriptor deprecated

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

Deprecated: Use EnergyLevelSupport_ChargeControl.Descriptor instead.

func (EnergyLevelSupport_ChargeControl) Number

func (EnergyLevelSupport_ChargeControl) String

func (EnergyLevelSupport_ChargeControl) Type

type EnergyLevel_Charge

type EnergyLevel_Charge struct {
	// Charge denotes that the device is currently increasing its energy level.
	// An empty transfer object is valid and says: this device is charging.
	Charge *EnergyLevel_Transfer `protobuf:"bytes,3,opt,name=charge,proto3,oneof"`
}

type EnergyLevel_Discharge

type EnergyLevel_Discharge struct {
	// Discharge denotes that the device is currently decreasing its energy level.
	// An empty transfer object is valid and says: this device is discharging.
	Discharge *EnergyLevel_Transfer `protobuf:"bytes,2,opt,name=discharge,proto3,oneof"`
}

type EnergyLevel_Idle

type EnergyLevel_Idle struct {
	// Idle denotes that the device is neither increasing or decreasing its energy level.
	Idle *EnergyLevel_Steady `protobuf:"bytes,4,opt,name=idle,proto3,oneof"`
}

type EnergyLevel_Quantity

type EnergyLevel_Quantity struct {
	Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // [0, 100]
	EnergyKwh  float32 `protobuf:"fixed32,2,opt,name=energy_kwh,json=energyKwh,proto3" json:"energy_kwh,omitempty"`
	// descriptive defines preset descriptive quantities for the energy level of the device.
	// Numeric values should be preferred if provided.
	Descriptive EnergyLevel_Quantity_Threshold `` /* 129-byte string literal not displayed */
	// A measure of how far the device can travel with its current energy level.
	DistanceKm float32 `protobuf:"fixed32,4,opt,name=distance_km,json=distanceKm,proto3" json:"distance_km,omitempty"`
	// contains filtered or unexported fields
}

Quantity describes an absolute energy level using different units.

func (*EnergyLevel_Quantity) Descriptor deprecated

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

Deprecated: Use EnergyLevel_Quantity.ProtoReflect.Descriptor instead.

func (*EnergyLevel_Quantity) GetDescriptive

func (*EnergyLevel_Quantity) GetDistanceKm

func (x *EnergyLevel_Quantity) GetDistanceKm() float32

func (*EnergyLevel_Quantity) GetEnergyKwh

func (x *EnergyLevel_Quantity) GetEnergyKwh() float32

func (*EnergyLevel_Quantity) GetPercentage

func (x *EnergyLevel_Quantity) GetPercentage() float32

func (*EnergyLevel_Quantity) ProtoMessage

func (*EnergyLevel_Quantity) ProtoMessage()

func (*EnergyLevel_Quantity) ProtoReflect

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

func (*EnergyLevel_Quantity) Reset

func (x *EnergyLevel_Quantity) Reset()

func (*EnergyLevel_Quantity) String

func (x *EnergyLevel_Quantity) String() string

type EnergyLevel_Quantity_Threshold

type EnergyLevel_Quantity_Threshold int32

Threshold defines preset descriptive quantities for the energy level of the device. Numeric values will be preferred if provided.

const (
	EnergyLevel_Quantity_THRESHOLD_UNSPECIFIED EnergyLevel_Quantity_Threshold = 0
	EnergyLevel_Quantity_CRITICALLY_LOW        EnergyLevel_Quantity_Threshold = 1
	EnergyLevel_Quantity_EMPTY                 EnergyLevel_Quantity_Threshold = 2
	EnergyLevel_Quantity_LOW                   EnergyLevel_Quantity_Threshold = 3
	EnergyLevel_Quantity_MEDIUM                EnergyLevel_Quantity_Threshold = 4
	EnergyLevel_Quantity_HIGH                  EnergyLevel_Quantity_Threshold = 5
	EnergyLevel_Quantity_FULL                  EnergyLevel_Quantity_Threshold = 7
	EnergyLevel_Quantity_CRITICALLY_HIGH       EnergyLevel_Quantity_Threshold = 8
)

func (EnergyLevel_Quantity_Threshold) Descriptor

func (EnergyLevel_Quantity_Threshold) Enum

func (EnergyLevel_Quantity_Threshold) EnumDescriptor deprecated

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

Deprecated: Use EnergyLevel_Quantity_Threshold.Descriptor instead.

func (EnergyLevel_Quantity_Threshold) Number

func (EnergyLevel_Quantity_Threshold) String

func (EnergyLevel_Quantity_Threshold) Type

type EnergyLevel_Steady

type EnergyLevel_Steady struct {
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

Steady describes a non-changing energy level.

func (*EnergyLevel_Steady) Descriptor deprecated

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

Deprecated: Use EnergyLevel_Steady.ProtoReflect.Descriptor instead.

func (*EnergyLevel_Steady) GetStartTime

func (x *EnergyLevel_Steady) GetStartTime() *timestamppb.Timestamp

func (*EnergyLevel_Steady) ProtoMessage

func (*EnergyLevel_Steady) ProtoMessage()

func (*EnergyLevel_Steady) ProtoReflect

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

func (*EnergyLevel_Steady) Reset

func (x *EnergyLevel_Steady) Reset()

func (*EnergyLevel_Steady) String

func (x *EnergyLevel_Steady) String() string

type EnergyLevel_Transfer

type EnergyLevel_Transfer struct {

	// Start time describes when this transfer started
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// How long until the transfer is complete.
	// Measured relative to the current time according to the devices clock.
	Time *durationpb.Duration `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// How many more kilometers need to be travelled before the transfer is complete.
	// For example when discharging, this might represent kilometers until the battery is empty.
	DistanceKm float32 `protobuf:"fixed32,3,opt,name=distance_km,json=distanceKm,proto3" json:"distance_km,omitempty"`
	// Speed describes relative transfer speed for the device.
	Speed EnergyLevel_Transfer_Speed `protobuf:"varint,4,opt,name=speed,proto3,enum=smartcore.traits.EnergyLevel_Transfer_Speed" json:"speed,omitempty"`
	// The planned end values for the transfer.
	// There is no guarantee that the transfer will reach these values, but they are useful for informational and
	// planning purposes.
	Target *EnergyLevel_Quantity `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Transfer describes how energy is being transferred, either into or out of the device. See discharge and charge for information on the direction of the transfer.

func (*EnergyLevel_Transfer) Descriptor deprecated

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

Deprecated: Use EnergyLevel_Transfer.ProtoReflect.Descriptor instead.

func (*EnergyLevel_Transfer) GetDistanceKm

func (x *EnergyLevel_Transfer) GetDistanceKm() float32

func (*EnergyLevel_Transfer) GetSpeed

func (*EnergyLevel_Transfer) GetStartTime

func (x *EnergyLevel_Transfer) GetStartTime() *timestamppb.Timestamp

func (*EnergyLevel_Transfer) GetTarget

func (*EnergyLevel_Transfer) GetTime

func (*EnergyLevel_Transfer) ProtoMessage

func (*EnergyLevel_Transfer) ProtoMessage()

func (*EnergyLevel_Transfer) ProtoReflect

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

func (*EnergyLevel_Transfer) Reset

func (x *EnergyLevel_Transfer) Reset()

func (*EnergyLevel_Transfer) String

func (x *EnergyLevel_Transfer) String() string

type EnergyLevel_Transfer_Speed

type EnergyLevel_Transfer_Speed int32

Speed defines descriptive relative energy transfer speeds for a device. Larger enum values will always be faster than smaller enum values.

Comparing two devices speeds is not defined, one device that is FAST and another that is SLOW does not guarantee that either device will transfer energy quicker than the other.

const (
	EnergyLevel_Transfer_SPEED_UNSPECIFIED EnergyLevel_Transfer_Speed = 0
	EnergyLevel_Transfer_EXTRA_SLOW        EnergyLevel_Transfer_Speed = 1
	EnergyLevel_Transfer_SLOW              EnergyLevel_Transfer_Speed = 2
	EnergyLevel_Transfer_NORMAL            EnergyLevel_Transfer_Speed = 3
	EnergyLevel_Transfer_FAST              EnergyLevel_Transfer_Speed = 4
	EnergyLevel_Transfer_EXTRA_FAST        EnergyLevel_Transfer_Speed = 5
)

func (EnergyLevel_Transfer_Speed) Descriptor

func (EnergyLevel_Transfer_Speed) Enum

func (EnergyLevel_Transfer_Speed) EnumDescriptor deprecated

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

Deprecated: Use EnergyLevel_Transfer_Speed.Descriptor instead.

func (EnergyLevel_Transfer_Speed) Number

func (EnergyLevel_Transfer_Speed) String

func (EnergyLevel_Transfer_Speed) Type

type EnergyStorageApiClient

type EnergyStorageApiClient interface {
	// GetEnergyLevel retrieves the current charge level and potential charge level for the device.
	GetEnergyLevel(ctx context.Context, in *GetEnergyLevelRequest, opts ...grpc.CallOption) (*EnergyLevel, error)
	// PullEnergyLevel subscribes to changes in energy level.
	PullEnergyLevel(ctx context.Context, in *PullEnergyLevelRequest, opts ...grpc.CallOption) (EnergyStorageApi_PullEnergyLevelClient, error)
	// Charge starts or stops the device charging.
	// If the device is not plugged in then this will return a FAILED_PRECONDITION error.
	// Devices may start or stop charging on their own.
	Charge(ctx context.Context, in *ChargeRequest, opts ...grpc.CallOption) (*ChargeResponse, error)
}

EnergyStorageApiClient is the client API for EnergyStorageApi 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 EnergyStorageApiServer

type EnergyStorageApiServer interface {
	// GetEnergyLevel retrieves the current charge level and potential charge level for the device.
	GetEnergyLevel(context.Context, *GetEnergyLevelRequest) (*EnergyLevel, error)
	// PullEnergyLevel subscribes to changes in energy level.
	PullEnergyLevel(*PullEnergyLevelRequest, EnergyStorageApi_PullEnergyLevelServer) error
	// Charge starts or stops the device charging.
	// If the device is not plugged in then this will return a FAILED_PRECONDITION error.
	// Devices may start or stop charging on their own.
	Charge(context.Context, *ChargeRequest) (*ChargeResponse, error)
	// contains filtered or unexported methods
}

EnergyStorageApiServer is the server API for EnergyStorageApi service. All implementations must embed UnimplementedEnergyStorageApiServer for forward compatibility

type EnergyStorageApi_PullEnergyLevelClient

type EnergyStorageApi_PullEnergyLevelClient interface {
	Recv() (*PullEnergyLevelResponse, error)
	grpc.ClientStream
}

type EnergyStorageApi_PullEnergyLevelServer

type EnergyStorageApi_PullEnergyLevelServer interface {
	Send(*PullEnergyLevelResponse) error
	grpc.ServerStream
}

type EnergyStorageInfoClient

type EnergyStorageInfoClient interface {
	// Get information about how a named device implements EnergyLevel features
	DescribeEnergyLevel(ctx context.Context, in *DescribeEnergyLevelRequest, opts ...grpc.CallOption) (*EnergyLevelSupport, error)
}

EnergyStorageInfoClient is the client API for EnergyStorageInfo 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 EnergyStorageInfoServer

type EnergyStorageInfoServer interface {
	// Get information about how a named device implements EnergyLevel features
	DescribeEnergyLevel(context.Context, *DescribeEnergyLevelRequest) (*EnergyLevelSupport, error)
	// contains filtered or unexported methods
}

EnergyStorageInfoServer is the server API for EnergyStorageInfo service. All implementations must embed UnimplementedEnergyStorageInfoServer for forward compatibility

type EnterLeaveEvent

type EnterLeaveEvent struct {

	// Direction describes in which direction movement was detected.
	Direction EnterLeaveEvent_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=smartcore.traits.EnterLeaveEvent_Direction" json:"direction,omitempty"`
	// Occupant describes the entity either entering or leaving.
	// Optional.
	Occupant *EnterLeaveEvent_Occupant `protobuf:"bytes,2,opt,name=occupant,proto3" json:"occupant,omitempty"`
	// Enter total, if present, indicates how many ENTER events have been recognised by the device.
	EnterTotal *int32 `protobuf:"varint,3,opt,name=enter_total,json=enterTotal,proto3,oneof" json:"enter_total,omitempty"`
	// Leave total, if present, indicates how many LEAVE events have been recognised by the device.
	LeaveTotal *int32 `protobuf:"varint,4,opt,name=leave_total,json=leaveTotal,proto3,oneof" json:"leave_total,omitempty"`
	// contains filtered or unexported fields
}

EnterLeaveEvent describes an enter or leave event, and optionally the entity that entered or left.

func (*EnterLeaveEvent) Descriptor deprecated

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

Deprecated: Use EnterLeaveEvent.ProtoReflect.Descriptor instead.

func (*EnterLeaveEvent) GetDirection

func (x *EnterLeaveEvent) GetDirection() EnterLeaveEvent_Direction

func (*EnterLeaveEvent) GetEnterTotal

func (x *EnterLeaveEvent) GetEnterTotal() int32

func (*EnterLeaveEvent) GetLeaveTotal

func (x *EnterLeaveEvent) GetLeaveTotal() int32

func (*EnterLeaveEvent) GetOccupant

func (x *EnterLeaveEvent) GetOccupant() *EnterLeaveEvent_Occupant

func (*EnterLeaveEvent) ProtoMessage

func (*EnterLeaveEvent) ProtoMessage()

func (*EnterLeaveEvent) ProtoReflect

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

func (*EnterLeaveEvent) Reset

func (x *EnterLeaveEvent) Reset()

func (*EnterLeaveEvent) String

func (x *EnterLeaveEvent) String() string

type EnterLeaveEvent_Direction

type EnterLeaveEvent_Direction int32

Possible directions.

const (
	EnterLeaveEvent_DIRECTION_UNSPECIFIED EnterLeaveEvent_Direction = 0
	// Something entered.
	EnterLeaveEvent_ENTER EnterLeaveEvent_Direction = 1
	// Something left.
	EnterLeaveEvent_LEAVE EnterLeaveEvent_Direction = 2
)

func (EnterLeaveEvent_Direction) Descriptor

func (EnterLeaveEvent_Direction) Enum

func (EnterLeaveEvent_Direction) EnumDescriptor deprecated

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

Deprecated: Use EnterLeaveEvent_Direction.Descriptor instead.

func (EnterLeaveEvent_Direction) Number

func (EnterLeaveEvent_Direction) String

func (x EnterLeaveEvent_Direction) String() string

func (EnterLeaveEvent_Direction) Type

type EnterLeaveEvent_Occupant

type EnterLeaveEvent_Occupant struct {

	// A unique name for this occupant as measured by the device.
	// Name allows correlation between enter and leave events.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An official title for this occupant.
	Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
	// A recognisable display name for this occupant.
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A picture of the occupant.
	Picture *types.Image `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"`
	// A url that resolves to more information on this occupant.
	Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"`
	// An email address for the occupant.
	Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"`
	// IDs holds external occupant ids.
	// For example this might hold an id representing a person in an access control system.
	// The map key should uniquely represent the domain for the id, for example "my-access-system/user-id", the use of uris is not
	// required, values should be the id of this consumable in that domain, for example "sma81r6t1c5o3r58e1-3r8u16l1es".
	Ids map[string]string `` /* 149-byte string literal not displayed */
	// Additional properties associated with the occupant.
	// Typically displayed to a user to help them to distinguish between similar occupants.
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

An Occupant is some entity that triggers the enter or leave event. It could be an object, like a car, or a person or animal.

func (*EnterLeaveEvent_Occupant) Descriptor deprecated

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

Deprecated: Use EnterLeaveEvent_Occupant.ProtoReflect.Descriptor instead.

func (*EnterLeaveEvent_Occupant) GetDisplayName

func (x *EnterLeaveEvent_Occupant) GetDisplayName() string

func (*EnterLeaveEvent_Occupant) GetEmail

func (x *EnterLeaveEvent_Occupant) GetEmail() string

func (*EnterLeaveEvent_Occupant) GetIds

func (x *EnterLeaveEvent_Occupant) GetIds() map[string]string

func (*EnterLeaveEvent_Occupant) GetMore

func (x *EnterLeaveEvent_Occupant) GetMore() map[string]string

func (*EnterLeaveEvent_Occupant) GetName

func (x *EnterLeaveEvent_Occupant) GetName() string

func (*EnterLeaveEvent_Occupant) GetPicture

func (x *EnterLeaveEvent_Occupant) GetPicture() *types.Image

func (*EnterLeaveEvent_Occupant) GetTitle

func (x *EnterLeaveEvent_Occupant) GetTitle() string

func (*EnterLeaveEvent_Occupant) GetUrl

func (x *EnterLeaveEvent_Occupant) GetUrl() string

func (*EnterLeaveEvent_Occupant) ProtoMessage

func (*EnterLeaveEvent_Occupant) ProtoMessage()

func (*EnterLeaveEvent_Occupant) ProtoReflect

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

func (*EnterLeaveEvent_Occupant) Reset

func (x *EnterLeaveEvent_Occupant) Reset()

func (*EnterLeaveEvent_Occupant) String

func (x *EnterLeaveEvent_Occupant) String() string

type EnterLeaveSensorApiClient

type EnterLeaveSensorApiClient interface {
	// Subscribe to new enter or leave events.
	PullEnterLeaveEvents(ctx context.Context, in *PullEnterLeaveEventsRequest, opts ...grpc.CallOption) (EnterLeaveSensorApi_PullEnterLeaveEventsClient, error)
	// Get information about the enter leave state.
	// The response will not contain a direction or occupant, but may include totals.
	GetEnterLeaveEvent(ctx context.Context, in *GetEnterLeaveEventRequest, opts ...grpc.CallOption) (*EnterLeaveEvent, error)
	// Reset the enter and leave totals.
	ResetEnterLeaveTotals(ctx context.Context, in *ResetEnterLeaveTotalsRequest, opts ...grpc.CallOption) (*ResetEnterLeaveTotalsResponse, error)
}

EnterLeaveSensorApiClient is the client API for EnterLeaveSensorApi 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 EnterLeaveSensorApiServer

type EnterLeaveSensorApiServer interface {
	// Subscribe to new enter or leave events.
	PullEnterLeaveEvents(*PullEnterLeaveEventsRequest, EnterLeaveSensorApi_PullEnterLeaveEventsServer) error
	// Get information about the enter leave state.
	// The response will not contain a direction or occupant, but may include totals.
	GetEnterLeaveEvent(context.Context, *GetEnterLeaveEventRequest) (*EnterLeaveEvent, error)
	// Reset the enter and leave totals.
	ResetEnterLeaveTotals(context.Context, *ResetEnterLeaveTotalsRequest) (*ResetEnterLeaveTotalsResponse, error)
	// contains filtered or unexported methods
}

EnterLeaveSensorApiServer is the server API for EnterLeaveSensorApi service. All implementations must embed UnimplementedEnterLeaveSensorApiServer for forward compatibility

type EnterLeaveSensorApi_PullEnterLeaveEventsClient

type EnterLeaveSensorApi_PullEnterLeaveEventsClient interface {
	Recv() (*PullEnterLeaveEventsResponse, error)
	grpc.ClientStream
}

type EnterLeaveSensorApi_PullEnterLeaveEventsServer

type EnterLeaveSensorApi_PullEnterLeaveEventsServer interface {
	Send(*PullEnterLeaveEventsResponse) error
	grpc.ServerStream
}

type EnterLeaveSensorInfoClient

type EnterLeaveSensorInfoClient interface {
}

EnterLeaveSensorInfoClient is the client API for EnterLeaveSensorInfo 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 EnterLeaveSensorInfoServer

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

EnterLeaveSensorInfoServer is the server API for EnterLeaveSensorInfo service. All implementations must embed UnimplementedEnterLeaveSensorInfoServer for forward compatibility

type ExtendRetractApiClient

type ExtendRetractApiClient interface {
	// Set the target state for the device
	GetExtension(ctx context.Context, in *GetExtensionRequest, opts ...grpc.CallOption) (*Extension, error)
	// Set the target state for the device
	UpdateExtension(ctx context.Context, in *UpdateExtensionRequest, opts ...grpc.CallOption) (*Extension, error)
	// Stop the device if it is extending or retracting, returns the current known state after stopping.
	Stop(ctx context.Context, in *ExtendRetractStopRequest, opts ...grpc.CallOption) (*Extension, error)
	// Create a preset for the extension. If no preset extension value is specified then use the current position
	CreateExtensionPreset(ctx context.Context, in *CreateExtensionPresetRequest, opts ...grpc.CallOption) (*ExtensionPreset, error)
	// Get notified of changes to the OnOffState of a device
	PullExtensions(ctx context.Context, in *PullExtensionsRequest, opts ...grpc.CallOption) (ExtendRetractApi_PullExtensionsClient, error)
}

ExtendRetractApiClient is the client API for ExtendRetractApi 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 ExtendRetractApiServer

type ExtendRetractApiServer interface {
	// Set the target state for the device
	GetExtension(context.Context, *GetExtensionRequest) (*Extension, error)
	// Set the target state for the device
	UpdateExtension(context.Context, *UpdateExtensionRequest) (*Extension, error)
	// Stop the device if it is extending or retracting, returns the current known state after stopping.
	Stop(context.Context, *ExtendRetractStopRequest) (*Extension, error)
	// Create a preset for the extension. If no preset extension value is specified then use the current position
	CreateExtensionPreset(context.Context, *CreateExtensionPresetRequest) (*ExtensionPreset, error)
	// Get notified of changes to the OnOffState of a device
	PullExtensions(*PullExtensionsRequest, ExtendRetractApi_PullExtensionsServer) error
	// contains filtered or unexported methods
}

ExtendRetractApiServer is the server API for ExtendRetractApi service. All implementations must embed UnimplementedExtendRetractApiServer for forward compatibility

type ExtendRetractApi_PullExtensionsClient

type ExtendRetractApi_PullExtensionsClient interface {
	Recv() (*PullExtensionsResponse, error)
	grpc.ClientStream
}

type ExtendRetractApi_PullExtensionsServer

type ExtendRetractApi_PullExtensionsServer interface {
	Send(*PullExtensionsResponse) error
	grpc.ServerStream
}

type ExtendRetractInfoClient

type ExtendRetractInfoClient interface {
	// Get information about how a named device implements Extension features
	DescribeExtension(ctx context.Context, in *DescribeExtensionRequest, opts ...grpc.CallOption) (*ExtensionSupport, error)
}

ExtendRetractInfoClient is the client API for ExtendRetractInfo 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 ExtendRetractInfoServer

type ExtendRetractInfoServer interface {
	// Get information about how a named device implements Extension features
	DescribeExtension(context.Context, *DescribeExtensionRequest) (*ExtensionSupport, error)
	// contains filtered or unexported methods
}

ExtendRetractInfoServer is the server API for ExtendRetractInfo service. All implementations must embed UnimplementedExtendRetractInfoServer for forward compatibility

type ExtendRetractStopRequest

type ExtendRetractStopRequest struct {

	// the name of the device to stop
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the stop api

func (*ExtendRetractStopRequest) Descriptor deprecated

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

Deprecated: Use ExtendRetractStopRequest.ProtoReflect.Descriptor instead.

func (*ExtendRetractStopRequest) GetName

func (x *ExtendRetractStopRequest) GetName() string

func (*ExtendRetractStopRequest) ProtoMessage

func (*ExtendRetractStopRequest) ProtoMessage()

func (*ExtendRetractStopRequest) ProtoReflect

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

func (*ExtendRetractStopRequest) Reset

func (x *ExtendRetractStopRequest) Reset()

func (*ExtendRetractStopRequest) String

func (x *ExtendRetractStopRequest) String() string

type Extension

type Extension struct {

	// 0 to 100, representing the extension percentage of the device
	ExtendPercent float32 `protobuf:"fixed32,1,opt,name=extend_percent,json=extendPercent,proto3" json:"extend_percent,omitempty"`
	// A named preset for recall to extend the device to a specific point
	ExtendPreset string `protobuf:"bytes,2,opt,name=extend_preset,json=extendPreset,proto3" json:"extend_preset,omitempty"`
	// How the extension changes or should change over time. On write only duration should be set.
	ExtendTween *types.Tween `protobuf:"bytes,3,opt,name=extend_tween,json=extendTween,proto3" json:"extend_tween,omitempty"`
	// if tweening between values, this is our end goal
	TargetExtendPercent float32 `protobuf:"fixed32,4,opt,name=target_extend_percent,json=targetExtendPercent,proto3" json:"target_extend_percent,omitempty"`
	// if tweening between values, this is our end goal
	TargetExtendPreset string `protobuf:"bytes,5,opt,name=target_extend_preset,json=targetExtendPreset,proto3" json:"target_extend_preset,omitempty"`
	// contains filtered or unexported fields
}

How extended the device is.

func (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetExtendPercent

func (x *Extension) GetExtendPercent() float32

func (*Extension) GetExtendPreset

func (x *Extension) GetExtendPreset() string

func (*Extension) GetExtendTween

func (x *Extension) GetExtendTween() *types.Tween

func (*Extension) GetTargetExtendPercent

func (x *Extension) GetTargetExtendPercent() float32

func (*Extension) GetTargetExtendPreset

func (x *Extension) GetTargetExtendPreset() string

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

type ExtensionPreset

type ExtensionPreset struct {

	// Required. The name of the preset, to be used for recall.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional 0 to 100, extension percentage that the preset would extend the device by.
	ExtendPercent *float32 `protobuf:"fixed32,2,opt,name=extend_percent,json=extendPercent,proto3,oneof" json:"extend_percent,omitempty"`
	// Can this preset be stored via the api
	Writable bool `protobuf:"varint,3,opt,name=writable,proto3" json:"writable,omitempty"`
	// contains filtered or unexported fields
}

Describes a preset that may be configured on the device

func (*ExtensionPreset) Descriptor deprecated

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

Deprecated: Use ExtensionPreset.ProtoReflect.Descriptor instead.

func (*ExtensionPreset) GetExtendPercent

func (x *ExtensionPreset) GetExtendPercent() float32

func (*ExtensionPreset) GetName

func (x *ExtensionPreset) GetName() string

func (*ExtensionPreset) GetWritable

func (x *ExtensionPreset) GetWritable() bool

func (*ExtensionPreset) ProtoMessage

func (*ExtensionPreset) ProtoMessage()

func (*ExtensionPreset) ProtoReflect

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

func (*ExtensionPreset) Reset

func (x *ExtensionPreset) Reset()

func (*ExtensionPreset) String

func (x *ExtensionPreset) String() string

type ExtensionSupport

type ExtensionSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// List of presets that this device supports. If empty then the device does not support presets
	Presets []*ExtensionPreset `protobuf:"bytes,2,rep,name=presets,proto3" json:"presets,omitempty"`
	// 0 to 100, how precise is the control of the extension. A value of 0 (or 100) means only 0 or 100 extend_percent
	// are valid.
	Step float32 `protobuf:"fixed32,3,opt,name=step,proto3" json:"step,omitempty"`
	// Does the device support tweening between the current value and a target value
	TweenSupport types.TweenSupport `` /* 132-byte string literal not displayed */
	// If true, custom preset names can be used to store extension values. If false only writable presets can be updated.
	SupportsCustomPresets bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

ExtensionSupport describes the capabilities of devices implementing this trait

func (*ExtensionSupport) Descriptor deprecated

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

Deprecated: Use ExtensionSupport.ProtoReflect.Descriptor instead.

func (*ExtensionSupport) GetPresets

func (x *ExtensionSupport) GetPresets() []*ExtensionPreset

func (*ExtensionSupport) GetResourceSupport

func (x *ExtensionSupport) GetResourceSupport() *types.ResourceSupport

func (*ExtensionSupport) GetStep

func (x *ExtensionSupport) GetStep() float32

func (*ExtensionSupport) GetSupportsCustomPresets

func (x *ExtensionSupport) GetSupportsCustomPresets() bool

func (*ExtensionSupport) GetTweenSupport

func (x *ExtensionSupport) GetTweenSupport() types.TweenSupport

func (*ExtensionSupport) ProtoMessage

func (*ExtensionSupport) ProtoMessage()

func (*ExtensionSupport) ProtoReflect

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

func (*ExtensionSupport) Reset

func (x *ExtensionSupport) Reset()

func (*ExtensionSupport) String

func (x *ExtensionSupport) String() string

type FanSpeed

type FanSpeed struct {

	// Percentage describes the fan speed relative to it's minimum and maximum fan speed.
	// In the range [0,100].
	Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"`
	// Preset describes the fan speed in terms of qualitative values, low, high, etc.
	// Available values are reported via FanSpeedSupport.presets.
	Preset string `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// Preset index is the index in FanSpeedSupport.presets of the currently selected preset.
	// This field is primarily used for relative speed adjustment, a value of 1 when the update is relative, adds 1
	// to the active preset, increasing the fan speed by one adjustment. Negative values would decrease the fan speed
	// by an equivalent number of steps.
	PresetIndex int32 `protobuf:"varint,3,opt,name=preset_index,json=presetIndex,proto3" json:"preset_index,omitempty"`
	// Direction describes the direction of the fan rotation.
	// This is typically described relative to the function of the fan.
	// For example a table top fan might describe FORWARD as blowing air out the front of the fan.
	Direction FanSpeed_Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=smartcore.traits.FanSpeed_Direction" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

FanSpeed describes how fast a fan is spinning.

func (*FanSpeed) Descriptor deprecated

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

Deprecated: Use FanSpeed.ProtoReflect.Descriptor instead.

func (*FanSpeed) GetDirection

func (x *FanSpeed) GetDirection() FanSpeed_Direction

func (*FanSpeed) GetPercentage

func (x *FanSpeed) GetPercentage() float32

func (*FanSpeed) GetPreset

func (x *FanSpeed) GetPreset() string

func (*FanSpeed) GetPresetIndex

func (x *FanSpeed) GetPresetIndex() int32

func (*FanSpeed) ProtoMessage

func (*FanSpeed) ProtoMessage()

func (*FanSpeed) ProtoReflect

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

func (*FanSpeed) Reset

func (x *FanSpeed) Reset()

func (*FanSpeed) String

func (x *FanSpeed) String() string

type FanSpeedApiClient

type FanSpeedApiClient interface {
	// GetFanSpeed returns the fan speed for the device.
	GetFanSpeed(ctx context.Context, in *GetFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeed, error)
	// UpdateFanSpeed updates the fan speed for the device.
	UpdateFanSpeed(ctx context.Context, in *UpdateFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeed, error)
	// PullFanSpeed returns a stream of changes to the current fan speed for the device.
	PullFanSpeed(ctx context.Context, in *PullFanSpeedRequest, opts ...grpc.CallOption) (FanSpeedApi_PullFanSpeedClient, error)
	// ReverseFanSpeedDirection reverses the fan speed direction.
	// If the fan is spinning FORWARD it will be changed to BACKWARD, etc.
	ReverseFanSpeedDirection(ctx context.Context, in *ReverseFanSpeedDirectionRequest, opts ...grpc.CallOption) (*FanSpeed, error)
}

FanSpeedApiClient is the client API for FanSpeedApi 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 FanSpeedApiServer

type FanSpeedApiServer interface {
	// GetFanSpeed returns the fan speed for the device.
	GetFanSpeed(context.Context, *GetFanSpeedRequest) (*FanSpeed, error)
	// UpdateFanSpeed updates the fan speed for the device.
	UpdateFanSpeed(context.Context, *UpdateFanSpeedRequest) (*FanSpeed, error)
	// PullFanSpeed returns a stream of changes to the current fan speed for the device.
	PullFanSpeed(*PullFanSpeedRequest, FanSpeedApi_PullFanSpeedServer) error
	// ReverseFanSpeedDirection reverses the fan speed direction.
	// If the fan is spinning FORWARD it will be changed to BACKWARD, etc.
	ReverseFanSpeedDirection(context.Context, *ReverseFanSpeedDirectionRequest) (*FanSpeed, error)
	// contains filtered or unexported methods
}

FanSpeedApiServer is the server API for FanSpeedApi service. All implementations must embed UnimplementedFanSpeedApiServer for forward compatibility

type FanSpeedApi_PullFanSpeedClient

type FanSpeedApi_PullFanSpeedClient interface {
	Recv() (*PullFanSpeedResponse, error)
	grpc.ClientStream
}

type FanSpeedApi_PullFanSpeedServer

type FanSpeedApi_PullFanSpeedServer interface {
	Send(*PullFanSpeedResponse) error
	grpc.ServerStream
}

type FanSpeedInfoClient

type FanSpeedInfoClient interface {
	// Get information about how a named device implements FanSpeed features
	DescribeFanSpeed(ctx context.Context, in *DescribeFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeedSupport, error)
}

FanSpeedInfoClient is the client API for FanSpeedInfo 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 FanSpeedInfoServer

type FanSpeedInfoServer interface {
	// Get information about how a named device implements FanSpeed features
	DescribeFanSpeed(context.Context, *DescribeFanSpeedRequest) (*FanSpeedSupport, error)
	// contains filtered or unexported methods
}

FanSpeedInfoServer is the server API for FanSpeedInfo service. All implementations must embed UnimplementedFanSpeedInfoServer for forward compatibility

type FanSpeedSupport

type FanSpeedSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Presets is the list of supported fan speed presets, in ascending fan speed order - i.e. index 0 is the slowest.
	Presets []string `protobuf:"bytes,2,rep,name=presets,proto3" json:"presets,omitempty"`
	// contains filtered or unexported fields
}

func (*FanSpeedSupport) Descriptor deprecated

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

Deprecated: Use FanSpeedSupport.ProtoReflect.Descriptor instead.

func (*FanSpeedSupport) GetPresets

func (x *FanSpeedSupport) GetPresets() []string

func (*FanSpeedSupport) GetResourceSupport

func (x *FanSpeedSupport) GetResourceSupport() *types.ResourceSupport

func (*FanSpeedSupport) ProtoMessage

func (*FanSpeedSupport) ProtoMessage()

func (*FanSpeedSupport) ProtoReflect

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

func (*FanSpeedSupport) Reset

func (x *FanSpeedSupport) Reset()

func (*FanSpeedSupport) String

func (x *FanSpeedSupport) String() string

type FanSpeed_Direction

type FanSpeed_Direction int32
const (
	FanSpeed_DIRECTION_UNSPECIFIED FanSpeed_Direction = 0
	FanSpeed_FORWARD               FanSpeed_Direction = 1
	FanSpeed_BACKWARD              FanSpeed_Direction = 2
)

func (FanSpeed_Direction) Descriptor

func (FanSpeed_Direction) Enum

func (FanSpeed_Direction) EnumDescriptor deprecated

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

Deprecated: Use FanSpeed_Direction.Descriptor instead.

func (FanSpeed_Direction) Number

func (FanSpeed_Direction) String

func (x FanSpeed_Direction) String() string

func (FanSpeed_Direction) Type

type GainSupport

type GainSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Attributes associated with the gain property of the microphone. Note that a step value that is the same as the bounds
	// implies that the microphone only supports mute
	GainAttributes *types.FloatAttributes `protobuf:"bytes,2,opt,name=gain_attributes,json=gainAttributes,proto3" json:"gain_attributes,omitempty"`
	// How is mute implemented by the device. Can help to customise behaviour of interfaces to the device, e.g. by
	// disallowing gain change when muted
	MuteSupport types.MuteSupport `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

GainSupport describes the capabilities of devices implementing this trait.

func (*GainSupport) Descriptor deprecated

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

Deprecated: Use GainSupport.ProtoReflect.Descriptor instead.

func (*GainSupport) GetGainAttributes

func (x *GainSupport) GetGainAttributes() *types.FloatAttributes

func (*GainSupport) GetMuteSupport

func (x *GainSupport) GetMuteSupport() types.MuteSupport

func (*GainSupport) GetResourceSupport

func (x *GainSupport) GetResourceSupport() *types.ResourceSupport

func (*GainSupport) ProtoMessage

func (*GainSupport) ProtoMessage()

func (*GainSupport) ProtoReflect

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

func (*GainSupport) Reset

func (x *GainSupport) Reset()

func (*GainSupport) String

func (x *GainSupport) String() string

type GetActiveModeRequest

type GetActiveModeRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveModeRequest) Descriptor deprecated

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

Deprecated: Use GetActiveModeRequest.ProtoReflect.Descriptor instead.

func (*GetActiveModeRequest) GetName

func (x *GetActiveModeRequest) GetName() string

func (*GetActiveModeRequest) GetReadMask

func (x *GetActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetActiveModeRequest) ProtoMessage

func (*GetActiveModeRequest) ProtoMessage()

func (*GetActiveModeRequest) ProtoReflect

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

func (*GetActiveModeRequest) Reset

func (x *GetActiveModeRequest) Reset()

func (*GetActiveModeRequest) String

func (x *GetActiveModeRequest) String() string

type GetAirQualityRequest

type GetAirQualityRequest struct {

	// The name of the device to request state from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAirQualityRequest) Descriptor deprecated

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

Deprecated: Use GetAirQualityRequest.ProtoReflect.Descriptor instead.

func (*GetAirQualityRequest) GetName

func (x *GetAirQualityRequest) GetName() string

func (*GetAirQualityRequest) GetReadMask

func (x *GetAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetAirQualityRequest) ProtoMessage

func (*GetAirQualityRequest) ProtoMessage()

func (*GetAirQualityRequest) ProtoReflect

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

func (*GetAirQualityRequest) Reset

func (x *GetAirQualityRequest) Reset()

func (*GetAirQualityRequest) String

func (x *GetAirQualityRequest) String() string

type GetAirTemperatureRequest

type GetAirTemperatureRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for fetching device state

func (*GetAirTemperatureRequest) Descriptor deprecated

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

Deprecated: Use GetAirTemperatureRequest.ProtoReflect.Descriptor instead.

func (*GetAirTemperatureRequest) GetName

func (x *GetAirTemperatureRequest) GetName() string

func (*GetAirTemperatureRequest) GetReadMask

func (*GetAirTemperatureRequest) ProtoMessage

func (*GetAirTemperatureRequest) ProtoMessage()

func (*GetAirTemperatureRequest) ProtoReflect

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

func (*GetAirTemperatureRequest) Reset

func (x *GetAirTemperatureRequest) Reset()

func (*GetAirTemperatureRequest) String

func (x *GetAirTemperatureRequest) String() string

type GetAmbientBrightnessRequest

type GetAmbientBrightnessRequest struct {

	// The name for the device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAmbientBrightnessRequest) Descriptor deprecated

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

Deprecated: Use GetAmbientBrightnessRequest.ProtoReflect.Descriptor instead.

func (*GetAmbientBrightnessRequest) GetName

func (x *GetAmbientBrightnessRequest) GetName() string

func (*GetAmbientBrightnessRequest) GetReadMask

func (*GetAmbientBrightnessRequest) ProtoMessage

func (*GetAmbientBrightnessRequest) ProtoMessage()

func (*GetAmbientBrightnessRequest) ProtoReflect

func (*GetAmbientBrightnessRequest) Reset

func (x *GetAmbientBrightnessRequest) Reset()

func (*GetAmbientBrightnessRequest) String

func (x *GetAmbientBrightnessRequest) String() string

type GetBrightnessRequest

type GetBrightnessRequest struct {

	// The name of the device to get the value for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

A request to get the current value of a brightness

func (*GetBrightnessRequest) Descriptor deprecated

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

Deprecated: Use GetBrightnessRequest.ProtoReflect.Descriptor instead.

func (*GetBrightnessRequest) GetName

func (x *GetBrightnessRequest) GetName() string

func (*GetBrightnessRequest) GetReadMask

func (x *GetBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetBrightnessRequest) ProtoMessage

func (*GetBrightnessRequest) ProtoMessage()

func (*GetBrightnessRequest) ProtoReflect

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

func (*GetBrightnessRequest) Reset

func (x *GetBrightnessRequest) Reset()

func (*GetBrightnessRequest) String

func (x *GetBrightnessRequest) String() string

type GetChosenChannelRequest

type GetChosenChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChosenChannelRequest) Descriptor deprecated

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

Deprecated: Use GetChosenChannelRequest.ProtoReflect.Descriptor instead.

func (*GetChosenChannelRequest) GetName

func (x *GetChosenChannelRequest) GetName() string

func (*GetChosenChannelRequest) GetReadMask

func (x *GetChosenChannelRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetChosenChannelRequest) ProtoMessage

func (*GetChosenChannelRequest) ProtoMessage()

func (*GetChosenChannelRequest) ProtoReflect

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

func (*GetChosenChannelRequest) Reset

func (x *GetChosenChannelRequest) Reset()

func (*GetChosenChannelRequest) String

func (x *GetChosenChannelRequest) String() string

type GetCountRequest

type GetCountRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCountRequest) Descriptor deprecated

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

Deprecated: Use GetCountRequest.ProtoReflect.Descriptor instead.

func (*GetCountRequest) GetName

func (x *GetCountRequest) GetName() string

func (*GetCountRequest) GetReadMask

func (x *GetCountRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetCountRequest) ProtoMessage

func (*GetCountRequest) ProtoMessage()

func (*GetCountRequest) ProtoReflect

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

func (*GetCountRequest) Reset

func (x *GetCountRequest) Reset()

func (*GetCountRequest) String

func (x *GetCountRequest) String() string

type GetDemandRequest

type GetDemandRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricDemand type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDemandRequest) Descriptor deprecated

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

Deprecated: Use GetDemandRequest.ProtoReflect.Descriptor instead.

func (*GetDemandRequest) GetName

func (x *GetDemandRequest) GetName() string

func (*GetDemandRequest) GetReadMask

func (x *GetDemandRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetDemandRequest) ProtoMessage

func (*GetDemandRequest) ProtoMessage()

func (*GetDemandRequest) ProtoReflect

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

func (*GetDemandRequest) Reset

func (x *GetDemandRequest) Reset()

func (*GetDemandRequest) String

func (x *GetDemandRequest) String() string

type GetEmergencyRequest

type GetEmergencyRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEmergencyRequest) Descriptor deprecated

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

Deprecated: Use GetEmergencyRequest.ProtoReflect.Descriptor instead.

func (*GetEmergencyRequest) GetName

func (x *GetEmergencyRequest) GetName() string

func (*GetEmergencyRequest) GetReadMask

func (x *GetEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetEmergencyRequest) ProtoMessage

func (*GetEmergencyRequest) ProtoMessage()

func (*GetEmergencyRequest) ProtoReflect

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

func (*GetEmergencyRequest) Reset

func (x *GetEmergencyRequest) Reset()

func (*GetEmergencyRequest) String

func (x *GetEmergencyRequest) String() string

type GetEnergyLevelRequest

type GetEnergyLevelRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the EnergyLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnergyLevelRequest) Descriptor deprecated

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

Deprecated: Use GetEnergyLevelRequest.ProtoReflect.Descriptor instead.

func (*GetEnergyLevelRequest) GetName

func (x *GetEnergyLevelRequest) GetName() string

func (*GetEnergyLevelRequest) GetReadMask

func (x *GetEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetEnergyLevelRequest) ProtoMessage

func (*GetEnergyLevelRequest) ProtoMessage()

func (*GetEnergyLevelRequest) ProtoReflect

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

func (*GetEnergyLevelRequest) Reset

func (x *GetEnergyLevelRequest) Reset()

func (*GetEnergyLevelRequest) String

func (x *GetEnergyLevelRequest) String() string

type GetEnterLeaveEventRequest

type GetEnterLeaveEventRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the EnterLeaveEvent type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnterLeaveEventRequest) Descriptor deprecated

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

Deprecated: Use GetEnterLeaveEventRequest.ProtoReflect.Descriptor instead.

func (*GetEnterLeaveEventRequest) GetName

func (x *GetEnterLeaveEventRequest) GetName() string

func (*GetEnterLeaveEventRequest) GetReadMask

func (*GetEnterLeaveEventRequest) ProtoMessage

func (*GetEnterLeaveEventRequest) ProtoMessage()

func (*GetEnterLeaveEventRequest) ProtoReflect

func (*GetEnterLeaveEventRequest) Reset

func (x *GetEnterLeaveEventRequest) Reset()

func (*GetEnterLeaveEventRequest) String

func (x *GetEnterLeaveEventRequest) String() string

type GetExtensionRequest

type GetExtensionRequest struct {

	// the name of the device to fetch the information for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

request to fetch the current extension for the device

func (*GetExtensionRequest) Descriptor deprecated

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

Deprecated: Use GetExtensionRequest.ProtoReflect.Descriptor instead.

func (*GetExtensionRequest) GetName

func (x *GetExtensionRequest) GetName() string

func (*GetExtensionRequest) GetReadMask

func (x *GetExtensionRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetExtensionRequest) ProtoMessage

func (*GetExtensionRequest) ProtoMessage()

func (*GetExtensionRequest) ProtoReflect

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

func (*GetExtensionRequest) Reset

func (x *GetExtensionRequest) Reset()

func (*GetExtensionRequest) String

func (x *GetExtensionRequest) String() string

type GetFanSpeedRequest

type GetFanSpeedRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the FanSpeed type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFanSpeedRequest) Descriptor deprecated

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

Deprecated: Use GetFanSpeedRequest.ProtoReflect.Descriptor instead.

func (*GetFanSpeedRequest) GetName

func (x *GetFanSpeedRequest) GetName() string

func (*GetFanSpeedRequest) GetReadMask

func (x *GetFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetFanSpeedRequest) ProtoMessage

func (*GetFanSpeedRequest) ProtoMessage()

func (*GetFanSpeedRequest) ProtoReflect

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

func (*GetFanSpeedRequest) Reset

func (x *GetFanSpeedRequest) Reset()

func (*GetFanSpeedRequest) String

func (x *GetFanSpeedRequest) String() string

type GetHailRequest

type GetHailRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the hail
	Id       string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHailRequest) Descriptor deprecated

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

Deprecated: Use GetHailRequest.ProtoReflect.Descriptor instead.

func (*GetHailRequest) GetId

func (x *GetHailRequest) GetId() string

func (*GetHailRequest) GetName

func (x *GetHailRequest) GetName() string

func (*GetHailRequest) GetReadMask

func (x *GetHailRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetHailRequest) ProtoMessage

func (*GetHailRequest) ProtoMessage()

func (*GetHailRequest) ProtoReflect

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

func (*GetHailRequest) Reset

func (x *GetHailRequest) Reset()

func (*GetHailRequest) String

func (x *GetHailRequest) String() string

type GetInputRequest

type GetInputRequest struct {

	// The name of the device to get the value for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required if the device has multiple outputs. The name of the output to get the input for.
	Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

A request to get the currently selected input

func (*GetInputRequest) Descriptor deprecated

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

Deprecated: Use GetInputRequest.ProtoReflect.Descriptor instead.

func (*GetInputRequest) GetName

func (x *GetInputRequest) GetName() string

func (*GetInputRequest) GetOutput

func (x *GetInputRequest) GetOutput() string

func (*GetInputRequest) GetReadMask

func (x *GetInputRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetInputRequest) ProtoMessage

func (*GetInputRequest) ProtoMessage()

func (*GetInputRequest) ProtoReflect

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

func (*GetInputRequest) Reset

func (x *GetInputRequest) Reset()

func (*GetInputRequest) String

func (x *GetInputRequest) String() string

type GetLockUnlockRequest

type GetLockUnlockRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the LockUnlock type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLockUnlockRequest) Descriptor deprecated

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

Deprecated: Use GetLockUnlockRequest.ProtoReflect.Descriptor instead.

func (*GetLockUnlockRequest) GetName

func (x *GetLockUnlockRequest) GetName() string

func (*GetLockUnlockRequest) GetReadMask

func (x *GetLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetLockUnlockRequest) ProtoMessage

func (*GetLockUnlockRequest) ProtoMessage()

func (*GetLockUnlockRequest) ProtoReflect

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

func (*GetLockUnlockRequest) Reset

func (x *GetLockUnlockRequest) Reset()

func (*GetLockUnlockRequest) String

func (x *GetLockUnlockRequest) String() string

type GetMetadataRequest

type GetMetadataRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Metadata type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetMetadataRequest) GetName

func (x *GetMetadataRequest) GetName() string

func (*GetMetadataRequest) GetReadMask

func (x *GetMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetMetadataRequest) ProtoMessage

func (*GetMetadataRequest) ProtoMessage()

func (*GetMetadataRequest) ProtoReflect

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

func (*GetMetadataRequest) Reset

func (x *GetMetadataRequest) Reset()

func (*GetMetadataRequest) String

func (x *GetMetadataRequest) String() string

type GetMicrophoneGainRequest

type GetMicrophoneGainRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// fields to fetch relative the the AudioLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMicrophoneGainRequest) Descriptor deprecated

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

Deprecated: Use GetMicrophoneGainRequest.ProtoReflect.Descriptor instead.

func (*GetMicrophoneGainRequest) GetName

func (x *GetMicrophoneGainRequest) GetName() string

func (*GetMicrophoneGainRequest) GetReadMask

func (*GetMicrophoneGainRequest) ProtoMessage

func (*GetMicrophoneGainRequest) ProtoMessage()

func (*GetMicrophoneGainRequest) ProtoReflect

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

func (*GetMicrophoneGainRequest) Reset

func (x *GetMicrophoneGainRequest) Reset()

func (*GetMicrophoneGainRequest) String

func (x *GetMicrophoneGainRequest) String() string

type GetModeValuesRequest

type GetModeValuesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ModeValues type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModeValuesRequest) Descriptor deprecated

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

Deprecated: Use GetModeValuesRequest.ProtoReflect.Descriptor instead.

func (*GetModeValuesRequest) GetName

func (x *GetModeValuesRequest) GetName() string

func (*GetModeValuesRequest) GetReadMask

func (x *GetModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetModeValuesRequest) ProtoMessage

func (*GetModeValuesRequest) ProtoMessage()

func (*GetModeValuesRequest) ProtoReflect

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

func (*GetModeValuesRequest) Reset

func (x *GetModeValuesRequest) Reset()

func (*GetModeValuesRequest) String

func (x *GetModeValuesRequest) String() string

type GetMotionDetectionRequest

type GetMotionDetectionRequest struct {

	// the name for the device to get the detection state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

request to fetch the current state of the device

func (*GetMotionDetectionRequest) Descriptor deprecated

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

Deprecated: Use GetMotionDetectionRequest.ProtoReflect.Descriptor instead.

func (*GetMotionDetectionRequest) GetName

func (x *GetMotionDetectionRequest) GetName() string

func (*GetMotionDetectionRequest) GetReadMask

func (*GetMotionDetectionRequest) ProtoMessage

func (*GetMotionDetectionRequest) ProtoMessage()

func (*GetMotionDetectionRequest) ProtoReflect

func (*GetMotionDetectionRequest) Reset

func (x *GetMotionDetectionRequest) Reset()

func (*GetMotionDetectionRequest) String

func (x *GetMotionDetectionRequest) String() string

type GetOccupancyRequest

type GetOccupancyRequest struct {

	// the name for the device to get the occupancy state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

request to fetch the current state of the device

func (*GetOccupancyRequest) Descriptor deprecated

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

Deprecated: Use GetOccupancyRequest.ProtoReflect.Descriptor instead.

func (*GetOccupancyRequest) GetName

func (x *GetOccupancyRequest) GetName() string

func (*GetOccupancyRequest) GetReadMask

func (x *GetOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetOccupancyRequest) ProtoMessage

func (*GetOccupancyRequest) ProtoMessage()

func (*GetOccupancyRequest) ProtoReflect

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

func (*GetOccupancyRequest) Reset

func (x *GetOccupancyRequest) Reset()

func (*GetOccupancyRequest) String

func (x *GetOccupancyRequest) String() string

type GetOnOffRequest

type GetOnOffRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOnOffRequest) Descriptor deprecated

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

Deprecated: Use GetOnOffRequest.ProtoReflect.Descriptor instead.

func (*GetOnOffRequest) GetName

func (x *GetOnOffRequest) GetName() string

func (*GetOnOffRequest) GetReadMask

func (x *GetOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetOnOffRequest) ProtoMessage

func (*GetOnOffRequest) ProtoMessage()

func (*GetOnOffRequest) ProtoReflect

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

func (*GetOnOffRequest) Reset

func (x *GetOnOffRequest) Reset()

func (*GetOnOffRequest) String

func (x *GetOnOffRequest) String() string

type GetOpenClosePositionsRequest

type GetOpenClosePositionsRequest struct {

	// Name of the device to get the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOpenClosePositionsRequest) Descriptor deprecated

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

Deprecated: Use GetOpenClosePositionsRequest.ProtoReflect.Descriptor instead.

func (*GetOpenClosePositionsRequest) GetName

func (x *GetOpenClosePositionsRequest) GetName() string

func (*GetOpenClosePositionsRequest) GetReadMask

func (*GetOpenClosePositionsRequest) ProtoMessage

func (*GetOpenClosePositionsRequest) ProtoMessage()

func (*GetOpenClosePositionsRequest) ProtoReflect

func (*GetOpenClosePositionsRequest) Reset

func (x *GetOpenClosePositionsRequest) Reset()

func (*GetOpenClosePositionsRequest) String

type GetPtzRequest

type GetPtzRequest struct {

	// The name of the device to request state from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// which fields do we want to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPtzRequest) Descriptor deprecated

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

Deprecated: Use GetPtzRequest.ProtoReflect.Descriptor instead.

func (*GetPtzRequest) GetName

func (x *GetPtzRequest) GetName() string

func (*GetPtzRequest) GetReadMask

func (x *GetPtzRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetPtzRequest) ProtoMessage

func (*GetPtzRequest) ProtoMessage()

func (*GetPtzRequest) ProtoReflect

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

func (*GetPtzRequest) Reset

func (x *GetPtzRequest) Reset()

func (*GetPtzRequest) String

func (x *GetPtzRequest) String() string

type GetPublicationRequest

type GetPublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the publication to retrieve
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Fields to fetch relative to the Publication type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The version to retrieve.
	// Optional, if absent the latest version will be retrieved.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPublicationRequest) Descriptor deprecated

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

Deprecated: Use GetPublicationRequest.ProtoReflect.Descriptor instead.

func (*GetPublicationRequest) GetId

func (x *GetPublicationRequest) GetId() string

func (*GetPublicationRequest) GetName

func (x *GetPublicationRequest) GetName() string

func (*GetPublicationRequest) GetReadMask

func (x *GetPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetPublicationRequest) GetVersion

func (x *GetPublicationRequest) GetVersion() string

func (*GetPublicationRequest) ProtoMessage

func (*GetPublicationRequest) ProtoMessage()

func (*GetPublicationRequest) ProtoReflect

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

func (*GetPublicationRequest) Reset

func (x *GetPublicationRequest) Reset()

func (*GetPublicationRequest) String

func (x *GetPublicationRequest) String() string

type GetSpeakerVolumeRequest

type GetSpeakerVolumeRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// fields to fetch relative the the AudioLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSpeakerVolumeRequest) Descriptor deprecated

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

Deprecated: Use GetSpeakerVolumeRequest.ProtoReflect.Descriptor instead.

func (*GetSpeakerVolumeRequest) GetName

func (x *GetSpeakerVolumeRequest) GetName() string

func (*GetSpeakerVolumeRequest) GetReadMask

func (x *GetSpeakerVolumeRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetSpeakerVolumeRequest) ProtoMessage

func (*GetSpeakerVolumeRequest) ProtoMessage()

func (*GetSpeakerVolumeRequest) ProtoReflect

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

func (*GetSpeakerVolumeRequest) Reset

func (x *GetSpeakerVolumeRequest) Reset()

func (*GetSpeakerVolumeRequest) String

func (x *GetSpeakerVolumeRequest) String() string

type GetStockRequest

type GetStockRequest struct {

	// Name of the device to update the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the consumable to get the stock for.
	Consumable string `protobuf:"bytes,3,opt,name=consumable,proto3" json:"consumable,omitempty"`
	// Fields to read relative to the Consumable.Stock type.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStockRequest) Descriptor deprecated

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

Deprecated: Use GetStockRequest.ProtoReflect.Descriptor instead.

func (*GetStockRequest) GetConsumable

func (x *GetStockRequest) GetConsumable() string

func (*GetStockRequest) GetName

func (x *GetStockRequest) GetName() string

func (*GetStockRequest) GetReadMask

func (x *GetStockRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*GetStockRequest) ProtoMessage

func (*GetStockRequest) ProtoMessage()

func (*GetStockRequest) ProtoReflect

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

func (*GetStockRequest) Reset

func (x *GetStockRequest) Reset()

func (*GetStockRequest) String

func (x *GetStockRequest) String() string

type Hail

type Hail struct {

	// A tracking id for this hail.
	// This id may be used to subscribe or update the hail after creation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The location for the start of the transportation.
	// Optional.
	// Supplied by the caller on write to indicate where the transport should "pick them up from", if absent on write the
	// device typically has a defined location - i.e. a call button for a lift inherently has a floor associated.
	//
	// During create the device is free to return a different origin location but that location _should_ be a more
	// specific variation to the supplied origin.
	// For example you may create a hail with origin "Ground Floor" and the device returns a new, more specific origin
	// of "Ground Floor, Lobby B, Door 3".
	//
	// The origin should not change after the initial creation of the hail unless unavoidable. A changing origin can
	// confuse callers who are not watching for hail changes.
	Origin *Hail_Location `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	// The intended destination of the caller.
	// Optional.
	// Supplied by the caller on write, this indicates where the caller wishes to go.
	// The device may return a more specific location as a response to creating a hail.
	Destination *Hail_Location `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// State reports which phase of the journey the transport is in.
	// Output only.
	//
	// Timestamps tracking the different states may report either the time the hail transitioned into that state or
	// predict when the hail is expected to transition into that state. Compare state with the supplied times to
	// know if it is a prediction or not. For example if state is CALLED and board_time is present, it represents a
	// predicted boarding time; if state is DEPARTED, then board_time is the time the transport entered into the BOARDING
	// state.
	State Hail_State `protobuf:"varint,4,opt,name=state,proto3,enum=smartcore.traits.Hail_State" json:"state,omitempty"`
	// The time the vehicle accepted the hail.
	CallTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=call_time,json=callTime,proto3" json:"call_time,omitempty"`
	// The time the transport either began boarding or is expected to be boarding.
	BoardTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=board_time,json=boardTime,proto3" json:"board_time,omitempty"`
	// The time the transport either departed or is expected to be departing.
	DepartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=depart_time,json=departTime,proto3" json:"depart_time,omitempty"`
	// The time the transport either arrived or is expected to arrive.
	ArriveTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=arrive_time,json=arriveTime,proto3" json:"arrive_time,omitempty"`
	// contains filtered or unexported fields
}

A hail is a request from a caller to bring transport to the callers location. Like hailing a taxi.

func (*Hail) Descriptor deprecated

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

Deprecated: Use Hail.ProtoReflect.Descriptor instead.

func (*Hail) GetArriveTime

func (x *Hail) GetArriveTime() *timestamppb.Timestamp

func (*Hail) GetBoardTime

func (x *Hail) GetBoardTime() *timestamppb.Timestamp

func (*Hail) GetCallTime

func (x *Hail) GetCallTime() *timestamppb.Timestamp

func (*Hail) GetDepartTime

func (x *Hail) GetDepartTime() *timestamppb.Timestamp

func (*Hail) GetDestination

func (x *Hail) GetDestination() *Hail_Location

func (*Hail) GetId

func (x *Hail) GetId() string

func (*Hail) GetOrigin

func (x *Hail) GetOrigin() *Hail_Location

func (*Hail) GetState

func (x *Hail) GetState() Hail_State

func (*Hail) ProtoMessage

func (*Hail) ProtoMessage()

func (*Hail) ProtoReflect

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

func (*Hail) Reset

func (x *Hail) Reset()

func (*Hail) String

func (x *Hail) String() string

type HailApiClient

type HailApiClient interface {
	// Create a new hail against the device.
	// Creating a hail instructs the device that a passenger would like to be transported from one location to another.
	// The response from this request may include additional location information than that supplied.
	// See Hail.origin for more details.
	//
	// If Hail.id is specified and is used by an existing hail the device will return an error.
	// If Hail.id is specified the device may return an error indicating that client supplied ids are not supported.
	CreateHail(ctx context.Context, in *CreateHailRequest, opts ...grpc.CallOption) (*Hail, error)
	// Retrieve details on a specific hail by id as returned by CreateHail.
	GetHail(ctx context.Context, in *GetHailRequest, opts ...grpc.CallOption) (*Hail, error)
	// Update a hail by id.
	// Hail.id must be present.
	UpdateHail(ctx context.Context, in *UpdateHailRequest, opts ...grpc.CallOption) (*Hail, error)
	// Delete a hail by id.
	DeleteHail(ctx context.Context, in *DeleteHailRequest, opts ...grpc.CallOption) (*DeleteHailResponse, error)
	// Subscribe to changes in a specific hail.
	PullHail(ctx context.Context, in *PullHailRequest, opts ...grpc.CallOption) (HailApi_PullHailClient, error)
	// List known hails.
	ListHails(ctx context.Context, in *ListHailsRequest, opts ...grpc.CallOption) (*ListHailsResponse, error)
	// Subscribe to changes in the known hails.
	PullHails(ctx context.Context, in *PullHailsRequest, opts ...grpc.CallOption) (HailApi_PullHailsClient, error)
}

HailApiClient is the client API for HailApi 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.

func NewHailApiClient

func NewHailApiClient(cc grpc.ClientConnInterface) HailApiClient

type HailApiServer

type HailApiServer interface {
	// Create a new hail against the device.
	// Creating a hail instructs the device that a passenger would like to be transported from one location to another.
	// The response from this request may include additional location information than that supplied.
	// See Hail.origin for more details.
	//
	// If Hail.id is specified and is used by an existing hail the device will return an error.
	// If Hail.id is specified the device may return an error indicating that client supplied ids are not supported.
	CreateHail(context.Context, *CreateHailRequest) (*Hail, error)
	// Retrieve details on a specific hail by id as returned by CreateHail.
	GetHail(context.Context, *GetHailRequest) (*Hail, error)
	// Update a hail by id.
	// Hail.id must be present.
	UpdateHail(context.Context, *UpdateHailRequest) (*Hail, error)
	// Delete a hail by id.
	DeleteHail(context.Context, *DeleteHailRequest) (*DeleteHailResponse, error)
	// Subscribe to changes in a specific hail.
	PullHail(*PullHailRequest, HailApi_PullHailServer) error
	// List known hails.
	ListHails(context.Context, *ListHailsRequest) (*ListHailsResponse, error)
	// Subscribe to changes in the known hails.
	PullHails(*PullHailsRequest, HailApi_PullHailsServer) error
	// contains filtered or unexported methods
}

HailApiServer is the server API for HailApi service. All implementations must embed UnimplementedHailApiServer for forward compatibility

type HailApi_PullHailClient

type HailApi_PullHailClient interface {
	Recv() (*PullHailResponse, error)
	grpc.ClientStream
}

type HailApi_PullHailServer

type HailApi_PullHailServer interface {
	Send(*PullHailResponse) error
	grpc.ServerStream
}

type HailApi_PullHailsClient

type HailApi_PullHailsClient interface {
	Recv() (*PullHailsResponse, error)
	grpc.ClientStream
}

type HailApi_PullHailsServer

type HailApi_PullHailsServer interface {
	Send(*PullHailsResponse) error
	grpc.ServerStream
}

type HailInfoClient

type HailInfoClient interface {
}

HailInfoClient is the client API for HailInfo 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.

func NewHailInfoClient

func NewHailInfoClient(cc grpc.ClientConnInterface) HailInfoClient

type HailInfoServer

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

HailInfoServer is the server API for HailInfo service. All implementations must embed UnimplementedHailInfoServer for forward compatibility

type Hail_Location

type Hail_Location struct {

	// An unambiguous name for this location.
	// Optional on write, if other location fields are used to identify the location.
	// Required on output.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An unambiguous display name for the location.
	// Will be presented to the client and should be recognised by people consuming this information.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

A logical location, typically in terms the hail creator will understand. Locations do not need to accurately or uniquely represent a physical space, instead they should unambiguously describe that location within the context of the device. For example "Floor 3" vs "lat:112.33,long:0.222,el:43.2", "Teal Room" vs "Teal Room, Floor 1, HQ, Birmingham, UK"

func (*Hail_Location) Descriptor deprecated

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

Deprecated: Use Hail_Location.ProtoReflect.Descriptor instead.

func (*Hail_Location) GetDisplayName

func (x *Hail_Location) GetDisplayName() string

func (*Hail_Location) GetName

func (x *Hail_Location) GetName() string

func (*Hail_Location) ProtoMessage

func (*Hail_Location) ProtoMessage()

func (*Hail_Location) ProtoReflect

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

func (*Hail_Location) Reset

func (x *Hail_Location) Reset()

func (*Hail_Location) String

func (x *Hail_Location) String() string

type Hail_State

type Hail_State int32
const (
	// The state has not been supplied.
	Hail_STATE_UNSPECIFIED Hail_State = 0
	// The hail has been accepted and the transport is on its way to the origin.
	// Typically transitions into the BOARDING state.
	Hail_CALLED Hail_State = 1
	// The transport has arrived at the origin and is accepting passengers.
	// Typically transitions into the DEPARTED state.
	Hail_BOARDING Hail_State = 2
	// The transport is moving to the destination.
	// Typically transitions into the ARRIVED state.
	Hail_DEPARTED Hail_State = 3
	// The transport is at the destination.
	// This concludes this hail.
	// The device may remove this hail once it has arrived.
	// It is recommended that the device keep arrived hails for a short period of time (minutes) to aid clients who are
	// checking or polling hail states to check for arrival.
	// It is good practice, but not required, for a client to delete a hail once the information is no longer needed.
	Hail_ARRIVED Hail_State = 4
)

func (Hail_State) Descriptor

func (Hail_State) Descriptor() protoreflect.EnumDescriptor

func (Hail_State) Enum

func (x Hail_State) Enum() *Hail_State

func (Hail_State) EnumDescriptor deprecated

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

Deprecated: Use Hail_State.Descriptor instead.

func (Hail_State) Number

func (x Hail_State) Number() protoreflect.EnumNumber

func (Hail_State) String

func (x Hail_State) String() string

func (Hail_State) Type

type Input

type Input struct {

	// The current choice for the video input. Will be absent if there is no video input chosen.
	VideoInput string `protobuf:"bytes,1,opt,name=video_input,json=videoInput,proto3" json:"video_input,omitempty"`
	// The current choice for the audio input. Absent means no audio input is chosen unless independent_av is false which
	// implies the audio_input is the same as the video_input
	AudioInput string `protobuf:"bytes,2,opt,name=audio_input,json=audioInput,proto3" json:"audio_input,omitempty"`
	// If true then audio and video changes will not affect the other. False implies that changes to audio or video will
	// change the input selection for the other to keep them consistent
	IndependentAv bool `protobuf:"varint,3,opt,name=independent_av,json=independentAv,proto3" json:"independent_av,omitempty"`
	// Which output the input is sent to. Optional when the device only has one output, required otherwise
	Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

The currently selected input

func (*Input) Descriptor deprecated

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetAudioInput

func (x *Input) GetAudioInput() string

func (*Input) GetIndependentAv

func (x *Input) GetIndependentAv() bool

func (*Input) GetOutput

func (x *Input) GetOutput() string

func (*Input) GetVideoInput

func (x *Input) GetVideoInput() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

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

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type InputSelectApiClient

type InputSelectApiClient interface {
	// request that the input be selected
	UpdateInput(ctx context.Context, in *UpdateInputRequest, opts ...grpc.CallOption) (*Input, error)
	// get the current value of the selected input
	GetInput(ctx context.Context, in *GetInputRequest, opts ...grpc.CallOption) (*Input, error)
	// request updates to changes in the selected input
	PullInput(ctx context.Context, in *PullInputRequest, opts ...grpc.CallOption) (InputSelectApi_PullInputClient, error)
}

InputSelectApiClient is the client API for InputSelectApi 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 InputSelectApiServer

type InputSelectApiServer interface {
	// request that the input be selected
	UpdateInput(context.Context, *UpdateInputRequest) (*Input, error)
	// get the current value of the selected input
	GetInput(context.Context, *GetInputRequest) (*Input, error)
	// request updates to changes in the selected input
	PullInput(*PullInputRequest, InputSelectApi_PullInputServer) error
	// contains filtered or unexported methods
}

InputSelectApiServer is the server API for InputSelectApi service. All implementations must embed UnimplementedInputSelectApiServer for forward compatibility

type InputSelectApi_PullInputClient

type InputSelectApi_PullInputClient interface {
	Recv() (*PullInputResponse, error)
	grpc.ClientStream
}

type InputSelectApi_PullInputServer

type InputSelectApi_PullInputServer interface {
	Send(*PullInputResponse) error
	grpc.ServerStream
}

type InputSelectInfoClient

type InputSelectInfoClient interface {
	// Get information about how a named device implements Input features
	DescribeInput(ctx context.Context, in *DescribeInputRequest, opts ...grpc.CallOption) (*InputSupport, error)
}

InputSelectInfoClient is the client API for InputSelectInfo 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 InputSelectInfoServer

type InputSelectInfoServer interface {
	// Get information about how a named device implements Input features
	DescribeInput(context.Context, *DescribeInputRequest) (*InputSupport, error)
	// contains filtered or unexported methods
}

InputSelectInfoServer is the server API for InputSelectInfo service. All implementations must embed UnimplementedInputSelectInfoServer for forward compatibility

type InputSupport

type InputSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// the list of inputs that can be selected on this device
	Inputs []*AvPort `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// indicate the possible mode of input selection that are supported by this device. This is not the current mode, just
	// the supported mode the device allows
	SupportedFeature InputSupport_Feature `` /* 153-byte string literal not displayed */
	// The list of outputs that can have inputs on this device
	Outputs []*AvPort `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

InputSupport describes the capabilities of devices implementing this trait

func (*InputSupport) Descriptor deprecated

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

Deprecated: Use InputSupport.ProtoReflect.Descriptor instead.

func (*InputSupport) GetInputs

func (x *InputSupport) GetInputs() []*AvPort

func (*InputSupport) GetOutputs

func (x *InputSupport) GetOutputs() []*AvPort

func (*InputSupport) GetResourceSupport

func (x *InputSupport) GetResourceSupport() *types.ResourceSupport

func (*InputSupport) GetSupportedFeature

func (x *InputSupport) GetSupportedFeature() InputSupport_Feature

func (*InputSupport) ProtoMessage

func (*InputSupport) ProtoMessage()

func (*InputSupport) ProtoReflect

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

func (*InputSupport) Reset

func (x *InputSupport) Reset()

func (*InputSupport) String

func (x *InputSupport) String() string

type InputSupport_Feature

type InputSupport_Feature int32

possible modes an input select device can

const (
	// The feature is not specified
	InputSupport_FEATURE_UNSPECIFIED InputSupport_Feature = 0
	// both audio and video are treated as one. independent_av should be considered false in this mode
	InputSupport_AV InputSupport_Feature = 1
	// Only audio inputs are supported
	InputSupport_AUDIO_ONLY InputSupport_Feature = 2
	// Only video inputs are supported
	InputSupport_VIDEO_ONLY InputSupport_Feature = 3
	// Audio and video are both supported and can be selected independently if desired. The independent_av property can
	// be true in this mode only
	InputSupport_INDEPENDENT InputSupport_Feature = 4
)

func (InputSupport_Feature) Descriptor

func (InputSupport_Feature) Enum

func (InputSupport_Feature) EnumDescriptor deprecated

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

Deprecated: Use InputSupport_Feature.Descriptor instead.

func (InputSupport_Feature) Number

func (InputSupport_Feature) String

func (x InputSupport_Feature) String() string

func (InputSupport_Feature) Type

type LightApiClient

type LightApiClient interface {
	// request that the brightness be changed
	UpdateBrightness(ctx context.Context, in *UpdateBrightnessRequest, opts ...grpc.CallOption) (*Brightness, error)
	// get the current value of the range
	GetBrightness(ctx context.Context, in *GetBrightnessRequest, opts ...grpc.CallOption) (*Brightness, error)
	// request updates to changes in the range value
	PullBrightness(ctx context.Context, in *PullBrightnessRequest, opts ...grpc.CallOption) (LightApi_PullBrightnessClient, error)
}

LightApiClient is the client API for LightApi 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.

func NewLightApiClient

func NewLightApiClient(cc grpc.ClientConnInterface) LightApiClient

type LightApiServer

type LightApiServer interface {
	// request that the brightness be changed
	UpdateBrightness(context.Context, *UpdateBrightnessRequest) (*Brightness, error)
	// get the current value of the range
	GetBrightness(context.Context, *GetBrightnessRequest) (*Brightness, error)
	// request updates to changes in the range value
	PullBrightness(*PullBrightnessRequest, LightApi_PullBrightnessServer) error
	// contains filtered or unexported methods
}

LightApiServer is the server API for LightApi service. All implementations must embed UnimplementedLightApiServer for forward compatibility

type LightApi_PullBrightnessClient

type LightApi_PullBrightnessClient interface {
	Recv() (*PullBrightnessResponse, error)
	grpc.ClientStream
}

type LightApi_PullBrightnessServer

type LightApi_PullBrightnessServer interface {
	Send(*PullBrightnessResponse) error
	grpc.ServerStream
}

type LightInfoClient

type LightInfoClient interface {
	// Get information about how a named device implements Brightness features
	DescribeBrightness(ctx context.Context, in *DescribeBrightnessRequest, opts ...grpc.CallOption) (*BrightnessSupport, error)
}

LightInfoClient is the client API for LightInfo 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.

func NewLightInfoClient

func NewLightInfoClient(cc grpc.ClientConnInterface) LightInfoClient

type LightInfoServer

type LightInfoServer interface {
	// Get information about how a named device implements Brightness features
	DescribeBrightness(context.Context, *DescribeBrightnessRequest) (*BrightnessSupport, error)
	// contains filtered or unexported methods
}

LightInfoServer is the server API for LightInfo service. All implementations must embed UnimplementedLightInfoServer for forward compatibility

type LightPreset

type LightPreset struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*LightPreset) Descriptor deprecated

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

Deprecated: Use LightPreset.ProtoReflect.Descriptor instead.

func (*LightPreset) GetName

func (x *LightPreset) GetName() string

func (*LightPreset) GetTitle

func (x *LightPreset) GetTitle() string

func (*LightPreset) ProtoMessage

func (*LightPreset) ProtoMessage()

func (*LightPreset) ProtoReflect

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

func (*LightPreset) Reset

func (x *LightPreset) Reset()

func (*LightPreset) String

func (x *LightPreset) String() string

type ListBookingsRequest

type ListBookingsRequest struct {

	// The name of the bookable (e.g. the resource name)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Specify the time period to return bookings for
	// bookings are returned if they intersect this time period
	BookingIntersects *time.Period `protobuf:"bytes,2,opt,name=booking_intersects,json=bookingIntersects,proto3" json:"booking_intersects,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBookingsRequest) Descriptor deprecated

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

Deprecated: Use ListBookingsRequest.ProtoReflect.Descriptor instead.

func (*ListBookingsRequest) GetBookingIntersects

func (x *ListBookingsRequest) GetBookingIntersects() *time.Period

func (*ListBookingsRequest) GetName

func (x *ListBookingsRequest) GetName() string

func (*ListBookingsRequest) GetReadMask

func (x *ListBookingsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListBookingsRequest) GetUpdatesOnly

func (x *ListBookingsRequest) GetUpdatesOnly() bool

func (*ListBookingsRequest) ProtoMessage

func (*ListBookingsRequest) ProtoMessage()

func (*ListBookingsRequest) ProtoReflect

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

func (*ListBookingsRequest) Reset

func (x *ListBookingsRequest) Reset()

func (*ListBookingsRequest) String

func (x *ListBookingsRequest) String() string

type ListBookingsResponse

type ListBookingsResponse struct {

	// the list of bookings for the given request
	Bookings []*Booking `protobuf:"bytes,1,rep,name=bookings,proto3" json:"bookings,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBookingsResponse) Descriptor deprecated

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

Deprecated: Use ListBookingsResponse.ProtoReflect.Descriptor instead.

func (*ListBookingsResponse) GetBookings

func (x *ListBookingsResponse) GetBookings() []*Booking

func (*ListBookingsResponse) ProtoMessage

func (*ListBookingsResponse) ProtoMessage()

func (*ListBookingsResponse) ProtoReflect

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

func (*ListBookingsResponse) Reset

func (x *ListBookingsResponse) Reset()

func (*ListBookingsResponse) String

func (x *ListBookingsResponse) String() string

type ListChildrenRequest

type ListChildrenRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of children to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListChildrenResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildrenRequest) Descriptor deprecated

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

Deprecated: Use ListChildrenRequest.ProtoReflect.Descriptor instead.

func (*ListChildrenRequest) GetName

func (x *ListChildrenRequest) GetName() string

func (*ListChildrenRequest) GetPageSize

func (x *ListChildrenRequest) GetPageSize() int32

func (*ListChildrenRequest) GetPageToken

func (x *ListChildrenRequest) GetPageToken() string

func (*ListChildrenRequest) GetReadMask

func (x *ListChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListChildrenRequest) ProtoMessage

func (*ListChildrenRequest) ProtoMessage()

func (*ListChildrenRequest) ProtoReflect

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

func (*ListChildrenRequest) Reset

func (x *ListChildrenRequest) Reset()

func (*ListChildrenRequest) String

func (x *ListChildrenRequest) String() string

type ListChildrenResponse

type ListChildrenResponse struct {
	Children []*Child `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of draw notifications.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildrenResponse) Descriptor deprecated

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

Deprecated: Use ListChildrenResponse.ProtoReflect.Descriptor instead.

func (*ListChildrenResponse) GetChildren

func (x *ListChildrenResponse) GetChildren() []*Child

func (*ListChildrenResponse) GetNextPageToken

func (x *ListChildrenResponse) GetNextPageToken() string

func (*ListChildrenResponse) GetTotalSize

func (x *ListChildrenResponse) GetTotalSize() int32

func (*ListChildrenResponse) ProtoMessage

func (*ListChildrenResponse) ProtoMessage()

func (*ListChildrenResponse) ProtoReflect

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

func (*ListChildrenResponse) Reset

func (x *ListChildrenResponse) Reset()

func (*ListChildrenResponse) String

func (x *ListChildrenResponse) String() string

type ListConsumablesRequest

type ListConsumablesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Consumable type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of items to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListConsumablesRequest` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsumablesRequest) Descriptor deprecated

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

Deprecated: Use ListConsumablesRequest.ProtoReflect.Descriptor instead.

func (*ListConsumablesRequest) GetName

func (x *ListConsumablesRequest) GetName() string

func (*ListConsumablesRequest) GetPageSize

func (x *ListConsumablesRequest) GetPageSize() int32

func (*ListConsumablesRequest) GetPageToken

func (x *ListConsumablesRequest) GetPageToken() string

func (*ListConsumablesRequest) GetReadMask

func (x *ListConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListConsumablesRequest) ProtoMessage

func (*ListConsumablesRequest) ProtoMessage()

func (*ListConsumablesRequest) ProtoReflect

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

func (*ListConsumablesRequest) Reset

func (x *ListConsumablesRequest) Reset()

func (*ListConsumablesRequest) String

func (x *ListConsumablesRequest) String() string

type ListConsumablesResponse

type ListConsumablesResponse struct {
	Consumables []*Consumable `protobuf:"bytes,1,rep,name=consumables,proto3" json:"consumables,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of consumables.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConsumablesResponse) Descriptor deprecated

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

Deprecated: Use ListConsumablesResponse.ProtoReflect.Descriptor instead.

func (*ListConsumablesResponse) GetConsumables

func (x *ListConsumablesResponse) GetConsumables() []*Consumable

func (*ListConsumablesResponse) GetNextPageToken

func (x *ListConsumablesResponse) GetNextPageToken() string

func (*ListConsumablesResponse) GetTotalSize

func (x *ListConsumablesResponse) GetTotalSize() int32

func (*ListConsumablesResponse) ProtoMessage

func (*ListConsumablesResponse) ProtoMessage()

func (*ListConsumablesResponse) ProtoReflect

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

func (*ListConsumablesResponse) Reset

func (x *ListConsumablesResponse) Reset()

func (*ListConsumablesResponse) String

func (x *ListConsumablesResponse) String() string

type ListHailsRequest

type ListHailsRequest struct {

	// The name of the device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Hail type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of hails to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListHailsResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHailsRequest) Descriptor deprecated

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

Deprecated: Use ListHailsRequest.ProtoReflect.Descriptor instead.

func (*ListHailsRequest) GetName

func (x *ListHailsRequest) GetName() string

func (*ListHailsRequest) GetPageSize

func (x *ListHailsRequest) GetPageSize() int32

func (*ListHailsRequest) GetPageToken

func (x *ListHailsRequest) GetPageToken() string

func (*ListHailsRequest) GetReadMask

func (x *ListHailsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListHailsRequest) ProtoMessage

func (*ListHailsRequest) ProtoMessage()

func (*ListHailsRequest) ProtoReflect

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

func (*ListHailsRequest) Reset

func (x *ListHailsRequest) Reset()

func (*ListHailsRequest) String

func (x *ListHailsRequest) String() string

type ListHailsResponse

type ListHailsResponse struct {
	Hails []*Hail `protobuf:"bytes,1,rep,name=hails,proto3" json:"hails,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of hails.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHailsResponse) Descriptor deprecated

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

Deprecated: Use ListHailsResponse.ProtoReflect.Descriptor instead.

func (*ListHailsResponse) GetHails

func (x *ListHailsResponse) GetHails() []*Hail

func (*ListHailsResponse) GetNextPageToken

func (x *ListHailsResponse) GetNextPageToken() string

func (*ListHailsResponse) GetTotalSize

func (x *ListHailsResponse) GetTotalSize() int32

func (*ListHailsResponse) ProtoMessage

func (*ListHailsResponse) ProtoMessage()

func (*ListHailsResponse) ProtoReflect

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

func (*ListHailsResponse) Reset

func (x *ListHailsResponse) Reset()

func (*ListHailsResponse) String

func (x *ListHailsResponse) String() string

type ListInventoryRequest

type ListInventoryRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Consumable.Stock type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of items to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListInventoryRequest` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInventoryRequest) Descriptor deprecated

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

Deprecated: Use ListInventoryRequest.ProtoReflect.Descriptor instead.

func (*ListInventoryRequest) GetName

func (x *ListInventoryRequest) GetName() string

func (*ListInventoryRequest) GetPageSize

func (x *ListInventoryRequest) GetPageSize() int32

func (*ListInventoryRequest) GetPageToken

func (x *ListInventoryRequest) GetPageToken() string

func (*ListInventoryRequest) GetReadMask

func (x *ListInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListInventoryRequest) ProtoMessage

func (*ListInventoryRequest) ProtoMessage()

func (*ListInventoryRequest) ProtoReflect

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

func (*ListInventoryRequest) Reset

func (x *ListInventoryRequest) Reset()

func (*ListInventoryRequest) String

func (x *ListInventoryRequest) String() string

type ListInventoryResponse

type ListInventoryResponse struct {

	// The stock requested.
	Inventory []*Consumable_Stock `protobuf:"bytes,1,rep,name=inventory,proto3" json:"inventory,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of stocked consumables.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInventoryResponse) Descriptor deprecated

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

Deprecated: Use ListInventoryResponse.ProtoReflect.Descriptor instead.

func (*ListInventoryResponse) GetInventory

func (x *ListInventoryResponse) GetInventory() []*Consumable_Stock

func (*ListInventoryResponse) GetNextPageToken

func (x *ListInventoryResponse) GetNextPageToken() string

func (*ListInventoryResponse) GetTotalSize

func (x *ListInventoryResponse) GetTotalSize() int32

func (*ListInventoryResponse) ProtoMessage

func (*ListInventoryResponse) ProtoMessage()

func (*ListInventoryResponse) ProtoReflect

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

func (*ListInventoryResponse) Reset

func (x *ListInventoryResponse) Reset()

func (*ListInventoryResponse) String

func (x *ListInventoryResponse) String() string

type ListModesRequest

type ListModesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of modes to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListModesResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModesRequest) Descriptor deprecated

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

Deprecated: Use ListModesRequest.ProtoReflect.Descriptor instead.

func (*ListModesRequest) GetName

func (x *ListModesRequest) GetName() string

func (*ListModesRequest) GetPageSize

func (x *ListModesRequest) GetPageSize() int32

func (*ListModesRequest) GetPageToken

func (x *ListModesRequest) GetPageToken() string

func (*ListModesRequest) GetReadMask

func (x *ListModesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListModesRequest) ProtoMessage

func (*ListModesRequest) ProtoMessage()

func (*ListModesRequest) ProtoReflect

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

func (*ListModesRequest) Reset

func (x *ListModesRequest) Reset()

func (*ListModesRequest) String

func (x *ListModesRequest) String() string

type ListModesResponse

type ListModesResponse struct {
	Modes []*ElectricMode `protobuf:"bytes,1,rep,name=modes,proto3" json:"modes,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of draw notifications.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModesResponse) Descriptor deprecated

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

Deprecated: Use ListModesResponse.ProtoReflect.Descriptor instead.

func (*ListModesResponse) GetModes

func (x *ListModesResponse) GetModes() []*ElectricMode

func (*ListModesResponse) GetNextPageToken

func (x *ListModesResponse) GetNextPageToken() string

func (*ListModesResponse) GetTotalSize

func (x *ListModesResponse) GetTotalSize() int32

func (*ListModesResponse) ProtoMessage

func (*ListModesResponse) ProtoMessage()

func (*ListModesResponse) ProtoReflect

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

func (*ListModesResponse) Reset

func (x *ListModesResponse) Reset()

func (*ListModesResponse) String

func (x *ListModesResponse) String() string

type ListPublicationsRequest

type ListPublicationsRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Publication type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of items to return.
	// The service may return fewer than this value.
	// If unspecified, at most 50 items will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListPublicationsResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublicationsRequest) Descriptor deprecated

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

Deprecated: Use ListPublicationsRequest.ProtoReflect.Descriptor instead.

func (*ListPublicationsRequest) GetName

func (x *ListPublicationsRequest) GetName() string

func (*ListPublicationsRequest) GetPageSize

func (x *ListPublicationsRequest) GetPageSize() int32

func (*ListPublicationsRequest) GetPageToken

func (x *ListPublicationsRequest) GetPageToken() string

func (*ListPublicationsRequest) GetReadMask

func (x *ListPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*ListPublicationsRequest) ProtoMessage

func (*ListPublicationsRequest) ProtoMessage()

func (*ListPublicationsRequest) ProtoReflect

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

func (*ListPublicationsRequest) Reset

func (x *ListPublicationsRequest) Reset()

func (*ListPublicationsRequest) String

func (x *ListPublicationsRequest) String() string

type ListPublicationsResponse

type ListPublicationsResponse struct {
	Publications []*Publication `protobuf:"bytes,1,rep,name=publications,proto3" json:"publications,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// If non-zero this is the total number of consumables.
	// This may be an estimate.
	TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublicationsResponse) Descriptor deprecated

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

Deprecated: Use ListPublicationsResponse.ProtoReflect.Descriptor instead.

func (*ListPublicationsResponse) GetNextPageToken

func (x *ListPublicationsResponse) GetNextPageToken() string

func (*ListPublicationsResponse) GetPublications

func (x *ListPublicationsResponse) GetPublications() []*Publication

func (*ListPublicationsResponse) GetTotalSize

func (x *ListPublicationsResponse) GetTotalSize() int32

func (*ListPublicationsResponse) ProtoMessage

func (*ListPublicationsResponse) ProtoMessage()

func (*ListPublicationsResponse) ProtoReflect

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

func (*ListPublicationsResponse) Reset

func (x *ListPublicationsResponse) Reset()

func (*ListPublicationsResponse) String

func (x *ListPublicationsResponse) String() string

type LockUnlock

type LockUnlock struct {

	// Position reports whether the device is locked or unlocked, or transitioning.
	Position LockUnlock_Position `protobuf:"varint,1,opt,name=position,proto3,enum=smartcore.traits.LockUnlock_Position" json:"position,omitempty"`
	// Jammed reports whether the lock has jammed and is unable to reach it's position.
	// Output only.
	Jammed bool `protobuf:"varint,2,opt,name=jammed,proto3" json:"jammed,omitempty"`
	// contains filtered or unexported fields
}

LockUnlock models the possible states of a lockable device.

func (*LockUnlock) Descriptor deprecated

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

Deprecated: Use LockUnlock.ProtoReflect.Descriptor instead.

func (*LockUnlock) GetJammed

func (x *LockUnlock) GetJammed() bool

func (*LockUnlock) GetPosition

func (x *LockUnlock) GetPosition() LockUnlock_Position

func (*LockUnlock) ProtoMessage

func (*LockUnlock) ProtoMessage()

func (*LockUnlock) ProtoReflect

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

func (*LockUnlock) Reset

func (x *LockUnlock) Reset()

func (*LockUnlock) String

func (x *LockUnlock) String() string

type LockUnlockApiClient

type LockUnlockApiClient interface {
	// Get the current lock position for the device.
	GetLockUnlock(ctx context.Context, in *GetLockUnlockRequest, opts ...grpc.CallOption) (*LockUnlock, error)
	// Update the lock position of the device.
	UpdateLockUnlock(ctx context.Context, in *UpdateLockUnlockRequest, opts ...grpc.CallOption) (*LockUnlock, error)
	// Subscribe to changes in the lock position for the device.
	PullLockUnlock(ctx context.Context, in *PullLockUnlockRequest, opts ...grpc.CallOption) (LockUnlockApi_PullLockUnlockClient, error)
}

LockUnlockApiClient is the client API for LockUnlockApi 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 LockUnlockApiServer

type LockUnlockApiServer interface {
	// Get the current lock position for the device.
	GetLockUnlock(context.Context, *GetLockUnlockRequest) (*LockUnlock, error)
	// Update the lock position of the device.
	UpdateLockUnlock(context.Context, *UpdateLockUnlockRequest) (*LockUnlock, error)
	// Subscribe to changes in the lock position for the device.
	PullLockUnlock(*PullLockUnlockRequest, LockUnlockApi_PullLockUnlockServer) error
	// contains filtered or unexported methods
}

LockUnlockApiServer is the server API for LockUnlockApi service. All implementations must embed UnimplementedLockUnlockApiServer for forward compatibility

type LockUnlockApi_PullLockUnlockClient

type LockUnlockApi_PullLockUnlockClient interface {
	Recv() (*PullLockUnlockResponse, error)
	grpc.ClientStream
}

type LockUnlockApi_PullLockUnlockServer

type LockUnlockApi_PullLockUnlockServer interface {
	Send(*PullLockUnlockResponse) error
	grpc.ServerStream
}

type LockUnlockInfoClient

type LockUnlockInfoClient interface {
}

LockUnlockInfoClient is the client API for LockUnlockInfo 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 LockUnlockInfoServer

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

LockUnlockInfoServer is the server API for LockUnlockInfo service. All implementations must embed UnimplementedLockUnlockInfoServer for forward compatibility

type LockUnlock_Position

type LockUnlock_Position int32

Position defines the possible lock positions. Note that only LOCKED and UNLOCKED can be used during a write.

const (
	// The lock position is unspecified.
	LockUnlock_POSITION_UNSPECIFIED LockUnlock_Position = 0
	// The device is locked.
	LockUnlock_LOCKED LockUnlock_Position = 1
	// The device is unlocked.
	LockUnlock_UNLOCKED LockUnlock_Position = 2
	// The device is in the process of locking.
	// Optional. Output only.
	LockUnlock_LOCKING LockUnlock_Position = 3
	// The device is in the process of unlocking.
	// Optional. Output only.
	LockUnlock_UNLOCKING LockUnlock_Position = 4
)

func (LockUnlock_Position) Descriptor

func (LockUnlock_Position) Enum

func (LockUnlock_Position) EnumDescriptor deprecated

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

Deprecated: Use LockUnlock_Position.Descriptor instead.

func (LockUnlock_Position) Number

func (LockUnlock_Position) String

func (x LockUnlock_Position) String() string

func (LockUnlock_Position) Type

type Metadata

type Metadata struct {

	// The canonical name for this device.
	Name   string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Traits []*TraitMetadata `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"`
	// Appearance describes properties of the device related to how it should be displayed on a user interface.
	Appearance *Metadata_Appearance `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"`
	// Location describes where the device is physically located.
	Location *Metadata_Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// ID records different IDs for the device across different systems.
	Id *Metadata_ID `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// Product describes the make and model of the device and who made it.
	Product *Metadata_Product `protobuf:"bytes,6,opt,name=product,proto3" json:"product,omitempty"`
	// Revision describes this exact version of the device.
	// Properties in Revision take president over fields in product.
	Revision *Metadata_Revision `protobuf:"bytes,7,opt,name=revision,proto3" json:"revision,omitempty"`
	// Installation records information about the devices installation.
	Installation *Metadata_Installation `protobuf:"bytes,8,opt,name=installation,proto3" json:"installation,omitempty"`
	// Nics describes the devices network interfaces.
	Nics []*Metadata_NIC `protobuf:"bytes,9,rep,name=nics,proto3" json:"nics,omitempty"`
	// Membership describes how this device is related to other devices.
	Membership *Metadata_Membership `protobuf:"bytes,10,opt,name=membership,proto3" json:"membership,omitempty"`
	// More contains any non-specified additional metadata that wouldn't fit into the other categories.
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata holds information about a device. The information properties are grouped based on the aspect of the device they relate to. The metadata object and each group may hold arbitrary data via the more property.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAppearance

func (x *Metadata) GetAppearance() *Metadata_Appearance

func (*Metadata) GetId

func (x *Metadata) GetId() *Metadata_ID

func (*Metadata) GetInstallation

func (x *Metadata) GetInstallation() *Metadata_Installation

func (*Metadata) GetLocation

func (x *Metadata) GetLocation() *Metadata_Location

func (*Metadata) GetMembership

func (x *Metadata) GetMembership() *Metadata_Membership

func (*Metadata) GetMore

func (x *Metadata) GetMore() map[string]string

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetNics

func (x *Metadata) GetNics() []*Metadata_NIC

func (*Metadata) GetProduct

func (x *Metadata) GetProduct() *Metadata_Product

func (*Metadata) GetRevision

func (x *Metadata) GetRevision() *Metadata_Revision

func (*Metadata) GetTraits

func (x *Metadata) GetTraits() []*TraitMetadata

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type MetadataApiClient

type MetadataApiClient interface {
	// GetMetadata returns information associated with the given name.
	GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*Metadata, error)
	// PullMetadata subscribes to changes in the information associated with the named device.
	PullMetadata(ctx context.Context, in *PullMetadataRequest, opts ...grpc.CallOption) (MetadataApi_PullMetadataClient, error)
}

MetadataApiClient is the client API for MetadataApi 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 MetadataApiServer

type MetadataApiServer interface {
	// GetMetadata returns information associated with the given name.
	GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error)
	// PullMetadata subscribes to changes in the information associated with the named device.
	PullMetadata(*PullMetadataRequest, MetadataApi_PullMetadataServer) error
	// contains filtered or unexported methods
}

MetadataApiServer is the server API for MetadataApi service. All implementations must embed UnimplementedMetadataApiServer for forward compatibility

type MetadataApi_PullMetadataClient

type MetadataApi_PullMetadataClient interface {
	Recv() (*PullMetadataResponse, error)
	grpc.ClientStream
}

type MetadataApi_PullMetadataServer

type MetadataApi_PullMetadataServer interface {
	Send(*PullMetadataResponse) error
	grpc.ServerStream
}

type MetadataInfoClient

type MetadataInfoClient interface {
}

MetadataInfoClient is the client API for MetadataInfo 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 MetadataInfoServer

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

MetadataInfoServer is the server API for MetadataInfo service. All implementations must embed UnimplementedMetadataInfoServer for forward compatibility

type Metadata_Appearance

type Metadata_Appearance struct {

	// Title holds the official name for the device.
	// For example "Reception Printer" or "MR1 AC Unit"
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Description holds additional detail about this device.
	// For example "The printer for floor 3".
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	More        map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Appearance) Descriptor deprecated

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

Deprecated: Use Metadata_Appearance.ProtoReflect.Descriptor instead.

func (*Metadata_Appearance) GetDescription

func (x *Metadata_Appearance) GetDescription() string

func (*Metadata_Appearance) GetMore

func (x *Metadata_Appearance) GetMore() map[string]string

func (*Metadata_Appearance) GetTitle

func (x *Metadata_Appearance) GetTitle() string

func (*Metadata_Appearance) ProtoMessage

func (*Metadata_Appearance) ProtoMessage()

func (*Metadata_Appearance) ProtoReflect

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

func (*Metadata_Appearance) Reset

func (x *Metadata_Appearance) Reset()

func (*Metadata_Appearance) String

func (x *Metadata_Appearance) String() string

type Metadata_ID

type Metadata_ID struct {
	SerialNumber string            `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	Bim          string            `protobuf:"bytes,2,opt,name=bim,proto3" json:"bim,omitempty"`
	Bacnet       string            `protobuf:"bytes,3,opt,name=bacnet,proto3" json:"bacnet,omitempty"`
	More         map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_ID) Descriptor deprecated

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

Deprecated: Use Metadata_ID.ProtoReflect.Descriptor instead.

func (*Metadata_ID) GetBacnet

func (x *Metadata_ID) GetBacnet() string

func (*Metadata_ID) GetBim

func (x *Metadata_ID) GetBim() string

func (*Metadata_ID) GetMore

func (x *Metadata_ID) GetMore() map[string]string

func (*Metadata_ID) GetSerialNumber

func (x *Metadata_ID) GetSerialNumber() string

func (*Metadata_ID) ProtoMessage

func (*Metadata_ID) ProtoMessage()

func (*Metadata_ID) ProtoReflect

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

func (*Metadata_ID) Reset

func (x *Metadata_ID) Reset()

func (*Metadata_ID) String

func (x *Metadata_ID) String() string

type Metadata_Installation

type Metadata_Installation struct {
	InstallTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"`
	ReplaceTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=replace_time,json=replaceTime,proto3" json:"replace_time,omitempty"`
	Installer   string                 `protobuf:"bytes,3,opt,name=installer,proto3" json:"installer,omitempty"`
	Labelled    bool                   `protobuf:"varint,4,opt,name=labelled,proto3" json:"labelled,omitempty"`
	LabelTime   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=label_time,json=labelTime,proto3" json:"label_time,omitempty"`
	More        map[string]string      `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Installation) Descriptor deprecated

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

Deprecated: Use Metadata_Installation.ProtoReflect.Descriptor instead.

func (*Metadata_Installation) GetInstallTime

func (x *Metadata_Installation) GetInstallTime() *timestamppb.Timestamp

func (*Metadata_Installation) GetInstaller

func (x *Metadata_Installation) GetInstaller() string

func (*Metadata_Installation) GetLabelTime

func (x *Metadata_Installation) GetLabelTime() *timestamppb.Timestamp

func (*Metadata_Installation) GetLabelled

func (x *Metadata_Installation) GetLabelled() bool

func (*Metadata_Installation) GetMore

func (x *Metadata_Installation) GetMore() map[string]string

func (*Metadata_Installation) GetReplaceTime

func (x *Metadata_Installation) GetReplaceTime() *timestamppb.Timestamp

func (*Metadata_Installation) ProtoMessage

func (*Metadata_Installation) ProtoMessage()

func (*Metadata_Installation) ProtoReflect

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

func (*Metadata_Installation) Reset

func (x *Metadata_Installation) Reset()

func (*Metadata_Installation) String

func (x *Metadata_Installation) String() string

type Metadata_Location

type Metadata_Location struct {

	// Title holds the official name for the location.
	// For example "Meeting Room 1"
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Description holds additional detail about the location.
	// For example "North-east project room".
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Architectural reference holds the reference for the location in architectural drawings.
	ArchitectureReference string `protobuf:"bytes,3,opt,name=architecture_reference,json=architectureReference,proto3" json:"architecture_reference,omitempty"`
	// The common name for the floor the device is located on.
	Floor string `protobuf:"bytes,4,opt,name=floor,proto3" json:"floor,omitempty"`
	// A user defined zone withing the building where the device is located.
	// Different buildings organise their spaces differently into groups or zones,
	// for example some buildings group by compass points: North and South, some by quarters.
	Zone string            `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"`
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Location) Descriptor deprecated

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

Deprecated: Use Metadata_Location.ProtoReflect.Descriptor instead.

func (*Metadata_Location) GetArchitectureReference

func (x *Metadata_Location) GetArchitectureReference() string

func (*Metadata_Location) GetDescription

func (x *Metadata_Location) GetDescription() string

func (*Metadata_Location) GetFloor

func (x *Metadata_Location) GetFloor() string

func (*Metadata_Location) GetMore

func (x *Metadata_Location) GetMore() map[string]string

func (*Metadata_Location) GetTitle

func (x *Metadata_Location) GetTitle() string

func (*Metadata_Location) GetZone

func (x *Metadata_Location) GetZone() string

func (*Metadata_Location) ProtoMessage

func (*Metadata_Location) ProtoMessage()

func (*Metadata_Location) ProtoReflect

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

func (*Metadata_Location) Reset

func (x *Metadata_Location) Reset()

func (*Metadata_Location) String

func (x *Metadata_Location) String() string

type Metadata_Membership

type Metadata_Membership struct {

	// Group holds a group name shared between this device and others.
	// This can be useful for displaying this device on interfaces.
	Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// Subsystem records which larger system this device is part of.
	// For example "BMS" or "Lighting"
	Subsystem string            `protobuf:"bytes,2,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
	More      map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Membership) Descriptor deprecated

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

Deprecated: Use Metadata_Membership.ProtoReflect.Descriptor instead.

func (*Metadata_Membership) GetGroup

func (x *Metadata_Membership) GetGroup() string

func (*Metadata_Membership) GetMore

func (x *Metadata_Membership) GetMore() map[string]string

func (*Metadata_Membership) GetSubsystem

func (x *Metadata_Membership) GetSubsystem() string

func (*Metadata_Membership) ProtoMessage

func (*Metadata_Membership) ProtoMessage()

func (*Metadata_Membership) ProtoReflect

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

func (*Metadata_Membership) Reset

func (x *Metadata_Membership) Reset()

func (*Metadata_Membership) String

func (x *Metadata_Membership) String() string

type Metadata_NIC

type Metadata_NIC struct {

	// The name of this NIC, if there is one.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The MAC address of this NIC.
	// May take any of the common MAC formatting options, case insensitive 001B638445E6, 00:1b:63:84:45:e6, or
	// 00-1B-63-84-45-E6.
	// Non-hexadecimal digits should be ignored, and it should not be longer than 17 characters long -
	// 12 digits in pairs + 5 separator chars.
	MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// The V4 or V6 IP address of the NIC.
	Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// The network (subnet) the NIC is on.
	// In the form `<ip>/<bits>`, the CIDR notation defined in RFC 4632 and RFC 4291.
	// Masked bits may be masked but are not required to be.
	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// The IP of the gateway.
	Gateway string `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// The IP of DNS servers, in priority order.
	Dns        []string                `protobuf:"bytes,6,rep,name=dns,proto3" json:"dns,omitempty"`
	Assignment Metadata_NIC_Assignment `protobuf:"varint,10,opt,name=assignment,proto3,enum=smartcore.traits.Metadata_NIC_Assignment" json:"assignment,omitempty"`
	More       map[string]string       `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_NIC) Descriptor deprecated

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

Deprecated: Use Metadata_NIC.ProtoReflect.Descriptor instead.

func (*Metadata_NIC) GetAssignment

func (x *Metadata_NIC) GetAssignment() Metadata_NIC_Assignment

func (*Metadata_NIC) GetDisplayName

func (x *Metadata_NIC) GetDisplayName() string

func (*Metadata_NIC) GetDns

func (x *Metadata_NIC) GetDns() []string

func (*Metadata_NIC) GetGateway

func (x *Metadata_NIC) GetGateway() string

func (*Metadata_NIC) GetIp

func (x *Metadata_NIC) GetIp() string

func (*Metadata_NIC) GetMacAddress

func (x *Metadata_NIC) GetMacAddress() string

func (*Metadata_NIC) GetMore

func (x *Metadata_NIC) GetMore() map[string]string

func (*Metadata_NIC) GetNetwork

func (x *Metadata_NIC) GetNetwork() string

func (*Metadata_NIC) ProtoMessage

func (*Metadata_NIC) ProtoMessage()

func (*Metadata_NIC) ProtoReflect

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

func (*Metadata_NIC) Reset

func (x *Metadata_NIC) Reset()

func (*Metadata_NIC) String

func (x *Metadata_NIC) String() string

type Metadata_NIC_Assignment

type Metadata_NIC_Assignment int32
const (
	Metadata_NIC_ASSIGNMENT_UNSPECIFIED Metadata_NIC_Assignment = 0
	Metadata_NIC_DHCP                   Metadata_NIC_Assignment = 1
	Metadata_NIC_STATIC                 Metadata_NIC_Assignment = 2
)

func (Metadata_NIC_Assignment) Descriptor

func (Metadata_NIC_Assignment) Enum

func (Metadata_NIC_Assignment) EnumDescriptor deprecated

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

Deprecated: Use Metadata_NIC_Assignment.Descriptor instead.

func (Metadata_NIC_Assignment) Number

func (Metadata_NIC_Assignment) String

func (x Metadata_NIC_Assignment) String() string

func (Metadata_NIC_Assignment) Type

type Metadata_Product

type Metadata_Product struct {
	Title           string                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Manufacturer    string                 `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	Model           string                 `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	HardwareVersion string                 `protobuf:"bytes,4,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
	FirmwareVersion string                 `protobuf:"bytes,5,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	SoftwareVersion string                 `protobuf:"bytes,6,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"`
	Kind            *Metadata_Product_Kind `protobuf:"bytes,7,opt,name=kind,proto3" json:"kind,omitempty"`
	More            map[string]string      `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Product) Descriptor deprecated

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

Deprecated: Use Metadata_Product.ProtoReflect.Descriptor instead.

func (*Metadata_Product) GetFirmwareVersion

func (x *Metadata_Product) GetFirmwareVersion() string

func (*Metadata_Product) GetHardwareVersion

func (x *Metadata_Product) GetHardwareVersion() string

func (*Metadata_Product) GetKind

func (*Metadata_Product) GetManufacturer

func (x *Metadata_Product) GetManufacturer() string

func (*Metadata_Product) GetModel

func (x *Metadata_Product) GetModel() string

func (*Metadata_Product) GetMore

func (x *Metadata_Product) GetMore() map[string]string

func (*Metadata_Product) GetSoftwareVersion

func (x *Metadata_Product) GetSoftwareVersion() string

func (*Metadata_Product) GetTitle

func (x *Metadata_Product) GetTitle() string

func (*Metadata_Product) ProtoMessage

func (*Metadata_Product) ProtoMessage()

func (*Metadata_Product) ProtoReflect

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

func (*Metadata_Product) Reset

func (x *Metadata_Product) Reset()

func (*Metadata_Product) String

func (x *Metadata_Product) String() string

type Metadata_Product_Kind

type Metadata_Product_Kind struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata_Product_Kind) Descriptor deprecated

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

Deprecated: Use Metadata_Product_Kind.ProtoReflect.Descriptor instead.

func (*Metadata_Product_Kind) GetCode

func (x *Metadata_Product_Kind) GetCode() string

func (*Metadata_Product_Kind) GetTitle

func (x *Metadata_Product_Kind) GetTitle() string

func (*Metadata_Product_Kind) ProtoMessage

func (*Metadata_Product_Kind) ProtoMessage()

func (*Metadata_Product_Kind) ProtoReflect

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

func (*Metadata_Product_Kind) Reset

func (x *Metadata_Product_Kind) Reset()

func (*Metadata_Product_Kind) String

func (x *Metadata_Product_Kind) String() string

type Metadata_Revision

type Metadata_Revision struct {
	Title           string                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	ManufactureDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=manufacture_date,json=manufactureDate,proto3" json:"manufacture_date,omitempty"`
	Model           string                 `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	HardwareVersion string                 `protobuf:"bytes,4,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
	FirmwareVersion string                 `protobuf:"bytes,5,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	SoftwareVersion string                 `protobuf:"bytes,6,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"`
	Batch           string                 `protobuf:"bytes,7,opt,name=batch,proto3" json:"batch,omitempty"`
	More            map[string]string      `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata_Revision) Descriptor deprecated

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

Deprecated: Use Metadata_Revision.ProtoReflect.Descriptor instead.

func (*Metadata_Revision) GetBatch

func (x *Metadata_Revision) GetBatch() string

func (*Metadata_Revision) GetFirmwareVersion

func (x *Metadata_Revision) GetFirmwareVersion() string

func (*Metadata_Revision) GetHardwareVersion

func (x *Metadata_Revision) GetHardwareVersion() string

func (*Metadata_Revision) GetManufactureDate

func (x *Metadata_Revision) GetManufactureDate() *timestamppb.Timestamp

func (*Metadata_Revision) GetModel

func (x *Metadata_Revision) GetModel() string

func (*Metadata_Revision) GetMore

func (x *Metadata_Revision) GetMore() map[string]string

func (*Metadata_Revision) GetSoftwareVersion

func (x *Metadata_Revision) GetSoftwareVersion() string

func (*Metadata_Revision) GetTitle

func (x *Metadata_Revision) GetTitle() string

func (*Metadata_Revision) ProtoMessage

func (*Metadata_Revision) ProtoMessage()

func (*Metadata_Revision) ProtoReflect

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

func (*Metadata_Revision) Reset

func (x *Metadata_Revision) Reset()

func (*Metadata_Revision) String

func (x *Metadata_Revision) String() string

type MicrophoneApiClient

type MicrophoneApiClient interface {
	// Get the current state of the gain for the device
	GetGain(ctx context.Context, in *GetMicrophoneGainRequest, opts ...grpc.CallOption) (*types.AudioLevel, error)
	// update the gain state for the device
	UpdateGain(ctx context.Context, in *UpdateMicrophoneGainRequest, opts ...grpc.CallOption) (*types.AudioLevel, error)
	PullGain(ctx context.Context, in *PullMicrophoneGainRequest, opts ...grpc.CallOption) (MicrophoneApi_PullGainClient, error)
}

MicrophoneApiClient is the client API for MicrophoneApi 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 MicrophoneApiServer

type MicrophoneApiServer interface {
	// Get the current state of the gain for the device
	GetGain(context.Context, *GetMicrophoneGainRequest) (*types.AudioLevel, error)
	// update the gain state for the device
	UpdateGain(context.Context, *UpdateMicrophoneGainRequest) (*types.AudioLevel, error)
	PullGain(*PullMicrophoneGainRequest, MicrophoneApi_PullGainServer) error
	// contains filtered or unexported methods
}

MicrophoneApiServer is the server API for MicrophoneApi service. All implementations must embed UnimplementedMicrophoneApiServer for forward compatibility

type MicrophoneApi_PullGainClient

type MicrophoneApi_PullGainClient interface {
	Recv() (*PullMicrophoneGainResponse, error)
	grpc.ClientStream
}

type MicrophoneApi_PullGainServer

type MicrophoneApi_PullGainServer interface {
	Send(*PullMicrophoneGainResponse) error
	grpc.ServerStream
}

type MicrophoneInfoClient

type MicrophoneInfoClient interface {
	// Get information about how a named device implements Gain features
	DescribeGain(ctx context.Context, in *DescribeGainRequest, opts ...grpc.CallOption) (*GainSupport, error)
}

MicrophoneInfoClient is the client API for MicrophoneInfo 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 MicrophoneInfoServer

type MicrophoneInfoServer interface {
	// Get information about how a named device implements Gain features
	DescribeGain(context.Context, *DescribeGainRequest) (*GainSupport, error)
	// contains filtered or unexported methods
}

MicrophoneInfoServer is the server API for MicrophoneInfo service. All implementations must embed UnimplementedMicrophoneInfoServer for forward compatibility

type ModeApiClient

type ModeApiClient interface {
	// GetModeValues returns the current state for all modes for a device.
	GetModeValues(ctx context.Context, in *GetModeValuesRequest, opts ...grpc.CallOption) (*ModeValues, error)
	// UpdateModeValues sets the current mode for the device.
	// Multiple modes may be set at the same time.
	// The device may error if setting a mode that is not supported, in any case the returned ModeValues contains the
	// state after the update.
	// Relative updates to the mode may either cap or wrap the mode value if adjusting the value relatively would either
	// underflow or overflow the available modes.
	UpdateModeValues(ctx context.Context, in *UpdateModeValuesRequest, opts ...grpc.CallOption) (*ModeValues, error)
	// PullModeValues returns a stream of updates to the modes set on the device.
	PullModeValues(ctx context.Context, in *PullModeValuesRequest, opts ...grpc.CallOption) (ModeApi_PullModeValuesClient, error)
}

ModeApiClient is the client API for ModeApi 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.

func NewModeApiClient

func NewModeApiClient(cc grpc.ClientConnInterface) ModeApiClient

type ModeApiServer

type ModeApiServer interface {
	// GetModeValues returns the current state for all modes for a device.
	GetModeValues(context.Context, *GetModeValuesRequest) (*ModeValues, error)
	// UpdateModeValues sets the current mode for the device.
	// Multiple modes may be set at the same time.
	// The device may error if setting a mode that is not supported, in any case the returned ModeValues contains the
	// state after the update.
	// Relative updates to the mode may either cap or wrap the mode value if adjusting the value relatively would either
	// underflow or overflow the available modes.
	UpdateModeValues(context.Context, *UpdateModeValuesRequest) (*ModeValues, error)
	// PullModeValues returns a stream of updates to the modes set on the device.
	PullModeValues(*PullModeValuesRequest, ModeApi_PullModeValuesServer) error
	// contains filtered or unexported methods
}

ModeApiServer is the server API for ModeApi service. All implementations must embed UnimplementedModeApiServer for forward compatibility

type ModeApi_PullModeValuesClient

type ModeApi_PullModeValuesClient interface {
	Recv() (*PullModeValuesResponse, error)
	grpc.ClientStream
}

type ModeApi_PullModeValuesServer

type ModeApi_PullModeValuesServer interface {
	Send(*PullModeValuesResponse) error
	grpc.ServerStream
}

type ModeInfoClient

type ModeInfoClient interface {
	// Get information about how a named device implements Modes features
	DescribeModes(ctx context.Context, in *DescribeModesRequest, opts ...grpc.CallOption) (*ModesSupport, error)
}

ModeInfoClient is the client API for ModeInfo 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.

func NewModeInfoClient

func NewModeInfoClient(cc grpc.ClientConnInterface) ModeInfoClient

type ModeInfoServer

type ModeInfoServer interface {
	// Get information about how a named device implements Modes features
	DescribeModes(context.Context, *DescribeModesRequest) (*ModesSupport, error)
	// contains filtered or unexported methods
}

ModeInfoServer is the server API for ModeInfo service. All implementations must embed UnimplementedModeInfoServer for forward compatibility

type ModeValues

type ModeValues struct {

	// Values, keyed by the mode name, reports the current mode value name active on the device.
	// For example {"temperature": "cool"}
	Values map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ModeValues describes the current value for each available mode on a device.

func (*ModeValues) Descriptor deprecated

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

Deprecated: Use ModeValues.ProtoReflect.Descriptor instead.

func (*ModeValues) GetValues

func (x *ModeValues) GetValues() map[string]string

func (*ModeValues) ProtoMessage

func (*ModeValues) ProtoMessage()

func (*ModeValues) ProtoReflect

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

func (*ModeValues) Reset

func (x *ModeValues) Reset()

func (*ModeValues) String

func (x *ModeValues) String() string

type ModeValuesRelative

type ModeValuesRelative struct {
	Values map[string]int32 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

ModeValuesRelative describes how a mode should change relative to its current value. For example {"temperature": -1} might adjust the "temperature" mode from "warm" to "cool".

func (*ModeValuesRelative) Descriptor deprecated

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

Deprecated: Use ModeValuesRelative.ProtoReflect.Descriptor instead.

func (*ModeValuesRelative) GetValues

func (x *ModeValuesRelative) GetValues() map[string]int32

func (*ModeValuesRelative) ProtoMessage

func (*ModeValuesRelative) ProtoMessage()

func (*ModeValuesRelative) ProtoReflect

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

func (*ModeValuesRelative) Reset

func (x *ModeValuesRelative) Reset()

func (*ModeValuesRelative) String

func (x *ModeValuesRelative) String() string

type Modes

type Modes struct {

	// Modes holds the list of supported modes for a device.
	Modes []*Modes_Mode `protobuf:"bytes,1,rep,name=modes,proto3" json:"modes,omitempty"`
	// contains filtered or unexported fields
}

Modes describes the modes available on a device.

func (*Modes) Descriptor deprecated

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

Deprecated: Use Modes.ProtoReflect.Descriptor instead.

func (*Modes) GetModes

func (x *Modes) GetModes() []*Modes_Mode

func (*Modes) ProtoMessage

func (*Modes) ProtoMessage()

func (*Modes) ProtoReflect

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

func (*Modes) Reset

func (x *Modes) Reset()

func (*Modes) String

func (x *Modes) String() string

type ModesSupport

type ModesSupport struct {

	// How a named device supports read/write/pull apis for mode values
	ModeValuesSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=mode_values_support,json=modeValuesSupport,proto3" json:"mode_values_support,omitempty"`
	// AvailableModes holds the list of modes the device supports.
	AvailableModes *Modes `protobuf:"bytes,2,opt,name=available_modes,json=availableModes,proto3" json:"available_modes,omitempty"`
	// contains filtered or unexported fields
}

func (*ModesSupport) Descriptor deprecated

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

Deprecated: Use ModesSupport.ProtoReflect.Descriptor instead.

func (*ModesSupport) GetAvailableModes

func (x *ModesSupport) GetAvailableModes() *Modes

func (*ModesSupport) GetModeValuesSupport

func (x *ModesSupport) GetModeValuesSupport() *types.ResourceSupport

func (*ModesSupport) ProtoMessage

func (*ModesSupport) ProtoMessage()

func (*ModesSupport) ProtoReflect

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

func (*ModesSupport) Reset

func (x *ModesSupport) Reset()

func (*ModesSupport) String

func (x *ModesSupport) String() string

type Modes_Mode

type Modes_Mode struct {

	// Name is use to refer to this mode in ModeValues or ModeAdjustments.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Values is the list of available values this mode supports.
	Values []*Modes_Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// If true, the values this mode support can be considered ordered.
	// For example ["fast", "normal", "slow"] are ordered, ["joined", "split"] are not.
	Ordered bool `protobuf:"varint,3,opt,name=ordered,proto3" json:"ordered,omitempty"`
	// contains filtered or unexported fields
}

Mode describes a controllable aspect of the device. For example "spin_speed" or "divisible_state".

func (*Modes_Mode) Descriptor deprecated

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

Deprecated: Use Modes_Mode.ProtoReflect.Descriptor instead.

func (*Modes_Mode) GetName

func (x *Modes_Mode) GetName() string

func (*Modes_Mode) GetOrdered

func (x *Modes_Mode) GetOrdered() bool

func (*Modes_Mode) GetValues

func (x *Modes_Mode) GetValues() []*Modes_Value

func (*Modes_Mode) ProtoMessage

func (*Modes_Mode) ProtoMessage()

func (*Modes_Mode) ProtoReflect

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

func (*Modes_Mode) Reset

func (x *Modes_Mode) Reset()

func (*Modes_Mode) String

func (x *Modes_Mode) String() string

type Modes_Value

type Modes_Value struct {

	// Name is used to refer to this value in ModeValues.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Value describes a specific setting for a mode.

func (*Modes_Value) Descriptor deprecated

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

Deprecated: Use Modes_Value.ProtoReflect.Descriptor instead.

func (*Modes_Value) GetName

func (x *Modes_Value) GetName() string

func (*Modes_Value) ProtoMessage

func (*Modes_Value) ProtoMessage()

func (*Modes_Value) ProtoReflect

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

func (*Modes_Value) Reset

func (x *Modes_Value) Reset()

func (*Modes_Value) String

func (x *Modes_Value) String() string

type MotionDetection

type MotionDetection struct {

	// has motion been detected or not
	State MotionDetection_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.MotionDetection_State" json:"state,omitempty"`
	// The time the state last changed
	StateChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=state_change_time,json=stateChangeTime,proto3" json:"state_change_time,omitempty"`
	// contains filtered or unexported fields
}

the current state of the motion sensor

func (*MotionDetection) Descriptor deprecated

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

Deprecated: Use MotionDetection.ProtoReflect.Descriptor instead.

func (*MotionDetection) GetState

func (x *MotionDetection) GetState() MotionDetection_State

func (*MotionDetection) GetStateChangeTime

func (x *MotionDetection) GetStateChangeTime() *timestamppb.Timestamp

func (*MotionDetection) ProtoMessage

func (*MotionDetection) ProtoMessage()

func (*MotionDetection) ProtoReflect

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

func (*MotionDetection) Reset

func (x *MotionDetection) Reset()

func (*MotionDetection) String

func (x *MotionDetection) String() string

type MotionDetectionSupport

type MotionDetectionSupport struct {

	// How a named device supports read/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// How long the device is configured to wait before reporting a state of NOT_DETECTED
	NotDetectedDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=not_detected_delay,json=notDetectedDelay,proto3" json:"not_detected_delay,omitempty"`
	// contains filtered or unexported fields
}

MotionDetectionSupport describes the capabilities of devices implementing this trait

func (*MotionDetectionSupport) Descriptor deprecated

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

Deprecated: Use MotionDetectionSupport.ProtoReflect.Descriptor instead.

func (*MotionDetectionSupport) GetNotDetectedDelay

func (x *MotionDetectionSupport) GetNotDetectedDelay() *durationpb.Duration

func (*MotionDetectionSupport) GetResourceSupport

func (x *MotionDetectionSupport) GetResourceSupport() *types.ResourceSupport

func (*MotionDetectionSupport) ProtoMessage

func (*MotionDetectionSupport) ProtoMessage()

func (*MotionDetectionSupport) ProtoReflect

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

func (*MotionDetectionSupport) Reset

func (x *MotionDetectionSupport) Reset()

func (*MotionDetectionSupport) String

func (x *MotionDetectionSupport) String() string

type MotionDetection_State

type MotionDetection_State int32

Possible states for motion detected

const (
	// The state has not been specified.
	MotionDetection_STATE_UNSPECIFIED MotionDetection_State = 0
	// No motion is detected, or has been detected within the not_detected_delay period
	MotionDetection_NOT_DETECTED MotionDetection_State = 1
	// Motion has been detected by the device.
	MotionDetection_DETECTED MotionDetection_State = 2
)

func (MotionDetection_State) Descriptor

func (MotionDetection_State) Enum

func (MotionDetection_State) EnumDescriptor deprecated

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

Deprecated: Use MotionDetection_State.Descriptor instead.

func (MotionDetection_State) Number

func (MotionDetection_State) String

func (x MotionDetection_State) String() string

func (MotionDetection_State) Type

type MotionSensorApiClient

type MotionSensorApiClient interface {
	// Get the current motion state for the device.
	GetMotionDetection(ctx context.Context, in *GetMotionDetectionRequest, opts ...grpc.CallOption) (*MotionDetection, error)
	// subscribe to changes in the motion state for the device.
	PullMotionDetections(ctx context.Context, in *PullMotionDetectionRequest, opts ...grpc.CallOption) (MotionSensorApi_PullMotionDetectionsClient, error)
}

MotionSensorApiClient is the client API for MotionSensorApi 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 MotionSensorApiServer

type MotionSensorApiServer interface {
	// Get the current motion state for the device.
	GetMotionDetection(context.Context, *GetMotionDetectionRequest) (*MotionDetection, error)
	// subscribe to changes in the motion state for the device.
	PullMotionDetections(*PullMotionDetectionRequest, MotionSensorApi_PullMotionDetectionsServer) error
	// contains filtered or unexported methods
}

MotionSensorApiServer is the server API for MotionSensorApi service. All implementations must embed UnimplementedMotionSensorApiServer for forward compatibility

type MotionSensorApi_PullMotionDetectionsClient

type MotionSensorApi_PullMotionDetectionsClient interface {
	Recv() (*PullMotionDetectionResponse, error)
	grpc.ClientStream
}

type MotionSensorApi_PullMotionDetectionsServer

type MotionSensorApi_PullMotionDetectionsServer interface {
	Send(*PullMotionDetectionResponse) error
	grpc.ServerStream
}

type MotionSensorSensorInfoClient

type MotionSensorSensorInfoClient interface {
	// Get information about how a named device implements MotionDetection measurements
	DescribeMotionDetection(ctx context.Context, in *DescribeMotionDetectionRequest, opts ...grpc.CallOption) (*MotionDetectionSupport, error)
}

MotionSensorSensorInfoClient is the client API for MotionSensorSensorInfo 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 MotionSensorSensorInfoServer

type MotionSensorSensorInfoServer interface {
	// Get information about how a named device implements MotionDetection measurements
	DescribeMotionDetection(context.Context, *DescribeMotionDetectionRequest) (*MotionDetectionSupport, error)
	// contains filtered or unexported methods
}

MotionSensorSensorInfoServer is the server API for MotionSensorSensorInfo service. All implementations must embed UnimplementedMotionSensorSensorInfoServer for forward compatibility

type Occupancy

type Occupancy struct {

	// The current occupancy state
	State Occupancy_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.Occupancy_State" json:"state,omitempty"`
	// The total number of people the occupancy sensor has detected. Do NOT use this value as an indication of occupancy
	// state, a value of 0 could be reported for a space that is occupied if the device either doesn't support people
	// counts or there is some other undefined issue with the counting part of the sensor suite.
	PeopleCount int32 `protobuf:"varint,2,opt,name=people_count,json=peopleCount,proto3" json:"people_count,omitempty"`
	// When the occupancy state last changed. Does not update when people_count changes unlike the timestamp in
	// OccupancyChange events
	StateChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=state_change_time,json=stateChangeTime,proto3" json:"state_change_time,omitempty"`
	// Optional. List of human readable strings explaining why the device thinks the space is in the current state. For
	// example could say OCCUPIED:["Detected people in space"] or IDLE:["No motion detected for 10 minutes"]. Typically
	// used for debugging or troubleshooting purposes.
	Reasons []string `protobuf:"bytes,4,rep,name=reasons,proto3" json:"reasons,omitempty"`
	// Optional. How confident is the sensor that the current occupancy state is accurate. A value of 0 means that the
	// confidence is unknown
	Confidence float64 `protobuf:"fixed64,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

The occupancy state the device is reporting and updating

func (*Occupancy) Descriptor deprecated

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

Deprecated: Use Occupancy.ProtoReflect.Descriptor instead.

func (*Occupancy) GetConfidence

func (x *Occupancy) GetConfidence() float64

func (*Occupancy) GetPeopleCount

func (x *Occupancy) GetPeopleCount() int32

func (*Occupancy) GetReasons

func (x *Occupancy) GetReasons() []string

func (*Occupancy) GetState

func (x *Occupancy) GetState() Occupancy_State

func (*Occupancy) GetStateChangeTime

func (x *Occupancy) GetStateChangeTime() *timestamppb.Timestamp

func (*Occupancy) ProtoMessage

func (*Occupancy) ProtoMessage()

func (*Occupancy) ProtoReflect

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

func (*Occupancy) Reset

func (x *Occupancy) Reset()

func (*Occupancy) String

func (x *Occupancy) String() string

type OccupancySensorApiClient

type OccupancySensorApiClient interface {
	// Get the current motion state for the device.
	GetOccupancy(ctx context.Context, in *GetOccupancyRequest, opts ...grpc.CallOption) (*Occupancy, error)
	// subscribe to changes in the motion state for the device.
	PullOccupancy(ctx context.Context, in *PullOccupancyRequest, opts ...grpc.CallOption) (OccupancySensorApi_PullOccupancyClient, error)
}

OccupancySensorApiClient is the client API for OccupancySensorApi 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 OccupancySensorApiServer

type OccupancySensorApiServer interface {
	// Get the current motion state for the device.
	GetOccupancy(context.Context, *GetOccupancyRequest) (*Occupancy, error)
	// subscribe to changes in the motion state for the device.
	PullOccupancy(*PullOccupancyRequest, OccupancySensorApi_PullOccupancyServer) error
	// contains filtered or unexported methods
}

OccupancySensorApiServer is the server API for OccupancySensorApi service. All implementations must embed UnimplementedOccupancySensorApiServer for forward compatibility

type OccupancySensorApi_PullOccupancyClient

type OccupancySensorApi_PullOccupancyClient interface {
	Recv() (*PullOccupancyResponse, error)
	grpc.ClientStream
}

type OccupancySensorApi_PullOccupancyServer

type OccupancySensorApi_PullOccupancyServer interface {
	Send(*PullOccupancyResponse) error
	grpc.ServerStream
}

type OccupancySensorInfoClient

type OccupancySensorInfoClient interface {
	// Get information about how a named device implements Occupancy measurements
	DescribeOccupancy(ctx context.Context, in *DescribeOccupancyRequest, opts ...grpc.CallOption) (*OccupancySupport, error)
}

OccupancySensorInfoClient is the client API for OccupancySensorInfo 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 OccupancySensorInfoServer

type OccupancySensorInfoServer interface {
	// Get information about how a named device implements Occupancy measurements
	DescribeOccupancy(context.Context, *DescribeOccupancyRequest) (*OccupancySupport, error)
	// contains filtered or unexported methods
}

OccupancySensorInfoServer is the server API for OccupancySensorInfo service. All implementations must embed UnimplementedOccupancySensorInfoServer for forward compatibility

type OccupancySupport

type OccupancySupport struct {

	// How a named device supports read/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// how many people can the occupancy service report. 0 means it won't report people counts. Note: this is _not_ the
	// total capacity for the space, it's the capacity of the sensor
	MaxPeople int32 `protobuf:"varint,2,opt,name=max_people,json=maxPeople,proto3" json:"max_people,omitempty"`
	// contains filtered or unexported fields
}

OccupancySupport describes the capabilities of devices implementing this trait

func (*OccupancySupport) Descriptor deprecated

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

Deprecated: Use OccupancySupport.ProtoReflect.Descriptor instead.

func (*OccupancySupport) GetMaxPeople

func (x *OccupancySupport) GetMaxPeople() int32

func (*OccupancySupport) GetResourceSupport

func (x *OccupancySupport) GetResourceSupport() *types.ResourceSupport

func (*OccupancySupport) ProtoMessage

func (*OccupancySupport) ProtoMessage()

func (*OccupancySupport) ProtoReflect

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

func (*OccupancySupport) Reset

func (x *OccupancySupport) Reset()

func (*OccupancySupport) String

func (x *OccupancySupport) String() string

type Occupancy_State

type Occupancy_State int32

Possible states for occupancy

const (
	// There are no signals to suggest either an occupied or unoccupied space
	Occupancy_STATE_UNSPECIFIED Occupancy_State = 0
	// The space is occupied
	Occupancy_OCCUPIED Occupancy_State = 1
	// The space is unoccupied
	Occupancy_UNOCCUPIED Occupancy_State = 2
	// The space is likely occupied but some signals suggest that no activity is occurring (i.e. people are asleep or not
	// moving for other reasons)
	Occupancy_IDLE Occupancy_State = 3
)

func (Occupancy_State) Descriptor

func (Occupancy_State) Enum

func (x Occupancy_State) Enum() *Occupancy_State

func (Occupancy_State) EnumDescriptor deprecated

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

Deprecated: Use Occupancy_State.Descriptor instead.

func (Occupancy_State) Number

func (Occupancy_State) String

func (x Occupancy_State) String() string

func (Occupancy_State) Type

type OnOff

type OnOff struct {
	State OnOff_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.OnOff_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*OnOff) Descriptor deprecated

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

Deprecated: Use OnOff.ProtoReflect.Descriptor instead.

func (*OnOff) GetState

func (x *OnOff) GetState() OnOff_State

func (*OnOff) ProtoMessage

func (*OnOff) ProtoMessage()

func (*OnOff) ProtoReflect

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

func (*OnOff) Reset

func (x *OnOff) Reset()

func (*OnOff) String

func (x *OnOff) String() string

type OnOffApiClient

type OnOffApiClient interface {
	// Get the current state of the device
	GetOnOff(ctx context.Context, in *GetOnOffRequest, opts ...grpc.CallOption) (*OnOff, error)
	// Update the device to be on or off
	UpdateOnOff(ctx context.Context, in *UpdateOnOffRequest, opts ...grpc.CallOption) (*OnOff, error)
	// Get notified of changes to the OnOff state of a device
	PullOnOff(ctx context.Context, in *PullOnOffRequest, opts ...grpc.CallOption) (OnOffApi_PullOnOffClient, error)
}

OnOffApiClient is the client API for OnOffApi 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.

func NewOnOffApiClient

func NewOnOffApiClient(cc grpc.ClientConnInterface) OnOffApiClient

type OnOffApiServer

type OnOffApiServer interface {
	// Get the current state of the device
	GetOnOff(context.Context, *GetOnOffRequest) (*OnOff, error)
	// Update the device to be on or off
	UpdateOnOff(context.Context, *UpdateOnOffRequest) (*OnOff, error)
	// Get notified of changes to the OnOff state of a device
	PullOnOff(*PullOnOffRequest, OnOffApi_PullOnOffServer) error
	// contains filtered or unexported methods
}

OnOffApiServer is the server API for OnOffApi service. All implementations must embed UnimplementedOnOffApiServer for forward compatibility

type OnOffApi_PullOnOffClient

type OnOffApi_PullOnOffClient interface {
	Recv() (*PullOnOffResponse, error)
	grpc.ClientStream
}

type OnOffApi_PullOnOffServer

type OnOffApi_PullOnOffServer interface {
	Send(*PullOnOffResponse) error
	grpc.ServerStream
}

type OnOffInfoClient

type OnOffInfoClient interface {
	// Get information about how a named device implements OnOff features
	DescribeOnOff(ctx context.Context, in *DescribeOnOffRequest, opts ...grpc.CallOption) (*OnOffSupport, error)
}

OnOffInfoClient is the client API for OnOffInfo 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.

func NewOnOffInfoClient

func NewOnOffInfoClient(cc grpc.ClientConnInterface) OnOffInfoClient

type OnOffInfoServer

type OnOffInfoServer interface {
	// Get information about how a named device implements OnOff features
	DescribeOnOff(context.Context, *DescribeOnOffRequest) (*OnOffSupport, error)
	// contains filtered or unexported methods
}

OnOffInfoServer is the server API for OnOffInfo service. All implementations must embed UnimplementedOnOffInfoServer for forward compatibility

type OnOffSupport

type OnOffSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// contains filtered or unexported fields
}

OnOffSupport describes the capabilities of devices implementing this trait

func (*OnOffSupport) Descriptor deprecated

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

Deprecated: Use OnOffSupport.ProtoReflect.Descriptor instead.

func (*OnOffSupport) GetResourceSupport

func (x *OnOffSupport) GetResourceSupport() *types.ResourceSupport

func (*OnOffSupport) ProtoMessage

func (*OnOffSupport) ProtoMessage()

func (*OnOffSupport) ProtoReflect

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

func (*OnOffSupport) Reset

func (x *OnOffSupport) Reset()

func (*OnOffSupport) String

func (x *OnOffSupport) String() string

type OnOff_State

type OnOff_State int32

Possible states for an On-Off device

const (
	OnOff_STATE_UNSPECIFIED OnOff_State = 0
	OnOff_ON                OnOff_State = 1
	OnOff_OFF               OnOff_State = 2
)

func (OnOff_State) Descriptor

func (OnOff_State) Enum

func (x OnOff_State) Enum() *OnOff_State

func (OnOff_State) EnumDescriptor deprecated

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

Deprecated: Use OnOff_State.Descriptor instead.

func (OnOff_State) Number

func (x OnOff_State) Number() protoreflect.EnumNumber

func (OnOff_State) String

func (x OnOff_State) String() string

func (OnOff_State) Type

type OpenCloseApiClient

type OpenCloseApiClient interface {
	GetPositions(ctx context.Context, in *GetOpenClosePositionsRequest, opts ...grpc.CallOption) (*OpenClosePositions, error)
	UpdatePositions(ctx context.Context, in *UpdateOpenClosePositionsRequest, opts ...grpc.CallOption) (*OpenClosePositions, error)
	// Stop causes any changes being performed by the underlying device to stop. Will return the current state.
	Stop(ctx context.Context, in *StopOpenCloseRequest, opts ...grpc.CallOption) (*OpenClosePositions, error)
	// Get notified of changes to the OpenCloseState of a device
	PullPositions(ctx context.Context, in *PullOpenClosePositionsRequest, opts ...grpc.CallOption) (OpenCloseApi_PullPositionsClient, error)
}

OpenCloseApiClient is the client API for OpenCloseApi 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 OpenCloseApiServer

type OpenCloseApiServer interface {
	GetPositions(context.Context, *GetOpenClosePositionsRequest) (*OpenClosePositions, error)
	UpdatePositions(context.Context, *UpdateOpenClosePositionsRequest) (*OpenClosePositions, error)
	// Stop causes any changes being performed by the underlying device to stop. Will return the current state.
	Stop(context.Context, *StopOpenCloseRequest) (*OpenClosePositions, error)
	// Get notified of changes to the OpenCloseState of a device
	PullPositions(*PullOpenClosePositionsRequest, OpenCloseApi_PullPositionsServer) error
	// contains filtered or unexported methods
}

OpenCloseApiServer is the server API for OpenCloseApi service. All implementations must embed UnimplementedOpenCloseApiServer for forward compatibility

type OpenCloseApi_PullPositionsClient

type OpenCloseApi_PullPositionsClient interface {
	Recv() (*PullOpenClosePositionsResponse, error)
	grpc.ClientStream
}

type OpenCloseApi_PullPositionsServer

type OpenCloseApi_PullPositionsServer interface {
	Send(*PullOpenClosePositionsResponse) error
	grpc.ServerStream
}

type OpenCloseInfoClient

type OpenCloseInfoClient interface {
	// Get information about how a named device implements Positions features
	DescribePositions(ctx context.Context, in *DescribePositionsRequest, opts ...grpc.CallOption) (*PositionsSupport, error)
}

OpenCloseInfoClient is the client API for OpenCloseInfo 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 OpenCloseInfoServer

type OpenCloseInfoServer interface {
	// Get information about how a named device implements Positions features
	DescribePositions(context.Context, *DescribePositionsRequest) (*PositionsSupport, error)
	// contains filtered or unexported methods
}

OpenCloseInfoServer is the server API for OpenCloseInfo service. All implementations must embed UnimplementedOpenCloseInfoServer for forward compatibility

type OpenClosePosition

type OpenClosePosition struct {

	// Open percent describes how open the device is in the specified direction.
	// [0-100] where 0 is fully closed and 100 is fully open.
	OpenPercent float32 `protobuf:"fixed32,1,opt,name=open_percent,json=openPercent,proto3" json:"open_percent,omitempty"`
	// How the open percent changes or should change over time. On write, only duration should be set.
	OpenPercentTween *types.Tween `protobuf:"bytes,2,opt,name=open_percent_tween,json=openPercentTween,proto3" json:"open_percent_tween,omitempty"`
	// Read-only, the target open_percent after a transition
	TargetOpenPercent float32 `protobuf:"fixed32,3,opt,name=target_open_percent,json=targetOpenPercent,proto3" json:"target_open_percent,omitempty"`
	// Optional direction for devices that support multiple open/close directions
	Direction OpenClosePosition_Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=smartcore.traits.OpenClosePosition_Direction" json:"direction,omitempty"`
	// Resistance reports if there is any resistance preventing the position from being fully achieved.
	// For example if a door is being held open, or a window is jammed closed.
	//
	// If more than one resistance applies choose the resistance value with the smaller ordinal, for example choose
	// REDUCED_MOTION over SLOW if both apply.
	Resistance OpenClosePosition_Resistance `protobuf:"varint,5,opt,name=resistance,proto3,enum=smartcore.traits.OpenClosePosition_Resistance" json:"resistance,omitempty"`
	// contains filtered or unexported fields
}

Defines the position of one open close element for the device

func (*OpenClosePosition) Descriptor deprecated

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

Deprecated: Use OpenClosePosition.ProtoReflect.Descriptor instead.

func (*OpenClosePosition) GetDirection

func (*OpenClosePosition) GetOpenPercent

func (x *OpenClosePosition) GetOpenPercent() float32

func (*OpenClosePosition) GetOpenPercentTween

func (x *OpenClosePosition) GetOpenPercentTween() *types.Tween

func (*OpenClosePosition) GetResistance

func (*OpenClosePosition) GetTargetOpenPercent

func (x *OpenClosePosition) GetTargetOpenPercent() float32

func (*OpenClosePosition) ProtoMessage

func (*OpenClosePosition) ProtoMessage()

func (*OpenClosePosition) ProtoReflect

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

func (*OpenClosePosition) Reset

func (x *OpenClosePosition) Reset()

func (*OpenClosePosition) String

func (x *OpenClosePosition) String() string

type OpenClosePosition_Direction

type OpenClosePosition_Direction int32

Possible directions the device can open/close

const (
	OpenClosePosition_DIRECTION_UNSPECIFIED OpenClosePosition_Direction = 0
	OpenClosePosition_UP                    OpenClosePosition_Direction = 1
	OpenClosePosition_DOWN                  OpenClosePosition_Direction = 2
	OpenClosePosition_LEFT                  OpenClosePosition_Direction = 3
	OpenClosePosition_RIGHT                 OpenClosePosition_Direction = 4
	OpenClosePosition_IN                    OpenClosePosition_Direction = 5
	OpenClosePosition_OUT                   OpenClosePosition_Direction = 6
)

func (OpenClosePosition_Direction) Descriptor

func (OpenClosePosition_Direction) Enum

func (OpenClosePosition_Direction) EnumDescriptor deprecated

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

Deprecated: Use OpenClosePosition_Direction.Descriptor instead.

func (OpenClosePosition_Direction) Number

func (OpenClosePosition_Direction) String

func (OpenClosePosition_Direction) Type

type OpenClosePosition_Resistance

type OpenClosePosition_Resistance int32

Resistance defines types of resistance an OpenClose device may encounter.

const (
	// Resistance is unspecified.
	OpenClosePosition_RESISTANCE_UNSPECIFIED OpenClosePosition_Resistance = 0
	// The device is being held in position.
	// For example if someone is holding open a door, or a window is jammed shut.
	OpenClosePosition_HELD OpenClosePosition_Resistance = 1
	// The devices motion is reduced. For example if a garage door can't open fully due to a blockage.
	OpenClosePosition_REDUCED_MOTION OpenClosePosition_Resistance = 2
	// The device is being slow to respond to changes in opening. For example if a window has a rusty hinge.
	OpenClosePosition_SLOW OpenClosePosition_Resistance = 3
)

func (OpenClosePosition_Resistance) Descriptor

func (OpenClosePosition_Resistance) Enum

func (OpenClosePosition_Resistance) EnumDescriptor deprecated

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

Deprecated: Use OpenClosePosition_Resistance.Descriptor instead.

func (OpenClosePosition_Resistance) Number

func (OpenClosePosition_Resistance) String

func (OpenClosePosition_Resistance) Type

type OpenClosePositions

type OpenClosePositions struct {

	// The state of each of the devices open-able elements. Most devices will only have a single value here as they can
	// only be opened from a single direction.
	States []*OpenClosePosition `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
	// contains filtered or unexported fields
}

All open/closable elements for the device

func (*OpenClosePositions) Descriptor deprecated

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

Deprecated: Use OpenClosePositions.ProtoReflect.Descriptor instead.

func (*OpenClosePositions) GetStates

func (x *OpenClosePositions) GetStates() []*OpenClosePosition

func (*OpenClosePositions) ProtoMessage

func (*OpenClosePositions) ProtoMessage()

func (*OpenClosePositions) ProtoReflect

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

func (*OpenClosePositions) Reset

func (x *OpenClosePositions) Reset()

func (*OpenClosePositions) String

func (x *OpenClosePositions) String() string

type ParentApiClient

type ParentApiClient interface {
	// ListChildren returns children associated with the named parent device.
	ListChildren(ctx context.Context, in *ListChildrenRequest, opts ...grpc.CallOption) (*ListChildrenResponse, error)
	// PullChildren subscribes to changes in the children associated with the named parent device.
	PullChildren(ctx context.Context, in *PullChildrenRequest, opts ...grpc.CallOption) (ParentApi_PullChildrenClient, error)
}

ParentApiClient is the client API for ParentApi 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.

func NewParentApiClient

func NewParentApiClient(cc grpc.ClientConnInterface) ParentApiClient

type ParentApiServer

type ParentApiServer interface {
	// ListChildren returns children associated with the named parent device.
	ListChildren(context.Context, *ListChildrenRequest) (*ListChildrenResponse, error)
	// PullChildren subscribes to changes in the children associated with the named parent device.
	PullChildren(*PullChildrenRequest, ParentApi_PullChildrenServer) error
	// contains filtered or unexported methods
}

ParentApiServer is the server API for ParentApi service. All implementations must embed UnimplementedParentApiServer for forward compatibility

type ParentApi_PullChildrenClient

type ParentApi_PullChildrenClient interface {
	Recv() (*PullChildrenResponse, error)
	grpc.ClientStream
}

type ParentApi_PullChildrenServer

type ParentApi_PullChildrenServer interface {
	Send(*PullChildrenResponse) error
	grpc.ServerStream
}

type ParentInfoClient

type ParentInfoClient interface {
}

ParentInfoClient is the client API for ParentInfo 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.

func NewParentInfoClient

func NewParentInfoClient(cc grpc.ClientConnInterface) ParentInfoClient

type ParentInfoServer

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

ParentInfoServer is the server API for ParentInfo service. All implementations must embed UnimplementedParentInfoServer for forward compatibility

type PositionsSupport

type PositionsSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Define how the value for open percent behave. The bounds for these attributes will be absent and always in the range
	// [0-100] to represent a percentage.
	// Discreet devices, those that only support fully closed or fully open (i.e. a contact closure) should report a step of 100.
	OpenPercentAttributes *types.FloatAttributes `` /* 126-byte string literal not displayed */
	// The supported directions for the device. If none then assume only a single direction is supported
	Directions []OpenClosePosition_Direction `` /* 131-byte string literal not displayed */
	// Does the device support the Stop method
	SupportsStop bool `protobuf:"varint,4,opt,name=supports_stop,json=supportsStop,proto3" json:"supports_stop,omitempty"`
	// contains filtered or unexported fields
}

PositionsSupport describes the capabilities of devices implementing this trait

func (*PositionsSupport) Descriptor deprecated

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

Deprecated: Use PositionsSupport.ProtoReflect.Descriptor instead.

func (*PositionsSupport) GetDirections

func (x *PositionsSupport) GetDirections() []OpenClosePosition_Direction

func (*PositionsSupport) GetOpenPercentAttributes

func (x *PositionsSupport) GetOpenPercentAttributes() *types.FloatAttributes

func (*PositionsSupport) GetResourceSupport

func (x *PositionsSupport) GetResourceSupport() *types.ResourceSupport

func (*PositionsSupport) GetSupportsStop

func (x *PositionsSupport) GetSupportsStop() bool

func (*PositionsSupport) ProtoMessage

func (*PositionsSupport) ProtoMessage()

func (*PositionsSupport) ProtoReflect

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

func (*PositionsSupport) Reset

func (x *PositionsSupport) Reset()

func (*PositionsSupport) String

func (x *PositionsSupport) String() string

type Ptz

type Ptz struct {

	// The current position of the PTZ device (if known)
	Position *PtzPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// The current motion of the PTZ device (if known)
	Movement *PtzMovement `protobuf:"bytes,2,opt,name=movement,proto3" json:"movement,omitempty"`
	// The current preset selected for the device (if known)
	Preset string `protobuf:"bytes,3,opt,name=preset,proto3" json:"preset,omitempty"`
	// The speed the preset should be applied. 0 for 'use device default'
	PresetSpeed int32 `protobuf:"varint,4,opt,name=preset_speed,json=presetSpeed,proto3" json:"preset_speed,omitempty"`
	// contains filtered or unexported fields
}

The current or intended state for the device

func (*Ptz) Descriptor deprecated

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

Deprecated: Use Ptz.ProtoReflect.Descriptor instead.

func (*Ptz) GetMovement

func (x *Ptz) GetMovement() *PtzMovement

func (*Ptz) GetPosition

func (x *Ptz) GetPosition() *PtzPosition

func (*Ptz) GetPreset

func (x *Ptz) GetPreset() string

func (*Ptz) GetPresetSpeed

func (x *Ptz) GetPresetSpeed() int32

func (*Ptz) ProtoMessage

func (*Ptz) ProtoMessage()

func (*Ptz) ProtoReflect

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

func (*Ptz) Reset

func (x *Ptz) Reset()

func (*Ptz) String

func (x *Ptz) String() string

type PtzApiClient

type PtzApiClient interface {
	// Set the target state for the device
	GetPtz(ctx context.Context, in *GetPtzRequest, opts ...grpc.CallOption) (*Ptz, error)
	// Set the target state for the device
	UpdatePtz(ctx context.Context, in *UpdatePtzRequest, opts ...grpc.CallOption) (*Ptz, error)
	// Stop the device if it is extending or retracting, returns the current known state after stopping.
	Stop(ctx context.Context, in *StopPtzRequest, opts ...grpc.CallOption) (*Ptz, error)
	// Create a preset for the ptz position. If no preset ptz position is specified then use the current position
	CreatePreset(ctx context.Context, in *CreatePtzPresetRequest, opts ...grpc.CallOption) (*PtzPreset, error)
	// Get notified of changes to the OnOffState of a device
	PullPtz(ctx context.Context, in *PullPtzRequest, opts ...grpc.CallOption) (PtzApi_PullPtzClient, error)
}

PtzApiClient is the client API for PtzApi 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.

func NewPtzApiClient

func NewPtzApiClient(cc grpc.ClientConnInterface) PtzApiClient

type PtzApiServer

type PtzApiServer interface {
	// Set the target state for the device
	GetPtz(context.Context, *GetPtzRequest) (*Ptz, error)
	// Set the target state for the device
	UpdatePtz(context.Context, *UpdatePtzRequest) (*Ptz, error)
	// Stop the device if it is extending or retracting, returns the current known state after stopping.
	Stop(context.Context, *StopPtzRequest) (*Ptz, error)
	// Create a preset for the ptz position. If no preset ptz position is specified then use the current position
	CreatePreset(context.Context, *CreatePtzPresetRequest) (*PtzPreset, error)
	// Get notified of changes to the OnOffState of a device
	PullPtz(*PullPtzRequest, PtzApi_PullPtzServer) error
	// contains filtered or unexported methods
}

PtzApiServer is the server API for PtzApi service. All implementations must embed UnimplementedPtzApiServer for forward compatibility

type PtzApi_PullPtzClient

type PtzApi_PullPtzClient interface {
	Recv() (*PullPtzResponse, error)
	grpc.ClientStream
}

type PtzApi_PullPtzServer

type PtzApi_PullPtzServer interface {
	Send(*PullPtzResponse) error
	grpc.ServerStream
}

type PtzBounds

type PtzBounds struct {
	Min *PtzVector `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"`
	Max *PtzVector `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

The minimum and maximum values each of the PTZ vector axes can take.

func (*PtzBounds) Descriptor deprecated

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

Deprecated: Use PtzBounds.ProtoReflect.Descriptor instead.

func (*PtzBounds) GetMax

func (x *PtzBounds) GetMax() *PtzVector

func (*PtzBounds) GetMin

func (x *PtzBounds) GetMin() *PtzVector

func (*PtzBounds) ProtoMessage

func (*PtzBounds) ProtoMessage()

func (*PtzBounds) ProtoReflect

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

func (*PtzBounds) Reset

func (x *PtzBounds) Reset()

func (*PtzBounds) String

func (x *PtzBounds) String() string

type PtzInfoClient

type PtzInfoClient interface {
	// Get information about how a named device implements Ptz features
	DescribePtz(ctx context.Context, in *DescribePtzRequest, opts ...grpc.CallOption) (*PtzSupport, error)
}

PtzInfoClient is the client API for PtzInfo 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.

func NewPtzInfoClient

func NewPtzInfoClient(cc grpc.ClientConnInterface) PtzInfoClient

type PtzInfoServer

type PtzInfoServer interface {
	// Get information about how a named device implements Ptz features
	DescribePtz(context.Context, *DescribePtzRequest) (*PtzSupport, error)
	// contains filtered or unexported methods
}

PtzInfoServer is the server API for PtzInfo service. All implementations must embed UnimplementedPtzInfoServer for forward compatibility

type PtzMovement

type PtzMovement struct {

	// Which direction are we moving. Only the sign of the dimensions of the vector are used to denote direction of
	// movement
	Direction *PtzVector `protobuf:"bytes,1,opt,name=direction,proto3" json:"direction,omitempty"`
	// The speed at which the PTZ device should move. If not specified the device may ramp speed on its own
	Speed int32 `protobuf:"varint,2,opt,name=speed,proto3" json:"speed,omitempty"`
	// How the speed changes or should change over time. On write only duration should be set.
	SpeedTween *types.Tween `protobuf:"bytes,3,opt,name=speed_tween,json=speedTween,proto3" json:"speed_tween,omitempty"`
	// Read-only, the target speed value after a transition
	TargetSpeed int32 `protobuf:"varint,4,opt,name=target_speed,json=targetSpeed,proto3" json:"target_speed,omitempty"`
	// contains filtered or unexported fields
}

A description of the movement for the PTZ device

func (*PtzMovement) Descriptor deprecated

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

Deprecated: Use PtzMovement.ProtoReflect.Descriptor instead.

func (*PtzMovement) GetDirection

func (x *PtzMovement) GetDirection() *PtzVector

func (*PtzMovement) GetSpeed

func (x *PtzMovement) GetSpeed() int32

func (*PtzMovement) GetSpeedTween

func (x *PtzMovement) GetSpeedTween() *types.Tween

func (*PtzMovement) GetTargetSpeed

func (x *PtzMovement) GetTargetSpeed() int32

func (*PtzMovement) ProtoMessage

func (*PtzMovement) ProtoMessage()

func (*PtzMovement) ProtoReflect

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

func (*PtzMovement) Reset

func (x *PtzMovement) Reset()

func (*PtzMovement) String

func (x *PtzMovement) String() string

type PtzPosition

type PtzPosition struct {

	// The current position.
	Position *PtzVector `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// How the position changes or should change over time. On write only duration should be set.
	Tween *types.Tween `protobuf:"bytes,2,opt,name=tween,proto3" json:"tween,omitempty"`
	// The target position that will be reached after the tween duration.
	TargetPosition *PtzVector `protobuf:"bytes,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"`
	// contains filtered or unexported fields
}

A description of the current position of the PTZ device.

func (*PtzPosition) Descriptor deprecated

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

Deprecated: Use PtzPosition.ProtoReflect.Descriptor instead.

func (*PtzPosition) GetPosition

func (x *PtzPosition) GetPosition() *PtzVector

func (*PtzPosition) GetTargetPosition

func (x *PtzPosition) GetTargetPosition() *PtzVector

func (*PtzPosition) GetTween

func (x *PtzPosition) GetTween() *types.Tween

func (*PtzPosition) ProtoMessage

func (*PtzPosition) ProtoMessage()

func (*PtzPosition) ProtoReflect

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

func (*PtzPosition) Reset

func (x *PtzPosition) Reset()

func (*PtzPosition) String

func (x *PtzPosition) String() string

type PtzPreset

type PtzPreset struct {

	// Required. The name of the preset, to be used for recall.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Official human readable name for the preset
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional position of the preset
	Position *PtzVector `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// Can this preset be stored via the api
	Writable bool `protobuf:"varint,5,opt,name=writable,proto3" json:"writable,omitempty"`
	// contains filtered or unexported fields
}

Describes a preset that may be configured on the device

func (*PtzPreset) Descriptor deprecated

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

Deprecated: Use PtzPreset.ProtoReflect.Descriptor instead.

func (*PtzPreset) GetDescription

func (x *PtzPreset) GetDescription() string

func (*PtzPreset) GetName

func (x *PtzPreset) GetName() string

func (*PtzPreset) GetPosition

func (x *PtzPreset) GetPosition() *PtzVector

func (*PtzPreset) GetTitle

func (x *PtzPreset) GetTitle() string

func (*PtzPreset) GetWritable

func (x *PtzPreset) GetWritable() bool

func (*PtzPreset) ProtoMessage

func (*PtzPreset) ProtoMessage()

func (*PtzPreset) ProtoReflect

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

func (*PtzPreset) Reset

func (x *PtzPreset) Reset()

func (*PtzPreset) String

func (x *PtzPreset) String() string

type PtzSupport

type PtzSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Can we ask the device to move to a specific position
	SupportsPosition bool `protobuf:"varint,2,opt,name=supports_position,json=supportsPosition,proto3" json:"supports_position,omitempty"`
	// Can we move the device without a target position in mind
	SupportsMovement bool `protobuf:"varint,3,opt,name=supports_movement,json=supportsMovement,proto3" json:"supports_movement,omitempty"`
	// A list of presets that the device has configured. If the list is empty and supports_custom_presets is false then
	// the device doesn't support presets
	Presets []*PtzPreset `protobuf:"bytes,4,rep,name=presets,proto3" json:"presets,omitempty"`
	// If true, custom preset names can be used to store ptz positions. If false only writable presets can be updated.
	SupportsCustomPresets bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

PtzSupport describes the capabilities of devices implementing this trait

func (*PtzSupport) Descriptor deprecated

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

Deprecated: Use PtzSupport.ProtoReflect.Descriptor instead.

func (*PtzSupport) GetPresets

func (x *PtzSupport) GetPresets() []*PtzPreset

func (*PtzSupport) GetResourceSupport

func (x *PtzSupport) GetResourceSupport() *types.ResourceSupport

func (*PtzSupport) GetSupportsCustomPresets

func (x *PtzSupport) GetSupportsCustomPresets() bool

func (*PtzSupport) GetSupportsMovement

func (x *PtzSupport) GetSupportsMovement() bool

func (*PtzSupport) GetSupportsPosition

func (x *PtzSupport) GetSupportsPosition() bool

func (*PtzSupport) ProtoMessage

func (*PtzSupport) ProtoMessage()

func (*PtzSupport) ProtoReflect

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

func (*PtzSupport) Reset

func (x *PtzSupport) Reset()

func (*PtzSupport) String

func (x *PtzSupport) String() string

type PtzVector

type PtzVector struct {

	// left/right direction for movement or position. Positive values mean right, negative mean left when moving
	Pan float32 `protobuf:"fixed32,1,opt,name=pan,proto3" json:"pan,omitempty"`
	// up/down direction for movement or position. Positive values mean up, negative mean down when moving
	Tilt float32 `protobuf:"fixed32,2,opt,name=tilt,proto3" json:"tilt,omitempty"`
	// in/out direction for movement or zoom level. Positive values mean in, negative mean out when moving
	Zoom float32 `protobuf:"fixed32,3,opt,name=zoom,proto3" json:"zoom,omitempty"`
	// contains filtered or unexported fields
}

Defines a value for the pan, tilt, and zoom of the device. This vector can represent a movement in a particular direction or a final position to aim for. If used for movement then the values should be positive or negative to represent the direction of movement. For absolute values the bounds attribute of the device are used as a guide.

All values are relative to the focus of the vector in the real world. For example for a camera, to move right means that the image captured by the camera show more on the right and less on the left of the image.

func (*PtzVector) Descriptor deprecated

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

Deprecated: Use PtzVector.ProtoReflect.Descriptor instead.

func (*PtzVector) GetPan

func (x *PtzVector) GetPan() float32

func (*PtzVector) GetTilt

func (x *PtzVector) GetTilt() float32

func (*PtzVector) GetZoom

func (x *PtzVector) GetZoom() float32

func (*PtzVector) ProtoMessage

func (*PtzVector) ProtoMessage()

func (*PtzVector) ProtoReflect

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

func (*PtzVector) Reset

func (x *PtzVector) Reset()

func (*PtzVector) String

func (x *PtzVector) String() string

type Publication

type Publication struct {

	// An identifier for this publication.
	// Will be unique within the context of the device managing the publications.
	// The ID does not change between publication versions.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// An opaque string used to distinguish between versions of the same publication.
	// Output only.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The body of this publication.
	// Can be any sequence of bytes from plain text, to binary content, to a serialised proto message.
	// It can also be empty.
	Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // todo: decide on a limit for the size of data, or document that it doesn't need one
	// An indication of who the publication is targeting.
	// Optional.
	// For example, if the publication represents configuration for a device, the audience would represent that device.
	Audience *Publication_Audience `protobuf:"bytes,4,opt,name=audience,proto3" json:"audience,omitempty"`
	// The time this version of the publication was published.
	// Output only.
	PublishTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	// An indication of format of the data in body.
	// Optional.
	// The use of a [Media Type](https://www.iana.org/assignments/media-types) is recommended, but any value recognised by
	// both the server and client is acceptable.
	MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	// contains filtered or unexported fields
}

Publication describes some data that can be published. While the content of the data is undefined, the metadata about data is described. A publication can be intended for a specific audience, either a device or some other concept. The audience for a publication is able to acknowledge that publication, indicating they have received it.

func (*Publication) Descriptor deprecated

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

Deprecated: Use Publication.ProtoReflect.Descriptor instead.

func (*Publication) GetAudience

func (x *Publication) GetAudience() *Publication_Audience

func (*Publication) GetBody

func (x *Publication) GetBody() []byte

func (*Publication) GetId

func (x *Publication) GetId() string

func (*Publication) GetMediaType

func (x *Publication) GetMediaType() string

func (*Publication) GetPublishTime

func (x *Publication) GetPublishTime() *timestamppb.Timestamp

func (*Publication) GetVersion

func (x *Publication) GetVersion() string

func (*Publication) ProtoMessage

func (*Publication) ProtoMessage()

func (*Publication) ProtoReflect

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

func (*Publication) Reset

func (x *Publication) Reset()

func (*Publication) String

func (x *Publication) String() string

type PublicationApiClient

type PublicationApiClient interface {
	// Create a new publication.
	// The returned Publication will include an id unique for this new publication within the named device.
	// Note that if you want to create a new version for an existing publication, use UpdatePublication.
	CreatePublication(ctx context.Context, in *CreatePublicationRequest, opts ...grpc.CallOption) (*Publication, error)
	// Get the contents and metadata for a publication identified by id.
	// If version is not provided, this returns the newest version.
	GetPublication(ctx context.Context, in *GetPublicationRequest, opts ...grpc.CallOption) (*Publication, error)
	// Update a publication by id.
	// The updated Publication will have a new version, publish time, and reset receipt properties.
	// If the request has a version then the device will compare it with its known version and fail to update if
	// they differ enabling multiple concurrent uses of this API.
	UpdatePublication(ctx context.Context, in *UpdatePublicationRequest, opts ...grpc.CallOption) (*Publication, error)
	// Delete a publication by id.
	// If the request has a version then the device will compare it with its known version and fail to delete if
	// they differ enabling multiple concurrent uses of this API.
	DeletePublication(ctx context.Context, in *DeletePublicationRequest, opts ...grpc.CallOption) (*Publication, error)
	// Subscribe to changes for a single publication.
	// The stream is closed if the publication is deleted.
	PullPublication(ctx context.Context, in *PullPublicationRequest, opts ...grpc.CallOption) (PublicationApi_PullPublicationClient, error)
	// List all publications available on the device.
	// The version returned for each publication will be the latest.
	ListPublications(ctx context.Context, in *ListPublicationsRequest, opts ...grpc.CallOption) (*ListPublicationsResponse, error)
	// Subscribe to changes in publications on the device.
	PullPublications(ctx context.Context, in *PullPublicationsRequest, opts ...grpc.CallOption) (PublicationApi_PullPublicationsClient, error)
	// Acknowledge the receipt of a publication.
	// This API should only be called when the audience for a publication has received that publication.
	// Typically the audience will call this method itself after a get or pull publication method returns a new version.
	AcknowledgePublication(ctx context.Context, in *AcknowledgePublicationRequest, opts ...grpc.CallOption) (*Publication, error)
}

PublicationApiClient is the client API for PublicationApi 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 PublicationApiServer

type PublicationApiServer interface {
	// Create a new publication.
	// The returned Publication will include an id unique for this new publication within the named device.
	// Note that if you want to create a new version for an existing publication, use UpdatePublication.
	CreatePublication(context.Context, *CreatePublicationRequest) (*Publication, error)
	// Get the contents and metadata for a publication identified by id.
	// If version is not provided, this returns the newest version.
	GetPublication(context.Context, *GetPublicationRequest) (*Publication, error)
	// Update a publication by id.
	// The updated Publication will have a new version, publish time, and reset receipt properties.
	// If the request has a version then the device will compare it with its known version and fail to update if
	// they differ enabling multiple concurrent uses of this API.
	UpdatePublication(context.Context, *UpdatePublicationRequest) (*Publication, error)
	// Delete a publication by id.
	// If the request has a version then the device will compare it with its known version and fail to delete if
	// they differ enabling multiple concurrent uses of this API.
	DeletePublication(context.Context, *DeletePublicationRequest) (*Publication, error)
	// Subscribe to changes for a single publication.
	// The stream is closed if the publication is deleted.
	PullPublication(*PullPublicationRequest, PublicationApi_PullPublicationServer) error
	// List all publications available on the device.
	// The version returned for each publication will be the latest.
	ListPublications(context.Context, *ListPublicationsRequest) (*ListPublicationsResponse, error)
	// Subscribe to changes in publications on the device.
	PullPublications(*PullPublicationsRequest, PublicationApi_PullPublicationsServer) error
	// Acknowledge the receipt of a publication.
	// This API should only be called when the audience for a publication has received that publication.
	// Typically the audience will call this method itself after a get or pull publication method returns a new version.
	AcknowledgePublication(context.Context, *AcknowledgePublicationRequest) (*Publication, error)
	// contains filtered or unexported methods
}

PublicationApiServer is the server API for PublicationApi service. All implementations must embed UnimplementedPublicationApiServer for forward compatibility

type PublicationApi_PullPublicationClient

type PublicationApi_PullPublicationClient interface {
	Recv() (*PullPublicationResponse, error)
	grpc.ClientStream
}

type PublicationApi_PullPublicationServer

type PublicationApi_PullPublicationServer interface {
	Send(*PullPublicationResponse) error
	grpc.ServerStream
}

type PublicationApi_PullPublicationsClient

type PublicationApi_PullPublicationsClient interface {
	Recv() (*PullPublicationsResponse, error)
	grpc.ClientStream
}

type PublicationApi_PullPublicationsServer

type PublicationApi_PullPublicationsServer interface {
	Send(*PullPublicationsResponse) error
	grpc.ServerStream
}

type Publication_Audience

type Publication_Audience struct {

	// The name of the device that is the audience for the publication.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An indication of whether the audience has received this publication.
	Receipt Publication_Audience_Receipt `protobuf:"varint,2,opt,name=receipt,proto3,enum=smartcore.traits.Publication_Audience_Receipt" json:"receipt,omitempty"`
	// A reason for a rejection of the publication by the audience.
	ReceiptRejectedReason string `` /* 126-byte string literal not displayed */
	// A timestamp indicating when the audience acknowledged the publication.
	// Output only.
	// Populated using the servers time when AcknowledgePublication is called by the audience.
	ReceiptTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=receipt_time,json=receiptTime,proto3" json:"receipt_time,omitempty"`
	// contains filtered or unexported fields
}

Audience describes who a publication is targeting. A publication audience is typically used when one device is responsible for managing the state of another device, for example holding configuration data. In this case DeviceA creates device configuration for DeviceB, DeviceB is the audience for that configuration publication. When a publication has an audience, it is useful to know when that third-party has received the publication, this is modelled as a receipt.

func (*Publication_Audience) Descriptor deprecated

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

Deprecated: Use Publication_Audience.ProtoReflect.Descriptor instead.

func (*Publication_Audience) GetName

func (x *Publication_Audience) GetName() string

func (*Publication_Audience) GetReceipt

func (*Publication_Audience) GetReceiptRejectedReason

func (x *Publication_Audience) GetReceiptRejectedReason() string

func (*Publication_Audience) GetReceiptTime

func (x *Publication_Audience) GetReceiptTime() *timestamppb.Timestamp

func (*Publication_Audience) ProtoMessage

func (*Publication_Audience) ProtoMessage()

func (*Publication_Audience) ProtoReflect

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

func (*Publication_Audience) Reset

func (x *Publication_Audience) Reset()

func (*Publication_Audience) String

func (x *Publication_Audience) String() string

type Publication_Audience_Receipt

type Publication_Audience_Receipt int32

Receipt defines the possible acceptance states for downstream audiences of this publication.

const (
	Publication_Audience_RECEIPT_UNSPECIFIED Publication_Audience_Receipt = 0
	Publication_Audience_NO_SIGNAL           Publication_Audience_Receipt = 1
	Publication_Audience_ACCEPTED            Publication_Audience_Receipt = 2
	Publication_Audience_REJECTED            Publication_Audience_Receipt = 3
)

func (Publication_Audience_Receipt) Descriptor

func (Publication_Audience_Receipt) Enum

func (Publication_Audience_Receipt) EnumDescriptor deprecated

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

Deprecated: Use Publication_Audience_Receipt.Descriptor instead.

func (Publication_Audience_Receipt) Number

func (Publication_Audience_Receipt) String

func (Publication_Audience_Receipt) Type

type PullActiveModeRequest

type PullActiveModeRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullActiveModeRequest) Descriptor deprecated

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

Deprecated: Use PullActiveModeRequest.ProtoReflect.Descriptor instead.

func (*PullActiveModeRequest) GetName

func (x *PullActiveModeRequest) GetName() string

func (*PullActiveModeRequest) GetReadMask

func (x *PullActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullActiveModeRequest) GetUpdatesOnly

func (x *PullActiveModeRequest) GetUpdatesOnly() bool

func (*PullActiveModeRequest) ProtoMessage

func (*PullActiveModeRequest) ProtoMessage()

func (*PullActiveModeRequest) ProtoReflect

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

func (*PullActiveModeRequest) Reset

func (x *PullActiveModeRequest) Reset()

func (*PullActiveModeRequest) String

func (x *PullActiveModeRequest) String() string

type PullActiveModeResponse

type PullActiveModeResponse struct {

	// Changes since the last message
	Changes []*PullActiveModeResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullActiveModeResponse) Descriptor deprecated

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

Deprecated: Use PullActiveModeResponse.ProtoReflect.Descriptor instead.

func (*PullActiveModeResponse) GetChanges

func (*PullActiveModeResponse) ProtoMessage

func (*PullActiveModeResponse) ProtoMessage()

func (*PullActiveModeResponse) ProtoReflect

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

func (*PullActiveModeResponse) Reset

func (x *PullActiveModeResponse) Reset()

func (*PullActiveModeResponse) String

func (x *PullActiveModeResponse) String() string

type PullActiveModeResponse_Change

type PullActiveModeResponse_Change struct {

	// Name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the active mode
	ActiveMode *ElectricMode `protobuf:"bytes,3,opt,name=active_mode,json=activeMode,proto3" json:"active_mode,omitempty"`
	// contains filtered or unexported fields
}

func (*PullActiveModeResponse_Change) Descriptor deprecated

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

Deprecated: Use PullActiveModeResponse_Change.ProtoReflect.Descriptor instead.

func (*PullActiveModeResponse_Change) GetActiveMode

func (x *PullActiveModeResponse_Change) GetActiveMode() *ElectricMode

func (*PullActiveModeResponse_Change) GetChangeTime

func (*PullActiveModeResponse_Change) GetName

func (*PullActiveModeResponse_Change) ProtoMessage

func (*PullActiveModeResponse_Change) ProtoMessage()

func (*PullActiveModeResponse_Change) ProtoReflect

func (*PullActiveModeResponse_Change) Reset

func (x *PullActiveModeResponse_Change) Reset()

func (*PullActiveModeResponse_Change) String

type PullAirQualityRequest

type PullAirQualityRequest struct {

	// The name of the device to request state from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to pull
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAirQualityRequest) Descriptor deprecated

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

Deprecated: Use PullAirQualityRequest.ProtoReflect.Descriptor instead.

func (*PullAirQualityRequest) GetName

func (x *PullAirQualityRequest) GetName() string

func (*PullAirQualityRequest) GetReadMask

func (x *PullAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullAirQualityRequest) GetUpdatesOnly

func (x *PullAirQualityRequest) GetUpdatesOnly() bool

func (*PullAirQualityRequest) ProtoMessage

func (*PullAirQualityRequest) ProtoMessage()

func (*PullAirQualityRequest) ProtoReflect

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

func (*PullAirQualityRequest) Reset

func (x *PullAirQualityRequest) Reset()

func (*PullAirQualityRequest) String

func (x *PullAirQualityRequest) String() string

type PullAirQualityResponse

type PullAirQualityResponse struct {
	Changes []*PullAirQualityResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAirQualityResponse) Descriptor deprecated

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

Deprecated: Use PullAirQualityResponse.ProtoReflect.Descriptor instead.

func (*PullAirQualityResponse) GetChanges

func (*PullAirQualityResponse) ProtoMessage

func (*PullAirQualityResponse) ProtoMessage()

func (*PullAirQualityResponse) ProtoReflect

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

func (*PullAirQualityResponse) Reset

func (x *PullAirQualityResponse) Reset()

func (*PullAirQualityResponse) String

func (x *PullAirQualityResponse) String() string

type PullAirQualityResponse_Change

type PullAirQualityResponse_Change struct {

	// The name of the device that has changed.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The time the change happened.
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new state of the sensor. Changed fields should be reported via the update_mask property.
	AirQuality *AirQuality `protobuf:"bytes,3,opt,name=air_quality,json=airQuality,proto3" json:"air_quality,omitempty"`
	// The state fields that have changed.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAirQualityResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAirQualityResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAirQualityResponse_Change) GetAirQuality

func (x *PullAirQualityResponse_Change) GetAirQuality() *AirQuality

func (*PullAirQualityResponse_Change) GetChangeTime

func (*PullAirQualityResponse_Change) GetName

func (*PullAirQualityResponse_Change) GetUpdateMask

func (*PullAirQualityResponse_Change) ProtoMessage

func (*PullAirQualityResponse_Change) ProtoMessage()

func (*PullAirQualityResponse_Change) ProtoReflect

func (*PullAirQualityResponse_Change) Reset

func (x *PullAirQualityResponse_Change) Reset()

func (*PullAirQualityResponse_Change) String

type PullAirTemperatureRequest

type PullAirTemperatureRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

Request message for subscribing to changes in the devices state

func (*PullAirTemperatureRequest) Descriptor deprecated

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

Deprecated: Use PullAirTemperatureRequest.ProtoReflect.Descriptor instead.

func (*PullAirTemperatureRequest) GetName

func (x *PullAirTemperatureRequest) GetName() string

func (*PullAirTemperatureRequest) GetReadMask

func (*PullAirTemperatureRequest) GetUpdatesOnly

func (x *PullAirTemperatureRequest) GetUpdatesOnly() bool

func (*PullAirTemperatureRequest) ProtoMessage

func (*PullAirTemperatureRequest) ProtoMessage()

func (*PullAirTemperatureRequest) ProtoReflect

func (*PullAirTemperatureRequest) Reset

func (x *PullAirTemperatureRequest) Reset()

func (*PullAirTemperatureRequest) String

func (x *PullAirTemperatureRequest) String() string

type PullAirTemperatureResponse

type PullAirTemperatureResponse struct {
	Changes []*PullAirTemperatureResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

Response message enclosing device state changes

func (*PullAirTemperatureResponse) Descriptor deprecated

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

Deprecated: Use PullAirTemperatureResponse.ProtoReflect.Descriptor instead.

func (*PullAirTemperatureResponse) GetChanges

func (*PullAirTemperatureResponse) ProtoMessage

func (*PullAirTemperatureResponse) ProtoMessage()

func (*PullAirTemperatureResponse) ProtoReflect

func (*PullAirTemperatureResponse) Reset

func (x *PullAirTemperatureResponse) Reset()

func (*PullAirTemperatureResponse) String

func (x *PullAirTemperatureResponse) String() string

type PullAirTemperatureResponse_Change

type PullAirTemperatureResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the device state. Only changed fields will be set, should be merged with GetState full
	// response as required.
	AirTemperature *AirTemperature `protobuf:"bytes,3,opt,name=air_temperature,json=airTemperature,proto3" json:"air_temperature,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAirTemperatureResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAirTemperatureResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAirTemperatureResponse_Change) GetAirTemperature

func (x *PullAirTemperatureResponse_Change) GetAirTemperature() *AirTemperature

func (*PullAirTemperatureResponse_Change) GetChangeTime

func (*PullAirTemperatureResponse_Change) GetName

func (*PullAirTemperatureResponse_Change) ProtoMessage

func (*PullAirTemperatureResponse_Change) ProtoMessage()

func (*PullAirTemperatureResponse_Change) ProtoReflect

func (*PullAirTemperatureResponse_Change) Reset

func (*PullAirTemperatureResponse_Change) String

type PullAmbientBrightnessRequest

type PullAmbientBrightnessRequest struct {

	// The name for the device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAmbientBrightnessRequest) Descriptor deprecated

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

Deprecated: Use PullAmbientBrightnessRequest.ProtoReflect.Descriptor instead.

func (*PullAmbientBrightnessRequest) GetName

func (x *PullAmbientBrightnessRequest) GetName() string

func (*PullAmbientBrightnessRequest) GetReadMask

func (*PullAmbientBrightnessRequest) GetUpdatesOnly

func (x *PullAmbientBrightnessRequest) GetUpdatesOnly() bool

func (*PullAmbientBrightnessRequest) ProtoMessage

func (*PullAmbientBrightnessRequest) ProtoMessage()

func (*PullAmbientBrightnessRequest) ProtoReflect

func (*PullAmbientBrightnessRequest) Reset

func (x *PullAmbientBrightnessRequest) Reset()

func (*PullAmbientBrightnessRequest) String

type PullAmbientBrightnessResponse

type PullAmbientBrightnessResponse struct {
	Changes []*PullAmbientBrightnessResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAmbientBrightnessResponse) Descriptor deprecated

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

Deprecated: Use PullAmbientBrightnessResponse.ProtoReflect.Descriptor instead.

func (*PullAmbientBrightnessResponse) GetChanges

func (*PullAmbientBrightnessResponse) ProtoMessage

func (*PullAmbientBrightnessResponse) ProtoMessage()

func (*PullAmbientBrightnessResponse) ProtoReflect

func (*PullAmbientBrightnessResponse) Reset

func (x *PullAmbientBrightnessResponse) Reset()

func (*PullAmbientBrightnessResponse) String

type PullAmbientBrightnessResponse_Change

type PullAmbientBrightnessResponse_Change struct {

	// The name for the device that changed
	Name              string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AmbientBrightness *AmbientBrightness `protobuf:"bytes,2,opt,name=ambient_brightness,json=ambientBrightness,proto3" json:"ambient_brightness,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAmbientBrightnessResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAmbientBrightnessResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAmbientBrightnessResponse_Change) GetAmbientBrightness

func (x *PullAmbientBrightnessResponse_Change) GetAmbientBrightness() *AmbientBrightness

func (*PullAmbientBrightnessResponse_Change) GetChangeTime

func (*PullAmbientBrightnessResponse_Change) GetName

func (*PullAmbientBrightnessResponse_Change) ProtoMessage

func (*PullAmbientBrightnessResponse_Change) ProtoMessage()

func (*PullAmbientBrightnessResponse_Change) ProtoReflect

func (*PullAmbientBrightnessResponse_Change) Reset

func (*PullAmbientBrightnessResponse_Change) String

type PullBookingsResponse

type PullBookingsResponse struct {

	// the list of changes which have occurred
	Changes []*PullBookingsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullBookingsResponse) Descriptor deprecated

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

Deprecated: Use PullBookingsResponse.ProtoReflect.Descriptor instead.

func (*PullBookingsResponse) GetChanges

func (*PullBookingsResponse) ProtoMessage

func (*PullBookingsResponse) ProtoMessage()

func (*PullBookingsResponse) ProtoReflect

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

func (*PullBookingsResponse) Reset

func (x *PullBookingsResponse) Reset()

func (*PullBookingsResponse) String

func (x *PullBookingsResponse) String() string

type PullBookingsResponse_Change

type PullBookingsResponse_Change struct {

	// the name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// the new value to use for ADD|UPDATE changes
	NewValue *Booking `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// the old value to use for UPDATE|REMOVE changes
	OldValue *Booking `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullBookingsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullBookingsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullBookingsResponse_Change) GetChangeTime

func (*PullBookingsResponse_Change) GetName

func (x *PullBookingsResponse_Change) GetName() string

func (*PullBookingsResponse_Change) GetNewValue

func (x *PullBookingsResponse_Change) GetNewValue() *Booking

func (*PullBookingsResponse_Change) GetOldValue

func (x *PullBookingsResponse_Change) GetOldValue() *Booking

func (*PullBookingsResponse_Change) GetType

func (*PullBookingsResponse_Change) ProtoMessage

func (*PullBookingsResponse_Change) ProtoMessage()

func (*PullBookingsResponse_Change) ProtoReflect

func (*PullBookingsResponse_Change) Reset

func (x *PullBookingsResponse_Change) Reset()

func (*PullBookingsResponse_Change) String

func (x *PullBookingsResponse_Change) String() string

type PullBrightnessRequest

type PullBrightnessRequest struct {

	// The name of the device we want events from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Indicate whether we want to be notified of values while ramping or not. The device may ignore this depending on
	// capabilities
	ExcludeRamping bool `protobuf:"varint,2,opt,name=exclude_ramping,json=excludeRamping,proto3" json:"exclude_ramping,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

Request to begin a subscription for brightness values

func (*PullBrightnessRequest) Descriptor deprecated

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

Deprecated: Use PullBrightnessRequest.ProtoReflect.Descriptor instead.

func (*PullBrightnessRequest) GetExcludeRamping

func (x *PullBrightnessRequest) GetExcludeRamping() bool

func (*PullBrightnessRequest) GetName

func (x *PullBrightnessRequest) GetName() string

func (*PullBrightnessRequest) GetReadMask

func (x *PullBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullBrightnessRequest) GetUpdatesOnly

func (x *PullBrightnessRequest) GetUpdatesOnly() bool

func (*PullBrightnessRequest) ProtoMessage

func (*PullBrightnessRequest) ProtoMessage()

func (*PullBrightnessRequest) ProtoReflect

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

func (*PullBrightnessRequest) Reset

func (x *PullBrightnessRequest) Reset()

func (*PullBrightnessRequest) String

func (x *PullBrightnessRequest) String() string

type PullBrightnessResponse

type PullBrightnessResponse struct {

	// The list of changes
	Changes []*PullBrightnessResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

A response as part of the stream of changes to the brightness value

func (*PullBrightnessResponse) Descriptor deprecated

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

Deprecated: Use PullBrightnessResponse.ProtoReflect.Descriptor instead.

func (*PullBrightnessResponse) GetChanges

func (*PullBrightnessResponse) ProtoMessage

func (*PullBrightnessResponse) ProtoMessage()

func (*PullBrightnessResponse) ProtoReflect

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

func (*PullBrightnessResponse) Reset

func (x *PullBrightnessResponse) Reset()

func (*PullBrightnessResponse) String

func (x *PullBrightnessResponse) String() string

type PullBrightnessResponse_Change

type PullBrightnessResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the brightness
	Brightness *Brightness `protobuf:"bytes,3,opt,name=brightness,proto3" json:"brightness,omitempty"`
	// contains filtered or unexported fields
}

A change to a single devices brightness value

func (*PullBrightnessResponse_Change) Descriptor deprecated

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

Deprecated: Use PullBrightnessResponse_Change.ProtoReflect.Descriptor instead.

func (*PullBrightnessResponse_Change) GetBrightness

func (x *PullBrightnessResponse_Change) GetBrightness() *Brightness

func (*PullBrightnessResponse_Change) GetChangeTime

func (*PullBrightnessResponse_Change) GetName

func (*PullBrightnessResponse_Change) ProtoMessage

func (*PullBrightnessResponse_Change) ProtoMessage()

func (*PullBrightnessResponse_Change) ProtoReflect

func (*PullBrightnessResponse_Change) Reset

func (x *PullBrightnessResponse_Change) Reset()

func (*PullBrightnessResponse_Change) String

type PullChildrenRequest

type PullChildrenRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChildrenRequest) Descriptor deprecated

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

Deprecated: Use PullChildrenRequest.ProtoReflect.Descriptor instead.

func (*PullChildrenRequest) GetName

func (x *PullChildrenRequest) GetName() string

func (*PullChildrenRequest) GetReadMask

func (x *PullChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullChildrenRequest) GetUpdatesOnly

func (x *PullChildrenRequest) GetUpdatesOnly() bool

func (*PullChildrenRequest) ProtoMessage

func (*PullChildrenRequest) ProtoMessage()

func (*PullChildrenRequest) ProtoReflect

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

func (*PullChildrenRequest) Reset

func (x *PullChildrenRequest) Reset()

func (*PullChildrenRequest) String

func (x *PullChildrenRequest) String() string

type PullChildrenResponse

type PullChildrenResponse struct {

	// The list of changes which have occurred
	Changes []*PullChildrenResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChildrenResponse) Descriptor deprecated

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

Deprecated: Use PullChildrenResponse.ProtoReflect.Descriptor instead.

func (*PullChildrenResponse) GetChanges

func (*PullChildrenResponse) ProtoMessage

func (*PullChildrenResponse) ProtoMessage()

func (*PullChildrenResponse) ProtoReflect

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

func (*PullChildrenResponse) Reset

func (x *PullChildrenResponse) Reset()

func (*PullChildrenResponse) String

func (x *PullChildrenResponse) String() string

type PullChildrenResponse_Change

type PullChildrenResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *Child `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Child `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChildrenResponse_Change) Descriptor deprecated

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

Deprecated: Use PullChildrenResponse_Change.ProtoReflect.Descriptor instead.

func (*PullChildrenResponse_Change) GetChangeTime

func (*PullChildrenResponse_Change) GetName

func (x *PullChildrenResponse_Change) GetName() string

func (*PullChildrenResponse_Change) GetNewValue

func (x *PullChildrenResponse_Change) GetNewValue() *Child

func (*PullChildrenResponse_Change) GetOldValue

func (x *PullChildrenResponse_Change) GetOldValue() *Child

func (*PullChildrenResponse_Change) GetType

func (*PullChildrenResponse_Change) ProtoMessage

func (*PullChildrenResponse_Change) ProtoMessage()

func (*PullChildrenResponse_Change) ProtoReflect

func (*PullChildrenResponse_Change) Reset

func (x *PullChildrenResponse_Change) Reset()

func (*PullChildrenResponse_Change) String

func (x *PullChildrenResponse_Change) String() string

type PullChosenChannelRequest

type PullChosenChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChosenChannelRequest) Descriptor deprecated

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

Deprecated: Use PullChosenChannelRequest.ProtoReflect.Descriptor instead.

func (*PullChosenChannelRequest) GetName

func (x *PullChosenChannelRequest) GetName() string

func (*PullChosenChannelRequest) GetReadMask

func (*PullChosenChannelRequest) GetUpdatesOnly

func (x *PullChosenChannelRequest) GetUpdatesOnly() bool

func (*PullChosenChannelRequest) ProtoMessage

func (*PullChosenChannelRequest) ProtoMessage()

func (*PullChosenChannelRequest) ProtoReflect

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

func (*PullChosenChannelRequest) Reset

func (x *PullChosenChannelRequest) Reset()

func (*PullChosenChannelRequest) String

func (x *PullChosenChannelRequest) String() string

type PullChosenChannelResponse

type PullChosenChannelResponse struct {
	Changes []*PullChosenChannelResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChosenChannelResponse) Descriptor deprecated

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

Deprecated: Use PullChosenChannelResponse.ProtoReflect.Descriptor instead.

func (*PullChosenChannelResponse) GetChanges

func (*PullChosenChannelResponse) ProtoMessage

func (*PullChosenChannelResponse) ProtoMessage()

func (*PullChosenChannelResponse) ProtoReflect

func (*PullChosenChannelResponse) Reset

func (x *PullChosenChannelResponse) Reset()

func (*PullChosenChannelResponse) String

func (x *PullChosenChannelResponse) String() string

type PullChosenChannelResponse_Change

type PullChosenChannelResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new chosen channel
	ChosenChannel *Channel `protobuf:"bytes,3,opt,name=chosen_channel,json=chosenChannel,proto3" json:"chosen_channel,omitempty"`
	// contains filtered or unexported fields
}

func (*PullChosenChannelResponse_Change) Descriptor deprecated

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

Deprecated: Use PullChosenChannelResponse_Change.ProtoReflect.Descriptor instead.

func (*PullChosenChannelResponse_Change) GetChangeTime

func (*PullChosenChannelResponse_Change) GetChosenChannel

func (x *PullChosenChannelResponse_Change) GetChosenChannel() *Channel

func (*PullChosenChannelResponse_Change) GetName

func (*PullChosenChannelResponse_Change) ProtoMessage

func (*PullChosenChannelResponse_Change) ProtoMessage()

func (*PullChosenChannelResponse_Change) ProtoReflect

func (*PullChosenChannelResponse_Change) Reset

func (*PullChosenChannelResponse_Change) String

type PullConsumablesRequest

type PullConsumablesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Consumable type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullConsumablesRequest) Descriptor deprecated

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

Deprecated: Use PullConsumablesRequest.ProtoReflect.Descriptor instead.

func (*PullConsumablesRequest) GetName

func (x *PullConsumablesRequest) GetName() string

func (*PullConsumablesRequest) GetReadMask

func (x *PullConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullConsumablesRequest) GetUpdatesOnly

func (x *PullConsumablesRequest) GetUpdatesOnly() bool

func (*PullConsumablesRequest) ProtoMessage

func (*PullConsumablesRequest) ProtoMessage()

func (*PullConsumablesRequest) ProtoReflect

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

func (*PullConsumablesRequest) Reset

func (x *PullConsumablesRequest) Reset()

func (*PullConsumablesRequest) String

func (x *PullConsumablesRequest) String() string

type PullConsumablesResponse

type PullConsumablesResponse struct {

	// The list of changes which have occurred
	Changes []*PullConsumablesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullConsumablesResponse) Descriptor deprecated

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

Deprecated: Use PullConsumablesResponse.ProtoReflect.Descriptor instead.

func (*PullConsumablesResponse) GetChanges

func (*PullConsumablesResponse) ProtoMessage

func (*PullConsumablesResponse) ProtoMessage()

func (*PullConsumablesResponse) ProtoReflect

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

func (*PullConsumablesResponse) Reset

func (x *PullConsumablesResponse) Reset()

func (*PullConsumablesResponse) String

func (x *PullConsumablesResponse) String() string

type PullConsumablesResponse_Change

type PullConsumablesResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *Consumable `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Consumable `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullConsumablesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullConsumablesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullConsumablesResponse_Change) GetChangeTime

func (*PullConsumablesResponse_Change) GetName

func (*PullConsumablesResponse_Change) GetNewValue

func (x *PullConsumablesResponse_Change) GetNewValue() *Consumable

func (*PullConsumablesResponse_Change) GetOldValue

func (x *PullConsumablesResponse_Change) GetOldValue() *Consumable

func (*PullConsumablesResponse_Change) GetType

func (*PullConsumablesResponse_Change) ProtoMessage

func (*PullConsumablesResponse_Change) ProtoMessage()

func (*PullConsumablesResponse_Change) ProtoReflect

func (*PullConsumablesResponse_Change) Reset

func (x *PullConsumablesResponse_Change) Reset()

func (*PullConsumablesResponse_Change) String

type PullCountsRequest

type PullCountsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCountsRequest) Descriptor deprecated

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

Deprecated: Use PullCountsRequest.ProtoReflect.Descriptor instead.

func (*PullCountsRequest) GetName

func (x *PullCountsRequest) GetName() string

func (*PullCountsRequest) GetReadMask

func (x *PullCountsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullCountsRequest) GetUpdatesOnly

func (x *PullCountsRequest) GetUpdatesOnly() bool

func (*PullCountsRequest) ProtoMessage

func (*PullCountsRequest) ProtoMessage()

func (*PullCountsRequest) ProtoReflect

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

func (*PullCountsRequest) Reset

func (x *PullCountsRequest) Reset()

func (*PullCountsRequest) String

func (x *PullCountsRequest) String() string

type PullCountsResponse

type PullCountsResponse struct {
	Changes []*PullCountsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCountsResponse) Descriptor deprecated

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

Deprecated: Use PullCountsResponse.ProtoReflect.Descriptor instead.

func (*PullCountsResponse) GetChanges

func (x *PullCountsResponse) GetChanges() []*PullCountsResponse_Change

func (*PullCountsResponse) ProtoMessage

func (*PullCountsResponse) ProtoMessage()

func (*PullCountsResponse) ProtoReflect

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

func (*PullCountsResponse) Reset

func (x *PullCountsResponse) Reset()

func (*PullCountsResponse) String

func (x *PullCountsResponse) String() string

type PullCountsResponse_Change

type PullCountsResponse_Change struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Count *Count `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCountsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullCountsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullCountsResponse_Change) GetChangeTime

func (x *PullCountsResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullCountsResponse_Change) GetCount

func (x *PullCountsResponse_Change) GetCount() *Count

func (*PullCountsResponse_Change) GetName

func (x *PullCountsResponse_Change) GetName() string

func (*PullCountsResponse_Change) ProtoMessage

func (*PullCountsResponse_Change) ProtoMessage()

func (*PullCountsResponse_Change) ProtoReflect

func (*PullCountsResponse_Change) Reset

func (x *PullCountsResponse_Change) Reset()

func (*PullCountsResponse_Change) String

func (x *PullCountsResponse_Change) String() string

type PullDemandRequest

type PullDemandRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricDemand type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDemandRequest) Descriptor deprecated

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

Deprecated: Use PullDemandRequest.ProtoReflect.Descriptor instead.

func (*PullDemandRequest) GetName

func (x *PullDemandRequest) GetName() string

func (*PullDemandRequest) GetReadMask

func (x *PullDemandRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullDemandRequest) GetUpdatesOnly

func (x *PullDemandRequest) GetUpdatesOnly() bool

func (*PullDemandRequest) ProtoMessage

func (*PullDemandRequest) ProtoMessage()

func (*PullDemandRequest) ProtoReflect

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

func (*PullDemandRequest) Reset

func (x *PullDemandRequest) Reset()

func (*PullDemandRequest) String

func (x *PullDemandRequest) String() string

type PullDemandResponse

type PullDemandResponse struct {

	// Changes since the last message.
	Changes []*PullDemandResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDemandResponse) Descriptor deprecated

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

Deprecated: Use PullDemandResponse.ProtoReflect.Descriptor instead.

func (*PullDemandResponse) GetChanges

func (x *PullDemandResponse) GetChanges() []*PullDemandResponse_Change

func (*PullDemandResponse) ProtoMessage

func (*PullDemandResponse) ProtoMessage()

func (*PullDemandResponse) ProtoReflect

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

func (*PullDemandResponse) Reset

func (x *PullDemandResponse) Reset()

func (*PullDemandResponse) String

func (x *PullDemandResponse) String() string

type PullDemandResponse_Change

type PullDemandResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the current demand.
	Demand *ElectricDemand `protobuf:"bytes,3,opt,name=demand,proto3" json:"demand,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDemandResponse_Change) Descriptor deprecated

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

Deprecated: Use PullDemandResponse_Change.ProtoReflect.Descriptor instead.

func (*PullDemandResponse_Change) GetChangeTime

func (x *PullDemandResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullDemandResponse_Change) GetDemand

func (x *PullDemandResponse_Change) GetDemand() *ElectricDemand

func (*PullDemandResponse_Change) GetName

func (x *PullDemandResponse_Change) GetName() string

func (*PullDemandResponse_Change) ProtoMessage

func (*PullDemandResponse_Change) ProtoMessage()

func (*PullDemandResponse_Change) ProtoReflect

func (*PullDemandResponse_Change) Reset

func (x *PullDemandResponse_Change) Reset()

func (*PullDemandResponse_Change) String

func (x *PullDemandResponse_Change) String() string

type PullEmergencyRequest

type PullEmergencyRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEmergencyRequest) Descriptor deprecated

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

Deprecated: Use PullEmergencyRequest.ProtoReflect.Descriptor instead.

func (*PullEmergencyRequest) GetName

func (x *PullEmergencyRequest) GetName() string

func (*PullEmergencyRequest) GetReadMask

func (x *PullEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullEmergencyRequest) GetUpdatesOnly

func (x *PullEmergencyRequest) GetUpdatesOnly() bool

func (*PullEmergencyRequest) ProtoMessage

func (*PullEmergencyRequest) ProtoMessage()

func (*PullEmergencyRequest) ProtoReflect

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

func (*PullEmergencyRequest) Reset

func (x *PullEmergencyRequest) Reset()

func (*PullEmergencyRequest) String

func (x *PullEmergencyRequest) String() string

type PullEmergencyResponse

type PullEmergencyResponse struct {
	Changes []*PullEmergencyResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEmergencyResponse) Descriptor deprecated

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

Deprecated: Use PullEmergencyResponse.ProtoReflect.Descriptor instead.

func (*PullEmergencyResponse) GetChanges

func (*PullEmergencyResponse) ProtoMessage

func (*PullEmergencyResponse) ProtoMessage()

func (*PullEmergencyResponse) ProtoReflect

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

func (*PullEmergencyResponse) Reset

func (x *PullEmergencyResponse) Reset()

func (*PullEmergencyResponse) String

func (x *PullEmergencyResponse) String() string

type PullEmergencyResponse_Change

type PullEmergencyResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the emergency.
	Emergency *Emergency `protobuf:"bytes,3,opt,name=emergency,proto3" json:"emergency,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEmergencyResponse_Change) Descriptor deprecated

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

Deprecated: Use PullEmergencyResponse_Change.ProtoReflect.Descriptor instead.

func (*PullEmergencyResponse_Change) GetChangeTime

func (*PullEmergencyResponse_Change) GetEmergency

func (x *PullEmergencyResponse_Change) GetEmergency() *Emergency

func (*PullEmergencyResponse_Change) GetName

func (x *PullEmergencyResponse_Change) GetName() string

func (*PullEmergencyResponse_Change) ProtoMessage

func (*PullEmergencyResponse_Change) ProtoMessage()

func (*PullEmergencyResponse_Change) ProtoReflect

func (*PullEmergencyResponse_Change) Reset

func (x *PullEmergencyResponse_Change) Reset()

func (*PullEmergencyResponse_Change) String

type PullEnergyLevelRequest

type PullEnergyLevelRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the EnergyLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEnergyLevelRequest) Descriptor deprecated

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

Deprecated: Use PullEnergyLevelRequest.ProtoReflect.Descriptor instead.

func (*PullEnergyLevelRequest) GetName

func (x *PullEnergyLevelRequest) GetName() string

func (*PullEnergyLevelRequest) GetReadMask

func (x *PullEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullEnergyLevelRequest) GetUpdatesOnly

func (x *PullEnergyLevelRequest) GetUpdatesOnly() bool

func (*PullEnergyLevelRequest) ProtoMessage

func (*PullEnergyLevelRequest) ProtoMessage()

func (*PullEnergyLevelRequest) ProtoReflect

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

func (*PullEnergyLevelRequest) Reset

func (x *PullEnergyLevelRequest) Reset()

func (*PullEnergyLevelRequest) String

func (x *PullEnergyLevelRequest) String() string

type PullEnergyLevelResponse

type PullEnergyLevelResponse struct {

	// Changes since the last message
	Changes []*PullEnergyLevelResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEnergyLevelResponse) Descriptor deprecated

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

Deprecated: Use PullEnergyLevelResponse.ProtoReflect.Descriptor instead.

func (*PullEnergyLevelResponse) GetChanges

func (*PullEnergyLevelResponse) ProtoMessage

func (*PullEnergyLevelResponse) ProtoMessage()

func (*PullEnergyLevelResponse) ProtoReflect

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

func (*PullEnergyLevelResponse) Reset

func (x *PullEnergyLevelResponse) Reset()

func (*PullEnergyLevelResponse) String

func (x *PullEnergyLevelResponse) String() string

type PullEnergyLevelResponse_Change

type PullEnergyLevelResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the energy level
	EnergyLevel *EnergyLevel `protobuf:"bytes,3,opt,name=energy_level,json=energyLevel,proto3" json:"energy_level,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEnergyLevelResponse_Change) Descriptor deprecated

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

Deprecated: Use PullEnergyLevelResponse_Change.ProtoReflect.Descriptor instead.

func (*PullEnergyLevelResponse_Change) GetChangeTime

func (*PullEnergyLevelResponse_Change) GetEnergyLevel

func (x *PullEnergyLevelResponse_Change) GetEnergyLevel() *EnergyLevel

func (*PullEnergyLevelResponse_Change) GetName

func (*PullEnergyLevelResponse_Change) ProtoMessage

func (*PullEnergyLevelResponse_Change) ProtoMessage()

func (*PullEnergyLevelResponse_Change) ProtoReflect

func (*PullEnergyLevelResponse_Change) Reset

func (x *PullEnergyLevelResponse_Change) Reset()

func (*PullEnergyLevelResponse_Change) String

type PullEnterLeaveEventsRequest

type PullEnterLeaveEventsRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the EnterLeaveEvent type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// If true, only updates to the state will be returned.
	// The first event sent when false will be equivalent to GetEnterLeaveEvent, direction will be unspecified.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEnterLeaveEventsRequest) Descriptor deprecated

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

Deprecated: Use PullEnterLeaveEventsRequest.ProtoReflect.Descriptor instead.

func (*PullEnterLeaveEventsRequest) GetName

func (x *PullEnterLeaveEventsRequest) GetName() string

func (*PullEnterLeaveEventsRequest) GetReadMask

func (*PullEnterLeaveEventsRequest) GetUpdatesOnly

func (x *PullEnterLeaveEventsRequest) GetUpdatesOnly() bool

func (*PullEnterLeaveEventsRequest) ProtoMessage

func (*PullEnterLeaveEventsRequest) ProtoMessage()

func (*PullEnterLeaveEventsRequest) ProtoReflect

func (*PullEnterLeaveEventsRequest) Reset

func (x *PullEnterLeaveEventsRequest) Reset()

func (*PullEnterLeaveEventsRequest) String

func (x *PullEnterLeaveEventsRequest) String() string

type PullEnterLeaveEventsResponse

type PullEnterLeaveEventsResponse struct {

	// The list of changes
	Changes []*PullEnterLeaveEventsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullEnterLeaveEventsResponse) Descriptor deprecated

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

Deprecated: Use PullEnterLeaveEventsResponse.ProtoReflect.Descriptor instead.

func (*PullEnterLeaveEventsResponse) GetChanges

func (*PullEnterLeaveEventsResponse) ProtoMessage

func (*PullEnterLeaveEventsResponse) ProtoMessage()

func (*PullEnterLeaveEventsResponse) ProtoReflect

func (*PullEnterLeaveEventsResponse) Reset

func (x *PullEnterLeaveEventsResponse) Reset()

func (*PullEnterLeaveEventsResponse) String

type PullEnterLeaveEventsResponse_Change

type PullEnterLeaveEventsResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the state
	EnterLeaveEvent *EnterLeaveEvent `protobuf:"bytes,3,opt,name=enter_leave_event,json=enterLeaveEvent,proto3" json:"enter_leave_event,omitempty"`
	// contains filtered or unexported fields
}

A change, i.e. a new event, has been recorded.

func (*PullEnterLeaveEventsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullEnterLeaveEventsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullEnterLeaveEventsResponse_Change) GetChangeTime

func (*PullEnterLeaveEventsResponse_Change) GetEnterLeaveEvent

func (x *PullEnterLeaveEventsResponse_Change) GetEnterLeaveEvent() *EnterLeaveEvent

func (*PullEnterLeaveEventsResponse_Change) GetName

func (*PullEnterLeaveEventsResponse_Change) ProtoMessage

func (*PullEnterLeaveEventsResponse_Change) ProtoMessage()

func (*PullEnterLeaveEventsResponse_Change) ProtoReflect

func (*PullEnterLeaveEventsResponse_Change) Reset

func (*PullEnterLeaveEventsResponse_Change) String

type PullExtensionsRequest

type PullExtensionsRequest struct {

	// name of the device to subscribe to
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

A request to monitor the state of a device

func (*PullExtensionsRequest) Descriptor deprecated

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

Deprecated: Use PullExtensionsRequest.ProtoReflect.Descriptor instead.

func (*PullExtensionsRequest) GetName

func (x *PullExtensionsRequest) GetName() string

func (*PullExtensionsRequest) GetReadMask

func (x *PullExtensionsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullExtensionsRequest) GetUpdatesOnly

func (x *PullExtensionsRequest) GetUpdatesOnly() bool

func (*PullExtensionsRequest) ProtoMessage

func (*PullExtensionsRequest) ProtoMessage()

func (*PullExtensionsRequest) ProtoReflect

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

func (*PullExtensionsRequest) Reset

func (x *PullExtensionsRequest) Reset()

func (*PullExtensionsRequest) String

func (x *PullExtensionsRequest) String() string

type PullExtensionsResponse

type PullExtensionsResponse struct {

	// Changes that have occurred since the last event
	Changes []*PullExtensionsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

Response to a Pull request for extension changes

func (*PullExtensionsResponse) Descriptor deprecated

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

Deprecated: Use PullExtensionsResponse.ProtoReflect.Descriptor instead.

func (*PullExtensionsResponse) GetChanges

func (*PullExtensionsResponse) ProtoMessage

func (*PullExtensionsResponse) ProtoMessage()

func (*PullExtensionsResponse) ProtoReflect

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

func (*PullExtensionsResponse) Reset

func (x *PullExtensionsResponse) Reset()

func (*PullExtensionsResponse) String

func (x *PullExtensionsResponse) String() string

type PullExtensionsResponse_Change

type PullExtensionsResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// the new state for the device
	Extension *Extension `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

A change to the state

func (*PullExtensionsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullExtensionsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullExtensionsResponse_Change) GetChangeTime

func (*PullExtensionsResponse_Change) GetExtension

func (x *PullExtensionsResponse_Change) GetExtension() *Extension

func (*PullExtensionsResponse_Change) GetName

func (*PullExtensionsResponse_Change) ProtoMessage

func (*PullExtensionsResponse_Change) ProtoMessage()

func (*PullExtensionsResponse_Change) ProtoReflect

func (*PullExtensionsResponse_Change) Reset

func (x *PullExtensionsResponse_Change) Reset()

func (*PullExtensionsResponse_Change) String

type PullFanSpeedRequest

type PullFanSpeedRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the FanSpeed type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullFanSpeedRequest) Descriptor deprecated

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

Deprecated: Use PullFanSpeedRequest.ProtoReflect.Descriptor instead.

func (*PullFanSpeedRequest) GetName

func (x *PullFanSpeedRequest) GetName() string

func (*PullFanSpeedRequest) GetReadMask

func (x *PullFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullFanSpeedRequest) GetUpdatesOnly

func (x *PullFanSpeedRequest) GetUpdatesOnly() bool

func (*PullFanSpeedRequest) ProtoMessage

func (*PullFanSpeedRequest) ProtoMessage()

func (*PullFanSpeedRequest) ProtoReflect

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

func (*PullFanSpeedRequest) Reset

func (x *PullFanSpeedRequest) Reset()

func (*PullFanSpeedRequest) String

func (x *PullFanSpeedRequest) String() string

type PullFanSpeedResponse

type PullFanSpeedResponse struct {

	// Changes since the last message.
	Changes []*PullFanSpeedResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullFanSpeedResponse) Descriptor deprecated

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

Deprecated: Use PullFanSpeedResponse.ProtoReflect.Descriptor instead.

func (*PullFanSpeedResponse) GetChanges

func (*PullFanSpeedResponse) ProtoMessage

func (*PullFanSpeedResponse) ProtoMessage()

func (*PullFanSpeedResponse) ProtoReflect

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

func (*PullFanSpeedResponse) Reset

func (x *PullFanSpeedResponse) Reset()

func (*PullFanSpeedResponse) String

func (x *PullFanSpeedResponse) String() string

type PullFanSpeedResponse_Change

type PullFanSpeedResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the current fan speed.
	FanSpeed *FanSpeed `protobuf:"bytes,3,opt,name=fan_speed,json=fanSpeed,proto3" json:"fan_speed,omitempty"`
	// contains filtered or unexported fields
}

func (*PullFanSpeedResponse_Change) Descriptor deprecated

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

Deprecated: Use PullFanSpeedResponse_Change.ProtoReflect.Descriptor instead.

func (*PullFanSpeedResponse_Change) GetChangeTime

func (*PullFanSpeedResponse_Change) GetFanSpeed

func (x *PullFanSpeedResponse_Change) GetFanSpeed() *FanSpeed

func (*PullFanSpeedResponse_Change) GetName

func (x *PullFanSpeedResponse_Change) GetName() string

func (*PullFanSpeedResponse_Change) ProtoMessage

func (*PullFanSpeedResponse_Change) ProtoMessage()

func (*PullFanSpeedResponse_Change) ProtoReflect

func (*PullFanSpeedResponse_Change) Reset

func (x *PullFanSpeedResponse_Change) Reset()

func (*PullFanSpeedResponse_Change) String

func (x *PullFanSpeedResponse_Change) String() string

type PullHailRequest

type PullHailRequest struct {

	// The name of the device.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the hail
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Fields to fetch relative to the Hail type.
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailRequest) Descriptor deprecated

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

Deprecated: Use PullHailRequest.ProtoReflect.Descriptor instead.

func (*PullHailRequest) GetId

func (x *PullHailRequest) GetId() string

func (*PullHailRequest) GetName

func (x *PullHailRequest) GetName() string

func (*PullHailRequest) GetReadMask

func (x *PullHailRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullHailRequest) GetUpdatesOnly

func (x *PullHailRequest) GetUpdatesOnly() bool

func (*PullHailRequest) ProtoMessage

func (*PullHailRequest) ProtoMessage()

func (*PullHailRequest) ProtoReflect

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

func (*PullHailRequest) Reset

func (x *PullHailRequest) Reset()

func (*PullHailRequest) String

func (x *PullHailRequest) String() string

type PullHailResponse

type PullHailResponse struct {
	Changes []*PullHailResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailResponse) Descriptor deprecated

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

Deprecated: Use PullHailResponse.ProtoReflect.Descriptor instead.

func (*PullHailResponse) GetChanges

func (x *PullHailResponse) GetChanges() []*PullHailResponse_Change

func (*PullHailResponse) ProtoMessage

func (*PullHailResponse) ProtoMessage()

func (*PullHailResponse) ProtoReflect

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

func (*PullHailResponse) Reset

func (x *PullHailResponse) Reset()

func (*PullHailResponse) String

func (x *PullHailResponse) String() string

type PullHailResponse_Change

type PullHailResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the hail.
	Hail *Hail `protobuf:"bytes,3,opt,name=hail,proto3" json:"hail,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailResponse_Change) Descriptor deprecated

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

Deprecated: Use PullHailResponse_Change.ProtoReflect.Descriptor instead.

func (*PullHailResponse_Change) GetChangeTime

func (x *PullHailResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullHailResponse_Change) GetHail

func (x *PullHailResponse_Change) GetHail() *Hail

func (*PullHailResponse_Change) GetName

func (x *PullHailResponse_Change) GetName() string

func (*PullHailResponse_Change) ProtoMessage

func (*PullHailResponse_Change) ProtoMessage()

func (*PullHailResponse_Change) ProtoReflect

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

func (*PullHailResponse_Change) Reset

func (x *PullHailResponse_Change) Reset()

func (*PullHailResponse_Change) String

func (x *PullHailResponse_Change) String() string

type PullHailsRequest

type PullHailsRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Hail type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailsRequest) Descriptor deprecated

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

Deprecated: Use PullHailsRequest.ProtoReflect.Descriptor instead.

func (*PullHailsRequest) GetName

func (x *PullHailsRequest) GetName() string

func (*PullHailsRequest) GetReadMask

func (x *PullHailsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullHailsRequest) GetUpdatesOnly

func (x *PullHailsRequest) GetUpdatesOnly() bool

func (*PullHailsRequest) ProtoMessage

func (*PullHailsRequest) ProtoMessage()

func (*PullHailsRequest) ProtoReflect

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

func (*PullHailsRequest) Reset

func (x *PullHailsRequest) Reset()

func (*PullHailsRequest) String

func (x *PullHailsRequest) String() string

type PullHailsResponse

type PullHailsResponse struct {

	// The list of changes which have occurred
	Changes []*PullHailsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailsResponse) Descriptor deprecated

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

Deprecated: Use PullHailsResponse.ProtoReflect.Descriptor instead.

func (*PullHailsResponse) GetChanges

func (x *PullHailsResponse) GetChanges() []*PullHailsResponse_Change

func (*PullHailsResponse) ProtoMessage

func (*PullHailsResponse) ProtoMessage()

func (*PullHailsResponse) ProtoReflect

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

func (*PullHailsResponse) Reset

func (x *PullHailsResponse) Reset()

func (*PullHailsResponse) String

func (x *PullHailsResponse) String() string

type PullHailsResponse_Change

type PullHailsResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *Hail `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Hail `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHailsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullHailsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullHailsResponse_Change) GetChangeTime

func (x *PullHailsResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullHailsResponse_Change) GetName

func (x *PullHailsResponse_Change) GetName() string

func (*PullHailsResponse_Change) GetNewValue

func (x *PullHailsResponse_Change) GetNewValue() *Hail

func (*PullHailsResponse_Change) GetOldValue

func (x *PullHailsResponse_Change) GetOldValue() *Hail

func (*PullHailsResponse_Change) GetType

func (*PullHailsResponse_Change) ProtoMessage

func (*PullHailsResponse_Change) ProtoMessage()

func (*PullHailsResponse_Change) ProtoReflect

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

func (*PullHailsResponse_Change) Reset

func (x *PullHailsResponse_Change) Reset()

func (*PullHailsResponse_Change) String

func (x *PullHailsResponse_Change) String() string

type PullInputRequest

type PullInputRequest struct {

	// The name of the device we want events from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

Request to begin a subscription for selected input changes

func (*PullInputRequest) Descriptor deprecated

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

Deprecated: Use PullInputRequest.ProtoReflect.Descriptor instead.

func (*PullInputRequest) GetName

func (x *PullInputRequest) GetName() string

func (*PullInputRequest) GetReadMask

func (x *PullInputRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullInputRequest) GetUpdatesOnly

func (x *PullInputRequest) GetUpdatesOnly() bool

func (*PullInputRequest) ProtoMessage

func (*PullInputRequest) ProtoMessage()

func (*PullInputRequest) ProtoReflect

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

func (*PullInputRequest) Reset

func (x *PullInputRequest) Reset()

func (*PullInputRequest) String

func (x *PullInputRequest) String() string

type PullInputResponse

type PullInputResponse struct {

	// The list of changes
	Changes []*PullInputResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

A response as part of the stream of changes to the selected input

func (*PullInputResponse) Descriptor deprecated

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

Deprecated: Use PullInputResponse.ProtoReflect.Descriptor instead.

func (*PullInputResponse) GetChanges

func (x *PullInputResponse) GetChanges() []*PullInputResponse_Change

func (*PullInputResponse) ProtoMessage

func (*PullInputResponse) ProtoMessage()

func (*PullInputResponse) ProtoReflect

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

func (*PullInputResponse) Reset

func (x *PullInputResponse) Reset()

func (*PullInputResponse) String

func (x *PullInputResponse) String() string

type PullInputResponse_Change

type PullInputResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the selected input
	Input *Input `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

A change to a single devices range value

func (*PullInputResponse_Change) Descriptor deprecated

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

Deprecated: Use PullInputResponse_Change.ProtoReflect.Descriptor instead.

func (*PullInputResponse_Change) GetChangeTime

func (x *PullInputResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullInputResponse_Change) GetInput

func (x *PullInputResponse_Change) GetInput() *Input

func (*PullInputResponse_Change) GetName

func (x *PullInputResponse_Change) GetName() string

func (*PullInputResponse_Change) ProtoMessage

func (*PullInputResponse_Change) ProtoMessage()

func (*PullInputResponse_Change) ProtoReflect

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

func (*PullInputResponse_Change) Reset

func (x *PullInputResponse_Change) Reset()

func (*PullInputResponse_Change) String

func (x *PullInputResponse_Change) String() string

type PullInventoryRequest

type PullInventoryRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Consumable.Stock type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullInventoryRequest) Descriptor deprecated

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

Deprecated: Use PullInventoryRequest.ProtoReflect.Descriptor instead.

func (*PullInventoryRequest) GetName

func (x *PullInventoryRequest) GetName() string

func (*PullInventoryRequest) GetReadMask

func (x *PullInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullInventoryRequest) GetUpdatesOnly

func (x *PullInventoryRequest) GetUpdatesOnly() bool

func (*PullInventoryRequest) ProtoMessage

func (*PullInventoryRequest) ProtoMessage()

func (*PullInventoryRequest) ProtoReflect

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

func (*PullInventoryRequest) Reset

func (x *PullInventoryRequest) Reset()

func (*PullInventoryRequest) String

func (x *PullInventoryRequest) String() string

type PullInventoryResponse

type PullInventoryResponse struct {

	// The list of changes which have occurred
	Changes []*PullInventoryResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullInventoryResponse) Descriptor deprecated

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

Deprecated: Use PullInventoryResponse.ProtoReflect.Descriptor instead.

func (*PullInventoryResponse) GetChanges

func (*PullInventoryResponse) ProtoMessage

func (*PullInventoryResponse) ProtoMessage()

func (*PullInventoryResponse) ProtoReflect

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

func (*PullInventoryResponse) Reset

func (x *PullInventoryResponse) Reset()

func (*PullInventoryResponse) String

func (x *PullInventoryResponse) String() string

type PullInventoryResponse_Change

type PullInventoryResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *Consumable_Stock `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Consumable_Stock `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullInventoryResponse_Change) Descriptor deprecated

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

Deprecated: Use PullInventoryResponse_Change.ProtoReflect.Descriptor instead.

func (*PullInventoryResponse_Change) GetChangeTime

func (*PullInventoryResponse_Change) GetName

func (x *PullInventoryResponse_Change) GetName() string

func (*PullInventoryResponse_Change) GetNewValue

func (*PullInventoryResponse_Change) GetOldValue

func (*PullInventoryResponse_Change) GetType

func (*PullInventoryResponse_Change) ProtoMessage

func (*PullInventoryResponse_Change) ProtoMessage()

func (*PullInventoryResponse_Change) ProtoReflect

func (*PullInventoryResponse_Change) Reset

func (x *PullInventoryResponse_Change) Reset()

func (*PullInventoryResponse_Change) String

type PullLockUnlockRequest

type PullLockUnlockRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the LockUnlock type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullLockUnlockRequest) Descriptor deprecated

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

Deprecated: Use PullLockUnlockRequest.ProtoReflect.Descriptor instead.

func (*PullLockUnlockRequest) GetName

func (x *PullLockUnlockRequest) GetName() string

func (*PullLockUnlockRequest) GetReadMask

func (x *PullLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullLockUnlockRequest) GetUpdatesOnly

func (x *PullLockUnlockRequest) GetUpdatesOnly() bool

func (*PullLockUnlockRequest) ProtoMessage

func (*PullLockUnlockRequest) ProtoMessage()

func (*PullLockUnlockRequest) ProtoReflect

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

func (*PullLockUnlockRequest) Reset

func (x *PullLockUnlockRequest) Reset()

func (*PullLockUnlockRequest) String

func (x *PullLockUnlockRequest) String() string

type PullLockUnlockResponse

type PullLockUnlockResponse struct {

	// Changes since the last message.
	Changes []*PullLockUnlockResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullLockUnlockResponse) Descriptor deprecated

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

Deprecated: Use PullLockUnlockResponse.ProtoReflect.Descriptor instead.

func (*PullLockUnlockResponse) GetChanges

func (*PullLockUnlockResponse) ProtoMessage

func (*PullLockUnlockResponse) ProtoMessage()

func (*PullLockUnlockResponse) ProtoReflect

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

func (*PullLockUnlockResponse) Reset

func (x *PullLockUnlockResponse) Reset()

func (*PullLockUnlockResponse) String

func (x *PullLockUnlockResponse) String() string

type PullLockUnlockResponse_Change

type PullLockUnlockResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the lock.
	LockUnlock *LockUnlock `protobuf:"bytes,3,opt,name=lock_unlock,json=lockUnlock,proto3" json:"lock_unlock,omitempty"`
	// contains filtered or unexported fields
}

func (*PullLockUnlockResponse_Change) Descriptor deprecated

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

Deprecated: Use PullLockUnlockResponse_Change.ProtoReflect.Descriptor instead.

func (*PullLockUnlockResponse_Change) GetChangeTime

func (*PullLockUnlockResponse_Change) GetLockUnlock

func (x *PullLockUnlockResponse_Change) GetLockUnlock() *LockUnlock

func (*PullLockUnlockResponse_Change) GetName

func (*PullLockUnlockResponse_Change) ProtoMessage

func (*PullLockUnlockResponse_Change) ProtoMessage()

func (*PullLockUnlockResponse_Change) ProtoReflect

func (*PullLockUnlockResponse_Change) Reset

func (x *PullLockUnlockResponse_Change) Reset()

func (*PullLockUnlockResponse_Change) String

type PullMetadataRequest

type PullMetadataRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Metadata type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMetadataRequest) Descriptor deprecated

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

Deprecated: Use PullMetadataRequest.ProtoReflect.Descriptor instead.

func (*PullMetadataRequest) GetName

func (x *PullMetadataRequest) GetName() string

func (*PullMetadataRequest) GetReadMask

func (x *PullMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullMetadataRequest) GetUpdatesOnly

func (x *PullMetadataRequest) GetUpdatesOnly() bool

func (*PullMetadataRequest) ProtoMessage

func (*PullMetadataRequest) ProtoMessage()

func (*PullMetadataRequest) ProtoReflect

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

func (*PullMetadataRequest) Reset

func (x *PullMetadataRequest) Reset()

func (*PullMetadataRequest) String

func (x *PullMetadataRequest) String() string

type PullMetadataResponse

type PullMetadataResponse struct {

	// The list of changes which have occurred
	Changes []*PullMetadataResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMetadataResponse) Descriptor deprecated

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

Deprecated: Use PullMetadataResponse.ProtoReflect.Descriptor instead.

func (*PullMetadataResponse) GetChanges

func (*PullMetadataResponse) ProtoMessage

func (*PullMetadataResponse) ProtoMessage()

func (*PullMetadataResponse) ProtoReflect

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

func (*PullMetadataResponse) Reset

func (x *PullMetadataResponse) Reset()

func (*PullMetadataResponse) String

func (x *PullMetadataResponse) String() string

type PullMetadataResponse_Change

type PullMetadataResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new updated value.
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMetadataResponse_Change) Descriptor deprecated

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

Deprecated: Use PullMetadataResponse_Change.ProtoReflect.Descriptor instead.

func (*PullMetadataResponse_Change) GetChangeTime

func (*PullMetadataResponse_Change) GetMetadata

func (x *PullMetadataResponse_Change) GetMetadata() *Metadata

func (*PullMetadataResponse_Change) GetName

func (x *PullMetadataResponse_Change) GetName() string

func (*PullMetadataResponse_Change) ProtoMessage

func (*PullMetadataResponse_Change) ProtoMessage()

func (*PullMetadataResponse_Change) ProtoReflect

func (*PullMetadataResponse_Change) Reset

func (x *PullMetadataResponse_Change) Reset()

func (*PullMetadataResponse_Change) String

func (x *PullMetadataResponse_Change) String() string

type PullMicrophoneGainRequest

type PullMicrophoneGainRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// fields to fetch relative the the AudioLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMicrophoneGainRequest) Descriptor deprecated

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

Deprecated: Use PullMicrophoneGainRequest.ProtoReflect.Descriptor instead.

func (*PullMicrophoneGainRequest) GetName

func (x *PullMicrophoneGainRequest) GetName() string

func (*PullMicrophoneGainRequest) GetReadMask

func (*PullMicrophoneGainRequest) GetUpdatesOnly

func (x *PullMicrophoneGainRequest) GetUpdatesOnly() bool

func (*PullMicrophoneGainRequest) ProtoMessage

func (*PullMicrophoneGainRequest) ProtoMessage()

func (*PullMicrophoneGainRequest) ProtoReflect

func (*PullMicrophoneGainRequest) Reset

func (x *PullMicrophoneGainRequest) Reset()

func (*PullMicrophoneGainRequest) String

func (x *PullMicrophoneGainRequest) String() string

type PullMicrophoneGainResponse

type PullMicrophoneGainResponse struct {

	// Changes since the last message
	Changes []*types.AudioLevelChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMicrophoneGainResponse) Descriptor deprecated

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

Deprecated: Use PullMicrophoneGainResponse.ProtoReflect.Descriptor instead.

func (*PullMicrophoneGainResponse) GetChanges

func (*PullMicrophoneGainResponse) ProtoMessage

func (*PullMicrophoneGainResponse) ProtoMessage()

func (*PullMicrophoneGainResponse) ProtoReflect

func (*PullMicrophoneGainResponse) Reset

func (x *PullMicrophoneGainResponse) Reset()

func (*PullMicrophoneGainResponse) String

func (x *PullMicrophoneGainResponse) String() string

type PullModeValuesRequest

type PullModeValuesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ModeValues type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModeValuesRequest) Descriptor deprecated

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

Deprecated: Use PullModeValuesRequest.ProtoReflect.Descriptor instead.

func (*PullModeValuesRequest) GetName

func (x *PullModeValuesRequest) GetName() string

func (*PullModeValuesRequest) GetReadMask

func (x *PullModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullModeValuesRequest) GetUpdatesOnly

func (x *PullModeValuesRequest) GetUpdatesOnly() bool

func (*PullModeValuesRequest) ProtoMessage

func (*PullModeValuesRequest) ProtoMessage()

func (*PullModeValuesRequest) ProtoReflect

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

func (*PullModeValuesRequest) Reset

func (x *PullModeValuesRequest) Reset()

func (*PullModeValuesRequest) String

func (x *PullModeValuesRequest) String() string

type PullModeValuesResponse

type PullModeValuesResponse struct {

	// Changes since the last message.
	Changes []*PullModeValuesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModeValuesResponse) Descriptor deprecated

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

Deprecated: Use PullModeValuesResponse.ProtoReflect.Descriptor instead.

func (*PullModeValuesResponse) GetChanges

func (*PullModeValuesResponse) ProtoMessage

func (*PullModeValuesResponse) ProtoMessage()

func (*PullModeValuesResponse) ProtoReflect

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

func (*PullModeValuesResponse) Reset

func (x *PullModeValuesResponse) Reset()

func (*PullModeValuesResponse) String

func (x *PullModeValuesResponse) String() string

type PullModeValuesResponse_Change

type PullModeValuesResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for each mode.
	ModeValues *ModeValues `protobuf:"bytes,3,opt,name=mode_values,json=modeValues,proto3" json:"mode_values,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModeValuesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullModeValuesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullModeValuesResponse_Change) GetChangeTime

func (*PullModeValuesResponse_Change) GetModeValues

func (x *PullModeValuesResponse_Change) GetModeValues() *ModeValues

func (*PullModeValuesResponse_Change) GetName

func (*PullModeValuesResponse_Change) ProtoMessage

func (*PullModeValuesResponse_Change) ProtoMessage()

func (*PullModeValuesResponse_Change) ProtoReflect

func (*PullModeValuesResponse_Change) Reset

func (x *PullModeValuesResponse_Change) Reset()

func (*PullModeValuesResponse_Change) String

type PullModesRequest

type PullModesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the ElectricMode type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModesRequest) Descriptor deprecated

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

Deprecated: Use PullModesRequest.ProtoReflect.Descriptor instead.

func (*PullModesRequest) GetName

func (x *PullModesRequest) GetName() string

func (*PullModesRequest) GetReadMask

func (x *PullModesRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullModesRequest) GetUpdatesOnly

func (x *PullModesRequest) GetUpdatesOnly() bool

func (*PullModesRequest) ProtoMessage

func (*PullModesRequest) ProtoMessage()

func (*PullModesRequest) ProtoReflect

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

func (*PullModesRequest) Reset

func (x *PullModesRequest) Reset()

func (*PullModesRequest) String

func (x *PullModesRequest) String() string

type PullModesResponse

type PullModesResponse struct {

	// The list of changes which have occurred
	Changes []*PullModesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModesResponse) Descriptor deprecated

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

Deprecated: Use PullModesResponse.ProtoReflect.Descriptor instead.

func (*PullModesResponse) GetChanges

func (x *PullModesResponse) GetChanges() []*PullModesResponse_Change

func (*PullModesResponse) ProtoMessage

func (*PullModesResponse) ProtoMessage()

func (*PullModesResponse) ProtoReflect

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

func (*PullModesResponse) Reset

func (x *PullModesResponse) Reset()

func (*PullModesResponse) String

func (x *PullModesResponse) String() string

type PullModesResponse_Change

type PullModesResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *ElectricMode `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *ElectricMode `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullModesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullModesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullModesResponse_Change) GetChangeTime

func (x *PullModesResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullModesResponse_Change) GetName

func (x *PullModesResponse_Change) GetName() string

func (*PullModesResponse_Change) GetNewValue

func (x *PullModesResponse_Change) GetNewValue() *ElectricMode

func (*PullModesResponse_Change) GetOldValue

func (x *PullModesResponse_Change) GetOldValue() *ElectricMode

func (*PullModesResponse_Change) GetType

func (*PullModesResponse_Change) ProtoMessage

func (*PullModesResponse_Change) ProtoMessage()

func (*PullModesResponse_Change) ProtoReflect

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

func (*PullModesResponse_Change) Reset

func (x *PullModesResponse_Change) Reset()

func (*PullModesResponse_Change) String

func (x *PullModesResponse_Change) String() string

type PullMotionDetectionRequest

type PullMotionDetectionRequest struct {

	// the name for the device to subscribe to
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

request to be notified of changes to the state of the device

func (*PullMotionDetectionRequest) Descriptor deprecated

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

Deprecated: Use PullMotionDetectionRequest.ProtoReflect.Descriptor instead.

func (*PullMotionDetectionRequest) GetName

func (x *PullMotionDetectionRequest) GetName() string

func (*PullMotionDetectionRequest) GetReadMask

func (*PullMotionDetectionRequest) GetUpdatesOnly

func (x *PullMotionDetectionRequest) GetUpdatesOnly() bool

func (*PullMotionDetectionRequest) ProtoMessage

func (*PullMotionDetectionRequest) ProtoMessage()

func (*PullMotionDetectionRequest) ProtoReflect

func (*PullMotionDetectionRequest) Reset

func (x *PullMotionDetectionRequest) Reset()

func (*PullMotionDetectionRequest) String

func (x *PullMotionDetectionRequest) String() string

type PullMotionDetectionResponse

type PullMotionDetectionResponse struct {

	// the list of changes that have occurred since the last event
	Changes []*PullMotionDetectionResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

response containing motion state changes

func (*PullMotionDetectionResponse) Descriptor deprecated

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

Deprecated: Use PullMotionDetectionResponse.ProtoReflect.Descriptor instead.

func (*PullMotionDetectionResponse) GetChanges

func (*PullMotionDetectionResponse) ProtoMessage

func (*PullMotionDetectionResponse) ProtoMessage()

func (*PullMotionDetectionResponse) ProtoReflect

func (*PullMotionDetectionResponse) Reset

func (x *PullMotionDetectionResponse) Reset()

func (*PullMotionDetectionResponse) String

func (x *PullMotionDetectionResponse) String() string

type PullMotionDetectionResponse_Change

type PullMotionDetectionResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// the new state for the device
	MotionDetection *MotionDetection `protobuf:"bytes,3,opt,name=motion_detection,json=motionDetection,proto3" json:"motion_detection,omitempty"`
	// contains filtered or unexported fields
}

A change to the motion state of the device

func (*PullMotionDetectionResponse_Change) Descriptor deprecated

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

Deprecated: Use PullMotionDetectionResponse_Change.ProtoReflect.Descriptor instead.

func (*PullMotionDetectionResponse_Change) GetChangeTime

func (*PullMotionDetectionResponse_Change) GetMotionDetection

func (x *PullMotionDetectionResponse_Change) GetMotionDetection() *MotionDetection

func (*PullMotionDetectionResponse_Change) GetName

func (*PullMotionDetectionResponse_Change) ProtoMessage

func (*PullMotionDetectionResponse_Change) ProtoMessage()

func (*PullMotionDetectionResponse_Change) ProtoReflect

func (*PullMotionDetectionResponse_Change) Reset

func (*PullMotionDetectionResponse_Change) String

type PullOccupancyRequest

type PullOccupancyRequest struct {

	// the name for the device to subscribe to
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

request to be notified of changes to the state of the device

func (*PullOccupancyRequest) Descriptor deprecated

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

Deprecated: Use PullOccupancyRequest.ProtoReflect.Descriptor instead.

func (*PullOccupancyRequest) GetName

func (x *PullOccupancyRequest) GetName() string

func (*PullOccupancyRequest) GetReadMask

func (x *PullOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullOccupancyRequest) GetUpdatesOnly

func (x *PullOccupancyRequest) GetUpdatesOnly() bool

func (*PullOccupancyRequest) ProtoMessage

func (*PullOccupancyRequest) ProtoMessage()

func (*PullOccupancyRequest) ProtoReflect

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

func (*PullOccupancyRequest) Reset

func (x *PullOccupancyRequest) Reset()

func (*PullOccupancyRequest) String

func (x *PullOccupancyRequest) String() string

type PullOccupancyResponse

type PullOccupancyResponse struct {

	// the list of changes that have occurred since the last event
	Changes []*PullOccupancyResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

response containing occupancy state changes

func (*PullOccupancyResponse) Descriptor deprecated

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

Deprecated: Use PullOccupancyResponse.ProtoReflect.Descriptor instead.

func (*PullOccupancyResponse) GetChanges

func (*PullOccupancyResponse) ProtoMessage

func (*PullOccupancyResponse) ProtoMessage()

func (*PullOccupancyResponse) ProtoReflect

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

func (*PullOccupancyResponse) Reset

func (x *PullOccupancyResponse) Reset()

func (*PullOccupancyResponse) String

func (x *PullOccupancyResponse) String() string

type PullOccupancyResponse_Change

type PullOccupancyResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// the new state for the device
	Occupancy *Occupancy `protobuf:"bytes,3,opt,name=occupancy,proto3" json:"occupancy,omitempty"`
	// contains filtered or unexported fields
}

A change to the occupancy state of the device, including people count

func (*PullOccupancyResponse_Change) Descriptor deprecated

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

Deprecated: Use PullOccupancyResponse_Change.ProtoReflect.Descriptor instead.

func (*PullOccupancyResponse_Change) GetChangeTime

func (*PullOccupancyResponse_Change) GetName

func (x *PullOccupancyResponse_Change) GetName() string

func (*PullOccupancyResponse_Change) GetOccupancy

func (x *PullOccupancyResponse_Change) GetOccupancy() *Occupancy

func (*PullOccupancyResponse_Change) ProtoMessage

func (*PullOccupancyResponse_Change) ProtoMessage()

func (*PullOccupancyResponse_Change) ProtoReflect

func (*PullOccupancyResponse_Change) Reset

func (x *PullOccupancyResponse_Change) Reset()

func (*PullOccupancyResponse_Change) String

type PullOnOffRequest

type PullOnOffRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

A request to monitor the state of a device

func (*PullOnOffRequest) Descriptor deprecated

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

Deprecated: Use PullOnOffRequest.ProtoReflect.Descriptor instead.

func (*PullOnOffRequest) GetName

func (x *PullOnOffRequest) GetName() string

func (*PullOnOffRequest) GetReadMask

func (x *PullOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullOnOffRequest) GetUpdatesOnly

func (x *PullOnOffRequest) GetUpdatesOnly() bool

func (*PullOnOffRequest) ProtoMessage

func (*PullOnOffRequest) ProtoMessage()

func (*PullOnOffRequest) ProtoReflect

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

func (*PullOnOffRequest) Reset

func (x *PullOnOffRequest) Reset()

func (*PullOnOffRequest) String

func (x *PullOnOffRequest) String() string

type PullOnOffResponse

type PullOnOffResponse struct {

	// Changes that have occurred since the last event
	Changes []*PullOnOffResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

Response to a Pull request for OnOffState changes

func (*PullOnOffResponse) Descriptor deprecated

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

Deprecated: Use PullOnOffResponse.ProtoReflect.Descriptor instead.

func (*PullOnOffResponse) GetChanges

func (x *PullOnOffResponse) GetChanges() []*PullOnOffResponse_Change

func (*PullOnOffResponse) ProtoMessage

func (*PullOnOffResponse) ProtoMessage()

func (*PullOnOffResponse) ProtoReflect

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

func (*PullOnOffResponse) Reset

func (x *PullOnOffResponse) Reset()

func (*PullOnOffResponse) String

func (x *PullOnOffResponse) String() string

type PullOnOffResponse_Change

type PullOnOffResponse_Change struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OnOff *OnOff `protobuf:"bytes,2,opt,name=on_off,json=onOff,proto3" json:"on_off,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullOnOffResponse_Change) Descriptor deprecated

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

Deprecated: Use PullOnOffResponse_Change.ProtoReflect.Descriptor instead.

func (*PullOnOffResponse_Change) GetChangeTime

func (x *PullOnOffResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullOnOffResponse_Change) GetName

func (x *PullOnOffResponse_Change) GetName() string

func (*PullOnOffResponse_Change) GetOnOff

func (x *PullOnOffResponse_Change) GetOnOff() *OnOff

func (*PullOnOffResponse_Change) ProtoMessage

func (*PullOnOffResponse_Change) ProtoMessage()

func (*PullOnOffResponse_Change) ProtoReflect

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

func (*PullOnOffResponse_Change) Reset

func (x *PullOnOffResponse_Change) Reset()

func (*PullOnOffResponse_Change) String

func (x *PullOnOffResponse_Change) String() string

type PullOpenClosePositionsRequest

type PullOpenClosePositionsRequest struct {

	// The name of the device we want events from
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Indicate whether we want to be notified of values while tweening or not. The device may ignore this depending on
	// capabilities
	ExcludeTweening bool `protobuf:"varint,2,opt,name=exclude_tweening,json=excludeTweening,proto3" json:"exclude_tweening,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

Request to begin a subscription for open close state changes

func (*PullOpenClosePositionsRequest) Descriptor deprecated

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

Deprecated: Use PullOpenClosePositionsRequest.ProtoReflect.Descriptor instead.

func (*PullOpenClosePositionsRequest) GetExcludeTweening

func (x *PullOpenClosePositionsRequest) GetExcludeTweening() bool

func (*PullOpenClosePositionsRequest) GetName

func (*PullOpenClosePositionsRequest) GetReadMask

func (*PullOpenClosePositionsRequest) GetUpdatesOnly

func (x *PullOpenClosePositionsRequest) GetUpdatesOnly() bool

func (*PullOpenClosePositionsRequest) ProtoMessage

func (*PullOpenClosePositionsRequest) ProtoMessage()

func (*PullOpenClosePositionsRequest) ProtoReflect

func (*PullOpenClosePositionsRequest) Reset

func (x *PullOpenClosePositionsRequest) Reset()

func (*PullOpenClosePositionsRequest) String

type PullOpenClosePositionsResponse

type PullOpenClosePositionsResponse struct {

	// The list of changes
	Changes []*PullOpenClosePositionsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

A response as part of the stream of changes to the range value

func (*PullOpenClosePositionsResponse) Descriptor deprecated

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

Deprecated: Use PullOpenClosePositionsResponse.ProtoReflect.Descriptor instead.

func (*PullOpenClosePositionsResponse) GetChanges

func (*PullOpenClosePositionsResponse) ProtoMessage

func (*PullOpenClosePositionsResponse) ProtoMessage()

func (*PullOpenClosePositionsResponse) ProtoReflect

func (*PullOpenClosePositionsResponse) Reset

func (x *PullOpenClosePositionsResponse) Reset()

func (*PullOpenClosePositionsResponse) String

type PullOpenClosePositionsResponse_Change

type PullOpenClosePositionsResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the state
	OpenClosePosition *OpenClosePositions `protobuf:"bytes,3,opt,name=open_close_position,json=openClosePosition,proto3" json:"open_close_position,omitempty"`
	// contains filtered or unexported fields
}

A change to a single devices open close state value

func (*PullOpenClosePositionsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullOpenClosePositionsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullOpenClosePositionsResponse_Change) GetChangeTime

func (*PullOpenClosePositionsResponse_Change) GetName

func (*PullOpenClosePositionsResponse_Change) GetOpenClosePosition

func (x *PullOpenClosePositionsResponse_Change) GetOpenClosePosition() *OpenClosePositions

func (*PullOpenClosePositionsResponse_Change) ProtoMessage

func (*PullOpenClosePositionsResponse_Change) ProtoMessage()

func (*PullOpenClosePositionsResponse_Change) ProtoReflect

func (*PullOpenClosePositionsResponse_Change) Reset

func (*PullOpenClosePositionsResponse_Change) String

type PullPtzRequest

type PullPtzRequest struct {

	// The device we want to subscribe to
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state fields to fetch
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPtzRequest) Descriptor deprecated

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

Deprecated: Use PullPtzRequest.ProtoReflect.Descriptor instead.

func (*PullPtzRequest) GetName

func (x *PullPtzRequest) GetName() string

func (*PullPtzRequest) GetReadMask

func (x *PullPtzRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullPtzRequest) GetUpdatesOnly

func (x *PullPtzRequest) GetUpdatesOnly() bool

func (*PullPtzRequest) ProtoMessage

func (*PullPtzRequest) ProtoMessage()

func (*PullPtzRequest) ProtoReflect

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

func (*PullPtzRequest) Reset

func (x *PullPtzRequest) Reset()

func (*PullPtzRequest) String

func (x *PullPtzRequest) String() string

type PullPtzResponse

type PullPtzResponse struct {
	Changes []*PullPtzResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPtzResponse) Descriptor deprecated

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

Deprecated: Use PullPtzResponse.ProtoReflect.Descriptor instead.

func (*PullPtzResponse) GetChanges

func (x *PullPtzResponse) GetChanges() []*PullPtzResponse_Change

func (*PullPtzResponse) ProtoMessage

func (*PullPtzResponse) ProtoMessage()

func (*PullPtzResponse) ProtoReflect

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

func (*PullPtzResponse) Reset

func (x *PullPtzResponse) Reset()

func (*PullPtzResponse) String

func (x *PullPtzResponse) String() string

type PullPtzResponse_Change

type PullPtzResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The updated state, should be merged with any known state
	Ptz *Ptz `protobuf:"bytes,3,opt,name=ptz,proto3" json:"ptz,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPtzResponse_Change) Descriptor deprecated

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

Deprecated: Use PullPtzResponse_Change.ProtoReflect.Descriptor instead.

func (*PullPtzResponse_Change) GetChangeTime

func (x *PullPtzResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullPtzResponse_Change) GetName

func (x *PullPtzResponse_Change) GetName() string

func (*PullPtzResponse_Change) GetPtz

func (x *PullPtzResponse_Change) GetPtz() *Ptz

func (*PullPtzResponse_Change) ProtoMessage

func (*PullPtzResponse_Change) ProtoMessage()

func (*PullPtzResponse_Change) ProtoReflect

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

func (*PullPtzResponse_Change) Reset

func (x *PullPtzResponse_Change) Reset()

func (*PullPtzResponse_Change) String

func (x *PullPtzResponse_Change) String() string

type PullPublicationRequest

type PullPublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the publication to retrieve
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Fields to fetch relative to the Publication type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationRequest) Descriptor deprecated

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

Deprecated: Use PullPublicationRequest.ProtoReflect.Descriptor instead.

func (*PullPublicationRequest) GetId

func (x *PullPublicationRequest) GetId() string

func (*PullPublicationRequest) GetName

func (x *PullPublicationRequest) GetName() string

func (*PullPublicationRequest) GetReadMask

func (x *PullPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullPublicationRequest) GetUpdatesOnly

func (x *PullPublicationRequest) GetUpdatesOnly() bool

func (*PullPublicationRequest) ProtoMessage

func (*PullPublicationRequest) ProtoMessage()

func (*PullPublicationRequest) ProtoReflect

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

func (*PullPublicationRequest) Reset

func (x *PullPublicationRequest) Reset()

func (*PullPublicationRequest) String

func (x *PullPublicationRequest) String() string

type PullPublicationResponse

type PullPublicationResponse struct {

	// Changes since the last message.
	Changes []*PullPublicationResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationResponse) Descriptor deprecated

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

Deprecated: Use PullPublicationResponse.ProtoReflect.Descriptor instead.

func (*PullPublicationResponse) GetChanges

func (*PullPublicationResponse) ProtoMessage

func (*PullPublicationResponse) ProtoMessage()

func (*PullPublicationResponse) ProtoReflect

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

func (*PullPublicationResponse) Reset

func (x *PullPublicationResponse) Reset()

func (*PullPublicationResponse) String

func (x *PullPublicationResponse) String() string

type PullPublicationResponse_Change

type PullPublicationResponse_Change struct {

	// Name of the device that issued the change.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// The new value for the publication.
	Publication *Publication `protobuf:"bytes,3,opt,name=publication,proto3" json:"publication,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationResponse_Change) Descriptor deprecated

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

Deprecated: Use PullPublicationResponse_Change.ProtoReflect.Descriptor instead.

func (*PullPublicationResponse_Change) GetChangeTime

func (*PullPublicationResponse_Change) GetName

func (*PullPublicationResponse_Change) GetPublication

func (x *PullPublicationResponse_Change) GetPublication() *Publication

func (*PullPublicationResponse_Change) ProtoMessage

func (*PullPublicationResponse_Change) ProtoMessage()

func (*PullPublicationResponse_Change) ProtoReflect

func (*PullPublicationResponse_Change) Reset

func (x *PullPublicationResponse_Change) Reset()

func (*PullPublicationResponse_Change) String

type PullPublicationsRequest

type PullPublicationsRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Publication type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationsRequest) Descriptor deprecated

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

Deprecated: Use PullPublicationsRequest.ProtoReflect.Descriptor instead.

func (*PullPublicationsRequest) GetName

func (x *PullPublicationsRequest) GetName() string

func (*PullPublicationsRequest) GetReadMask

func (x *PullPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullPublicationsRequest) GetUpdatesOnly

func (x *PullPublicationsRequest) GetUpdatesOnly() bool

func (*PullPublicationsRequest) ProtoMessage

func (*PullPublicationsRequest) ProtoMessage()

func (*PullPublicationsRequest) ProtoReflect

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

func (*PullPublicationsRequest) Reset

func (x *PullPublicationsRequest) Reset()

func (*PullPublicationsRequest) String

func (x *PullPublicationsRequest) String() string

type PullPublicationsResponse

type PullPublicationsResponse struct {

	// The list of changes which have occurred
	Changes []*PullPublicationsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationsResponse) Descriptor deprecated

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

Deprecated: Use PullPublicationsResponse.ProtoReflect.Descriptor instead.

func (*PullPublicationsResponse) GetChanges

func (*PullPublicationsResponse) ProtoMessage

func (*PullPublicationsResponse) ProtoMessage()

func (*PullPublicationsResponse) ProtoReflect

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

func (*PullPublicationsResponse) Reset

func (x *PullPublicationsResponse) Reset()

func (*PullPublicationsResponse) String

func (x *PullPublicationsResponse) String() string

type PullPublicationsResponse_Change

type PullPublicationsResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of change (e.g. ADD, UPDATE, etc...)
	Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"`
	// The new value to use for ADD|UPDATE changes
	NewValue *Publication `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Publication `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	// When the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullPublicationsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullPublicationsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullPublicationsResponse_Change) GetChangeTime

func (*PullPublicationsResponse_Change) GetName

func (*PullPublicationsResponse_Change) GetNewValue

func (x *PullPublicationsResponse_Change) GetNewValue() *Publication

func (*PullPublicationsResponse_Change) GetOldValue

func (x *PullPublicationsResponse_Change) GetOldValue() *Publication

func (*PullPublicationsResponse_Change) GetType

func (*PullPublicationsResponse_Change) ProtoMessage

func (*PullPublicationsResponse_Change) ProtoMessage()

func (*PullPublicationsResponse_Change) ProtoReflect

func (*PullPublicationsResponse_Change) Reset

func (*PullPublicationsResponse_Change) String

type PullSpeakerVolumeRequest

type PullSpeakerVolumeRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// fields to fetch relative the the AudioLevel type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSpeakerVolumeRequest) Descriptor deprecated

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

Deprecated: Use PullSpeakerVolumeRequest.ProtoReflect.Descriptor instead.

func (*PullSpeakerVolumeRequest) GetName

func (x *PullSpeakerVolumeRequest) GetName() string

func (*PullSpeakerVolumeRequest) GetReadMask

func (*PullSpeakerVolumeRequest) GetUpdatesOnly

func (x *PullSpeakerVolumeRequest) GetUpdatesOnly() bool

func (*PullSpeakerVolumeRequest) ProtoMessage

func (*PullSpeakerVolumeRequest) ProtoMessage()

func (*PullSpeakerVolumeRequest) ProtoReflect

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

func (*PullSpeakerVolumeRequest) Reset

func (x *PullSpeakerVolumeRequest) Reset()

func (*PullSpeakerVolumeRequest) String

func (x *PullSpeakerVolumeRequest) String() string

type PullSpeakerVolumeResponse

type PullSpeakerVolumeResponse struct {

	// Changes since the last message
	Changes []*types.AudioLevelChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSpeakerVolumeResponse) Descriptor deprecated

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

Deprecated: Use PullSpeakerVolumeResponse.ProtoReflect.Descriptor instead.

func (*PullSpeakerVolumeResponse) GetChanges

func (*PullSpeakerVolumeResponse) ProtoMessage

func (*PullSpeakerVolumeResponse) ProtoMessage()

func (*PullSpeakerVolumeResponse) ProtoReflect

func (*PullSpeakerVolumeResponse) Reset

func (x *PullSpeakerVolumeResponse) Reset()

func (*PullSpeakerVolumeResponse) String

func (x *PullSpeakerVolumeResponse) String() string

type PullStockRequest

type PullStockRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the consumable to get the stock for.
	Consumable string `protobuf:"bytes,4,opt,name=consumable,proto3" json:"consumable,omitempty"`
	// Fields to fetch relative to the Consumable.Stock type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true the device will only send changes to the resource value.
	// The default behaviour is to send the current value immediately followed by any updates as they happen.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullStockRequest) Descriptor deprecated

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

Deprecated: Use PullStockRequest.ProtoReflect.Descriptor instead.

func (*PullStockRequest) GetConsumable

func (x *PullStockRequest) GetConsumable() string

func (*PullStockRequest) GetName

func (x *PullStockRequest) GetName() string

func (*PullStockRequest) GetReadMask

func (x *PullStockRequest) GetReadMask() *fieldmaskpb.FieldMask

func (*PullStockRequest) GetUpdatesOnly

func (x *PullStockRequest) GetUpdatesOnly() bool

func (*PullStockRequest) ProtoMessage

func (*PullStockRequest) ProtoMessage()

func (*PullStockRequest) ProtoReflect

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

func (*PullStockRequest) Reset

func (x *PullStockRequest) Reset()

func (*PullStockRequest) String

func (x *PullStockRequest) String() string

type PullStockResponse

type PullStockResponse struct {

	// Changes that have occurred since the last event
	Changes []*PullStockResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullStockResponse) Descriptor deprecated

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

Deprecated: Use PullStockResponse.ProtoReflect.Descriptor instead.

func (*PullStockResponse) GetChanges

func (x *PullStockResponse) GetChanges() []*PullStockResponse_Change

func (*PullStockResponse) ProtoMessage

func (*PullStockResponse) ProtoMessage()

func (*PullStockResponse) ProtoReflect

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

func (*PullStockResponse) Reset

func (x *PullStockResponse) Reset()

func (*PullStockResponse) String

func (x *PullStockResponse) String() string

type PullStockResponse_Change

type PullStockResponse_Change struct {

	// name for the device that issued the change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// when the change occurred
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// the new state for the device
	Stock *Consumable_Stock `protobuf:"bytes,3,opt,name=stock,proto3" json:"stock,omitempty"`
	// contains filtered or unexported fields
}

A change to the state

func (*PullStockResponse_Change) Descriptor deprecated

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

Deprecated: Use PullStockResponse_Change.ProtoReflect.Descriptor instead.

func (*PullStockResponse_Change) GetChangeTime

func (x *PullStockResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullStockResponse_Change) GetName

func (x *PullStockResponse_Change) GetName() string

func (*PullStockResponse_Change) GetStock

func (*PullStockResponse_Change) ProtoMessage

func (*PullStockResponse_Change) ProtoMessage()

func (*PullStockResponse_Change) ProtoReflect

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

func (*PullStockResponse_Change) Reset

func (x *PullStockResponse_Change) Reset()

func (*PullStockResponse_Change) String

func (x *PullStockResponse_Change) String() string

type ResetCountRequest

type ResetCountRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// if absent then the server timestamp will be used
	ResetTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetCountRequest) Descriptor deprecated

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

Deprecated: Use ResetCountRequest.ProtoReflect.Descriptor instead.

func (*ResetCountRequest) GetName

func (x *ResetCountRequest) GetName() string

func (*ResetCountRequest) GetResetTime

func (x *ResetCountRequest) GetResetTime() *timestamppb.Timestamp

func (*ResetCountRequest) ProtoMessage

func (*ResetCountRequest) ProtoMessage()

func (*ResetCountRequest) ProtoReflect

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

func (*ResetCountRequest) Reset

func (x *ResetCountRequest) Reset()

func (*ResetCountRequest) String

func (x *ResetCountRequest) String() string

type ResetEnterLeaveTotalsRequest

type ResetEnterLeaveTotalsRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetEnterLeaveTotalsRequest) Descriptor deprecated

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

Deprecated: Use ResetEnterLeaveTotalsRequest.ProtoReflect.Descriptor instead.

func (*ResetEnterLeaveTotalsRequest) GetName

func (x *ResetEnterLeaveTotalsRequest) GetName() string

func (*ResetEnterLeaveTotalsRequest) ProtoMessage

func (*ResetEnterLeaveTotalsRequest) ProtoMessage()

func (*ResetEnterLeaveTotalsRequest) ProtoReflect

func (*ResetEnterLeaveTotalsRequest) Reset

func (x *ResetEnterLeaveTotalsRequest) Reset()

func (*ResetEnterLeaveTotalsRequest) String

type ResetEnterLeaveTotalsResponse

type ResetEnterLeaveTotalsResponse struct {
	// contains filtered or unexported fields
}

func (*ResetEnterLeaveTotalsResponse) Descriptor deprecated

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

Deprecated: Use ResetEnterLeaveTotalsResponse.ProtoReflect.Descriptor instead.

func (*ResetEnterLeaveTotalsResponse) ProtoMessage

func (*ResetEnterLeaveTotalsResponse) ProtoMessage()

func (*ResetEnterLeaveTotalsResponse) ProtoReflect

func (*ResetEnterLeaveTotalsResponse) Reset

func (x *ResetEnterLeaveTotalsResponse) Reset()

func (*ResetEnterLeaveTotalsResponse) String

type ReturnChannelRequest

type ReturnChannelRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Select the last channel to be selected before the current one.

func (*ReturnChannelRequest) Descriptor deprecated

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

Deprecated: Use ReturnChannelRequest.ProtoReflect.Descriptor instead.

func (*ReturnChannelRequest) GetName

func (x *ReturnChannelRequest) GetName() string

func (*ReturnChannelRequest) ProtoMessage

func (*ReturnChannelRequest) ProtoMessage()

func (*ReturnChannelRequest) ProtoReflect

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

func (*ReturnChannelRequest) Reset

func (x *ReturnChannelRequest) Reset()

func (*ReturnChannelRequest) String

func (x *ReturnChannelRequest) String() string

type ReverseFanSpeedDirectionRequest

type ReverseFanSpeedDirectionRequest struct {

	// Name of the device to reverse the fan speed for.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReverseFanSpeedDirectionRequest) Descriptor deprecated

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

Deprecated: Use ReverseFanSpeedDirectionRequest.ProtoReflect.Descriptor instead.

func (*ReverseFanSpeedDirectionRequest) GetName

func (*ReverseFanSpeedDirectionRequest) ProtoMessage

func (*ReverseFanSpeedDirectionRequest) ProtoMessage()

func (*ReverseFanSpeedDirectionRequest) ProtoReflect

func (*ReverseFanSpeedDirectionRequest) Reset

func (*ReverseFanSpeedDirectionRequest) String

type SpeakerApiClient

type SpeakerApiClient interface {
	// Get the current state of the volume for the device
	GetVolume(ctx context.Context, in *GetSpeakerVolumeRequest, opts ...grpc.CallOption) (*types.AudioLevel, error)
	// update the volume state for the device
	UpdateVolume(ctx context.Context, in *UpdateSpeakerVolumeRequest, opts ...grpc.CallOption) (*types.AudioLevel, error)
	PullVolume(ctx context.Context, in *PullSpeakerVolumeRequest, opts ...grpc.CallOption) (SpeakerApi_PullVolumeClient, error)
}

SpeakerApiClient is the client API for SpeakerApi 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.

func NewSpeakerApiClient

func NewSpeakerApiClient(cc grpc.ClientConnInterface) SpeakerApiClient

type SpeakerApiServer

type SpeakerApiServer interface {
	// Get the current state of the volume for the device
	GetVolume(context.Context, *GetSpeakerVolumeRequest) (*types.AudioLevel, error)
	// update the volume state for the device
	UpdateVolume(context.Context, *UpdateSpeakerVolumeRequest) (*types.AudioLevel, error)
	PullVolume(*PullSpeakerVolumeRequest, SpeakerApi_PullVolumeServer) error
	// contains filtered or unexported methods
}

SpeakerApiServer is the server API for SpeakerApi service. All implementations must embed UnimplementedSpeakerApiServer for forward compatibility

type SpeakerApi_PullVolumeClient

type SpeakerApi_PullVolumeClient interface {
	Recv() (*PullSpeakerVolumeResponse, error)
	grpc.ClientStream
}

type SpeakerApi_PullVolumeServer

type SpeakerApi_PullVolumeServer interface {
	Send(*PullSpeakerVolumeResponse) error
	grpc.ServerStream
}

type SpeakerInfoClient

type SpeakerInfoClient interface {
	// Get information about how a named device implements volume features
	DescribeVolume(ctx context.Context, in *DescribeVolumeRequest, opts ...grpc.CallOption) (*VolumeSupport, error)
}

SpeakerInfoClient is the client API for SpeakerInfo 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 SpeakerInfoServer

type SpeakerInfoServer interface {
	// Get information about how a named device implements volume features
	DescribeVolume(context.Context, *DescribeVolumeRequest) (*VolumeSupport, error)
	// contains filtered or unexported methods
}

SpeakerInfoServer is the server API for SpeakerInfo service. All implementations must embed UnimplementedSpeakerInfoServer for forward compatibility

type StopDispenseRequest

type StopDispenseRequest struct {

	// Name of the device to invoke the action on
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The consumable that should stop dispensing.
	Consumable string `protobuf:"bytes,2,opt,name=consumable,proto3" json:"consumable,omitempty"`
	// contains filtered or unexported fields
}

func (*StopDispenseRequest) Descriptor deprecated

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

Deprecated: Use StopDispenseRequest.ProtoReflect.Descriptor instead.

func (*StopDispenseRequest) GetConsumable

func (x *StopDispenseRequest) GetConsumable() string

func (*StopDispenseRequest) GetName

func (x *StopDispenseRequest) GetName() string

func (*StopDispenseRequest) ProtoMessage

func (*StopDispenseRequest) ProtoMessage()

func (*StopDispenseRequest) ProtoReflect

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

func (*StopDispenseRequest) Reset

func (x *StopDispenseRequest) Reset()

func (*StopDispenseRequest) String

func (x *StopDispenseRequest) String() string

type StopOpenCloseRequest

type StopOpenCloseRequest struct {

	// the name of the device to stop
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*StopOpenCloseRequest) Descriptor deprecated

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

Deprecated: Use StopOpenCloseRequest.ProtoReflect.Descriptor instead.

func (*StopOpenCloseRequest) GetName

func (x *StopOpenCloseRequest) GetName() string

func (*StopOpenCloseRequest) ProtoMessage

func (*StopOpenCloseRequest) ProtoMessage()

func (*StopOpenCloseRequest) ProtoReflect

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

func (*StopOpenCloseRequest) Reset

func (x *StopOpenCloseRequest) Reset()

func (*StopOpenCloseRequest) String

func (x *StopOpenCloseRequest) String() string

type StopPtzRequest

type StopPtzRequest struct {

	// the name of the device to stop
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*StopPtzRequest) Descriptor deprecated

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

Deprecated: Use StopPtzRequest.ProtoReflect.Descriptor instead.

func (*StopPtzRequest) GetName

func (x *StopPtzRequest) GetName() string

func (*StopPtzRequest) ProtoMessage

func (*StopPtzRequest) ProtoMessage()

func (*StopPtzRequest) ProtoReflect

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

func (*StopPtzRequest) Reset

func (x *StopPtzRequest) Reset()

func (*StopPtzRequest) String

func (x *StopPtzRequest) String() string

type TemperatureRange

type TemperatureRange struct {

	// Required. The low threshold for the range
	Low *types.Temperature `protobuf:"bytes,1,opt,name=low,proto3" json:"low,omitempty"`
	// Required. The high threshold for the range
	High *types.Temperature `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"`
	// Optional. An ideal value for cases where a device supports three set points
	Ideal *types.Temperature `protobuf:"bytes,3,opt,name=ideal,proto3" json:"ideal,omitempty"`
	// contains filtered or unexported fields
}

A setting for devices that target a temperature between a range.

func (*TemperatureRange) Descriptor deprecated

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

Deprecated: Use TemperatureRange.ProtoReflect.Descriptor instead.

func (*TemperatureRange) GetHigh

func (x *TemperatureRange) GetHigh() *types.Temperature

func (*TemperatureRange) GetIdeal

func (x *TemperatureRange) GetIdeal() *types.Temperature

func (*TemperatureRange) GetLow

func (x *TemperatureRange) GetLow() *types.Temperature

func (*TemperatureRange) ProtoMessage

func (*TemperatureRange) ProtoMessage()

func (*TemperatureRange) ProtoReflect

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

func (*TemperatureRange) Reset

func (x *TemperatureRange) Reset()

func (*TemperatureRange) String

func (x *TemperatureRange) String() string

type Trait

type Trait struct {

	// The qualified name of the trait.
	// For example smartcore.traits.Parent
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Trait) Descriptor deprecated

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

Deprecated: Use Trait.ProtoReflect.Descriptor instead.

func (*Trait) GetName

func (x *Trait) GetName() string

func (*Trait) ProtoMessage

func (*Trait) ProtoMessage()

func (*Trait) ProtoReflect

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

func (*Trait) Reset

func (x *Trait) Reset()

func (*Trait) String

func (x *Trait) String() string

type TraitMetadata

type TraitMetadata struct {

	// The fully qualified name of the trait.
	Name string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TraitMetadata) Descriptor deprecated

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

Deprecated: Use TraitMetadata.ProtoReflect.Descriptor instead.

func (*TraitMetadata) GetMore

func (x *TraitMetadata) GetMore() map[string]string

func (*TraitMetadata) GetName

func (x *TraitMetadata) GetName() string

func (*TraitMetadata) ProtoMessage

func (*TraitMetadata) ProtoMessage()

func (*TraitMetadata) ProtoReflect

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

func (*TraitMetadata) Reset

func (x *TraitMetadata) Reset()

func (*TraitMetadata) String

func (x *TraitMetadata) String() string

type UnimplementedAirQualitySensorApiServer

type UnimplementedAirQualitySensorApiServer struct {
}

UnimplementedAirQualitySensorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedAirQualitySensorApiServer) GetAirQuality

type UnimplementedAirQualitySensorInfoServer

type UnimplementedAirQualitySensorInfoServer struct {
}

UnimplementedAirQualitySensorInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedAirQualitySensorInfoServer) DescribeAirQuality

type UnimplementedAirTemperatureApiServer

type UnimplementedAirTemperatureApiServer struct {
}

UnimplementedAirTemperatureApiServer must be embedded to have forward compatible implementations.

func (UnimplementedAirTemperatureApiServer) GetAirTemperature

func (UnimplementedAirTemperatureApiServer) UpdateAirTemperature

type UnimplementedAirTemperatureInfoServer

type UnimplementedAirTemperatureInfoServer struct {
}

UnimplementedAirTemperatureInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedAirTemperatureInfoServer) DescribeAirTemperature

type UnimplementedBookingApiServer

type UnimplementedBookingApiServer struct {
}

UnimplementedBookingApiServer must be embedded to have forward compatible implementations.

func (UnimplementedBookingApiServer) CheckInBooking

func (UnimplementedBookingApiServer) CheckOutBooking

func (UnimplementedBookingApiServer) CreateBooking

func (UnimplementedBookingApiServer) ListBookings

func (UnimplementedBookingApiServer) PullBookings

func (UnimplementedBookingApiServer) UpdateBooking

type UnimplementedBookingInfoServer

type UnimplementedBookingInfoServer struct {
}

UnimplementedBookingInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedBookingInfoServer) DescribeBooking

type UnimplementedBrightnessSensorApiServer

type UnimplementedBrightnessSensorApiServer struct {
}

UnimplementedBrightnessSensorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedBrightnessSensorApiServer) GetAmbientBrightness

type UnimplementedBrightnessSensorInfoServer

type UnimplementedBrightnessSensorInfoServer struct {
}

UnimplementedBrightnessSensorInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedBrightnessSensorInfoServer) DescribeAmbientBrightness

type UnimplementedChannelApiServer

type UnimplementedChannelApiServer struct {
}

UnimplementedChannelApiServer must be embedded to have forward compatible implementations.

func (UnimplementedChannelApiServer) AdjustChannel

func (UnimplementedChannelApiServer) ChooseChannel

func (UnimplementedChannelApiServer) GetChosenChannel

func (UnimplementedChannelApiServer) ReturnChannel

type UnimplementedChannelInfoServer

type UnimplementedChannelInfoServer struct {
}

UnimplementedChannelInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedChannelInfoServer) DescribeChosenChannel

type UnimplementedCountApiServer

type UnimplementedCountApiServer struct {
}

UnimplementedCountApiServer must be embedded to have forward compatible implementations.

func (UnimplementedCountApiServer) GetCount

func (UnimplementedCountApiServer) PullCounts

func (UnimplementedCountApiServer) ResetCount

func (UnimplementedCountApiServer) UpdateCount

type UnimplementedCountInfoServer

type UnimplementedCountInfoServer struct {
}

UnimplementedCountInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedCountInfoServer) DescribeCount

type UnimplementedElectricApiServer

type UnimplementedElectricApiServer struct {
}

UnimplementedElectricApiServer must be embedded to have forward compatible implementations.

func (UnimplementedElectricApiServer) ClearActiveMode

func (UnimplementedElectricApiServer) GetActiveMode

func (UnimplementedElectricApiServer) GetDemand

func (UnimplementedElectricApiServer) ListModes

func (UnimplementedElectricApiServer) PullActiveMode

func (UnimplementedElectricApiServer) PullDemand

func (UnimplementedElectricApiServer) PullModes

func (UnimplementedElectricApiServer) UpdateActiveMode

type UnimplementedElectricInfoServer

type UnimplementedElectricInfoServer struct {
}

UnimplementedElectricInfoServer must be embedded to have forward compatible implementations.

type UnimplementedEmergencyApiServer

type UnimplementedEmergencyApiServer struct {
}

UnimplementedEmergencyApiServer must be embedded to have forward compatible implementations.

func (UnimplementedEmergencyApiServer) GetEmergency

func (UnimplementedEmergencyApiServer) PullEmergency

func (UnimplementedEmergencyApiServer) UpdateEmergency

type UnimplementedEmergencyInfoServer

type UnimplementedEmergencyInfoServer struct {
}

UnimplementedEmergencyInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedEmergencyInfoServer) DescribeEmergency

type UnimplementedEnergyStorageApiServer

type UnimplementedEnergyStorageApiServer struct {
}

UnimplementedEnergyStorageApiServer must be embedded to have forward compatible implementations.

func (UnimplementedEnergyStorageApiServer) Charge

func (UnimplementedEnergyStorageApiServer) GetEnergyLevel

type UnimplementedEnergyStorageInfoServer

type UnimplementedEnergyStorageInfoServer struct {
}

UnimplementedEnergyStorageInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedEnergyStorageInfoServer) DescribeEnergyLevel

type UnimplementedEnterLeaveSensorApiServer

type UnimplementedEnterLeaveSensorApiServer struct {
}

UnimplementedEnterLeaveSensorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedEnterLeaveSensorApiServer) GetEnterLeaveEvent

type UnimplementedEnterLeaveSensorInfoServer

type UnimplementedEnterLeaveSensorInfoServer struct {
}

UnimplementedEnterLeaveSensorInfoServer must be embedded to have forward compatible implementations.

type UnimplementedExtendRetractApiServer

type UnimplementedExtendRetractApiServer struct {
}

UnimplementedExtendRetractApiServer must be embedded to have forward compatible implementations.

func (UnimplementedExtendRetractApiServer) CreateExtensionPreset

func (UnimplementedExtendRetractApiServer) GetExtension

func (UnimplementedExtendRetractApiServer) Stop

func (UnimplementedExtendRetractApiServer) UpdateExtension

type UnimplementedExtendRetractInfoServer

type UnimplementedExtendRetractInfoServer struct {
}

UnimplementedExtendRetractInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedExtendRetractInfoServer) DescribeExtension

type UnimplementedFanSpeedApiServer

type UnimplementedFanSpeedApiServer struct {
}

UnimplementedFanSpeedApiServer must be embedded to have forward compatible implementations.

func (UnimplementedFanSpeedApiServer) GetFanSpeed

func (UnimplementedFanSpeedApiServer) PullFanSpeed

func (UnimplementedFanSpeedApiServer) ReverseFanSpeedDirection

func (UnimplementedFanSpeedApiServer) UpdateFanSpeed

type UnimplementedFanSpeedInfoServer

type UnimplementedFanSpeedInfoServer struct {
}

UnimplementedFanSpeedInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedFanSpeedInfoServer) DescribeFanSpeed

type UnimplementedHailApiServer

type UnimplementedHailApiServer struct {
}

UnimplementedHailApiServer must be embedded to have forward compatible implementations.

func (UnimplementedHailApiServer) CreateHail

func (UnimplementedHailApiServer) DeleteHail

func (UnimplementedHailApiServer) GetHail

func (UnimplementedHailApiServer) ListHails

func (UnimplementedHailApiServer) PullHail

func (UnimplementedHailApiServer) PullHails

func (UnimplementedHailApiServer) UpdateHail

type UnimplementedHailInfoServer

type UnimplementedHailInfoServer struct {
}

UnimplementedHailInfoServer must be embedded to have forward compatible implementations.

type UnimplementedInputSelectApiServer

type UnimplementedInputSelectApiServer struct {
}

UnimplementedInputSelectApiServer must be embedded to have forward compatible implementations.

func (UnimplementedInputSelectApiServer) GetInput

func (UnimplementedInputSelectApiServer) PullInput

func (UnimplementedInputSelectApiServer) UpdateInput

type UnimplementedInputSelectInfoServer

type UnimplementedInputSelectInfoServer struct {
}

UnimplementedInputSelectInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedInputSelectInfoServer) DescribeInput

type UnimplementedLightApiServer

type UnimplementedLightApiServer struct {
}

UnimplementedLightApiServer must be embedded to have forward compatible implementations.

func (UnimplementedLightApiServer) GetBrightness

func (UnimplementedLightApiServer) PullBrightness

func (UnimplementedLightApiServer) UpdateBrightness

type UnimplementedLightInfoServer

type UnimplementedLightInfoServer struct {
}

UnimplementedLightInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedLightInfoServer) DescribeBrightness

type UnimplementedLockUnlockApiServer

type UnimplementedLockUnlockApiServer struct {
}

UnimplementedLockUnlockApiServer must be embedded to have forward compatible implementations.

func (UnimplementedLockUnlockApiServer) GetLockUnlock

func (UnimplementedLockUnlockApiServer) PullLockUnlock

func (UnimplementedLockUnlockApiServer) UpdateLockUnlock

type UnimplementedLockUnlockInfoServer

type UnimplementedLockUnlockInfoServer struct {
}

UnimplementedLockUnlockInfoServer must be embedded to have forward compatible implementations.

type UnimplementedMetadataApiServer

type UnimplementedMetadataApiServer struct {
}

UnimplementedMetadataApiServer must be embedded to have forward compatible implementations.

func (UnimplementedMetadataApiServer) GetMetadata

func (UnimplementedMetadataApiServer) PullMetadata

type UnimplementedMetadataInfoServer

type UnimplementedMetadataInfoServer struct {
}

UnimplementedMetadataInfoServer must be embedded to have forward compatible implementations.

type UnimplementedMicrophoneApiServer

type UnimplementedMicrophoneApiServer struct {
}

UnimplementedMicrophoneApiServer must be embedded to have forward compatible implementations.

func (UnimplementedMicrophoneApiServer) GetGain

func (UnimplementedMicrophoneApiServer) UpdateGain

type UnimplementedMicrophoneInfoServer

type UnimplementedMicrophoneInfoServer struct {
}

UnimplementedMicrophoneInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedMicrophoneInfoServer) DescribeGain

type UnimplementedModeApiServer

type UnimplementedModeApiServer struct {
}

UnimplementedModeApiServer must be embedded to have forward compatible implementations.

func (UnimplementedModeApiServer) GetModeValues

func (UnimplementedModeApiServer) PullModeValues

func (UnimplementedModeApiServer) UpdateModeValues

type UnimplementedModeInfoServer

type UnimplementedModeInfoServer struct {
}

UnimplementedModeInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedModeInfoServer) DescribeModes

type UnimplementedMotionSensorApiServer

type UnimplementedMotionSensorApiServer struct {
}

UnimplementedMotionSensorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedMotionSensorApiServer) GetMotionDetection

type UnimplementedMotionSensorSensorInfoServer

type UnimplementedMotionSensorSensorInfoServer struct {
}

UnimplementedMotionSensorSensorInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedMotionSensorSensorInfoServer) DescribeMotionDetection

type UnimplementedOccupancySensorApiServer

type UnimplementedOccupancySensorApiServer struct {
}

UnimplementedOccupancySensorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedOccupancySensorApiServer) GetOccupancy

type UnimplementedOccupancySensorInfoServer

type UnimplementedOccupancySensorInfoServer struct {
}

UnimplementedOccupancySensorInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedOccupancySensorInfoServer) DescribeOccupancy

type UnimplementedOnOffApiServer

type UnimplementedOnOffApiServer struct {
}

UnimplementedOnOffApiServer must be embedded to have forward compatible implementations.

func (UnimplementedOnOffApiServer) GetOnOff

func (UnimplementedOnOffApiServer) PullOnOff

func (UnimplementedOnOffApiServer) UpdateOnOff

type UnimplementedOnOffInfoServer

type UnimplementedOnOffInfoServer struct {
}

UnimplementedOnOffInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedOnOffInfoServer) DescribeOnOff

type UnimplementedOpenCloseApiServer

type UnimplementedOpenCloseApiServer struct {
}

UnimplementedOpenCloseApiServer must be embedded to have forward compatible implementations.

func (UnimplementedOpenCloseApiServer) GetPositions

func (UnimplementedOpenCloseApiServer) Stop

func (UnimplementedOpenCloseApiServer) UpdatePositions

type UnimplementedOpenCloseInfoServer

type UnimplementedOpenCloseInfoServer struct {
}

UnimplementedOpenCloseInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedOpenCloseInfoServer) DescribePositions

type UnimplementedParentApiServer

type UnimplementedParentApiServer struct {
}

UnimplementedParentApiServer must be embedded to have forward compatible implementations.

func (UnimplementedParentApiServer) ListChildren

func (UnimplementedParentApiServer) PullChildren

type UnimplementedParentInfoServer

type UnimplementedParentInfoServer struct {
}

UnimplementedParentInfoServer must be embedded to have forward compatible implementations.

type UnimplementedPtzApiServer

type UnimplementedPtzApiServer struct {
}

UnimplementedPtzApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPtzApiServer) CreatePreset

func (UnimplementedPtzApiServer) GetPtz

func (UnimplementedPtzApiServer) PullPtz

func (UnimplementedPtzApiServer) Stop

func (UnimplementedPtzApiServer) UpdatePtz

type UnimplementedPtzInfoServer

type UnimplementedPtzInfoServer struct {
}

UnimplementedPtzInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedPtzInfoServer) DescribePtz

type UnimplementedPublicationApiServer

type UnimplementedPublicationApiServer struct {
}

UnimplementedPublicationApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPublicationApiServer) AcknowledgePublication

func (UnimplementedPublicationApiServer) CreatePublication

func (UnimplementedPublicationApiServer) DeletePublication

func (UnimplementedPublicationApiServer) GetPublication

func (UnimplementedPublicationApiServer) ListPublications

func (UnimplementedPublicationApiServer) UpdatePublication

type UnimplementedSpeakerApiServer

type UnimplementedSpeakerApiServer struct {
}

UnimplementedSpeakerApiServer must be embedded to have forward compatible implementations.

func (UnimplementedSpeakerApiServer) GetVolume

func (UnimplementedSpeakerApiServer) PullVolume

func (UnimplementedSpeakerApiServer) UpdateVolume

type UnimplementedSpeakerInfoServer

type UnimplementedSpeakerInfoServer struct {
}

UnimplementedSpeakerInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedSpeakerInfoServer) DescribeVolume

type UnimplementedVendingApiServer

type UnimplementedVendingApiServer struct {
}

UnimplementedVendingApiServer must be embedded to have forward compatible implementations.

func (UnimplementedVendingApiServer) Dispense

func (UnimplementedVendingApiServer) GetStock

func (UnimplementedVendingApiServer) ListConsumables

func (UnimplementedVendingApiServer) ListInventory

func (UnimplementedVendingApiServer) PullConsumables

func (UnimplementedVendingApiServer) PullInventory

func (UnimplementedVendingApiServer) PullStock

func (UnimplementedVendingApiServer) StopDispense

func (UnimplementedVendingApiServer) UpdateStock

type UnimplementedVendingInfoServer

type UnimplementedVendingInfoServer struct {
}

UnimplementedVendingInfoServer must be embedded to have forward compatible implementations.

type UnsafeAirQualitySensorApiServer

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

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

type UnsafeAirQualitySensorInfoServer

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

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

type UnsafeAirTemperatureApiServer

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

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

type UnsafeAirTemperatureInfoServer

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

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

type UnsafeBookingApiServer

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

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

type UnsafeBookingInfoServer

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

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

type UnsafeBrightnessSensorApiServer

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

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

type UnsafeBrightnessSensorInfoServer

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

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

type UnsafeChannelApiServer

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

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

type UnsafeChannelInfoServer

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

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

type UnsafeCountApiServer

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

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

type UnsafeCountInfoServer

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

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

type UnsafeElectricApiServer

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

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

type UnsafeElectricInfoServer

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

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

type UnsafeEmergencyApiServer

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

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

type UnsafeEmergencyInfoServer

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

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

type UnsafeEnergyStorageApiServer

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

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

type UnsafeEnergyStorageInfoServer

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

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

type UnsafeEnterLeaveSensorApiServer

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

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

type UnsafeEnterLeaveSensorInfoServer

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

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

type UnsafeExtendRetractApiServer

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

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

type UnsafeExtendRetractInfoServer

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

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

type UnsafeFanSpeedApiServer

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

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

type UnsafeFanSpeedInfoServer

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

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

type UnsafeHailApiServer

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

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

type UnsafeHailInfoServer

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

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

type UnsafeInputSelectApiServer

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

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

type UnsafeInputSelectInfoServer

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

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

type UnsafeLightApiServer

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

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

type UnsafeLightInfoServer

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

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

type UnsafeLockUnlockApiServer

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

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

type UnsafeLockUnlockInfoServer

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

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

type UnsafeMetadataApiServer

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

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

type UnsafeMetadataInfoServer

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

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

type UnsafeMicrophoneApiServer

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

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

type UnsafeMicrophoneInfoServer

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

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

type UnsafeModeApiServer

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

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

type UnsafeModeInfoServer

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

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

type UnsafeMotionSensorApiServer

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

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

type UnsafeMotionSensorSensorInfoServer

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

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

type UnsafeOccupancySensorApiServer

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

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

type UnsafeOccupancySensorInfoServer

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

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

type UnsafeOnOffApiServer

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

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

type UnsafeOnOffInfoServer

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

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

type UnsafeOpenCloseApiServer

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

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

type UnsafeOpenCloseInfoServer

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

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

type UnsafeParentApiServer

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

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

type UnsafeParentInfoServer

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

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

type UnsafePtzApiServer

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

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

type UnsafePtzInfoServer

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

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

type UnsafePublicationApiServer

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

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

type UnsafeSpeakerApiServer

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

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

type UnsafeSpeakerInfoServer

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

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

type UnsafeVendingApiServer

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

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

type UnsafeVendingInfoServer

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

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

type UpdateActiveModeRequest

type UpdateActiveModeRequest struct {

	// Name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The active mode to select.
	// The id field should be specified to select an existing mode.
	ActiveMode *ElectricMode `protobuf:"bytes,2,opt,name=active_mode,json=activeMode,proto3" json:"active_mode,omitempty"`
	// Fields to update relative to the ElectricMode type.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateActiveModeRequest) Descriptor deprecated

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

Deprecated: Use UpdateActiveModeRequest.ProtoReflect.Descriptor instead.

func (*UpdateActiveModeRequest) GetActiveMode

func (x *UpdateActiveModeRequest) GetActiveMode() *ElectricMode

func (*UpdateActiveModeRequest) GetName

func (x *UpdateActiveModeRequest) GetName() string

func (*UpdateActiveModeRequest) GetUpdateMask

func (x *UpdateActiveModeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateActiveModeRequest) ProtoMessage

func (*UpdateActiveModeRequest) ProtoMessage()

func (*UpdateActiveModeRequest) ProtoReflect

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

func (*UpdateActiveModeRequest) Reset

func (x *UpdateActiveModeRequest) Reset()

func (*UpdateActiveModeRequest) String

func (x *UpdateActiveModeRequest) String() string

type UpdateAirTemperatureRequest

type UpdateAirTemperatureRequest struct {
	Name  string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State *AirTemperature `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The fields relative to state we intend to update
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for updating the device state

func (*UpdateAirTemperatureRequest) Descriptor deprecated

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

Deprecated: Use UpdateAirTemperatureRequest.ProtoReflect.Descriptor instead.

func (*UpdateAirTemperatureRequest) GetName

func (x *UpdateAirTemperatureRequest) GetName() string

func (*UpdateAirTemperatureRequest) GetState

func (*UpdateAirTemperatureRequest) GetUpdateMask

func (*UpdateAirTemperatureRequest) ProtoMessage

func (*UpdateAirTemperatureRequest) ProtoMessage()

func (*UpdateAirTemperatureRequest) ProtoReflect

func (*UpdateAirTemperatureRequest) Reset

func (x *UpdateAirTemperatureRequest) Reset()

func (*UpdateAirTemperatureRequest) String

func (x *UpdateAirTemperatureRequest) String() string

type UpdateBookingRequest

type UpdateBookingRequest struct {

	// The name of the bookable (e.g. the resource name)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new value of the booking to use, make sure id is set
	Booking *Booking `protobuf:"bytes,2,opt,name=booking,proto3" json:"booking,omitempty"`
	// Which fields in the booking to update, any unsupported fields will be ignored, check the return value
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookingRequest) Descriptor deprecated

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

Deprecated: Use UpdateBookingRequest.ProtoReflect.Descriptor instead.

func (*UpdateBookingRequest) GetBooking

func (x *UpdateBookingRequest) GetBooking() *Booking

func (*UpdateBookingRequest) GetName

func (x *UpdateBookingRequest) GetName() string

func (*UpdateBookingRequest) GetUpdateMask

func (x *UpdateBookingRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBookingRequest) ProtoMessage

func (*UpdateBookingRequest) ProtoMessage()

func (*UpdateBookingRequest) ProtoReflect

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

func (*UpdateBookingRequest) Reset

func (x *UpdateBookingRequest) Reset()

func (*UpdateBookingRequest) String

func (x *UpdateBookingRequest) String() string

type UpdateBookingResponse

type UpdateBookingResponse struct {

	// The new value of the booking
	Booking *Booking `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookingResponse) Descriptor deprecated

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

Deprecated: Use UpdateBookingResponse.ProtoReflect.Descriptor instead.

func (*UpdateBookingResponse) GetBooking

func (x *UpdateBookingResponse) GetBooking() *Booking

func (*UpdateBookingResponse) ProtoMessage

func (*UpdateBookingResponse) ProtoMessage()

func (*UpdateBookingResponse) ProtoReflect

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

func (*UpdateBookingResponse) Reset

func (x *UpdateBookingResponse) Reset()

func (*UpdateBookingResponse) String

func (x *UpdateBookingResponse) String() string

type UpdateBrightnessRequest

type UpdateBrightnessRequest struct {

	// The name of the device to update
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new value for the brightness. Supply ramp to transition
	Brightness *Brightness `protobuf:"bytes,2,opt,name=brightness,proto3" json:"brightness,omitempty"`
	// if true, then the values in the brightness represent deltas from the current value and not absolute values
	Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"`
	// The state fields to update
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

A request to update the value of a brightness

func (*UpdateBrightnessRequest) Descriptor deprecated

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

Deprecated: Use UpdateBrightnessRequest.ProtoReflect.Descriptor instead.

func (*UpdateBrightnessRequest) GetBrightness

func (x *UpdateBrightnessRequest) GetBrightness() *Brightness

func (*UpdateBrightnessRequest) GetDelta

func (x *UpdateBrightnessRequest) GetDelta() bool

func (*UpdateBrightnessRequest) GetName

func (x *UpdateBrightnessRequest) GetName() string

func (*UpdateBrightnessRequest) GetUpdateMask

func (x *UpdateBrightnessRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBrightnessRequest) ProtoMessage

func (*UpdateBrightnessRequest) ProtoMessage()

func (*UpdateBrightnessRequest) ProtoReflect

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

func (*UpdateBrightnessRequest) Reset

func (x *UpdateBrightnessRequest) Reset()

func (*UpdateBrightnessRequest) String

func (x *UpdateBrightnessRequest) String() string

type UpdateCountRequest

type UpdateCountRequest struct {
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Count      *Count                 `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// if true the added and removed properties of count should be treated as a change not an absolute value.
	Delta bool `protobuf:"varint,4,opt,name=delta,proto3" json:"delta,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCountRequest) Descriptor deprecated

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

Deprecated: Use UpdateCountRequest.ProtoReflect.Descriptor instead.

func (*UpdateCountRequest) GetCount

func (x *UpdateCountRequest) GetCount() *Count

func (*UpdateCountRequest) GetDelta

func (x *UpdateCountRequest) GetDelta() bool

func (*UpdateCountRequest) GetName

func (x *UpdateCountRequest) GetName() string

func (*UpdateCountRequest) GetUpdateMask

func (x *UpdateCountRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateCountRequest) ProtoMessage

func (*UpdateCountRequest) ProtoMessage()

func (*UpdateCountRequest) ProtoReflect

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

func (*UpdateCountRequest) Reset

func (x *UpdateCountRequest) Reset()

func (*UpdateCountRequest) String

func (x *UpdateCountRequest) String() string

type UpdateEmergencyRequest

type UpdateEmergencyRequest struct {
	Name      string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Emergency *Emergency `protobuf:"bytes,2,opt,name=emergency,proto3" json:"emergency,omitempty"`
	// The fields relative to state we intend to update
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmergencyRequest) Descriptor deprecated

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

Deprecated: Use UpdateEmergencyRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmergencyRequest) GetEmergency

func (x *UpdateEmergencyRequest) GetEmergency() *Emergency

func (*UpdateEmergencyRequest) GetName

func (x *UpdateEmergencyRequest) GetName() string

func (*UpdateEmergencyRequest) GetUpdateMask

func (x *UpdateEmergencyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateEmergencyRequest) ProtoMessage

func (*UpdateEmergencyRequest) ProtoMessage()

func (*UpdateEmergencyRequest) ProtoReflect

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

func (*UpdateEmergencyRequest) Reset

func (x *UpdateEmergencyRequest) Reset()

func (*UpdateEmergencyRequest) String

func (x *UpdateEmergencyRequest) String() string

type UpdateExtensionRequest

type UpdateExtensionRequest struct {
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Extension  *Extension             `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateExtensionRequest) Descriptor deprecated

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

Deprecated: Use UpdateExtensionRequest.ProtoReflect.Descriptor instead.

func (*UpdateExtensionRequest) GetExtension

func (x *UpdateExtensionRequest) GetExtension() *Extension

func (*UpdateExtensionRequest) GetName

func (x *UpdateExtensionRequest) GetName() string

func (*UpdateExtensionRequest) GetUpdateMask

func (x *UpdateExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateExtensionRequest) ProtoMessage

func (*UpdateExtensionRequest) ProtoMessage()

func (*UpdateExtensionRequest) ProtoReflect

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

func (*UpdateExtensionRequest) Reset

func (x *UpdateExtensionRequest) Reset()

func (*UpdateExtensionRequest) String

func (x *UpdateExtensionRequest) String() string

type UpdateFanSpeedRequest

type UpdateFanSpeedRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new fan speed.
	FanSpeed *FanSpeed `protobuf:"bytes,2,opt,name=fan_speed,json=fanSpeed,proto3" json:"fan_speed,omitempty"`
	// Fields to fetch relative to the FanSpeed type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Values in fan_speed are relative to their current values.
	// FanSpeed.preset cannot be directly set relatively, use preset_index instead to adjust the selected preset index.
	Relative bool `protobuf:"varint,4,opt,name=relative,proto3" json:"relative,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFanSpeedRequest) Descriptor deprecated

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

Deprecated: Use UpdateFanSpeedRequest.ProtoReflect.Descriptor instead.

func (*UpdateFanSpeedRequest) GetFanSpeed

func (x *UpdateFanSpeedRequest) GetFanSpeed() *FanSpeed

func (*UpdateFanSpeedRequest) GetName

func (x *UpdateFanSpeedRequest) GetName() string

func (*UpdateFanSpeedRequest) GetRelative

func (x *UpdateFanSpeedRequest) GetRelative() bool

func (*UpdateFanSpeedRequest) GetUpdateMask

func (x *UpdateFanSpeedRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateFanSpeedRequest) ProtoMessage

func (*UpdateFanSpeedRequest) ProtoMessage()

func (*UpdateFanSpeedRequest) ProtoReflect

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

func (*UpdateFanSpeedRequest) Reset

func (x *UpdateFanSpeedRequest) Reset()

func (*UpdateFanSpeedRequest) String

func (x *UpdateFanSpeedRequest) String() string

type UpdateHailRequest

type UpdateHailRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// New hail properties.
	// Id must be set.
	Hail *Hail `protobuf:"bytes,2,opt,name=hail,proto3" json:"hail,omitempty"`
	// A list of fields to update relative to the Hail type.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateHailRequest) Descriptor deprecated

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

Deprecated: Use UpdateHailRequest.ProtoReflect.Descriptor instead.

func (*UpdateHailRequest) GetHail

func (x *UpdateHailRequest) GetHail() *Hail

func (*UpdateHailRequest) GetName

func (x *UpdateHailRequest) GetName() string

func (*UpdateHailRequest) GetUpdateMask

func (x *UpdateHailRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateHailRequest) ProtoMessage

func (*UpdateHailRequest) ProtoMessage()

func (*UpdateHailRequest) ProtoReflect

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

func (*UpdateHailRequest) Reset

func (x *UpdateHailRequest) Reset()

func (*UpdateHailRequest) String

func (x *UpdateHailRequest) String() string

type UpdateInputRequest

type UpdateInputRequest struct {

	// The name of the device to update
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new input value
	Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// the fields we are intending to update. Paths are relative to the input not this request
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

A request to update the current input

func (*UpdateInputRequest) Descriptor deprecated

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

Deprecated: Use UpdateInputRequest.ProtoReflect.Descriptor instead.

func (*UpdateInputRequest) GetInput

func (x *UpdateInputRequest) GetInput() *Input

func (*UpdateInputRequest) GetName

func (x *UpdateInputRequest) GetName() string

func (*UpdateInputRequest) GetUpdateMask

func (x *UpdateInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInputRequest) ProtoMessage

func (*UpdateInputRequest) ProtoMessage()

func (*UpdateInputRequest) ProtoReflect

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

func (*UpdateInputRequest) Reset

func (x *UpdateInputRequest) Reset()

func (*UpdateInputRequest) String

func (x *UpdateInputRequest) String() string

type UpdateLockUnlockRequest

type UpdateLockUnlockRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new value
	LockUnlock *LockUnlock `protobuf:"bytes,2,opt,name=lock_unlock,json=lockUnlock,proto3" json:"lock_unlock,omitempty"`
	// Fields to fetch relative to the LockUnlock type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLockUnlockRequest) Descriptor deprecated

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

Deprecated: Use UpdateLockUnlockRequest.ProtoReflect.Descriptor instead.

func (*UpdateLockUnlockRequest) GetLockUnlock

func (x *UpdateLockUnlockRequest) GetLockUnlock() *LockUnlock

func (*UpdateLockUnlockRequest) GetName

func (x *UpdateLockUnlockRequest) GetName() string

func (*UpdateLockUnlockRequest) GetUpdateMask

func (x *UpdateLockUnlockRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateLockUnlockRequest) ProtoMessage

func (*UpdateLockUnlockRequest) ProtoMessage()

func (*UpdateLockUnlockRequest) ProtoReflect

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

func (*UpdateLockUnlockRequest) Reset

func (x *UpdateLockUnlockRequest) Reset()

func (*UpdateLockUnlockRequest) String

func (x *UpdateLockUnlockRequest) String() string

type UpdateMicrophoneGainRequest

type UpdateMicrophoneGainRequest struct {

	// Name of the device to update the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated gain value
	Gain *types.AudioLevel `protobuf:"bytes,2,opt,name=gain,proto3" json:"gain,omitempty"`
	// Only supported for AudioLevel.gain. Update the value relative to the current value.
	Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"`
	// The fields we intend to update relative to the AudioLevel type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMicrophoneGainRequest) Descriptor deprecated

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

Deprecated: Use UpdateMicrophoneGainRequest.ProtoReflect.Descriptor instead.

func (*UpdateMicrophoneGainRequest) GetDelta

func (x *UpdateMicrophoneGainRequest) GetDelta() bool

func (*UpdateMicrophoneGainRequest) GetGain

func (*UpdateMicrophoneGainRequest) GetName

func (x *UpdateMicrophoneGainRequest) GetName() string

func (*UpdateMicrophoneGainRequest) GetUpdateMask

func (*UpdateMicrophoneGainRequest) ProtoMessage

func (*UpdateMicrophoneGainRequest) ProtoMessage()

func (*UpdateMicrophoneGainRequest) ProtoReflect

func (*UpdateMicrophoneGainRequest) Reset

func (x *UpdateMicrophoneGainRequest) Reset()

func (*UpdateMicrophoneGainRequest) String

func (x *UpdateMicrophoneGainRequest) String() string

type UpdateModeValuesRequest

type UpdateModeValuesRequest struct {

	// Name of the device to fetch the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new mode values.
	ModeValues *ModeValues `protobuf:"bytes,2,opt,name=mode_values,json=modeValues,proto3" json:"mode_values,omitempty"`
	// Relative changes to the current mode values.
	// If a mode name is specified in both mode_values and relative, and the adjustment in relative is non-zero, relative adjustments win.
	Relative *ModeValuesRelative `protobuf:"bytes,3,opt,name=relative,proto3" json:"relative,omitempty"`
	// Fields to update relative to the ModeValues and ModeAdjustments type.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateModeValuesRequest) Descriptor deprecated

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

Deprecated: Use UpdateModeValuesRequest.ProtoReflect.Descriptor instead.

func (*UpdateModeValuesRequest) GetModeValues

func (x *UpdateModeValuesRequest) GetModeValues() *ModeValues

func (*UpdateModeValuesRequest) GetName

func (x *UpdateModeValuesRequest) GetName() string

func (*UpdateModeValuesRequest) GetRelative

func (x *UpdateModeValuesRequest) GetRelative() *ModeValuesRelative

func (*UpdateModeValuesRequest) GetUpdateMask

func (x *UpdateModeValuesRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateModeValuesRequest) ProtoMessage

func (*UpdateModeValuesRequest) ProtoMessage()

func (*UpdateModeValuesRequest) ProtoReflect

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

func (*UpdateModeValuesRequest) Reset

func (x *UpdateModeValuesRequest) Reset()

func (*UpdateModeValuesRequest) String

func (x *UpdateModeValuesRequest) String() string

type UpdateOnOffRequest

type UpdateOnOffRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OnOff *OnOff `protobuf:"bytes,2,opt,name=on_off,json=onOff,proto3" json:"on_off,omitempty"`
	// The state fields to update
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOnOffRequest) Descriptor deprecated

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

Deprecated: Use UpdateOnOffRequest.ProtoReflect.Descriptor instead.

func (*UpdateOnOffRequest) GetName

func (x *UpdateOnOffRequest) GetName() string

func (*UpdateOnOffRequest) GetOnOff

func (x *UpdateOnOffRequest) GetOnOff() *OnOff

func (*UpdateOnOffRequest) GetUpdateMask

func (x *UpdateOnOffRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateOnOffRequest) ProtoMessage

func (*UpdateOnOffRequest) ProtoMessage()

func (*UpdateOnOffRequest) ProtoReflect

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

func (*UpdateOnOffRequest) Reset

func (x *UpdateOnOffRequest) Reset()

func (*UpdateOnOffRequest) String

func (x *UpdateOnOffRequest) String() string

type UpdateOpenClosePositionsRequest

type UpdateOpenClosePositionsRequest struct {

	// the name of the device to update the states for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// target states for each directional element of the device. If you don't want to change an open direction don't
	// include it in the states list.
	States *OpenClosePositions `protobuf:"bytes,2,opt,name=states,proto3" json:"states,omitempty"`
	// indicate whether the state change is a delta or absolute value
	Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"`
	// The state fields to update
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOpenClosePositionsRequest) Descriptor deprecated

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

Deprecated: Use UpdateOpenClosePositionsRequest.ProtoReflect.Descriptor instead.

func (*UpdateOpenClosePositionsRequest) GetDelta

func (x *UpdateOpenClosePositionsRequest) GetDelta() bool

func (*UpdateOpenClosePositionsRequest) GetName

func (*UpdateOpenClosePositionsRequest) GetStates

func (*UpdateOpenClosePositionsRequest) GetUpdateMask

func (*UpdateOpenClosePositionsRequest) ProtoMessage

func (*UpdateOpenClosePositionsRequest) ProtoMessage()

func (*UpdateOpenClosePositionsRequest) ProtoReflect

func (*UpdateOpenClosePositionsRequest) Reset

func (*UpdateOpenClosePositionsRequest) String

type UpdatePtzRequest

type UpdatePtzRequest struct {

	// the name of the device to update the state of
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new state
	State *Ptz `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The fields we are intending to update relative to the Ptz
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePtzRequest) Descriptor deprecated

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

Deprecated: Use UpdatePtzRequest.ProtoReflect.Descriptor instead.

func (*UpdatePtzRequest) GetName

func (x *UpdatePtzRequest) GetName() string

func (*UpdatePtzRequest) GetState

func (x *UpdatePtzRequest) GetState() *Ptz

func (*UpdatePtzRequest) GetUpdateMask

func (x *UpdatePtzRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePtzRequest) ProtoMessage

func (*UpdatePtzRequest) ProtoMessage()

func (*UpdatePtzRequest) ProtoReflect

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

func (*UpdatePtzRequest) Reset

func (x *UpdatePtzRequest) Reset()

func (*UpdatePtzRequest) String

func (x *UpdatePtzRequest) String() string

type UpdatePublicationRequest

type UpdatePublicationRequest struct {

	// The name of the device
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The publication to update.
	Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"`
	// Fields to update relative to the Publication type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If present, the update will fail if the version on the server does not match this version.
	// Populate with the latest known version on the client to avoid concurrent updates overriding each other
	// transparently.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePublicationRequest) Descriptor deprecated

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

Deprecated: Use UpdatePublicationRequest.ProtoReflect.Descriptor instead.

func (*UpdatePublicationRequest) GetName

func (x *UpdatePublicationRequest) GetName() string

func (*UpdatePublicationRequest) GetPublication

func (x *UpdatePublicationRequest) GetPublication() *Publication

func (*UpdatePublicationRequest) GetUpdateMask

func (x *UpdatePublicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePublicationRequest) GetVersion

func (x *UpdatePublicationRequest) GetVersion() string

func (*UpdatePublicationRequest) ProtoMessage

func (*UpdatePublicationRequest) ProtoMessage()

func (*UpdatePublicationRequest) ProtoReflect

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

func (*UpdatePublicationRequest) Reset

func (x *UpdatePublicationRequest) Reset()

func (*UpdatePublicationRequest) String

func (x *UpdatePublicationRequest) String() string

type UpdateSpeakerVolumeRequest

type UpdateSpeakerVolumeRequest struct {

	// Name of the device to update the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The updated volume value
	Volume *types.AudioLevel `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// Only supported for AudioLevel.gain. Update the value relative to the current value.
	Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"`
	// The fields we intend to update relative to the AudioLevel type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSpeakerVolumeRequest) Descriptor deprecated

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

Deprecated: Use UpdateSpeakerVolumeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSpeakerVolumeRequest) GetDelta

func (x *UpdateSpeakerVolumeRequest) GetDelta() bool

func (*UpdateSpeakerVolumeRequest) GetName

func (x *UpdateSpeakerVolumeRequest) GetName() string

func (*UpdateSpeakerVolumeRequest) GetUpdateMask

func (x *UpdateSpeakerVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSpeakerVolumeRequest) GetVolume

func (*UpdateSpeakerVolumeRequest) ProtoMessage

func (*UpdateSpeakerVolumeRequest) ProtoMessage()

func (*UpdateSpeakerVolumeRequest) ProtoReflect

func (*UpdateSpeakerVolumeRequest) Reset

func (x *UpdateSpeakerVolumeRequest) Reset()

func (*UpdateSpeakerVolumeRequest) String

func (x *UpdateSpeakerVolumeRequest) String() string

type UpdateStockRequest

type UpdateStockRequest struct {

	// Name of the device to update the state for
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// New quantities for the consumable stock.
	Stock *Consumable_Stock `protobuf:"bytes,2,opt,name=stock,proto3" json:"stock,omitempty"`
	// Fields to update relative to the Consumable.Stock type.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// If true, stock adjustments are relative to their current values.
	Relative bool `protobuf:"varint,4,opt,name=relative,proto3" json:"relative,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStockRequest) Descriptor deprecated

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

Deprecated: Use UpdateStockRequest.ProtoReflect.Descriptor instead.

func (*UpdateStockRequest) GetName

func (x *UpdateStockRequest) GetName() string

func (*UpdateStockRequest) GetRelative

func (x *UpdateStockRequest) GetRelative() bool

func (*UpdateStockRequest) GetStock

func (x *UpdateStockRequest) GetStock() *Consumable_Stock

func (*UpdateStockRequest) GetUpdateMask

func (x *UpdateStockRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateStockRequest) ProtoMessage

func (*UpdateStockRequest) ProtoMessage()

func (*UpdateStockRequest) ProtoReflect

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

func (*UpdateStockRequest) Reset

func (x *UpdateStockRequest) Reset()

func (*UpdateStockRequest) String

func (x *UpdateStockRequest) String() string

type VendingApiClient

type VendingApiClient interface {
	// List the consumables available from this device.
	// This has no information on stock, only descriptive information about the physical item.
	ListConsumables(ctx context.Context, in *ListConsumablesRequest, opts ...grpc.CallOption) (*ListConsumablesResponse, error)
	// Subscribe to change in consumables available from this device.
	PullConsumables(ctx context.Context, in *PullConsumablesRequest, opts ...grpc.CallOption) (VendingApi_PullConsumablesClient, error)
	// Get the current stock levels for a consumable.
	// If the consumable is unknown will return NotFound.
	// If the consumable is out of stock, returns a Stock with a zero remaining quantity.
	GetStock(ctx context.Context, in *GetStockRequest, opts ...grpc.CallOption) (*Consumable_Stock, error)
	// Update the quantity of a consumable in the device.
	//
	// This is unlikely to actually create physical consumables out of thin air, but is useful if the device doesn't have
	// internal sensors monitoring the physical quantity of its consumables. For example to let a cookie dispenser know
	// that it was refilled with 100 new tasty cookies.
	UpdateStock(ctx context.Context, in *UpdateStockRequest, opts ...grpc.CallOption) (*Consumable_Stock, error)
	// Subscribe to changes in the stock levels for a consumable.
	PullStock(ctx context.Context, in *PullStockRequest, opts ...grpc.CallOption) (VendingApi_PullStockClient, error)
	// List the stock for each consumable in the device.
	// The device should return zero-quantity stock for consumables that are out-of-stock.
	ListInventory(ctx context.Context, in *ListInventoryRequest, opts ...grpc.CallOption) (*ListInventoryResponse, error)
	// Subscribe to changes in consumable stock.
	PullInventory(ctx context.Context, in *PullInventoryRequest, opts ...grpc.CallOption) (VendingApi_PullInventoryClient, error)
	// Trigger the dispensing of some quantity of consumables.
	// Devices should return only stock items that are mentioned in the request.
	Dispense(ctx context.Context, in *DispenseRequest, opts ...grpc.CallOption) (*Consumable_Stock, error)
	// Stop the dispensing of the mentioned consumables.
	// Devices should return only stock items that are mentioned in the request.
	StopDispense(ctx context.Context, in *StopDispenseRequest, opts ...grpc.CallOption) (*Consumable_Stock, error)
}

VendingApiClient is the client API for VendingApi 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.

func NewVendingApiClient

func NewVendingApiClient(cc grpc.ClientConnInterface) VendingApiClient

type VendingApiServer

type VendingApiServer interface {
	// List the consumables available from this device.
	// This has no information on stock, only descriptive information about the physical item.
	ListConsumables(context.Context, *ListConsumablesRequest) (*ListConsumablesResponse, error)
	// Subscribe to change in consumables available from this device.
	PullConsumables(*PullConsumablesRequest, VendingApi_PullConsumablesServer) error
	// Get the current stock levels for a consumable.
	// If the consumable is unknown will return NotFound.
	// If the consumable is out of stock, returns a Stock with a zero remaining quantity.
	GetStock(context.Context, *GetStockRequest) (*Consumable_Stock, error)
	// Update the quantity of a consumable in the device.
	//
	// This is unlikely to actually create physical consumables out of thin air, but is useful if the device doesn't have
	// internal sensors monitoring the physical quantity of its consumables. For example to let a cookie dispenser know
	// that it was refilled with 100 new tasty cookies.
	UpdateStock(context.Context, *UpdateStockRequest) (*Consumable_Stock, error)
	// Subscribe to changes in the stock levels for a consumable.
	PullStock(*PullStockRequest, VendingApi_PullStockServer) error
	// List the stock for each consumable in the device.
	// The device should return zero-quantity stock for consumables that are out-of-stock.
	ListInventory(context.Context, *ListInventoryRequest) (*ListInventoryResponse, error)
	// Subscribe to changes in consumable stock.
	PullInventory(*PullInventoryRequest, VendingApi_PullInventoryServer) error
	// Trigger the dispensing of some quantity of consumables.
	// Devices should return only stock items that are mentioned in the request.
	Dispense(context.Context, *DispenseRequest) (*Consumable_Stock, error)
	// Stop the dispensing of the mentioned consumables.
	// Devices should return only stock items that are mentioned in the request.
	StopDispense(context.Context, *StopDispenseRequest) (*Consumable_Stock, error)
	// contains filtered or unexported methods
}

VendingApiServer is the server API for VendingApi service. All implementations must embed UnimplementedVendingApiServer for forward compatibility

type VendingApi_PullConsumablesClient

type VendingApi_PullConsumablesClient interface {
	Recv() (*PullConsumablesResponse, error)
	grpc.ClientStream
}

type VendingApi_PullConsumablesServer

type VendingApi_PullConsumablesServer interface {
	Send(*PullConsumablesResponse) error
	grpc.ServerStream
}

type VendingApi_PullInventoryClient

type VendingApi_PullInventoryClient interface {
	Recv() (*PullInventoryResponse, error)
	grpc.ClientStream
}

type VendingApi_PullInventoryServer

type VendingApi_PullInventoryServer interface {
	Send(*PullInventoryResponse) error
	grpc.ServerStream
}

type VendingApi_PullStockClient

type VendingApi_PullStockClient interface {
	Recv() (*PullStockResponse, error)
	grpc.ClientStream
}

type VendingApi_PullStockServer

type VendingApi_PullStockServer interface {
	Send(*PullStockResponse) error
	grpc.ServerStream
}

type VendingInfoClient

type VendingInfoClient interface {
}

VendingInfoClient is the client API for VendingInfo 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 VendingInfoServer

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

VendingInfoServer is the server API for VendingInfo service. All implementations must embed UnimplementedVendingInfoServer for forward compatibility

type VolumeSupport

type VolumeSupport struct {

	// How a named device supports read/write/pull apis
	ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"`
	// Attributes associated with the gain property of the speaker. Note that a step value that is the same as the bounds
	// implies that the speaker only supports mute
	VolumeAttributes *types.FloatAttributes `protobuf:"bytes,2,opt,name=volume_attributes,json=volumeAttributes,proto3" json:"volume_attributes,omitempty"`
	// How is mute implemented by the device. Can help to customise behaviour of interfaces to the device, e.g. by
	// disallowing gain change when muted
	MuteSupport types.MuteSupport `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

VolumeSupport describes the capabilities of devices implementing this trait

func (*VolumeSupport) Descriptor deprecated

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

Deprecated: Use VolumeSupport.ProtoReflect.Descriptor instead.

func (*VolumeSupport) GetMuteSupport

func (x *VolumeSupport) GetMuteSupport() types.MuteSupport

func (*VolumeSupport) GetResourceSupport

func (x *VolumeSupport) GetResourceSupport() *types.ResourceSupport

func (*VolumeSupport) GetVolumeAttributes

func (x *VolumeSupport) GetVolumeAttributes() *types.FloatAttributes

func (*VolumeSupport) ProtoMessage

func (*VolumeSupport) ProtoMessage()

func (*VolumeSupport) ProtoReflect

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

func (*VolumeSupport) Reset

func (x *VolumeSupport) Reset()

func (*VolumeSupport) String

func (x *VolumeSupport) String() string

Jump to

Keyboard shortcuts

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