gen

package
v0.2024.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AccessApi_GetLastAccessAttempt_FullMethodName = "/smartcore.bos.AccessApi/GetLastAccessAttempt"
	AccessApi_PullAccessAttempts_FullMethodName   = "/smartcore.bos.AccessApi/PullAccessAttempts"
)
View Source
const (
	AlertApi_ListAlerts_FullMethodName         = "/smartcore.bos.AlertApi/ListAlerts"
	AlertApi_PullAlerts_FullMethodName         = "/smartcore.bos.AlertApi/PullAlerts"
	AlertApi_AcknowledgeAlert_FullMethodName   = "/smartcore.bos.AlertApi/AcknowledgeAlert"
	AlertApi_UnacknowledgeAlert_FullMethodName = "/smartcore.bos.AlertApi/UnacknowledgeAlert"
	AlertApi_GetAlertMetadata_FullMethodName   = "/smartcore.bos.AlertApi/GetAlertMetadata"
	AlertApi_PullAlertMetadata_FullMethodName  = "/smartcore.bos.AlertApi/PullAlertMetadata"
)
View Source
const (
	AlertAdminApi_CreateAlert_FullMethodName  = "/smartcore.bos.AlertAdminApi/CreateAlert"
	AlertAdminApi_UpdateAlert_FullMethodName  = "/smartcore.bos.AlertAdminApi/UpdateAlert"
	AlertAdminApi_ResolveAlert_FullMethodName = "/smartcore.bos.AlertAdminApi/ResolveAlert"
	AlertAdminApi_DeleteAlert_FullMethodName  = "/smartcore.bos.AlertAdminApi/DeleteAlert"
)
View Source
const (
	ButtonApi_GetButtonState_FullMethodName    = "/smartcore.bos.ButtonApi/GetButtonState"
	ButtonApi_PullButtonState_FullMethodName   = "/smartcore.bos.ButtonApi/PullButtonState"
	ButtonApi_UpdateButtonState_FullMethodName = "/smartcore.bos.ButtonApi/UpdateButtonState"
)
View Source
const (
	ColorApi_GetColor_FullMethodName    = "/smartcore.bos.ColorApi/GetColor"
	ColorApi_UpdateColor_FullMethodName = "/smartcore.bos.ColorApi/UpdateColor"
	ColorApi_PullColor_FullMethodName   = "/smartcore.bos.ColorApi/PullColor"
)
View Source
const (
	DaliApi_AddToGroup_FullMethodName           = "/smartcore.bos.driver.dali.DaliApi/AddToGroup"
	DaliApi_RemoveFromGroup_FullMethodName      = "/smartcore.bos.driver.dali.DaliApi/RemoveFromGroup"
	DaliApi_GetGroupMembership_FullMethodName   = "/smartcore.bos.driver.dali.DaliApi/GetGroupMembership"
	DaliApi_GetControlGearStatus_FullMethodName = "/smartcore.bos.driver.dali.DaliApi/GetControlGearStatus"
	DaliApi_GetEmergencyStatus_FullMethodName   = "/smartcore.bos.driver.dali.DaliApi/GetEmergencyStatus"
	DaliApi_Identify_FullMethodName             = "/smartcore.bos.driver.dali.DaliApi/Identify"
	DaliApi_StartTest_FullMethodName            = "/smartcore.bos.driver.dali.DaliApi/StartTest"
	DaliApi_StopTest_FullMethodName             = "/smartcore.bos.driver.dali.DaliApi/StopTest"
	DaliApi_GetTestResult_FullMethodName        = "/smartcore.bos.driver.dali.DaliApi/GetTestResult"
	DaliApi_DeleteTestResult_FullMethodName     = "/smartcore.bos.driver.dali.DaliApi/DeleteTestResult"
)
View Source
const (
	DevicesApi_ListDevices_FullMethodName         = "/smartcore.bos.DevicesApi/ListDevices"
	DevicesApi_PullDevices_FullMethodName         = "/smartcore.bos.DevicesApi/PullDevices"
	DevicesApi_GetDevicesMetadata_FullMethodName  = "/smartcore.bos.DevicesApi/GetDevicesMetadata"
	DevicesApi_PullDevicesMetadata_FullMethodName = "/smartcore.bos.DevicesApi/PullDevicesMetadata"
)
View Source
const (
	EnrollmentApi_GetEnrollment_FullMethodName    = "/smartcore.bos.EnrollmentApi/GetEnrollment"
	EnrollmentApi_CreateEnrollment_FullMethodName = "/smartcore.bos.EnrollmentApi/CreateEnrollment"
	EnrollmentApi_UpdateEnrollment_FullMethodName = "/smartcore.bos.EnrollmentApi/UpdateEnrollment"
	EnrollmentApi_DeleteEnrollment_FullMethodName = "/smartcore.bos.EnrollmentApi/DeleteEnrollment"
	EnrollmentApi_TestEnrollment_FullMethodName   = "/smartcore.bos.EnrollmentApi/TestEnrollment"
)
View Source
const (
	HistoryAdminApi_CreateHistoryRecord_FullMethodName = "/smartcore.bos.HistoryAdminApi/CreateHistoryRecord"
	HistoryAdminApi_ListHistoryRecords_FullMethodName  = "/smartcore.bos.HistoryAdminApi/ListHistoryRecords"
)
View Source
const (
	HubApi_GetHubNode_FullMethodName     = "/smartcore.bos.HubApi/GetHubNode"
	HubApi_ListHubNodes_FullMethodName   = "/smartcore.bos.HubApi/ListHubNodes"
	HubApi_PullHubNodes_FullMethodName   = "/smartcore.bos.HubApi/PullHubNodes"
	HubApi_InspectHubNode_FullMethodName = "/smartcore.bos.HubApi/InspectHubNode"
	HubApi_EnrollHubNode_FullMethodName  = "/smartcore.bos.HubApi/EnrollHubNode"
	HubApi_RenewHubNode_FullMethodName   = "/smartcore.bos.HubApi/RenewHubNode"
	HubApi_TestHubNode_FullMethodName    = "/smartcore.bos.HubApi/TestHubNode"
	HubApi_ForgetHubNode_FullMethodName  = "/smartcore.bos.HubApi/ForgetHubNode"
)
View Source
const (
	LightingTestApi_GetLightHealth_FullMethodName  = "/smartcore.bos.LightingTestApi/GetLightHealth"
	LightingTestApi_ListLightHealth_FullMethodName = "/smartcore.bos.LightingTestApi/ListLightHealth"
	LightingTestApi_ListLightEvents_FullMethodName = "/smartcore.bos.LightingTestApi/ListLightEvents"
	LightingTestApi_GetReportCSV_FullMethodName    = "/smartcore.bos.LightingTestApi/GetReportCSV"
)
View Source
const (
	MeterApi_GetMeterReading_FullMethodName   = "/smartcore.bos.MeterApi/GetMeterReading"
	MeterApi_PullMeterReadings_FullMethodName = "/smartcore.bos.MeterApi/PullMeterReadings"
)
View Source
const (
	ServicesApi_GetService_FullMethodName          = "/smartcore.bos.ServicesApi/GetService"
	ServicesApi_PullService_FullMethodName         = "/smartcore.bos.ServicesApi/PullService"
	ServicesApi_CreateService_FullMethodName       = "/smartcore.bos.ServicesApi/CreateService"
	ServicesApi_DeleteService_FullMethodName       = "/smartcore.bos.ServicesApi/DeleteService"
	ServicesApi_ListServices_FullMethodName        = "/smartcore.bos.ServicesApi/ListServices"
	ServicesApi_PullServices_FullMethodName        = "/smartcore.bos.ServicesApi/PullServices"
	ServicesApi_StartService_FullMethodName        = "/smartcore.bos.ServicesApi/StartService"
	ServicesApi_ConfigureService_FullMethodName    = "/smartcore.bos.ServicesApi/ConfigureService"
	ServicesApi_StopService_FullMethodName         = "/smartcore.bos.ServicesApi/StopService"
	ServicesApi_GetServiceMetadata_FullMethodName  = "/smartcore.bos.ServicesApi/GetServiceMetadata"
	ServicesApi_PullServiceMetadata_FullMethodName = "/smartcore.bos.ServicesApi/PullServiceMetadata"
)
View Source
const (
	StatusApi_GetCurrentStatus_FullMethodName  = "/smartcore.bos.StatusApi/GetCurrentStatus"
	StatusApi_PullCurrentStatus_FullMethodName = "/smartcore.bos.StatusApi/PullCurrentStatus"
)
View Source
const (
	TemperatureApi_GetTemperature_FullMethodName    = "/smartcore.bos.TemperatureApi/GetTemperature"
	TemperatureApi_PullTemperature_FullMethodName   = "/smartcore.bos.TemperatureApi/PullTemperature"
	TemperatureApi_UpdateTemperature_FullMethodName = "/smartcore.bos.TemperatureApi/UpdateTemperature"
)
View Source
const (
	TenantApi_ListTenants_FullMethodName       = "/smartcore.bos.tenants.TenantApi/ListTenants"
	TenantApi_PullTenants_FullMethodName       = "/smartcore.bos.tenants.TenantApi/PullTenants"
	TenantApi_CreateTenant_FullMethodName      = "/smartcore.bos.tenants.TenantApi/CreateTenant"
	TenantApi_GetTenant_FullMethodName         = "/smartcore.bos.tenants.TenantApi/GetTenant"
	TenantApi_UpdateTenant_FullMethodName      = "/smartcore.bos.tenants.TenantApi/UpdateTenant"
	TenantApi_DeleteTenant_FullMethodName      = "/smartcore.bos.tenants.TenantApi/DeleteTenant"
	TenantApi_PullTenant_FullMethodName        = "/smartcore.bos.tenants.TenantApi/PullTenant"
	TenantApi_AddTenantZones_FullMethodName    = "/smartcore.bos.tenants.TenantApi/AddTenantZones"
	TenantApi_RemoveTenantZones_FullMethodName = "/smartcore.bos.tenants.TenantApi/RemoveTenantZones"
	TenantApi_ListSecrets_FullMethodName       = "/smartcore.bos.tenants.TenantApi/ListSecrets"
	TenantApi_PullSecrets_FullMethodName       = "/smartcore.bos.tenants.TenantApi/PullSecrets"
	TenantApi_CreateSecret_FullMethodName      = "/smartcore.bos.tenants.TenantApi/CreateSecret"
	TenantApi_VerifySecret_FullMethodName      = "/smartcore.bos.tenants.TenantApi/VerifySecret"
	TenantApi_GetSecret_FullMethodName         = "/smartcore.bos.tenants.TenantApi/GetSecret"
	TenantApi_UpdateSecret_FullMethodName      = "/smartcore.bos.tenants.TenantApi/UpdateSecret"
	TenantApi_DeleteSecret_FullMethodName      = "/smartcore.bos.tenants.TenantApi/DeleteSecret"
	TenantApi_PullSecret_FullMethodName        = "/smartcore.bos.tenants.TenantApi/PullSecret"
	TenantApi_RegenerateSecret_FullMethodName  = "/smartcore.bos.tenants.TenantApi/RegenerateSecret"
)
View Source
const (
	UdmiService_PullControlTopics_FullMethodName  = "/smartcore.bos.UdmiService/PullControlTopics"
	UdmiService_OnMessage_FullMethodName          = "/smartcore.bos.UdmiService/OnMessage"
	UdmiService_PullExportMessages_FullMethodName = "/smartcore.bos.UdmiService/PullExportMessages"
	UdmiService_GetExportMessage_FullMethodName   = "/smartcore.bos.UdmiService/GetExportMessage"
)
View Source
const (
	AirQualitySensorHistory_ListAirQualityHistory_FullMethodName = "/smartcore.bos.AirQualitySensorHistory/ListAirQualityHistory"
)
View Source
const (
	AirTemperatureHistory_ListAirTemperatureHistory_FullMethodName = "/smartcore.bos.AirTemperatureHistory/ListAirTemperatureHistory"
)
View Source
const (
	AxiomXaDriverService_SaveQRCredential_FullMethodName = "/smartcore.bos.driver.axiomxa.AxiomXaDriverService/SaveQRCredential"
)
View Source
const (
	ColorInfo_DescribeColor_FullMethodName = "/smartcore.bos.ColorInfo/DescribeColor"
)
View Source
const (
	ElectricHistory_ListElectricDemandHistory_FullMethodName = "/smartcore.bos.ElectricHistory/ListElectricDemandHistory"
)
View Source
const (
	MeterHistory_ListMeterReadingHistory_FullMethodName = "/smartcore.bos.MeterHistory/ListMeterReadingHistory"
)
View Source
const (
	MeterInfo_DescribeMeterReading_FullMethodName = "/smartcore.bos.MeterInfo/DescribeMeterReading"
)
View Source
const (
	MqttService_PullMessages_FullMethodName = "/smartcore.bos.MqttService/PullMessages"
)
View Source
const (
	OccupancySensorHistory_ListOccupancyHistory_FullMethodName = "/smartcore.bos.OccupancySensorHistory/ListOccupancyHistory"
)
View Source
const (
	StatusHistory_ListCurrentStatusHistory_FullMethodName = "/smartcore.bos.StatusHistory/ListCurrentStatusHistory"
)

Variables

View Source
var (
	AccessAttempt_Grant_name = map[int32]string{
		0: "GRANT_UNKNOWN",
		1: "GRANTED",
		2: "DENIED",
		3: "PENDING",
		4: "ABORTED",
		5: "FORCED",
		6: "FAILED",
		7: "TAILGATE",
	}
	AccessAttempt_Grant_value = map[string]int32{
		"GRANT_UNKNOWN": 0,
		"GRANTED":       1,
		"DENIED":        2,
		"PENDING":       3,
		"ABORTED":       4,
		"FORCED":        5,
		"FAILED":        6,
		"TAILGATE":      7,
	}
)

Enum value maps for AccessAttempt_Grant.

View Source
var (
	Alert_Severity_name = map[int32]string{
		0:  "SEVERITY_UNSPECIFIED",
		9:  "INFO",
		13: "WARNING",
		17: "SEVERE",
		21: "LIFE_SAFETY",
	}
	Alert_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"INFO":                 9,
		"WARNING":              13,
		"SEVERE":               17,
		"LIFE_SAFETY":          21,
	}
)

Enum value maps for Alert_Severity.

View Source
var (
	ButtonState_Press_name = map[int32]string{
		0: "PRESS_UNSPECIFIED",
		1: "UNPRESSED",
		2: "PRESSED",
	}
	ButtonState_Press_value = map[string]int32{
		"PRESS_UNSPECIFIED": 0,
		"UNPRESSED":         1,
		"PRESSED":           2,
	}
)

Enum value maps for ButtonState_Press.

View Source
var (
	ButtonState_Gesture_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "CLICK",
		2: "HOLD",
	}
	ButtonState_Gesture_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"CLICK":            1,
		"HOLD":             2,
	}
)

Enum value maps for ButtonState_Gesture_Kind.

View Source
var (
	EmergencyStatus_Test_name = map[int32]string{
		0: "TEST_UNKNOWN",
		1: "NO_TEST",
		2: "FUNCTION_TEST",
		3: "DURATION_TEST",
	}
	EmergencyStatus_Test_value = map[string]int32{
		"TEST_UNKNOWN":  0,
		"NO_TEST":       1,
		"FUNCTION_TEST": 2,
		"DURATION_TEST": 3,
	}
)

Enum value maps for EmergencyStatus_Test.

View Source
var (
	EmergencyStatus_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "REST",
		3: "NORMAL",
		4: "EMERGENCY",
		5: "EXTENDED_EMERGENCY",
		6: "FUNCTION_TEST_ACTIVE",
		7: "DURATION_TEST_ACTIVE",
		8: "HARDWIRED_INHIBIT",
		9: "HARDWIRED_SWITCH",
	}
	EmergencyStatus_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED":     0,
		"REST":                 1,
		"NORMAL":               3,
		"EMERGENCY":            4,
		"EXTENDED_EMERGENCY":   5,
		"FUNCTION_TEST_ACTIVE": 6,
		"DURATION_TEST_ACTIVE": 7,
		"HARDWIRED_INHIBIT":    8,
		"HARDWIRED_SWITCH":     9,
	}
)

Enum value maps for EmergencyStatus_Mode.

View Source
var (
	EmergencyStatus_Failure_name = map[int32]string{
		0: "FAILURE_UNSPECIFIED",
		1: "CIRCUIT_FAILURE",
		2: "BATTERY_DURATION_FAILURE",
		3: "BATTERY_FAILURE",
		4: "LAMP_FAILURE",
		5: "FUNCTION_TEST_FAILED",
		6: "DURATION_TEST_FAILED",
	}
	EmergencyStatus_Failure_value = map[string]int32{
		"FAILURE_UNSPECIFIED":      0,
		"CIRCUIT_FAILURE":          1,
		"BATTERY_DURATION_FAILURE": 2,
		"BATTERY_FAILURE":          3,
		"LAMP_FAILURE":             4,
		"FUNCTION_TEST_FAILED":     5,
		"DURATION_TEST_FAILED":     6,
	}
)

Enum value maps for EmergencyStatus_Failure.

View Source
var (
	ControlGearStatus_Failure_name = map[int32]string{
		0: "FAILURE_UNSPECIFIED",
		1: "LAMP_FAILURE",
		2: "CONTROL_GEAR_FAILURE",
	}
	ControlGearStatus_Failure_value = map[string]int32{
		"FAILURE_UNSPECIFIED":  0,
		"LAMP_FAILURE":         1,
		"CONTROL_GEAR_FAILURE": 2,
	}
)

Enum value maps for ControlGearStatus_Failure.

View Source
var (
	LightFault_name = map[int32]string{
		0: "FAULT_UNSPECIFIED",
		1: "DURATION_TEST_FAILED",
		2: "FUNCTION_TEST_FAILED",
		3: "BATTERY_FAULT",
		4: "LAMP_FAULT",
		5: "COMMUNICATION_FAILURE",
		6: "OTHER_FAULT",
	}
	LightFault_value = map[string]int32{
		"FAULT_UNSPECIFIED":     0,
		"DURATION_TEST_FAILED":  1,
		"FUNCTION_TEST_FAILED":  2,
		"BATTERY_FAULT":         3,
		"LAMP_FAULT":            4,
		"COMMUNICATION_FAILURE": 5,
		"OTHER_FAULT":           6,
	}
)

Enum value maps for LightFault.

View Source
var (
	StatusLog_Level_name = map[int32]string{
		0:   "LEVEL_UNDEFINED",
		1:   "NOMINAL",
		2:   "NOTICE",
		3:   "REDUCED_FUNCTION",
		4:   "NON_FUNCTIONAL",
		127: "OFFLINE",
	}
	StatusLog_Level_value = map[string]int32{
		"LEVEL_UNDEFINED":  0,
		"NOMINAL":          1,
		"NOTICE":           2,
		"REDUCED_FUNCTION": 3,
		"NON_FUNCTIONAL":   4,
		"OFFLINE":          127,
	}
)

Enum value maps for StatusLog_Level.

View Source
var AccessApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.AccessApi",
	HandlerType: (*AccessApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLastAccessAttempt",
			Handler:    _AccessApi_GetLastAccessAttempt_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullAccessAttempts",
			Handler:       _AccessApi_PullAccessAttempts_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "access.proto",
}

AccessApi_ServiceDesc is the grpc.ServiceDesc for AccessApi 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 AirQualitySensorHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.AirQualitySensorHistory",
	HandlerType: (*AirQualitySensorHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAirQualityHistory",
			Handler:    _AirQualitySensorHistory_ListAirQualityHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

AirQualitySensorHistory_ServiceDesc is the grpc.ServiceDesc for AirQualitySensorHistory 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 AirTemperatureHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.AirTemperatureHistory",
	HandlerType: (*AirTemperatureHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAirTemperatureHistory",
			Handler:    _AirTemperatureHistory_ListAirTemperatureHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

AirTemperatureHistory_ServiceDesc is the grpc.ServiceDesc for AirTemperatureHistory 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 AlertAdminApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.AlertAdminApi",
	HandlerType: (*AlertAdminApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAlert",
			Handler:    _AlertAdminApi_CreateAlert_Handler,
		},
		{
			MethodName: "UpdateAlert",
			Handler:    _AlertAdminApi_UpdateAlert_Handler,
		},
		{
			MethodName: "ResolveAlert",
			Handler:    _AlertAdminApi_ResolveAlert_Handler,
		},
		{
			MethodName: "DeleteAlert",
			Handler:    _AlertAdminApi_DeleteAlert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "alerts.proto",
}

AlertAdminApi_ServiceDesc is the grpc.ServiceDesc for AlertAdminApi 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 AlertApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.AlertApi",
	HandlerType: (*AlertApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAlerts",
			Handler:    _AlertApi_ListAlerts_Handler,
		},
		{
			MethodName: "AcknowledgeAlert",
			Handler:    _AlertApi_AcknowledgeAlert_Handler,
		},
		{
			MethodName: "UnacknowledgeAlert",
			Handler:    _AlertApi_UnacknowledgeAlert_Handler,
		},
		{
			MethodName: "GetAlertMetadata",
			Handler:    _AlertApi_GetAlertMetadata_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullAlerts",
			Handler:       _AlertApi_PullAlerts_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullAlertMetadata",
			Handler:       _AlertApi_PullAlertMetadata_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "alerts.proto",
}

AlertApi_ServiceDesc is the grpc.ServiceDesc for AlertApi 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 AxiomXaDriverService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.driver.axiomxa.AxiomXaDriverService",
	HandlerType: (*AxiomXaDriverServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SaveQRCredential",
			Handler:    _AxiomXaDriverService_SaveQRCredential_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "axiomxa.proto",
}

AxiomXaDriverService_ServiceDesc is the grpc.ServiceDesc for AxiomXaDriverService 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 ButtonApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.ButtonApi",
	HandlerType: (*ButtonApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetButtonState",
			Handler:    _ButtonApi_GetButtonState_Handler,
		},
		{
			MethodName: "UpdateButtonState",
			Handler:    _ButtonApi_UpdateButtonState_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullButtonState",
			Handler:       _ButtonApi_PullButtonState_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "button.proto",
}

ButtonApi_ServiceDesc is the grpc.ServiceDesc for ButtonApi 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 ColorApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.ColorApi",
	HandlerType: (*ColorApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetColor",
			Handler:    _ColorApi_GetColor_Handler,
		},
		{
			MethodName: "UpdateColor",
			Handler:    _ColorApi_UpdateColor_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullColor",
			Handler:       _ColorApi_PullColor_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "color.proto",
}

ColorApi_ServiceDesc is the grpc.ServiceDesc for ColorApi 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 ColorInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.ColorInfo",
	HandlerType: (*ColorInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeColor",
			Handler:    _ColorInfo_DescribeColor_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "color.proto",
}

ColorInfo_ServiceDesc is the grpc.ServiceDesc for ColorInfo 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 DaliApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.driver.dali.DaliApi",
	HandlerType: (*DaliApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddToGroup",
			Handler:    _DaliApi_AddToGroup_Handler,
		},
		{
			MethodName: "RemoveFromGroup",
			Handler:    _DaliApi_RemoveFromGroup_Handler,
		},
		{
			MethodName: "GetGroupMembership",
			Handler:    _DaliApi_GetGroupMembership_Handler,
		},
		{
			MethodName: "GetControlGearStatus",
			Handler:    _DaliApi_GetControlGearStatus_Handler,
		},
		{
			MethodName: "GetEmergencyStatus",
			Handler:    _DaliApi_GetEmergencyStatus_Handler,
		},
		{
			MethodName: "Identify",
			Handler:    _DaliApi_Identify_Handler,
		},
		{
			MethodName: "StartTest",
			Handler:    _DaliApi_StartTest_Handler,
		},
		{
			MethodName: "StopTest",
			Handler:    _DaliApi_StopTest_Handler,
		},
		{
			MethodName: "GetTestResult",
			Handler:    _DaliApi_GetTestResult_Handler,
		},
		{
			MethodName: "DeleteTestResult",
			Handler:    _DaliApi_DeleteTestResult_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dali.proto",
}

DaliApi_ServiceDesc is the grpc.ServiceDesc for DaliApi 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 DevicesApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.DevicesApi",
	HandlerType: (*DevicesApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDevices",
			Handler:    _DevicesApi_ListDevices_Handler,
		},
		{
			MethodName: "GetDevicesMetadata",
			Handler:    _DevicesApi_GetDevicesMetadata_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullDevices",
			Handler:       _DevicesApi_PullDevices_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullDevicesMetadata",
			Handler:       _DevicesApi_PullDevicesMetadata_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "devices.proto",
}

DevicesApi_ServiceDesc is the grpc.ServiceDesc for DevicesApi 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 ElectricHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.ElectricHistory",
	HandlerType: (*ElectricHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListElectricDemandHistory",
			Handler:    _ElectricHistory_ListElectricDemandHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

ElectricHistory_ServiceDesc is the grpc.ServiceDesc for ElectricHistory 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 EnrollmentApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.EnrollmentApi",
	HandlerType: (*EnrollmentApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEnrollment",
			Handler:    _EnrollmentApi_GetEnrollment_Handler,
		},
		{
			MethodName: "CreateEnrollment",
			Handler:    _EnrollmentApi_CreateEnrollment_Handler,
		},
		{
			MethodName: "UpdateEnrollment",
			Handler:    _EnrollmentApi_UpdateEnrollment_Handler,
		},
		{
			MethodName: "DeleteEnrollment",
			Handler:    _EnrollmentApi_DeleteEnrollment_Handler,
		},
		{
			MethodName: "TestEnrollment",
			Handler:    _EnrollmentApi_TestEnrollment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "enrollment.proto",
}

EnrollmentApi_ServiceDesc is the grpc.ServiceDesc for EnrollmentApi 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_access_proto protoreflect.FileDescriptor
View Source
var File_alerts_proto protoreflect.FileDescriptor
View Source
var File_axiomxa_proto protoreflect.FileDescriptor
View Source
var File_button_proto protoreflect.FileDescriptor
View Source
var File_color_proto protoreflect.FileDescriptor
View Source
var File_devices_proto protoreflect.FileDescriptor
View Source
var File_enrollment_proto protoreflect.FileDescriptor
View Source
var File_history_proto protoreflect.FileDescriptor
View Source
var File_lighting_test_proto protoreflect.FileDescriptor
View Source
var File_meter_proto protoreflect.FileDescriptor
View Source
var File_services_proto protoreflect.FileDescriptor
View Source
var File_status_proto protoreflect.FileDescriptor
View Source
var File_temperature_proto protoreflect.FileDescriptor
View Source
var File_tenants_proto protoreflect.FileDescriptor
View Source
var HistoryAdminApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.HistoryAdminApi",
	HandlerType: (*HistoryAdminApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateHistoryRecord",
			Handler:    _HistoryAdminApi_CreateHistoryRecord_Handler,
		},
		{
			MethodName: "ListHistoryRecords",
			Handler:    _HistoryAdminApi_ListHistoryRecords_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

HistoryAdminApi_ServiceDesc is the grpc.ServiceDesc for HistoryAdminApi 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 HubApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.HubApi",
	HandlerType: (*HubApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHubNode",
			Handler:    _HubApi_GetHubNode_Handler,
		},
		{
			MethodName: "ListHubNodes",
			Handler:    _HubApi_ListHubNodes_Handler,
		},
		{
			MethodName: "InspectHubNode",
			Handler:    _HubApi_InspectHubNode_Handler,
		},
		{
			MethodName: "EnrollHubNode",
			Handler:    _HubApi_EnrollHubNode_Handler,
		},
		{
			MethodName: "RenewHubNode",
			Handler:    _HubApi_RenewHubNode_Handler,
		},
		{
			MethodName: "TestHubNode",
			Handler:    _HubApi_TestHubNode_Handler,
		},
		{
			MethodName: "ForgetHubNode",
			Handler:    _HubApi_ForgetHubNode_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullHubNodes",
			Handler:       _HubApi_PullHubNodes_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "hub.proto",
}

HubApi_ServiceDesc is the grpc.ServiceDesc for HubApi 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 LightingTestApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.LightingTestApi",
	HandlerType: (*LightingTestApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLightHealth",
			Handler:    _LightingTestApi_GetLightHealth_Handler,
		},
		{
			MethodName: "ListLightHealth",
			Handler:    _LightingTestApi_ListLightHealth_Handler,
		},
		{
			MethodName: "ListLightEvents",
			Handler:    _LightingTestApi_ListLightEvents_Handler,
		},
		{
			MethodName: "GetReportCSV",
			Handler:    _LightingTestApi_GetReportCSV_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "lighting_test.proto",
}

LightingTestApi_ServiceDesc is the grpc.ServiceDesc for LightingTestApi 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 MeterApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.MeterApi",
	HandlerType: (*MeterApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMeterReading",
			Handler:    _MeterApi_GetMeterReading_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullMeterReadings",
			Handler:       _MeterApi_PullMeterReadings_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "meter.proto",
}

MeterApi_ServiceDesc is the grpc.ServiceDesc for MeterApi 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 MeterHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.MeterHistory",
	HandlerType: (*MeterHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListMeterReadingHistory",
			Handler:    _MeterHistory_ListMeterReadingHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

MeterHistory_ServiceDesc is the grpc.ServiceDesc for MeterHistory 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 MeterInfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.MeterInfo",
	HandlerType: (*MeterInfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeMeterReading",
			Handler:    _MeterInfo_DescribeMeterReading_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "meter.proto",
}

MeterInfo_ServiceDesc is the grpc.ServiceDesc for MeterInfo 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 MqttService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.MqttService",
	HandlerType: (*MqttServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullMessages",
			Handler:       _MqttService_PullMessages_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "mqtt.proto",
}

MqttService_ServiceDesc is the grpc.ServiceDesc for MqttService 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 OccupancySensorHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.OccupancySensorHistory",
	HandlerType: (*OccupancySensorHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOccupancyHistory",
			Handler:    _OccupancySensorHistory_ListOccupancyHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "history.proto",
}

OccupancySensorHistory_ServiceDesc is the grpc.ServiceDesc for OccupancySensorHistory 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 ServicesApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.ServicesApi",
	HandlerType: (*ServicesApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetService",
			Handler:    _ServicesApi_GetService_Handler,
		},
		{
			MethodName: "CreateService",
			Handler:    _ServicesApi_CreateService_Handler,
		},
		{
			MethodName: "DeleteService",
			Handler:    _ServicesApi_DeleteService_Handler,
		},
		{
			MethodName: "ListServices",
			Handler:    _ServicesApi_ListServices_Handler,
		},
		{
			MethodName: "StartService",
			Handler:    _ServicesApi_StartService_Handler,
		},
		{
			MethodName: "ConfigureService",
			Handler:    _ServicesApi_ConfigureService_Handler,
		},
		{
			MethodName: "StopService",
			Handler:    _ServicesApi_StopService_Handler,
		},
		{
			MethodName: "GetServiceMetadata",
			Handler:    _ServicesApi_GetServiceMetadata_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullService",
			Handler:       _ServicesApi_PullService_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullServices",
			Handler:       _ServicesApi_PullServices_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullServiceMetadata",
			Handler:       _ServicesApi_PullServiceMetadata_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "services.proto",
}

ServicesApi_ServiceDesc is the grpc.ServiceDesc for ServicesApi 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 StatusApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.StatusApi",
	HandlerType: (*StatusApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCurrentStatus",
			Handler:    _StatusApi_GetCurrentStatus_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullCurrentStatus",
			Handler:       _StatusApi_PullCurrentStatus_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "status.proto",
}

StatusApi_ServiceDesc is the grpc.ServiceDesc for StatusApi 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 StatusHistory_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.StatusHistory",
	HandlerType: (*StatusHistoryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListCurrentStatusHistory",
			Handler:    _StatusHistory_ListCurrentStatusHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "status.proto",
}

StatusHistory_ServiceDesc is the grpc.ServiceDesc for StatusHistory 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 TemperatureApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.TemperatureApi",
	HandlerType: (*TemperatureApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTemperature",
			Handler:    _TemperatureApi_GetTemperature_Handler,
		},
		{
			MethodName: "UpdateTemperature",
			Handler:    _TemperatureApi_UpdateTemperature_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullTemperature",
			Handler:       _TemperatureApi_PullTemperature_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "temperature.proto",
}

TemperatureApi_ServiceDesc is the grpc.ServiceDesc for TemperatureApi 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 TenantApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.tenants.TenantApi",
	HandlerType: (*TenantApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTenants",
			Handler:    _TenantApi_ListTenants_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _TenantApi_CreateTenant_Handler,
		},
		{
			MethodName: "GetTenant",
			Handler:    _TenantApi_GetTenant_Handler,
		},
		{
			MethodName: "UpdateTenant",
			Handler:    _TenantApi_UpdateTenant_Handler,
		},
		{
			MethodName: "DeleteTenant",
			Handler:    _TenantApi_DeleteTenant_Handler,
		},
		{
			MethodName: "AddTenantZones",
			Handler:    _TenantApi_AddTenantZones_Handler,
		},
		{
			MethodName: "RemoveTenantZones",
			Handler:    _TenantApi_RemoveTenantZones_Handler,
		},
		{
			MethodName: "ListSecrets",
			Handler:    _TenantApi_ListSecrets_Handler,
		},
		{
			MethodName: "CreateSecret",
			Handler:    _TenantApi_CreateSecret_Handler,
		},
		{
			MethodName: "VerifySecret",
			Handler:    _TenantApi_VerifySecret_Handler,
		},
		{
			MethodName: "GetSecret",
			Handler:    _TenantApi_GetSecret_Handler,
		},
		{
			MethodName: "UpdateSecret",
			Handler:    _TenantApi_UpdateSecret_Handler,
		},
		{
			MethodName: "DeleteSecret",
			Handler:    _TenantApi_DeleteSecret_Handler,
		},
		{
			MethodName: "RegenerateSecret",
			Handler:    _TenantApi_RegenerateSecret_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullTenants",
			Handler:       _TenantApi_PullTenants_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullTenant",
			Handler:       _TenantApi_PullTenant_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullSecrets",
			Handler:       _TenantApi_PullSecrets_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullSecret",
			Handler:       _TenantApi_PullSecret_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tenants.proto",
}

TenantApi_ServiceDesc is the grpc.ServiceDesc for TenantApi 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 UdmiService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "smartcore.bos.UdmiService",
	HandlerType: (*UdmiServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OnMessage",
			Handler:    _UdmiService_OnMessage_Handler,
		},
		{
			MethodName: "GetExportMessage",
			Handler:    _UdmiService_GetExportMessage_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "PullControlTopics",
			Handler:       _UdmiService_PullControlTopics_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "PullExportMessages",
			Handler:       _UdmiService_PullExportMessages_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "udmi.proto",
}

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

Functions

func RegisterAccessApiServer

func RegisterAccessApiServer(s grpc.ServiceRegistrar, srv AccessApiServer)

func RegisterAirQualitySensorHistoryServer

func RegisterAirQualitySensorHistoryServer(s grpc.ServiceRegistrar, srv AirQualitySensorHistoryServer)

func RegisterAirTemperatureHistoryServer

func RegisterAirTemperatureHistoryServer(s grpc.ServiceRegistrar, srv AirTemperatureHistoryServer)

func RegisterAlertAdminApiServer

func RegisterAlertAdminApiServer(s grpc.ServiceRegistrar, srv AlertAdminApiServer)

func RegisterAlertApiServer

func RegisterAlertApiServer(s grpc.ServiceRegistrar, srv AlertApiServer)

func RegisterAxiomXaDriverServiceServer

func RegisterAxiomXaDriverServiceServer(s grpc.ServiceRegistrar, srv AxiomXaDriverServiceServer)

func RegisterButtonApiServer

func RegisterButtonApiServer(s grpc.ServiceRegistrar, srv ButtonApiServer)

func RegisterColorApiServer

func RegisterColorApiServer(s grpc.ServiceRegistrar, srv ColorApiServer)

func RegisterColorInfoServer

func RegisterColorInfoServer(s grpc.ServiceRegistrar, srv ColorInfoServer)

func RegisterDaliApiServer

func RegisterDaliApiServer(s grpc.ServiceRegistrar, srv DaliApiServer)

func RegisterDevicesApiServer

func RegisterDevicesApiServer(s grpc.ServiceRegistrar, srv DevicesApiServer)

func RegisterElectricHistoryServer

func RegisterElectricHistoryServer(s grpc.ServiceRegistrar, srv ElectricHistoryServer)

func RegisterEnrollmentApiServer

func RegisterEnrollmentApiServer(s grpc.ServiceRegistrar, srv EnrollmentApiServer)

func RegisterHistoryAdminApiServer

func RegisterHistoryAdminApiServer(s grpc.ServiceRegistrar, srv HistoryAdminApiServer)

func RegisterHubApiServer

func RegisterHubApiServer(s grpc.ServiceRegistrar, srv HubApiServer)

func RegisterLightingTestApiServer

func RegisterLightingTestApiServer(s grpc.ServiceRegistrar, srv LightingTestApiServer)

func RegisterMeterApiServer

func RegisterMeterApiServer(s grpc.ServiceRegistrar, srv MeterApiServer)

func RegisterMeterHistoryServer

func RegisterMeterHistoryServer(s grpc.ServiceRegistrar, srv MeterHistoryServer)

func RegisterMeterInfoServer

func RegisterMeterInfoServer(s grpc.ServiceRegistrar, srv MeterInfoServer)

func RegisterMqttServiceServer

func RegisterMqttServiceServer(s grpc.ServiceRegistrar, srv MqttServiceServer)

func RegisterOccupancySensorHistoryServer

func RegisterOccupancySensorHistoryServer(s grpc.ServiceRegistrar, srv OccupancySensorHistoryServer)

func RegisterServicesApiServer

func RegisterServicesApiServer(s grpc.ServiceRegistrar, srv ServicesApiServer)

func RegisterStatusApiServer

func RegisterStatusApiServer(s grpc.ServiceRegistrar, srv StatusApiServer)

func RegisterStatusHistoryServer

func RegisterStatusHistoryServer(s grpc.ServiceRegistrar, srv StatusHistoryServer)

func RegisterTemperatureApiServer

func RegisterTemperatureApiServer(s grpc.ServiceRegistrar, srv TemperatureApiServer)

func RegisterTenantApiServer

func RegisterTenantApiServer(s grpc.ServiceRegistrar, srv TenantApiServer)

func RegisterUdmiServiceServer

func RegisterUdmiServiceServer(s grpc.ServiceRegistrar, srv UdmiServiceServer)

func WithAccessApiClientFactory

func WithAccessApiClientFactory(f func(name string) (AccessApiClient, error)) router.Option

WithAccessApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithAirQualitySensorHistoryClientFactory

func WithAirQualitySensorHistoryClientFactory(f func(name string) (AirQualitySensorHistoryClient, error)) router.Option

WithAirQualitySensorHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithAirTemperatureHistoryClientFactory

func WithAirTemperatureHistoryClientFactory(f func(name string) (AirTemperatureHistoryClient, error)) router.Option

WithAirTemperatureHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithAlertAdminApiClientFactory

func WithAlertAdminApiClientFactory(f func(name string) (AlertAdminApiClient, error)) router.Option

WithAlertAdminApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithAlertApiClientFactory

func WithAlertApiClientFactory(f func(name string) (AlertApiClient, error)) router.Option

WithAlertApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithAxiomXaDriverServiceClientFactory

func WithAxiomXaDriverServiceClientFactory(f func(name string) (AxiomXaDriverServiceClient, error)) router.Option

WithAxiomXaDriverServiceClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithButtonApiClientFactory

func WithButtonApiClientFactory(f func(name string) (ButtonApiClient, error)) router.Option

WithButtonApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithColorApiClientFactory

func WithColorApiClientFactory(f func(name string) (ColorApiClient, error)) router.Option

WithColorApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithColorInfoClientFactory

func WithColorInfoClientFactory(f func(name string) (ColorInfoClient, error)) router.Option

WithColorInfoClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithDaliApiClientFactory

func WithDaliApiClientFactory(f func(name string) (DaliApiClient, error)) router.Option

WithDaliApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithElectricHistoryClientFactory

func WithElectricHistoryClientFactory(f func(name string) (ElectricHistoryClient, error)) router.Option

WithElectricHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithHistoryAdminApiClientFactory

func WithHistoryAdminApiClientFactory(f func(name string) (HistoryAdminApiClient, error)) router.Option

WithHistoryAdminApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithMeterApiClientFactory

func WithMeterApiClientFactory(f func(name string) (MeterApiClient, error)) router.Option

WithMeterApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithMeterHistoryClientFactory

func WithMeterHistoryClientFactory(f func(name string) (MeterHistoryClient, error)) router.Option

WithMeterHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithMeterInfoClientFactory

func WithMeterInfoClientFactory(f func(name string) (MeterInfoClient, error)) router.Option

WithMeterInfoClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithMqttServiceClientFactory

func WithMqttServiceClientFactory(f func(name string) (MqttServiceClient, error)) router.Option

WithMqttServiceClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithOccupancySensorHistoryClientFactory

func WithOccupancySensorHistoryClientFactory(f func(name string) (OccupancySensorHistoryClient, error)) router.Option

WithOccupancySensorHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithServicesApiClientFactory

func WithServicesApiClientFactory(f func(name string) (ServicesApiClient, error)) router.Option

WithServicesApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithStatusApiClientFactory

func WithStatusApiClientFactory(f func(name string) (StatusApiClient, error)) router.Option

WithStatusApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithStatusHistoryClientFactory

func WithStatusHistoryClientFactory(f func(name string) (StatusHistoryClient, error)) router.Option

WithStatusHistoryClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithTemperatureApiClientFactory

func WithTemperatureApiClientFactory(f func(name string) (TemperatureApiClient, error)) router.Option

WithTemperatureApiClientFactory instructs the router to create a new client the first time Get is called for that name.

func WithUdmiServiceClientFactory

func WithUdmiServiceClientFactory(f func(name string) (UdmiServiceClient, error)) router.Option

WithUdmiServiceClientFactory instructs the router to create a new client the first time Get is called for that name.

Types

type AccessApiClient

type AccessApiClient interface {
	GetLastAccessAttempt(ctx context.Context, in *GetLastAccessAttemptRequest, opts ...grpc.CallOption) (*AccessAttempt, error)
	PullAccessAttempts(ctx context.Context, in *PullAccessAttemptsRequest, opts ...grpc.CallOption) (AccessApi_PullAccessAttemptsClient, error)
}

AccessApiClient is the client API for AccessApi 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 NewAccessApiClient

func NewAccessApiClient(cc grpc.ClientConnInterface) AccessApiClient

func WrapAccessApi

func WrapAccessApi(server AccessApiServer) AccessApiClient

WrapAccessApi adapts a AccessApiServer and presents it as a AccessApiClient

type AccessApiRouter

type AccessApiRouter struct {
	UnimplementedAccessApiServer

	router.Router
}

AccessApiRouter is a AccessApiServer that allows routing named requests to specific AccessApiClient

func NewAccessApiRouter

func NewAccessApiRouter(opts ...router.Option) *AccessApiRouter

func (*AccessApiRouter) Add

func (r *AccessApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AccessApiClient.

func (*AccessApiRouter) AddAccessApiClient

func (r *AccessApiRouter) AddAccessApiClient(name string, client AccessApiClient) AccessApiClient

func (*AccessApiRouter) GetAccessApiClient

func (r *AccessApiRouter) GetAccessApiClient(name string) (AccessApiClient, error)

func (*AccessApiRouter) GetLastAccessAttempt

func (r *AccessApiRouter) GetLastAccessAttempt(ctx context.Context, request *GetLastAccessAttemptRequest) (*AccessAttempt, error)

func (*AccessApiRouter) HoldsType

func (r *AccessApiRouter) HoldsType(client any) bool

func (*AccessApiRouter) PullAccessAttempts

func (*AccessApiRouter) Register

func (r *AccessApiRouter) Register(server *grpc.Server)

func (*AccessApiRouter) RemoveAccessApiClient

func (r *AccessApiRouter) RemoveAccessApiClient(name string) AccessApiClient

type AccessApiServer

type AccessApiServer interface {
	GetLastAccessAttempt(context.Context, *GetLastAccessAttemptRequest) (*AccessAttempt, error)
	PullAccessAttempts(*PullAccessAttemptsRequest, AccessApi_PullAccessAttemptsServer) error
	// contains filtered or unexported methods
}

AccessApiServer is the server API for AccessApi service. All implementations must embed UnimplementedAccessApiServer for forward compatibility

type AccessApi_PullAccessAttemptsClient

type AccessApi_PullAccessAttemptsClient interface {
	Recv() (*PullAccessAttemptsResponse, error)
	grpc.ClientStream
}

type AccessApi_PullAccessAttemptsServer

type AccessApi_PullAccessAttemptsServer interface {
	Send(*PullAccessAttemptsResponse) error
	grpc.ServerStream
}

type AccessAttempt

type AccessAttempt struct {

	// Was the access attempt granted or denied.
	Grant AccessAttempt_Grant `protobuf:"varint,1,opt,name=grant,proto3,enum=smartcore.bos.AccessAttempt_Grant" json:"grant,omitempty"`
	// A reason for either granting or denying the access attempt.
	// For example "Operator override" or "Unrecognised card".
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// Actor describes the entity attempting to gain access.
	// Optional.
	Actor *AccessAttempt_Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessAttempt) Descriptor deprecated

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

Deprecated: Use AccessAttempt.ProtoReflect.Descriptor instead.

func (*AccessAttempt) GetActor

func (x *AccessAttempt) GetActor() *AccessAttempt_Actor

func (*AccessAttempt) GetGrant

func (x *AccessAttempt) GetGrant() AccessAttempt_Grant

func (*AccessAttempt) GetReason

func (x *AccessAttempt) GetReason() string

func (*AccessAttempt) ProtoMessage

func (*AccessAttempt) ProtoMessage()

func (*AccessAttempt) ProtoReflect

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

func (*AccessAttempt) Reset

func (x *AccessAttempt) Reset()

func (*AccessAttempt) String

func (x *AccessAttempt) String() string

type AccessAttempt_Actor

type AccessAttempt_Actor struct {

	// A unique name for this actor 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 actor.
	Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
	// A recognisable display name for this actor.
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// A picture of the actor.
	Picture *types.Image `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"`
	// A url that resolves to more information on this actor.
	Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"`
	// An email address for the actor.
	Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"`
	// IDs holds external actor 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 actor.
	// Typically displayed to a user to help them to distinguish between similar actors.
	More map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

An Actor is some entity that attempted to access the resource. It could be an object, like a car, or a person or animal.

func (*AccessAttempt_Actor) Descriptor deprecated

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

Deprecated: Use AccessAttempt_Actor.ProtoReflect.Descriptor instead.

func (*AccessAttempt_Actor) GetDisplayName

func (x *AccessAttempt_Actor) GetDisplayName() string

func (*AccessAttempt_Actor) GetEmail

func (x *AccessAttempt_Actor) GetEmail() string

func (*AccessAttempt_Actor) GetIds

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

func (*AccessAttempt_Actor) GetMore

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

func (*AccessAttempt_Actor) GetName

func (x *AccessAttempt_Actor) GetName() string

func (*AccessAttempt_Actor) GetPicture

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

func (*AccessAttempt_Actor) GetTitle

func (x *AccessAttempt_Actor) GetTitle() string

func (*AccessAttempt_Actor) GetUrl

func (x *AccessAttempt_Actor) GetUrl() string

func (*AccessAttempt_Actor) ProtoMessage

func (*AccessAttempt_Actor) ProtoMessage()

func (*AccessAttempt_Actor) ProtoReflect

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

func (*AccessAttempt_Actor) Reset

func (x *AccessAttempt_Actor) Reset()

func (*AccessAttempt_Actor) String

func (x *AccessAttempt_Actor) String() string

type AccessAttempt_Grant

type AccessAttempt_Grant int32
const (
	// The status of the access attempt is unknown.
	AccessAttempt_GRANT_UNKNOWN AccessAttempt_Grant = 0
	// The access attempt was granted.
	AccessAttempt_GRANTED AccessAttempt_Grant = 1
	// The access attempt was denied.
	AccessAttempt_DENIED AccessAttempt_Grant = 2
	// Access is pending a decision.
	AccessAttempt_PENDING AccessAttempt_Grant = 3
	// Access was aborted before being granted or denied.
	// Typically only used following PENDING.
	AccessAttempt_ABORTED AccessAttempt_Grant = 4
	// Access was not granted, happened anyway.
	// For example if someone forced the door open.
	AccessAttempt_FORCED AccessAttempt_Grant = 5
	// Access was granted, but failed for other reasons.
	// For example if the door is stuck
	AccessAttempt_FAILED AccessAttempt_Grant = 6
	// Access was granted, but to the actor before this one.
	// Happens when someone follows another person through a door.
	AccessAttempt_TAILGATE AccessAttempt_Grant = 7
)

func (AccessAttempt_Grant) Descriptor

func (AccessAttempt_Grant) Enum

func (AccessAttempt_Grant) EnumDescriptor deprecated

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

Deprecated: Use AccessAttempt_Grant.Descriptor instead.

func (AccessAttempt_Grant) Number

func (AccessAttempt_Grant) String

func (x AccessAttempt_Grant) String() string

func (AccessAttempt_Grant) Type

type AcknowledgeAlertRequest

type AcknowledgeAlertRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the alert.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The author of the acknowledgement.
	// If the alert has already been acknowledged then this is ignored.
	Author *Alert_Acknowledgement_Author `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
	// When true, acknowledging an alert that is already acknowledged will not result in an error.
	// Similarly un-acknowledging an alert that is not acknowledged will not result in an error.
	AllowAcknowledged bool `protobuf:"varint,3,opt,name=allow_acknowledged,json=allowAcknowledged,proto3" json:"allow_acknowledged,omitempty"`
	// When true, acknowledging an alert that does not exist will not result in an error
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*AcknowledgeAlertRequest) Descriptor deprecated

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

Deprecated: Use AcknowledgeAlertRequest.ProtoReflect.Descriptor instead.

func (*AcknowledgeAlertRequest) GetAllowAcknowledged

func (x *AcknowledgeAlertRequest) GetAllowAcknowledged() bool

func (*AcknowledgeAlertRequest) GetAllowMissing

func (x *AcknowledgeAlertRequest) GetAllowMissing() bool

func (*AcknowledgeAlertRequest) GetAuthor

func (*AcknowledgeAlertRequest) GetId

func (x *AcknowledgeAlertRequest) GetId() string

func (*AcknowledgeAlertRequest) GetName

func (x *AcknowledgeAlertRequest) GetName() string

func (*AcknowledgeAlertRequest) ProtoMessage

func (*AcknowledgeAlertRequest) ProtoMessage()

func (*AcknowledgeAlertRequest) ProtoReflect

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

func (*AcknowledgeAlertRequest) Reset

func (x *AcknowledgeAlertRequest) Reset()

func (*AcknowledgeAlertRequest) String

func (x *AcknowledgeAlertRequest) String() string

type AddTenantZonesRequest

type AddTenantZonesRequest struct {
	TenantId     string   `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	AddZoneNames []string `protobuf:"bytes,2,rep,name=add_zone_names,json=addZoneNames,proto3" json:"add_zone_names,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTenantZonesRequest) Descriptor deprecated

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

Deprecated: Use AddTenantZonesRequest.ProtoReflect.Descriptor instead.

func (*AddTenantZonesRequest) GetAddZoneNames

func (x *AddTenantZonesRequest) GetAddZoneNames() []string

func (*AddTenantZonesRequest) GetTenantId

func (x *AddTenantZonesRequest) GetTenantId() string

func (*AddTenantZonesRequest) ProtoMessage

func (*AddTenantZonesRequest) ProtoMessage()

func (*AddTenantZonesRequest) ProtoReflect

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

func (*AddTenantZonesRequest) Reset

func (x *AddTenantZonesRequest) Reset()

func (*AddTenantZonesRequest) String

func (x *AddTenantZonesRequest) String() string

type AddToGroupRequest

type AddToGroupRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Group int32  `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*AddToGroupRequest) Descriptor deprecated

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

Deprecated: Use AddToGroupRequest.ProtoReflect.Descriptor instead.

func (*AddToGroupRequest) GetGroup

func (x *AddToGroupRequest) GetGroup() int32

func (*AddToGroupRequest) GetName

func (x *AddToGroupRequest) GetName() string

func (*AddToGroupRequest) ProtoMessage

func (*AddToGroupRequest) ProtoMessage()

func (*AddToGroupRequest) ProtoReflect

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

func (*AddToGroupRequest) Reset

func (x *AddToGroupRequest) Reset()

func (*AddToGroupRequest) String

func (x *AddToGroupRequest) String() string

type AddToGroupResponse

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

func (*AddToGroupResponse) Descriptor deprecated

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

Deprecated: Use AddToGroupResponse.ProtoReflect.Descriptor instead.

func (*AddToGroupResponse) ProtoMessage

func (*AddToGroupResponse) ProtoMessage()

func (*AddToGroupResponse) ProtoReflect

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

func (*AddToGroupResponse) Reset

func (x *AddToGroupResponse) Reset()

func (*AddToGroupResponse) String

func (x *AddToGroupResponse) String() string

type AirQualityRecord

type AirQualityRecord struct {
	AirQuality *traits.AirQuality     `protobuf:"bytes,1,opt,name=air_quality,json=airQuality,proto3" json:"air_quality,omitempty"`
	RecordTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AirQualityRecord) Descriptor deprecated

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

Deprecated: Use AirQualityRecord.ProtoReflect.Descriptor instead.

func (*AirQualityRecord) GetAirQuality

func (x *AirQualityRecord) GetAirQuality() *traits.AirQuality

func (*AirQualityRecord) GetRecordTime

func (x *AirQualityRecord) GetRecordTime() *timestamppb.Timestamp

func (*AirQualityRecord) ProtoMessage

func (*AirQualityRecord) ProtoMessage()

func (*AirQualityRecord) ProtoReflect

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

func (*AirQualityRecord) Reset

func (x *AirQualityRecord) Reset()

func (*AirQualityRecord) String

func (x *AirQualityRecord) String() string

type AirQualitySensorHistoryClient

type AirQualitySensorHistoryClient interface {
	ListAirQualityHistory(ctx context.Context, in *ListAirQualityHistoryRequest, opts ...grpc.CallOption) (*ListAirQualityHistoryResponse, error)
}

AirQualitySensorHistoryClient is the client API for AirQualitySensorHistory 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 WrapAirQualitySensorHistory

func WrapAirQualitySensorHistory(server AirQualitySensorHistoryServer) AirQualitySensorHistoryClient

WrapAirQualitySensorHistory adapts a AirQualitySensorHistoryServer and presents it as a AirQualitySensorHistoryClient

type AirQualitySensorHistoryRouter

type AirQualitySensorHistoryRouter struct {
	UnimplementedAirQualitySensorHistoryServer

	router.Router
}

AirQualitySensorHistoryRouter is a AirQualitySensorHistoryServer that allows routing named requests to specific AirQualitySensorHistoryClient

func NewAirQualitySensorHistoryRouter

func NewAirQualitySensorHistoryRouter(opts ...router.Option) *AirQualitySensorHistoryRouter

func (*AirQualitySensorHistoryRouter) Add

func (r *AirQualitySensorHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AirQualitySensorHistoryClient.

func (*AirQualitySensorHistoryRouter) AddAirQualitySensorHistoryClient

func (r *AirQualitySensorHistoryRouter) AddAirQualitySensorHistoryClient(name string, client AirQualitySensorHistoryClient) AirQualitySensorHistoryClient

func (*AirQualitySensorHistoryRouter) GetAirQualitySensorHistoryClient

func (r *AirQualitySensorHistoryRouter) GetAirQualitySensorHistoryClient(name string) (AirQualitySensorHistoryClient, error)

func (*AirQualitySensorHistoryRouter) HoldsType

func (r *AirQualitySensorHistoryRouter) HoldsType(client any) bool

func (*AirQualitySensorHistoryRouter) ListAirQualityHistory

func (*AirQualitySensorHistoryRouter) Register

func (r *AirQualitySensorHistoryRouter) Register(server *grpc.Server)

func (*AirQualitySensorHistoryRouter) RemoveAirQualitySensorHistoryClient

func (r *AirQualitySensorHistoryRouter) RemoveAirQualitySensorHistoryClient(name string) AirQualitySensorHistoryClient

type AirQualitySensorHistoryServer

type AirQualitySensorHistoryServer interface {
	ListAirQualityHistory(context.Context, *ListAirQualityHistoryRequest) (*ListAirQualityHistoryResponse, error)
	// contains filtered or unexported methods
}

AirQualitySensorHistoryServer is the server API for AirQualitySensorHistory service. All implementations must embed UnimplementedAirQualitySensorHistoryServer for forward compatibility

type AirTemperatureHistoryClient

type AirTemperatureHistoryClient interface {
	ListAirTemperatureHistory(ctx context.Context, in *ListAirTemperatureHistoryRequest, opts ...grpc.CallOption) (*ListAirTemperatureHistoryResponse, error)
}

AirTemperatureHistoryClient is the client API for AirTemperatureHistory 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 WrapAirTemperatureHistory

func WrapAirTemperatureHistory(server AirTemperatureHistoryServer) AirTemperatureHistoryClient

WrapAirTemperatureHistory adapts a AirTemperatureHistoryServer and presents it as a AirTemperatureHistoryClient

type AirTemperatureHistoryRouter

type AirTemperatureHistoryRouter struct {
	UnimplementedAirTemperatureHistoryServer

	router.Router
}

AirTemperatureHistoryRouter is a AirTemperatureHistoryServer that allows routing named requests to specific AirTemperatureHistoryClient

func NewAirTemperatureHistoryRouter

func NewAirTemperatureHistoryRouter(opts ...router.Option) *AirTemperatureHistoryRouter

func (*AirTemperatureHistoryRouter) Add

func (r *AirTemperatureHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AirTemperatureHistoryClient.

func (*AirTemperatureHistoryRouter) AddAirTemperatureHistoryClient

func (r *AirTemperatureHistoryRouter) AddAirTemperatureHistoryClient(name string, client AirTemperatureHistoryClient) AirTemperatureHistoryClient

func (*AirTemperatureHistoryRouter) GetAirTemperatureHistoryClient

func (r *AirTemperatureHistoryRouter) GetAirTemperatureHistoryClient(name string) (AirTemperatureHistoryClient, error)

func (*AirTemperatureHistoryRouter) HoldsType

func (r *AirTemperatureHistoryRouter) HoldsType(client any) bool

func (*AirTemperatureHistoryRouter) ListAirTemperatureHistory

func (*AirTemperatureHistoryRouter) Register

func (r *AirTemperatureHistoryRouter) Register(server *grpc.Server)

func (*AirTemperatureHistoryRouter) RemoveAirTemperatureHistoryClient

func (r *AirTemperatureHistoryRouter) RemoveAirTemperatureHistoryClient(name string) AirTemperatureHistoryClient

type AirTemperatureHistoryServer

type AirTemperatureHistoryServer interface {
	ListAirTemperatureHistory(context.Context, *ListAirTemperatureHistoryRequest) (*ListAirTemperatureHistoryResponse, error)
	// contains filtered or unexported methods
}

AirTemperatureHistoryServer is the server API for AirTemperatureHistory service. All implementations must embed UnimplementedAirTemperatureHistoryServer for forward compatibility

type AirTemperatureRecord

type AirTemperatureRecord struct {
	AirTemperature *traits.AirTemperature `protobuf:"bytes,1,opt,name=air_temperature,json=airTemperature,proto3" json:"air_temperature,omitempty"`
	RecordTime     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AirTemperatureRecord) Descriptor deprecated

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

Deprecated: Use AirTemperatureRecord.ProtoReflect.Descriptor instead.

func (*AirTemperatureRecord) GetAirTemperature

func (x *AirTemperatureRecord) GetAirTemperature() *traits.AirTemperature

func (*AirTemperatureRecord) GetRecordTime

func (x *AirTemperatureRecord) GetRecordTime() *timestamppb.Timestamp

func (*AirTemperatureRecord) ProtoMessage

func (*AirTemperatureRecord) ProtoMessage()

func (*AirTemperatureRecord) ProtoReflect

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

func (*AirTemperatureRecord) Reset

func (x *AirTemperatureRecord) Reset()

func (*AirTemperatureRecord) String

func (x *AirTemperatureRecord) String() string

type Alert

type Alert struct {

	// A unique id identifying this alert within the device.
	// Assigned by the device when the alert is created.
	// ID is used by update methods like AcknowledgeAlert to identify which alert to update.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A human readable description of the alert condition.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The time the alert was created.
	// Output only, set by the device when the alert is created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the alert was resolved.
	// Output only, set by the device when resolving an alert.
	// Absent if the alert has not been resolved.
	// If an alert is resolved more than once, this will be the earliest (first) time it was resolved.
	// A resolved alert indicates that the alert condition is no longer present or has been fixed.
	ResolveTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
	// Present if the alert has been acknowledged.
	// Acknowledgement is an indication that somebody is now aware that this alert exists.
	Acknowledgement *Alert_Acknowledgement `protobuf:"bytes,5,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"`
	Severity        Alert_Severity         `protobuf:"varint,6,opt,name=severity,proto3,enum=smartcore.bos.Alert_Severity" json:"severity,omitempty"`
	Floor           string                 `protobuf:"bytes,7,opt,name=floor,proto3" json:"floor,omitempty"`            // the floor the alert relates to, typically the floor the source is located on.
	Zone            string                 `protobuf:"bytes,8,opt,name=zone,proto3" json:"zone,omitempty"`              // the spacial zone the alert relates to, typically the zone the source is located in.
	Source          string                 `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"`          // the originator of the alert
	Federation      string                 `protobuf:"bytes,10,opt,name=federation,proto3" json:"federation,omitempty"` // the system source is associated with, typically a controller name
	Subsystem       string                 `protobuf:"bytes,11,opt,name=subsystem,proto3" json:"subsystem,omitempty"`   // the subsystem the source is part of, bms or lighting for example
	// contains filtered or unexported fields
}

Alert describes an event in the system that can be acknowledged

func (*Alert) Descriptor deprecated

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

Deprecated: Use Alert.ProtoReflect.Descriptor instead.

func (*Alert) GetAcknowledgement

func (x *Alert) GetAcknowledgement() *Alert_Acknowledgement

func (*Alert) GetCreateTime

func (x *Alert) GetCreateTime() *timestamppb.Timestamp

func (*Alert) GetDescription

func (x *Alert) GetDescription() string

func (*Alert) GetFederation

func (x *Alert) GetFederation() string

func (*Alert) GetFloor

func (x *Alert) GetFloor() string

func (*Alert) GetId

func (x *Alert) GetId() string

func (*Alert) GetResolveTime

func (x *Alert) GetResolveTime() *timestamppb.Timestamp

func (*Alert) GetSeverity

func (x *Alert) GetSeverity() Alert_Severity

func (*Alert) GetSource

func (x *Alert) GetSource() string

func (*Alert) GetSubsystem

func (x *Alert) GetSubsystem() string

func (*Alert) GetZone

func (x *Alert) GetZone() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) ProtoReflect

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

func (*Alert) Reset

func (x *Alert) Reset()

func (*Alert) String

func (x *Alert) String() string

type AlertAdminApiClient

type AlertAdminApiClient interface {
	CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*Alert, error)
	UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*Alert, error)
	ResolveAlert(ctx context.Context, in *ResolveAlertRequest, opts ...grpc.CallOption) (*Alert, error)
	DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*DeleteAlertResponse, error)
}

AlertAdminApiClient is the client API for AlertAdminApi 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 WrapAlertAdminApi

func WrapAlertAdminApi(server AlertAdminApiServer) AlertAdminApiClient

WrapAlertAdminApi adapts a AlertAdminApiServer and presents it as a AlertAdminApiClient

type AlertAdminApiRouter

type AlertAdminApiRouter struct {
	UnimplementedAlertAdminApiServer

	router.Router
}

AlertAdminApiRouter is a AlertAdminApiServer that allows routing named requests to specific AlertAdminApiClient

func NewAlertAdminApiRouter

func NewAlertAdminApiRouter(opts ...router.Option) *AlertAdminApiRouter

func (*AlertAdminApiRouter) Add

func (r *AlertAdminApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AlertAdminApiClient.

func (*AlertAdminApiRouter) AddAlertAdminApiClient

func (r *AlertAdminApiRouter) AddAlertAdminApiClient(name string, client AlertAdminApiClient) AlertAdminApiClient

func (*AlertAdminApiRouter) CreateAlert

func (r *AlertAdminApiRouter) CreateAlert(ctx context.Context, request *CreateAlertRequest) (*Alert, error)

func (*AlertAdminApiRouter) DeleteAlert

func (*AlertAdminApiRouter) GetAlertAdminApiClient

func (r *AlertAdminApiRouter) GetAlertAdminApiClient(name string) (AlertAdminApiClient, error)

func (*AlertAdminApiRouter) HoldsType

func (r *AlertAdminApiRouter) HoldsType(client any) bool

func (*AlertAdminApiRouter) Register

func (r *AlertAdminApiRouter) Register(server *grpc.Server)

func (*AlertAdminApiRouter) RemoveAlertAdminApiClient

func (r *AlertAdminApiRouter) RemoveAlertAdminApiClient(name string) AlertAdminApiClient

func (*AlertAdminApiRouter) ResolveAlert

func (r *AlertAdminApiRouter) ResolveAlert(ctx context.Context, request *ResolveAlertRequest) (*Alert, error)

func (*AlertAdminApiRouter) UpdateAlert

func (r *AlertAdminApiRouter) UpdateAlert(ctx context.Context, request *UpdateAlertRequest) (*Alert, error)

type AlertAdminApiServer

type AlertAdminApiServer interface {
	CreateAlert(context.Context, *CreateAlertRequest) (*Alert, error)
	UpdateAlert(context.Context, *UpdateAlertRequest) (*Alert, error)
	ResolveAlert(context.Context, *ResolveAlertRequest) (*Alert, error)
	DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error)
	// contains filtered or unexported methods
}

AlertAdminApiServer is the server API for AlertAdminApi service. All implementations must embed UnimplementedAlertAdminApiServer for forward compatibility

type AlertApiClient

type AlertApiClient interface {
	ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error)
	PullAlerts(ctx context.Context, in *PullAlertsRequest, opts ...grpc.CallOption) (AlertApi_PullAlertsClient, error)
	// Acknowledge an existing alert.
	// Acknowledgement allows tracking of which alerts have been seen by an actor that may be able to react to the alert.
	AcknowledgeAlert(ctx context.Context, in *AcknowledgeAlertRequest, opts ...grpc.CallOption) (*Alert, error)
	UnacknowledgeAlert(ctx context.Context, in *AcknowledgeAlertRequest, opts ...grpc.CallOption) (*Alert, error)
	// Get alert metadata: how many alerts are there, what zones exist, etc.
	GetAlertMetadata(ctx context.Context, in *GetAlertMetadataRequest, opts ...grpc.CallOption) (*AlertMetadata, error)
	PullAlertMetadata(ctx context.Context, in *PullAlertMetadataRequest, opts ...grpc.CallOption) (AlertApi_PullAlertMetadataClient, error)
}

AlertApiClient is the client API for AlertApi 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 NewAlertApiClient

func NewAlertApiClient(cc grpc.ClientConnInterface) AlertApiClient

func WrapAlertApi

func WrapAlertApi(server AlertApiServer) AlertApiClient

WrapAlertApi adapts a AlertApiServer and presents it as a AlertApiClient

type AlertApiRouter

type AlertApiRouter struct {
	UnimplementedAlertApiServer

	router.Router
}

AlertApiRouter is a AlertApiServer that allows routing named requests to specific AlertApiClient

func NewAlertApiRouter

func NewAlertApiRouter(opts ...router.Option) *AlertApiRouter

func (*AlertApiRouter) AcknowledgeAlert

func (r *AlertApiRouter) AcknowledgeAlert(ctx context.Context, request *AcknowledgeAlertRequest) (*Alert, error)

func (*AlertApiRouter) Add

func (r *AlertApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AlertApiClient.

func (*AlertApiRouter) AddAlertApiClient

func (r *AlertApiRouter) AddAlertApiClient(name string, client AlertApiClient) AlertApiClient

func (*AlertApiRouter) GetAlertApiClient

func (r *AlertApiRouter) GetAlertApiClient(name string) (AlertApiClient, error)

func (*AlertApiRouter) GetAlertMetadata

func (r *AlertApiRouter) GetAlertMetadata(ctx context.Context, request *GetAlertMetadataRequest) (*AlertMetadata, error)

func (*AlertApiRouter) HoldsType

func (r *AlertApiRouter) HoldsType(client any) bool

func (*AlertApiRouter) ListAlerts

func (r *AlertApiRouter) ListAlerts(ctx context.Context, request *ListAlertsRequest) (*ListAlertsResponse, error)

func (*AlertApiRouter) PullAlertMetadata

func (r *AlertApiRouter) PullAlertMetadata(request *PullAlertMetadataRequest, server AlertApi_PullAlertMetadataServer) error

func (*AlertApiRouter) PullAlerts

func (r *AlertApiRouter) PullAlerts(request *PullAlertsRequest, server AlertApi_PullAlertsServer) error

func (*AlertApiRouter) Register

func (r *AlertApiRouter) Register(server *grpc.Server)

func (*AlertApiRouter) RemoveAlertApiClient

func (r *AlertApiRouter) RemoveAlertApiClient(name string) AlertApiClient

func (*AlertApiRouter) UnacknowledgeAlert

func (r *AlertApiRouter) UnacknowledgeAlert(ctx context.Context, request *AcknowledgeAlertRequest) (*Alert, error)

type AlertApiServer

type AlertApiServer interface {
	ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
	PullAlerts(*PullAlertsRequest, AlertApi_PullAlertsServer) error
	// Acknowledge an existing alert.
	// Acknowledgement allows tracking of which alerts have been seen by an actor that may be able to react to the alert.
	AcknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
	UnacknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
	// Get alert metadata: how many alerts are there, what zones exist, etc.
	GetAlertMetadata(context.Context, *GetAlertMetadataRequest) (*AlertMetadata, error)
	PullAlertMetadata(*PullAlertMetadataRequest, AlertApi_PullAlertMetadataServer) error
	// contains filtered or unexported methods
}

AlertApiServer is the server API for AlertApi service. All implementations must embed UnimplementedAlertApiServer for forward compatibility

type AlertApi_PullAlertMetadataClient

type AlertApi_PullAlertMetadataClient interface {
	Recv() (*PullAlertMetadataResponse, error)
	grpc.ClientStream
}

type AlertApi_PullAlertMetadataServer

type AlertApi_PullAlertMetadataServer interface {
	Send(*PullAlertMetadataResponse) error
	grpc.ServerStream
}

type AlertApi_PullAlertsClient

type AlertApi_PullAlertsClient interface {
	Recv() (*PullAlertsResponse, error)
	grpc.ClientStream
}

type AlertApi_PullAlertsServer

type AlertApi_PullAlertsServer interface {
	Send(*PullAlertsResponse) error
	grpc.ServerStream
}

type AlertMetadata

type AlertMetadata struct {
	TotalCount  uint32            `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	FloorCounts map[string]uint32 `` /* 183-byte string literal not displayed */
	ZoneCounts  map[string]uint32 `` /* 180-byte string literal not displayed */
	// map<string, uint32> source_counts = 4; // not sure this is needed and is likely to have poor performance
	AcknowledgedCounts map[bool]uint32  `` /* 205-byte string literal not displayed */
	SeverityCounts     map[int32]uint32 `` /* 195-byte string literal not displayed */
	ResolvedCounts     map[bool]uint32  `` /* 193-byte string literal not displayed */
	// Combines acknowledged and resolved in different combinations.
	// The key will each combination of [ack, nack] x [resolved, unresolved], for example ack_resolved, nack_resolved.
	NeedsAttentionCounts map[string]uint32 `` // combines resolved with acknowledged
	/* 212-byte string literal not displayed */
	SubsystemCounts map[string]uint32 `` /* 195-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlertMetadata) Descriptor deprecated

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

Deprecated: Use AlertMetadata.ProtoReflect.Descriptor instead.

func (*AlertMetadata) GetAcknowledgedCounts

func (x *AlertMetadata) GetAcknowledgedCounts() map[bool]uint32

func (*AlertMetadata) GetFloorCounts

func (x *AlertMetadata) GetFloorCounts() map[string]uint32

func (*AlertMetadata) GetNeedsAttentionCounts

func (x *AlertMetadata) GetNeedsAttentionCounts() map[string]uint32

func (*AlertMetadata) GetResolvedCounts

func (x *AlertMetadata) GetResolvedCounts() map[bool]uint32

func (*AlertMetadata) GetSeverityCounts

func (x *AlertMetadata) GetSeverityCounts() map[int32]uint32

func (*AlertMetadata) GetSubsystemCounts

func (x *AlertMetadata) GetSubsystemCounts() map[string]uint32

func (*AlertMetadata) GetTotalCount

func (x *AlertMetadata) GetTotalCount() uint32

func (*AlertMetadata) GetZoneCounts

func (x *AlertMetadata) GetZoneCounts() map[string]uint32

func (*AlertMetadata) ProtoMessage

func (*AlertMetadata) ProtoMessage()

func (*AlertMetadata) ProtoReflect

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

func (*AlertMetadata) Reset

func (x *AlertMetadata) Reset()

func (*AlertMetadata) String

func (x *AlertMetadata) String() string

type Alert_Acknowledgement

type Alert_Acknowledgement struct {
	AcknowledgeTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=acknowledge_time,json=acknowledgeTime,proto3" json:"acknowledge_time,omitempty"`
	// Who acknowledged this alert
	Author *Alert_Acknowledgement_Author `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

func (*Alert_Acknowledgement) Descriptor deprecated

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

Deprecated: Use Alert_Acknowledgement.ProtoReflect.Descriptor instead.

func (*Alert_Acknowledgement) GetAcknowledgeTime

func (x *Alert_Acknowledgement) GetAcknowledgeTime() *timestamppb.Timestamp

func (*Alert_Acknowledgement) GetAuthor

func (*Alert_Acknowledgement) ProtoMessage

func (*Alert_Acknowledgement) ProtoMessage()

func (*Alert_Acknowledgement) ProtoReflect

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

func (*Alert_Acknowledgement) Reset

func (x *Alert_Acknowledgement) Reset()

func (*Alert_Acknowledgement) String

func (x *Alert_Acknowledgement) String() string

type Alert_Acknowledgement_Author

type Alert_Acknowledgement_Author struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Email       string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*Alert_Acknowledgement_Author) Descriptor deprecated

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

Deprecated: Use Alert_Acknowledgement_Author.ProtoReflect.Descriptor instead.

func (*Alert_Acknowledgement_Author) GetDisplayName

func (x *Alert_Acknowledgement_Author) GetDisplayName() string

func (*Alert_Acknowledgement_Author) GetEmail

func (x *Alert_Acknowledgement_Author) GetEmail() string

func (*Alert_Acknowledgement_Author) GetId

func (*Alert_Acknowledgement_Author) ProtoMessage

func (*Alert_Acknowledgement_Author) ProtoMessage()

func (*Alert_Acknowledgement_Author) ProtoReflect

func (*Alert_Acknowledgement_Author) Reset

func (x *Alert_Acknowledgement_Author) Reset()

func (*Alert_Acknowledgement_Author) String

type Alert_Query

type Alert_Query struct {

	// Don't return alerts that were created before this time
	CreatedNotBefore *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_not_before,json=createdNotBefore,proto3" json:"created_not_before,omitempty"`
	// Don't return alerts that were created after this time
	CreatedNotAfter *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_not_after,json=createdNotAfter,proto3" json:"created_not_after,omitempty"`
	// Don't return alerts that have a severity below this value.
	// Common values are specified by the Severity enum.
	SeverityNotBelow int32 `protobuf:"zigzag32,3,opt,name=severity_not_below,json=severityNotBelow,proto3" json:"severity_not_below,omitempty"`
	// Don't return alerts that have a severity above this value.
	// Common values are specified by the Severity enum.
	SeverityNotAbove int32 `protobuf:"zigzag32,4,opt,name=severity_not_above,json=severityNotAbove,proto3" json:"severity_not_above,omitempty"`
	// Only return alerts that match this floor.
	Floor string `protobuf:"bytes,5,opt,name=floor,proto3" json:"floor,omitempty"`
	// Only return alerts that match this zone.
	Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
	// Only return alerts that match this source.
	Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"`
	// When collating alerts from multiple systems, federation records that remote system.
	Federation string `protobuf:"bytes,9,opt,name=federation,proto3" json:"federation,omitempty"`
	// Only return alerts that match this subsystem.
	Subsystem string `protobuf:"bytes,13,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
	// When true, only include alerts that have an acknowledgement.
	// When false, only include alerts that don't have an acknowledgement.
	// When absent, acknowledgement does not affect whether an alert is returned or not.
	Acknowledged *bool `protobuf:"varint,8,opt,name=acknowledged,proto3,oneof" json:"acknowledged,omitempty"`
	// When true, only include alerts that have a resolve time.
	// When false, only include alerts that don't have a resolve time.
	// When absent, resolve time does not affect whether an alert is returned or not.
	Resolved *bool `protobuf:"varint,10,opt,name=resolved,proto3,oneof" json:"resolved,omitempty"`
	// Don't return alerts that were resolved before this time
	ResolvedNotBefore *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=resolved_not_before,json=resolvedNotBefore,proto3" json:"resolved_not_before,omitempty"`
	// Don't return alerts that were resolved after this time
	ResolvedNotAfter *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=resolved_not_after,json=resolvedNotAfter,proto3" json:"resolved_not_after,omitempty"`
	// contains filtered or unexported fields
}

Query allows filtering for list and pull requests. If multiple fields are present they are ANDed together.

func (*Alert_Query) Descriptor deprecated

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

Deprecated: Use Alert_Query.ProtoReflect.Descriptor instead.

func (*Alert_Query) GetAcknowledged

func (x *Alert_Query) GetAcknowledged() bool

func (*Alert_Query) GetCreatedNotAfter

func (x *Alert_Query) GetCreatedNotAfter() *timestamppb.Timestamp

func (*Alert_Query) GetCreatedNotBefore

func (x *Alert_Query) GetCreatedNotBefore() *timestamppb.Timestamp

func (*Alert_Query) GetFederation

func (x *Alert_Query) GetFederation() string

func (*Alert_Query) GetFloor

func (x *Alert_Query) GetFloor() string

func (*Alert_Query) GetResolved

func (x *Alert_Query) GetResolved() bool

func (*Alert_Query) GetResolvedNotAfter

func (x *Alert_Query) GetResolvedNotAfter() *timestamppb.Timestamp

func (*Alert_Query) GetResolvedNotBefore

func (x *Alert_Query) GetResolvedNotBefore() *timestamppb.Timestamp

func (*Alert_Query) GetSeverityNotAbove

func (x *Alert_Query) GetSeverityNotAbove() int32

func (*Alert_Query) GetSeverityNotBelow

func (x *Alert_Query) GetSeverityNotBelow() int32

func (*Alert_Query) GetSource

func (x *Alert_Query) GetSource() string

func (*Alert_Query) GetSubsystem

func (x *Alert_Query) GetSubsystem() string

func (*Alert_Query) GetZone

func (x *Alert_Query) GetZone() string

func (*Alert_Query) ProtoMessage

func (*Alert_Query) ProtoMessage()

func (*Alert_Query) ProtoReflect

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

func (*Alert_Query) Reset

func (x *Alert_Query) Reset()

func (*Alert_Query) String

func (x *Alert_Query) String() string

type Alert_Severity

type Alert_Severity int32
const (
	Alert_SEVERITY_UNSPECIFIED Alert_Severity = 0
	Alert_INFO                 Alert_Severity = 9
	Alert_WARNING              Alert_Severity = 13
	Alert_SEVERE               Alert_Severity = 17
	Alert_LIFE_SAFETY          Alert_Severity = 21
)

func (Alert_Severity) Descriptor

func (Alert_Severity) Enum

func (x Alert_Severity) Enum() *Alert_Severity

func (Alert_Severity) EnumDescriptor deprecated

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

Deprecated: Use Alert_Severity.Descriptor instead.

func (Alert_Severity) Number

func (Alert_Severity) String

func (x Alert_Severity) String() string

func (Alert_Severity) Type

type AxiomXaDriverServiceClient

type AxiomXaDriverServiceClient interface {
	SaveQRCredential(ctx context.Context, in *SaveQRCredentialRequest, opts ...grpc.CallOption) (*SaveQRCredentialResponse, error)
}

AxiomXaDriverServiceClient is the client API for AxiomXaDriverService 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 WrapAxiomXaDriverService

func WrapAxiomXaDriverService(server AxiomXaDriverServiceServer) AxiomXaDriverServiceClient

WrapAxiomXaDriverService adapts a AxiomXaDriverServiceServer and presents it as a AxiomXaDriverServiceClient

type AxiomXaDriverServiceRouter

type AxiomXaDriverServiceRouter struct {
	UnimplementedAxiomXaDriverServiceServer

	router.Router
}

AxiomXaDriverServiceRouter is a AxiomXaDriverServiceServer that allows routing named requests to specific AxiomXaDriverServiceClient

func NewAxiomXaDriverServiceRouter

func NewAxiomXaDriverServiceRouter(opts ...router.Option) *AxiomXaDriverServiceRouter

func (*AxiomXaDriverServiceRouter) Add

func (r *AxiomXaDriverServiceRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type AxiomXaDriverServiceClient.

func (*AxiomXaDriverServiceRouter) AddAxiomXaDriverServiceClient

func (r *AxiomXaDriverServiceRouter) AddAxiomXaDriverServiceClient(name string, client AxiomXaDriverServiceClient) AxiomXaDriverServiceClient

func (*AxiomXaDriverServiceRouter) GetAxiomXaDriverServiceClient

func (r *AxiomXaDriverServiceRouter) GetAxiomXaDriverServiceClient(name string) (AxiomXaDriverServiceClient, error)

func (*AxiomXaDriverServiceRouter) HoldsType

func (r *AxiomXaDriverServiceRouter) HoldsType(client any) bool

func (*AxiomXaDriverServiceRouter) Register

func (r *AxiomXaDriverServiceRouter) Register(server *grpc.Server)

func (*AxiomXaDriverServiceRouter) RemoveAxiomXaDriverServiceClient

func (r *AxiomXaDriverServiceRouter) RemoveAxiomXaDriverServiceClient(name string) AxiomXaDriverServiceClient

func (*AxiomXaDriverServiceRouter) SaveQRCredential

type AxiomXaDriverServiceServer

type AxiomXaDriverServiceServer interface {
	SaveQRCredential(context.Context, *SaveQRCredentialRequest) (*SaveQRCredentialResponse, error)
	// contains filtered or unexported methods
}

AxiomXaDriverServiceServer is the server API for AxiomXaDriverService service. All implementations must embed UnimplementedAxiomXaDriverServiceServer for forward compatibility

type ButtonApiClient

type ButtonApiClient interface {
	// Gets the current state of the button.
	// Contain the most recent gesture, so clients using polling can still detect and respond to gestures.
	// However, to reduce latency, PullButtonState is recommended for this use case.
	GetButtonState(ctx context.Context, in *GetButtonStateRequest, opts ...grpc.CallOption) (*ButtonState, error)
	// Fetches changes to button Press state and gestures, and optionally the initial state.
	PullButtonState(ctx context.Context, in *PullButtonStateRequest, opts ...grpc.CallOption) (ButtonApi_PullButtonStateClient, error)
	// Updates the stored button state according to the write mask.
	// Real (physical) buttons are not expected to implement this method - it is intended for virtual or mock buttons
	UpdateButtonState(ctx context.Context, in *UpdateButtonStateRequest, opts ...grpc.CallOption) (*ButtonState, error)
}

ButtonApiClient is the client API for ButtonApi 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 NewButtonApiClient

func NewButtonApiClient(cc grpc.ClientConnInterface) ButtonApiClient

func WrapButtonApi

func WrapButtonApi(server ButtonApiServer) ButtonApiClient

WrapButtonApi adapts a ButtonApiServer and presents it as a ButtonApiClient

type ButtonApiRouter

type ButtonApiRouter struct {
	UnimplementedButtonApiServer

	router.Router
}

ButtonApiRouter is a ButtonApiServer that allows routing named requests to specific ButtonApiClient

func NewButtonApiRouter

func NewButtonApiRouter(opts ...router.Option) *ButtonApiRouter

func (*ButtonApiRouter) Add

func (r *ButtonApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type ButtonApiClient.

func (*ButtonApiRouter) AddButtonApiClient

func (r *ButtonApiRouter) AddButtonApiClient(name string, client ButtonApiClient) ButtonApiClient

func (*ButtonApiRouter) GetButtonApiClient

func (r *ButtonApiRouter) GetButtonApiClient(name string) (ButtonApiClient, error)

func (*ButtonApiRouter) GetButtonState

func (r *ButtonApiRouter) GetButtonState(ctx context.Context, request *GetButtonStateRequest) (*ButtonState, error)

func (*ButtonApiRouter) HoldsType

func (r *ButtonApiRouter) HoldsType(client any) bool

func (*ButtonApiRouter) PullButtonState

func (r *ButtonApiRouter) PullButtonState(request *PullButtonStateRequest, server ButtonApi_PullButtonStateServer) error

func (*ButtonApiRouter) Register

func (r *ButtonApiRouter) Register(server *grpc.Server)

func (*ButtonApiRouter) RemoveButtonApiClient

func (r *ButtonApiRouter) RemoveButtonApiClient(name string) ButtonApiClient

func (*ButtonApiRouter) UpdateButtonState

func (r *ButtonApiRouter) UpdateButtonState(ctx context.Context, request *UpdateButtonStateRequest) (*ButtonState, error)

type ButtonApiServer

type ButtonApiServer interface {
	// Gets the current state of the button.
	// Contain the most recent gesture, so clients using polling can still detect and respond to gestures.
	// However, to reduce latency, PullButtonState is recommended for this use case.
	GetButtonState(context.Context, *GetButtonStateRequest) (*ButtonState, error)
	// Fetches changes to button Press state and gestures, and optionally the initial state.
	PullButtonState(*PullButtonStateRequest, ButtonApi_PullButtonStateServer) error
	// Updates the stored button state according to the write mask.
	// Real (physical) buttons are not expected to implement this method - it is intended for virtual or mock buttons
	UpdateButtonState(context.Context, *UpdateButtonStateRequest) (*ButtonState, error)
	// contains filtered or unexported methods
}

ButtonApiServer is the server API for ButtonApi service. All implementations must embed UnimplementedButtonApiServer for forward compatibility

type ButtonApi_PullButtonStateClient

type ButtonApi_PullButtonStateClient interface {
	Recv() (*PullButtonStateResponse, error)
	grpc.ClientStream
}

type ButtonApi_PullButtonStateServer

type ButtonApi_PullButtonStateServer interface {
	Send(*PullButtonStateResponse) error
	grpc.ServerStream
}

type ButtonState

type ButtonState struct {
	State ButtonState_Press `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.bos.ButtonState_Press" json:"state,omitempty"`
	// The time that state changed to its present value.
	StateChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=state_change_time,json=stateChangeTime,proto3" json:"state_change_time,omitempty"`
	// The gesture that is currently in progress, or finished most recently.
	// May be absent, if there is no gesture recorded for this button.
	MostRecentGesture *ButtonState_Gesture `protobuf:"bytes,3,opt,name=most_recent_gesture,json=mostRecentGesture,proto3" json:"most_recent_gesture,omitempty"`
	// contains filtered or unexported fields
}

func (*ButtonState) Descriptor deprecated

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

Deprecated: Use ButtonState.ProtoReflect.Descriptor instead.

func (*ButtonState) GetMostRecentGesture

func (x *ButtonState) GetMostRecentGesture() *ButtonState_Gesture

func (*ButtonState) GetState

func (x *ButtonState) GetState() ButtonState_Press

func (*ButtonState) GetStateChangeTime

func (x *ButtonState) GetStateChangeTime() *timestamppb.Timestamp

func (*ButtonState) ProtoMessage

func (*ButtonState) ProtoMessage()

func (*ButtonState) ProtoReflect

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

func (*ButtonState) Reset

func (x *ButtonState) Reset()

func (*ButtonState) String

func (x *ButtonState) String() string

type ButtonState_Gesture

type ButtonState_Gesture struct {

	// Opaque identifier changes each time a new gesture begins.
	// The gesture will remain in the ButtonState even when the client has already seen it; the client can use the id
	// to detect when a new gesture has begun.
	Id   string                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind ButtonState_Gesture_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=smartcore.bos.ButtonState_Gesture_Kind" json:"kind,omitempty"`
	// A counter for sub-events that occur within a single gesture. See the Kind for details of meaning.
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// The time when the gesture was first recognised.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time when the gesture was recognised as completed. For HOLD gestures, this remains unset until the button
	// is released.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

A representation of user intent, deduced from a pattern of button presses. The way that the device converts button presses into gestures is implementation-defined. There may be a delay between the button presses and the registration of a gesture.

func (*ButtonState_Gesture) Descriptor deprecated

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

Deprecated: Use ButtonState_Gesture.ProtoReflect.Descriptor instead.

func (*ButtonState_Gesture) GetCount

func (x *ButtonState_Gesture) GetCount() int32

func (*ButtonState_Gesture) GetEndTime

func (x *ButtonState_Gesture) GetEndTime() *timestamppb.Timestamp

func (*ButtonState_Gesture) GetId

func (x *ButtonState_Gesture) GetId() string

func (*ButtonState_Gesture) GetKind

func (*ButtonState_Gesture) GetStartTime

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

func (*ButtonState_Gesture) ProtoMessage

func (*ButtonState_Gesture) ProtoMessage()

func (*ButtonState_Gesture) ProtoReflect

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

func (*ButtonState_Gesture) Reset

func (x *ButtonState_Gesture) Reset()

func (*ButtonState_Gesture) String

func (x *ButtonState_Gesture) String() string

type ButtonState_Gesture_Kind

type ButtonState_Gesture_Kind int32
const (
	ButtonState_Gesture_KIND_UNSPECIFIED ButtonState_Gesture_Kind = 0
	// One or more short press-and-release actions.
	// Clicks in short succession may be fused into double-clicks, triple-clicks etc. - in this case, the number
	// of fused clicks is stored in the count field.
	// When clicks are fused in this way, the gesture will not appear at all until the final click has finished -
	// it's not possible for a single gesture to be first reported as a single click, and then modified to a double click.
	ButtonState_Gesture_CLICK ButtonState_Gesture_Kind = 1
	// Button is kept in the pressed state for an extended period.
	// Buttons may support repeat events, in which case the count will increment for each repeat event, keeping id
	// the same because it's part of the same gesture.
	// For HOLD gestures, the end_time is not set until the button has been released, allowing the client to determine
	// when the gesture has ended.
	ButtonState_Gesture_HOLD ButtonState_Gesture_Kind = 2
)

func (ButtonState_Gesture_Kind) Descriptor

func (ButtonState_Gesture_Kind) Enum

func (ButtonState_Gesture_Kind) EnumDescriptor deprecated

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

Deprecated: Use ButtonState_Gesture_Kind.Descriptor instead.

func (ButtonState_Gesture_Kind) Number

func (ButtonState_Gesture_Kind) String

func (x ButtonState_Gesture_Kind) String() string

func (ButtonState_Gesture_Kind) Type

type ButtonState_Press

type ButtonState_Press int32

Instantaneous button state.

const (
	ButtonState_PRESS_UNSPECIFIED ButtonState_Press = 0
	// Button is in its neutral position.
	ButtonState_UNPRESSED ButtonState_Press = 1
	// Button is being pushed in.
	ButtonState_PRESSED ButtonState_Press = 2
)

func (ButtonState_Press) Descriptor

func (ButtonState_Press) Enum

func (ButtonState_Press) EnumDescriptor deprecated

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

Deprecated: Use ButtonState_Press.Descriptor instead.

func (ButtonState_Press) Number

func (ButtonState_Press) String

func (x ButtonState_Press) String() string

func (ButtonState_Press) Type

type Color

type Color struct {
	Channels *ColorChannels `protobuf:"bytes,1,opt,name=channels,proto3" json:"channels,omitempty"`
	Preset   *ColorPreset   `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// How the color changes or should change over time. On write only duration should be set.
	ColorTween *types.Tween `protobuf:"bytes,3,opt,name=color_tween,json=colorTween,proto3" json:"color_tween,omitempty"`
	// The target channel values. Ignored on write. On read zero values should be ignored iff target_preset is present.
	TargetChannels *ColorChannels `protobuf:"bytes,4,opt,name=target_channels,json=targetChannels,proto3" json:"target_channels,omitempty"`
	// The target preset. Ignored on write. If present ignore target_channels
	TargetPreset *ColorPreset `protobuf:"bytes,5,opt,name=target_preset,json=targetPreset,proto3" json:"target_preset,omitempty"`
	// contains filtered or unexported fields
}

Represents the color

func (*Color) Descriptor deprecated

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

Deprecated: Use Color.ProtoReflect.Descriptor instead.

func (*Color) GetChannels

func (x *Color) GetChannels() *ColorChannels

func (*Color) GetColorTween

func (x *Color) GetColorTween() *types.Tween

func (*Color) GetPreset

func (x *Color) GetPreset() *ColorPreset

func (*Color) GetTargetChannels

func (x *Color) GetTargetChannels() *ColorChannels

func (*Color) GetTargetPreset

func (x *Color) GetTargetPreset() *ColorPreset

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) ProtoReflect

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

func (*Color) Reset

func (x *Color) Reset()

func (*Color) String

func (x *Color) String() string

type ColorApiClient

type ColorApiClient interface {
	// get the current color
	GetColor(ctx context.Context, in *GetColorRequest, opts ...grpc.CallOption) (*Color, error)
	// request that the color be changed
	UpdateColor(ctx context.Context, in *UpdateColorRequest, opts ...grpc.CallOption) (*Color, error)
	// request updates to changes to the color value
	PullColor(ctx context.Context, in *PullColorRequest, opts ...grpc.CallOption) (ColorApi_PullColorClient, error)
}

ColorApiClient is the client API for ColorApi 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 NewColorApiClient

func NewColorApiClient(cc grpc.ClientConnInterface) ColorApiClient

func WrapColorApi

func WrapColorApi(server ColorApiServer) ColorApiClient

WrapColorApi adapts a ColorApiServer and presents it as a ColorApiClient

type ColorApiRouter

type ColorApiRouter struct {
	UnimplementedColorApiServer

	router.Router
}

ColorApiRouter is a ColorApiServer that allows routing named requests to specific ColorApiClient

func NewColorApiRouter

func NewColorApiRouter(opts ...router.Option) *ColorApiRouter

func (*ColorApiRouter) Add

func (r *ColorApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type ColorApiClient.

func (*ColorApiRouter) AddColorApiClient

func (r *ColorApiRouter) AddColorApiClient(name string, client ColorApiClient) ColorApiClient

func (*ColorApiRouter) GetColor

func (r *ColorApiRouter) GetColor(ctx context.Context, request *GetColorRequest) (*Color, error)

func (*ColorApiRouter) GetColorApiClient

func (r *ColorApiRouter) GetColorApiClient(name string) (ColorApiClient, error)

func (*ColorApiRouter) HoldsType

func (r *ColorApiRouter) HoldsType(client any) bool

func (*ColorApiRouter) PullColor

func (r *ColorApiRouter) PullColor(request *PullColorRequest, server ColorApi_PullColorServer) error

func (*ColorApiRouter) Register

func (r *ColorApiRouter) Register(server *grpc.Server)

func (*ColorApiRouter) RemoveColorApiClient

func (r *ColorApiRouter) RemoveColorApiClient(name string) ColorApiClient

func (*ColorApiRouter) UpdateColor

func (r *ColorApiRouter) UpdateColor(ctx context.Context, request *UpdateColorRequest) (*Color, error)

type ColorApiServer

type ColorApiServer interface {
	// get the current color
	GetColor(context.Context, *GetColorRequest) (*Color, error)
	// request that the color be changed
	UpdateColor(context.Context, *UpdateColorRequest) (*Color, error)
	// request updates to changes to the color value
	PullColor(*PullColorRequest, ColorApi_PullColorServer) error
	// contains filtered or unexported methods
}

ColorApiServer is the server API for ColorApi service. All implementations must embed UnimplementedColorApiServer for forward compatibility

type ColorApi_PullColorClient

type ColorApi_PullColorClient interface {
	Recv() (*PullColorResponse, error)
	grpc.ClientStream
}

type ColorApi_PullColorServer

type ColorApi_PullColorServer interface {
	Send(*PullColorResponse) error
	grpc.ServerStream
}

type ColorChannels

type ColorChannels struct {

	// red channel value in the range [0,255]
	// optional on write, required on read if supported
	Red *uint32 `protobuf:"varint,1,opt,name=red,proto3,oneof" json:"red,omitempty"`
	// green channel value in the range [0,255]
	// optional on write, required on read if supported
	Green *uint32 `protobuf:"varint,2,opt,name=green,proto3,oneof" json:"green,omitempty"`
	// blue channel value in the range [0,255]
	// optional on write, required on read if supported
	Blue *uint32 `protobuf:"varint,3,opt,name=blue,proto3,oneof" json:"blue,omitempty"`
	// if the device supports an intensity channel, that is represented here in the range [0,255]
	// optional on write, required on read if supported
	Intensity *uint32 `protobuf:"varint,4,opt,name=intensity,proto3,oneof" json:"intensity,omitempty"`
	// if the device supports color temperature, that is represented here in Kelvin, typically in the range [2000,9000]
	// optional on write, required on read if supported
	Temperature *uint32 `protobuf:"varint,5,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// a map of other channel names to value, where the value is [0-255]
	// all values supported (that aren't specific fields above) should be present in the map,
	// even if the value is 0; except on write when values not to be changed should be omitted
	// e.g. if a device supports RGBW (red, green, blue, and white), then this map
	// should contain the white value: {more: {white: 255}}
	More map[string]uint32 `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

ColorChannels represents different channels of color for a device, e.g. red, green, and blue

func (*ColorChannels) Descriptor deprecated

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

Deprecated: Use ColorChannels.ProtoReflect.Descriptor instead.

func (*ColorChannels) GetBlue

func (x *ColorChannels) GetBlue() uint32

func (*ColorChannels) GetGreen

func (x *ColorChannels) GetGreen() uint32

func (*ColorChannels) GetIntensity

func (x *ColorChannels) GetIntensity() uint32

func (*ColorChannels) GetMore

func (x *ColorChannels) GetMore() map[string]uint32

func (*ColorChannels) GetRed

func (x *ColorChannels) GetRed() uint32

func (*ColorChannels) GetTemperature

func (x *ColorChannels) GetTemperature() uint32

func (*ColorChannels) ProtoMessage

func (*ColorChannels) ProtoMessage()

func (*ColorChannels) ProtoReflect

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

func (*ColorChannels) Reset

func (x *ColorChannels) Reset()

func (*ColorChannels) String

func (x *ColorChannels) String() string

type ColorInfoClient

type ColorInfoClient interface {
	// Get information about how a named device implements Color features
	DescribeColor(ctx context.Context, in *DescribeColorRequest, opts ...grpc.CallOption) (*ColorSupport, error)
}

ColorInfoClient is the client API for ColorInfo 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 NewColorInfoClient

func NewColorInfoClient(cc grpc.ClientConnInterface) ColorInfoClient

func WrapColorInfo

func WrapColorInfo(server ColorInfoServer) ColorInfoClient

WrapColorInfo adapts a ColorInfoServer and presents it as a ColorInfoClient

type ColorInfoRouter

type ColorInfoRouter struct {
	UnimplementedColorInfoServer

	router.Router
}

ColorInfoRouter is a ColorInfoServer that allows routing named requests to specific ColorInfoClient

func NewColorInfoRouter

func NewColorInfoRouter(opts ...router.Option) *ColorInfoRouter

func (*ColorInfoRouter) Add

func (r *ColorInfoRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type ColorInfoClient.

func (*ColorInfoRouter) AddColorInfoClient

func (r *ColorInfoRouter) AddColorInfoClient(name string, client ColorInfoClient) ColorInfoClient

func (*ColorInfoRouter) DescribeColor

func (r *ColorInfoRouter) DescribeColor(ctx context.Context, request *DescribeColorRequest) (*ColorSupport, error)

func (*ColorInfoRouter) GetColorInfoClient

func (r *ColorInfoRouter) GetColorInfoClient(name string) (ColorInfoClient, error)

func (*ColorInfoRouter) HoldsType

func (r *ColorInfoRouter) HoldsType(client any) bool

func (*ColorInfoRouter) Register

func (r *ColorInfoRouter) Register(server *grpc.Server)

func (*ColorInfoRouter) RemoveColorInfoClient

func (r *ColorInfoRouter) RemoveColorInfoClient(name string) ColorInfoClient

type ColorInfoServer

type ColorInfoServer interface {
	// Get information about how a named device implements Color features
	DescribeColor(context.Context, *DescribeColorRequest) (*ColorSupport, error)
	// contains filtered or unexported methods
}

ColorInfoServer is the server API for ColorInfo service. All implementations must embed UnimplementedColorInfoServer for forward compatibility

type ColorPreset

type ColorPreset struct {

	// a unique name for this preset, which could be a number or ID, e.g. "143", or "preset_1"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// a display name for this preset, e.g. "Wake Up", or "Film Mode"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*ColorPreset) Descriptor deprecated

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

Deprecated: Use ColorPreset.ProtoReflect.Descriptor instead.

func (*ColorPreset) GetName

func (x *ColorPreset) GetName() string

func (*ColorPreset) GetTitle

func (x *ColorPreset) GetTitle() string

func (*ColorPreset) ProtoMessage

func (*ColorPreset) ProtoMessage()

func (*ColorPreset) ProtoReflect

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

func (*ColorPreset) Reset

func (x *ColorPreset) Reset()

func (*ColorPreset) String

func (x *ColorPreset) String() string

type ColorSupport

type ColorSupport 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 color can be controlled. The range of these attributes is fixed at 0-100 as a percentage
	ColorAttributes *types.Int32Attributes `protobuf:"bytes,2,opt,name=color_attributes,json=colorAttributes,proto3" json:"color_attributes,omitempty"`
	// A description of the supported presets, none means no presets
	Presets []*ColorPreset `protobuf:"bytes,3,rep,name=presets,proto3" json:"presets,omitempty"`
	// A description of the supported channels, none means no channels
	// this would include "red", "green", "blue", "intensity" and "temperature" as appropriate,
	// as well as any other channels
	Channels []string `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

ColorSupport describes the capabilities of devices implementing this trait

func (*ColorSupport) Descriptor deprecated

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

Deprecated: Use ColorSupport.ProtoReflect.Descriptor instead.

func (*ColorSupport) GetChannels

func (x *ColorSupport) GetChannels() []string

func (*ColorSupport) GetColorAttributes

func (x *ColorSupport) GetColorAttributes() *types.Int32Attributes

func (*ColorSupport) GetPresets

func (x *ColorSupport) GetPresets() []*ColorPreset

func (*ColorSupport) GetResourceSupport

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

func (*ColorSupport) ProtoMessage

func (*ColorSupport) ProtoMessage()

func (*ColorSupport) ProtoReflect

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

func (*ColorSupport) Reset

func (x *ColorSupport) Reset()

func (*ColorSupport) String

func (x *ColorSupport) String() string

type ConfigureServiceRequest

type ConfigureServiceRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Raw configuration data, typically encoded JSON as defined by the service implementation.
	ConfigRaw string `protobuf:"bytes,3,opt,name=config_raw,json=configRaw,proto3" json:"config_raw,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureServiceRequest) Descriptor deprecated

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

Deprecated: Use ConfigureServiceRequest.ProtoReflect.Descriptor instead.

func (*ConfigureServiceRequest) GetConfigRaw

func (x *ConfigureServiceRequest) GetConfigRaw() string

func (*ConfigureServiceRequest) GetId

func (x *ConfigureServiceRequest) GetId() string

func (*ConfigureServiceRequest) GetName

func (x *ConfigureServiceRequest) GetName() string

func (*ConfigureServiceRequest) ProtoMessage

func (*ConfigureServiceRequest) ProtoMessage()

func (*ConfigureServiceRequest) ProtoReflect

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

func (*ConfigureServiceRequest) Reset

func (x *ConfigureServiceRequest) Reset()

func (*ConfigureServiceRequest) String

func (x *ConfigureServiceRequest) String() string

type ControlGearStatus

type ControlGearStatus struct {
	Failures []ControlGearStatus_Failure `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ControlGearStatus) Descriptor deprecated

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

Deprecated: Use ControlGearStatus.ProtoReflect.Descriptor instead.

func (*ControlGearStatus) GetFailures

func (x *ControlGearStatus) GetFailures() []ControlGearStatus_Failure

func (*ControlGearStatus) ProtoMessage

func (*ControlGearStatus) ProtoMessage()

func (*ControlGearStatus) ProtoReflect

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

func (*ControlGearStatus) Reset

func (x *ControlGearStatus) Reset()

func (*ControlGearStatus) String

func (x *ControlGearStatus) String() string

type ControlGearStatus_Failure

type ControlGearStatus_Failure int32
const (
	ControlGearStatus_FAILURE_UNSPECIFIED  ControlGearStatus_Failure = 0
	ControlGearStatus_LAMP_FAILURE         ControlGearStatus_Failure = 1
	ControlGearStatus_CONTROL_GEAR_FAILURE ControlGearStatus_Failure = 2
)

func (ControlGearStatus_Failure) Descriptor

func (ControlGearStatus_Failure) Enum

func (ControlGearStatus_Failure) EnumDescriptor deprecated

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

Deprecated: Use ControlGearStatus_Failure.Descriptor instead.

func (ControlGearStatus_Failure) Number

func (ControlGearStatus_Failure) String

func (x ControlGearStatus_Failure) String() string

func (ControlGearStatus_Failure) Type

type CreateAlertRequest

type CreateAlertRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The alert information to use for the new record.
	// Only description, floor, zone, severity, and source will contribute to the new alert.
	Alert *Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty"`
	// When true, merge this new alert with the most recent unresolved alert matching Alert.source.
	// Alert.source must exist.
	// If no such alert exists then a new alert will be created as if this were false.
	MergeSource bool `protobuf:"varint,3,opt,name=merge_source,json=mergeSource,proto3" json:"merge_source,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAlertRequest) Descriptor deprecated

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

Deprecated: Use CreateAlertRequest.ProtoReflect.Descriptor instead.

func (*CreateAlertRequest) GetAlert

func (x *CreateAlertRequest) GetAlert() *Alert

func (*CreateAlertRequest) GetMergeSource

func (x *CreateAlertRequest) GetMergeSource() bool

func (*CreateAlertRequest) GetName

func (x *CreateAlertRequest) GetName() string

func (*CreateAlertRequest) ProtoMessage

func (*CreateAlertRequest) ProtoMessage()

func (*CreateAlertRequest) ProtoReflect

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

func (*CreateAlertRequest) Reset

func (x *CreateAlertRequest) Reset()

func (*CreateAlertRequest) String

func (x *CreateAlertRequest) String() string

type CreateEnrollmentRequest

type CreateEnrollmentRequest struct {
	Enrollment *Enrollment `protobuf:"bytes,1,opt,name=enrollment,proto3" json:"enrollment,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use CreateEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnrollmentRequest) GetEnrollment

func (x *CreateEnrollmentRequest) GetEnrollment() *Enrollment

func (*CreateEnrollmentRequest) ProtoMessage

func (*CreateEnrollmentRequest) ProtoMessage()

func (*CreateEnrollmentRequest) ProtoReflect

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

func (*CreateEnrollmentRequest) Reset

func (x *CreateEnrollmentRequest) Reset()

func (*CreateEnrollmentRequest) String

func (x *CreateEnrollmentRequest) String() string

type CreateHistoryRecordRequest

type CreateHistoryRecordRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The record to create.
	// The id and create_time fields must be absent.
	Record *HistoryRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHistoryRecordRequest) Descriptor deprecated

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

Deprecated: Use CreateHistoryRecordRequest.ProtoReflect.Descriptor instead.

func (*CreateHistoryRecordRequest) GetName

func (x *CreateHistoryRecordRequest) GetName() string

func (*CreateHistoryRecordRequest) GetRecord

func (x *CreateHistoryRecordRequest) GetRecord() *HistoryRecord

func (*CreateHistoryRecordRequest) ProtoMessage

func (*CreateHistoryRecordRequest) ProtoMessage()

func (*CreateHistoryRecordRequest) ProtoReflect

func (*CreateHistoryRecordRequest) Reset

func (x *CreateHistoryRecordRequest) Reset()

func (*CreateHistoryRecordRequest) String

func (x *CreateHistoryRecordRequest) String() string

type CreateSecretRequest

type CreateSecretRequest struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecretRequest) Descriptor deprecated

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

Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateSecretRequest) GetSecret

func (x *CreateSecretRequest) GetSecret() *Secret

func (*CreateSecretRequest) ProtoMessage

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) ProtoReflect

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

func (*CreateSecretRequest) Reset

func (x *CreateSecretRequest) Reset()

func (*CreateSecretRequest) String

func (x *CreateSecretRequest) String() string

type CreateServiceRequest

type CreateServiceRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The details for the service.
	// Type is required, id, active, and config_raw are optional, other fields are not allowed.
	// Some devices do not allow for more than one service of the same type to be created.
	//
	// Creating a service that has the same name as an existing service will result in an error.
	Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetName

func (x *CreateServiceRequest) GetName() string

func (*CreateServiceRequest) GetService

func (x *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect

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

func (*CreateServiceRequest) Reset

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String

func (x *CreateServiceRequest) String() string

type CreateTenantRequest

type CreateTenantRequest struct {
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRequest) Descriptor deprecated

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

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetTenant

func (x *CreateTenantRequest) GetTenant() *Tenant

func (*CreateTenantRequest) ProtoMessage

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect

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

func (*CreateTenantRequest) Reset

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String

func (x *CreateTenantRequest) String() string

type DaliApiClient

type DaliApiClient interface {
	// Group commands
	AddToGroup(ctx context.Context, in *AddToGroupRequest, opts ...grpc.CallOption) (*AddToGroupResponse, error)
	RemoveFromGroup(ctx context.Context, in *RemoveFromGroupRequest, opts ...grpc.CallOption) (*RemoveFromGroupResponse, error)
	GetGroupMembership(ctx context.Context, in *GetGroupMembershipRequest, opts ...grpc.CallOption) (*GetGroupMembershipResponse, error)
	// Control Gear Commands
	GetControlGearStatus(ctx context.Context, in *GetControlGearStatusRequest, opts ...grpc.CallOption) (*ControlGearStatus, error)
	// Emergency Light commands
	GetEmergencyStatus(ctx context.Context, in *GetEmergencyStatusRequest, opts ...grpc.CallOption) (*EmergencyStatus, error)
	// Start identification for the light; typically this will flash an indicator LED for a few seconds.
	Identify(ctx context.Context, in *IdentifyRequest, opts ...grpc.CallOption) (*IdentifyResponse, error)
	// Attempt to start a function or duration test.
	StartTest(ctx context.Context, in *StartTestRequest, opts ...grpc.CallOption) (*StartTestResponse, error)
	// Stop any test that is in progress.
	StopTest(ctx context.Context, in *StopTestRequest, opts ...grpc.CallOption) (*StopTestResponse, error)
	// Retrieve the results (pass/fail) of the most recent function or duration test to be performed.
	GetTestResult(ctx context.Context, in *GetTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
	// Can be used to clear a test pass from the light's internal memory. Only passes can be deleted in this way -
	// a failure will stick until it's replaced with a pass.
	//
	// Useful to make sure you don't record the same test multiple times.
	DeleteTestResult(ctx context.Context, in *DeleteTestResultRequest, opts ...grpc.CallOption) (*TestResult, error)
}

DaliApiClient is the client API for DaliApi 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 NewDaliApiClient

func NewDaliApiClient(cc grpc.ClientConnInterface) DaliApiClient

func WrapDaliApi

func WrapDaliApi(server DaliApiServer) DaliApiClient

WrapDaliApi adapts a DaliApiServer and presents it as a DaliApiClient

type DaliApiRouter

type DaliApiRouter struct {
	UnimplementedDaliApiServer

	router.Router
}

DaliApiRouter is a DaliApiServer that allows routing named requests to specific DaliApiClient

func NewDaliApiRouter

func NewDaliApiRouter(opts ...router.Option) *DaliApiRouter

func (*DaliApiRouter) Add

func (r *DaliApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type DaliApiClient.

func (*DaliApiRouter) AddDaliApiClient

func (r *DaliApiRouter) AddDaliApiClient(name string, client DaliApiClient) DaliApiClient

func (*DaliApiRouter) AddToGroup

func (r *DaliApiRouter) AddToGroup(ctx context.Context, request *AddToGroupRequest) (*AddToGroupResponse, error)

func (*DaliApiRouter) DeleteTestResult

func (r *DaliApiRouter) DeleteTestResult(ctx context.Context, request *DeleteTestResultRequest) (*TestResult, error)

func (*DaliApiRouter) GetControlGearStatus

func (r *DaliApiRouter) GetControlGearStatus(ctx context.Context, request *GetControlGearStatusRequest) (*ControlGearStatus, error)

func (*DaliApiRouter) GetDaliApiClient

func (r *DaliApiRouter) GetDaliApiClient(name string) (DaliApiClient, error)

func (*DaliApiRouter) GetEmergencyStatus

func (r *DaliApiRouter) GetEmergencyStatus(ctx context.Context, request *GetEmergencyStatusRequest) (*EmergencyStatus, error)

func (*DaliApiRouter) GetGroupMembership

func (*DaliApiRouter) GetTestResult

func (r *DaliApiRouter) GetTestResult(ctx context.Context, request *GetTestResultRequest) (*TestResult, error)

func (*DaliApiRouter) HoldsType

func (r *DaliApiRouter) HoldsType(client any) bool

func (*DaliApiRouter) Identify

func (r *DaliApiRouter) Identify(ctx context.Context, request *IdentifyRequest) (*IdentifyResponse, error)

func (*DaliApiRouter) Register

func (r *DaliApiRouter) Register(server *grpc.Server)

func (*DaliApiRouter) RemoveDaliApiClient

func (r *DaliApiRouter) RemoveDaliApiClient(name string) DaliApiClient

func (*DaliApiRouter) RemoveFromGroup

func (r *DaliApiRouter) RemoveFromGroup(ctx context.Context, request *RemoveFromGroupRequest) (*RemoveFromGroupResponse, error)

func (*DaliApiRouter) StartTest

func (r *DaliApiRouter) StartTest(ctx context.Context, request *StartTestRequest) (*StartTestResponse, error)

func (*DaliApiRouter) StopTest

func (r *DaliApiRouter) StopTest(ctx context.Context, request *StopTestRequest) (*StopTestResponse, error)

type DaliApiServer

type DaliApiServer interface {
	// Group commands
	AddToGroup(context.Context, *AddToGroupRequest) (*AddToGroupResponse, error)
	RemoveFromGroup(context.Context, *RemoveFromGroupRequest) (*RemoveFromGroupResponse, error)
	GetGroupMembership(context.Context, *GetGroupMembershipRequest) (*GetGroupMembershipResponse, error)
	// Control Gear Commands
	GetControlGearStatus(context.Context, *GetControlGearStatusRequest) (*ControlGearStatus, error)
	// Emergency Light commands
	GetEmergencyStatus(context.Context, *GetEmergencyStatusRequest) (*EmergencyStatus, error)
	// Start identification for the light; typically this will flash an indicator LED for a few seconds.
	Identify(context.Context, *IdentifyRequest) (*IdentifyResponse, error)
	// Attempt to start a function or duration test.
	StartTest(context.Context, *StartTestRequest) (*StartTestResponse, error)
	// Stop any test that is in progress.
	StopTest(context.Context, *StopTestRequest) (*StopTestResponse, error)
	// Retrieve the results (pass/fail) of the most recent function or duration test to be performed.
	GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)
	// Can be used to clear a test pass from the light's internal memory. Only passes can be deleted in this way -
	// a failure will stick until it's replaced with a pass.
	//
	// Useful to make sure you don't record the same test multiple times.
	DeleteTestResult(context.Context, *DeleteTestResultRequest) (*TestResult, error)
	// contains filtered or unexported methods
}

DaliApiServer is the server API for DaliApi service. All implementations must embed UnimplementedDaliApiServer for forward compatibility

type DeleteAlertRequest

type DeleteAlertRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the alert.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// If set to true, and no alert 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 (*DeleteAlertRequest) Descriptor deprecated

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

Deprecated: Use DeleteAlertRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertRequest) GetAllowMissing

func (x *DeleteAlertRequest) GetAllowMissing() bool

func (*DeleteAlertRequest) GetId

func (x *DeleteAlertRequest) GetId() string

func (*DeleteAlertRequest) GetName

func (x *DeleteAlertRequest) GetName() string

func (*DeleteAlertRequest) ProtoMessage

func (*DeleteAlertRequest) ProtoMessage()

func (*DeleteAlertRequest) ProtoReflect

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

func (*DeleteAlertRequest) Reset

func (x *DeleteAlertRequest) Reset()

func (*DeleteAlertRequest) String

func (x *DeleteAlertRequest) String() string

type DeleteAlertResponse

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

func (*DeleteAlertResponse) Descriptor deprecated

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

Deprecated: Use DeleteAlertResponse.ProtoReflect.Descriptor instead.

func (*DeleteAlertResponse) ProtoMessage

func (*DeleteAlertResponse) ProtoMessage()

func (*DeleteAlertResponse) ProtoReflect

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

func (*DeleteAlertResponse) Reset

func (x *DeleteAlertResponse) Reset()

func (*DeleteAlertResponse) String

func (x *DeleteAlertResponse) String() string

type DeleteEnrollmentRequest

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

func (*DeleteEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnrollmentRequest) ProtoMessage

func (*DeleteEnrollmentRequest) ProtoMessage()

func (*DeleteEnrollmentRequest) ProtoReflect

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

func (*DeleteEnrollmentRequest) Reset

func (x *DeleteEnrollmentRequest) Reset()

func (*DeleteEnrollmentRequest) String

func (x *DeleteEnrollmentRequest) String() string

type DeleteSecretRequest

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

func (*DeleteSecretRequest) Descriptor deprecated

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

Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecretRequest) GetId

func (x *DeleteSecretRequest) GetId() string

func (*DeleteSecretRequest) ProtoMessage

func (*DeleteSecretRequest) ProtoMessage()

func (*DeleteSecretRequest) ProtoReflect

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

func (*DeleteSecretRequest) Reset

func (x *DeleteSecretRequest) Reset()

func (*DeleteSecretRequest) String

func (x *DeleteSecretRequest) String() string

type DeleteSecretResponse

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

func (*DeleteSecretResponse) Descriptor deprecated

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

Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead.

func (*DeleteSecretResponse) ProtoMessage

func (*DeleteSecretResponse) ProtoMessage()

func (*DeleteSecretResponse) ProtoReflect

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

func (*DeleteSecretResponse) Reset

func (x *DeleteSecretResponse) Reset()

func (*DeleteSecretResponse) String

func (x *DeleteSecretResponse) String() string

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service to delete.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// If true do not report an error if a service with the given id does not exist.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteServiceRequest) Descriptor deprecated

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

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetAllowMissing

func (x *DeleteServiceRequest) GetAllowMissing() bool

func (*DeleteServiceRequest) GetId

func (x *DeleteServiceRequest) GetId() string

func (*DeleteServiceRequest) GetName

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

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

func (*DeleteServiceRequest) Reset

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (x *DeleteServiceRequest) String() string

type DeleteTenantRequest

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

func (*DeleteTenantRequest) Descriptor deprecated

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

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetId

func (x *DeleteTenantRequest) GetId() string

func (*DeleteTenantRequest) ProtoMessage

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect

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

func (*DeleteTenantRequest) Reset

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String

func (x *DeleteTenantRequest) String() string

type DeleteTenantResponse

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

func (*DeleteTenantResponse) Descriptor deprecated

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

Deprecated: Use DeleteTenantResponse.ProtoReflect.Descriptor instead.

func (*DeleteTenantResponse) ProtoMessage

func (*DeleteTenantResponse) ProtoMessage()

func (*DeleteTenantResponse) ProtoReflect

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

func (*DeleteTenantResponse) Reset

func (x *DeleteTenantResponse) Reset()

func (*DeleteTenantResponse) String

func (x *DeleteTenantResponse) String() string

type DeleteTestResultRequest

type DeleteTestResultRequest struct {
	Name string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Test EmergencyStatus_Test `protobuf:"varint,2,opt,name=test,proto3,enum=smartcore.bos.driver.dali.EmergencyStatus_Test" json:"test,omitempty"` // which kind of test result are we trying to delete?
	Etag string               `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`                                                      // if present, the delete operation will fail unless the provided etag matches the stored etag
	// contains filtered or unexported fields
}

func (*DeleteTestResultRequest) Descriptor deprecated

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

Deprecated: Use DeleteTestResultRequest.ProtoReflect.Descriptor instead.

func (*DeleteTestResultRequest) GetEtag

func (x *DeleteTestResultRequest) GetEtag() string

func (*DeleteTestResultRequest) GetName

func (x *DeleteTestResultRequest) GetName() string

func (*DeleteTestResultRequest) GetTest

func (*DeleteTestResultRequest) ProtoMessage

func (*DeleteTestResultRequest) ProtoMessage()

func (*DeleteTestResultRequest) ProtoReflect

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

func (*DeleteTestResultRequest) Reset

func (x *DeleteTestResultRequest) Reset()

func (*DeleteTestResultRequest) String

func (x *DeleteTestResultRequest) String() string

type DescribeColorRequest

type DescribeColorRequest struct {

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

func (*DescribeColorRequest) Descriptor deprecated

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

Deprecated: Use DescribeColorRequest.ProtoReflect.Descriptor instead.

func (*DescribeColorRequest) GetName

func (x *DescribeColorRequest) GetName() string

func (*DescribeColorRequest) ProtoMessage

func (*DescribeColorRequest) ProtoMessage()

func (*DescribeColorRequest) ProtoReflect

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

func (*DescribeColorRequest) Reset

func (x *DescribeColorRequest) Reset()

func (*DescribeColorRequest) String

func (x *DescribeColorRequest) String() string

type DescribeMeterReadingRequest

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

func (*DescribeMeterReadingRequest) Descriptor deprecated

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

Deprecated: Use DescribeMeterReadingRequest.ProtoReflect.Descriptor instead.

func (*DescribeMeterReadingRequest) GetName

func (x *DescribeMeterReadingRequest) GetName() string

func (*DescribeMeterReadingRequest) ProtoMessage

func (*DescribeMeterReadingRequest) ProtoMessage()

func (*DescribeMeterReadingRequest) ProtoReflect

func (*DescribeMeterReadingRequest) Reset

func (x *DescribeMeterReadingRequest) Reset()

func (*DescribeMeterReadingRequest) String

func (x *DescribeMeterReadingRequest) String() string

type Device

type Device struct {
	Name     string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Metadata *traits.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetMetadata

func (x *Device) GetMetadata() *traits.Metadata

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type Device_Query

type Device_Query struct {
	Conditions []*Device_Query_Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// contains filtered or unexported fields
}

func (*Device_Query) Descriptor deprecated

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

Deprecated: Use Device_Query.ProtoReflect.Descriptor instead.

func (*Device_Query) GetConditions

func (x *Device_Query) GetConditions() []*Device_Query_Condition

func (*Device_Query) ProtoMessage

func (*Device_Query) ProtoMessage()

func (*Device_Query) ProtoReflect

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

func (*Device_Query) Reset

func (x *Device_Query) Reset()

func (*Device_Query) String

func (x *Device_Query) String() string

type Device_Query_Condition

type Device_Query_Condition struct {

	// The name of a field relative to Device using '.' as a path separator.
	// For example "metadata.membership.group".
	// If absent then any field may be matched against the value.
	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	// Types that are assignable to Value:
	//
	//	*Device_Query_Condition_StringEqual
	//	*Device_Query_Condition_StringEqualFold
	//	*Device_Query_Condition_StringContains
	//	*Device_Query_Condition_StringContainsFold
	Value isDevice_Query_Condition_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Device_Query_Condition) Descriptor deprecated

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

Deprecated: Use Device_Query_Condition.ProtoReflect.Descriptor instead.

func (*Device_Query_Condition) GetField

func (x *Device_Query_Condition) GetField() string

func (*Device_Query_Condition) GetStringContains

func (x *Device_Query_Condition) GetStringContains() string

func (*Device_Query_Condition) GetStringContainsFold

func (x *Device_Query_Condition) GetStringContainsFold() string

func (*Device_Query_Condition) GetStringEqual

func (x *Device_Query_Condition) GetStringEqual() string

func (*Device_Query_Condition) GetStringEqualFold

func (x *Device_Query_Condition) GetStringEqualFold() string

func (*Device_Query_Condition) GetValue

func (m *Device_Query_Condition) GetValue() isDevice_Query_Condition_Value

func (*Device_Query_Condition) ProtoMessage

func (*Device_Query_Condition) ProtoMessage()

func (*Device_Query_Condition) ProtoReflect

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

func (*Device_Query_Condition) Reset

func (x *Device_Query_Condition) Reset()

func (*Device_Query_Condition) String

func (x *Device_Query_Condition) String() string

type Device_Query_Condition_StringContains

type Device_Query_Condition_StringContains struct {
	// Compare the field using case sensitive contains.
	StringContains string `protobuf:"bytes,4,opt,name=string_contains,json=stringContains,proto3,oneof"`
}

type Device_Query_Condition_StringContainsFold

type Device_Query_Condition_StringContainsFold struct {
	// Compare the field using contains in a case insensitive manner.
	StringContainsFold string `protobuf:"bytes,5,opt,name=string_contains_fold,json=stringContainsFold,proto3,oneof"`
}

type Device_Query_Condition_StringEqual

type Device_Query_Condition_StringEqual struct {
	// Compare the field to this string using a case sensitive comparison
	StringEqual string `protobuf:"bytes,2,opt,name=string_equal,json=stringEqual,proto3,oneof"`
}

type Device_Query_Condition_StringEqualFold

type Device_Query_Condition_StringEqualFold struct {
	// Compare the field to this string using a simple unicode case folding comparison.
	// See the go package strings.EqualFold.
	StringEqualFold string `protobuf:"bytes,3,opt,name=string_equal_fold,json=stringEqualFold,proto3,oneof"`
}

type DevicesApiClient

type DevicesApiClient interface {
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	PullDevices(ctx context.Context, in *PullDevicesRequest, opts ...grpc.CallOption) (DevicesApi_PullDevicesClient, error)
	GetDevicesMetadata(ctx context.Context, in *GetDevicesMetadataRequest, opts ...grpc.CallOption) (*DevicesMetadata, error)
	PullDevicesMetadata(ctx context.Context, in *PullDevicesMetadataRequest, opts ...grpc.CallOption) (DevicesApi_PullDevicesMetadataClient, error)
}

DevicesApiClient is the client API for DevicesApi 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 NewDevicesApiClient

func NewDevicesApiClient(cc grpc.ClientConnInterface) DevicesApiClient

func WrapDevicesApi

func WrapDevicesApi(server DevicesApiServer) DevicesApiClient

WrapDevicesApi adapts a DevicesApiServer and presents it as a DevicesApiClient

type DevicesApiServer

type DevicesApiServer interface {
	ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
	PullDevices(*PullDevicesRequest, DevicesApi_PullDevicesServer) error
	GetDevicesMetadata(context.Context, *GetDevicesMetadataRequest) (*DevicesMetadata, error)
	PullDevicesMetadata(*PullDevicesMetadataRequest, DevicesApi_PullDevicesMetadataServer) error
	// contains filtered or unexported methods
}

DevicesApiServer is the server API for DevicesApi service. All implementations must embed UnimplementedDevicesApiServer for forward compatibility

type DevicesApi_PullDevicesClient

type DevicesApi_PullDevicesClient interface {
	Recv() (*PullDevicesResponse, error)
	grpc.ClientStream
}

type DevicesApi_PullDevicesMetadataClient

type DevicesApi_PullDevicesMetadataClient interface {
	Recv() (*PullDevicesMetadataResponse, error)
	grpc.ClientStream
}

type DevicesApi_PullDevicesMetadataServer

type DevicesApi_PullDevicesMetadataServer interface {
	Send(*PullDevicesMetadataResponse) error
	grpc.ServerStream
}

type DevicesApi_PullDevicesServer

type DevicesApi_PullDevicesServer interface {
	Send(*PullDevicesResponse) error
	grpc.ServerStream
}

type DevicesMetadata

type DevicesMetadata struct {
	TotalCount int32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Field counts contain how many devices exist with specific field values.
	// For example if there are 7 devices that have "metadata.membership.group" of "Lighting" then there will exist a
	// field_counts entry that looks like `{field: "metadata.membership.group", counts: {"Lighting": 7}}`.
	FieldCounts []*DevicesMetadata_StringFieldCount `protobuf:"bytes,2,rep,name=field_counts,json=fieldCounts,proto3" json:"field_counts,omitempty"`
	// contains filtered or unexported fields
}

func (*DevicesMetadata) Descriptor deprecated

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

Deprecated: Use DevicesMetadata.ProtoReflect.Descriptor instead.

func (*DevicesMetadata) GetFieldCounts

func (x *DevicesMetadata) GetFieldCounts() []*DevicesMetadata_StringFieldCount

func (*DevicesMetadata) GetTotalCount

func (x *DevicesMetadata) GetTotalCount() int32

func (*DevicesMetadata) ProtoMessage

func (*DevicesMetadata) ProtoMessage()

func (*DevicesMetadata) ProtoReflect

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

func (*DevicesMetadata) Reset

func (x *DevicesMetadata) Reset()

func (*DevicesMetadata) String

func (x *DevicesMetadata) String() string

type DevicesMetadata_Include

type DevicesMetadata_Include struct {

	// Fields contains all the device fields that metadata should be computed for.
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*DevicesMetadata_Include) Descriptor deprecated

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

Deprecated: Use DevicesMetadata_Include.ProtoReflect.Descriptor instead.

func (*DevicesMetadata_Include) GetFields

func (x *DevicesMetadata_Include) GetFields() []string

func (*DevicesMetadata_Include) ProtoMessage

func (*DevicesMetadata_Include) ProtoMessage()

func (*DevicesMetadata_Include) ProtoReflect

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

func (*DevicesMetadata_Include) Reset

func (x *DevicesMetadata_Include) Reset()

func (*DevicesMetadata_Include) String

func (x *DevicesMetadata_Include) String() string

type DevicesMetadata_StringFieldCount

type DevicesMetadata_StringFieldCount struct {
	Field  string            `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Counts map[string]uint32 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DevicesMetadata_StringFieldCount) Descriptor deprecated

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

Deprecated: Use DevicesMetadata_StringFieldCount.ProtoReflect.Descriptor instead.

func (*DevicesMetadata_StringFieldCount) GetCounts

func (x *DevicesMetadata_StringFieldCount) GetCounts() map[string]uint32

func (*DevicesMetadata_StringFieldCount) GetField

func (*DevicesMetadata_StringFieldCount) ProtoMessage

func (*DevicesMetadata_StringFieldCount) ProtoMessage()

func (*DevicesMetadata_StringFieldCount) ProtoReflect

func (*DevicesMetadata_StringFieldCount) Reset

func (*DevicesMetadata_StringFieldCount) String

type ElectricDemandRecord

type ElectricDemandRecord struct {
	ElectricDemand *traits.ElectricDemand `protobuf:"bytes,1,opt,name=electric_demand,json=electricDemand,proto3" json:"electric_demand,omitempty"`
	RecordTime     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ElectricDemandRecord) Descriptor deprecated

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

Deprecated: Use ElectricDemandRecord.ProtoReflect.Descriptor instead.

func (*ElectricDemandRecord) GetElectricDemand

func (x *ElectricDemandRecord) GetElectricDemand() *traits.ElectricDemand

func (*ElectricDemandRecord) GetRecordTime

func (x *ElectricDemandRecord) GetRecordTime() *timestamppb.Timestamp

func (*ElectricDemandRecord) ProtoMessage

func (*ElectricDemandRecord) ProtoMessage()

func (*ElectricDemandRecord) ProtoReflect

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

func (*ElectricDemandRecord) Reset

func (x *ElectricDemandRecord) Reset()

func (*ElectricDemandRecord) String

func (x *ElectricDemandRecord) String() string

type ElectricHistoryClient

type ElectricHistoryClient interface {
	ListElectricDemandHistory(ctx context.Context, in *ListElectricDemandHistoryRequest, opts ...grpc.CallOption) (*ListElectricDemandHistoryResponse, error)
}

ElectricHistoryClient is the client API for ElectricHistory 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 WrapElectricHistory

func WrapElectricHistory(server ElectricHistoryServer) ElectricHistoryClient

WrapElectricHistory adapts a ElectricHistoryServer and presents it as a ElectricHistoryClient

type ElectricHistoryRouter

type ElectricHistoryRouter struct {
	UnimplementedElectricHistoryServer

	router.Router
}

ElectricHistoryRouter is a ElectricHistoryServer that allows routing named requests to specific ElectricHistoryClient

func NewElectricHistoryRouter

func NewElectricHistoryRouter(opts ...router.Option) *ElectricHistoryRouter

func (*ElectricHistoryRouter) Add

func (r *ElectricHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type ElectricHistoryClient.

func (*ElectricHistoryRouter) AddElectricHistoryClient

func (r *ElectricHistoryRouter) AddElectricHistoryClient(name string, client ElectricHistoryClient) ElectricHistoryClient

func (*ElectricHistoryRouter) GetElectricHistoryClient

func (r *ElectricHistoryRouter) GetElectricHistoryClient(name string) (ElectricHistoryClient, error)

func (*ElectricHistoryRouter) HoldsType

func (r *ElectricHistoryRouter) HoldsType(client any) bool

func (*ElectricHistoryRouter) ListElectricDemandHistory

func (*ElectricHistoryRouter) Register

func (r *ElectricHistoryRouter) Register(server *grpc.Server)

func (*ElectricHistoryRouter) RemoveElectricHistoryClient

func (r *ElectricHistoryRouter) RemoveElectricHistoryClient(name string) ElectricHistoryClient

type ElectricHistoryServer

type ElectricHistoryServer interface {
	ListElectricDemandHistory(context.Context, *ListElectricDemandHistoryRequest) (*ListElectricDemandHistoryResponse, error)
	// contains filtered or unexported methods
}

ElectricHistoryServer is the server API for ElectricHistory service. All implementations must embed UnimplementedElectricHistoryServer for forward compatibility

type EmergencyStatus

type EmergencyStatus struct {
	ActiveModes          []EmergencyStatus_Mode    `` /* 154-byte string literal not displayed */
	PendingTests         []EmergencyStatus_Test    `` /* 157-byte string literal not displayed */
	OverdueTests         []EmergencyStatus_Test    `` /* 157-byte string literal not displayed */
	ResultsAvailable     []EmergencyStatus_Test    `` /* 169-byte string literal not displayed */
	InhibitActive        bool                      `protobuf:"varint,5,opt,name=inhibit_active,json=inhibitActive,proto3" json:"inhibit_active,omitempty"`
	IdentificationActive bool                      `protobuf:"varint,6,opt,name=identification_active,json=identificationActive,proto3" json:"identification_active,omitempty"`
	BatteryLevelPercent  float32                   `protobuf:"fixed32,7,opt,name=battery_level_percent,json=batteryLevelPercent,proto3" json:"battery_level_percent,omitempty"`
	Failures             []EmergencyStatus_Failure `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EmergencyStatus) Descriptor deprecated

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

Deprecated: Use EmergencyStatus.ProtoReflect.Descriptor instead.

func (*EmergencyStatus) GetActiveModes

func (x *EmergencyStatus) GetActiveModes() []EmergencyStatus_Mode

func (*EmergencyStatus) GetBatteryLevelPercent

func (x *EmergencyStatus) GetBatteryLevelPercent() float32

func (*EmergencyStatus) GetFailures

func (x *EmergencyStatus) GetFailures() []EmergencyStatus_Failure

func (*EmergencyStatus) GetIdentificationActive

func (x *EmergencyStatus) GetIdentificationActive() bool

func (*EmergencyStatus) GetInhibitActive

func (x *EmergencyStatus) GetInhibitActive() bool

func (*EmergencyStatus) GetOverdueTests

func (x *EmergencyStatus) GetOverdueTests() []EmergencyStatus_Test

func (*EmergencyStatus) GetPendingTests

func (x *EmergencyStatus) GetPendingTests() []EmergencyStatus_Test

func (*EmergencyStatus) GetResultsAvailable

func (x *EmergencyStatus) GetResultsAvailable() []EmergencyStatus_Test

func (*EmergencyStatus) ProtoMessage

func (*EmergencyStatus) ProtoMessage()

func (*EmergencyStatus) ProtoReflect

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

func (*EmergencyStatus) Reset

func (x *EmergencyStatus) Reset()

func (*EmergencyStatus) String

func (x *EmergencyStatus) String() string

type EmergencyStatus_Failure

type EmergencyStatus_Failure int32
const (
	EmergencyStatus_FAILURE_UNSPECIFIED      EmergencyStatus_Failure = 0
	EmergencyStatus_CIRCUIT_FAILURE          EmergencyStatus_Failure = 1
	EmergencyStatus_BATTERY_DURATION_FAILURE EmergencyStatus_Failure = 2
	EmergencyStatus_BATTERY_FAILURE          EmergencyStatus_Failure = 3
	EmergencyStatus_LAMP_FAILURE             EmergencyStatus_Failure = 4
	EmergencyStatus_FUNCTION_TEST_FAILED     EmergencyStatus_Failure = 5
	EmergencyStatus_DURATION_TEST_FAILED     EmergencyStatus_Failure = 6
)

func (EmergencyStatus_Failure) Descriptor

func (EmergencyStatus_Failure) Enum

func (EmergencyStatus_Failure) EnumDescriptor deprecated

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

Deprecated: Use EmergencyStatus_Failure.Descriptor instead.

func (EmergencyStatus_Failure) Number

func (EmergencyStatus_Failure) String

func (x EmergencyStatus_Failure) String() string

func (EmergencyStatus_Failure) Type

type EmergencyStatus_Mode

type EmergencyStatus_Mode int32
const (
	EmergencyStatus_MODE_UNSPECIFIED     EmergencyStatus_Mode = 0
	EmergencyStatus_REST                 EmergencyStatus_Mode = 1
	EmergencyStatus_NORMAL               EmergencyStatus_Mode = 3
	EmergencyStatus_EMERGENCY            EmergencyStatus_Mode = 4
	EmergencyStatus_EXTENDED_EMERGENCY   EmergencyStatus_Mode = 5
	EmergencyStatus_FUNCTION_TEST_ACTIVE EmergencyStatus_Mode = 6
	EmergencyStatus_DURATION_TEST_ACTIVE EmergencyStatus_Mode = 7
	EmergencyStatus_HARDWIRED_INHIBIT    EmergencyStatus_Mode = 8
	EmergencyStatus_HARDWIRED_SWITCH     EmergencyStatus_Mode = 9
)

func (EmergencyStatus_Mode) Descriptor

func (EmergencyStatus_Mode) Enum

func (EmergencyStatus_Mode) EnumDescriptor deprecated

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

Deprecated: Use EmergencyStatus_Mode.Descriptor instead.

func (EmergencyStatus_Mode) Number

func (EmergencyStatus_Mode) String

func (x EmergencyStatus_Mode) String() string

func (EmergencyStatus_Mode) Type

type EmergencyStatus_Test

type EmergencyStatus_Test int32
const (
	EmergencyStatus_TEST_UNKNOWN  EmergencyStatus_Test = 0
	EmergencyStatus_NO_TEST       EmergencyStatus_Test = 1
	EmergencyStatus_FUNCTION_TEST EmergencyStatus_Test = 2
	EmergencyStatus_DURATION_TEST EmergencyStatus_Test = 3
)

func (EmergencyStatus_Test) Descriptor

func (EmergencyStatus_Test) Enum

func (EmergencyStatus_Test) EnumDescriptor deprecated

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

Deprecated: Use EmergencyStatus_Test.Descriptor instead.

func (EmergencyStatus_Test) Number

func (EmergencyStatus_Test) String

func (x EmergencyStatus_Test) String() string

func (EmergencyStatus_Test) Type

type EnrollHubNodeRequest

type EnrollHubNodeRequest struct {
	Node *HubNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// If provided, only if the node presents these certificates will the enrollment proceed.
	// Can be used along with InspectHubNode to ensure the correct node is enrolled.
	// This should contain PEM encoded x509 certificates as returned by InspectHubNode.
	PublicCerts []string `protobuf:"bytes,2,rep,name=public_certs,json=publicCerts,proto3" json:"public_certs,omitempty"`
	// contains filtered or unexported fields
}

func (*EnrollHubNodeRequest) Descriptor deprecated

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

Deprecated: Use EnrollHubNodeRequest.ProtoReflect.Descriptor instead.

func (*EnrollHubNodeRequest) GetNode

func (x *EnrollHubNodeRequest) GetNode() *HubNode

func (*EnrollHubNodeRequest) GetPublicCerts

func (x *EnrollHubNodeRequest) GetPublicCerts() []string

func (*EnrollHubNodeRequest) ProtoMessage

func (*EnrollHubNodeRequest) ProtoMessage()

func (*EnrollHubNodeRequest) ProtoReflect

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

func (*EnrollHubNodeRequest) Reset

func (x *EnrollHubNodeRequest) Reset()

func (*EnrollHubNodeRequest) String

func (x *EnrollHubNodeRequest) String() string

type Enrollment

type Enrollment struct {

	// The Smart Core name that should be adopted by the target node as its root name when it accepts this enrollment.
	TargetName string `protobuf:"bytes,1,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"`
	// The address that the management node will use to connect to the target node, in the form "host:port"
	TargetAddress string `protobuf:"bytes,2,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
	// The Smart Core root name of the node which will manage the target node
	ManagerName string `protobuf:"bytes,3,opt,name=manager_name,json=managerName,proto3" json:"manager_name,omitempty"`
	// The address where the management node's Smart Core gRPC server can be found, in the form "host:port".
	//
	// The host must either be a DNS name or an IP address. When the target node connects to this address using gRPC with
	// TLS, the management node MUST use a certificate signed by one of the Certificate Authorities present in root_cas,
	// and that certificate MUST contain the host as a Subject Alternative Name. This is so the target node can verify
	// the identity of the management node.
	ManagerAddress string `protobuf:"bytes,4,opt,name=manager_address,json=managerAddress,proto3" json:"manager_address,omitempty"`
	// An X.509 certificate chain issued by the management node to the target node, in DER-encoded ASN.1 in a PEM container.
	//
	// If more than one certificate is present, they should be concatenated.
	// The certificate chain MUST be in leaf-first order; the leaf certificate is the certificate issued to the target node.
	// The leaf certificate's public key MUST be the target node's public key.
	// Each certificate in the chain MUST be signed by the next certificate in the chain.
	// The final certificate in the chain MUST be signed by the one of the Certificate Authorities whose certificate is
	// present in root_cas.
	//
	// The leaf certificate's Subject Common Name SHOULD be a human-readable name for the target node.
	// The leaf certificate MUST contain target_name as a URI Subject Alternative Name in the form "smart-core:<target_name>"
	// If the enrollment connection was opened by resolving a DNS name, then the leaf certificate MUST contain that DNS name
	// as a Subject Alternative Name.
	// If the enrollment connection was opened by directly connecting to an IP address, then the leaf certificate MUST
	// contain that IP address as a Subject Alternative Name.
	Certificate []byte `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// One or more X.509 certificates, in DER-encoded ASN.1 in a PEM container.
	//
	// If more than one certificate is present, they should be concatenated.
	// These are the Root Certificate Authorities for the enrollment. Each MUST be a CA certificate.
	// The target node SHOULD use these certificate authorities whenever it communicates with another Smart Core node,
	// to verify that the other node is also enrolled with the same manager.
	RootCas []byte `protobuf:"bytes,6,opt,name=root_cas,json=rootCas,proto3" json:"root_cas,omitempty"`
	// contains filtered or unexported fields
}

Enrollment is metadata associated with the enrollment of a target node with a management node.

The enrollment binds the target node to the management node's public key infrastructure. A given target node can have at most one Enrollment at a time, so an Enrollment does not need an identifier.

The Enrollment Connection is the gRPC connection from the management node to the target node, opened for the purpose of calling CreateEnrollment.

func (*Enrollment) Descriptor deprecated

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

Deprecated: Use Enrollment.ProtoReflect.Descriptor instead.

func (*Enrollment) GetCertificate

func (x *Enrollment) GetCertificate() []byte

func (*Enrollment) GetManagerAddress

func (x *Enrollment) GetManagerAddress() string

func (*Enrollment) GetManagerName

func (x *Enrollment) GetManagerName() string

func (*Enrollment) GetRootCas

func (x *Enrollment) GetRootCas() []byte

func (*Enrollment) GetTargetAddress

func (x *Enrollment) GetTargetAddress() string

func (*Enrollment) GetTargetName

func (x *Enrollment) GetTargetName() string

func (*Enrollment) ProtoMessage

func (*Enrollment) ProtoMessage()

func (*Enrollment) ProtoReflect

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

func (*Enrollment) Reset

func (x *Enrollment) Reset()

func (*Enrollment) String

func (x *Enrollment) String() string

type EnrollmentApiClient

type EnrollmentApiClient interface {
	GetEnrollment(ctx context.Context, in *GetEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error)
	CreateEnrollment(ctx context.Context, in *CreateEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error)
	UpdateEnrollment(ctx context.Context, in *UpdateEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error)
	DeleteEnrollment(ctx context.Context, in *DeleteEnrollmentRequest, opts ...grpc.CallOption) (*Enrollment, error)
	// TestEnrollment checks whether this node can communicate with the manager.
	// If the node is not enrolled, returns a NotFound grpc error.
	// A failed tests returns a successful grpc response with an error message.
	TestEnrollment(ctx context.Context, in *TestEnrollmentRequest, opts ...grpc.CallOption) (*TestEnrollmentResponse, error)
}

EnrollmentApiClient is the client API for EnrollmentApi 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 EnrollmentApiServer

type EnrollmentApiServer interface {
	GetEnrollment(context.Context, *GetEnrollmentRequest) (*Enrollment, error)
	CreateEnrollment(context.Context, *CreateEnrollmentRequest) (*Enrollment, error)
	UpdateEnrollment(context.Context, *UpdateEnrollmentRequest) (*Enrollment, error)
	DeleteEnrollment(context.Context, *DeleteEnrollmentRequest) (*Enrollment, error)
	// TestEnrollment checks whether this node can communicate with the manager.
	// If the node is not enrolled, returns a NotFound grpc error.
	// A failed tests returns a successful grpc response with an error message.
	TestEnrollment(context.Context, *TestEnrollmentRequest) (*TestEnrollmentResponse, error)
	// contains filtered or unexported methods
}

EnrollmentApiServer is the server API for EnrollmentApi service. All implementations must embed UnimplementedEnrollmentApiServer for forward compatibility

type ForgetHubNodeRequest

type ForgetHubNodeRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// When true, no error will be returned if the hub is not already enrolled.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*ForgetHubNodeRequest) Descriptor deprecated

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

Deprecated: Use ForgetHubNodeRequest.ProtoReflect.Descriptor instead.

func (*ForgetHubNodeRequest) GetAddress

func (x *ForgetHubNodeRequest) GetAddress() string

func (*ForgetHubNodeRequest) GetAllowMissing

func (x *ForgetHubNodeRequest) GetAllowMissing() bool

func (*ForgetHubNodeRequest) ProtoMessage

func (*ForgetHubNodeRequest) ProtoMessage()

func (*ForgetHubNodeRequest) ProtoReflect

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

func (*ForgetHubNodeRequest) Reset

func (x *ForgetHubNodeRequest) Reset()

func (*ForgetHubNodeRequest) String

func (x *ForgetHubNodeRequest) String() string

type ForgetHubNodeResponse

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

func (*ForgetHubNodeResponse) Descriptor deprecated

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

Deprecated: Use ForgetHubNodeResponse.ProtoReflect.Descriptor instead.

func (*ForgetHubNodeResponse) ProtoMessage

func (*ForgetHubNodeResponse) ProtoMessage()

func (*ForgetHubNodeResponse) ProtoReflect

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

func (*ForgetHubNodeResponse) Reset

func (x *ForgetHubNodeResponse) Reset()

func (*ForgetHubNodeResponse) String

func (x *ForgetHubNodeResponse) String() string

type GetAlertMetadataRequest

type GetAlertMetadataRequest struct {

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

func (*GetAlertMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetAlertMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetAlertMetadataRequest) GetName

func (x *GetAlertMetadataRequest) GetName() string

func (*GetAlertMetadataRequest) GetReadMask

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

func (*GetAlertMetadataRequest) ProtoMessage

func (*GetAlertMetadataRequest) ProtoMessage()

func (*GetAlertMetadataRequest) ProtoReflect

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

func (*GetAlertMetadataRequest) Reset

func (x *GetAlertMetadataRequest) Reset()

func (*GetAlertMetadataRequest) String

func (x *GetAlertMetadataRequest) String() string

type GetButtonStateRequest

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

func (*GetButtonStateRequest) Descriptor deprecated

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

Deprecated: Use GetButtonStateRequest.ProtoReflect.Descriptor instead.

func (*GetButtonStateRequest) GetName

func (x *GetButtonStateRequest) GetName() string

func (*GetButtonStateRequest) GetReadMask

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

func (*GetButtonStateRequest) ProtoMessage

func (*GetButtonStateRequest) ProtoMessage()

func (*GetButtonStateRequest) ProtoReflect

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

func (*GetButtonStateRequest) Reset

func (x *GetButtonStateRequest) Reset()

func (*GetButtonStateRequest) String

func (x *GetButtonStateRequest) String() string

type GetColorRequest

type GetColorRequest 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 color

func (*GetColorRequest) Descriptor deprecated

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

Deprecated: Use GetColorRequest.ProtoReflect.Descriptor instead.

func (*GetColorRequest) GetName

func (x *GetColorRequest) GetName() string

func (*GetColorRequest) GetReadMask

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

func (*GetColorRequest) ProtoMessage

func (*GetColorRequest) ProtoMessage()

func (*GetColorRequest) ProtoReflect

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

func (*GetColorRequest) Reset

func (x *GetColorRequest) Reset()

func (*GetColorRequest) String

func (x *GetColorRequest) String() string

type GetControlGearStatusRequest

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

func (*GetControlGearStatusRequest) Descriptor deprecated

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

Deprecated: Use GetControlGearStatusRequest.ProtoReflect.Descriptor instead.

func (*GetControlGearStatusRequest) GetName

func (x *GetControlGearStatusRequest) GetName() string

func (*GetControlGearStatusRequest) ProtoMessage

func (*GetControlGearStatusRequest) ProtoMessage()

func (*GetControlGearStatusRequest) ProtoReflect

func (*GetControlGearStatusRequest) Reset

func (x *GetControlGearStatusRequest) Reset()

func (*GetControlGearStatusRequest) String

func (x *GetControlGearStatusRequest) String() string

type GetCurrentStatusRequest

type GetCurrentStatusRequest struct {

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

func (*GetCurrentStatusRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentStatusRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentStatusRequest) GetName

func (x *GetCurrentStatusRequest) GetName() string

func (*GetCurrentStatusRequest) GetReadMask

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

func (*GetCurrentStatusRequest) ProtoMessage

func (*GetCurrentStatusRequest) ProtoMessage()

func (*GetCurrentStatusRequest) ProtoReflect

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

func (*GetCurrentStatusRequest) Reset

func (x *GetCurrentStatusRequest) Reset()

func (*GetCurrentStatusRequest) String

func (x *GetCurrentStatusRequest) String() string

type GetDevicesMetadataRequest

type GetDevicesMetadataRequest struct {

	// Fields to fetch relative to the DeviceMetadata type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// Which fields to include in the metadata calculations.
	// If absent DeviceMetadata.field_counts will be empty.
	Includes *DevicesMetadata_Include `protobuf:"bytes,3,opt,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDevicesMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetDevicesMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetDevicesMetadataRequest) GetIncludes

func (*GetDevicesMetadataRequest) GetReadMask

func (*GetDevicesMetadataRequest) ProtoMessage

func (*GetDevicesMetadataRequest) ProtoMessage()

func (*GetDevicesMetadataRequest) ProtoReflect

func (*GetDevicesMetadataRequest) Reset

func (x *GetDevicesMetadataRequest) Reset()

func (*GetDevicesMetadataRequest) String

func (x *GetDevicesMetadataRequest) String() string

type GetEmergencyStatusRequest

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

func (*GetEmergencyStatusRequest) Descriptor deprecated

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

Deprecated: Use GetEmergencyStatusRequest.ProtoReflect.Descriptor instead.

func (*GetEmergencyStatusRequest) GetName

func (x *GetEmergencyStatusRequest) GetName() string

func (*GetEmergencyStatusRequest) ProtoMessage

func (*GetEmergencyStatusRequest) ProtoMessage()

func (*GetEmergencyStatusRequest) ProtoReflect

func (*GetEmergencyStatusRequest) Reset

func (x *GetEmergencyStatusRequest) Reset()

func (*GetEmergencyStatusRequest) String

func (x *GetEmergencyStatusRequest) String() string

type GetEnrollmentRequest

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

func (*GetEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use GetEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*GetEnrollmentRequest) ProtoMessage

func (*GetEnrollmentRequest) ProtoMessage()

func (*GetEnrollmentRequest) ProtoReflect

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

func (*GetEnrollmentRequest) Reset

func (x *GetEnrollmentRequest) Reset()

func (*GetEnrollmentRequest) String

func (x *GetEnrollmentRequest) String() string

type GetExportMessageRequest

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

func (*GetExportMessageRequest) Descriptor deprecated

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

Deprecated: Use GetExportMessageRequest.ProtoReflect.Descriptor instead.

func (*GetExportMessageRequest) GetName

func (x *GetExportMessageRequest) GetName() string

func (*GetExportMessageRequest) ProtoMessage

func (*GetExportMessageRequest) ProtoMessage()

func (*GetExportMessageRequest) ProtoReflect

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

func (*GetExportMessageRequest) Reset

func (x *GetExportMessageRequest) Reset()

func (*GetExportMessageRequest) String

func (x *GetExportMessageRequest) String() string

type GetGroupMembershipRequest

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

func (*GetGroupMembershipRequest) Descriptor deprecated

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

Deprecated: Use GetGroupMembershipRequest.ProtoReflect.Descriptor instead.

func (*GetGroupMembershipRequest) GetName

func (x *GetGroupMembershipRequest) GetName() string

func (*GetGroupMembershipRequest) ProtoMessage

func (*GetGroupMembershipRequest) ProtoMessage()

func (*GetGroupMembershipRequest) ProtoReflect

func (*GetGroupMembershipRequest) Reset

func (x *GetGroupMembershipRequest) Reset()

func (*GetGroupMembershipRequest) String

func (x *GetGroupMembershipRequest) String() string

type GetGroupMembershipResponse

type GetGroupMembershipResponse struct {
	Groups []int32 `protobuf:"varint,1,rep,packed,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupMembershipResponse) Descriptor deprecated

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

Deprecated: Use GetGroupMembershipResponse.ProtoReflect.Descriptor instead.

func (*GetGroupMembershipResponse) GetGroups

func (x *GetGroupMembershipResponse) GetGroups() []int32

func (*GetGroupMembershipResponse) ProtoMessage

func (*GetGroupMembershipResponse) ProtoMessage()

func (*GetGroupMembershipResponse) ProtoReflect

func (*GetGroupMembershipResponse) Reset

func (x *GetGroupMembershipResponse) Reset()

func (*GetGroupMembershipResponse) String

func (x *GetGroupMembershipResponse) String() string

type GetHubNodeRequest

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

func (*GetHubNodeRequest) Descriptor deprecated

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

Deprecated: Use GetHubNodeRequest.ProtoReflect.Descriptor instead.

func (*GetHubNodeRequest) GetAddress

func (x *GetHubNodeRequest) GetAddress() string

func (*GetHubNodeRequest) ProtoMessage

func (*GetHubNodeRequest) ProtoMessage()

func (*GetHubNodeRequest) ProtoReflect

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

func (*GetHubNodeRequest) Reset

func (x *GetHubNodeRequest) Reset()

func (*GetHubNodeRequest) String

func (x *GetHubNodeRequest) String() string

type GetLastAccessAttemptRequest

type GetLastAccessAttemptRequest struct {

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

func (*GetLastAccessAttemptRequest) Descriptor deprecated

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

Deprecated: Use GetLastAccessAttemptRequest.ProtoReflect.Descriptor instead.

func (*GetLastAccessAttemptRequest) GetName

func (x *GetLastAccessAttemptRequest) GetName() string

func (*GetLastAccessAttemptRequest) GetReadMask

func (*GetLastAccessAttemptRequest) ProtoMessage

func (*GetLastAccessAttemptRequest) ProtoMessage()

func (*GetLastAccessAttemptRequest) ProtoReflect

func (*GetLastAccessAttemptRequest) Reset

func (x *GetLastAccessAttemptRequest) Reset()

func (*GetLastAccessAttemptRequest) String

func (x *GetLastAccessAttemptRequest) String() string

type GetLightHealthRequest

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

func (*GetLightHealthRequest) Descriptor deprecated

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

Deprecated: Use GetLightHealthRequest.ProtoReflect.Descriptor instead.

func (*GetLightHealthRequest) GetName

func (x *GetLightHealthRequest) GetName() string

func (*GetLightHealthRequest) ProtoMessage

func (*GetLightHealthRequest) ProtoMessage()

func (*GetLightHealthRequest) ProtoReflect

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

func (*GetLightHealthRequest) Reset

func (x *GetLightHealthRequest) Reset()

func (*GetLightHealthRequest) String

func (x *GetLightHealthRequest) String() string

type GetMeterReadingRequest

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

func (*GetMeterReadingRequest) Descriptor deprecated

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

Deprecated: Use GetMeterReadingRequest.ProtoReflect.Descriptor instead.

func (*GetMeterReadingRequest) GetName

func (x *GetMeterReadingRequest) GetName() string

func (*GetMeterReadingRequest) GetReadMask

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

func (*GetMeterReadingRequest) ProtoMessage

func (*GetMeterReadingRequest) ProtoMessage()

func (*GetMeterReadingRequest) ProtoReflect

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

func (*GetMeterReadingRequest) Reset

func (x *GetMeterReadingRequest) Reset()

func (*GetMeterReadingRequest) String

func (x *GetMeterReadingRequest) String() string

type GetReportCSVRequest

type GetReportCSVRequest struct {

	// Add a header to the generated CSV as the first row.
	IncludeHeader bool `protobuf:"varint,1,opt,name=include_header,json=includeHeader,proto3" json:"include_header,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReportCSVRequest) Descriptor deprecated

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

Deprecated: Use GetReportCSVRequest.ProtoReflect.Descriptor instead.

func (*GetReportCSVRequest) GetIncludeHeader

func (x *GetReportCSVRequest) GetIncludeHeader() bool

func (*GetReportCSVRequest) ProtoMessage

func (*GetReportCSVRequest) ProtoMessage()

func (*GetReportCSVRequest) ProtoReflect

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

func (*GetReportCSVRequest) Reset

func (x *GetReportCSVRequest) Reset()

func (*GetReportCSVRequest) String

func (x *GetReportCSVRequest) String() string

type GetSecretByHashRequest

type GetSecretByHashRequest struct {
	SecretHash []byte `protobuf:"bytes,1,opt,name=secret_hash,json=secretHash,proto3" json:"secret_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretByHashRequest) Descriptor deprecated

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

Deprecated: Use GetSecretByHashRequest.ProtoReflect.Descriptor instead.

func (*GetSecretByHashRequest) GetSecretHash

func (x *GetSecretByHashRequest) GetSecretHash() []byte

func (*GetSecretByHashRequest) ProtoMessage

func (*GetSecretByHashRequest) ProtoMessage()

func (*GetSecretByHashRequest) ProtoReflect

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

func (*GetSecretByHashRequest) Reset

func (x *GetSecretByHashRequest) Reset()

func (*GetSecretByHashRequest) String

func (x *GetSecretByHashRequest) String() string

type GetSecretRequest

type GetSecretRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	IncludeHash bool   `protobuf:"varint,2,opt,name=include_hash,json=includeHash,proto3" json:"include_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSecretRequest) Descriptor deprecated

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

Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetId

func (x *GetSecretRequest) GetId() string

func (*GetSecretRequest) GetIncludeHash

func (x *GetSecretRequest) GetIncludeHash() bool

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

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

func (*GetSecretRequest) Reset

func (x *GetSecretRequest) Reset()

func (*GetSecretRequest) String

func (x *GetSecretRequest) String() string

type GetServiceMetadataRequest

type GetServiceMetadataRequest struct {

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

func (*GetServiceMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetServiceMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetServiceMetadataRequest) GetName

func (x *GetServiceMetadataRequest) GetName() string

func (*GetServiceMetadataRequest) GetReadMask

func (*GetServiceMetadataRequest) ProtoMessage

func (*GetServiceMetadataRequest) ProtoMessage()

func (*GetServiceMetadataRequest) ProtoReflect

func (*GetServiceMetadataRequest) Reset

func (x *GetServiceMetadataRequest) Reset()

func (*GetServiceMetadataRequest) String

func (x *GetServiceMetadataRequest) String() string

type GetServiceRequest

type GetServiceRequest struct {

	// The name of the device managing the service.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service to get.
	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 (*GetServiceRequest) Descriptor deprecated

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

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetId

func (x *GetServiceRequest) GetId() string

func (*GetServiceRequest) GetName

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) GetReadMask

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

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

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

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

type GetTemperatureRequest

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

func (*GetTemperatureRequest) Descriptor deprecated

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

Deprecated: Use GetTemperatureRequest.ProtoReflect.Descriptor instead.

func (*GetTemperatureRequest) GetName

func (x *GetTemperatureRequest) GetName() string

func (*GetTemperatureRequest) GetReadMask

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

func (*GetTemperatureRequest) ProtoMessage

func (*GetTemperatureRequest) ProtoMessage()

func (*GetTemperatureRequest) ProtoReflect

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

func (*GetTemperatureRequest) Reset

func (x *GetTemperatureRequest) Reset()

func (*GetTemperatureRequest) String

func (x *GetTemperatureRequest) String() string

type GetTenantRequest

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

func (*GetTenantRequest) Descriptor deprecated

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

Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.

func (*GetTenantRequest) GetId

func (x *GetTenantRequest) GetId() string

func (*GetTenantRequest) ProtoMessage

func (*GetTenantRequest) ProtoMessage()

func (*GetTenantRequest) ProtoReflect

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

func (*GetTenantRequest) Reset

func (x *GetTenantRequest) Reset()

func (*GetTenantRequest) String

func (x *GetTenantRequest) String() string

type GetTestResultRequest

type GetTestResultRequest struct {
	Name string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Test EmergencyStatus_Test `protobuf:"varint,2,opt,name=test,proto3,enum=smartcore.bos.driver.dali.EmergencyStatus_Test" json:"test,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestResultRequest) Descriptor deprecated

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

Deprecated: Use GetTestResultRequest.ProtoReflect.Descriptor instead.

func (*GetTestResultRequest) GetName

func (x *GetTestResultRequest) GetName() string

func (*GetTestResultRequest) GetTest

func (*GetTestResultRequest) ProtoMessage

func (*GetTestResultRequest) ProtoMessage()

func (*GetTestResultRequest) ProtoReflect

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

func (*GetTestResultRequest) Reset

func (x *GetTestResultRequest) Reset()

func (*GetTestResultRequest) String

func (x *GetTestResultRequest) String() string

type HistoryAdminApiClient

type HistoryAdminApiClient interface {
	CreateHistoryRecord(ctx context.Context, in *CreateHistoryRecordRequest, opts ...grpc.CallOption) (*HistoryRecord, error)
	ListHistoryRecords(ctx context.Context, in *ListHistoryRecordsRequest, opts ...grpc.CallOption) (*ListHistoryRecordsResponse, error)
}

HistoryAdminApiClient is the client API for HistoryAdminApi 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 WrapHistoryAdminApi

func WrapHistoryAdminApi(server HistoryAdminApiServer) HistoryAdminApiClient

WrapHistoryAdminApi adapts a HistoryAdminApiServer and presents it as a HistoryAdminApiClient

type HistoryAdminApiRouter

type HistoryAdminApiRouter struct {
	UnimplementedHistoryAdminApiServer

	router.Router
}

HistoryAdminApiRouter is a HistoryAdminApiServer that allows routing named requests to specific HistoryAdminApiClient

func NewHistoryAdminApiRouter

func NewHistoryAdminApiRouter(opts ...router.Option) *HistoryAdminApiRouter

func (*HistoryAdminApiRouter) Add

func (r *HistoryAdminApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type HistoryAdminApiClient.

func (*HistoryAdminApiRouter) AddHistoryAdminApiClient

func (r *HistoryAdminApiRouter) AddHistoryAdminApiClient(name string, client HistoryAdminApiClient) HistoryAdminApiClient

func (*HistoryAdminApiRouter) CreateHistoryRecord

func (r *HistoryAdminApiRouter) CreateHistoryRecord(ctx context.Context, request *CreateHistoryRecordRequest) (*HistoryRecord, error)

func (*HistoryAdminApiRouter) GetHistoryAdminApiClient

func (r *HistoryAdminApiRouter) GetHistoryAdminApiClient(name string) (HistoryAdminApiClient, error)

func (*HistoryAdminApiRouter) HoldsType

func (r *HistoryAdminApiRouter) HoldsType(client any) bool

func (*HistoryAdminApiRouter) ListHistoryRecords

func (*HistoryAdminApiRouter) Register

func (r *HistoryAdminApiRouter) Register(server *grpc.Server)

func (*HistoryAdminApiRouter) RemoveHistoryAdminApiClient

func (r *HistoryAdminApiRouter) RemoveHistoryAdminApiClient(name string) HistoryAdminApiClient

type HistoryAdminApiServer

type HistoryAdminApiServer interface {
	CreateHistoryRecord(context.Context, *CreateHistoryRecordRequest) (*HistoryRecord, error)
	ListHistoryRecords(context.Context, *ListHistoryRecordsRequest) (*ListHistoryRecordsResponse, error)
	// contains filtered or unexported methods
}

HistoryAdminApiServer is the server API for HistoryAdminApi service. All implementations must embed UnimplementedHistoryAdminApiServer for forward compatibility

type HistoryRecord

type HistoryRecord struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Source     string                 `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Payload    []byte                 `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

HistoryRecord is a generic record of a device's state at a point in time. Prefer using trait specific record types where possible.

func (*HistoryRecord) Descriptor deprecated

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

Deprecated: Use HistoryRecord.ProtoReflect.Descriptor instead.

func (*HistoryRecord) GetCreateTime

func (x *HistoryRecord) GetCreateTime() *timestamppb.Timestamp

func (*HistoryRecord) GetId

func (x *HistoryRecord) GetId() string

func (*HistoryRecord) GetPayload

func (x *HistoryRecord) GetPayload() []byte

func (*HistoryRecord) GetSource

func (x *HistoryRecord) GetSource() string

func (*HistoryRecord) ProtoMessage

func (*HistoryRecord) ProtoMessage()

func (*HistoryRecord) ProtoReflect

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

func (*HistoryRecord) Reset

func (x *HistoryRecord) Reset()

func (*HistoryRecord) String

func (x *HistoryRecord) String() string

type HistoryRecord_Query

type HistoryRecord_Query struct {

	// Types that are assignable to Source:
	//
	//	*HistoryRecord_Query_SourceEqual
	Source isHistoryRecord_Query_Source `protobuf_oneof:"source"`
	// The bounding records to select: from_record <= record < to_record.
	// ID or create_time (in that order) will be used for result selection.
	FromRecord *HistoryRecord `protobuf:"bytes,10,opt,name=from_record,json=fromRecord,proto3" json:"from_record,omitempty"`
	ToRecord   *HistoryRecord `protobuf:"bytes,11,opt,name=to_record,json=toRecord,proto3" json:"to_record,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoryRecord_Query) Descriptor deprecated

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

Deprecated: Use HistoryRecord_Query.ProtoReflect.Descriptor instead.

func (*HistoryRecord_Query) GetFromRecord

func (x *HistoryRecord_Query) GetFromRecord() *HistoryRecord

func (*HistoryRecord_Query) GetSource

func (m *HistoryRecord_Query) GetSource() isHistoryRecord_Query_Source

func (*HistoryRecord_Query) GetSourceEqual

func (x *HistoryRecord_Query) GetSourceEqual() string

func (*HistoryRecord_Query) GetToRecord

func (x *HistoryRecord_Query) GetToRecord() *HistoryRecord

func (*HistoryRecord_Query) ProtoMessage

func (*HistoryRecord_Query) ProtoMessage()

func (*HistoryRecord_Query) ProtoReflect

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

func (*HistoryRecord_Query) Reset

func (x *HistoryRecord_Query) Reset()

func (*HistoryRecord_Query) String

func (x *HistoryRecord_Query) String() string

type HistoryRecord_Query_SourceEqual

type HistoryRecord_Query_SourceEqual struct {
	SourceEqual string `protobuf:"bytes,1,opt,name=source_equal,json=sourceEqual,proto3,oneof"`
}

type HubApiClient

type HubApiClient interface {
	GetHubNode(ctx context.Context, in *GetHubNodeRequest, opts ...grpc.CallOption) (*HubNode, error)
	ListHubNodes(ctx context.Context, in *ListHubNodesRequest, opts ...grpc.CallOption) (*ListHubNodesResponse, error)
	PullHubNodes(ctx context.Context, in *PullHubNodesRequest, opts ...grpc.CallOption) (HubApi_PullHubNodesClient, error)
	// Query the hub node for information that can be used to knowledgeably enroll that node with this hub.
	// This request will return both the node metadata and public certificates presented by the node.
	InspectHubNode(ctx context.Context, in *InspectHubNodeRequest, opts ...grpc.CallOption) (*HubNodeInspection, error)
	// Enroll the node with this hub.
	// Enrollment involves the hub signing the nodes public key and issuing that cert to the node.
	// A node can only be enrolled with one hub, the first to enroll the node wins.
	// Use RenewHubNode to refresh the certificate issued to the node.
	EnrollHubNode(ctx context.Context, in *EnrollHubNodeRequest, opts ...grpc.CallOption) (*HubNode, error)
	// Re-sign and re-issue a certificate to the node.
	// Fails if the node isn't already enrolled.
	RenewHubNode(ctx context.Context, in *RenewHubNodeRequest, opts ...grpc.CallOption) (*HubNode, error)
	// Test that communications with an enrolled node is working.
	// This checks communication and the TLS stack, only returning success if the node presents a public certificate signed
	// by this hub.
	TestHubNode(ctx context.Context, in *TestHubNodeRequest, opts ...grpc.CallOption) (*TestHubNodeResponse, error)
	// Forget a node that was previously enrolled with this hub.
	ForgetHubNode(ctx context.Context, in *ForgetHubNodeRequest, opts ...grpc.CallOption) (*ForgetHubNodeResponse, error)
}

HubApiClient is the client API for HubApi 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 NewHubApiClient

func NewHubApiClient(cc grpc.ClientConnInterface) HubApiClient

func WrapHubApi

func WrapHubApi(server HubApiServer) HubApiClient

WrapHubApi adapts a HubApiServer and presents it as a HubApiClient

type HubApiServer

type HubApiServer interface {
	GetHubNode(context.Context, *GetHubNodeRequest) (*HubNode, error)
	ListHubNodes(context.Context, *ListHubNodesRequest) (*ListHubNodesResponse, error)
	PullHubNodes(*PullHubNodesRequest, HubApi_PullHubNodesServer) error
	// Query the hub node for information that can be used to knowledgeably enroll that node with this hub.
	// This request will return both the node metadata and public certificates presented by the node.
	InspectHubNode(context.Context, *InspectHubNodeRequest) (*HubNodeInspection, error)
	// Enroll the node with this hub.
	// Enrollment involves the hub signing the nodes public key and issuing that cert to the node.
	// A node can only be enrolled with one hub, the first to enroll the node wins.
	// Use RenewHubNode to refresh the certificate issued to the node.
	EnrollHubNode(context.Context, *EnrollHubNodeRequest) (*HubNode, error)
	// Re-sign and re-issue a certificate to the node.
	// Fails if the node isn't already enrolled.
	RenewHubNode(context.Context, *RenewHubNodeRequest) (*HubNode, error)
	// Test that communications with an enrolled node is working.
	// This checks communication and the TLS stack, only returning success if the node presents a public certificate signed
	// by this hub.
	TestHubNode(context.Context, *TestHubNodeRequest) (*TestHubNodeResponse, error)
	// Forget a node that was previously enrolled with this hub.
	ForgetHubNode(context.Context, *ForgetHubNodeRequest) (*ForgetHubNodeResponse, error)
	// contains filtered or unexported methods
}

HubApiServer is the server API for HubApi service. All implementations must embed UnimplementedHubApiServer for forward compatibility

type HubApi_PullHubNodesClient

type HubApi_PullHubNodesClient interface {
	Recv() (*PullHubNodesResponse, error)
	grpc.ClientStream
}

type HubApi_PullHubNodesServer

type HubApi_PullHubNodesServer interface {
	Send(*PullHubNodesResponse) error
	grpc.ServerStream
}

type HubNode

type HubNode struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*HubNode) Descriptor deprecated

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

Deprecated: Use HubNode.ProtoReflect.Descriptor instead.

func (*HubNode) GetAddress

func (x *HubNode) GetAddress() string

func (*HubNode) GetDescription

func (x *HubNode) GetDescription() string

func (*HubNode) GetName

func (x *HubNode) GetName() string

func (*HubNode) ProtoMessage

func (*HubNode) ProtoMessage()

func (*HubNode) ProtoReflect

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

func (*HubNode) Reset

func (x *HubNode) Reset()

func (*HubNode) String

func (x *HubNode) String() string

type HubNodeInspection

type HubNodeInspection struct {

	// Metadata that the node advertises at its root.
	Metadata *traits.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The public certificates the node presents during HTTPS handshakes.
	// This will contain PEM encoded x509 certificates.
	PublicCerts []string `protobuf:"bytes,2,rep,name=public_certs,json=publicCerts,proto3" json:"public_certs,omitempty"`
	// contains filtered or unexported fields
}

func (*HubNodeInspection) Descriptor deprecated

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

Deprecated: Use HubNodeInspection.ProtoReflect.Descriptor instead.

func (*HubNodeInspection) GetMetadata

func (x *HubNodeInspection) GetMetadata() *traits.Metadata

func (*HubNodeInspection) GetPublicCerts

func (x *HubNodeInspection) GetPublicCerts() []string

func (*HubNodeInspection) ProtoMessage

func (*HubNodeInspection) ProtoMessage()

func (*HubNodeInspection) ProtoReflect

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

func (*HubNodeInspection) Reset

func (x *HubNodeInspection) Reset()

func (*HubNodeInspection) String

func (x *HubNodeInspection) String() string

type IdentifyRequest

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

func (*IdentifyRequest) Descriptor deprecated

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

Deprecated: Use IdentifyRequest.ProtoReflect.Descriptor instead.

func (*IdentifyRequest) GetName

func (x *IdentifyRequest) GetName() string

func (*IdentifyRequest) ProtoMessage

func (*IdentifyRequest) ProtoMessage()

func (*IdentifyRequest) ProtoReflect

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

func (*IdentifyRequest) Reset

func (x *IdentifyRequest) Reset()

func (*IdentifyRequest) String

func (x *IdentifyRequest) String() string

type IdentifyResponse

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

func (*IdentifyResponse) Descriptor deprecated

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

Deprecated: Use IdentifyResponse.ProtoReflect.Descriptor instead.

func (*IdentifyResponse) ProtoMessage

func (*IdentifyResponse) ProtoMessage()

func (*IdentifyResponse) ProtoReflect

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

func (*IdentifyResponse) Reset

func (x *IdentifyResponse) Reset()

func (*IdentifyResponse) String

func (x *IdentifyResponse) String() string

type InspectHubNodeRequest

type InspectHubNodeRequest struct {
	Node *HubNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectHubNodeRequest) Descriptor deprecated

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

Deprecated: Use InspectHubNodeRequest.ProtoReflect.Descriptor instead.

func (*InspectHubNodeRequest) GetNode

func (x *InspectHubNodeRequest) GetNode() *HubNode

func (*InspectHubNodeRequest) ProtoMessage

func (*InspectHubNodeRequest) ProtoMessage()

func (*InspectHubNodeRequest) ProtoReflect

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

func (*InspectHubNodeRequest) Reset

func (x *InspectHubNodeRequest) Reset()

func (*InspectHubNodeRequest) String

func (x *InspectHubNodeRequest) String() string

type LightFault

type LightFault int32
const (
	LightFault_FAULT_UNSPECIFIED     LightFault = 0
	LightFault_DURATION_TEST_FAILED  LightFault = 1 // the most recent duration test failed
	LightFault_FUNCTION_TEST_FAILED  LightFault = 2 // the most recent function test failed
	LightFault_BATTERY_FAULT         LightFault = 3 // there is a problem with the emergency battery
	LightFault_LAMP_FAULT            LightFault = 4 // there is a problem with the emergency lamp
	LightFault_COMMUNICATION_FAILURE LightFault = 5 // the system is unable to communicate with the emergency light
	LightFault_OTHER_FAULT           LightFault = 6
)

func (LightFault) Descriptor

func (LightFault) Descriptor() protoreflect.EnumDescriptor

func (LightFault) Enum

func (x LightFault) Enum() *LightFault

func (LightFault) EnumDescriptor deprecated

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

Deprecated: Use LightFault.Descriptor instead.

func (LightFault) Number

func (x LightFault) Number() protoreflect.EnumNumber

func (LightFault) String

func (x LightFault) String() string

func (LightFault) Type

type LightHealth

type LightHealth struct {

	// The Smart Core device name of the emergency light.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The last time this data was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	Faults     []LightFault           `protobuf:"varint,3,rep,packed,name=faults,proto3,enum=smartcore.bos.LightFault" json:"faults,omitempty"`
	// contains filtered or unexported fields
}

func (*LightHealth) Descriptor deprecated

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

Deprecated: Use LightHealth.ProtoReflect.Descriptor instead.

func (*LightHealth) GetFaults

func (x *LightHealth) GetFaults() []LightFault

func (*LightHealth) GetName

func (x *LightHealth) GetName() string

func (*LightHealth) GetUpdateTime

func (x *LightHealth) GetUpdateTime() *timestamppb.Timestamp

func (*LightHealth) ProtoMessage

func (*LightHealth) ProtoMessage()

func (*LightHealth) ProtoReflect

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

func (*LightHealth) Reset

func (x *LightHealth) Reset()

func (*LightHealth) String

func (x *LightHealth) String() string

type LightingEvent

type LightingEvent struct {
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Smart Core device name of the light this entry applies to
	Id        string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`     // An opaque, unique identifier for this log entry
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Types that are assignable to Event:
	//
	//	*LightingEvent_DurationTestPass_
	//	*LightingEvent_FunctionTestPass_
	//	*LightingEvent_StatusReport_
	Event isLightingEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*LightingEvent) Descriptor deprecated

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

Deprecated: Use LightingEvent.ProtoReflect.Descriptor instead.

func (*LightingEvent) GetDurationTestPass

func (x *LightingEvent) GetDurationTestPass() *LightingEvent_DurationTestPass

func (*LightingEvent) GetEvent

func (m *LightingEvent) GetEvent() isLightingEvent_Event

func (*LightingEvent) GetFunctionTestPass

func (x *LightingEvent) GetFunctionTestPass() *LightingEvent_FunctionTestPass

func (*LightingEvent) GetId

func (x *LightingEvent) GetId() string

func (*LightingEvent) GetName

func (x *LightingEvent) GetName() string

func (*LightingEvent) GetStatusReport

func (x *LightingEvent) GetStatusReport() *LightingEvent_StatusReport

func (*LightingEvent) GetTimestamp

func (x *LightingEvent) GetTimestamp() *timestamppb.Timestamp

func (*LightingEvent) ProtoMessage

func (*LightingEvent) ProtoMessage()

func (*LightingEvent) ProtoReflect

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

func (*LightingEvent) Reset

func (x *LightingEvent) Reset()

func (*LightingEvent) String

func (x *LightingEvent) String() string

type LightingEvent_DurationTestPass

type LightingEvent_DurationTestPass struct {
	AchievedDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=achieved_duration,json=achievedDuration,proto3" json:"achieved_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*LightingEvent_DurationTestPass) Descriptor deprecated

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

Deprecated: Use LightingEvent_DurationTestPass.ProtoReflect.Descriptor instead.

func (*LightingEvent_DurationTestPass) GetAchievedDuration

func (x *LightingEvent_DurationTestPass) GetAchievedDuration() *durationpb.Duration

func (*LightingEvent_DurationTestPass) ProtoMessage

func (*LightingEvent_DurationTestPass) ProtoMessage()

func (*LightingEvent_DurationTestPass) ProtoReflect

func (*LightingEvent_DurationTestPass) Reset

func (x *LightingEvent_DurationTestPass) Reset()

func (*LightingEvent_DurationTestPass) String

type LightingEvent_DurationTestPass_

type LightingEvent_DurationTestPass_ struct {
	DurationTestPass *LightingEvent_DurationTestPass `protobuf:"bytes,4,opt,name=duration_test_pass,json=durationTestPass,proto3,oneof"`
}

type LightingEvent_FunctionTestPass

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

func (*LightingEvent_FunctionTestPass) Descriptor deprecated

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

Deprecated: Use LightingEvent_FunctionTestPass.ProtoReflect.Descriptor instead.

func (*LightingEvent_FunctionTestPass) ProtoMessage

func (*LightingEvent_FunctionTestPass) ProtoMessage()

func (*LightingEvent_FunctionTestPass) ProtoReflect

func (*LightingEvent_FunctionTestPass) Reset

func (x *LightingEvent_FunctionTestPass) Reset()

func (*LightingEvent_FunctionTestPass) String

type LightingEvent_FunctionTestPass_

type LightingEvent_FunctionTestPass_ struct {
	FunctionTestPass *LightingEvent_FunctionTestPass `protobuf:"bytes,5,opt,name=function_test_pass,json=functionTestPass,proto3,oneof"`
}

type LightingEvent_StatusReport

type LightingEvent_StatusReport struct {
	Faults []LightFault `protobuf:"varint,1,rep,packed,name=faults,proto3,enum=smartcore.bos.LightFault" json:"faults,omitempty"`
	// contains filtered or unexported fields
}

func (*LightingEvent_StatusReport) Descriptor deprecated

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

Deprecated: Use LightingEvent_StatusReport.ProtoReflect.Descriptor instead.

func (*LightingEvent_StatusReport) GetFaults

func (x *LightingEvent_StatusReport) GetFaults() []LightFault

func (*LightingEvent_StatusReport) ProtoMessage

func (*LightingEvent_StatusReport) ProtoMessage()

func (*LightingEvent_StatusReport) ProtoReflect

func (*LightingEvent_StatusReport) Reset

func (x *LightingEvent_StatusReport) Reset()

func (*LightingEvent_StatusReport) String

func (x *LightingEvent_StatusReport) String() string

type LightingEvent_StatusReport_

type LightingEvent_StatusReport_ struct {
	StatusReport *LightingEvent_StatusReport `protobuf:"bytes,6,opt,name=status_report,json=statusReport,proto3,oneof"`
}

type LightingTestApiClient

type LightingTestApiClient interface {
	GetLightHealth(ctx context.Context, in *GetLightHealthRequest, opts ...grpc.CallOption) (*LightHealth, error)
	ListLightHealth(ctx context.Context, in *ListLightHealthRequest, opts ...grpc.CallOption) (*ListLightHealthResponse, error)
	ListLightEvents(ctx context.Context, in *ListLightEventsRequest, opts ...grpc.CallOption) (*ListLightEventsResponse, error)
	GetReportCSV(ctx context.Context, in *GetReportCSVRequest, opts ...grpc.CallOption) (*ReportCSV, error)
}

LightingTestApiClient is the client API for LightingTestApi 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 WrapLightingTestApi

func WrapLightingTestApi(server LightingTestApiServer) LightingTestApiClient

WrapLightingTestApi adapts a LightingTestApiServer and presents it as a LightingTestApiClient

type LightingTestApiServer

type LightingTestApiServer interface {
	GetLightHealth(context.Context, *GetLightHealthRequest) (*LightHealth, error)
	ListLightHealth(context.Context, *ListLightHealthRequest) (*ListLightHealthResponse, error)
	ListLightEvents(context.Context, *ListLightEventsRequest) (*ListLightEventsResponse, error)
	GetReportCSV(context.Context, *GetReportCSVRequest) (*ReportCSV, error)
	// contains filtered or unexported methods
}

LightingTestApiServer is the server API for LightingTestApi service. All implementations must embed UnimplementedLightingTestApiServer for forward compatibility

type ListAirQualityHistoryRequest

type ListAirQualityHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the AirQualityRecord type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListAirQualityHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAirQualityHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListAirQualityHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListAirQualityHistoryRequest) GetName

func (x *ListAirQualityHistoryRequest) GetName() string

func (*ListAirQualityHistoryRequest) GetPageSize

func (x *ListAirQualityHistoryRequest) GetPageSize() int32

func (*ListAirQualityHistoryRequest) GetPageToken

func (x *ListAirQualityHistoryRequest) GetPageToken() string

func (*ListAirQualityHistoryRequest) GetPeriod

func (x *ListAirQualityHistoryRequest) GetPeriod() *time.Period

func (*ListAirQualityHistoryRequest) GetReadMask

func (*ListAirQualityHistoryRequest) ProtoMessage

func (*ListAirQualityHistoryRequest) ProtoMessage()

func (*ListAirQualityHistoryRequest) ProtoReflect

func (*ListAirQualityHistoryRequest) Reset

func (x *ListAirQualityHistoryRequest) Reset()

func (*ListAirQualityHistoryRequest) String

type ListAirQualityHistoryResponse

type ListAirQualityHistoryResponse struct {
	AirQualityRecords []*AirQualityRecord `protobuf:"bytes,1,rep,name=air_quality_records,json=airQualityRecords,proto3" json:"air_quality_records,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 records matched by the query.
	// 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 (*ListAirQualityHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListAirQualityHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListAirQualityHistoryResponse) GetAirQualityRecords

func (x *ListAirQualityHistoryResponse) GetAirQualityRecords() []*AirQualityRecord

func (*ListAirQualityHistoryResponse) GetNextPageToken

func (x *ListAirQualityHistoryResponse) GetNextPageToken() string

func (*ListAirQualityHistoryResponse) GetTotalSize

func (x *ListAirQualityHistoryResponse) GetTotalSize() int32

func (*ListAirQualityHistoryResponse) ProtoMessage

func (*ListAirQualityHistoryResponse) ProtoMessage()

func (*ListAirQualityHistoryResponse) ProtoReflect

func (*ListAirQualityHistoryResponse) Reset

func (x *ListAirQualityHistoryResponse) Reset()

func (*ListAirQualityHistoryResponse) String

type ListAirTemperatureHistoryRequest

type ListAirTemperatureHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the AirTemperatureRecord type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListAirTemperatureHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAirTemperatureHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListAirTemperatureHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListAirTemperatureHistoryRequest) GetName

func (*ListAirTemperatureHistoryRequest) GetPageSize

func (x *ListAirTemperatureHistoryRequest) GetPageSize() int32

func (*ListAirTemperatureHistoryRequest) GetPageToken

func (x *ListAirTemperatureHistoryRequest) GetPageToken() string

func (*ListAirTemperatureHistoryRequest) GetPeriod

func (*ListAirTemperatureHistoryRequest) GetReadMask

func (*ListAirTemperatureHistoryRequest) ProtoMessage

func (*ListAirTemperatureHistoryRequest) ProtoMessage()

func (*ListAirTemperatureHistoryRequest) ProtoReflect

func (*ListAirTemperatureHistoryRequest) Reset

func (*ListAirTemperatureHistoryRequest) String

type ListAirTemperatureHistoryResponse

type ListAirTemperatureHistoryResponse struct {
	AirTemperatureRecords []*AirTemperatureRecord `` /* 126-byte string literal not displayed */
	// 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 records matched by the query.
	// 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 (*ListAirTemperatureHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListAirTemperatureHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListAirTemperatureHistoryResponse) GetAirTemperatureRecords

func (x *ListAirTemperatureHistoryResponse) GetAirTemperatureRecords() []*AirTemperatureRecord

func (*ListAirTemperatureHistoryResponse) GetNextPageToken

func (x *ListAirTemperatureHistoryResponse) GetNextPageToken() string

func (*ListAirTemperatureHistoryResponse) GetTotalSize

func (x *ListAirTemperatureHistoryResponse) GetTotalSize() int32

func (*ListAirTemperatureHistoryResponse) ProtoMessage

func (*ListAirTemperatureHistoryResponse) ProtoMessage()

func (*ListAirTemperatureHistoryResponse) ProtoReflect

func (*ListAirTemperatureHistoryResponse) Reset

func (*ListAirTemperatureHistoryResponse) String

type ListAlertsRequest

type ListAlertsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Alert 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"`
	// Query allows filtering of the alerts returned by this request.
	// When paging the query should match for each page or INVALID_ARGUMENT will be returned.
	Query *Alert_Query `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsRequest) Descriptor deprecated

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

Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertsRequest) GetName

func (x *ListAlertsRequest) GetName() string

func (*ListAlertsRequest) GetPageSize

func (x *ListAlertsRequest) GetPageSize() int32

func (*ListAlertsRequest) GetPageToken

func (x *ListAlertsRequest) GetPageToken() string

func (*ListAlertsRequest) GetQuery

func (x *ListAlertsRequest) GetQuery() *Alert_Query

func (*ListAlertsRequest) GetReadMask

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

func (*ListAlertsRequest) ProtoMessage

func (*ListAlertsRequest) ProtoMessage()

func (*ListAlertsRequest) ProtoReflect

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

func (*ListAlertsRequest) Reset

func (x *ListAlertsRequest) Reset()

func (*ListAlertsRequest) String

func (x *ListAlertsRequest) String() string

type ListAlertsResponse

type ListAlertsResponse struct {
	Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,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 alerts after filtering is applied.
	// 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 (*ListAlertsResponse) Descriptor deprecated

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

Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.

func (*ListAlertsResponse) GetAlerts

func (x *ListAlertsResponse) GetAlerts() []*Alert

func (*ListAlertsResponse) GetNextPageToken

func (x *ListAlertsResponse) GetNextPageToken() string

func (*ListAlertsResponse) GetTotalSize

func (x *ListAlertsResponse) GetTotalSize() int32

func (*ListAlertsResponse) ProtoMessage

func (*ListAlertsResponse) ProtoMessage()

func (*ListAlertsResponse) ProtoReflect

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

func (*ListAlertsResponse) Reset

func (x *ListAlertsResponse) Reset()

func (*ListAlertsResponse) String

func (x *ListAlertsResponse) String() string

type ListCurrentStatusHistoryRequest

type ListCurrentStatusHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the StatusLog type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListCurrentStatusHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCurrentStatusHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListCurrentStatusHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListCurrentStatusHistoryRequest) GetName

func (*ListCurrentStatusHistoryRequest) GetPageSize

func (x *ListCurrentStatusHistoryRequest) GetPageSize() int32

func (*ListCurrentStatusHistoryRequest) GetPageToken

func (x *ListCurrentStatusHistoryRequest) GetPageToken() string

func (*ListCurrentStatusHistoryRequest) GetPeriod

func (*ListCurrentStatusHistoryRequest) GetReadMask

func (*ListCurrentStatusHistoryRequest) ProtoMessage

func (*ListCurrentStatusHistoryRequest) ProtoMessage()

func (*ListCurrentStatusHistoryRequest) ProtoReflect

func (*ListCurrentStatusHistoryRequest) Reset

func (*ListCurrentStatusHistoryRequest) String

type ListCurrentStatusHistoryResponse

type ListCurrentStatusHistoryResponse struct {
	CurrentStatusRecords []*StatusLogRecord `protobuf:"bytes,1,rep,name=current_status_records,json=currentStatusRecords,proto3" json:"current_status_records,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 records matched by the query.
	// 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 (*ListCurrentStatusHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListCurrentStatusHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListCurrentStatusHistoryResponse) GetCurrentStatusRecords

func (x *ListCurrentStatusHistoryResponse) GetCurrentStatusRecords() []*StatusLogRecord

func (*ListCurrentStatusHistoryResponse) GetNextPageToken

func (x *ListCurrentStatusHistoryResponse) GetNextPageToken() string

func (*ListCurrentStatusHistoryResponse) GetTotalSize

func (x *ListCurrentStatusHistoryResponse) GetTotalSize() int32

func (*ListCurrentStatusHistoryResponse) ProtoMessage

func (*ListCurrentStatusHistoryResponse) ProtoMessage()

func (*ListCurrentStatusHistoryResponse) ProtoReflect

func (*ListCurrentStatusHistoryResponse) Reset

func (*ListCurrentStatusHistoryResponse) String

type ListDevicesRequest

type ListDevicesRequest struct {

	// Fields to fetch relative to the Device type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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 `ListDevicesResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A query for filtering the devices that will be returned
	Query *Device_Query `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetPageSize

func (x *ListDevicesRequest) GetPageSize() int32

func (*ListDevicesRequest) GetPageToken

func (x *ListDevicesRequest) GetPageToken() string

func (*ListDevicesRequest) GetQuery

func (x *ListDevicesRequest) GetQuery() *Device_Query

func (*ListDevicesRequest) GetReadMask

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

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,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 devices.
	// 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 (*ListDevicesResponse) Descriptor deprecated

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

Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetDevices

func (x *ListDevicesResponse) GetDevices() []*Device

func (*ListDevicesResponse) GetNextPageToken

func (x *ListDevicesResponse) GetNextPageToken() string

func (*ListDevicesResponse) GetTotalSize

func (x *ListDevicesResponse) GetTotalSize() int32

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (x *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (x *ListDevicesResponse) String() string

type ListElectricDemandHistoryRequest

type ListElectricDemandHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the ElectricDemandRecord type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListElectricDemandHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListElectricDemandHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListElectricDemandHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListElectricDemandHistoryRequest) GetName

func (*ListElectricDemandHistoryRequest) GetPageSize

func (x *ListElectricDemandHistoryRequest) GetPageSize() int32

func (*ListElectricDemandHistoryRequest) GetPageToken

func (x *ListElectricDemandHistoryRequest) GetPageToken() string

func (*ListElectricDemandHistoryRequest) GetPeriod

func (*ListElectricDemandHistoryRequest) GetReadMask

func (*ListElectricDemandHistoryRequest) ProtoMessage

func (*ListElectricDemandHistoryRequest) ProtoMessage()

func (*ListElectricDemandHistoryRequest) ProtoReflect

func (*ListElectricDemandHistoryRequest) Reset

func (*ListElectricDemandHistoryRequest) String

type ListElectricDemandHistoryResponse

type ListElectricDemandHistoryResponse struct {
	ElectricDemandRecords []*ElectricDemandRecord `` /* 126-byte string literal not displayed */
	// 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 records matched by the query.
	// 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 (*ListElectricDemandHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListElectricDemandHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListElectricDemandHistoryResponse) GetElectricDemandRecords

func (x *ListElectricDemandHistoryResponse) GetElectricDemandRecords() []*ElectricDemandRecord

func (*ListElectricDemandHistoryResponse) GetNextPageToken

func (x *ListElectricDemandHistoryResponse) GetNextPageToken() string

func (*ListElectricDemandHistoryResponse) GetTotalSize

func (x *ListElectricDemandHistoryResponse) GetTotalSize() int32

func (*ListElectricDemandHistoryResponse) ProtoMessage

func (*ListElectricDemandHistoryResponse) ProtoMessage()

func (*ListElectricDemandHistoryResponse) ProtoReflect

func (*ListElectricDemandHistoryResponse) Reset

func (*ListElectricDemandHistoryResponse) String

type ListHistoryRecordsRequest

type ListHistoryRecordsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of records 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,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListHistoryRecords` call.
	// Provide this to retrieve the subsequent page.
	PageToken string               `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Query     *HistoryRecord_Query `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHistoryRecordsRequest) Descriptor deprecated

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

Deprecated: Use ListHistoryRecordsRequest.ProtoReflect.Descriptor instead.

func (*ListHistoryRecordsRequest) GetName

func (x *ListHistoryRecordsRequest) GetName() string

func (*ListHistoryRecordsRequest) GetPageSize

func (x *ListHistoryRecordsRequest) GetPageSize() int32

func (*ListHistoryRecordsRequest) GetPageToken

func (x *ListHistoryRecordsRequest) GetPageToken() string

func (*ListHistoryRecordsRequest) GetQuery

func (*ListHistoryRecordsRequest) ProtoMessage

func (*ListHistoryRecordsRequest) ProtoMessage()

func (*ListHistoryRecordsRequest) ProtoReflect

func (*ListHistoryRecordsRequest) Reset

func (x *ListHistoryRecordsRequest) Reset()

func (*ListHistoryRecordsRequest) String

func (x *ListHistoryRecordsRequest) String() string

type ListHistoryRecordsResponse

type ListHistoryRecordsResponse struct {
	Records []*HistoryRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,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 records matched by the query.
	// 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 (*ListHistoryRecordsResponse) Descriptor deprecated

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

Deprecated: Use ListHistoryRecordsResponse.ProtoReflect.Descriptor instead.

func (*ListHistoryRecordsResponse) GetNextPageToken

func (x *ListHistoryRecordsResponse) GetNextPageToken() string

func (*ListHistoryRecordsResponse) GetRecords

func (x *ListHistoryRecordsResponse) GetRecords() []*HistoryRecord

func (*ListHistoryRecordsResponse) GetTotalSize

func (x *ListHistoryRecordsResponse) GetTotalSize() int32

func (*ListHistoryRecordsResponse) ProtoMessage

func (*ListHistoryRecordsResponse) ProtoMessage()

func (*ListHistoryRecordsResponse) ProtoReflect

func (*ListHistoryRecordsResponse) Reset

func (x *ListHistoryRecordsResponse) Reset()

func (*ListHistoryRecordsResponse) String

func (x *ListHistoryRecordsResponse) String() string

type ListHubNodesRequest

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

func (*ListHubNodesRequest) Descriptor deprecated

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

Deprecated: Use ListHubNodesRequest.ProtoReflect.Descriptor instead.

func (*ListHubNodesRequest) ProtoMessage

func (*ListHubNodesRequest) ProtoMessage()

func (*ListHubNodesRequest) ProtoReflect

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

func (*ListHubNodesRequest) Reset

func (x *ListHubNodesRequest) Reset()

func (*ListHubNodesRequest) String

func (x *ListHubNodesRequest) String() string

type ListHubNodesResponse

type ListHubNodesResponse struct {
	Nodes []*HubNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHubNodesResponse) Descriptor deprecated

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

Deprecated: Use ListHubNodesResponse.ProtoReflect.Descriptor instead.

func (*ListHubNodesResponse) GetNodes

func (x *ListHubNodesResponse) GetNodes() []*HubNode

func (*ListHubNodesResponse) ProtoMessage

func (*ListHubNodesResponse) ProtoMessage()

func (*ListHubNodesResponse) ProtoReflect

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

func (*ListHubNodesResponse) Reset

func (x *ListHubNodesResponse) Reset()

func (*ListHubNodesResponse) String

func (x *ListHubNodesResponse) String() string

type ListLightEventsRequest

type ListLightEventsRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // TODO: add filtering support
	// contains filtered or unexported fields
}

func (*ListLightEventsRequest) Descriptor deprecated

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

Deprecated: Use ListLightEventsRequest.ProtoReflect.Descriptor instead.

func (*ListLightEventsRequest) GetPageSize

func (x *ListLightEventsRequest) GetPageSize() int32

func (*ListLightEventsRequest) GetPageToken

func (x *ListLightEventsRequest) GetPageToken() string

func (*ListLightEventsRequest) ProtoMessage

func (*ListLightEventsRequest) ProtoMessage()

func (*ListLightEventsRequest) ProtoReflect

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

func (*ListLightEventsRequest) Reset

func (x *ListLightEventsRequest) Reset()

func (*ListLightEventsRequest) String

func (x *ListLightEventsRequest) String() string

type ListLightEventsResponse

type ListLightEventsResponse struct {
	Events []*LightingEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Contains a page token which can be supplied as page_token in ListLightEventsRequest to fetch the next page of
	// results.
	// Only present when more results are immediately available.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Contains a page token which can be supplied as page_token in ListLightEventsRequest to fetch only new data
	// in the future.
	// Unlike next_page_token, this is present even when no more pages are immediately available. The client can check
	// again in the future
	FuturePageToken string `protobuf:"bytes,3,opt,name=future_page_token,json=futurePageToken,proto3" json:"future_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLightEventsResponse) Descriptor deprecated

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

Deprecated: Use ListLightEventsResponse.ProtoReflect.Descriptor instead.

func (*ListLightEventsResponse) GetEvents

func (x *ListLightEventsResponse) GetEvents() []*LightingEvent

func (*ListLightEventsResponse) GetFuturePageToken

func (x *ListLightEventsResponse) GetFuturePageToken() string

func (*ListLightEventsResponse) GetNextPageToken

func (x *ListLightEventsResponse) GetNextPageToken() string

func (*ListLightEventsResponse) ProtoMessage

func (*ListLightEventsResponse) ProtoMessage()

func (*ListLightEventsResponse) ProtoReflect

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

func (*ListLightEventsResponse) Reset

func (x *ListLightEventsResponse) Reset()

func (*ListLightEventsResponse) String

func (x *ListLightEventsResponse) String() string

type ListLightHealthRequest

type ListLightHealthRequest struct {

	// The maximum number of emergency light names to return at once. The service may choose to return fewer.
	// If unspecified, defaults to 50.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token from a previous ListEmergencyLists call. Provide to get the next page.
	// If omitted, the first page is supplied.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLightHealthRequest) Descriptor deprecated

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

Deprecated: Use ListLightHealthRequest.ProtoReflect.Descriptor instead.

func (*ListLightHealthRequest) GetPageSize

func (x *ListLightHealthRequest) GetPageSize() int32

func (*ListLightHealthRequest) GetPageToken

func (x *ListLightHealthRequest) GetPageToken() string

func (*ListLightHealthRequest) ProtoMessage

func (*ListLightHealthRequest) ProtoMessage()

func (*ListLightHealthRequest) ProtoReflect

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

func (*ListLightHealthRequest) Reset

func (x *ListLightHealthRequest) Reset()

func (*ListLightHealthRequest) String

func (x *ListLightHealthRequest) String() string

type ListLightHealthResponse

type ListLightHealthResponse struct {
	EmergencyLights []*LightHealth `protobuf:"bytes,1,rep,name=emergency_lights,json=emergencyLights,proto3" json:"emergency_lights,omitempty"`
	NextPageToken   string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLightHealthResponse) Descriptor deprecated

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

Deprecated: Use ListLightHealthResponse.ProtoReflect.Descriptor instead.

func (*ListLightHealthResponse) GetEmergencyLights

func (x *ListLightHealthResponse) GetEmergencyLights() []*LightHealth

func (*ListLightHealthResponse) GetNextPageToken

func (x *ListLightHealthResponse) GetNextPageToken() string

func (*ListLightHealthResponse) ProtoMessage

func (*ListLightHealthResponse) ProtoMessage()

func (*ListLightHealthResponse) ProtoReflect

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

func (*ListLightHealthResponse) Reset

func (x *ListLightHealthResponse) Reset()

func (*ListLightHealthResponse) String

func (x *ListLightHealthResponse) String() string

type ListMeterReadingHistoryRequest

type ListMeterReadingHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the MeterReadingRecord type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListMeterReadingHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMeterReadingHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListMeterReadingHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListMeterReadingHistoryRequest) GetName

func (*ListMeterReadingHistoryRequest) GetPageSize

func (x *ListMeterReadingHistoryRequest) GetPageSize() int32

func (*ListMeterReadingHistoryRequest) GetPageToken

func (x *ListMeterReadingHistoryRequest) GetPageToken() string

func (*ListMeterReadingHistoryRequest) GetPeriod

func (x *ListMeterReadingHistoryRequest) GetPeriod() *time.Period

func (*ListMeterReadingHistoryRequest) GetReadMask

func (*ListMeterReadingHistoryRequest) ProtoMessage

func (*ListMeterReadingHistoryRequest) ProtoMessage()

func (*ListMeterReadingHistoryRequest) ProtoReflect

func (*ListMeterReadingHistoryRequest) Reset

func (x *ListMeterReadingHistoryRequest) Reset()

func (*ListMeterReadingHistoryRequest) String

type ListMeterReadingHistoryResponse

type ListMeterReadingHistoryResponse struct {
	MeterReadingRecords []*MeterReadingRecord `protobuf:"bytes,1,rep,name=meter_reading_records,json=meterReadingRecords,proto3" json:"meter_reading_records,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 records matched by the query.
	// 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 (*ListMeterReadingHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListMeterReadingHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListMeterReadingHistoryResponse) GetMeterReadingRecords

func (x *ListMeterReadingHistoryResponse) GetMeterReadingRecords() []*MeterReadingRecord

func (*ListMeterReadingHistoryResponse) GetNextPageToken

func (x *ListMeterReadingHistoryResponse) GetNextPageToken() string

func (*ListMeterReadingHistoryResponse) GetTotalSize

func (x *ListMeterReadingHistoryResponse) GetTotalSize() int32

func (*ListMeterReadingHistoryResponse) ProtoMessage

func (*ListMeterReadingHistoryResponse) ProtoMessage()

func (*ListMeterReadingHistoryResponse) ProtoReflect

func (*ListMeterReadingHistoryResponse) Reset

func (*ListMeterReadingHistoryResponse) String

type ListOccupancyHistoryRequest

type ListOccupancyHistoryRequest struct {
	Name   string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Period *time.Period `protobuf:"bytes,2,opt,name=period,proto3" json:"period,omitempty"`
	// Fields to fetch relative to the OccupancyRecord type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// The maximum number of devices 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,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListOccupancyHistoryResponse` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOccupancyHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListOccupancyHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListOccupancyHistoryRequest) GetName

func (x *ListOccupancyHistoryRequest) GetName() string

func (*ListOccupancyHistoryRequest) GetPageSize

func (x *ListOccupancyHistoryRequest) GetPageSize() int32

func (*ListOccupancyHistoryRequest) GetPageToken

func (x *ListOccupancyHistoryRequest) GetPageToken() string

func (*ListOccupancyHistoryRequest) GetPeriod

func (x *ListOccupancyHistoryRequest) GetPeriod() *time.Period

func (*ListOccupancyHistoryRequest) GetReadMask

func (*ListOccupancyHistoryRequest) ProtoMessage

func (*ListOccupancyHistoryRequest) ProtoMessage()

func (*ListOccupancyHistoryRequest) ProtoReflect

func (*ListOccupancyHistoryRequest) Reset

func (x *ListOccupancyHistoryRequest) Reset()

func (*ListOccupancyHistoryRequest) String

func (x *ListOccupancyHistoryRequest) String() string

type ListOccupancyHistoryResponse

type ListOccupancyHistoryResponse struct {
	OccupancyRecords []*OccupancyRecord `protobuf:"bytes,1,rep,name=occupancy_records,json=occupancyRecords,proto3" json:"occupancy_records,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 records matched by the query.
	// 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 (*ListOccupancyHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListOccupancyHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListOccupancyHistoryResponse) GetNextPageToken

func (x *ListOccupancyHistoryResponse) GetNextPageToken() string

func (*ListOccupancyHistoryResponse) GetOccupancyRecords

func (x *ListOccupancyHistoryResponse) GetOccupancyRecords() []*OccupancyRecord

func (*ListOccupancyHistoryResponse) GetTotalSize

func (x *ListOccupancyHistoryResponse) GetTotalSize() int32

func (*ListOccupancyHistoryResponse) ProtoMessage

func (*ListOccupancyHistoryResponse) ProtoMessage()

func (*ListOccupancyHistoryResponse) ProtoReflect

func (*ListOccupancyHistoryResponse) Reset

func (x *ListOccupancyHistoryResponse) Reset()

func (*ListOccupancyHistoryResponse) String

type ListSecretsRequest

type ListSecretsRequest struct {
	IncludeHash bool   `protobuf:"varint,1,opt,name=include_hash,json=includeHash,proto3" json:"include_hash,omitempty"`
	Filter      string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // TODO: paging
	// contains filtered or unexported fields
}

func (*ListSecretsRequest) Descriptor deprecated

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

Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretsRequest) GetFilter

func (x *ListSecretsRequest) GetFilter() string

func (*ListSecretsRequest) GetIncludeHash

func (x *ListSecretsRequest) GetIncludeHash() bool

func (*ListSecretsRequest) ProtoMessage

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) ProtoReflect

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

func (*ListSecretsRequest) Reset

func (x *ListSecretsRequest) Reset()

func (*ListSecretsRequest) String

func (x *ListSecretsRequest) String() string

type ListSecretsResponse

type ListSecretsResponse struct {
	Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecretsResponse) Descriptor deprecated

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

Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretsResponse) GetSecrets

func (x *ListSecretsResponse) GetSecrets() []*Secret

func (*ListSecretsResponse) ProtoMessage

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) ProtoReflect

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

func (*ListSecretsResponse) Reset

func (x *ListSecretsResponse) Reset()

func (*ListSecretsResponse) String

func (x *ListSecretsResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Service 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 `ListServicesResponse` 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 (*ListServicesRequest) Descriptor deprecated

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

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetName

func (x *ListServicesRequest) GetName() string

func (*ListServicesRequest) GetPageSize

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetReadMask

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

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

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

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,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 services after filtering is applied.
	// 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 (*ListServicesResponse) Descriptor deprecated

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

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) GetTotalSize

func (x *ListServicesResponse) GetTotalSize() int32

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

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

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type ListTenantsRequest

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

func (*ListTenantsRequest) Descriptor deprecated

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

Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.

func (*ListTenantsRequest) ProtoMessage

func (*ListTenantsRequest) ProtoMessage()

func (*ListTenantsRequest) ProtoReflect

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

func (*ListTenantsRequest) Reset

func (x *ListTenantsRequest) Reset()

func (*ListTenantsRequest) String

func (x *ListTenantsRequest) String() string

type ListTenantsResponse

type ListTenantsResponse struct {
	Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTenantsResponse) Descriptor deprecated

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

Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.

func (*ListTenantsResponse) GetTenants

func (x *ListTenantsResponse) GetTenants() []*Tenant

func (*ListTenantsResponse) ProtoMessage

func (*ListTenantsResponse) ProtoMessage()

func (*ListTenantsResponse) ProtoReflect

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

func (*ListTenantsResponse) Reset

func (x *ListTenantsResponse) Reset()

func (*ListTenantsResponse) String

func (x *ListTenantsResponse) String() string

type MeterApiClient

type MeterApiClient interface {
	GetMeterReading(ctx context.Context, in *GetMeterReadingRequest, opts ...grpc.CallOption) (*MeterReading, error)
	PullMeterReadings(ctx context.Context, in *PullMeterReadingsRequest, opts ...grpc.CallOption) (MeterApi_PullMeterReadingsClient, error)
}

MeterApiClient is the client API for MeterApi 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 NewMeterApiClient

func NewMeterApiClient(cc grpc.ClientConnInterface) MeterApiClient

func WrapMeterApi

func WrapMeterApi(server MeterApiServer) MeterApiClient

WrapMeterApi adapts a MeterApiServer and presents it as a MeterApiClient

type MeterApiRouter

type MeterApiRouter struct {
	UnimplementedMeterApiServer

	router.Router
}

MeterApiRouter is a MeterApiServer that allows routing named requests to specific MeterApiClient

func NewMeterApiRouter

func NewMeterApiRouter(opts ...router.Option) *MeterApiRouter

func (*MeterApiRouter) Add

func (r *MeterApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type MeterApiClient.

func (*MeterApiRouter) AddMeterApiClient

func (r *MeterApiRouter) AddMeterApiClient(name string, client MeterApiClient) MeterApiClient

func (*MeterApiRouter) GetMeterApiClient

func (r *MeterApiRouter) GetMeterApiClient(name string) (MeterApiClient, error)

func (*MeterApiRouter) GetMeterReading

func (r *MeterApiRouter) GetMeterReading(ctx context.Context, request *GetMeterReadingRequest) (*MeterReading, error)

func (*MeterApiRouter) HoldsType

func (r *MeterApiRouter) HoldsType(client any) bool

func (*MeterApiRouter) PullMeterReadings

func (r *MeterApiRouter) PullMeterReadings(request *PullMeterReadingsRequest, server MeterApi_PullMeterReadingsServer) error

func (*MeterApiRouter) Register

func (r *MeterApiRouter) Register(server *grpc.Server)

func (*MeterApiRouter) RemoveMeterApiClient

func (r *MeterApiRouter) RemoveMeterApiClient(name string) MeterApiClient

type MeterApiServer

type MeterApiServer interface {
	GetMeterReading(context.Context, *GetMeterReadingRequest) (*MeterReading, error)
	PullMeterReadings(*PullMeterReadingsRequest, MeterApi_PullMeterReadingsServer) error
	// contains filtered or unexported methods
}

MeterApiServer is the server API for MeterApi service. All implementations must embed UnimplementedMeterApiServer for forward compatibility

type MeterApi_PullMeterReadingsClient

type MeterApi_PullMeterReadingsClient interface {
	Recv() (*PullMeterReadingsResponse, error)
	grpc.ClientStream
}

type MeterApi_PullMeterReadingsServer

type MeterApi_PullMeterReadingsServer interface {
	Send(*PullMeterReadingsResponse) error
	grpc.ServerStream
}

type MeterHistoryClient

type MeterHistoryClient interface {
	ListMeterReadingHistory(ctx context.Context, in *ListMeterReadingHistoryRequest, opts ...grpc.CallOption) (*ListMeterReadingHistoryResponse, error)
}

MeterHistoryClient is the client API for MeterHistory 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 WrapMeterHistory

func WrapMeterHistory(server MeterHistoryServer) MeterHistoryClient

WrapMeterHistory adapts a MeterHistoryServer and presents it as a MeterHistoryClient

type MeterHistoryRouter

type MeterHistoryRouter struct {
	UnimplementedMeterHistoryServer

	router.Router
}

MeterHistoryRouter is a MeterHistoryServer that allows routing named requests to specific MeterHistoryClient

func NewMeterHistoryRouter

func NewMeterHistoryRouter(opts ...router.Option) *MeterHistoryRouter

func (*MeterHistoryRouter) Add

func (r *MeterHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type MeterHistoryClient.

func (*MeterHistoryRouter) AddMeterHistoryClient

func (r *MeterHistoryRouter) AddMeterHistoryClient(name string, client MeterHistoryClient) MeterHistoryClient

func (*MeterHistoryRouter) GetMeterHistoryClient

func (r *MeterHistoryRouter) GetMeterHistoryClient(name string) (MeterHistoryClient, error)

func (*MeterHistoryRouter) HoldsType

func (r *MeterHistoryRouter) HoldsType(client any) bool

func (*MeterHistoryRouter) ListMeterReadingHistory

func (*MeterHistoryRouter) Register

func (r *MeterHistoryRouter) Register(server *grpc.Server)

func (*MeterHistoryRouter) RemoveMeterHistoryClient

func (r *MeterHistoryRouter) RemoveMeterHistoryClient(name string) MeterHistoryClient

type MeterHistoryServer

type MeterHistoryServer interface {
	ListMeterReadingHistory(context.Context, *ListMeterReadingHistoryRequest) (*ListMeterReadingHistoryResponse, error)
	// contains filtered or unexported methods
}

MeterHistoryServer is the server API for MeterHistory service. All implementations must embed UnimplementedMeterHistoryServer for forward compatibility

type MeterInfoClient

type MeterInfoClient interface {
	DescribeMeterReading(ctx context.Context, in *DescribeMeterReadingRequest, opts ...grpc.CallOption) (*MeterReadingSupport, error)
}

MeterInfoClient is the client API for MeterInfo 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 NewMeterInfoClient

func NewMeterInfoClient(cc grpc.ClientConnInterface) MeterInfoClient

func WrapMeterInfo

func WrapMeterInfo(server MeterInfoServer) MeterInfoClient

WrapMeterInfo adapts a MeterInfoServer and presents it as a MeterInfoClient

type MeterInfoRouter

type MeterInfoRouter struct {
	UnimplementedMeterInfoServer

	router.Router
}

MeterInfoRouter is a MeterInfoServer that allows routing named requests to specific MeterInfoClient

func NewMeterInfoRouter

func NewMeterInfoRouter(opts ...router.Option) *MeterInfoRouter

func (*MeterInfoRouter) Add

func (r *MeterInfoRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type MeterInfoClient.

func (*MeterInfoRouter) AddMeterInfoClient

func (r *MeterInfoRouter) AddMeterInfoClient(name string, client MeterInfoClient) MeterInfoClient

func (*MeterInfoRouter) DescribeMeterReading

func (r *MeterInfoRouter) DescribeMeterReading(ctx context.Context, request *DescribeMeterReadingRequest) (*MeterReadingSupport, error)

func (*MeterInfoRouter) GetMeterInfoClient

func (r *MeterInfoRouter) GetMeterInfoClient(name string) (MeterInfoClient, error)

func (*MeterInfoRouter) HoldsType

func (r *MeterInfoRouter) HoldsType(client any) bool

func (*MeterInfoRouter) Register

func (r *MeterInfoRouter) Register(server *grpc.Server)

func (*MeterInfoRouter) RemoveMeterInfoClient

func (r *MeterInfoRouter) RemoveMeterInfoClient(name string) MeterInfoClient

type MeterInfoServer

type MeterInfoServer interface {
	DescribeMeterReading(context.Context, *DescribeMeterReadingRequest) (*MeterReadingSupport, error)
	// contains filtered or unexported methods
}

MeterInfoServer is the server API for MeterInfo service. All implementations must embed UnimplementedMeterInfoServer for forward compatibility

type MeterReading

type MeterReading struct {

	// Usage records the current value of the meter.
	// The unit is unspecified, use device documentation or MeterInfo to discover it.
	// This value is a total recorded between the start and end times.
	Usage float32 `protobuf:"fixed32,1,opt,name=usage,proto3" json:"usage,omitempty"`
	// The start period usage is recorded relative to. Typically the installation date, but not required to be.
	// The start time can be reset and updated by the device if it is serviced or updated.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end of the period usage is recorded relative to, i.e. the time the reading was taken.
	// This time might not be now if the device has a low resolution for taking readings.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*MeterReading) Descriptor deprecated

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

Deprecated: Use MeterReading.ProtoReflect.Descriptor instead.

func (*MeterReading) GetEndTime

func (x *MeterReading) GetEndTime() *timestamppb.Timestamp

func (*MeterReading) GetStartTime

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

func (*MeterReading) GetUsage

func (x *MeterReading) GetUsage() float32

func (*MeterReading) ProtoMessage

func (*MeterReading) ProtoMessage()

func (*MeterReading) ProtoReflect

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

func (*MeterReading) Reset

func (x *MeterReading) Reset()

func (*MeterReading) String

func (x *MeterReading) String() string

type MeterReadingRecord

type MeterReadingRecord struct {
	MeterReading *MeterReading          `protobuf:"bytes,1,opt,name=meter_reading,json=meterReading,proto3" json:"meter_reading,omitempty"`
	RecordTime   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*MeterReadingRecord) Descriptor deprecated

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

Deprecated: Use MeterReadingRecord.ProtoReflect.Descriptor instead.

func (*MeterReadingRecord) GetMeterReading

func (x *MeterReadingRecord) GetMeterReading() *MeterReading

func (*MeterReadingRecord) GetRecordTime

func (x *MeterReadingRecord) GetRecordTime() *timestamppb.Timestamp

func (*MeterReadingRecord) ProtoMessage

func (*MeterReadingRecord) ProtoMessage()

func (*MeterReadingRecord) ProtoReflect

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

func (*MeterReadingRecord) Reset

func (x *MeterReadingRecord) Reset()

func (*MeterReadingRecord) String

func (x *MeterReadingRecord) String() string

type MeterReadingSupport

type MeterReadingSupport 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 unit associated with the usage value
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

MeterReadingSupport describes the capabilities of devices implementing this trait

func (*MeterReadingSupport) Descriptor deprecated

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

Deprecated: Use MeterReadingSupport.ProtoReflect.Descriptor instead.

func (*MeterReadingSupport) GetResourceSupport

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

func (*MeterReadingSupport) GetUnit

func (x *MeterReadingSupport) GetUnit() string

func (*MeterReadingSupport) ProtoMessage

func (*MeterReadingSupport) ProtoMessage()

func (*MeterReadingSupport) ProtoReflect

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

func (*MeterReadingSupport) Reset

func (x *MeterReadingSupport) Reset()

func (*MeterReadingSupport) String

func (x *MeterReadingSupport) String() string

type MqttMessage

type MqttMessage struct {
	Topic   string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // JSON payload
	// contains filtered or unexported fields
}

func (*MqttMessage) Descriptor deprecated

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

Deprecated: Use MqttMessage.ProtoReflect.Descriptor instead.

func (*MqttMessage) GetPayload

func (x *MqttMessage) GetPayload() string

func (*MqttMessage) GetTopic

func (x *MqttMessage) GetTopic() string

func (*MqttMessage) ProtoMessage

func (*MqttMessage) ProtoMessage()

func (*MqttMessage) ProtoReflect

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

func (*MqttMessage) Reset

func (x *MqttMessage) Reset()

func (*MqttMessage) String

func (x *MqttMessage) String() string

type MqttServiceClient

type MqttServiceClient interface {
	PullMessages(ctx context.Context, in *PullMessagesRequest, opts ...grpc.CallOption) (MqttService_PullMessagesClient, error)
}

MqttServiceClient is the client API for MqttService 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 WrapMqttService

func WrapMqttService(server MqttServiceServer) MqttServiceClient

WrapMqttService adapts a MqttServiceServer and presents it as a MqttServiceClient

type MqttServiceRouter

type MqttServiceRouter struct {
	UnimplementedMqttServiceServer

	router.Router
}

MqttServiceRouter is a MqttServiceServer that allows routing named requests to specific MqttServiceClient

func NewMqttServiceRouter

func NewMqttServiceRouter(opts ...router.Option) *MqttServiceRouter

func (*MqttServiceRouter) Add

func (r *MqttServiceRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type MqttServiceClient.

func (*MqttServiceRouter) AddMqttServiceClient

func (r *MqttServiceRouter) AddMqttServiceClient(name string, client MqttServiceClient) MqttServiceClient

func (*MqttServiceRouter) GetMqttServiceClient

func (r *MqttServiceRouter) GetMqttServiceClient(name string) (MqttServiceClient, error)

func (*MqttServiceRouter) HoldsType

func (r *MqttServiceRouter) HoldsType(client any) bool

func (*MqttServiceRouter) PullMessages

func (*MqttServiceRouter) Register

func (r *MqttServiceRouter) Register(server *grpc.Server)

func (*MqttServiceRouter) RemoveMqttServiceClient

func (r *MqttServiceRouter) RemoveMqttServiceClient(name string) MqttServiceClient

type MqttServiceServer

type MqttServiceServer interface {
	PullMessages(*PullMessagesRequest, MqttService_PullMessagesServer) error
	// contains filtered or unexported methods
}

MqttServiceServer is the server API for MqttService service. All implementations must embed UnimplementedMqttServiceServer for forward compatibility

type MqttService_PullMessagesClient

type MqttService_PullMessagesClient interface {
	Recv() (*PullMessagesResponse, error)
	grpc.ClientStream
}

type MqttService_PullMessagesServer

type MqttService_PullMessagesServer interface {
	Send(*PullMessagesResponse) error
	grpc.ServerStream
}

type OccupancyRecord

type OccupancyRecord struct {
	Occupancy  *traits.Occupancy      `protobuf:"bytes,1,opt,name=occupancy,proto3" json:"occupancy,omitempty"`
	RecordTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*OccupancyRecord) Descriptor deprecated

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

Deprecated: Use OccupancyRecord.ProtoReflect.Descriptor instead.

func (*OccupancyRecord) GetOccupancy

func (x *OccupancyRecord) GetOccupancy() *traits.Occupancy

func (*OccupancyRecord) GetRecordTime

func (x *OccupancyRecord) GetRecordTime() *timestamppb.Timestamp

func (*OccupancyRecord) ProtoMessage

func (*OccupancyRecord) ProtoMessage()

func (*OccupancyRecord) ProtoReflect

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

func (*OccupancyRecord) Reset

func (x *OccupancyRecord) Reset()

func (*OccupancyRecord) String

func (x *OccupancyRecord) String() string

type OccupancySensorHistoryClient

type OccupancySensorHistoryClient interface {
	ListOccupancyHistory(ctx context.Context, in *ListOccupancyHistoryRequest, opts ...grpc.CallOption) (*ListOccupancyHistoryResponse, error)
}

OccupancySensorHistoryClient is the client API for OccupancySensorHistory 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 WrapOccupancySensorHistory

func WrapOccupancySensorHistory(server OccupancySensorHistoryServer) OccupancySensorHistoryClient

WrapOccupancySensorHistory adapts a OccupancySensorHistoryServer and presents it as a OccupancySensorHistoryClient

type OccupancySensorHistoryRouter

type OccupancySensorHistoryRouter struct {
	UnimplementedOccupancySensorHistoryServer

	router.Router
}

OccupancySensorHistoryRouter is a OccupancySensorHistoryServer that allows routing named requests to specific OccupancySensorHistoryClient

func NewOccupancySensorHistoryRouter

func NewOccupancySensorHistoryRouter(opts ...router.Option) *OccupancySensorHistoryRouter

func (*OccupancySensorHistoryRouter) Add

func (r *OccupancySensorHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type OccupancySensorHistoryClient.

func (*OccupancySensorHistoryRouter) AddOccupancySensorHistoryClient

func (r *OccupancySensorHistoryRouter) AddOccupancySensorHistoryClient(name string, client OccupancySensorHistoryClient) OccupancySensorHistoryClient

func (*OccupancySensorHistoryRouter) GetOccupancySensorHistoryClient

func (r *OccupancySensorHistoryRouter) GetOccupancySensorHistoryClient(name string) (OccupancySensorHistoryClient, error)

func (*OccupancySensorHistoryRouter) HoldsType

func (r *OccupancySensorHistoryRouter) HoldsType(client any) bool

func (*OccupancySensorHistoryRouter) ListOccupancyHistory

func (*OccupancySensorHistoryRouter) Register

func (r *OccupancySensorHistoryRouter) Register(server *grpc.Server)

func (*OccupancySensorHistoryRouter) RemoveOccupancySensorHistoryClient

func (r *OccupancySensorHistoryRouter) RemoveOccupancySensorHistoryClient(name string) OccupancySensorHistoryClient

type OccupancySensorHistoryServer

type OccupancySensorHistoryServer interface {
	ListOccupancyHistory(context.Context, *ListOccupancyHistoryRequest) (*ListOccupancyHistoryResponse, error)
	// contains filtered or unexported methods
}

OccupancySensorHistoryServer is the server API for OccupancySensorHistory service. All implementations must embed UnimplementedOccupancySensorHistoryServer for forward compatibility

type OnMessageRequest

type OnMessageRequest struct {
	Name    string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Message *MqttMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*OnMessageRequest) Descriptor deprecated

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

Deprecated: Use OnMessageRequest.ProtoReflect.Descriptor instead.

func (*OnMessageRequest) GetMessage

func (x *OnMessageRequest) GetMessage() *MqttMessage

func (*OnMessageRequest) GetName

func (x *OnMessageRequest) GetName() string

func (*OnMessageRequest) ProtoMessage

func (*OnMessageRequest) ProtoMessage()

func (*OnMessageRequest) ProtoReflect

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

func (*OnMessageRequest) Reset

func (x *OnMessageRequest) Reset()

func (*OnMessageRequest) String

func (x *OnMessageRequest) String() string

type OnMessageResponse

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

func (*OnMessageResponse) Descriptor deprecated

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

Deprecated: Use OnMessageResponse.ProtoReflect.Descriptor instead.

func (*OnMessageResponse) GetName

func (x *OnMessageResponse) GetName() string

func (*OnMessageResponse) ProtoMessage

func (*OnMessageResponse) ProtoMessage()

func (*OnMessageResponse) ProtoReflect

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

func (*OnMessageResponse) Reset

func (x *OnMessageResponse) Reset()

func (*OnMessageResponse) String

func (x *OnMessageResponse) String() string

type PullAccessAttemptsRequest

type PullAccessAttemptsRequest struct {

	// The name of the device to pull access attempts for.
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	UpdatesOnly bool                   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccessAttemptsRequest) Descriptor deprecated

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

Deprecated: Use PullAccessAttemptsRequest.ProtoReflect.Descriptor instead.

func (*PullAccessAttemptsRequest) GetName

func (x *PullAccessAttemptsRequest) GetName() string

func (*PullAccessAttemptsRequest) GetReadMask

func (*PullAccessAttemptsRequest) GetUpdatesOnly

func (x *PullAccessAttemptsRequest) GetUpdatesOnly() bool

func (*PullAccessAttemptsRequest) ProtoMessage

func (*PullAccessAttemptsRequest) ProtoMessage()

func (*PullAccessAttemptsRequest) ProtoReflect

func (*PullAccessAttemptsRequest) Reset

func (x *PullAccessAttemptsRequest) Reset()

func (*PullAccessAttemptsRequest) String

func (x *PullAccessAttemptsRequest) String() string

type PullAccessAttemptsResponse

type PullAccessAttemptsResponse struct {
	Changes []*PullAccessAttemptsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccessAttemptsResponse) Descriptor deprecated

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

Deprecated: Use PullAccessAttemptsResponse.ProtoReflect.Descriptor instead.

func (*PullAccessAttemptsResponse) GetChanges

func (*PullAccessAttemptsResponse) ProtoMessage

func (*PullAccessAttemptsResponse) ProtoMessage()

func (*PullAccessAttemptsResponse) ProtoReflect

func (*PullAccessAttemptsResponse) Reset

func (x *PullAccessAttemptsResponse) Reset()

func (*PullAccessAttemptsResponse) String

func (x *PullAccessAttemptsResponse) String() string

type PullAccessAttemptsResponse_Change

type PullAccessAttemptsResponse_Change struct {
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ChangeTime    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	AccessAttempt *AccessAttempt         `protobuf:"bytes,3,opt,name=access_attempt,json=accessAttempt,proto3" json:"access_attempt,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAccessAttemptsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAccessAttemptsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAccessAttemptsResponse_Change) GetAccessAttempt

func (x *PullAccessAttemptsResponse_Change) GetAccessAttempt() *AccessAttempt

func (*PullAccessAttemptsResponse_Change) GetChangeTime

func (*PullAccessAttemptsResponse_Change) GetName

func (*PullAccessAttemptsResponse_Change) ProtoMessage

func (*PullAccessAttemptsResponse_Change) ProtoMessage()

func (*PullAccessAttemptsResponse_Change) ProtoReflect

func (*PullAccessAttemptsResponse_Change) Reset

func (*PullAccessAttemptsResponse_Change) String

type PullAlertMetadataRequest

type PullAlertMetadataRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If true, only changes to the count are returned, otherwise the current total will be returned immediately.
	UpdatesOnly bool                   `protobuf:"varint,2,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAlertMetadataRequest) Descriptor deprecated

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

Deprecated: Use PullAlertMetadataRequest.ProtoReflect.Descriptor instead.

func (*PullAlertMetadataRequest) GetName

func (x *PullAlertMetadataRequest) GetName() string

func (*PullAlertMetadataRequest) GetReadMask

func (*PullAlertMetadataRequest) GetUpdatesOnly

func (x *PullAlertMetadataRequest) GetUpdatesOnly() bool

func (*PullAlertMetadataRequest) ProtoMessage

func (*PullAlertMetadataRequest) ProtoMessage()

func (*PullAlertMetadataRequest) ProtoReflect

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

func (*PullAlertMetadataRequest) Reset

func (x *PullAlertMetadataRequest) Reset()

func (*PullAlertMetadataRequest) String

func (x *PullAlertMetadataRequest) String() string

type PullAlertMetadataResponse

type PullAlertMetadataResponse struct {
	Changes []*PullAlertMetadataResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAlertMetadataResponse) Descriptor deprecated

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

Deprecated: Use PullAlertMetadataResponse.ProtoReflect.Descriptor instead.

func (*PullAlertMetadataResponse) GetChanges

func (*PullAlertMetadataResponse) ProtoMessage

func (*PullAlertMetadataResponse) ProtoMessage()

func (*PullAlertMetadataResponse) ProtoReflect

func (*PullAlertMetadataResponse) Reset

func (x *PullAlertMetadataResponse) Reset()

func (*PullAlertMetadataResponse) String

func (x *PullAlertMetadataResponse) String() string

type PullAlertMetadataResponse_Change

type PullAlertMetadataResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Information about the alerts in aggregate.
	Metadata *AlertMetadata `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 (*PullAlertMetadataResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAlertMetadataResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAlertMetadataResponse_Change) GetChangeTime

func (*PullAlertMetadataResponse_Change) GetMetadata

func (*PullAlertMetadataResponse_Change) GetName

func (*PullAlertMetadataResponse_Change) ProtoMessage

func (*PullAlertMetadataResponse_Change) ProtoMessage()

func (*PullAlertMetadataResponse_Change) ProtoReflect

func (*PullAlertMetadataResponse_Change) Reset

func (*PullAlertMetadataResponse_Change) String

type PullAlertsRequest

type PullAlertsRequest 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"`
	// Query allows filtering of the alerts returned by this request.
	// When paging the query should match for each page or INVALID_ARGUMENT will be returned.
	// If an alert changes to become included or excluded from this query then it will act as though it were added/removed,
	// that is to say the update type will ADDED or REMOVED not UPDATED.
	Query *Alert_Query `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAlertsRequest) Descriptor deprecated

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

Deprecated: Use PullAlertsRequest.ProtoReflect.Descriptor instead.

func (*PullAlertsRequest) GetName

func (x *PullAlertsRequest) GetName() string

func (*PullAlertsRequest) GetQuery

func (x *PullAlertsRequest) GetQuery() *Alert_Query

func (*PullAlertsRequest) GetReadMask

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

func (*PullAlertsRequest) ProtoMessage

func (*PullAlertsRequest) ProtoMessage()

func (*PullAlertsRequest) ProtoReflect

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

func (*PullAlertsRequest) Reset

func (x *PullAlertsRequest) Reset()

func (*PullAlertsRequest) String

func (x *PullAlertsRequest) String() string

type PullAlertsResponse

type PullAlertsResponse struct {

	// The list of changes which have occurred
	Changes []*PullAlertsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullAlertsResponse) Descriptor deprecated

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

Deprecated: Use PullAlertsResponse.ProtoReflect.Descriptor instead.

func (*PullAlertsResponse) GetChanges

func (x *PullAlertsResponse) GetChanges() []*PullAlertsResponse_Change

func (*PullAlertsResponse) ProtoMessage

func (*PullAlertsResponse) ProtoMessage()

func (*PullAlertsResponse) ProtoReflect

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

func (*PullAlertsResponse) Reset

func (x *PullAlertsResponse) Reset()

func (*PullAlertsResponse) String

func (x *PullAlertsResponse) String() string

type PullAlertsResponse_Change

type PullAlertsResponse_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 *Alert `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Alert `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 (*PullAlertsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullAlertsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullAlertsResponse_Change) GetChangeTime

func (x *PullAlertsResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullAlertsResponse_Change) GetName

func (x *PullAlertsResponse_Change) GetName() string

func (*PullAlertsResponse_Change) GetNewValue

func (x *PullAlertsResponse_Change) GetNewValue() *Alert

func (*PullAlertsResponse_Change) GetOldValue

func (x *PullAlertsResponse_Change) GetOldValue() *Alert

func (*PullAlertsResponse_Change) GetType

func (*PullAlertsResponse_Change) ProtoMessage

func (*PullAlertsResponse_Change) ProtoMessage()

func (*PullAlertsResponse_Change) ProtoReflect

func (*PullAlertsResponse_Change) Reset

func (x *PullAlertsResponse_Change) Reset()

func (*PullAlertsResponse_Change) String

func (x *PullAlertsResponse_Change) String() string

type PullButtonStateRequest

type PullButtonStateRequest struct {
	Name     string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// By default, PullButtonState sends the initial ButtonState when the stream opens, followed by changes.
	// Setting updates_only true will disable this behaviour, sending only when the ButtonState changes.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullButtonStateRequest) Descriptor deprecated

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

Deprecated: Use PullButtonStateRequest.ProtoReflect.Descriptor instead.

func (*PullButtonStateRequest) GetName

func (x *PullButtonStateRequest) GetName() string

func (*PullButtonStateRequest) GetReadMask

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

func (*PullButtonStateRequest) GetUpdatesOnly

func (x *PullButtonStateRequest) GetUpdatesOnly() bool

func (*PullButtonStateRequest) ProtoMessage

func (*PullButtonStateRequest) ProtoMessage()

func (*PullButtonStateRequest) ProtoReflect

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

func (*PullButtonStateRequest) Reset

func (x *PullButtonStateRequest) Reset()

func (*PullButtonStateRequest) String

func (x *PullButtonStateRequest) String() string

type PullButtonStateResponse

type PullButtonStateResponse struct {
	Changes []*PullButtonStateResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullButtonStateResponse) Descriptor deprecated

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

Deprecated: Use PullButtonStateResponse.ProtoReflect.Descriptor instead.

func (*PullButtonStateResponse) GetChanges

func (*PullButtonStateResponse) ProtoMessage

func (*PullButtonStateResponse) ProtoMessage()

func (*PullButtonStateResponse) ProtoReflect

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

func (*PullButtonStateResponse) Reset

func (x *PullButtonStateResponse) Reset()

func (*PullButtonStateResponse) String

func (x *PullButtonStateResponse) String() string

type PullButtonStateResponse_Change

type PullButtonStateResponse_Change struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ChangeTime  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	ButtonState *ButtonState           `protobuf:"bytes,3,opt,name=button_state,json=buttonState,proto3" json:"button_state,omitempty"`
	// contains filtered or unexported fields
}

func (*PullButtonStateResponse_Change) Descriptor deprecated

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

Deprecated: Use PullButtonStateResponse_Change.ProtoReflect.Descriptor instead.

func (*PullButtonStateResponse_Change) GetButtonState

func (x *PullButtonStateResponse_Change) GetButtonState() *ButtonState

func (*PullButtonStateResponse_Change) GetChangeTime

func (*PullButtonStateResponse_Change) GetName

func (*PullButtonStateResponse_Change) ProtoMessage

func (*PullButtonStateResponse_Change) ProtoMessage()

func (*PullButtonStateResponse_Change) ProtoReflect

func (*PullButtonStateResponse_Change) Reset

func (x *PullButtonStateResponse_Change) Reset()

func (*PullButtonStateResponse_Change) String

type PullColorRequest

type PullColorRequest 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 color values

func (*PullColorRequest) Descriptor deprecated

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

Deprecated: Use PullColorRequest.ProtoReflect.Descriptor instead.

func (*PullColorRequest) GetExcludeRamping

func (x *PullColorRequest) GetExcludeRamping() bool

func (*PullColorRequest) GetName

func (x *PullColorRequest) GetName() string

func (*PullColorRequest) GetReadMask

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

func (*PullColorRequest) GetUpdatesOnly

func (x *PullColorRequest) GetUpdatesOnly() bool

func (*PullColorRequest) ProtoMessage

func (*PullColorRequest) ProtoMessage()

func (*PullColorRequest) ProtoReflect

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

func (*PullColorRequest) Reset

func (x *PullColorRequest) Reset()

func (*PullColorRequest) String

func (x *PullColorRequest) String() string

type PullColorResponse

type PullColorResponse struct {

	// The list of changes
	Changes []*PullColorResponse_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 color value

func (*PullColorResponse) Descriptor deprecated

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

Deprecated: Use PullColorResponse.ProtoReflect.Descriptor instead.

func (*PullColorResponse) GetChanges

func (x *PullColorResponse) GetChanges() []*PullColorResponse_Change

func (*PullColorResponse) ProtoMessage

func (*PullColorResponse) ProtoMessage()

func (*PullColorResponse) ProtoReflect

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

func (*PullColorResponse) Reset

func (x *PullColorResponse) Reset()

func (*PullColorResponse) String

func (x *PullColorResponse) String() string

type PullColorResponse_Change

type PullColorResponse_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 color
	Color *Color `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
	// contains filtered or unexported fields
}

A change to a single devices color value

func (*PullColorResponse_Change) Descriptor deprecated

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

Deprecated: Use PullColorResponse_Change.ProtoReflect.Descriptor instead.

func (*PullColorResponse_Change) GetChangeTime

func (x *PullColorResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullColorResponse_Change) GetColor

func (x *PullColorResponse_Change) GetColor() *Color

func (*PullColorResponse_Change) GetName

func (x *PullColorResponse_Change) GetName() string

func (*PullColorResponse_Change) ProtoMessage

func (*PullColorResponse_Change) ProtoMessage()

func (*PullColorResponse_Change) ProtoReflect

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

func (*PullColorResponse_Change) Reset

func (x *PullColorResponse_Change) Reset()

func (*PullColorResponse_Change) String

func (x *PullColorResponse_Change) String() string

type PullControlTopicsRequest

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

func (*PullControlTopicsRequest) Descriptor deprecated

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

Deprecated: Use PullControlTopicsRequest.ProtoReflect.Descriptor instead.

func (*PullControlTopicsRequest) GetName

func (x *PullControlTopicsRequest) GetName() string

func (*PullControlTopicsRequest) ProtoMessage

func (*PullControlTopicsRequest) ProtoMessage()

func (*PullControlTopicsRequest) ProtoReflect

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

func (*PullControlTopicsRequest) Reset

func (x *PullControlTopicsRequest) Reset()

func (*PullControlTopicsRequest) String

func (x *PullControlTopicsRequest) String() string

type PullControlTopicsResponse

type PullControlTopicsResponse struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	// contains filtered or unexported fields
}

func (*PullControlTopicsResponse) Descriptor deprecated

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

Deprecated: Use PullControlTopicsResponse.ProtoReflect.Descriptor instead.

func (*PullControlTopicsResponse) GetName

func (x *PullControlTopicsResponse) GetName() string

func (*PullControlTopicsResponse) GetTopics

func (x *PullControlTopicsResponse) GetTopics() []string

func (*PullControlTopicsResponse) ProtoMessage

func (*PullControlTopicsResponse) ProtoMessage()

func (*PullControlTopicsResponse) ProtoReflect

func (*PullControlTopicsResponse) Reset

func (x *PullControlTopicsResponse) Reset()

func (*PullControlTopicsResponse) String

func (x *PullControlTopicsResponse) String() string

type PullCurrentStatusRequest

type PullCurrentStatusRequest struct {

	// The device to get the status of.
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	UpdatesOnly bool                   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCurrentStatusRequest) Descriptor deprecated

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

Deprecated: Use PullCurrentStatusRequest.ProtoReflect.Descriptor instead.

func (*PullCurrentStatusRequest) GetName

func (x *PullCurrentStatusRequest) GetName() string

func (*PullCurrentStatusRequest) GetReadMask

func (*PullCurrentStatusRequest) GetUpdatesOnly

func (x *PullCurrentStatusRequest) GetUpdatesOnly() bool

func (*PullCurrentStatusRequest) ProtoMessage

func (*PullCurrentStatusRequest) ProtoMessage()

func (*PullCurrentStatusRequest) ProtoReflect

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

func (*PullCurrentStatusRequest) Reset

func (x *PullCurrentStatusRequest) Reset()

func (*PullCurrentStatusRequest) String

func (x *PullCurrentStatusRequest) String() string

type PullCurrentStatusResponse

type PullCurrentStatusResponse struct {
	Changes []*PullCurrentStatusResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCurrentStatusResponse) Descriptor deprecated

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

Deprecated: Use PullCurrentStatusResponse.ProtoReflect.Descriptor instead.

func (*PullCurrentStatusResponse) GetChanges

func (*PullCurrentStatusResponse) ProtoMessage

func (*PullCurrentStatusResponse) ProtoMessage()

func (*PullCurrentStatusResponse) ProtoReflect

func (*PullCurrentStatusResponse) Reset

func (x *PullCurrentStatusResponse) Reset()

func (*PullCurrentStatusResponse) String

func (x *PullCurrentStatusResponse) String() string

type PullCurrentStatusResponse_Change

type PullCurrentStatusResponse_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 color
	CurrentStatus *StatusLog `protobuf:"bytes,3,opt,name=current_status,json=currentStatus,proto3" json:"current_status,omitempty"`
	// contains filtered or unexported fields
}

func (*PullCurrentStatusResponse_Change) Descriptor deprecated

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

Deprecated: Use PullCurrentStatusResponse_Change.ProtoReflect.Descriptor instead.

func (*PullCurrentStatusResponse_Change) GetChangeTime

func (*PullCurrentStatusResponse_Change) GetCurrentStatus

func (x *PullCurrentStatusResponse_Change) GetCurrentStatus() *StatusLog

func (*PullCurrentStatusResponse_Change) GetName

func (*PullCurrentStatusResponse_Change) ProtoMessage

func (*PullCurrentStatusResponse_Change) ProtoMessage()

func (*PullCurrentStatusResponse_Change) ProtoReflect

func (*PullCurrentStatusResponse_Change) Reset

func (*PullCurrentStatusResponse_Change) String

type PullDevicesMetadataRequest

type PullDevicesMetadataRequest struct {

	// Fields to fetch relative to the DeviceMetadata type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// Which fields to include in the metadata calculations.
	// If absent DeviceMetadata.field_counts will be empty.
	Includes *DevicesMetadata_Include `protobuf:"bytes,3,opt,name=includes,proto3" json:"includes,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 (*PullDevicesMetadataRequest) Descriptor deprecated

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

Deprecated: Use PullDevicesMetadataRequest.ProtoReflect.Descriptor instead.

func (*PullDevicesMetadataRequest) GetIncludes

func (*PullDevicesMetadataRequest) GetReadMask

func (*PullDevicesMetadataRequest) GetUpdatesOnly

func (x *PullDevicesMetadataRequest) GetUpdatesOnly() bool

func (*PullDevicesMetadataRequest) ProtoMessage

func (*PullDevicesMetadataRequest) ProtoMessage()

func (*PullDevicesMetadataRequest) ProtoReflect

func (*PullDevicesMetadataRequest) Reset

func (x *PullDevicesMetadataRequest) Reset()

func (*PullDevicesMetadataRequest) String

func (x *PullDevicesMetadataRequest) String() string

type PullDevicesMetadataResponse

type PullDevicesMetadataResponse struct {
	Changes []*PullDevicesMetadataResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDevicesMetadataResponse) Descriptor deprecated

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

Deprecated: Use PullDevicesMetadataResponse.ProtoReflect.Descriptor instead.

func (*PullDevicesMetadataResponse) GetChanges

func (*PullDevicesMetadataResponse) ProtoMessage

func (*PullDevicesMetadataResponse) ProtoMessage()

func (*PullDevicesMetadataResponse) ProtoReflect

func (*PullDevicesMetadataResponse) Reset

func (x *PullDevicesMetadataResponse) Reset()

func (*PullDevicesMetadataResponse) String

func (x *PullDevicesMetadataResponse) String() string

type PullDevicesMetadataResponse_Change

type PullDevicesMetadataResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // not currently used
	// The updated devices metadata value.
	DevicesMetadata *DevicesMetadata `protobuf:"bytes,2,opt,name=devices_metadata,json=devicesMetadata,proto3" json:"devices_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 (*PullDevicesMetadataResponse_Change) Descriptor deprecated

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

Deprecated: Use PullDevicesMetadataResponse_Change.ProtoReflect.Descriptor instead.

func (*PullDevicesMetadataResponse_Change) GetChangeTime

func (*PullDevicesMetadataResponse_Change) GetDevicesMetadata

func (x *PullDevicesMetadataResponse_Change) GetDevicesMetadata() *DevicesMetadata

func (*PullDevicesMetadataResponse_Change) GetName

func (*PullDevicesMetadataResponse_Change) ProtoMessage

func (*PullDevicesMetadataResponse_Change) ProtoMessage()

func (*PullDevicesMetadataResponse_Change) ProtoReflect

func (*PullDevicesMetadataResponse_Change) Reset

func (*PullDevicesMetadataResponse_Change) String

type PullDevicesRequest

type PullDevicesRequest struct {

	// Fields to fetch relative to the Device 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"`
	// A query for filtering the devices that will be returned
	Query *Device_Query `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDevicesRequest) Descriptor deprecated

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

Deprecated: Use PullDevicesRequest.ProtoReflect.Descriptor instead.

func (*PullDevicesRequest) GetQuery

func (x *PullDevicesRequest) GetQuery() *Device_Query

func (*PullDevicesRequest) GetReadMask

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

func (*PullDevicesRequest) GetUpdatesOnly

func (x *PullDevicesRequest) GetUpdatesOnly() bool

func (*PullDevicesRequest) ProtoMessage

func (*PullDevicesRequest) ProtoMessage()

func (*PullDevicesRequest) ProtoReflect

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

func (*PullDevicesRequest) Reset

func (x *PullDevicesRequest) Reset()

func (*PullDevicesRequest) String

func (x *PullDevicesRequest) String() string

type PullDevicesResponse

type PullDevicesResponse struct {

	// The list of changes which have occurred
	Changes []*PullDevicesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullDevicesResponse) Descriptor deprecated

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

Deprecated: Use PullDevicesResponse.ProtoReflect.Descriptor instead.

func (*PullDevicesResponse) GetChanges

func (*PullDevicesResponse) ProtoMessage

func (*PullDevicesResponse) ProtoMessage()

func (*PullDevicesResponse) ProtoReflect

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

func (*PullDevicesResponse) Reset

func (x *PullDevicesResponse) Reset()

func (*PullDevicesResponse) String

func (x *PullDevicesResponse) String() string

type PullDevicesResponse_Change

type PullDevicesResponse_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 *Device `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Device `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 (*PullDevicesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullDevicesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullDevicesResponse_Change) GetChangeTime

func (x *PullDevicesResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullDevicesResponse_Change) GetName

func (x *PullDevicesResponse_Change) GetName() string

func (*PullDevicesResponse_Change) GetNewValue

func (x *PullDevicesResponse_Change) GetNewValue() *Device

func (*PullDevicesResponse_Change) GetOldValue

func (x *PullDevicesResponse_Change) GetOldValue() *Device

func (*PullDevicesResponse_Change) GetType

func (*PullDevicesResponse_Change) ProtoMessage

func (*PullDevicesResponse_Change) ProtoMessage()

func (*PullDevicesResponse_Change) ProtoReflect

func (*PullDevicesResponse_Change) Reset

func (x *PullDevicesResponse_Change) Reset()

func (*PullDevicesResponse_Change) String

func (x *PullDevicesResponse_Change) String() string

type PullExportMessagesRequest

type PullExportMessagesRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// When true the last sent message will be sent immediately as the first message in the response stream.
	IncludeLast bool `protobuf:"varint,2,opt,name=include_last,json=includeLast,proto3" json:"include_last,omitempty"`
	// contains filtered or unexported fields
}

func (*PullExportMessagesRequest) Descriptor deprecated

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

Deprecated: Use PullExportMessagesRequest.ProtoReflect.Descriptor instead.

func (*PullExportMessagesRequest) GetIncludeLast

func (x *PullExportMessagesRequest) GetIncludeLast() bool

func (*PullExportMessagesRequest) GetName

func (x *PullExportMessagesRequest) GetName() string

func (*PullExportMessagesRequest) ProtoMessage

func (*PullExportMessagesRequest) ProtoMessage()

func (*PullExportMessagesRequest) ProtoReflect

func (*PullExportMessagesRequest) Reset

func (x *PullExportMessagesRequest) Reset()

func (*PullExportMessagesRequest) String

func (x *PullExportMessagesRequest) String() string

type PullExportMessagesResponse

type PullExportMessagesResponse struct {
	Name    string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Message *MqttMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PullExportMessagesResponse) Descriptor deprecated

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

Deprecated: Use PullExportMessagesResponse.ProtoReflect.Descriptor instead.

func (*PullExportMessagesResponse) GetMessage

func (x *PullExportMessagesResponse) GetMessage() *MqttMessage

func (*PullExportMessagesResponse) GetName

func (x *PullExportMessagesResponse) GetName() string

func (*PullExportMessagesResponse) ProtoMessage

func (*PullExportMessagesResponse) ProtoMessage()

func (*PullExportMessagesResponse) ProtoReflect

func (*PullExportMessagesResponse) Reset

func (x *PullExportMessagesResponse) Reset()

func (*PullExportMessagesResponse) String

func (x *PullExportMessagesResponse) String() string

type PullHubNodesRequest

type PullHubNodesRequest struct {

	// 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 (*PullHubNodesRequest) Descriptor deprecated

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

Deprecated: Use PullHubNodesRequest.ProtoReflect.Descriptor instead.

func (*PullHubNodesRequest) GetUpdatesOnly

func (x *PullHubNodesRequest) GetUpdatesOnly() bool

func (*PullHubNodesRequest) ProtoMessage

func (*PullHubNodesRequest) ProtoMessage()

func (*PullHubNodesRequest) ProtoReflect

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

func (*PullHubNodesRequest) Reset

func (x *PullHubNodesRequest) Reset()

func (*PullHubNodesRequest) String

func (x *PullHubNodesRequest) String() string

type PullHubNodesResponse

type PullHubNodesResponse struct {
	Changes []*PullHubNodesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullHubNodesResponse) Descriptor deprecated

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

Deprecated: Use PullHubNodesResponse.ProtoReflect.Descriptor instead.

func (*PullHubNodesResponse) GetChanges

func (*PullHubNodesResponse) ProtoMessage

func (*PullHubNodesResponse) ProtoMessage()

func (*PullHubNodesResponse) ProtoReflect

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

func (*PullHubNodesResponse) Reset

func (x *PullHubNodesResponse) Reset()

func (*PullHubNodesResponse) String

func (x *PullHubNodesResponse) String() string

type PullHubNodesResponse_Change

type PullHubNodesResponse_Change struct {

	// 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 *HubNode `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *HubNode `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 (*PullHubNodesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullHubNodesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullHubNodesResponse_Change) GetChangeTime

func (*PullHubNodesResponse_Change) GetNewValue

func (x *PullHubNodesResponse_Change) GetNewValue() *HubNode

func (*PullHubNodesResponse_Change) GetOldValue

func (x *PullHubNodesResponse_Change) GetOldValue() *HubNode

func (*PullHubNodesResponse_Change) GetType

func (*PullHubNodesResponse_Change) ProtoMessage

func (*PullHubNodesResponse_Change) ProtoMessage()

func (*PullHubNodesResponse_Change) ProtoReflect

func (*PullHubNodesResponse_Change) Reset

func (x *PullHubNodesResponse_Change) Reset()

func (*PullHubNodesResponse_Change) String

func (x *PullHubNodesResponse_Change) String() string

type PullMessagesRequest

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

func (*PullMessagesRequest) Descriptor deprecated

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

Deprecated: Use PullMessagesRequest.ProtoReflect.Descriptor instead.

func (*PullMessagesRequest) GetName

func (x *PullMessagesRequest) GetName() string

func (*PullMessagesRequest) ProtoMessage

func (*PullMessagesRequest) ProtoMessage()

func (*PullMessagesRequest) ProtoReflect

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

func (*PullMessagesRequest) Reset

func (x *PullMessagesRequest) Reset()

func (*PullMessagesRequest) String

func (x *PullMessagesRequest) String() string

type PullMessagesResponse

type PullMessagesResponse struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Topic   string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // JSON payload
	// contains filtered or unexported fields
}

func (*PullMessagesResponse) Descriptor deprecated

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

Deprecated: Use PullMessagesResponse.ProtoReflect.Descriptor instead.

func (*PullMessagesResponse) GetName

func (x *PullMessagesResponse) GetName() string

func (*PullMessagesResponse) GetPayload

func (x *PullMessagesResponse) GetPayload() string

func (*PullMessagesResponse) GetTopic

func (x *PullMessagesResponse) GetTopic() string

func (*PullMessagesResponse) ProtoMessage

func (*PullMessagesResponse) ProtoMessage()

func (*PullMessagesResponse) ProtoReflect

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

func (*PullMessagesResponse) Reset

func (x *PullMessagesResponse) Reset()

func (*PullMessagesResponse) String

func (x *PullMessagesResponse) String() string

type PullMeterReadingsRequest

type PullMeterReadingsRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	UpdatesOnly bool                   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMeterReadingsRequest) Descriptor deprecated

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

Deprecated: Use PullMeterReadingsRequest.ProtoReflect.Descriptor instead.

func (*PullMeterReadingsRequest) GetName

func (x *PullMeterReadingsRequest) GetName() string

func (*PullMeterReadingsRequest) GetReadMask

func (*PullMeterReadingsRequest) GetUpdatesOnly

func (x *PullMeterReadingsRequest) GetUpdatesOnly() bool

func (*PullMeterReadingsRequest) ProtoMessage

func (*PullMeterReadingsRequest) ProtoMessage()

func (*PullMeterReadingsRequest) ProtoReflect

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

func (*PullMeterReadingsRequest) Reset

func (x *PullMeterReadingsRequest) Reset()

func (*PullMeterReadingsRequest) String

func (x *PullMeterReadingsRequest) String() string

type PullMeterReadingsResponse

type PullMeterReadingsResponse struct {
	Changes []*PullMeterReadingsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMeterReadingsResponse) Descriptor deprecated

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

Deprecated: Use PullMeterReadingsResponse.ProtoReflect.Descriptor instead.

func (*PullMeterReadingsResponse) GetChanges

func (*PullMeterReadingsResponse) ProtoMessage

func (*PullMeterReadingsResponse) ProtoMessage()

func (*PullMeterReadingsResponse) ProtoReflect

func (*PullMeterReadingsResponse) Reset

func (x *PullMeterReadingsResponse) Reset()

func (*PullMeterReadingsResponse) String

func (x *PullMeterReadingsResponse) String() string

type PullMeterReadingsResponse_Change

type PullMeterReadingsResponse_Change struct {
	Name         string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ChangeTime   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	MeterReading *MeterReading          `protobuf:"bytes,3,opt,name=meter_reading,json=meterReading,proto3" json:"meter_reading,omitempty"`
	// contains filtered or unexported fields
}

func (*PullMeterReadingsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullMeterReadingsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullMeterReadingsResponse_Change) GetChangeTime

func (*PullMeterReadingsResponse_Change) GetMeterReading

func (x *PullMeterReadingsResponse_Change) GetMeterReading() *MeterReading

func (*PullMeterReadingsResponse_Change) GetName

func (*PullMeterReadingsResponse_Change) ProtoMessage

func (*PullMeterReadingsResponse_Change) ProtoMessage()

func (*PullMeterReadingsResponse_Change) ProtoReflect

func (*PullMeterReadingsResponse_Change) Reset

func (*PullMeterReadingsResponse_Change) String

type PullSecretRequest

type PullSecretRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	IncludeHash bool   `protobuf:"varint,2,opt,name=include_hash,json=includeHash,proto3" json:"include_hash,omitempty"`
	UpdatesOnly bool   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretRequest) Descriptor deprecated

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

Deprecated: Use PullSecretRequest.ProtoReflect.Descriptor instead.

func (*PullSecretRequest) GetId

func (x *PullSecretRequest) GetId() string

func (*PullSecretRequest) GetIncludeHash

func (x *PullSecretRequest) GetIncludeHash() bool

func (*PullSecretRequest) GetUpdatesOnly

func (x *PullSecretRequest) GetUpdatesOnly() bool

func (*PullSecretRequest) ProtoMessage

func (*PullSecretRequest) ProtoMessage()

func (*PullSecretRequest) ProtoReflect

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

func (*PullSecretRequest) Reset

func (x *PullSecretRequest) Reset()

func (*PullSecretRequest) String

func (x *PullSecretRequest) String() string

type PullSecretResponse

type PullSecretResponse struct {
	Changes []*PullSecretResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretResponse) Descriptor deprecated

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

Deprecated: Use PullSecretResponse.ProtoReflect.Descriptor instead.

func (*PullSecretResponse) GetChanges

func (x *PullSecretResponse) GetChanges() []*PullSecretResponse_Change

func (*PullSecretResponse) ProtoMessage

func (*PullSecretResponse) ProtoMessage()

func (*PullSecretResponse) ProtoReflect

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

func (*PullSecretResponse) Reset

func (x *PullSecretResponse) Reset()

func (*PullSecretResponse) String

func (x *PullSecretResponse) String() string

type PullSecretResponse_Change

type PullSecretResponse_Change struct {
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	Secret     *Secret                `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretResponse_Change) Descriptor deprecated

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

Deprecated: Use PullSecretResponse_Change.ProtoReflect.Descriptor instead.

func (*PullSecretResponse_Change) GetChangeTime

func (x *PullSecretResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullSecretResponse_Change) GetSecret

func (x *PullSecretResponse_Change) GetSecret() *Secret

func (*PullSecretResponse_Change) ProtoMessage

func (*PullSecretResponse_Change) ProtoMessage()

func (*PullSecretResponse_Change) ProtoReflect

func (*PullSecretResponse_Change) Reset

func (x *PullSecretResponse_Change) Reset()

func (*PullSecretResponse_Change) String

func (x *PullSecretResponse_Change) String() string

type PullSecretsRequest

type PullSecretsRequest struct {
	IncludeHash bool `protobuf:"varint,1,opt,name=include_hash,json=includeHash,proto3" json:"include_hash,omitempty"`
	UpdatesOnly bool `protobuf:"varint,2,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretsRequest) Descriptor deprecated

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

Deprecated: Use PullSecretsRequest.ProtoReflect.Descriptor instead.

func (*PullSecretsRequest) GetIncludeHash

func (x *PullSecretsRequest) GetIncludeHash() bool

func (*PullSecretsRequest) GetUpdatesOnly

func (x *PullSecretsRequest) GetUpdatesOnly() bool

func (*PullSecretsRequest) ProtoMessage

func (*PullSecretsRequest) ProtoMessage()

func (*PullSecretsRequest) ProtoReflect

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

func (*PullSecretsRequest) Reset

func (x *PullSecretsRequest) Reset()

func (*PullSecretsRequest) String

func (x *PullSecretsRequest) String() string

type PullSecretsResponse

type PullSecretsResponse struct {
	Changes []*PullSecretsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretsResponse) Descriptor deprecated

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

Deprecated: Use PullSecretsResponse.ProtoReflect.Descriptor instead.

func (*PullSecretsResponse) GetChanges

func (*PullSecretsResponse) ProtoMessage

func (*PullSecretsResponse) ProtoMessage()

func (*PullSecretsResponse) ProtoReflect

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

func (*PullSecretsResponse) Reset

func (x *PullSecretsResponse) Reset()

func (*PullSecretsResponse) String

func (x *PullSecretsResponse) String() string

type PullSecretsResponse_Change

type PullSecretsResponse_Change struct {
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	Secret     *Secret                `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*PullSecretsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullSecretsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullSecretsResponse_Change) GetChangeTime

func (x *PullSecretsResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullSecretsResponse_Change) GetSecret

func (x *PullSecretsResponse_Change) GetSecret() *Secret

func (*PullSecretsResponse_Change) ProtoMessage

func (*PullSecretsResponse_Change) ProtoMessage()

func (*PullSecretsResponse_Change) ProtoReflect

func (*PullSecretsResponse_Change) Reset

func (x *PullSecretsResponse_Change) Reset()

func (*PullSecretsResponse_Change) String

func (x *PullSecretsResponse_Change) String() string

type PullServiceMetadataRequest

type PullServiceMetadataRequest struct {

	// Name of the device managing the services
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If true, only changes to the count are returned, otherwise the current total will be returned immediately.
	UpdatesOnly bool                   `protobuf:"varint,2,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServiceMetadataRequest) Descriptor deprecated

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

Deprecated: Use PullServiceMetadataRequest.ProtoReflect.Descriptor instead.

func (*PullServiceMetadataRequest) GetName

func (x *PullServiceMetadataRequest) GetName() string

func (*PullServiceMetadataRequest) GetReadMask

func (*PullServiceMetadataRequest) GetUpdatesOnly

func (x *PullServiceMetadataRequest) GetUpdatesOnly() bool

func (*PullServiceMetadataRequest) ProtoMessage

func (*PullServiceMetadataRequest) ProtoMessage()

func (*PullServiceMetadataRequest) ProtoReflect

func (*PullServiceMetadataRequest) Reset

func (x *PullServiceMetadataRequest) Reset()

func (*PullServiceMetadataRequest) String

func (x *PullServiceMetadataRequest) String() string

type PullServiceMetadataResponse

type PullServiceMetadataResponse struct {
	Changes []*PullServiceMetadataResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServiceMetadataResponse) Descriptor deprecated

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

Deprecated: Use PullServiceMetadataResponse.ProtoReflect.Descriptor instead.

func (*PullServiceMetadataResponse) GetChanges

func (*PullServiceMetadataResponse) ProtoMessage

func (*PullServiceMetadataResponse) ProtoMessage()

func (*PullServiceMetadataResponse) ProtoReflect

func (*PullServiceMetadataResponse) Reset

func (x *PullServiceMetadataResponse) Reset()

func (*PullServiceMetadataResponse) String

func (x *PullServiceMetadataResponse) String() string

type PullServiceMetadataResponse_Change

type PullServiceMetadataResponse_Change struct {

	// The name of the device that emitted this change
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Information about the services in aggregate.
	Metadata *ServiceMetadata `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 (*PullServiceMetadataResponse_Change) Descriptor deprecated

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

Deprecated: Use PullServiceMetadataResponse_Change.ProtoReflect.Descriptor instead.

func (*PullServiceMetadataResponse_Change) GetChangeTime

func (*PullServiceMetadataResponse_Change) GetMetadata

func (*PullServiceMetadataResponse_Change) GetName

func (*PullServiceMetadataResponse_Change) ProtoMessage

func (*PullServiceMetadataResponse_Change) ProtoMessage()

func (*PullServiceMetadataResponse_Change) ProtoReflect

func (*PullServiceMetadataResponse_Change) Reset

func (*PullServiceMetadataResponse_Change) String

type PullServiceRequest

type PullServiceRequest struct {

	// The name of the device managing the service.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service to get
	Id          string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	UpdatesOnly bool                   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServiceRequest) Descriptor deprecated

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

Deprecated: Use PullServiceRequest.ProtoReflect.Descriptor instead.

func (*PullServiceRequest) GetId

func (x *PullServiceRequest) GetId() string

func (*PullServiceRequest) GetName

func (x *PullServiceRequest) GetName() string

func (*PullServiceRequest) GetReadMask

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

func (*PullServiceRequest) GetUpdatesOnly

func (x *PullServiceRequest) GetUpdatesOnly() bool

func (*PullServiceRequest) ProtoMessage

func (*PullServiceRequest) ProtoMessage()

func (*PullServiceRequest) ProtoReflect

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

func (*PullServiceRequest) Reset

func (x *PullServiceRequest) Reset()

func (*PullServiceRequest) String

func (x *PullServiceRequest) String() string

type PullServiceResponse

type PullServiceResponse struct {
	Changes []*PullServiceResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServiceResponse) Descriptor deprecated

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

Deprecated: Use PullServiceResponse.ProtoReflect.Descriptor instead.

func (*PullServiceResponse) GetChanges

func (*PullServiceResponse) ProtoMessage

func (*PullServiceResponse) ProtoMessage()

func (*PullServiceResponse) ProtoReflect

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

func (*PullServiceResponse) Reset

func (x *PullServiceResponse) Reset()

func (*PullServiceResponse) String

func (x *PullServiceResponse) String() string

type PullServiceResponse_Change

type PullServiceResponse_Change struct {

	// The name of the device managing the service.
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Service    *Service               `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServiceResponse_Change) Descriptor deprecated

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

Deprecated: Use PullServiceResponse_Change.ProtoReflect.Descriptor instead.

func (*PullServiceResponse_Change) GetChangeTime

func (x *PullServiceResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullServiceResponse_Change) GetName

func (x *PullServiceResponse_Change) GetName() string

func (*PullServiceResponse_Change) GetService

func (x *PullServiceResponse_Change) GetService() *Service

func (*PullServiceResponse_Change) ProtoMessage

func (*PullServiceResponse_Change) ProtoMessage()

func (*PullServiceResponse_Change) ProtoReflect

func (*PullServiceResponse_Change) Reset

func (x *PullServiceResponse_Change) Reset()

func (*PullServiceResponse_Change) String

func (x *PullServiceResponse_Change) String() string

type PullServicesRequest

type PullServicesRequest struct {

	// Name of the device that manages the services
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Fields to fetch relative to the Service type
	ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	// When true, don't send the initial data. Only send a response when changes have happened.
	UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServicesRequest) Descriptor deprecated

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

Deprecated: Use PullServicesRequest.ProtoReflect.Descriptor instead.

func (*PullServicesRequest) GetName

func (x *PullServicesRequest) GetName() string

func (*PullServicesRequest) GetReadMask

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

func (*PullServicesRequest) GetUpdatesOnly

func (x *PullServicesRequest) GetUpdatesOnly() bool

func (*PullServicesRequest) ProtoMessage

func (*PullServicesRequest) ProtoMessage()

func (*PullServicesRequest) ProtoReflect

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

func (*PullServicesRequest) Reset

func (x *PullServicesRequest) Reset()

func (*PullServicesRequest) String

func (x *PullServicesRequest) String() string

type PullServicesResponse

type PullServicesResponse struct {

	// The list of changes which have occurred
	Changes []*PullServicesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullServicesResponse) Descriptor deprecated

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

Deprecated: Use PullServicesResponse.ProtoReflect.Descriptor instead.

func (*PullServicesResponse) GetChanges

func (*PullServicesResponse) ProtoMessage

func (*PullServicesResponse) ProtoMessage()

func (*PullServicesResponse) ProtoReflect

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

func (*PullServicesResponse) Reset

func (x *PullServicesResponse) Reset()

func (*PullServicesResponse) String

func (x *PullServicesResponse) String() string

type PullServicesResponse_Change

type PullServicesResponse_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 *Service `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// The old value to use for UPDATE|REMOVE changes
	OldValue *Service `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 (*PullServicesResponse_Change) Descriptor deprecated

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

Deprecated: Use PullServicesResponse_Change.ProtoReflect.Descriptor instead.

func (*PullServicesResponse_Change) GetChangeTime

func (*PullServicesResponse_Change) GetName

func (x *PullServicesResponse_Change) GetName() string

func (*PullServicesResponse_Change) GetNewValue

func (x *PullServicesResponse_Change) GetNewValue() *Service

func (*PullServicesResponse_Change) GetOldValue

func (x *PullServicesResponse_Change) GetOldValue() *Service

func (*PullServicesResponse_Change) GetType

func (*PullServicesResponse_Change) ProtoMessage

func (*PullServicesResponse_Change) ProtoMessage()

func (*PullServicesResponse_Change) ProtoReflect

func (*PullServicesResponse_Change) Reset

func (x *PullServicesResponse_Change) Reset()

func (*PullServicesResponse_Change) String

func (x *PullServicesResponse_Change) String() string

type PullTemperatureRequest

type PullTemperatureRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
	UpdatesOnly bool                   `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTemperatureRequest) Descriptor deprecated

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

Deprecated: Use PullTemperatureRequest.ProtoReflect.Descriptor instead.

func (*PullTemperatureRequest) GetName

func (x *PullTemperatureRequest) GetName() string

func (*PullTemperatureRequest) GetReadMask

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

func (*PullTemperatureRequest) GetUpdatesOnly

func (x *PullTemperatureRequest) GetUpdatesOnly() bool

func (*PullTemperatureRequest) ProtoMessage

func (*PullTemperatureRequest) ProtoMessage()

func (*PullTemperatureRequest) ProtoReflect

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

func (*PullTemperatureRequest) Reset

func (x *PullTemperatureRequest) Reset()

func (*PullTemperatureRequest) String

func (x *PullTemperatureRequest) String() string

type PullTemperatureResponse

type PullTemperatureResponse struct {
	Changes []*PullTemperatureResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTemperatureResponse) Descriptor deprecated

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

Deprecated: Use PullTemperatureResponse.ProtoReflect.Descriptor instead.

func (*PullTemperatureResponse) GetChanges

func (*PullTemperatureResponse) ProtoMessage

func (*PullTemperatureResponse) ProtoMessage()

func (*PullTemperatureResponse) ProtoReflect

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

func (*PullTemperatureResponse) Reset

func (x *PullTemperatureResponse) Reset()

func (*PullTemperatureResponse) String

func (x *PullTemperatureResponse) String() string

type PullTemperatureResponse_Change

type PullTemperatureResponse_Change struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ChangeTime  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	Temperature *Temperature           `protobuf:"bytes,3,opt,name=temperature,proto3" json:"temperature,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTemperatureResponse_Change) Descriptor deprecated

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

Deprecated: Use PullTemperatureResponse_Change.ProtoReflect.Descriptor instead.

func (*PullTemperatureResponse_Change) GetChangeTime

func (*PullTemperatureResponse_Change) GetName

func (*PullTemperatureResponse_Change) GetTemperature

func (x *PullTemperatureResponse_Change) GetTemperature() *Temperature

func (*PullTemperatureResponse_Change) ProtoMessage

func (*PullTemperatureResponse_Change) ProtoMessage()

func (*PullTemperatureResponse_Change) ProtoReflect

func (*PullTemperatureResponse_Change) Reset

func (x *PullTemperatureResponse_Change) Reset()

func (*PullTemperatureResponse_Change) String

type PullTenantRequest

type PullTenantRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UpdatesOnly bool   `protobuf:"varint,2,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantRequest) Descriptor deprecated

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

Deprecated: Use PullTenantRequest.ProtoReflect.Descriptor instead.

func (*PullTenantRequest) GetId

func (x *PullTenantRequest) GetId() string

func (*PullTenantRequest) GetUpdatesOnly

func (x *PullTenantRequest) GetUpdatesOnly() bool

func (*PullTenantRequest) ProtoMessage

func (*PullTenantRequest) ProtoMessage()

func (*PullTenantRequest) ProtoReflect

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

func (*PullTenantRequest) Reset

func (x *PullTenantRequest) Reset()

func (*PullTenantRequest) String

func (x *PullTenantRequest) String() string

type PullTenantResponse

type PullTenantResponse struct {
	Changes []*PullTenantResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantResponse) Descriptor deprecated

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

Deprecated: Use PullTenantResponse.ProtoReflect.Descriptor instead.

func (*PullTenantResponse) GetChanges

func (x *PullTenantResponse) GetChanges() []*PullTenantResponse_Change

func (*PullTenantResponse) ProtoMessage

func (*PullTenantResponse) ProtoMessage()

func (*PullTenantResponse) ProtoReflect

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

func (*PullTenantResponse) Reset

func (x *PullTenantResponse) Reset()

func (*PullTenantResponse) String

func (x *PullTenantResponse) String() string

type PullTenantResponse_Change

type PullTenantResponse_Change struct {
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	Tenant     *Tenant                `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantResponse_Change) Descriptor deprecated

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

Deprecated: Use PullTenantResponse_Change.ProtoReflect.Descriptor instead.

func (*PullTenantResponse_Change) GetChangeTime

func (x *PullTenantResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullTenantResponse_Change) GetTenant

func (x *PullTenantResponse_Change) GetTenant() *Tenant

func (*PullTenantResponse_Change) ProtoMessage

func (*PullTenantResponse_Change) ProtoMessage()

func (*PullTenantResponse_Change) ProtoReflect

func (*PullTenantResponse_Change) Reset

func (x *PullTenantResponse_Change) Reset()

func (*PullTenantResponse_Change) String

func (x *PullTenantResponse_Change) String() string

type PullTenantsRequest

type PullTenantsRequest struct {
	UpdatesOnly bool `protobuf:"varint,1,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantsRequest) Descriptor deprecated

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

Deprecated: Use PullTenantsRequest.ProtoReflect.Descriptor instead.

func (*PullTenantsRequest) GetUpdatesOnly

func (x *PullTenantsRequest) GetUpdatesOnly() bool

func (*PullTenantsRequest) ProtoMessage

func (*PullTenantsRequest) ProtoMessage()

func (*PullTenantsRequest) ProtoReflect

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

func (*PullTenantsRequest) Reset

func (x *PullTenantsRequest) Reset()

func (*PullTenantsRequest) String

func (x *PullTenantsRequest) String() string

type PullTenantsResponse

type PullTenantsResponse struct {
	Changes []*PullTenantsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantsResponse) Descriptor deprecated

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

Deprecated: Use PullTenantsResponse.ProtoReflect.Descriptor instead.

func (*PullTenantsResponse) GetChanges

func (*PullTenantsResponse) ProtoMessage

func (*PullTenantsResponse) ProtoMessage()

func (*PullTenantsResponse) ProtoReflect

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

func (*PullTenantsResponse) Reset

func (x *PullTenantsResponse) Reset()

func (*PullTenantsResponse) String

func (x *PullTenantsResponse) String() string

type PullTenantsResponse_Change

type PullTenantsResponse_Change struct {
	ChangeTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"`
	Tenant     *Tenant                `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*PullTenantsResponse_Change) Descriptor deprecated

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

Deprecated: Use PullTenantsResponse_Change.ProtoReflect.Descriptor instead.

func (*PullTenantsResponse_Change) GetChangeTime

func (x *PullTenantsResponse_Change) GetChangeTime() *timestamppb.Timestamp

func (*PullTenantsResponse_Change) GetTenant

func (x *PullTenantsResponse_Change) GetTenant() *Tenant

func (*PullTenantsResponse_Change) ProtoMessage

func (*PullTenantsResponse_Change) ProtoMessage()

func (*PullTenantsResponse_Change) ProtoReflect

func (*PullTenantsResponse_Change) Reset

func (x *PullTenantsResponse_Change) Reset()

func (*PullTenantsResponse_Change) String

func (x *PullTenantsResponse_Change) String() string

type RegenerateSecretRequest

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

func (*RegenerateSecretRequest) Descriptor deprecated

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

Deprecated: Use RegenerateSecretRequest.ProtoReflect.Descriptor instead.

func (*RegenerateSecretRequest) GetId

func (x *RegenerateSecretRequest) GetId() string

func (*RegenerateSecretRequest) ProtoMessage

func (*RegenerateSecretRequest) ProtoMessage()

func (*RegenerateSecretRequest) ProtoReflect

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

func (*RegenerateSecretRequest) Reset

func (x *RegenerateSecretRequest) Reset()

func (*RegenerateSecretRequest) String

func (x *RegenerateSecretRequest) String() string

type RemoveFromGroupRequest

type RemoveFromGroupRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Group int32  `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveFromGroupRequest) Descriptor deprecated

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

Deprecated: Use RemoveFromGroupRequest.ProtoReflect.Descriptor instead.

func (*RemoveFromGroupRequest) GetGroup

func (x *RemoveFromGroupRequest) GetGroup() int32

func (*RemoveFromGroupRequest) GetName

func (x *RemoveFromGroupRequest) GetName() string

func (*RemoveFromGroupRequest) ProtoMessage

func (*RemoveFromGroupRequest) ProtoMessage()

func (*RemoveFromGroupRequest) ProtoReflect

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

func (*RemoveFromGroupRequest) Reset

func (x *RemoveFromGroupRequest) Reset()

func (*RemoveFromGroupRequest) String

func (x *RemoveFromGroupRequest) String() string

type RemoveFromGroupResponse

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

func (*RemoveFromGroupResponse) Descriptor deprecated

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

Deprecated: Use RemoveFromGroupResponse.ProtoReflect.Descriptor instead.

func (*RemoveFromGroupResponse) ProtoMessage

func (*RemoveFromGroupResponse) ProtoMessage()

func (*RemoveFromGroupResponse) ProtoReflect

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

func (*RemoveFromGroupResponse) Reset

func (x *RemoveFromGroupResponse) Reset()

func (*RemoveFromGroupResponse) String

func (x *RemoveFromGroupResponse) String() string

type RemoveTenantZonesRequest

type RemoveTenantZonesRequest struct {
	TenantId        string   `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	RemoveZoneNames []string `protobuf:"bytes,3,rep,name=remove_zone_names,json=removeZoneNames,proto3" json:"remove_zone_names,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTenantZonesRequest) Descriptor deprecated

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

Deprecated: Use RemoveTenantZonesRequest.ProtoReflect.Descriptor instead.

func (*RemoveTenantZonesRequest) GetRemoveZoneNames

func (x *RemoveTenantZonesRequest) GetRemoveZoneNames() []string

func (*RemoveTenantZonesRequest) GetTenantId

func (x *RemoveTenantZonesRequest) GetTenantId() string

func (*RemoveTenantZonesRequest) ProtoMessage

func (*RemoveTenantZonesRequest) ProtoMessage()

func (*RemoveTenantZonesRequest) ProtoReflect

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

func (*RemoveTenantZonesRequest) Reset

func (x *RemoveTenantZonesRequest) Reset()

func (*RemoveTenantZonesRequest) String

func (x *RemoveTenantZonesRequest) String() string

type RenewHubNodeRequest

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

func (*RenewHubNodeRequest) Descriptor deprecated

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

Deprecated: Use RenewHubNodeRequest.ProtoReflect.Descriptor instead.

func (*RenewHubNodeRequest) GetAddress

func (x *RenewHubNodeRequest) GetAddress() string

func (*RenewHubNodeRequest) ProtoMessage

func (*RenewHubNodeRequest) ProtoMessage()

func (*RenewHubNodeRequest) ProtoReflect

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

func (*RenewHubNodeRequest) Reset

func (x *RenewHubNodeRequest) Reset()

func (*RenewHubNodeRequest) String

func (x *RenewHubNodeRequest) String() string

type ReportCSV

type ReportCSV struct {
	Csv []byte `protobuf:"bytes,1,opt,name=csv,proto3" json:"csv,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportCSV) Descriptor deprecated

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

Deprecated: Use ReportCSV.ProtoReflect.Descriptor instead.

func (*ReportCSV) GetCsv

func (x *ReportCSV) GetCsv() []byte

func (*ReportCSV) ProtoMessage

func (*ReportCSV) ProtoMessage()

func (*ReportCSV) ProtoReflect

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

func (*ReportCSV) Reset

func (x *ReportCSV) Reset()

func (*ReportCSV) String

func (x *ReportCSV) String() string

type ResolveAlertRequest

type ResolveAlertRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The alert to resolve.
	// One of Alert.id or Alert.source must be present.
	// Prefers Alert.id to find the alert to resolve, if not will apply to the most recent alert matching Alert.source.
	Alert *Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty"`
	// When true, resolving an alert that does not exist will not result in an error.
	AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveAlertRequest) Descriptor deprecated

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

Deprecated: Use ResolveAlertRequest.ProtoReflect.Descriptor instead.

func (*ResolveAlertRequest) GetAlert

func (x *ResolveAlertRequest) GetAlert() *Alert

func (*ResolveAlertRequest) GetAllowMissing

func (x *ResolveAlertRequest) GetAllowMissing() bool

func (*ResolveAlertRequest) GetName

func (x *ResolveAlertRequest) GetName() string

func (*ResolveAlertRequest) ProtoMessage

func (*ResolveAlertRequest) ProtoMessage()

func (*ResolveAlertRequest) ProtoReflect

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

func (*ResolveAlertRequest) Reset

func (x *ResolveAlertRequest) Reset()

func (*ResolveAlertRequest) String

func (x *ResolveAlertRequest) String() string

type SaveQRCredentialRequest

type SaveQRCredentialRequest struct {

	// The name of the driver instance
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The number that is encoded into the card
	CardNumber uint64 `protobuf:"varint,2,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"`
	// The name of the card holder
	FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// Times when the card is active between.
	ActiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=active_time,json=activeTime,proto3" json:"active_time,omitempty"`
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveQRCredentialRequest) Descriptor deprecated

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

Deprecated: Use SaveQRCredentialRequest.ProtoReflect.Descriptor instead.

func (*SaveQRCredentialRequest) GetActiveTime

func (x *SaveQRCredentialRequest) GetActiveTime() *timestamppb.Timestamp

func (*SaveQRCredentialRequest) GetCardNumber

func (x *SaveQRCredentialRequest) GetCardNumber() uint64

func (*SaveQRCredentialRequest) GetExpireTime

func (x *SaveQRCredentialRequest) GetExpireTime() *timestamppb.Timestamp

func (*SaveQRCredentialRequest) GetFirstName

func (x *SaveQRCredentialRequest) GetFirstName() string

func (*SaveQRCredentialRequest) GetLastName

func (x *SaveQRCredentialRequest) GetLastName() string

func (*SaveQRCredentialRequest) GetName

func (x *SaveQRCredentialRequest) GetName() string

func (*SaveQRCredentialRequest) ProtoMessage

func (*SaveQRCredentialRequest) ProtoMessage()

func (*SaveQRCredentialRequest) ProtoReflect

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

func (*SaveQRCredentialRequest) Reset

func (x *SaveQRCredentialRequest) Reset()

func (*SaveQRCredentialRequest) String

func (x *SaveQRCredentialRequest) String() string

type SaveQRCredentialResponse

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

func (*SaveQRCredentialResponse) Descriptor deprecated

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

Deprecated: Use SaveQRCredentialResponse.ProtoReflect.Descriptor instead.

func (*SaveQRCredentialResponse) ProtoMessage

func (*SaveQRCredentialResponse) ProtoMessage()

func (*SaveQRCredentialResponse) ProtoReflect

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

func (*SaveQRCredentialResponse) Reset

func (x *SaveQRCredentialResponse) Reset()

func (*SaveQRCredentialResponse) String

func (x *SaveQRCredentialResponse) String() string

type Secret

type Secret struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The tenant the secret is associated with.
	// On output, by default only id and title will be populated.
	// On input, only populate id, which must correspond to an existing tenant.
	Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// A hash of the secret string.
	// Output only.
	SecretHash []byte `protobuf:"bytes,3,opt,name=secret_hash,json=secretHash,proto3" json:"secret_hash,omitempty"`
	// The secret string that the tenant can use to authenticate themself.
	// Output only. Only present once, returned from CreateSecret or RegenerateSecret.
	Secret       string                 `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Note         string                 `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	CreateTime   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	ExpireTime   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // absent if there isn't one
	FirstUseTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=first_use_time,json=firstUseTime,proto3" json:"first_use_time,omitempty"`
	LastUseTime  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_use_time,json=lastUseTime,proto3" json:"last_use_time,omitempty"`
	// Used to avoid read-modify-write conflicts
	Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*Secret) Descriptor deprecated

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetCreateTime

func (x *Secret) GetCreateTime() *timestamppb.Timestamp

func (*Secret) GetEtag

func (x *Secret) GetEtag() string

func (*Secret) GetExpireTime

func (x *Secret) GetExpireTime() *timestamppb.Timestamp

func (*Secret) GetFirstUseTime

func (x *Secret) GetFirstUseTime() *timestamppb.Timestamp

func (*Secret) GetId

func (x *Secret) GetId() string

func (*Secret) GetLastUseTime

func (x *Secret) GetLastUseTime() *timestamppb.Timestamp

func (*Secret) GetNote

func (x *Secret) GetNote() string

func (*Secret) GetSecret

func (x *Secret) GetSecret() string

func (*Secret) GetSecretHash

func (x *Secret) GetSecretHash() []byte

func (*Secret) GetTenant

func (x *Secret) GetTenant() *Tenant

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

type Service

type Service struct {

	// The unique id for this service.
	// If the service collection only supports one instance of each type, like configured services, then the id is
	// equal to the service type.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of service.
	// Required, written on create.
	// For example for driver services this might be "bacnet".
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Whether the service is active or inactive, i.e. running or stopped.
	// Writable only during create, use StartService or StopService to update.
	Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	// The time the service was last inactive
	// Output only.
	LastInactiveTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_inactive_time,json=lastInactiveTime,proto3" json:"last_inactive_time,omitempty"`
	// The time the service was last active
	// Output only.
	LastActiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_active_time,json=lastActiveTime,proto3" json:"last_active_time,omitempty"`
	// Whether the service is currently applying changes from a recent config update.
	// Output only.
	Loading bool `protobuf:"varint,6,opt,name=loading,proto3" json:"loading,omitempty"`
	// The time the service last started loading
	// Output only.
	LastLoadingStartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_loading_start_time,json=lastLoadingStartTime,proto3" json:"last_loading_start_time,omitempty"`
	// The time the service last completed loading
	// Output only.
	LastLoadingEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_loading_end_time,json=lastLoadingEndTime,proto3" json:"last_loading_end_time,omitempty"`
	// Any error that occurred while loading.
	// Output only.
	Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// The time the service last recorded an error
	// Output only.
	LastErrorTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_error_time,json=lastErrorTime,proto3" json:"last_error_time,omitempty"`
	// Encoded config data for the service, typically a JSON string, but check the docs for each type of service to be sure.
	// Writable only during create, use ConfigureService to update.
	ConfigRaw string `protobuf:"bytes,11,opt,name=config_raw,json=configRaw,proto3" json:"config_raw,omitempty"`
	// The time the service last accepted configuration
	// Output only.
	LastConfigTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_config_time,json=lastConfigTime,proto3" json:"last_config_time,omitempty"`
	// A count of how many times the service has failed to start.
	// Reset on stop or config update.
	FailedAttempts int32 `protobuf:"varint,13,opt,name=failed_attempts,json=failedAttempts,proto3" json:"failed_attempts,omitempty"`
	// If the service is failing and retries are enabled, contains the time the next attempt will be made.
	NextAttemptTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=next_attempt_time,json=nextAttemptTime,proto3" json:"next_attempt_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetActive

func (x *Service) GetActive() bool

func (*Service) GetConfigRaw

func (x *Service) GetConfigRaw() string

func (*Service) GetError

func (x *Service) GetError() string

func (*Service) GetFailedAttempts

func (x *Service) GetFailedAttempts() int32

func (*Service) GetId

func (x *Service) GetId() string

func (*Service) GetLastActiveTime

func (x *Service) GetLastActiveTime() *timestamppb.Timestamp

func (*Service) GetLastConfigTime

func (x *Service) GetLastConfigTime() *timestamppb.Timestamp

func (*Service) GetLastErrorTime

func (x *Service) GetLastErrorTime() *timestamppb.Timestamp

func (*Service) GetLastInactiveTime

func (x *Service) GetLastInactiveTime() *timestamppb.Timestamp

func (*Service) GetLastLoadingEndTime

func (x *Service) GetLastLoadingEndTime() *timestamppb.Timestamp

func (*Service) GetLastLoadingStartTime

func (x *Service) GetLastLoadingStartTime() *timestamppb.Timestamp

func (*Service) GetLoading

func (x *Service) GetLoading() bool

func (*Service) GetNextAttemptTime

func (x *Service) GetNextAttemptTime() *timestamppb.Timestamp

func (*Service) GetType

func (x *Service) GetType() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceMetadata

type ServiceMetadata struct {
	TotalCount uint32            `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	TypeCounts map[string]uint32 `` /* 180-byte string literal not displayed */
	// The total number of active services, services whose active property is true.
	TotalActiveCount uint32 `protobuf:"varint,3,opt,name=total_active_count,json=totalActiveCount,proto3" json:"total_active_count,omitempty"`
	// The total number of services who are inactive due to error.
	TotalErrorCount uint32 `protobuf:"varint,4,opt,name=total_error_count,json=totalErrorCount,proto3" json:"total_error_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceMetadata) Descriptor deprecated

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

Deprecated: Use ServiceMetadata.ProtoReflect.Descriptor instead.

func (*ServiceMetadata) GetTotalActiveCount

func (x *ServiceMetadata) GetTotalActiveCount() uint32

func (*ServiceMetadata) GetTotalCount

func (x *ServiceMetadata) GetTotalCount() uint32

func (*ServiceMetadata) GetTotalErrorCount

func (x *ServiceMetadata) GetTotalErrorCount() uint32

func (*ServiceMetadata) GetTypeCounts

func (x *ServiceMetadata) GetTypeCounts() map[string]uint32

func (*ServiceMetadata) ProtoMessage

func (*ServiceMetadata) ProtoMessage()

func (*ServiceMetadata) ProtoReflect

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

func (*ServiceMetadata) Reset

func (x *ServiceMetadata) Reset()

func (*ServiceMetadata) String

func (x *ServiceMetadata) String() string

type ServicesApiClient

type ServicesApiClient interface {
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	PullService(ctx context.Context, in *PullServiceRequest, opts ...grpc.CallOption) (ServicesApi_PullServiceClient, error)
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error)
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*Service, error)
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	PullServices(ctx context.Context, in *PullServicesRequest, opts ...grpc.CallOption) (ServicesApi_PullServicesClient, error)
	StartService(ctx context.Context, in *StartServiceRequest, opts ...grpc.CallOption) (*Service, error)
	ConfigureService(ctx context.Context, in *ConfigureServiceRequest, opts ...grpc.CallOption) (*Service, error)
	StopService(ctx context.Context, in *StopServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Get service metadata: how many service are there, what types exist, etc.
	GetServiceMetadata(ctx context.Context, in *GetServiceMetadataRequest, opts ...grpc.CallOption) (*ServiceMetadata, error)
	PullServiceMetadata(ctx context.Context, in *PullServiceMetadataRequest, opts ...grpc.CallOption) (ServicesApi_PullServiceMetadataClient, error)
}

ServicesApiClient is the client API for ServicesApi 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 WrapServicesApi

func WrapServicesApi(server ServicesApiServer) ServicesApiClient

WrapServicesApi adapts a ServicesApiServer and presents it as a ServicesApiClient

type ServicesApiRouter

type ServicesApiRouter struct {
	UnimplementedServicesApiServer

	router.Router
}

ServicesApiRouter is a ServicesApiServer that allows routing named requests to specific ServicesApiClient

func NewServicesApiRouter

func NewServicesApiRouter(opts ...router.Option) *ServicesApiRouter

func (*ServicesApiRouter) Add

func (r *ServicesApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type ServicesApiClient.

func (*ServicesApiRouter) AddServicesApiClient

func (r *ServicesApiRouter) AddServicesApiClient(name string, client ServicesApiClient) ServicesApiClient

func (*ServicesApiRouter) ConfigureService

func (r *ServicesApiRouter) ConfigureService(ctx context.Context, request *ConfigureServiceRequest) (*Service, error)

func (*ServicesApiRouter) CreateService

func (r *ServicesApiRouter) CreateService(ctx context.Context, request *CreateServiceRequest) (*Service, error)

func (*ServicesApiRouter) DeleteService

func (r *ServicesApiRouter) DeleteService(ctx context.Context, request *DeleteServiceRequest) (*Service, error)

func (*ServicesApiRouter) GetService

func (r *ServicesApiRouter) GetService(ctx context.Context, request *GetServiceRequest) (*Service, error)

func (*ServicesApiRouter) GetServiceMetadata

func (r *ServicesApiRouter) GetServiceMetadata(ctx context.Context, request *GetServiceMetadataRequest) (*ServiceMetadata, error)

func (*ServicesApiRouter) GetServicesApiClient

func (r *ServicesApiRouter) GetServicesApiClient(name string) (ServicesApiClient, error)

func (*ServicesApiRouter) HoldsType

func (r *ServicesApiRouter) HoldsType(client any) bool

func (*ServicesApiRouter) ListServices

func (*ServicesApiRouter) PullService

func (*ServicesApiRouter) PullServiceMetadata

func (*ServicesApiRouter) PullServices

func (*ServicesApiRouter) Register

func (r *ServicesApiRouter) Register(server *grpc.Server)

func (*ServicesApiRouter) RemoveServicesApiClient

func (r *ServicesApiRouter) RemoveServicesApiClient(name string) ServicesApiClient

func (*ServicesApiRouter) StartService

func (r *ServicesApiRouter) StartService(ctx context.Context, request *StartServiceRequest) (*Service, error)

func (*ServicesApiRouter) StopService

func (r *ServicesApiRouter) StopService(ctx context.Context, request *StopServiceRequest) (*Service, error)

type ServicesApiServer

type ServicesApiServer interface {
	GetService(context.Context, *GetServiceRequest) (*Service, error)
	PullService(*PullServiceRequest, ServicesApi_PullServiceServer) error
	CreateService(context.Context, *CreateServiceRequest) (*Service, error)
	DeleteService(context.Context, *DeleteServiceRequest) (*Service, error)
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	PullServices(*PullServicesRequest, ServicesApi_PullServicesServer) error
	StartService(context.Context, *StartServiceRequest) (*Service, error)
	ConfigureService(context.Context, *ConfigureServiceRequest) (*Service, error)
	StopService(context.Context, *StopServiceRequest) (*Service, error)
	// Get service metadata: how many service are there, what types exist, etc.
	GetServiceMetadata(context.Context, *GetServiceMetadataRequest) (*ServiceMetadata, error)
	PullServiceMetadata(*PullServiceMetadataRequest, ServicesApi_PullServiceMetadataServer) error
	// contains filtered or unexported methods
}

ServicesApiServer is the server API for ServicesApi service. All implementations must embed UnimplementedServicesApiServer for forward compatibility

type ServicesApi_PullServiceClient

type ServicesApi_PullServiceClient interface {
	Recv() (*PullServiceResponse, error)
	grpc.ClientStream
}

type ServicesApi_PullServiceMetadataClient

type ServicesApi_PullServiceMetadataClient interface {
	Recv() (*PullServiceMetadataResponse, error)
	grpc.ClientStream
}

type ServicesApi_PullServiceMetadataServer

type ServicesApi_PullServiceMetadataServer interface {
	Send(*PullServiceMetadataResponse) error
	grpc.ServerStream
}

type ServicesApi_PullServiceServer

type ServicesApi_PullServiceServer interface {
	Send(*PullServiceResponse) error
	grpc.ServerStream
}

type ServicesApi_PullServicesClient

type ServicesApi_PullServicesClient interface {
	Recv() (*PullServicesResponse, error)
	grpc.ClientStream
}

type ServicesApi_PullServicesServer

type ServicesApi_PullServicesServer interface {
	Send(*PullServicesResponse) error
	grpc.ServerStream
}

type StartServiceRequest

type StartServiceRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Unless true, starting a service that is already ACTIVE will return a PreconditionFailed error.
	AllowActive bool `protobuf:"varint,3,opt,name=allow_active,json=allowActive,proto3" json:"allow_active,omitempty"`
	// contains filtered or unexported fields
}

func (*StartServiceRequest) Descriptor deprecated

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

Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead.

func (*StartServiceRequest) GetAllowActive

func (x *StartServiceRequest) GetAllowActive() bool

func (*StartServiceRequest) GetId

func (x *StartServiceRequest) GetId() string

func (*StartServiceRequest) GetName

func (x *StartServiceRequest) GetName() string

func (*StartServiceRequest) ProtoMessage

func (*StartServiceRequest) ProtoMessage()

func (*StartServiceRequest) ProtoReflect

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

func (*StartServiceRequest) Reset

func (x *StartServiceRequest) Reset()

func (*StartServiceRequest) String

func (x *StartServiceRequest) String() string

type StartTestRequest

type StartTestRequest struct {
	Name string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Test EmergencyStatus_Test `protobuf:"varint,2,opt,name=test,proto3,enum=smartcore.bos.driver.dali.EmergencyStatus_Test" json:"test,omitempty"`
	// contains filtered or unexported fields
}

func (*StartTestRequest) Descriptor deprecated

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

Deprecated: Use StartTestRequest.ProtoReflect.Descriptor instead.

func (*StartTestRequest) GetName

func (x *StartTestRequest) GetName() string

func (*StartTestRequest) GetTest

func (*StartTestRequest) ProtoMessage

func (*StartTestRequest) ProtoMessage()

func (*StartTestRequest) ProtoReflect

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

func (*StartTestRequest) Reset

func (x *StartTestRequest) Reset()

func (*StartTestRequest) String

func (x *StartTestRequest) String() string

type StartTestResponse

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

func (*StartTestResponse) Descriptor deprecated

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

Deprecated: Use StartTestResponse.ProtoReflect.Descriptor instead.

func (*StartTestResponse) ProtoMessage

func (*StartTestResponse) ProtoMessage()

func (*StartTestResponse) ProtoReflect

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

func (*StartTestResponse) Reset

func (x *StartTestResponse) Reset()

func (*StartTestResponse) String

func (x *StartTestResponse) String() string

type StatusApiClient

type StatusApiClient interface {
	GetCurrentStatus(ctx context.Context, in *GetCurrentStatusRequest, opts ...grpc.CallOption) (*StatusLog, error)
	PullCurrentStatus(ctx context.Context, in *PullCurrentStatusRequest, opts ...grpc.CallOption) (StatusApi_PullCurrentStatusClient, error)
}

StatusApiClient is the client API for StatusApi 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 NewStatusApiClient

func NewStatusApiClient(cc grpc.ClientConnInterface) StatusApiClient

func WrapStatusApi

func WrapStatusApi(server StatusApiServer) StatusApiClient

WrapStatusApi adapts a StatusApiServer and presents it as a StatusApiClient

type StatusApiRouter

type StatusApiRouter struct {
	UnimplementedStatusApiServer

	router.Router
}

StatusApiRouter is a StatusApiServer that allows routing named requests to specific StatusApiClient

func NewStatusApiRouter

func NewStatusApiRouter(opts ...router.Option) *StatusApiRouter

func (*StatusApiRouter) Add

func (r *StatusApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type StatusApiClient.

func (*StatusApiRouter) AddStatusApiClient

func (r *StatusApiRouter) AddStatusApiClient(name string, client StatusApiClient) StatusApiClient

func (*StatusApiRouter) GetCurrentStatus

func (r *StatusApiRouter) GetCurrentStatus(ctx context.Context, request *GetCurrentStatusRequest) (*StatusLog, error)

func (*StatusApiRouter) GetStatusApiClient

func (r *StatusApiRouter) GetStatusApiClient(name string) (StatusApiClient, error)

func (*StatusApiRouter) HoldsType

func (r *StatusApiRouter) HoldsType(client any) bool

func (*StatusApiRouter) PullCurrentStatus

func (*StatusApiRouter) Register

func (r *StatusApiRouter) Register(server *grpc.Server)

func (*StatusApiRouter) RemoveStatusApiClient

func (r *StatusApiRouter) RemoveStatusApiClient(name string) StatusApiClient

type StatusApiServer

type StatusApiServer interface {
	GetCurrentStatus(context.Context, *GetCurrentStatusRequest) (*StatusLog, error)
	PullCurrentStatus(*PullCurrentStatusRequest, StatusApi_PullCurrentStatusServer) error
	// contains filtered or unexported methods
}

StatusApiServer is the server API for StatusApi service. All implementations must embed UnimplementedStatusApiServer for forward compatibility

type StatusApi_PullCurrentStatusClient

type StatusApi_PullCurrentStatusClient interface {
	Recv() (*PullCurrentStatusResponse, error)
	grpc.ClientStream
}

type StatusApi_PullCurrentStatusServer

type StatusApi_PullCurrentStatusServer interface {
	Send(*PullCurrentStatusResponse) error
	grpc.ServerStream
}

type StatusHistoryClient

type StatusHistoryClient interface {
	ListCurrentStatusHistory(ctx context.Context, in *ListCurrentStatusHistoryRequest, opts ...grpc.CallOption) (*ListCurrentStatusHistoryResponse, error)
}

StatusHistoryClient is the client API for StatusHistory 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 WrapStatusHistory

func WrapStatusHistory(server StatusHistoryServer) StatusHistoryClient

WrapStatusHistory adapts a StatusHistoryServer and presents it as a StatusHistoryClient

type StatusHistoryRouter

type StatusHistoryRouter struct {
	UnimplementedStatusHistoryServer

	router.Router
}

StatusHistoryRouter is a StatusHistoryServer that allows routing named requests to specific StatusHistoryClient

func NewStatusHistoryRouter

func NewStatusHistoryRouter(opts ...router.Option) *StatusHistoryRouter

func (*StatusHistoryRouter) Add

func (r *StatusHistoryRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type StatusHistoryClient.

func (*StatusHistoryRouter) AddStatusHistoryClient

func (r *StatusHistoryRouter) AddStatusHistoryClient(name string, client StatusHistoryClient) StatusHistoryClient

func (*StatusHistoryRouter) GetStatusHistoryClient

func (r *StatusHistoryRouter) GetStatusHistoryClient(name string) (StatusHistoryClient, error)

func (*StatusHistoryRouter) HoldsType

func (r *StatusHistoryRouter) HoldsType(client any) bool

func (*StatusHistoryRouter) ListCurrentStatusHistory

func (*StatusHistoryRouter) Register

func (r *StatusHistoryRouter) Register(server *grpc.Server)

func (*StatusHistoryRouter) RemoveStatusHistoryClient

func (r *StatusHistoryRouter) RemoveStatusHistoryClient(name string) StatusHistoryClient

type StatusHistoryServer

type StatusHistoryServer interface {
	ListCurrentStatusHistory(context.Context, *ListCurrentStatusHistoryRequest) (*ListCurrentStatusHistoryResponse, error)
	// contains filtered or unexported methods
}

StatusHistoryServer is the server API for StatusHistory service. All implementations must embed UnimplementedStatusHistoryServer for forward compatibility

type StatusLog

type StatusLog struct {

	// What is the working status of the device.
	// This will be the most severe level - the highest ordinal - from any problems the device currently has.
	// For example if a printer is running low on paper (a NOTICE) and the printer head is jammed (a FAULTY) then the status will be FAULTY.
	Level StatusLog_Level `protobuf:"varint,1,opt,name=level,proto3,enum=smartcore.bos.StatusLog_Level" json:"level,omitempty"`
	// I human readable message describing the problem.
	// For example "printer head jammed" or "temperature out of range".
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The time the problem was first recorded.
	// This is tied to the status level and should not change if only the description is updated.
	// If a critical problem is resolved but a less critical problem still exists, the timestamp should reflect the earlier problems time.
	RecordTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// Additional problems the device or its constituent parts are experiencing.
	// None of these should report NOMINAL.
	Problems []*StatusLog_Problem `protobuf:"bytes,4,rep,name=problems,proto3" json:"problems,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusLog) Descriptor deprecated

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

Deprecated: Use StatusLog.ProtoReflect.Descriptor instead.

func (*StatusLog) GetDescription

func (x *StatusLog) GetDescription() string

func (*StatusLog) GetLevel

func (x *StatusLog) GetLevel() StatusLog_Level

func (*StatusLog) GetProblems

func (x *StatusLog) GetProblems() []*StatusLog_Problem

func (*StatusLog) GetRecordTime

func (x *StatusLog) GetRecordTime() *timestamppb.Timestamp

func (*StatusLog) ProtoMessage

func (*StatusLog) ProtoMessage()

func (*StatusLog) ProtoReflect

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

func (*StatusLog) Reset

func (x *StatusLog) Reset()

func (*StatusLog) String

func (x *StatusLog) String() string

type StatusLogRecord

type StatusLogRecord struct {
	CurrentStatus *StatusLog             `protobuf:"bytes,1,opt,name=current_status,json=currentStatus,proto3" json:"current_status,omitempty"`
	RecordTime    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusLogRecord) Descriptor deprecated

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

Deprecated: Use StatusLogRecord.ProtoReflect.Descriptor instead.

func (*StatusLogRecord) GetCurrentStatus

func (x *StatusLogRecord) GetCurrentStatus() *StatusLog

func (*StatusLogRecord) GetRecordTime

func (x *StatusLogRecord) GetRecordTime() *timestamppb.Timestamp

func (*StatusLogRecord) ProtoMessage

func (*StatusLogRecord) ProtoMessage()

func (*StatusLogRecord) ProtoReflect

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

func (*StatusLogRecord) Reset

func (x *StatusLogRecord) Reset()

func (*StatusLogRecord) String

func (x *StatusLogRecord) String() string

type StatusLog_Level

type StatusLog_Level int32
const (
	StatusLog_LEVEL_UNDEFINED StatusLog_Level = 0
	// The device is working as intended.
	// The device will respond to commands and is working within normal parameters.
	StatusLog_NOMINAL StatusLog_Level = 1
	// The device is functioning but if left unattended may fail in the future.
	// For example the battery level may be low, or it is close to running out of paper.
	StatusLog_NOTICE StatusLog_Level = 2
	// Some functions of the device are unavailable or in fault, but not all.
	// The intended function of the device is still available but at a reduced efficiency or capacity.
	// For example if only 3/4 lights in a corridor are working, you can still see but there is a fault.
	StatusLog_REDUCED_FUNCTION StatusLog_Level = 3
	// The device is not performing its desired function.
	// Some of the device features may still be working but enough is faulty, or critical pieces are faulty such that
	// the reason for the device to exist is not being fulfilled.
	// For example an access control unit may have a working card reader but if the magnetic lock is broken then either
	// everyone (or nobody) can open the door negating the function of the device.
	StatusLog_NON_FUNCTIONAL StatusLog_Level = 4
	// No communication with the device was possible
	StatusLog_OFFLINE StatusLog_Level = 127
)

func (StatusLog_Level) Descriptor

func (StatusLog_Level) Enum

func (x StatusLog_Level) Enum() *StatusLog_Level

func (StatusLog_Level) EnumDescriptor deprecated

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

Deprecated: Use StatusLog_Level.Descriptor instead.

func (StatusLog_Level) Number

func (StatusLog_Level) String

func (x StatusLog_Level) String() string

func (StatusLog_Level) Type

type StatusLog_Problem

type StatusLog_Problem struct {
	Level       StatusLog_Level        `protobuf:"varint,1,opt,name=level,proto3,enum=smartcore.bos.StatusLog_Level" json:"level,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	RecordTime  *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	Name        string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // an identifier for the component of the device that has the problem
	// contains filtered or unexported fields
}

func (*StatusLog_Problem) Descriptor deprecated

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

Deprecated: Use StatusLog_Problem.ProtoReflect.Descriptor instead.

func (*StatusLog_Problem) GetDescription

func (x *StatusLog_Problem) GetDescription() string

func (*StatusLog_Problem) GetLevel

func (x *StatusLog_Problem) GetLevel() StatusLog_Level

func (*StatusLog_Problem) GetName

func (x *StatusLog_Problem) GetName() string

func (*StatusLog_Problem) GetRecordTime

func (x *StatusLog_Problem) GetRecordTime() *timestamppb.Timestamp

func (*StatusLog_Problem) ProtoMessage

func (*StatusLog_Problem) ProtoMessage()

func (*StatusLog_Problem) ProtoReflect

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

func (*StatusLog_Problem) Reset

func (x *StatusLog_Problem) Reset()

func (*StatusLog_Problem) String

func (x *StatusLog_Problem) String() string

type StopServiceRequest

type StopServiceRequest struct {

	// The name of the device managing the service
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The id of the service.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Unless true, starting a service that is already INACTIVE or ERROR will return a PreconditionFailed error.
	AllowInactive bool `protobuf:"varint,3,opt,name=allow_inactive,json=allowInactive,proto3" json:"allow_inactive,omitempty"`
	// contains filtered or unexported fields
}

func (*StopServiceRequest) Descriptor deprecated

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

Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead.

func (*StopServiceRequest) GetAllowInactive

func (x *StopServiceRequest) GetAllowInactive() bool

func (*StopServiceRequest) GetId

func (x *StopServiceRequest) GetId() string

func (*StopServiceRequest) GetName

func (x *StopServiceRequest) GetName() string

func (*StopServiceRequest) ProtoMessage

func (*StopServiceRequest) ProtoMessage()

func (*StopServiceRequest) ProtoReflect

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

func (*StopServiceRequest) Reset

func (x *StopServiceRequest) Reset()

func (*StopServiceRequest) String

func (x *StopServiceRequest) String() string

type StopTestRequest

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

func (*StopTestRequest) Descriptor deprecated

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

Deprecated: Use StopTestRequest.ProtoReflect.Descriptor instead.

func (*StopTestRequest) GetName

func (x *StopTestRequest) GetName() string

func (*StopTestRequest) ProtoMessage

func (*StopTestRequest) ProtoMessage()

func (*StopTestRequest) ProtoReflect

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

func (*StopTestRequest) Reset

func (x *StopTestRequest) Reset()

func (*StopTestRequest) String

func (x *StopTestRequest) String() string

type StopTestResponse

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

func (*StopTestResponse) Descriptor deprecated

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

Deprecated: Use StopTestResponse.ProtoReflect.Descriptor instead.

func (*StopTestResponse) ProtoMessage

func (*StopTestResponse) ProtoMessage()

func (*StopTestResponse) ProtoReflect

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

func (*StopTestResponse) Reset

func (x *StopTestResponse) Reset()

func (*StopTestResponse) String

func (x *StopTestResponse) String() string

type Temperature

type Temperature struct {

	// Read/write, the target temperature.
	SetPoint *types.Temperature `protobuf:"bytes,1,opt,name=set_point,json=setPoint,proto3" json:"set_point,omitempty"`
	// Output only, the measured temperature.
	Measured *types.Temperature `protobuf:"bytes,2,opt,name=measured,proto3" json:"measured,omitempty"`
	// contains filtered or unexported fields
}

Temperature represents a target and measured temperature.

func (*Temperature) Descriptor deprecated

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

Deprecated: Use Temperature.ProtoReflect.Descriptor instead.

func (*Temperature) GetMeasured

func (x *Temperature) GetMeasured() *types.Temperature

func (*Temperature) GetSetPoint

func (x *Temperature) GetSetPoint() *types.Temperature

func (*Temperature) ProtoMessage

func (*Temperature) ProtoMessage()

func (*Temperature) ProtoReflect

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

func (*Temperature) Reset

func (x *Temperature) Reset()

func (*Temperature) String

func (x *Temperature) String() string

type TemperatureApiClient

type TemperatureApiClient interface {
	GetTemperature(ctx context.Context, in *GetTemperatureRequest, opts ...grpc.CallOption) (*Temperature, error)
	PullTemperature(ctx context.Context, in *PullTemperatureRequest, opts ...grpc.CallOption) (TemperatureApi_PullTemperatureClient, error)
	UpdateTemperature(ctx context.Context, in *UpdateTemperatureRequest, opts ...grpc.CallOption) (*Temperature, error)
}

TemperatureApiClient is the client API for TemperatureApi 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 WrapTemperatureApi

func WrapTemperatureApi(server TemperatureApiServer) TemperatureApiClient

WrapTemperatureApi adapts a TemperatureApiServer and presents it as a TemperatureApiClient

type TemperatureApiRouter

type TemperatureApiRouter struct {
	UnimplementedTemperatureApiServer

	router.Router
}

TemperatureApiRouter is a TemperatureApiServer that allows routing named requests to specific TemperatureApiClient

func NewTemperatureApiRouter

func NewTemperatureApiRouter(opts ...router.Option) *TemperatureApiRouter

func (*TemperatureApiRouter) Add

func (r *TemperatureApiRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type TemperatureApiClient.

func (*TemperatureApiRouter) AddTemperatureApiClient

func (r *TemperatureApiRouter) AddTemperatureApiClient(name string, client TemperatureApiClient) TemperatureApiClient

func (*TemperatureApiRouter) GetTemperature

func (r *TemperatureApiRouter) GetTemperature(ctx context.Context, request *GetTemperatureRequest) (*Temperature, error)

func (*TemperatureApiRouter) GetTemperatureApiClient

func (r *TemperatureApiRouter) GetTemperatureApiClient(name string) (TemperatureApiClient, error)

func (*TemperatureApiRouter) HoldsType

func (r *TemperatureApiRouter) HoldsType(client any) bool

func (*TemperatureApiRouter) PullTemperature

func (*TemperatureApiRouter) Register

func (r *TemperatureApiRouter) Register(server *grpc.Server)

func (*TemperatureApiRouter) RemoveTemperatureApiClient

func (r *TemperatureApiRouter) RemoveTemperatureApiClient(name string) TemperatureApiClient

func (*TemperatureApiRouter) UpdateTemperature

func (r *TemperatureApiRouter) UpdateTemperature(ctx context.Context, request *UpdateTemperatureRequest) (*Temperature, error)

type TemperatureApiServer

type TemperatureApiServer interface {
	GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error)
	PullTemperature(*PullTemperatureRequest, TemperatureApi_PullTemperatureServer) error
	UpdateTemperature(context.Context, *UpdateTemperatureRequest) (*Temperature, error)
	// contains filtered or unexported methods
}

TemperatureApiServer is the server API for TemperatureApi service. All implementations must embed UnimplementedTemperatureApiServer for forward compatibility

type TemperatureApi_PullTemperatureClient

type TemperatureApi_PullTemperatureClient interface {
	Recv() (*PullTemperatureResponse, error)
	grpc.ClientStream
}

type TemperatureApi_PullTemperatureServer

type TemperatureApi_PullTemperatureServer interface {
	Send(*PullTemperatureResponse) error
	grpc.ServerStream
}

type Tenant

type Tenant struct {
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title      string                 `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	ZoneNames  []string               `protobuf:"bytes,4,rep,name=zone_names,json=zoneNames,proto3" json:"zone_names,omitempty"`
	// Used to avoid read-modify-write conflicts
	Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*Tenant) Descriptor deprecated

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

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetCreateTime

func (x *Tenant) GetCreateTime() *timestamppb.Timestamp

func (*Tenant) GetEtag

func (x *Tenant) GetEtag() string

func (*Tenant) GetId

func (x *Tenant) GetId() string

func (*Tenant) GetTitle

func (x *Tenant) GetTitle() string

func (*Tenant) GetZoneNames

func (x *Tenant) GetZoneNames() []string

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect

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

func (*Tenant) Reset

func (x *Tenant) Reset()

func (*Tenant) String

func (x *Tenant) String() string

type TenantApiClient

type TenantApiClient interface {
	ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
	PullTenants(ctx context.Context, in *PullTenantsRequest, opts ...grpc.CallOption) (TenantApi_PullTenantsClient, error)
	CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
	GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
	UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*Tenant, error)
	DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantResponse, error)
	PullTenant(ctx context.Context, in *PullTenantRequest, opts ...grpc.CallOption) (TenantApi_PullTenantClient, error)
	AddTenantZones(ctx context.Context, in *AddTenantZonesRequest, opts ...grpc.CallOption) (*Tenant, error)
	RemoveTenantZones(ctx context.Context, in *RemoveTenantZonesRequest, opts ...grpc.CallOption) (*Tenant, error)
	ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
	PullSecrets(ctx context.Context, in *PullSecretsRequest, opts ...grpc.CallOption) (TenantApi_PullSecretsClient, error)
	CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*Secret, error)
	// VerifySecret validates that the given tenant_id has a secret that matches the given secret, returning that secret.
	// An Unauthenticated error will be returned if the tenant+secret do not match or are not known.
	VerifySecret(ctx context.Context, in *VerifySecretRequest, opts ...grpc.CallOption) (*Secret, error)
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error)
	UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error)
	DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error)
	PullSecret(ctx context.Context, in *PullSecretRequest, opts ...grpc.CallOption) (TenantApi_PullSecretClient, error)
	// Creates a new hash for the secret, returns that hash. Just like CreateSecret but using an existing secret
	RegenerateSecret(ctx context.Context, in *RegenerateSecretRequest, opts ...grpc.CallOption) (*Secret, error)
}

TenantApiClient is the client API for TenantApi 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 NewTenantApiClient

func NewTenantApiClient(cc grpc.ClientConnInterface) TenantApiClient

func WrapTenantApi

func WrapTenantApi(server TenantApiServer) TenantApiClient

WrapTenantApi adapts a TenantApiServer and presents it as a TenantApiClient

type TenantApiServer

type TenantApiServer interface {
	ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
	PullTenants(*PullTenantsRequest, TenantApi_PullTenantsServer) error
	CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
	GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
	UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
	DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
	PullTenant(*PullTenantRequest, TenantApi_PullTenantServer) error
	AddTenantZones(context.Context, *AddTenantZonesRequest) (*Tenant, error)
	RemoveTenantZones(context.Context, *RemoveTenantZonesRequest) (*Tenant, error)
	ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
	PullSecrets(*PullSecretsRequest, TenantApi_PullSecretsServer) error
	CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error)
	// VerifySecret validates that the given tenant_id has a secret that matches the given secret, returning that secret.
	// An Unauthenticated error will be returned if the tenant+secret do not match or are not known.
	VerifySecret(context.Context, *VerifySecretRequest) (*Secret, error)
	GetSecret(context.Context, *GetSecretRequest) (*Secret, error)
	UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error)
	DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
	PullSecret(*PullSecretRequest, TenantApi_PullSecretServer) error
	// Creates a new hash for the secret, returns that hash. Just like CreateSecret but using an existing secret
	RegenerateSecret(context.Context, *RegenerateSecretRequest) (*Secret, error)
	// contains filtered or unexported methods
}

TenantApiServer is the server API for TenantApi service. All implementations must embed UnimplementedTenantApiServer for forward compatibility

type TenantApi_PullSecretClient

type TenantApi_PullSecretClient interface {
	Recv() (*PullSecretResponse, error)
	grpc.ClientStream
}

type TenantApi_PullSecretServer

type TenantApi_PullSecretServer interface {
	Send(*PullSecretResponse) error
	grpc.ServerStream
}

type TenantApi_PullSecretsClient

type TenantApi_PullSecretsClient interface {
	Recv() (*PullSecretsResponse, error)
	grpc.ClientStream
}

type TenantApi_PullSecretsServer

type TenantApi_PullSecretsServer interface {
	Send(*PullSecretsResponse) error
	grpc.ServerStream
}

type TenantApi_PullTenantClient

type TenantApi_PullTenantClient interface {
	Recv() (*PullTenantResponse, error)
	grpc.ClientStream
}

type TenantApi_PullTenantServer

type TenantApi_PullTenantServer interface {
	Send(*PullTenantResponse) error
	grpc.ServerStream
}

type TenantApi_PullTenantsClient

type TenantApi_PullTenantsClient interface {
	Recv() (*PullTenantsResponse, error)
	grpc.ClientStream
}

type TenantApi_PullTenantsServer

type TenantApi_PullTenantsServer interface {
	Send(*PullTenantsResponse) error
	grpc.ServerStream
}

type TestEnrollmentRequest

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

func (*TestEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use TestEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*TestEnrollmentRequest) ProtoMessage

func (*TestEnrollmentRequest) ProtoMessage()

func (*TestEnrollmentRequest) ProtoReflect

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

func (*TestEnrollmentRequest) Reset

func (x *TestEnrollmentRequest) Reset()

func (*TestEnrollmentRequest) String

func (x *TestEnrollmentRequest) String() string

type TestEnrollmentResponse

type TestEnrollmentResponse struct {

	// Error, if empty means success.
	// If not empty, describes the error that occurred.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// If the underlying error has a code, this is it.
	// Typically a grpc status code.
	Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*TestEnrollmentResponse) Descriptor deprecated

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

Deprecated: Use TestEnrollmentResponse.ProtoReflect.Descriptor instead.

func (*TestEnrollmentResponse) GetCode

func (x *TestEnrollmentResponse) GetCode() int32

func (*TestEnrollmentResponse) GetError

func (x *TestEnrollmentResponse) GetError() string

func (*TestEnrollmentResponse) ProtoMessage

func (*TestEnrollmentResponse) ProtoMessage()

func (*TestEnrollmentResponse) ProtoReflect

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

func (*TestEnrollmentResponse) Reset

func (x *TestEnrollmentResponse) Reset()

func (*TestEnrollmentResponse) String

func (x *TestEnrollmentResponse) String() string

type TestHubNodeRequest

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

func (*TestHubNodeRequest) Descriptor deprecated

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

Deprecated: Use TestHubNodeRequest.ProtoReflect.Descriptor instead.

func (*TestHubNodeRequest) GetAddress

func (x *TestHubNodeRequest) GetAddress() string

func (*TestHubNodeRequest) ProtoMessage

func (*TestHubNodeRequest) ProtoMessage()

func (*TestHubNodeRequest) ProtoReflect

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

func (*TestHubNodeRequest) Reset

func (x *TestHubNodeRequest) Reset()

func (*TestHubNodeRequest) String

func (x *TestHubNodeRequest) String() string

type TestHubNodeResponse

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

func (*TestHubNodeResponse) Descriptor deprecated

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

Deprecated: Use TestHubNodeResponse.ProtoReflect.Descriptor instead.

func (*TestHubNodeResponse) ProtoMessage

func (*TestHubNodeResponse) ProtoMessage()

func (*TestHubNodeResponse) ProtoReflect

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

func (*TestHubNodeResponse) Reset

func (x *TestHubNodeResponse) Reset()

func (*TestHubNodeResponse) String

func (x *TestHubNodeResponse) String() string

type TestResult

type TestResult struct {
	Test     EmergencyStatus_Test `protobuf:"varint,1,opt,name=test,proto3,enum=smartcore.bos.driver.dali.EmergencyStatus_Test" json:"test,omitempty"`
	Pass     bool                 `protobuf:"varint,4,opt,name=pass,proto3" json:"pass,omitempty"`
	Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` // only present for duration tests
	Etag     string               `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResult) Descriptor deprecated

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

Deprecated: Use TestResult.ProtoReflect.Descriptor instead.

func (*TestResult) GetDuration

func (x *TestResult) GetDuration() *durationpb.Duration

func (*TestResult) GetEtag

func (x *TestResult) GetEtag() string

func (*TestResult) GetPass

func (x *TestResult) GetPass() bool

func (*TestResult) GetTest

func (x *TestResult) GetTest() EmergencyStatus_Test

func (*TestResult) ProtoMessage

func (*TestResult) ProtoMessage()

func (*TestResult) ProtoReflect

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

func (*TestResult) Reset

func (x *TestResult) Reset()

func (*TestResult) String

func (x *TestResult) String() string

type UdmiServiceClient

type UdmiServiceClient interface {
	// PullControlTopics returns a stream of topics the implementer is interested in subscribing to.
	// Each response will include all topics, any sent previously can be discarded.
	// (usually config topics, https://faucetsdn.github.io/udmi/docs/messages/config.html)
	PullControlTopics(ctx context.Context, in *PullControlTopicsRequest, opts ...grpc.CallOption) (UdmiService_PullControlTopicsClient, error)
	// If the implementer lists topics in any PullControlTopicsResponse, then each message received via the MQTT
	// broker will invoke a call to this method
	OnMessage(ctx context.Context, in *OnMessageRequest, opts ...grpc.CallOption) (*OnMessageResponse, error)
	// PullExportMessages, which are to be published to the MQTT broker for data export
	PullExportMessages(ctx context.Context, in *PullExportMessagesRequest, opts ...grpc.CallOption) (UdmiService_PullExportMessagesClient, error)
	// GetExportMessage returns a single MqttMessage.
	// Servers may return the last message returned by PullExportMessages, or collect data explicitly to return.
	// If the server does not have a message to return, it may return an Unavailable error.
	GetExportMessage(ctx context.Context, in *GetExportMessageRequest, opts ...grpc.CallOption) (*MqttMessage, error)
}

UdmiServiceClient is the client API for UdmiService 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 WrapUdmiService

func WrapUdmiService(server UdmiServiceServer) UdmiServiceClient

WrapUdmiService adapts a UdmiServiceServer and presents it as a UdmiServiceClient

type UdmiServiceRouter

type UdmiServiceRouter struct {
	UnimplementedUdmiServiceServer

	router.Router
}

UdmiServiceRouter is a UdmiServiceServer that allows routing named requests to specific UdmiServiceClient

func NewUdmiServiceRouter

func NewUdmiServiceRouter(opts ...router.Option) *UdmiServiceRouter

func (*UdmiServiceRouter) Add

func (r *UdmiServiceRouter) Add(name string, client any) any

Add extends Router.Add to panic if client is not of type UdmiServiceClient.

func (*UdmiServiceRouter) AddUdmiServiceClient

func (r *UdmiServiceRouter) AddUdmiServiceClient(name string, client UdmiServiceClient) UdmiServiceClient

func (*UdmiServiceRouter) GetExportMessage

func (r *UdmiServiceRouter) GetExportMessage(ctx context.Context, request *GetExportMessageRequest) (*MqttMessage, error)

func (*UdmiServiceRouter) GetUdmiServiceClient

func (r *UdmiServiceRouter) GetUdmiServiceClient(name string) (UdmiServiceClient, error)

func (*UdmiServiceRouter) HoldsType

func (r *UdmiServiceRouter) HoldsType(client any) bool

func (*UdmiServiceRouter) OnMessage

func (r *UdmiServiceRouter) OnMessage(ctx context.Context, request *OnMessageRequest) (*OnMessageResponse, error)

func (*UdmiServiceRouter) PullControlTopics

func (*UdmiServiceRouter) PullExportMessages

func (*UdmiServiceRouter) Register

func (r *UdmiServiceRouter) Register(server *grpc.Server)

func (*UdmiServiceRouter) RemoveUdmiServiceClient

func (r *UdmiServiceRouter) RemoveUdmiServiceClient(name string) UdmiServiceClient

type UdmiServiceServer

type UdmiServiceServer interface {
	// PullControlTopics returns a stream of topics the implementer is interested in subscribing to.
	// Each response will include all topics, any sent previously can be discarded.
	// (usually config topics, https://faucetsdn.github.io/udmi/docs/messages/config.html)
	PullControlTopics(*PullControlTopicsRequest, UdmiService_PullControlTopicsServer) error
	// If the implementer lists topics in any PullControlTopicsResponse, then each message received via the MQTT
	// broker will invoke a call to this method
	OnMessage(context.Context, *OnMessageRequest) (*OnMessageResponse, error)
	// PullExportMessages, which are to be published to the MQTT broker for data export
	PullExportMessages(*PullExportMessagesRequest, UdmiService_PullExportMessagesServer) error
	// GetExportMessage returns a single MqttMessage.
	// Servers may return the last message returned by PullExportMessages, or collect data explicitly to return.
	// If the server does not have a message to return, it may return an Unavailable error.
	GetExportMessage(context.Context, *GetExportMessageRequest) (*MqttMessage, error)
	// contains filtered or unexported methods
}

UdmiServiceServer is the server API for UdmiService service. All implementations must embed UnimplementedUdmiServiceServer for forward compatibility

type UdmiService_PullControlTopicsClient

type UdmiService_PullControlTopicsClient interface {
	Recv() (*PullControlTopicsResponse, error)
	grpc.ClientStream
}

type UdmiService_PullControlTopicsServer

type UdmiService_PullControlTopicsServer interface {
	Send(*PullControlTopicsResponse) error
	grpc.ServerStream
}

type UdmiService_PullExportMessagesClient

type UdmiService_PullExportMessagesClient interface {
	Recv() (*PullExportMessagesResponse, error)
	grpc.ClientStream
}

type UdmiService_PullExportMessagesServer

type UdmiService_PullExportMessagesServer interface {
	Send(*PullExportMessagesResponse) error
	grpc.ServerStream
}

type UnimplementedAccessApiServer

type UnimplementedAccessApiServer struct {
}

UnimplementedAccessApiServer must be embedded to have forward compatible implementations.

func (UnimplementedAccessApiServer) GetLastAccessAttempt

type UnimplementedAirQualitySensorHistoryServer

type UnimplementedAirQualitySensorHistoryServer struct {
}

UnimplementedAirQualitySensorHistoryServer must be embedded to have forward compatible implementations.

func (UnimplementedAirQualitySensorHistoryServer) ListAirQualityHistory

type UnimplementedAirTemperatureHistoryServer

type UnimplementedAirTemperatureHistoryServer struct {
}

UnimplementedAirTemperatureHistoryServer must be embedded to have forward compatible implementations.

type UnimplementedAlertAdminApiServer

type UnimplementedAlertAdminApiServer struct {
}

UnimplementedAlertAdminApiServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertAdminApiServer) CreateAlert

func (UnimplementedAlertAdminApiServer) DeleteAlert

func (UnimplementedAlertAdminApiServer) ResolveAlert

func (UnimplementedAlertAdminApiServer) UpdateAlert

type UnimplementedAlertApiServer

type UnimplementedAlertApiServer struct {
}

UnimplementedAlertApiServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertApiServer) AcknowledgeAlert

func (UnimplementedAlertApiServer) GetAlertMetadata

func (UnimplementedAlertApiServer) ListAlerts

func (UnimplementedAlertApiServer) PullAlerts

func (UnimplementedAlertApiServer) UnacknowledgeAlert

type UnimplementedAxiomXaDriverServiceServer

type UnimplementedAxiomXaDriverServiceServer struct {
}

UnimplementedAxiomXaDriverServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAxiomXaDriverServiceServer) SaveQRCredential

type UnimplementedButtonApiServer

type UnimplementedButtonApiServer struct {
}

UnimplementedButtonApiServer must be embedded to have forward compatible implementations.

func (UnimplementedButtonApiServer) GetButtonState

func (UnimplementedButtonApiServer) PullButtonState

func (UnimplementedButtonApiServer) UpdateButtonState

type UnimplementedColorApiServer

type UnimplementedColorApiServer struct {
}

UnimplementedColorApiServer must be embedded to have forward compatible implementations.

func (UnimplementedColorApiServer) GetColor

func (UnimplementedColorApiServer) PullColor

func (UnimplementedColorApiServer) UpdateColor

type UnimplementedColorInfoServer

type UnimplementedColorInfoServer struct {
}

UnimplementedColorInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedColorInfoServer) DescribeColor

type UnimplementedDaliApiServer

type UnimplementedDaliApiServer struct {
}

UnimplementedDaliApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDaliApiServer) AddToGroup

func (UnimplementedDaliApiServer) DeleteTestResult

func (UnimplementedDaliApiServer) GetControlGearStatus

func (UnimplementedDaliApiServer) GetEmergencyStatus

func (UnimplementedDaliApiServer) GetTestResult

func (UnimplementedDaliApiServer) Identify

func (UnimplementedDaliApiServer) RemoveFromGroup

func (UnimplementedDaliApiServer) StartTest

func (UnimplementedDaliApiServer) StopTest

type UnimplementedDevicesApiServer

type UnimplementedDevicesApiServer struct {
}

UnimplementedDevicesApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDevicesApiServer) GetDevicesMetadata

func (UnimplementedDevicesApiServer) ListDevices

func (UnimplementedDevicesApiServer) PullDevices

type UnimplementedElectricHistoryServer

type UnimplementedElectricHistoryServer struct {
}

UnimplementedElectricHistoryServer must be embedded to have forward compatible implementations.

type UnimplementedEnrollmentApiServer

type UnimplementedEnrollmentApiServer struct {
}

UnimplementedEnrollmentApiServer must be embedded to have forward compatible implementations.

func (UnimplementedEnrollmentApiServer) CreateEnrollment

func (UnimplementedEnrollmentApiServer) DeleteEnrollment

func (UnimplementedEnrollmentApiServer) GetEnrollment

func (UnimplementedEnrollmentApiServer) TestEnrollment

func (UnimplementedEnrollmentApiServer) UpdateEnrollment

type UnimplementedHistoryAdminApiServer

type UnimplementedHistoryAdminApiServer struct {
}

UnimplementedHistoryAdminApiServer must be embedded to have forward compatible implementations.

func (UnimplementedHistoryAdminApiServer) CreateHistoryRecord

func (UnimplementedHistoryAdminApiServer) ListHistoryRecords

type UnimplementedHubApiServer

type UnimplementedHubApiServer struct {
}

UnimplementedHubApiServer must be embedded to have forward compatible implementations.

func (UnimplementedHubApiServer) EnrollHubNode

func (UnimplementedHubApiServer) ForgetHubNode

func (UnimplementedHubApiServer) GetHubNode

func (UnimplementedHubApiServer) InspectHubNode

func (UnimplementedHubApiServer) ListHubNodes

func (UnimplementedHubApiServer) PullHubNodes

func (UnimplementedHubApiServer) RenewHubNode

func (UnimplementedHubApiServer) TestHubNode

type UnimplementedLightingTestApiServer

type UnimplementedLightingTestApiServer struct {
}

UnimplementedLightingTestApiServer must be embedded to have forward compatible implementations.

func (UnimplementedLightingTestApiServer) GetLightHealth

func (UnimplementedLightingTestApiServer) GetReportCSV

func (UnimplementedLightingTestApiServer) ListLightEvents

func (UnimplementedLightingTestApiServer) ListLightHealth

type UnimplementedMeterApiServer

type UnimplementedMeterApiServer struct {
}

UnimplementedMeterApiServer must be embedded to have forward compatible implementations.

func (UnimplementedMeterApiServer) GetMeterReading

type UnimplementedMeterHistoryServer

type UnimplementedMeterHistoryServer struct {
}

UnimplementedMeterHistoryServer must be embedded to have forward compatible implementations.

type UnimplementedMeterInfoServer

type UnimplementedMeterInfoServer struct {
}

UnimplementedMeterInfoServer must be embedded to have forward compatible implementations.

func (UnimplementedMeterInfoServer) DescribeMeterReading

type UnimplementedMqttServiceServer

type UnimplementedMqttServiceServer struct {
}

UnimplementedMqttServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMqttServiceServer) PullMessages

type UnimplementedOccupancySensorHistoryServer

type UnimplementedOccupancySensorHistoryServer struct {
}

UnimplementedOccupancySensorHistoryServer must be embedded to have forward compatible implementations.

func (UnimplementedOccupancySensorHistoryServer) ListOccupancyHistory

type UnimplementedServicesApiServer

type UnimplementedServicesApiServer struct {
}

UnimplementedServicesApiServer must be embedded to have forward compatible implementations.

func (UnimplementedServicesApiServer) ConfigureService

func (UnimplementedServicesApiServer) CreateService

func (UnimplementedServicesApiServer) DeleteService

func (UnimplementedServicesApiServer) GetService

func (UnimplementedServicesApiServer) GetServiceMetadata

func (UnimplementedServicesApiServer) ListServices

func (UnimplementedServicesApiServer) PullService

func (UnimplementedServicesApiServer) PullServices

func (UnimplementedServicesApiServer) StartService

func (UnimplementedServicesApiServer) StopService

type UnimplementedStatusApiServer

type UnimplementedStatusApiServer struct {
}

UnimplementedStatusApiServer must be embedded to have forward compatible implementations.

func (UnimplementedStatusApiServer) GetCurrentStatus

type UnimplementedStatusHistoryServer

type UnimplementedStatusHistoryServer struct {
}

UnimplementedStatusHistoryServer must be embedded to have forward compatible implementations.

type UnimplementedTemperatureApiServer

type UnimplementedTemperatureApiServer struct {
}

UnimplementedTemperatureApiServer must be embedded to have forward compatible implementations.

func (UnimplementedTemperatureApiServer) GetTemperature

func (UnimplementedTemperatureApiServer) UpdateTemperature

type UnimplementedTenantApiServer

type UnimplementedTenantApiServer struct {
}

UnimplementedTenantApiServer must be embedded to have forward compatible implementations.

func (UnimplementedTenantApiServer) AddTenantZones

func (UnimplementedTenantApiServer) CreateSecret

func (UnimplementedTenantApiServer) CreateTenant

func (UnimplementedTenantApiServer) DeleteSecret

func (UnimplementedTenantApiServer) DeleteTenant

func (UnimplementedTenantApiServer) GetSecret

func (UnimplementedTenantApiServer) GetTenant

func (UnimplementedTenantApiServer) ListSecrets

func (UnimplementedTenantApiServer) ListTenants

func (UnimplementedTenantApiServer) PullSecret

func (UnimplementedTenantApiServer) PullSecrets

func (UnimplementedTenantApiServer) PullTenant

func (UnimplementedTenantApiServer) PullTenants

func (UnimplementedTenantApiServer) RegenerateSecret

func (UnimplementedTenantApiServer) RemoveTenantZones

func (UnimplementedTenantApiServer) UpdateSecret

func (UnimplementedTenantApiServer) UpdateTenant

func (UnimplementedTenantApiServer) VerifySecret

type UnimplementedUdmiServiceServer

type UnimplementedUdmiServiceServer struct {
}

UnimplementedUdmiServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUdmiServiceServer) GetExportMessage

func (UnimplementedUdmiServiceServer) OnMessage

type UnsafeAccessApiServer

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

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

type UnsafeAirQualitySensorHistoryServer

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

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

type UnsafeAirTemperatureHistoryServer

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

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

type UnsafeAlertAdminApiServer

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

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

type UnsafeAlertApiServer

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

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

type UnsafeAxiomXaDriverServiceServer

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

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

type UnsafeButtonApiServer

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

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

type UnsafeColorApiServer

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

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

type UnsafeColorInfoServer

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

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

type UnsafeDaliApiServer

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

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

type UnsafeDevicesApiServer

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

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

type UnsafeElectricHistoryServer

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

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

type UnsafeEnrollmentApiServer

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

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

type UnsafeHistoryAdminApiServer

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

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

type UnsafeHubApiServer

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

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

type UnsafeLightingTestApiServer

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

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

type UnsafeMeterApiServer

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

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

type UnsafeMeterHistoryServer

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

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

type UnsafeMeterInfoServer

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

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

type UnsafeMqttServiceServer

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

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

type UnsafeOccupancySensorHistoryServer

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

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

type UnsafeServicesApiServer

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

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

type UnsafeStatusApiServer

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

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

type UnsafeStatusHistoryServer

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

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

type UnsafeTemperatureApiServer

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

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

type UnsafeTenantApiServer

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

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

type UnsafeUdmiServiceServer

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

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

type UpdateAlertRequest

type UpdateAlertRequest struct {

	// Name of the device exposing this trait.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The new properties of the alert.
	// Alert.id must be present.
	// Only description, floor, zone, severity, and source will contribute to the updated alert.
	Alert *Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty"`
	// Fields to update relative to the Alert type
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAlertRequest) Descriptor deprecated

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

Deprecated: Use UpdateAlertRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertRequest) GetAlert

func (x *UpdateAlertRequest) GetAlert() *Alert

func (*UpdateAlertRequest) GetName

func (x *UpdateAlertRequest) GetName() string

func (*UpdateAlertRequest) GetUpdateMask

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

func (*UpdateAlertRequest) ProtoMessage

func (*UpdateAlertRequest) ProtoMessage()

func (*UpdateAlertRequest) ProtoReflect

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

func (*UpdateAlertRequest) Reset

func (x *UpdateAlertRequest) Reset()

func (*UpdateAlertRequest) String

func (x *UpdateAlertRequest) String() string

type UpdateButtonStateRequest

type UpdateButtonStateRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	UpdateMask  *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	ButtonState *ButtonState           `protobuf:"bytes,3,opt,name=button_state,json=buttonState,proto3" json:"button_state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateButtonStateRequest) Descriptor deprecated

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

Deprecated: Use UpdateButtonStateRequest.ProtoReflect.Descriptor instead.

func (*UpdateButtonStateRequest) GetButtonState

func (x *UpdateButtonStateRequest) GetButtonState() *ButtonState

func (*UpdateButtonStateRequest) GetName

func (x *UpdateButtonStateRequest) GetName() string

func (*UpdateButtonStateRequest) GetUpdateMask

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

func (*UpdateButtonStateRequest) ProtoMessage

func (*UpdateButtonStateRequest) ProtoMessage()

func (*UpdateButtonStateRequest) ProtoReflect

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

func (*UpdateButtonStateRequest) Reset

func (x *UpdateButtonStateRequest) Reset()

func (*UpdateButtonStateRequest) String

func (x *UpdateButtonStateRequest) String() string

type UpdateColorRequest

type UpdateColorRequest 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 color. Supply ramp to transition
	Color *Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,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
}

A request to update the value of a color

func (*UpdateColorRequest) Descriptor deprecated

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

Deprecated: Use UpdateColorRequest.ProtoReflect.Descriptor instead.

func (*UpdateColorRequest) GetColor

func (x *UpdateColorRequest) GetColor() *Color

func (*UpdateColorRequest) GetName

func (x *UpdateColorRequest) GetName() string

func (*UpdateColorRequest) GetUpdateMask

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

func (*UpdateColorRequest) ProtoMessage

func (*UpdateColorRequest) ProtoMessage()

func (*UpdateColorRequest) ProtoReflect

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

func (*UpdateColorRequest) Reset

func (x *UpdateColorRequest) Reset()

func (*UpdateColorRequest) String

func (x *UpdateColorRequest) String() string

type UpdateEnrollmentRequest

type UpdateEnrollmentRequest struct {
	Enrollment *Enrollment `protobuf:"bytes,1,opt,name=enrollment,proto3" json:"enrollment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnrollmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateEnrollmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateEnrollmentRequest) GetEnrollment

func (x *UpdateEnrollmentRequest) GetEnrollment() *Enrollment

func (*UpdateEnrollmentRequest) ProtoMessage

func (*UpdateEnrollmentRequest) ProtoMessage()

func (*UpdateEnrollmentRequest) ProtoReflect

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

func (*UpdateEnrollmentRequest) Reset

func (x *UpdateEnrollmentRequest) Reset()

func (*UpdateEnrollmentRequest) String

func (x *UpdateEnrollmentRequest) String() string

type UpdateSecretRequest

type UpdateSecretRequest struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSecretRequest) Descriptor deprecated

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

Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest) GetSecret

func (x *UpdateSecretRequest) GetSecret() *Secret

func (*UpdateSecretRequest) ProtoMessage

func (*UpdateSecretRequest) ProtoMessage()

func (*UpdateSecretRequest) ProtoReflect

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

func (*UpdateSecretRequest) Reset

func (x *UpdateSecretRequest) Reset()

func (*UpdateSecretRequest) String

func (x *UpdateSecretRequest) String() string

type UpdateTemperatureRequest

type UpdateTemperatureRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Temperature *Temperature           `protobuf:"bytes,2,opt,name=temperature,proto3" json:"temperature,omitempty"`
	UpdateMask  *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// When true, temperature is a change to the devices current value.
	Delta bool `protobuf:"varint,4,opt,name=delta,proto3" json:"delta,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTemperatureRequest) Descriptor deprecated

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

Deprecated: Use UpdateTemperatureRequest.ProtoReflect.Descriptor instead.

func (*UpdateTemperatureRequest) GetDelta

func (x *UpdateTemperatureRequest) GetDelta() bool

func (*UpdateTemperatureRequest) GetName

func (x *UpdateTemperatureRequest) GetName() string

func (*UpdateTemperatureRequest) GetTemperature

func (x *UpdateTemperatureRequest) GetTemperature() *Temperature

func (*UpdateTemperatureRequest) GetUpdateMask

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

func (*UpdateTemperatureRequest) ProtoMessage

func (*UpdateTemperatureRequest) ProtoMessage()

func (*UpdateTemperatureRequest) ProtoReflect

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

func (*UpdateTemperatureRequest) Reset

func (x *UpdateTemperatureRequest) Reset()

func (*UpdateTemperatureRequest) String

func (x *UpdateTemperatureRequest) String() string

type UpdateTenantRequest

type UpdateTenantRequest struct {
	Tenant     *Tenant                `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTenantRequest) Descriptor deprecated

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

Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.

func (*UpdateTenantRequest) GetTenant

func (x *UpdateTenantRequest) GetTenant() *Tenant

func (*UpdateTenantRequest) GetUpdateMask

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

func (*UpdateTenantRequest) ProtoMessage

func (*UpdateTenantRequest) ProtoMessage()

func (*UpdateTenantRequest) ProtoReflect

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

func (*UpdateTenantRequest) Reset

func (x *UpdateTenantRequest) Reset()

func (*UpdateTenantRequest) String

func (x *UpdateTenantRequest) String() string

type UpdateTestIntervalRequest

type UpdateTestIntervalRequest struct {
	Name string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Test EmergencyStatus_Test `protobuf:"varint,2,opt,name=test,proto3,enum=smartcore.bos.driver.dali.EmergencyStatus_Test" json:"test,omitempty"`
	// The target test interval to use. Because test intervals are highly quantised in DALI, this may be rounded.
	// The actual value used will be returned in UpdateTestIntervalResponse.interval
	Interval *durationpb.Duration `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTestIntervalRequest) Descriptor deprecated

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

Deprecated: Use UpdateTestIntervalRequest.ProtoReflect.Descriptor instead.

func (*UpdateTestIntervalRequest) GetInterval

func (x *UpdateTestIntervalRequest) GetInterval() *durationpb.Duration

func (*UpdateTestIntervalRequest) GetName

func (x *UpdateTestIntervalRequest) GetName() string

func (*UpdateTestIntervalRequest) GetTest

func (*UpdateTestIntervalRequest) ProtoMessage

func (*UpdateTestIntervalRequest) ProtoMessage()

func (*UpdateTestIntervalRequest) ProtoReflect

func (*UpdateTestIntervalRequest) Reset

func (x *UpdateTestIntervalRequest) Reset()

func (*UpdateTestIntervalRequest) String

func (x *UpdateTestIntervalRequest) String() string

type UpdateTestIntervalResponse

type UpdateTestIntervalResponse struct {

	// The test interval set, after rounding has been performed.
	Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTestIntervalResponse) Descriptor deprecated

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

Deprecated: Use UpdateTestIntervalResponse.ProtoReflect.Descriptor instead.

func (*UpdateTestIntervalResponse) GetInterval

func (*UpdateTestIntervalResponse) ProtoMessage

func (*UpdateTestIntervalResponse) ProtoMessage()

func (*UpdateTestIntervalResponse) ProtoReflect

func (*UpdateTestIntervalResponse) Reset

func (x *UpdateTestIntervalResponse) Reset()

func (*UpdateTestIntervalResponse) String

func (x *UpdateTestIntervalResponse) String() string

type VerifySecretRequest

type VerifySecretRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Secret   string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifySecretRequest) Descriptor deprecated

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

Deprecated: Use VerifySecretRequest.ProtoReflect.Descriptor instead.

func (*VerifySecretRequest) GetSecret

func (x *VerifySecretRequest) GetSecret() string

func (*VerifySecretRequest) GetTenantId

func (x *VerifySecretRequest) GetTenantId() string

func (*VerifySecretRequest) ProtoMessage

func (*VerifySecretRequest) ProtoMessage()

func (*VerifySecretRequest) ProtoReflect

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

func (*VerifySecretRequest) Reset

func (x *VerifySecretRequest) Reset()

func (*VerifySecretRequest) String

func (x *VerifySecretRequest) String() string

Source Files

Jump to

Keyboard shortcuts

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