Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccessApiServer(s grpc.ServiceRegistrar, srv AccessApiServer)
- func RegisterAirQualitySensorHistoryServer(s grpc.ServiceRegistrar, srv AirQualitySensorHistoryServer)
- func RegisterAirTemperatureHistoryServer(s grpc.ServiceRegistrar, srv AirTemperatureHistoryServer)
- func RegisterAlertAdminApiServer(s grpc.ServiceRegistrar, srv AlertAdminApiServer)
- func RegisterAlertApiServer(s grpc.ServiceRegistrar, srv AlertApiServer)
- func RegisterAxiomXaDriverServiceServer(s grpc.ServiceRegistrar, srv AxiomXaDriverServiceServer)
- func RegisterButtonApiServer(s grpc.ServiceRegistrar, srv ButtonApiServer)
- func RegisterColorApiServer(s grpc.ServiceRegistrar, srv ColorApiServer)
- func RegisterColorInfoServer(s grpc.ServiceRegistrar, srv ColorInfoServer)
- func RegisterDaliApiServer(s grpc.ServiceRegistrar, srv DaliApiServer)
- func RegisterDevicesApiServer(s grpc.ServiceRegistrar, srv DevicesApiServer)
- func RegisterElectricHistoryServer(s grpc.ServiceRegistrar, srv ElectricHistoryServer)
- func RegisterEnrollmentApiServer(s grpc.ServiceRegistrar, srv EnrollmentApiServer)
- func RegisterHistoryAdminApiServer(s grpc.ServiceRegistrar, srv HistoryAdminApiServer)
- func RegisterHubApiServer(s grpc.ServiceRegistrar, srv HubApiServer)
- func RegisterLightingTestApiServer(s grpc.ServiceRegistrar, srv LightingTestApiServer)
- func RegisterMeterApiServer(s grpc.ServiceRegistrar, srv MeterApiServer)
- func RegisterMeterHistoryServer(s grpc.ServiceRegistrar, srv MeterHistoryServer)
- func RegisterMeterInfoServer(s grpc.ServiceRegistrar, srv MeterInfoServer)
- func RegisterMqttServiceServer(s grpc.ServiceRegistrar, srv MqttServiceServer)
- func RegisterOccupancySensorHistoryServer(s grpc.ServiceRegistrar, srv OccupancySensorHistoryServer)
- func RegisterServicesApiServer(s grpc.ServiceRegistrar, srv ServicesApiServer)
- func RegisterStatusApiServer(s grpc.ServiceRegistrar, srv StatusApiServer)
- func RegisterStatusHistoryServer(s grpc.ServiceRegistrar, srv StatusHistoryServer)
- func RegisterTemperatureApiServer(s grpc.ServiceRegistrar, srv TemperatureApiServer)
- func RegisterTenantApiServer(s grpc.ServiceRegistrar, srv TenantApiServer)
- func RegisterUdmiServiceServer(s grpc.ServiceRegistrar, srv UdmiServiceServer)
- func WithAccessApiClientFactory(f func(name string) (AccessApiClient, error)) router.Option
- func WithAirQualitySensorHistoryClientFactory(f func(name string) (AirQualitySensorHistoryClient, error)) router.Option
- func WithAirTemperatureHistoryClientFactory(f func(name string) (AirTemperatureHistoryClient, error)) router.Option
- func WithAlertAdminApiClientFactory(f func(name string) (AlertAdminApiClient, error)) router.Option
- func WithAlertApiClientFactory(f func(name string) (AlertApiClient, error)) router.Option
- func WithAxiomXaDriverServiceClientFactory(f func(name string) (AxiomXaDriverServiceClient, error)) router.Option
- func WithButtonApiClientFactory(f func(name string) (ButtonApiClient, error)) router.Option
- func WithColorApiClientFactory(f func(name string) (ColorApiClient, error)) router.Option
- func WithColorInfoClientFactory(f func(name string) (ColorInfoClient, error)) router.Option
- func WithDaliApiClientFactory(f func(name string) (DaliApiClient, error)) router.Option
- func WithElectricHistoryClientFactory(f func(name string) (ElectricHistoryClient, error)) router.Option
- func WithHistoryAdminApiClientFactory(f func(name string) (HistoryAdminApiClient, error)) router.Option
- func WithMeterApiClientFactory(f func(name string) (MeterApiClient, error)) router.Option
- func WithMeterHistoryClientFactory(f func(name string) (MeterHistoryClient, error)) router.Option
- func WithMeterInfoClientFactory(f func(name string) (MeterInfoClient, error)) router.Option
- func WithMqttServiceClientFactory(f func(name string) (MqttServiceClient, error)) router.Option
- func WithOccupancySensorHistoryClientFactory(f func(name string) (OccupancySensorHistoryClient, error)) router.Option
- func WithServicesApiClientFactory(f func(name string) (ServicesApiClient, error)) router.Option
- func WithStatusApiClientFactory(f func(name string) (StatusApiClient, error)) router.Option
- func WithStatusHistoryClientFactory(f func(name string) (StatusHistoryClient, error)) router.Option
- func WithTemperatureApiClientFactory(f func(name string) (TemperatureApiClient, error)) router.Option
- func WithUdmiServiceClientFactory(f func(name string) (UdmiServiceClient, error)) router.Option
- type AccessApiClient
- type AccessApiRouter
- func (r *AccessApiRouter) Add(name string, client any) any
- func (r *AccessApiRouter) AddAccessApiClient(name string, client AccessApiClient) AccessApiClient
- func (r *AccessApiRouter) GetAccessApiClient(name string) (AccessApiClient, error)
- func (r *AccessApiRouter) GetLastAccessAttempt(ctx context.Context, request *GetLastAccessAttemptRequest) (*AccessAttempt, error)
- func (r *AccessApiRouter) HoldsType(client any) bool
- func (r *AccessApiRouter) PullAccessAttempts(request *PullAccessAttemptsRequest, server AccessApi_PullAccessAttemptsServer) error
- func (r *AccessApiRouter) Register(server *grpc.Server)
- func (r *AccessApiRouter) RemoveAccessApiClient(name string) AccessApiClient
- type AccessApiServer
- type AccessApi_PullAccessAttemptsClient
- type AccessApi_PullAccessAttemptsServer
- type AccessAttempt
- func (*AccessAttempt) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAttempt) GetActor() *AccessAttempt_Actor
- func (x *AccessAttempt) GetGrant() AccessAttempt_Grant
- func (x *AccessAttempt) GetReason() string
- func (*AccessAttempt) ProtoMessage()
- func (x *AccessAttempt) ProtoReflect() protoreflect.Message
- func (x *AccessAttempt) Reset()
- func (x *AccessAttempt) String() string
- type AccessAttempt_Actor
- func (*AccessAttempt_Actor) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAttempt_Actor) GetDisplayName() string
- func (x *AccessAttempt_Actor) GetEmail() string
- func (x *AccessAttempt_Actor) GetIds() map[string]string
- func (x *AccessAttempt_Actor) GetMore() map[string]string
- func (x *AccessAttempt_Actor) GetName() string
- func (x *AccessAttempt_Actor) GetPicture() *types.Image
- func (x *AccessAttempt_Actor) GetTitle() string
- func (x *AccessAttempt_Actor) GetUrl() string
- func (*AccessAttempt_Actor) ProtoMessage()
- func (x *AccessAttempt_Actor) ProtoReflect() protoreflect.Message
- func (x *AccessAttempt_Actor) Reset()
- func (x *AccessAttempt_Actor) String() string
- type AccessAttempt_Grant
- func (AccessAttempt_Grant) Descriptor() protoreflect.EnumDescriptor
- func (x AccessAttempt_Grant) Enum() *AccessAttempt_Grant
- func (AccessAttempt_Grant) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccessAttempt_Grant) Number() protoreflect.EnumNumber
- func (x AccessAttempt_Grant) String() string
- func (AccessAttempt_Grant) Type() protoreflect.EnumType
- type AcknowledgeAlertRequest
- func (*AcknowledgeAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgeAlertRequest) GetAllowAcknowledged() bool
- func (x *AcknowledgeAlertRequest) GetAllowMissing() bool
- func (x *AcknowledgeAlertRequest) GetAuthor() *Alert_Acknowledgement_Author
- func (x *AcknowledgeAlertRequest) GetId() string
- func (x *AcknowledgeAlertRequest) GetName() string
- func (*AcknowledgeAlertRequest) ProtoMessage()
- func (x *AcknowledgeAlertRequest) ProtoReflect() protoreflect.Message
- func (x *AcknowledgeAlertRequest) Reset()
- func (x *AcknowledgeAlertRequest) String() string
- type AddTenantZonesRequest
- func (*AddTenantZonesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTenantZonesRequest) GetAddZoneNames() []string
- func (x *AddTenantZonesRequest) GetTenantId() string
- func (*AddTenantZonesRequest) ProtoMessage()
- func (x *AddTenantZonesRequest) ProtoReflect() protoreflect.Message
- func (x *AddTenantZonesRequest) Reset()
- func (x *AddTenantZonesRequest) String() string
- type AddToGroupRequest
- func (*AddToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddToGroupRequest) GetGroup() int32
- func (x *AddToGroupRequest) GetName() string
- func (*AddToGroupRequest) ProtoMessage()
- func (x *AddToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddToGroupRequest) Reset()
- func (x *AddToGroupRequest) String() string
- type AddToGroupResponse
- type AirQualityRecord
- func (*AirQualityRecord) Descriptor() ([]byte, []int)deprecated
- func (x *AirQualityRecord) GetAirQuality() *traits.AirQuality
- func (x *AirQualityRecord) GetRecordTime() *timestamppb.Timestamp
- func (*AirQualityRecord) ProtoMessage()
- func (x *AirQualityRecord) ProtoReflect() protoreflect.Message
- func (x *AirQualityRecord) Reset()
- func (x *AirQualityRecord) String() string
- type AirQualitySensorHistoryClient
- type AirQualitySensorHistoryRouter
- func (r *AirQualitySensorHistoryRouter) Add(name string, client any) any
- func (r *AirQualitySensorHistoryRouter) AddAirQualitySensorHistoryClient(name string, client AirQualitySensorHistoryClient) AirQualitySensorHistoryClient
- func (r *AirQualitySensorHistoryRouter) GetAirQualitySensorHistoryClient(name string) (AirQualitySensorHistoryClient, error)
- func (r *AirQualitySensorHistoryRouter) HoldsType(client any) bool
- func (r *AirQualitySensorHistoryRouter) ListAirQualityHistory(ctx context.Context, request *ListAirQualityHistoryRequest) (*ListAirQualityHistoryResponse, error)
- func (r *AirQualitySensorHistoryRouter) Register(server *grpc.Server)
- func (r *AirQualitySensorHistoryRouter) RemoveAirQualitySensorHistoryClient(name string) AirQualitySensorHistoryClient
- type AirQualitySensorHistoryServer
- type AirTemperatureHistoryClient
- type AirTemperatureHistoryRouter
- func (r *AirTemperatureHistoryRouter) Add(name string, client any) any
- func (r *AirTemperatureHistoryRouter) AddAirTemperatureHistoryClient(name string, client AirTemperatureHistoryClient) AirTemperatureHistoryClient
- func (r *AirTemperatureHistoryRouter) GetAirTemperatureHistoryClient(name string) (AirTemperatureHistoryClient, error)
- func (r *AirTemperatureHistoryRouter) HoldsType(client any) bool
- func (r *AirTemperatureHistoryRouter) ListAirTemperatureHistory(ctx context.Context, request *ListAirTemperatureHistoryRequest) (*ListAirTemperatureHistoryResponse, error)
- func (r *AirTemperatureHistoryRouter) Register(server *grpc.Server)
- func (r *AirTemperatureHistoryRouter) RemoveAirTemperatureHistoryClient(name string) AirTemperatureHistoryClient
- type AirTemperatureHistoryServer
- type AirTemperatureRecord
- func (*AirTemperatureRecord) Descriptor() ([]byte, []int)deprecated
- func (x *AirTemperatureRecord) GetAirTemperature() *traits.AirTemperature
- func (x *AirTemperatureRecord) GetRecordTime() *timestamppb.Timestamp
- func (*AirTemperatureRecord) ProtoMessage()
- func (x *AirTemperatureRecord) ProtoReflect() protoreflect.Message
- func (x *AirTemperatureRecord) Reset()
- func (x *AirTemperatureRecord) String() string
- type Alert
- func (*Alert) Descriptor() ([]byte, []int)deprecated
- func (x *Alert) GetAcknowledgement() *Alert_Acknowledgement
- func (x *Alert) GetCreateTime() *timestamppb.Timestamp
- func (x *Alert) GetDescription() string
- func (x *Alert) GetFederation() string
- func (x *Alert) GetFloor() string
- func (x *Alert) GetId() string
- func (x *Alert) GetResolveTime() *timestamppb.Timestamp
- func (x *Alert) GetSeverity() Alert_Severity
- func (x *Alert) GetSource() string
- func (x *Alert) GetSubsystem() string
- func (x *Alert) GetZone() string
- func (*Alert) ProtoMessage()
- func (x *Alert) ProtoReflect() protoreflect.Message
- func (x *Alert) Reset()
- func (x *Alert) String() string
- type AlertAdminApiClient
- type AlertAdminApiRouter
- func (r *AlertAdminApiRouter) Add(name string, client any) any
- func (r *AlertAdminApiRouter) AddAlertAdminApiClient(name string, client AlertAdminApiClient) AlertAdminApiClient
- func (r *AlertAdminApiRouter) CreateAlert(ctx context.Context, request *CreateAlertRequest) (*Alert, error)
- func (r *AlertAdminApiRouter) DeleteAlert(ctx context.Context, request *DeleteAlertRequest) (*DeleteAlertResponse, error)
- func (r *AlertAdminApiRouter) GetAlertAdminApiClient(name string) (AlertAdminApiClient, error)
- func (r *AlertAdminApiRouter) HoldsType(client any) bool
- func (r *AlertAdminApiRouter) Register(server *grpc.Server)
- func (r *AlertAdminApiRouter) RemoveAlertAdminApiClient(name string) AlertAdminApiClient
- func (r *AlertAdminApiRouter) ResolveAlert(ctx context.Context, request *ResolveAlertRequest) (*Alert, error)
- func (r *AlertAdminApiRouter) UpdateAlert(ctx context.Context, request *UpdateAlertRequest) (*Alert, error)
- type AlertAdminApiServer
- type AlertApiClient
- type AlertApiRouter
- func (r *AlertApiRouter) AcknowledgeAlert(ctx context.Context, request *AcknowledgeAlertRequest) (*Alert, error)
- func (r *AlertApiRouter) Add(name string, client any) any
- func (r *AlertApiRouter) AddAlertApiClient(name string, client AlertApiClient) AlertApiClient
- func (r *AlertApiRouter) GetAlertApiClient(name string) (AlertApiClient, error)
- func (r *AlertApiRouter) GetAlertMetadata(ctx context.Context, request *GetAlertMetadataRequest) (*AlertMetadata, error)
- func (r *AlertApiRouter) HoldsType(client any) bool
- func (r *AlertApiRouter) ListAlerts(ctx context.Context, request *ListAlertsRequest) (*ListAlertsResponse, error)
- func (r *AlertApiRouter) PullAlertMetadata(request *PullAlertMetadataRequest, server AlertApi_PullAlertMetadataServer) error
- func (r *AlertApiRouter) PullAlerts(request *PullAlertsRequest, server AlertApi_PullAlertsServer) error
- func (r *AlertApiRouter) Register(server *grpc.Server)
- func (r *AlertApiRouter) RemoveAlertApiClient(name string) AlertApiClient
- func (r *AlertApiRouter) UnacknowledgeAlert(ctx context.Context, request *AcknowledgeAlertRequest) (*Alert, error)
- type AlertApiServer
- type AlertApi_PullAlertMetadataClient
- type AlertApi_PullAlertMetadataServer
- type AlertApi_PullAlertsClient
- type AlertApi_PullAlertsServer
- type AlertMetadata
- func (*AlertMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AlertMetadata) GetAcknowledgedCounts() map[bool]uint32
- func (x *AlertMetadata) GetFloorCounts() map[string]uint32
- func (x *AlertMetadata) GetNeedsAttentionCounts() map[string]uint32
- func (x *AlertMetadata) GetResolvedCounts() map[bool]uint32
- func (x *AlertMetadata) GetSeverityCounts() map[int32]uint32
- func (x *AlertMetadata) GetSubsystemCounts() map[string]uint32
- func (x *AlertMetadata) GetTotalCount() uint32
- func (x *AlertMetadata) GetZoneCounts() map[string]uint32
- func (*AlertMetadata) ProtoMessage()
- func (x *AlertMetadata) ProtoReflect() protoreflect.Message
- func (x *AlertMetadata) Reset()
- func (x *AlertMetadata) String() string
- type Alert_Acknowledgement
- func (*Alert_Acknowledgement) Descriptor() ([]byte, []int)deprecated
- func (x *Alert_Acknowledgement) GetAcknowledgeTime() *timestamppb.Timestamp
- func (x *Alert_Acknowledgement) GetAuthor() *Alert_Acknowledgement_Author
- func (*Alert_Acknowledgement) ProtoMessage()
- func (x *Alert_Acknowledgement) ProtoReflect() protoreflect.Message
- func (x *Alert_Acknowledgement) Reset()
- func (x *Alert_Acknowledgement) String() string
- type Alert_Acknowledgement_Author
- func (*Alert_Acknowledgement_Author) Descriptor() ([]byte, []int)deprecated
- func (x *Alert_Acknowledgement_Author) GetDisplayName() string
- func (x *Alert_Acknowledgement_Author) GetEmail() string
- func (x *Alert_Acknowledgement_Author) GetId() string
- func (*Alert_Acknowledgement_Author) ProtoMessage()
- func (x *Alert_Acknowledgement_Author) ProtoReflect() protoreflect.Message
- func (x *Alert_Acknowledgement_Author) Reset()
- func (x *Alert_Acknowledgement_Author) String() string
- type Alert_Query
- func (*Alert_Query) Descriptor() ([]byte, []int)deprecated
- func (x *Alert_Query) GetAcknowledged() bool
- func (x *Alert_Query) GetCreatedNotAfter() *timestamppb.Timestamp
- func (x *Alert_Query) GetCreatedNotBefore() *timestamppb.Timestamp
- func (x *Alert_Query) GetFederation() string
- func (x *Alert_Query) GetFloor() string
- func (x *Alert_Query) GetResolved() bool
- func (x *Alert_Query) GetResolvedNotAfter() *timestamppb.Timestamp
- func (x *Alert_Query) GetResolvedNotBefore() *timestamppb.Timestamp
- func (x *Alert_Query) GetSeverityNotAbove() int32
- func (x *Alert_Query) GetSeverityNotBelow() int32
- func (x *Alert_Query) GetSource() string
- func (x *Alert_Query) GetSubsystem() string
- func (x *Alert_Query) GetZone() string
- func (*Alert_Query) ProtoMessage()
- func (x *Alert_Query) ProtoReflect() protoreflect.Message
- func (x *Alert_Query) Reset()
- func (x *Alert_Query) String() string
- type Alert_Severity
- func (Alert_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Alert_Severity) Enum() *Alert_Severity
- func (Alert_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Alert_Severity) Number() protoreflect.EnumNumber
- func (x Alert_Severity) String() string
- func (Alert_Severity) Type() protoreflect.EnumType
- type AxiomXaDriverServiceClient
- type AxiomXaDriverServiceRouter
- func (r *AxiomXaDriverServiceRouter) Add(name string, client any) any
- func (r *AxiomXaDriverServiceRouter) AddAxiomXaDriverServiceClient(name string, client AxiomXaDriverServiceClient) AxiomXaDriverServiceClient
- func (r *AxiomXaDriverServiceRouter) GetAxiomXaDriverServiceClient(name string) (AxiomXaDriverServiceClient, error)
- func (r *AxiomXaDriverServiceRouter) HoldsType(client any) bool
- func (r *AxiomXaDriverServiceRouter) Register(server *grpc.Server)
- func (r *AxiomXaDriverServiceRouter) RemoveAxiomXaDriverServiceClient(name string) AxiomXaDriverServiceClient
- func (r *AxiomXaDriverServiceRouter) SaveQRCredential(ctx context.Context, request *SaveQRCredentialRequest) (*SaveQRCredentialResponse, error)
- type AxiomXaDriverServiceServer
- type ButtonApiClient
- type ButtonApiRouter
- func (r *ButtonApiRouter) Add(name string, client any) any
- func (r *ButtonApiRouter) AddButtonApiClient(name string, client ButtonApiClient) ButtonApiClient
- func (r *ButtonApiRouter) GetButtonApiClient(name string) (ButtonApiClient, error)
- func (r *ButtonApiRouter) GetButtonState(ctx context.Context, request *GetButtonStateRequest) (*ButtonState, error)
- func (r *ButtonApiRouter) HoldsType(client any) bool
- func (r *ButtonApiRouter) PullButtonState(request *PullButtonStateRequest, server ButtonApi_PullButtonStateServer) error
- func (r *ButtonApiRouter) Register(server *grpc.Server)
- func (r *ButtonApiRouter) RemoveButtonApiClient(name string) ButtonApiClient
- func (r *ButtonApiRouter) UpdateButtonState(ctx context.Context, request *UpdateButtonStateRequest) (*ButtonState, error)
- type ButtonApiServer
- type ButtonApi_PullButtonStateClient
- type ButtonApi_PullButtonStateServer
- type ButtonState
- func (*ButtonState) Descriptor() ([]byte, []int)deprecated
- func (x *ButtonState) GetMostRecentGesture() *ButtonState_Gesture
- func (x *ButtonState) GetState() ButtonState_Press
- func (x *ButtonState) GetStateChangeTime() *timestamppb.Timestamp
- func (*ButtonState) ProtoMessage()
- func (x *ButtonState) ProtoReflect() protoreflect.Message
- func (x *ButtonState) Reset()
- func (x *ButtonState) String() string
- type ButtonState_Gesture
- func (*ButtonState_Gesture) Descriptor() ([]byte, []int)deprecated
- func (x *ButtonState_Gesture) GetCount() int32
- func (x *ButtonState_Gesture) GetEndTime() *timestamppb.Timestamp
- func (x *ButtonState_Gesture) GetId() string
- func (x *ButtonState_Gesture) GetKind() ButtonState_Gesture_Kind
- func (x *ButtonState_Gesture) GetStartTime() *timestamppb.Timestamp
- func (*ButtonState_Gesture) ProtoMessage()
- func (x *ButtonState_Gesture) ProtoReflect() protoreflect.Message
- func (x *ButtonState_Gesture) Reset()
- func (x *ButtonState_Gesture) String() string
- type ButtonState_Gesture_Kind
- func (ButtonState_Gesture_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x ButtonState_Gesture_Kind) Enum() *ButtonState_Gesture_Kind
- func (ButtonState_Gesture_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ButtonState_Gesture_Kind) Number() protoreflect.EnumNumber
- func (x ButtonState_Gesture_Kind) String() string
- func (ButtonState_Gesture_Kind) Type() protoreflect.EnumType
- type ButtonState_Press
- func (ButtonState_Press) Descriptor() protoreflect.EnumDescriptor
- func (x ButtonState_Press) Enum() *ButtonState_Press
- func (ButtonState_Press) EnumDescriptor() ([]byte, []int)deprecated
- func (x ButtonState_Press) Number() protoreflect.EnumNumber
- func (x ButtonState_Press) String() string
- func (ButtonState_Press) Type() protoreflect.EnumType
- type Color
- func (*Color) Descriptor() ([]byte, []int)deprecated
- func (x *Color) GetChannels() *ColorChannels
- func (x *Color) GetColorTween() *types.Tween
- func (x *Color) GetPreset() *ColorPreset
- func (x *Color) GetTargetChannels() *ColorChannels
- func (x *Color) GetTargetPreset() *ColorPreset
- func (*Color) ProtoMessage()
- func (x *Color) ProtoReflect() protoreflect.Message
- func (x *Color) Reset()
- func (x *Color) String() string
- type ColorApiClient
- type ColorApiRouter
- func (r *ColorApiRouter) Add(name string, client any) any
- func (r *ColorApiRouter) AddColorApiClient(name string, client ColorApiClient) ColorApiClient
- func (r *ColorApiRouter) GetColor(ctx context.Context, request *GetColorRequest) (*Color, error)
- func (r *ColorApiRouter) GetColorApiClient(name string) (ColorApiClient, error)
- func (r *ColorApiRouter) HoldsType(client any) bool
- func (r *ColorApiRouter) PullColor(request *PullColorRequest, server ColorApi_PullColorServer) error
- func (r *ColorApiRouter) Register(server *grpc.Server)
- func (r *ColorApiRouter) RemoveColorApiClient(name string) ColorApiClient
- func (r *ColorApiRouter) UpdateColor(ctx context.Context, request *UpdateColorRequest) (*Color, error)
- type ColorApiServer
- type ColorApi_PullColorClient
- type ColorApi_PullColorServer
- type ColorChannels
- func (*ColorChannels) Descriptor() ([]byte, []int)deprecated
- func (x *ColorChannels) GetBlue() uint32
- func (x *ColorChannels) GetGreen() uint32
- func (x *ColorChannels) GetIntensity() uint32
- func (x *ColorChannels) GetMore() map[string]uint32
- func (x *ColorChannels) GetRed() uint32
- func (x *ColorChannels) GetTemperature() uint32
- func (*ColorChannels) ProtoMessage()
- func (x *ColorChannels) ProtoReflect() protoreflect.Message
- func (x *ColorChannels) Reset()
- func (x *ColorChannels) String() string
- type ColorInfoClient
- type ColorInfoRouter
- func (r *ColorInfoRouter) Add(name string, client any) any
- func (r *ColorInfoRouter) AddColorInfoClient(name string, client ColorInfoClient) ColorInfoClient
- func (r *ColorInfoRouter) DescribeColor(ctx context.Context, request *DescribeColorRequest) (*ColorSupport, error)
- func (r *ColorInfoRouter) GetColorInfoClient(name string) (ColorInfoClient, error)
- func (r *ColorInfoRouter) HoldsType(client any) bool
- func (r *ColorInfoRouter) Register(server *grpc.Server)
- func (r *ColorInfoRouter) RemoveColorInfoClient(name string) ColorInfoClient
- type ColorInfoServer
- type ColorPreset
- type ColorSupport
- func (*ColorSupport) Descriptor() ([]byte, []int)deprecated
- func (x *ColorSupport) GetChannels() []string
- func (x *ColorSupport) GetColorAttributes() *types.Int32Attributes
- func (x *ColorSupport) GetPresets() []*ColorPreset
- func (x *ColorSupport) GetResourceSupport() *types.ResourceSupport
- func (*ColorSupport) ProtoMessage()
- func (x *ColorSupport) ProtoReflect() protoreflect.Message
- func (x *ColorSupport) Reset()
- func (x *ColorSupport) String() string
- type ConfigureServiceRequest
- func (*ConfigureServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureServiceRequest) GetConfigRaw() string
- func (x *ConfigureServiceRequest) GetId() string
- func (x *ConfigureServiceRequest) GetName() string
- func (*ConfigureServiceRequest) ProtoMessage()
- func (x *ConfigureServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureServiceRequest) Reset()
- func (x *ConfigureServiceRequest) String() string
- type ControlGearStatus
- func (*ControlGearStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ControlGearStatus) GetFailures() []ControlGearStatus_Failure
- func (*ControlGearStatus) ProtoMessage()
- func (x *ControlGearStatus) ProtoReflect() protoreflect.Message
- func (x *ControlGearStatus) Reset()
- func (x *ControlGearStatus) String() string
- type ControlGearStatus_Failure
- func (ControlGearStatus_Failure) Descriptor() protoreflect.EnumDescriptor
- func (x ControlGearStatus_Failure) Enum() *ControlGearStatus_Failure
- func (ControlGearStatus_Failure) EnumDescriptor() ([]byte, []int)deprecated
- func (x ControlGearStatus_Failure) Number() protoreflect.EnumNumber
- func (x ControlGearStatus_Failure) String() string
- func (ControlGearStatus_Failure) Type() protoreflect.EnumType
- type CreateAlertRequest
- func (*CreateAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlertRequest) GetAlert() *Alert
- func (x *CreateAlertRequest) GetMergeSource() bool
- func (x *CreateAlertRequest) GetName() string
- func (*CreateAlertRequest) ProtoMessage()
- func (x *CreateAlertRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAlertRequest) Reset()
- func (x *CreateAlertRequest) String() string
- type CreateEnrollmentRequest
- func (*CreateEnrollmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnrollmentRequest) GetEnrollment() *Enrollment
- func (*CreateEnrollmentRequest) ProtoMessage()
- func (x *CreateEnrollmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnrollmentRequest) Reset()
- func (x *CreateEnrollmentRequest) String() string
- type CreateHistoryRecordRequest
- func (*CreateHistoryRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHistoryRecordRequest) GetName() string
- func (x *CreateHistoryRecordRequest) GetRecord() *HistoryRecord
- func (*CreateHistoryRecordRequest) ProtoMessage()
- func (x *CreateHistoryRecordRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHistoryRecordRequest) Reset()
- func (x *CreateHistoryRecordRequest) String() string
- type CreateSecretRequest
- func (*CreateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRequest) GetSecret() *Secret
- func (*CreateSecretRequest) ProtoMessage()
- func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRequest) Reset()
- func (x *CreateSecretRequest) String() string
- type CreateServiceRequest
- func (*CreateServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceRequest) GetName() string
- func (x *CreateServiceRequest) GetService() *Service
- func (*CreateServiceRequest) ProtoMessage()
- func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServiceRequest) Reset()
- func (x *CreateServiceRequest) String() string
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetTenant() *Tenant
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- type DaliApiClient
- type DaliApiRouter
- func (r *DaliApiRouter) Add(name string, client any) any
- func (r *DaliApiRouter) AddDaliApiClient(name string, client DaliApiClient) DaliApiClient
- func (r *DaliApiRouter) AddToGroup(ctx context.Context, request *AddToGroupRequest) (*AddToGroupResponse, error)
- func (r *DaliApiRouter) DeleteTestResult(ctx context.Context, request *DeleteTestResultRequest) (*TestResult, error)
- func (r *DaliApiRouter) GetControlGearStatus(ctx context.Context, request *GetControlGearStatusRequest) (*ControlGearStatus, error)
- func (r *DaliApiRouter) GetDaliApiClient(name string) (DaliApiClient, error)
- func (r *DaliApiRouter) GetEmergencyStatus(ctx context.Context, request *GetEmergencyStatusRequest) (*EmergencyStatus, error)
- func (r *DaliApiRouter) GetGroupMembership(ctx context.Context, request *GetGroupMembershipRequest) (*GetGroupMembershipResponse, error)
- func (r *DaliApiRouter) GetTestResult(ctx context.Context, request *GetTestResultRequest) (*TestResult, error)
- func (r *DaliApiRouter) HoldsType(client any) bool
- func (r *DaliApiRouter) Identify(ctx context.Context, request *IdentifyRequest) (*IdentifyResponse, error)
- func (r *DaliApiRouter) Register(server *grpc.Server)
- func (r *DaliApiRouter) RemoveDaliApiClient(name string) DaliApiClient
- func (r *DaliApiRouter) RemoveFromGroup(ctx context.Context, request *RemoveFromGroupRequest) (*RemoveFromGroupResponse, error)
- func (r *DaliApiRouter) StartTest(ctx context.Context, request *StartTestRequest) (*StartTestResponse, error)
- func (r *DaliApiRouter) StopTest(ctx context.Context, request *StopTestRequest) (*StopTestResponse, error)
- type DaliApiServer
- type DeleteAlertRequest
- func (*DeleteAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAlertRequest) GetAllowMissing() bool
- func (x *DeleteAlertRequest) GetId() string
- func (x *DeleteAlertRequest) GetName() string
- func (*DeleteAlertRequest) ProtoMessage()
- func (x *DeleteAlertRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAlertRequest) Reset()
- func (x *DeleteAlertRequest) String() string
- type DeleteAlertResponse
- type DeleteEnrollmentRequest
- type DeleteSecretRequest
- func (*DeleteSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretRequest) GetId() string
- func (*DeleteSecretRequest) ProtoMessage()
- func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretRequest) Reset()
- func (x *DeleteSecretRequest) String() string
- type DeleteSecretResponse
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceRequest) GetAllowMissing() bool
- func (x *DeleteServiceRequest) GetId() string
- func (x *DeleteServiceRequest) GetName() string
- func (*DeleteServiceRequest) ProtoMessage()
- func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceRequest) Reset()
- func (x *DeleteServiceRequest) String() string
- type DeleteTenantRequest
- func (*DeleteTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTenantRequest) GetId() string
- func (*DeleteTenantRequest) ProtoMessage()
- func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantRequest) Reset()
- func (x *DeleteTenantRequest) String() string
- type DeleteTenantResponse
- type DeleteTestResultRequest
- func (*DeleteTestResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTestResultRequest) GetEtag() string
- func (x *DeleteTestResultRequest) GetName() string
- func (x *DeleteTestResultRequest) GetTest() EmergencyStatus_Test
- func (*DeleteTestResultRequest) ProtoMessage()
- func (x *DeleteTestResultRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTestResultRequest) Reset()
- func (x *DeleteTestResultRequest) String() string
- type DescribeColorRequest
- func (*DescribeColorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeColorRequest) GetName() string
- func (*DescribeColorRequest) ProtoMessage()
- func (x *DescribeColorRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeColorRequest) Reset()
- func (x *DescribeColorRequest) String() string
- type DescribeMeterReadingRequest
- func (*DescribeMeterReadingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeMeterReadingRequest) GetName() string
- func (*DescribeMeterReadingRequest) ProtoMessage()
- func (x *DescribeMeterReadingRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeMeterReadingRequest) Reset()
- func (x *DescribeMeterReadingRequest) String() string
- type Device
- type Device_Query
- type Device_Query_Condition
- func (*Device_Query_Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Device_Query_Condition) GetField() string
- func (x *Device_Query_Condition) GetStringContains() string
- func (x *Device_Query_Condition) GetStringContainsFold() string
- func (x *Device_Query_Condition) GetStringEqual() string
- func (x *Device_Query_Condition) GetStringEqualFold() string
- func (m *Device_Query_Condition) GetValue() isDevice_Query_Condition_Value
- func (*Device_Query_Condition) ProtoMessage()
- func (x *Device_Query_Condition) ProtoReflect() protoreflect.Message
- func (x *Device_Query_Condition) Reset()
- func (x *Device_Query_Condition) String() string
- type Device_Query_Condition_StringContains
- type Device_Query_Condition_StringContainsFold
- type Device_Query_Condition_StringEqual
- type Device_Query_Condition_StringEqualFold
- type DevicesApiClient
- type DevicesApiServer
- type DevicesApi_PullDevicesClient
- type DevicesApi_PullDevicesMetadataClient
- type DevicesApi_PullDevicesMetadataServer
- type DevicesApi_PullDevicesServer
- type DevicesMetadata
- func (*DevicesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesMetadata) GetFieldCounts() []*DevicesMetadata_StringFieldCount
- func (x *DevicesMetadata) GetTotalCount() int32
- func (*DevicesMetadata) ProtoMessage()
- func (x *DevicesMetadata) ProtoReflect() protoreflect.Message
- func (x *DevicesMetadata) Reset()
- func (x *DevicesMetadata) String() string
- type DevicesMetadata_Include
- func (*DevicesMetadata_Include) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesMetadata_Include) GetFields() []string
- func (*DevicesMetadata_Include) ProtoMessage()
- func (x *DevicesMetadata_Include) ProtoReflect() protoreflect.Message
- func (x *DevicesMetadata_Include) Reset()
- func (x *DevicesMetadata_Include) String() string
- type DevicesMetadata_StringFieldCount
- func (*DevicesMetadata_StringFieldCount) Descriptor() ([]byte, []int)deprecated
- func (x *DevicesMetadata_StringFieldCount) GetCounts() map[string]uint32
- func (x *DevicesMetadata_StringFieldCount) GetField() string
- func (*DevicesMetadata_StringFieldCount) ProtoMessage()
- func (x *DevicesMetadata_StringFieldCount) ProtoReflect() protoreflect.Message
- func (x *DevicesMetadata_StringFieldCount) Reset()
- func (x *DevicesMetadata_StringFieldCount) String() string
- type ElectricDemandRecord
- func (*ElectricDemandRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ElectricDemandRecord) GetElectricDemand() *traits.ElectricDemand
- func (x *ElectricDemandRecord) GetRecordTime() *timestamppb.Timestamp
- func (*ElectricDemandRecord) ProtoMessage()
- func (x *ElectricDemandRecord) ProtoReflect() protoreflect.Message
- func (x *ElectricDemandRecord) Reset()
- func (x *ElectricDemandRecord) String() string
- type ElectricHistoryClient
- type ElectricHistoryRouter
- func (r *ElectricHistoryRouter) Add(name string, client any) any
- func (r *ElectricHistoryRouter) AddElectricHistoryClient(name string, client ElectricHistoryClient) ElectricHistoryClient
- func (r *ElectricHistoryRouter) GetElectricHistoryClient(name string) (ElectricHistoryClient, error)
- func (r *ElectricHistoryRouter) HoldsType(client any) bool
- func (r *ElectricHistoryRouter) ListElectricDemandHistory(ctx context.Context, request *ListElectricDemandHistoryRequest) (*ListElectricDemandHistoryResponse, error)
- func (r *ElectricHistoryRouter) Register(server *grpc.Server)
- func (r *ElectricHistoryRouter) RemoveElectricHistoryClient(name string) ElectricHistoryClient
- type ElectricHistoryServer
- type EmergencyStatus
- func (*EmergencyStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EmergencyStatus) GetActiveModes() []EmergencyStatus_Mode
- func (x *EmergencyStatus) GetBatteryLevelPercent() float32
- func (x *EmergencyStatus) GetFailures() []EmergencyStatus_Failure
- func (x *EmergencyStatus) GetIdentificationActive() bool
- func (x *EmergencyStatus) GetInhibitActive() bool
- func (x *EmergencyStatus) GetOverdueTests() []EmergencyStatus_Test
- func (x *EmergencyStatus) GetPendingTests() []EmergencyStatus_Test
- func (x *EmergencyStatus) GetResultsAvailable() []EmergencyStatus_Test
- func (*EmergencyStatus) ProtoMessage()
- func (x *EmergencyStatus) ProtoReflect() protoreflect.Message
- func (x *EmergencyStatus) Reset()
- func (x *EmergencyStatus) String() string
- type EmergencyStatus_Failure
- func (EmergencyStatus_Failure) Descriptor() protoreflect.EnumDescriptor
- func (x EmergencyStatus_Failure) Enum() *EmergencyStatus_Failure
- func (EmergencyStatus_Failure) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmergencyStatus_Failure) Number() protoreflect.EnumNumber
- func (x EmergencyStatus_Failure) String() string
- func (EmergencyStatus_Failure) Type() protoreflect.EnumType
- type EmergencyStatus_Mode
- func (EmergencyStatus_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x EmergencyStatus_Mode) Enum() *EmergencyStatus_Mode
- func (EmergencyStatus_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmergencyStatus_Mode) Number() protoreflect.EnumNumber
- func (x EmergencyStatus_Mode) String() string
- func (EmergencyStatus_Mode) Type() protoreflect.EnumType
- type EmergencyStatus_Test
- func (EmergencyStatus_Test) Descriptor() protoreflect.EnumDescriptor
- func (x EmergencyStatus_Test) Enum() *EmergencyStatus_Test
- func (EmergencyStatus_Test) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmergencyStatus_Test) Number() protoreflect.EnumNumber
- func (x EmergencyStatus_Test) String() string
- func (EmergencyStatus_Test) Type() protoreflect.EnumType
- type EnrollHubNodeRequest
- func (*EnrollHubNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnrollHubNodeRequest) GetNode() *HubNode
- func (x *EnrollHubNodeRequest) GetPublicCerts() []string
- func (*EnrollHubNodeRequest) ProtoMessage()
- func (x *EnrollHubNodeRequest) ProtoReflect() protoreflect.Message
- func (x *EnrollHubNodeRequest) Reset()
- func (x *EnrollHubNodeRequest) String() string
- type Enrollment
- func (*Enrollment) Descriptor() ([]byte, []int)deprecated
- func (x *Enrollment) GetCertificate() []byte
- func (x *Enrollment) GetManagerAddress() string
- func (x *Enrollment) GetManagerName() string
- func (x *Enrollment) GetRootCas() []byte
- func (x *Enrollment) GetTargetAddress() string
- func (x *Enrollment) GetTargetName() string
- func (*Enrollment) ProtoMessage()
- func (x *Enrollment) ProtoReflect() protoreflect.Message
- func (x *Enrollment) Reset()
- func (x *Enrollment) String() string
- type EnrollmentApiClient
- type EnrollmentApiServer
- type ForgetHubNodeRequest
- func (*ForgetHubNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetHubNodeRequest) GetAddress() string
- func (x *ForgetHubNodeRequest) GetAllowMissing() bool
- func (*ForgetHubNodeRequest) ProtoMessage()
- func (x *ForgetHubNodeRequest) ProtoReflect() protoreflect.Message
- func (x *ForgetHubNodeRequest) Reset()
- func (x *ForgetHubNodeRequest) String() string
- type ForgetHubNodeResponse
- type GetAlertMetadataRequest
- func (*GetAlertMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertMetadataRequest) GetName() string
- func (x *GetAlertMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetAlertMetadataRequest) ProtoMessage()
- func (x *GetAlertMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlertMetadataRequest) Reset()
- func (x *GetAlertMetadataRequest) String() string
- type GetButtonStateRequest
- func (*GetButtonStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetButtonStateRequest) GetName() string
- func (x *GetButtonStateRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetButtonStateRequest) ProtoMessage()
- func (x *GetButtonStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetButtonStateRequest) Reset()
- func (x *GetButtonStateRequest) String() string
- type GetColorRequest
- func (*GetColorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetColorRequest) GetName() string
- func (x *GetColorRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetColorRequest) ProtoMessage()
- func (x *GetColorRequest) ProtoReflect() protoreflect.Message
- func (x *GetColorRequest) Reset()
- func (x *GetColorRequest) String() string
- type GetControlGearStatusRequest
- func (*GetControlGearStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetControlGearStatusRequest) GetName() string
- func (*GetControlGearStatusRequest) ProtoMessage()
- func (x *GetControlGearStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetControlGearStatusRequest) Reset()
- func (x *GetControlGearStatusRequest) String() string
- type GetCurrentStatusRequest
- func (*GetCurrentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentStatusRequest) GetName() string
- func (x *GetCurrentStatusRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetCurrentStatusRequest) ProtoMessage()
- func (x *GetCurrentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentStatusRequest) Reset()
- func (x *GetCurrentStatusRequest) String() string
- type GetDevicesMetadataRequest
- func (*GetDevicesMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDevicesMetadataRequest) GetIncludes() *DevicesMetadata_Include
- func (x *GetDevicesMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetDevicesMetadataRequest) ProtoMessage()
- func (x *GetDevicesMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetDevicesMetadataRequest) Reset()
- func (x *GetDevicesMetadataRequest) String() string
- type GetEmergencyStatusRequest
- func (*GetEmergencyStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmergencyStatusRequest) GetName() string
- func (*GetEmergencyStatusRequest) ProtoMessage()
- func (x *GetEmergencyStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetEmergencyStatusRequest) Reset()
- func (x *GetEmergencyStatusRequest) String() string
- type GetEnrollmentRequest
- type GetExportMessageRequest
- func (*GetExportMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExportMessageRequest) GetName() string
- func (*GetExportMessageRequest) ProtoMessage()
- func (x *GetExportMessageRequest) ProtoReflect() protoreflect.Message
- func (x *GetExportMessageRequest) Reset()
- func (x *GetExportMessageRequest) String() string
- type GetGroupMembershipRequest
- func (*GetGroupMembershipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupMembershipRequest) GetName() string
- func (*GetGroupMembershipRequest) ProtoMessage()
- func (x *GetGroupMembershipRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupMembershipRequest) Reset()
- func (x *GetGroupMembershipRequest) String() string
- type GetGroupMembershipResponse
- func (*GetGroupMembershipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupMembershipResponse) GetGroups() []int32
- func (*GetGroupMembershipResponse) ProtoMessage()
- func (x *GetGroupMembershipResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupMembershipResponse) Reset()
- func (x *GetGroupMembershipResponse) String() string
- type GetHubNodeRequest
- type GetLastAccessAttemptRequest
- func (*GetLastAccessAttemptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastAccessAttemptRequest) GetName() string
- func (x *GetLastAccessAttemptRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetLastAccessAttemptRequest) ProtoMessage()
- func (x *GetLastAccessAttemptRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastAccessAttemptRequest) Reset()
- func (x *GetLastAccessAttemptRequest) String() string
- type GetLightHealthRequest
- func (*GetLightHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLightHealthRequest) GetName() string
- func (*GetLightHealthRequest) ProtoMessage()
- func (x *GetLightHealthRequest) ProtoReflect() protoreflect.Message
- func (x *GetLightHealthRequest) Reset()
- func (x *GetLightHealthRequest) String() string
- type GetMeterReadingRequest
- func (*GetMeterReadingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMeterReadingRequest) GetName() string
- func (x *GetMeterReadingRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetMeterReadingRequest) ProtoMessage()
- func (x *GetMeterReadingRequest) ProtoReflect() protoreflect.Message
- func (x *GetMeterReadingRequest) Reset()
- func (x *GetMeterReadingRequest) String() string
- type GetReportCSVRequest
- func (*GetReportCSVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportCSVRequest) GetIncludeHeader() bool
- func (*GetReportCSVRequest) ProtoMessage()
- func (x *GetReportCSVRequest) ProtoReflect() protoreflect.Message
- func (x *GetReportCSVRequest) Reset()
- func (x *GetReportCSVRequest) String() string
- type GetSecretByHashRequest
- func (*GetSecretByHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretByHashRequest) GetSecretHash() []byte
- func (*GetSecretByHashRequest) ProtoMessage()
- func (x *GetSecretByHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretByHashRequest) Reset()
- func (x *GetSecretByHashRequest) String() string
- type GetSecretRequest
- func (*GetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretRequest) GetId() string
- func (x *GetSecretRequest) GetIncludeHash() bool
- func (*GetSecretRequest) ProtoMessage()
- func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretRequest) Reset()
- func (x *GetSecretRequest) String() string
- type GetServiceMetadataRequest
- func (*GetServiceMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceMetadataRequest) GetName() string
- func (x *GetServiceMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetServiceMetadataRequest) ProtoMessage()
- func (x *GetServiceMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceMetadataRequest) Reset()
- func (x *GetServiceMetadataRequest) String() string
- type GetServiceRequest
- func (*GetServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceRequest) GetId() string
- func (x *GetServiceRequest) GetName() string
- func (x *GetServiceRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetServiceRequest) ProtoMessage()
- func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceRequest) Reset()
- func (x *GetServiceRequest) String() string
- type GetTemperatureRequest
- func (*GetTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemperatureRequest) GetName() string
- func (x *GetTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetTemperatureRequest) ProtoMessage()
- func (x *GetTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemperatureRequest) Reset()
- func (x *GetTemperatureRequest) String() string
- type GetTenantRequest
- type GetTestResultRequest
- func (*GetTestResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTestResultRequest) GetName() string
- func (x *GetTestResultRequest) GetTest() EmergencyStatus_Test
- func (*GetTestResultRequest) ProtoMessage()
- func (x *GetTestResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetTestResultRequest) Reset()
- func (x *GetTestResultRequest) String() string
- type HistoryAdminApiClient
- type HistoryAdminApiRouter
- func (r *HistoryAdminApiRouter) Add(name string, client any) any
- func (r *HistoryAdminApiRouter) AddHistoryAdminApiClient(name string, client HistoryAdminApiClient) HistoryAdminApiClient
- func (r *HistoryAdminApiRouter) CreateHistoryRecord(ctx context.Context, request *CreateHistoryRecordRequest) (*HistoryRecord, error)
- func (r *HistoryAdminApiRouter) GetHistoryAdminApiClient(name string) (HistoryAdminApiClient, error)
- func (r *HistoryAdminApiRouter) HoldsType(client any) bool
- func (r *HistoryAdminApiRouter) ListHistoryRecords(ctx context.Context, request *ListHistoryRecordsRequest) (*ListHistoryRecordsResponse, error)
- func (r *HistoryAdminApiRouter) Register(server *grpc.Server)
- func (r *HistoryAdminApiRouter) RemoveHistoryAdminApiClient(name string) HistoryAdminApiClient
- type HistoryAdminApiServer
- type HistoryRecord
- func (*HistoryRecord) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryRecord) GetCreateTime() *timestamppb.Timestamp
- func (x *HistoryRecord) GetId() string
- func (x *HistoryRecord) GetPayload() []byte
- func (x *HistoryRecord) GetSource() string
- func (*HistoryRecord) ProtoMessage()
- func (x *HistoryRecord) ProtoReflect() protoreflect.Message
- func (x *HistoryRecord) Reset()
- func (x *HistoryRecord) String() string
- type HistoryRecord_Query
- func (*HistoryRecord_Query) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryRecord_Query) GetFromRecord() *HistoryRecord
- func (m *HistoryRecord_Query) GetSource() isHistoryRecord_Query_Source
- func (x *HistoryRecord_Query) GetSourceEqual() string
- func (x *HistoryRecord_Query) GetToRecord() *HistoryRecord
- func (*HistoryRecord_Query) ProtoMessage()
- func (x *HistoryRecord_Query) ProtoReflect() protoreflect.Message
- func (x *HistoryRecord_Query) Reset()
- func (x *HistoryRecord_Query) String() string
- type HistoryRecord_Query_SourceEqual
- type HubApiClient
- type HubApiServer
- type HubApi_PullHubNodesClient
- type HubApi_PullHubNodesServer
- type HubNode
- func (*HubNode) Descriptor() ([]byte, []int)deprecated
- func (x *HubNode) GetAddress() string
- func (x *HubNode) GetDescription() string
- func (x *HubNode) GetName() string
- func (*HubNode) ProtoMessage()
- func (x *HubNode) ProtoReflect() protoreflect.Message
- func (x *HubNode) Reset()
- func (x *HubNode) String() string
- type HubNodeInspection
- func (*HubNodeInspection) Descriptor() ([]byte, []int)deprecated
- func (x *HubNodeInspection) GetMetadata() *traits.Metadata
- func (x *HubNodeInspection) GetPublicCerts() []string
- func (*HubNodeInspection) ProtoMessage()
- func (x *HubNodeInspection) ProtoReflect() protoreflect.Message
- func (x *HubNodeInspection) Reset()
- func (x *HubNodeInspection) String() string
- type IdentifyRequest
- type IdentifyResponse
- type InspectHubNodeRequest
- func (*InspectHubNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectHubNodeRequest) GetNode() *HubNode
- func (*InspectHubNodeRequest) ProtoMessage()
- func (x *InspectHubNodeRequest) ProtoReflect() protoreflect.Message
- func (x *InspectHubNodeRequest) Reset()
- func (x *InspectHubNodeRequest) String() string
- type LightFault
- type LightHealth
- func (*LightHealth) Descriptor() ([]byte, []int)deprecated
- func (x *LightHealth) GetFaults() []LightFault
- func (x *LightHealth) GetName() string
- func (x *LightHealth) GetUpdateTime() *timestamppb.Timestamp
- func (*LightHealth) ProtoMessage()
- func (x *LightHealth) ProtoReflect() protoreflect.Message
- func (x *LightHealth) Reset()
- func (x *LightHealth) String() string
- type LightingEvent
- func (*LightingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LightingEvent) GetDurationTestPass() *LightingEvent_DurationTestPass
- func (m *LightingEvent) GetEvent() isLightingEvent_Event
- func (x *LightingEvent) GetFunctionTestPass() *LightingEvent_FunctionTestPass
- func (x *LightingEvent) GetId() string
- func (x *LightingEvent) GetName() string
- func (x *LightingEvent) GetStatusReport() *LightingEvent_StatusReport
- func (x *LightingEvent) GetTimestamp() *timestamppb.Timestamp
- func (*LightingEvent) ProtoMessage()
- func (x *LightingEvent) ProtoReflect() protoreflect.Message
- func (x *LightingEvent) Reset()
- func (x *LightingEvent) String() string
- type LightingEvent_DurationTestPass
- func (*LightingEvent_DurationTestPass) Descriptor() ([]byte, []int)deprecated
- func (x *LightingEvent_DurationTestPass) GetAchievedDuration() *durationpb.Duration
- func (*LightingEvent_DurationTestPass) ProtoMessage()
- func (x *LightingEvent_DurationTestPass) ProtoReflect() protoreflect.Message
- func (x *LightingEvent_DurationTestPass) Reset()
- func (x *LightingEvent_DurationTestPass) String() string
- type LightingEvent_DurationTestPass_
- type LightingEvent_FunctionTestPass
- func (*LightingEvent_FunctionTestPass) Descriptor() ([]byte, []int)deprecated
- func (*LightingEvent_FunctionTestPass) ProtoMessage()
- func (x *LightingEvent_FunctionTestPass) ProtoReflect() protoreflect.Message
- func (x *LightingEvent_FunctionTestPass) Reset()
- func (x *LightingEvent_FunctionTestPass) String() string
- type LightingEvent_FunctionTestPass_
- type LightingEvent_StatusReport
- func (*LightingEvent_StatusReport) Descriptor() ([]byte, []int)deprecated
- func (x *LightingEvent_StatusReport) GetFaults() []LightFault
- func (*LightingEvent_StatusReport) ProtoMessage()
- func (x *LightingEvent_StatusReport) ProtoReflect() protoreflect.Message
- func (x *LightingEvent_StatusReport) Reset()
- func (x *LightingEvent_StatusReport) String() string
- type LightingEvent_StatusReport_
- type LightingTestApiClient
- type LightingTestApiServer
- type ListAirQualityHistoryRequest
- func (*ListAirQualityHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAirQualityHistoryRequest) GetName() string
- func (x *ListAirQualityHistoryRequest) GetPageSize() int32
- func (x *ListAirQualityHistoryRequest) GetPageToken() string
- func (x *ListAirQualityHistoryRequest) GetPeriod() *time.Period
- func (x *ListAirQualityHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListAirQualityHistoryRequest) ProtoMessage()
- func (x *ListAirQualityHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListAirQualityHistoryRequest) Reset()
- func (x *ListAirQualityHistoryRequest) String() string
- type ListAirQualityHistoryResponse
- func (*ListAirQualityHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAirQualityHistoryResponse) GetAirQualityRecords() []*AirQualityRecord
- func (x *ListAirQualityHistoryResponse) GetNextPageToken() string
- func (x *ListAirQualityHistoryResponse) GetTotalSize() int32
- func (*ListAirQualityHistoryResponse) ProtoMessage()
- func (x *ListAirQualityHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListAirQualityHistoryResponse) Reset()
- func (x *ListAirQualityHistoryResponse) String() string
- type ListAirTemperatureHistoryRequest
- func (*ListAirTemperatureHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAirTemperatureHistoryRequest) GetName() string
- func (x *ListAirTemperatureHistoryRequest) GetPageSize() int32
- func (x *ListAirTemperatureHistoryRequest) GetPageToken() string
- func (x *ListAirTemperatureHistoryRequest) GetPeriod() *time.Period
- func (x *ListAirTemperatureHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListAirTemperatureHistoryRequest) ProtoMessage()
- func (x *ListAirTemperatureHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListAirTemperatureHistoryRequest) Reset()
- func (x *ListAirTemperatureHistoryRequest) String() string
- type ListAirTemperatureHistoryResponse
- func (*ListAirTemperatureHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAirTemperatureHistoryResponse) GetAirTemperatureRecords() []*AirTemperatureRecord
- func (x *ListAirTemperatureHistoryResponse) GetNextPageToken() string
- func (x *ListAirTemperatureHistoryResponse) GetTotalSize() int32
- func (*ListAirTemperatureHistoryResponse) ProtoMessage()
- func (x *ListAirTemperatureHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListAirTemperatureHistoryResponse) Reset()
- func (x *ListAirTemperatureHistoryResponse) String() string
- type ListAlertsRequest
- func (*ListAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsRequest) GetName() string
- func (x *ListAlertsRequest) GetPageSize() int32
- func (x *ListAlertsRequest) GetPageToken() string
- func (x *ListAlertsRequest) GetQuery() *Alert_Query
- func (x *ListAlertsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListAlertsRequest) ProtoMessage()
- func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertsRequest) Reset()
- func (x *ListAlertsRequest) String() string
- type ListAlertsResponse
- func (*ListAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsResponse) GetAlerts() []*Alert
- func (x *ListAlertsResponse) GetNextPageToken() string
- func (x *ListAlertsResponse) GetTotalSize() int32
- func (*ListAlertsResponse) ProtoMessage()
- func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAlertsResponse) Reset()
- func (x *ListAlertsResponse) String() string
- type ListCurrentStatusHistoryRequest
- func (*ListCurrentStatusHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCurrentStatusHistoryRequest) GetName() string
- func (x *ListCurrentStatusHistoryRequest) GetPageSize() int32
- func (x *ListCurrentStatusHistoryRequest) GetPageToken() string
- func (x *ListCurrentStatusHistoryRequest) GetPeriod() *time.Period
- func (x *ListCurrentStatusHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListCurrentStatusHistoryRequest) ProtoMessage()
- func (x *ListCurrentStatusHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListCurrentStatusHistoryRequest) Reset()
- func (x *ListCurrentStatusHistoryRequest) String() string
- type ListCurrentStatusHistoryResponse
- func (*ListCurrentStatusHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCurrentStatusHistoryResponse) GetCurrentStatusRecords() []*StatusLogRecord
- func (x *ListCurrentStatusHistoryResponse) GetNextPageToken() string
- func (x *ListCurrentStatusHistoryResponse) GetTotalSize() int32
- func (*ListCurrentStatusHistoryResponse) ProtoMessage()
- func (x *ListCurrentStatusHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListCurrentStatusHistoryResponse) Reset()
- func (x *ListCurrentStatusHistoryResponse) String() string
- type ListDevicesRequest
- func (*ListDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesRequest) GetPageSize() int32
- func (x *ListDevicesRequest) GetPageToken() string
- func (x *ListDevicesRequest) GetQuery() *Device_Query
- func (x *ListDevicesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListDevicesRequest) ProtoMessage()
- func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDevicesRequest) Reset()
- func (x *ListDevicesRequest) String() string
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesResponse) GetDevices() []*Device
- func (x *ListDevicesResponse) GetNextPageToken() string
- func (x *ListDevicesResponse) GetTotalSize() int32
- func (*ListDevicesResponse) ProtoMessage()
- func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDevicesResponse) Reset()
- func (x *ListDevicesResponse) String() string
- type ListElectricDemandHistoryRequest
- func (*ListElectricDemandHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListElectricDemandHistoryRequest) GetName() string
- func (x *ListElectricDemandHistoryRequest) GetPageSize() int32
- func (x *ListElectricDemandHistoryRequest) GetPageToken() string
- func (x *ListElectricDemandHistoryRequest) GetPeriod() *time.Period
- func (x *ListElectricDemandHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListElectricDemandHistoryRequest) ProtoMessage()
- func (x *ListElectricDemandHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListElectricDemandHistoryRequest) Reset()
- func (x *ListElectricDemandHistoryRequest) String() string
- type ListElectricDemandHistoryResponse
- func (*ListElectricDemandHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListElectricDemandHistoryResponse) GetElectricDemandRecords() []*ElectricDemandRecord
- func (x *ListElectricDemandHistoryResponse) GetNextPageToken() string
- func (x *ListElectricDemandHistoryResponse) GetTotalSize() int32
- func (*ListElectricDemandHistoryResponse) ProtoMessage()
- func (x *ListElectricDemandHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListElectricDemandHistoryResponse) Reset()
- func (x *ListElectricDemandHistoryResponse) String() string
- type ListHistoryRecordsRequest
- func (*ListHistoryRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHistoryRecordsRequest) GetName() string
- func (x *ListHistoryRecordsRequest) GetPageSize() int32
- func (x *ListHistoryRecordsRequest) GetPageToken() string
- func (x *ListHistoryRecordsRequest) GetQuery() *HistoryRecord_Query
- func (*ListHistoryRecordsRequest) ProtoMessage()
- func (x *ListHistoryRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHistoryRecordsRequest) Reset()
- func (x *ListHistoryRecordsRequest) String() string
- type ListHistoryRecordsResponse
- func (*ListHistoryRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHistoryRecordsResponse) GetNextPageToken() string
- func (x *ListHistoryRecordsResponse) GetRecords() []*HistoryRecord
- func (x *ListHistoryRecordsResponse) GetTotalSize() int32
- func (*ListHistoryRecordsResponse) ProtoMessage()
- func (x *ListHistoryRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHistoryRecordsResponse) Reset()
- func (x *ListHistoryRecordsResponse) String() string
- type ListHubNodesRequest
- type ListHubNodesResponse
- func (*ListHubNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHubNodesResponse) GetNodes() []*HubNode
- func (*ListHubNodesResponse) ProtoMessage()
- func (x *ListHubNodesResponse) ProtoReflect() protoreflect.Message
- func (x *ListHubNodesResponse) Reset()
- func (x *ListHubNodesResponse) String() string
- type ListLightEventsRequest
- func (*ListLightEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLightEventsRequest) GetPageSize() int32
- func (x *ListLightEventsRequest) GetPageToken() string
- func (*ListLightEventsRequest) ProtoMessage()
- func (x *ListLightEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListLightEventsRequest) Reset()
- func (x *ListLightEventsRequest) String() string
- type ListLightEventsResponse
- func (*ListLightEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLightEventsResponse) GetEvents() []*LightingEvent
- func (x *ListLightEventsResponse) GetFuturePageToken() string
- func (x *ListLightEventsResponse) GetNextPageToken() string
- func (*ListLightEventsResponse) ProtoMessage()
- func (x *ListLightEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLightEventsResponse) Reset()
- func (x *ListLightEventsResponse) String() string
- type ListLightHealthRequest
- func (*ListLightHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLightHealthRequest) GetPageSize() int32
- func (x *ListLightHealthRequest) GetPageToken() string
- func (*ListLightHealthRequest) ProtoMessage()
- func (x *ListLightHealthRequest) ProtoReflect() protoreflect.Message
- func (x *ListLightHealthRequest) Reset()
- func (x *ListLightHealthRequest) String() string
- type ListLightHealthResponse
- func (*ListLightHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLightHealthResponse) GetEmergencyLights() []*LightHealth
- func (x *ListLightHealthResponse) GetNextPageToken() string
- func (*ListLightHealthResponse) ProtoMessage()
- func (x *ListLightHealthResponse) ProtoReflect() protoreflect.Message
- func (x *ListLightHealthResponse) Reset()
- func (x *ListLightHealthResponse) String() string
- type ListMeterReadingHistoryRequest
- func (*ListMeterReadingHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMeterReadingHistoryRequest) GetName() string
- func (x *ListMeterReadingHistoryRequest) GetPageSize() int32
- func (x *ListMeterReadingHistoryRequest) GetPageToken() string
- func (x *ListMeterReadingHistoryRequest) GetPeriod() *time.Period
- func (x *ListMeterReadingHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListMeterReadingHistoryRequest) ProtoMessage()
- func (x *ListMeterReadingHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListMeterReadingHistoryRequest) Reset()
- func (x *ListMeterReadingHistoryRequest) String() string
- type ListMeterReadingHistoryResponse
- func (*ListMeterReadingHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMeterReadingHistoryResponse) GetMeterReadingRecords() []*MeterReadingRecord
- func (x *ListMeterReadingHistoryResponse) GetNextPageToken() string
- func (x *ListMeterReadingHistoryResponse) GetTotalSize() int32
- func (*ListMeterReadingHistoryResponse) ProtoMessage()
- func (x *ListMeterReadingHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListMeterReadingHistoryResponse) Reset()
- func (x *ListMeterReadingHistoryResponse) String() string
- type ListOccupancyHistoryRequest
- func (*ListOccupancyHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOccupancyHistoryRequest) GetName() string
- func (x *ListOccupancyHistoryRequest) GetPageSize() int32
- func (x *ListOccupancyHistoryRequest) GetPageToken() string
- func (x *ListOccupancyHistoryRequest) GetPeriod() *time.Period
- func (x *ListOccupancyHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListOccupancyHistoryRequest) ProtoMessage()
- func (x *ListOccupancyHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListOccupancyHistoryRequest) Reset()
- func (x *ListOccupancyHistoryRequest) String() string
- type ListOccupancyHistoryResponse
- func (*ListOccupancyHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOccupancyHistoryResponse) GetNextPageToken() string
- func (x *ListOccupancyHistoryResponse) GetOccupancyRecords() []*OccupancyRecord
- func (x *ListOccupancyHistoryResponse) GetTotalSize() int32
- func (*ListOccupancyHistoryResponse) ProtoMessage()
- func (x *ListOccupancyHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListOccupancyHistoryResponse) Reset()
- func (x *ListOccupancyHistoryResponse) String() string
- type ListSecretsRequest
- func (*ListSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsRequest) GetFilter() string
- func (x *ListSecretsRequest) GetIncludeHash() bool
- func (*ListSecretsRequest) ProtoMessage()
- func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretsRequest) Reset()
- func (x *ListSecretsRequest) String() string
- type ListSecretsResponse
- func (*ListSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsResponse) GetSecrets() []*Secret
- func (*ListSecretsResponse) ProtoMessage()
- func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretsResponse) Reset()
- func (x *ListSecretsResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetName() string
- func (x *ListServicesRequest) GetPageSize() int32
- func (x *ListServicesRequest) GetPageToken() string
- func (x *ListServicesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetNextPageToken() string
- func (x *ListServicesResponse) GetServices() []*Service
- func (x *ListServicesResponse) GetTotalSize() int32
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type ListTenantsRequest
- type ListTenantsResponse
- func (*ListTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsResponse) GetTenants() []*Tenant
- func (*ListTenantsResponse) ProtoMessage()
- func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantsResponse) Reset()
- func (x *ListTenantsResponse) String() string
- type MeterApiClient
- type MeterApiRouter
- func (r *MeterApiRouter) Add(name string, client any) any
- func (r *MeterApiRouter) AddMeterApiClient(name string, client MeterApiClient) MeterApiClient
- func (r *MeterApiRouter) GetMeterApiClient(name string) (MeterApiClient, error)
- func (r *MeterApiRouter) GetMeterReading(ctx context.Context, request *GetMeterReadingRequest) (*MeterReading, error)
- func (r *MeterApiRouter) HoldsType(client any) bool
- func (r *MeterApiRouter) PullMeterReadings(request *PullMeterReadingsRequest, server MeterApi_PullMeterReadingsServer) error
- func (r *MeterApiRouter) Register(server *grpc.Server)
- func (r *MeterApiRouter) RemoveMeterApiClient(name string) MeterApiClient
- type MeterApiServer
- type MeterApi_PullMeterReadingsClient
- type MeterApi_PullMeterReadingsServer
- type MeterHistoryClient
- type MeterHistoryRouter
- func (r *MeterHistoryRouter) Add(name string, client any) any
- func (r *MeterHistoryRouter) AddMeterHistoryClient(name string, client MeterHistoryClient) MeterHistoryClient
- func (r *MeterHistoryRouter) GetMeterHistoryClient(name string) (MeterHistoryClient, error)
- func (r *MeterHistoryRouter) HoldsType(client any) bool
- func (r *MeterHistoryRouter) ListMeterReadingHistory(ctx context.Context, request *ListMeterReadingHistoryRequest) (*ListMeterReadingHistoryResponse, error)
- func (r *MeterHistoryRouter) Register(server *grpc.Server)
- func (r *MeterHistoryRouter) RemoveMeterHistoryClient(name string) MeterHistoryClient
- type MeterHistoryServer
- type MeterInfoClient
- type MeterInfoRouter
- func (r *MeterInfoRouter) Add(name string, client any) any
- func (r *MeterInfoRouter) AddMeterInfoClient(name string, client MeterInfoClient) MeterInfoClient
- func (r *MeterInfoRouter) DescribeMeterReading(ctx context.Context, request *DescribeMeterReadingRequest) (*MeterReadingSupport, error)
- func (r *MeterInfoRouter) GetMeterInfoClient(name string) (MeterInfoClient, error)
- func (r *MeterInfoRouter) HoldsType(client any) bool
- func (r *MeterInfoRouter) Register(server *grpc.Server)
- func (r *MeterInfoRouter) RemoveMeterInfoClient(name string) MeterInfoClient
- type MeterInfoServer
- type MeterReading
- func (*MeterReading) Descriptor() ([]byte, []int)deprecated
- func (x *MeterReading) GetEndTime() *timestamppb.Timestamp
- func (x *MeterReading) GetStartTime() *timestamppb.Timestamp
- func (x *MeterReading) GetUsage() float32
- func (*MeterReading) ProtoMessage()
- func (x *MeterReading) ProtoReflect() protoreflect.Message
- func (x *MeterReading) Reset()
- func (x *MeterReading) String() string
- type MeterReadingRecord
- func (*MeterReadingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *MeterReadingRecord) GetMeterReading() *MeterReading
- func (x *MeterReadingRecord) GetRecordTime() *timestamppb.Timestamp
- func (*MeterReadingRecord) ProtoMessage()
- func (x *MeterReadingRecord) ProtoReflect() protoreflect.Message
- func (x *MeterReadingRecord) Reset()
- func (x *MeterReadingRecord) String() string
- type MeterReadingSupport
- func (*MeterReadingSupport) Descriptor() ([]byte, []int)deprecated
- func (x *MeterReadingSupport) GetResourceSupport() *types.ResourceSupport
- func (x *MeterReadingSupport) GetUnit() string
- func (*MeterReadingSupport) ProtoMessage()
- func (x *MeterReadingSupport) ProtoReflect() protoreflect.Message
- func (x *MeterReadingSupport) Reset()
- func (x *MeterReadingSupport) String() string
- type MqttMessage
- func (*MqttMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MqttMessage) GetPayload() string
- func (x *MqttMessage) GetTopic() string
- func (*MqttMessage) ProtoMessage()
- func (x *MqttMessage) ProtoReflect() protoreflect.Message
- func (x *MqttMessage) Reset()
- func (x *MqttMessage) String() string
- type MqttServiceClient
- type MqttServiceRouter
- func (r *MqttServiceRouter) Add(name string, client any) any
- func (r *MqttServiceRouter) AddMqttServiceClient(name string, client MqttServiceClient) MqttServiceClient
- func (r *MqttServiceRouter) GetMqttServiceClient(name string) (MqttServiceClient, error)
- func (r *MqttServiceRouter) HoldsType(client any) bool
- func (r *MqttServiceRouter) PullMessages(request *PullMessagesRequest, server MqttService_PullMessagesServer) error
- func (r *MqttServiceRouter) Register(server *grpc.Server)
- func (r *MqttServiceRouter) RemoveMqttServiceClient(name string) MqttServiceClient
- type MqttServiceServer
- type MqttService_PullMessagesClient
- type MqttService_PullMessagesServer
- type OccupancyRecord
- func (*OccupancyRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OccupancyRecord) GetOccupancy() *traits.Occupancy
- func (x *OccupancyRecord) GetRecordTime() *timestamppb.Timestamp
- func (*OccupancyRecord) ProtoMessage()
- func (x *OccupancyRecord) ProtoReflect() protoreflect.Message
- func (x *OccupancyRecord) Reset()
- func (x *OccupancyRecord) String() string
- type OccupancySensorHistoryClient
- type OccupancySensorHistoryRouter
- func (r *OccupancySensorHistoryRouter) Add(name string, client any) any
- func (r *OccupancySensorHistoryRouter) AddOccupancySensorHistoryClient(name string, client OccupancySensorHistoryClient) OccupancySensorHistoryClient
- func (r *OccupancySensorHistoryRouter) GetOccupancySensorHistoryClient(name string) (OccupancySensorHistoryClient, error)
- func (r *OccupancySensorHistoryRouter) HoldsType(client any) bool
- func (r *OccupancySensorHistoryRouter) ListOccupancyHistory(ctx context.Context, request *ListOccupancyHistoryRequest) (*ListOccupancyHistoryResponse, error)
- func (r *OccupancySensorHistoryRouter) Register(server *grpc.Server)
- func (r *OccupancySensorHistoryRouter) RemoveOccupancySensorHistoryClient(name string) OccupancySensorHistoryClient
- type OccupancySensorHistoryServer
- type OnMessageRequest
- func (*OnMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnMessageRequest) GetMessage() *MqttMessage
- func (x *OnMessageRequest) GetName() string
- func (*OnMessageRequest) ProtoMessage()
- func (x *OnMessageRequest) ProtoReflect() protoreflect.Message
- func (x *OnMessageRequest) Reset()
- func (x *OnMessageRequest) String() string
- type OnMessageResponse
- type PullAccessAttemptsRequest
- func (*PullAccessAttemptsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccessAttemptsRequest) GetName() string
- func (x *PullAccessAttemptsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullAccessAttemptsRequest) GetUpdatesOnly() bool
- func (*PullAccessAttemptsRequest) ProtoMessage()
- func (x *PullAccessAttemptsRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccessAttemptsRequest) Reset()
- func (x *PullAccessAttemptsRequest) String() string
- type PullAccessAttemptsResponse
- func (*PullAccessAttemptsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccessAttemptsResponse) GetChanges() []*PullAccessAttemptsResponse_Change
- func (*PullAccessAttemptsResponse) ProtoMessage()
- func (x *PullAccessAttemptsResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccessAttemptsResponse) Reset()
- func (x *PullAccessAttemptsResponse) String() string
- type PullAccessAttemptsResponse_Change
- func (*PullAccessAttemptsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccessAttemptsResponse_Change) GetAccessAttempt() *AccessAttempt
- func (x *PullAccessAttemptsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAccessAttemptsResponse_Change) GetName() string
- func (*PullAccessAttemptsResponse_Change) ProtoMessage()
- func (x *PullAccessAttemptsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAccessAttemptsResponse_Change) Reset()
- func (x *PullAccessAttemptsResponse_Change) String() string
- type PullAlertMetadataRequest
- func (*PullAlertMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertMetadataRequest) GetName() string
- func (x *PullAlertMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullAlertMetadataRequest) GetUpdatesOnly() bool
- func (*PullAlertMetadataRequest) ProtoMessage()
- func (x *PullAlertMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *PullAlertMetadataRequest) Reset()
- func (x *PullAlertMetadataRequest) String() string
- type PullAlertMetadataResponse
- func (*PullAlertMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertMetadataResponse) GetChanges() []*PullAlertMetadataResponse_Change
- func (*PullAlertMetadataResponse) ProtoMessage()
- func (x *PullAlertMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *PullAlertMetadataResponse) Reset()
- func (x *PullAlertMetadataResponse) String() string
- type PullAlertMetadataResponse_Change
- func (*PullAlertMetadataResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAlertMetadataResponse_Change) GetMetadata() *AlertMetadata
- func (x *PullAlertMetadataResponse_Change) GetName() string
- func (*PullAlertMetadataResponse_Change) ProtoMessage()
- func (x *PullAlertMetadataResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAlertMetadataResponse_Change) Reset()
- func (x *PullAlertMetadataResponse_Change) String() string
- type PullAlertsRequest
- func (*PullAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertsRequest) GetName() string
- func (x *PullAlertsRequest) GetQuery() *Alert_Query
- func (x *PullAlertsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*PullAlertsRequest) ProtoMessage()
- func (x *PullAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *PullAlertsRequest) Reset()
- func (x *PullAlertsRequest) String() string
- type PullAlertsResponse
- func (*PullAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertsResponse) GetChanges() []*PullAlertsResponse_Change
- func (*PullAlertsResponse) ProtoMessage()
- func (x *PullAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *PullAlertsResponse) Reset()
- func (x *PullAlertsResponse) String() string
- type PullAlertsResponse_Change
- func (*PullAlertsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAlertsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAlertsResponse_Change) GetName() string
- func (x *PullAlertsResponse_Change) GetNewValue() *Alert
- func (x *PullAlertsResponse_Change) GetOldValue() *Alert
- func (x *PullAlertsResponse_Change) GetType() types.ChangeType
- func (*PullAlertsResponse_Change) ProtoMessage()
- func (x *PullAlertsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAlertsResponse_Change) Reset()
- func (x *PullAlertsResponse_Change) String() string
- type PullButtonStateRequest
- func (*PullButtonStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullButtonStateRequest) GetName() string
- func (x *PullButtonStateRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullButtonStateRequest) GetUpdatesOnly() bool
- func (*PullButtonStateRequest) ProtoMessage()
- func (x *PullButtonStateRequest) ProtoReflect() protoreflect.Message
- func (x *PullButtonStateRequest) Reset()
- func (x *PullButtonStateRequest) String() string
- type PullButtonStateResponse
- func (*PullButtonStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullButtonStateResponse) GetChanges() []*PullButtonStateResponse_Change
- func (*PullButtonStateResponse) ProtoMessage()
- func (x *PullButtonStateResponse) ProtoReflect() protoreflect.Message
- func (x *PullButtonStateResponse) Reset()
- func (x *PullButtonStateResponse) String() string
- type PullButtonStateResponse_Change
- func (*PullButtonStateResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullButtonStateResponse_Change) GetButtonState() *ButtonState
- func (x *PullButtonStateResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullButtonStateResponse_Change) GetName() string
- func (*PullButtonStateResponse_Change) ProtoMessage()
- func (x *PullButtonStateResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullButtonStateResponse_Change) Reset()
- func (x *PullButtonStateResponse_Change) String() string
- type PullColorRequest
- func (*PullColorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullColorRequest) GetExcludeRamping() bool
- func (x *PullColorRequest) GetName() string
- func (x *PullColorRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullColorRequest) GetUpdatesOnly() bool
- func (*PullColorRequest) ProtoMessage()
- func (x *PullColorRequest) ProtoReflect() protoreflect.Message
- func (x *PullColorRequest) Reset()
- func (x *PullColorRequest) String() string
- type PullColorResponse
- func (*PullColorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullColorResponse) GetChanges() []*PullColorResponse_Change
- func (*PullColorResponse) ProtoMessage()
- func (x *PullColorResponse) ProtoReflect() protoreflect.Message
- func (x *PullColorResponse) Reset()
- func (x *PullColorResponse) String() string
- type PullColorResponse_Change
- func (*PullColorResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullColorResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullColorResponse_Change) GetColor() *Color
- func (x *PullColorResponse_Change) GetName() string
- func (*PullColorResponse_Change) ProtoMessage()
- func (x *PullColorResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullColorResponse_Change) Reset()
- func (x *PullColorResponse_Change) String() string
- type PullControlTopicsRequest
- func (*PullControlTopicsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullControlTopicsRequest) GetName() string
- func (*PullControlTopicsRequest) ProtoMessage()
- func (x *PullControlTopicsRequest) ProtoReflect() protoreflect.Message
- func (x *PullControlTopicsRequest) Reset()
- func (x *PullControlTopicsRequest) String() string
- type PullControlTopicsResponse
- func (*PullControlTopicsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullControlTopicsResponse) GetName() string
- func (x *PullControlTopicsResponse) GetTopics() []string
- func (*PullControlTopicsResponse) ProtoMessage()
- func (x *PullControlTopicsResponse) ProtoReflect() protoreflect.Message
- func (x *PullControlTopicsResponse) Reset()
- func (x *PullControlTopicsResponse) String() string
- type PullCurrentStatusRequest
- func (*PullCurrentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullCurrentStatusRequest) GetName() string
- func (x *PullCurrentStatusRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullCurrentStatusRequest) GetUpdatesOnly() bool
- func (*PullCurrentStatusRequest) ProtoMessage()
- func (x *PullCurrentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *PullCurrentStatusRequest) Reset()
- func (x *PullCurrentStatusRequest) String() string
- type PullCurrentStatusResponse
- func (*PullCurrentStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullCurrentStatusResponse) GetChanges() []*PullCurrentStatusResponse_Change
- func (*PullCurrentStatusResponse) ProtoMessage()
- func (x *PullCurrentStatusResponse) ProtoReflect() protoreflect.Message
- func (x *PullCurrentStatusResponse) Reset()
- func (x *PullCurrentStatusResponse) String() string
- type PullCurrentStatusResponse_Change
- func (*PullCurrentStatusResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullCurrentStatusResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullCurrentStatusResponse_Change) GetCurrentStatus() *StatusLog
- func (x *PullCurrentStatusResponse_Change) GetName() string
- func (*PullCurrentStatusResponse_Change) ProtoMessage()
- func (x *PullCurrentStatusResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullCurrentStatusResponse_Change) Reset()
- func (x *PullCurrentStatusResponse_Change) String() string
- type PullDevicesMetadataRequest
- func (*PullDevicesMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesMetadataRequest) GetIncludes() *DevicesMetadata_Include
- func (x *PullDevicesMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullDevicesMetadataRequest) GetUpdatesOnly() bool
- func (*PullDevicesMetadataRequest) ProtoMessage()
- func (x *PullDevicesMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *PullDevicesMetadataRequest) Reset()
- func (x *PullDevicesMetadataRequest) String() string
- type PullDevicesMetadataResponse
- func (*PullDevicesMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesMetadataResponse) GetChanges() []*PullDevicesMetadataResponse_Change
- func (*PullDevicesMetadataResponse) ProtoMessage()
- func (x *PullDevicesMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *PullDevicesMetadataResponse) Reset()
- func (x *PullDevicesMetadataResponse) String() string
- type PullDevicesMetadataResponse_Change
- func (*PullDevicesMetadataResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullDevicesMetadataResponse_Change) GetDevicesMetadata() *DevicesMetadata
- func (x *PullDevicesMetadataResponse_Change) GetName() string
- func (*PullDevicesMetadataResponse_Change) ProtoMessage()
- func (x *PullDevicesMetadataResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullDevicesMetadataResponse_Change) Reset()
- func (x *PullDevicesMetadataResponse_Change) String() string
- type PullDevicesRequest
- func (*PullDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesRequest) GetQuery() *Device_Query
- func (x *PullDevicesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullDevicesRequest) GetUpdatesOnly() bool
- func (*PullDevicesRequest) ProtoMessage()
- func (x *PullDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *PullDevicesRequest) Reset()
- func (x *PullDevicesRequest) String() string
- type PullDevicesResponse
- func (*PullDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesResponse) GetChanges() []*PullDevicesResponse_Change
- func (*PullDevicesResponse) ProtoMessage()
- func (x *PullDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *PullDevicesResponse) Reset()
- func (x *PullDevicesResponse) String() string
- type PullDevicesResponse_Change
- func (*PullDevicesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullDevicesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullDevicesResponse_Change) GetName() string
- func (x *PullDevicesResponse_Change) GetNewValue() *Device
- func (x *PullDevicesResponse_Change) GetOldValue() *Device
- func (x *PullDevicesResponse_Change) GetType() types.ChangeType
- func (*PullDevicesResponse_Change) ProtoMessage()
- func (x *PullDevicesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullDevicesResponse_Change) Reset()
- func (x *PullDevicesResponse_Change) String() string
- type PullExportMessagesRequest
- func (*PullExportMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullExportMessagesRequest) GetIncludeLast() bool
- func (x *PullExportMessagesRequest) GetName() string
- func (*PullExportMessagesRequest) ProtoMessage()
- func (x *PullExportMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *PullExportMessagesRequest) Reset()
- func (x *PullExportMessagesRequest) String() string
- type PullExportMessagesResponse
- func (*PullExportMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullExportMessagesResponse) GetMessage() *MqttMessage
- func (x *PullExportMessagesResponse) GetName() string
- func (*PullExportMessagesResponse) ProtoMessage()
- func (x *PullExportMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *PullExportMessagesResponse) Reset()
- func (x *PullExportMessagesResponse) String() string
- type PullHubNodesRequest
- func (*PullHubNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullHubNodesRequest) GetUpdatesOnly() bool
- func (*PullHubNodesRequest) ProtoMessage()
- func (x *PullHubNodesRequest) ProtoReflect() protoreflect.Message
- func (x *PullHubNodesRequest) Reset()
- func (x *PullHubNodesRequest) String() string
- type PullHubNodesResponse
- func (*PullHubNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullHubNodesResponse) GetChanges() []*PullHubNodesResponse_Change
- func (*PullHubNodesResponse) ProtoMessage()
- func (x *PullHubNodesResponse) ProtoReflect() protoreflect.Message
- func (x *PullHubNodesResponse) Reset()
- func (x *PullHubNodesResponse) String() string
- type PullHubNodesResponse_Change
- func (*PullHubNodesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullHubNodesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullHubNodesResponse_Change) GetNewValue() *HubNode
- func (x *PullHubNodesResponse_Change) GetOldValue() *HubNode
- func (x *PullHubNodesResponse_Change) GetType() types.ChangeType
- func (*PullHubNodesResponse_Change) ProtoMessage()
- func (x *PullHubNodesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullHubNodesResponse_Change) Reset()
- func (x *PullHubNodesResponse_Change) String() string
- type PullMessagesRequest
- func (*PullMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullMessagesRequest) GetName() string
- func (*PullMessagesRequest) ProtoMessage()
- func (x *PullMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *PullMessagesRequest) Reset()
- func (x *PullMessagesRequest) String() string
- type PullMessagesResponse
- func (*PullMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullMessagesResponse) GetName() string
- func (x *PullMessagesResponse) GetPayload() string
- func (x *PullMessagesResponse) GetTopic() string
- func (*PullMessagesResponse) ProtoMessage()
- func (x *PullMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *PullMessagesResponse) Reset()
- func (x *PullMessagesResponse) String() string
- type PullMeterReadingsRequest
- func (*PullMeterReadingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullMeterReadingsRequest) GetName() string
- func (x *PullMeterReadingsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullMeterReadingsRequest) GetUpdatesOnly() bool
- func (*PullMeterReadingsRequest) ProtoMessage()
- func (x *PullMeterReadingsRequest) ProtoReflect() protoreflect.Message
- func (x *PullMeterReadingsRequest) Reset()
- func (x *PullMeterReadingsRequest) String() string
- type PullMeterReadingsResponse
- func (*PullMeterReadingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullMeterReadingsResponse) GetChanges() []*PullMeterReadingsResponse_Change
- func (*PullMeterReadingsResponse) ProtoMessage()
- func (x *PullMeterReadingsResponse) ProtoReflect() protoreflect.Message
- func (x *PullMeterReadingsResponse) Reset()
- func (x *PullMeterReadingsResponse) String() string
- type PullMeterReadingsResponse_Change
- func (*PullMeterReadingsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullMeterReadingsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullMeterReadingsResponse_Change) GetMeterReading() *MeterReading
- func (x *PullMeterReadingsResponse_Change) GetName() string
- func (*PullMeterReadingsResponse_Change) ProtoMessage()
- func (x *PullMeterReadingsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullMeterReadingsResponse_Change) Reset()
- func (x *PullMeterReadingsResponse_Change) String() string
- type PullSecretRequest
- func (*PullSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretRequest) GetId() string
- func (x *PullSecretRequest) GetIncludeHash() bool
- func (x *PullSecretRequest) GetUpdatesOnly() bool
- func (*PullSecretRequest) ProtoMessage()
- func (x *PullSecretRequest) ProtoReflect() protoreflect.Message
- func (x *PullSecretRequest) Reset()
- func (x *PullSecretRequest) String() string
- type PullSecretResponse
- func (*PullSecretResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretResponse) GetChanges() []*PullSecretResponse_Change
- func (*PullSecretResponse) ProtoMessage()
- func (x *PullSecretResponse) ProtoReflect() protoreflect.Message
- func (x *PullSecretResponse) Reset()
- func (x *PullSecretResponse) String() string
- type PullSecretResponse_Change
- func (*PullSecretResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullSecretResponse_Change) GetSecret() *Secret
- func (*PullSecretResponse_Change) ProtoMessage()
- func (x *PullSecretResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullSecretResponse_Change) Reset()
- func (x *PullSecretResponse_Change) String() string
- type PullSecretsRequest
- func (*PullSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretsRequest) GetIncludeHash() bool
- func (x *PullSecretsRequest) GetUpdatesOnly() bool
- func (*PullSecretsRequest) ProtoMessage()
- func (x *PullSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *PullSecretsRequest) Reset()
- func (x *PullSecretsRequest) String() string
- type PullSecretsResponse
- func (*PullSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretsResponse) GetChanges() []*PullSecretsResponse_Change
- func (*PullSecretsResponse) ProtoMessage()
- func (x *PullSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *PullSecretsResponse) Reset()
- func (x *PullSecretsResponse) String() string
- type PullSecretsResponse_Change
- func (*PullSecretsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullSecretsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullSecretsResponse_Change) GetSecret() *Secret
- func (*PullSecretsResponse_Change) ProtoMessage()
- func (x *PullSecretsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullSecretsResponse_Change) Reset()
- func (x *PullSecretsResponse_Change) String() string
- type PullServiceMetadataRequest
- func (*PullServiceMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceMetadataRequest) GetName() string
- func (x *PullServiceMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullServiceMetadataRequest) GetUpdatesOnly() bool
- func (*PullServiceMetadataRequest) ProtoMessage()
- func (x *PullServiceMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *PullServiceMetadataRequest) Reset()
- func (x *PullServiceMetadataRequest) String() string
- type PullServiceMetadataResponse
- func (*PullServiceMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceMetadataResponse) GetChanges() []*PullServiceMetadataResponse_Change
- func (*PullServiceMetadataResponse) ProtoMessage()
- func (x *PullServiceMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *PullServiceMetadataResponse) Reset()
- func (x *PullServiceMetadataResponse) String() string
- type PullServiceMetadataResponse_Change
- func (*PullServiceMetadataResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullServiceMetadataResponse_Change) GetMetadata() *ServiceMetadata
- func (x *PullServiceMetadataResponse_Change) GetName() string
- func (*PullServiceMetadataResponse_Change) ProtoMessage()
- func (x *PullServiceMetadataResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullServiceMetadataResponse_Change) Reset()
- func (x *PullServiceMetadataResponse_Change) String() string
- type PullServiceRequest
- func (*PullServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceRequest) GetId() string
- func (x *PullServiceRequest) GetName() string
- func (x *PullServiceRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullServiceRequest) GetUpdatesOnly() bool
- func (*PullServiceRequest) ProtoMessage()
- func (x *PullServiceRequest) ProtoReflect() protoreflect.Message
- func (x *PullServiceRequest) Reset()
- func (x *PullServiceRequest) String() string
- type PullServiceResponse
- func (*PullServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceResponse) GetChanges() []*PullServiceResponse_Change
- func (*PullServiceResponse) ProtoMessage()
- func (x *PullServiceResponse) ProtoReflect() protoreflect.Message
- func (x *PullServiceResponse) Reset()
- func (x *PullServiceResponse) String() string
- type PullServiceResponse_Change
- func (*PullServiceResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullServiceResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullServiceResponse_Change) GetName() string
- func (x *PullServiceResponse_Change) GetService() *Service
- func (*PullServiceResponse_Change) ProtoMessage()
- func (x *PullServiceResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullServiceResponse_Change) Reset()
- func (x *PullServiceResponse_Change) String() string
- type PullServicesRequest
- func (*PullServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullServicesRequest) GetName() string
- func (x *PullServicesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullServicesRequest) GetUpdatesOnly() bool
- func (*PullServicesRequest) ProtoMessage()
- func (x *PullServicesRequest) ProtoReflect() protoreflect.Message
- func (x *PullServicesRequest) Reset()
- func (x *PullServicesRequest) String() string
- type PullServicesResponse
- func (*PullServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullServicesResponse) GetChanges() []*PullServicesResponse_Change
- func (*PullServicesResponse) ProtoMessage()
- func (x *PullServicesResponse) ProtoReflect() protoreflect.Message
- func (x *PullServicesResponse) Reset()
- func (x *PullServicesResponse) String() string
- type PullServicesResponse_Change
- func (*PullServicesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullServicesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullServicesResponse_Change) GetName() string
- func (x *PullServicesResponse_Change) GetNewValue() *Service
- func (x *PullServicesResponse_Change) GetOldValue() *Service
- func (x *PullServicesResponse_Change) GetType() types.ChangeType
- func (*PullServicesResponse_Change) ProtoMessage()
- func (x *PullServicesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullServicesResponse_Change) Reset()
- func (x *PullServicesResponse_Change) String() string
- type PullTemperatureRequest
- func (*PullTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullTemperatureRequest) GetName() string
- func (x *PullTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullTemperatureRequest) GetUpdatesOnly() bool
- func (*PullTemperatureRequest) ProtoMessage()
- func (x *PullTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *PullTemperatureRequest) Reset()
- func (x *PullTemperatureRequest) String() string
- type PullTemperatureResponse
- func (*PullTemperatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullTemperatureResponse) GetChanges() []*PullTemperatureResponse_Change
- func (*PullTemperatureResponse) ProtoMessage()
- func (x *PullTemperatureResponse) ProtoReflect() protoreflect.Message
- func (x *PullTemperatureResponse) Reset()
- func (x *PullTemperatureResponse) String() string
- type PullTemperatureResponse_Change
- func (*PullTemperatureResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullTemperatureResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullTemperatureResponse_Change) GetName() string
- func (x *PullTemperatureResponse_Change) GetTemperature() *Temperature
- func (*PullTemperatureResponse_Change) ProtoMessage()
- func (x *PullTemperatureResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullTemperatureResponse_Change) Reset()
- func (x *PullTemperatureResponse_Change) String() string
- type PullTenantRequest
- func (*PullTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantRequest) GetId() string
- func (x *PullTenantRequest) GetUpdatesOnly() bool
- func (*PullTenantRequest) ProtoMessage()
- func (x *PullTenantRequest) ProtoReflect() protoreflect.Message
- func (x *PullTenantRequest) Reset()
- func (x *PullTenantRequest) String() string
- type PullTenantResponse
- func (*PullTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantResponse) GetChanges() []*PullTenantResponse_Change
- func (*PullTenantResponse) ProtoMessage()
- func (x *PullTenantResponse) ProtoReflect() protoreflect.Message
- func (x *PullTenantResponse) Reset()
- func (x *PullTenantResponse) String() string
- type PullTenantResponse_Change
- func (*PullTenantResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullTenantResponse_Change) GetTenant() *Tenant
- func (*PullTenantResponse_Change) ProtoMessage()
- func (x *PullTenantResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullTenantResponse_Change) Reset()
- func (x *PullTenantResponse_Change) String() string
- type PullTenantsRequest
- func (*PullTenantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantsRequest) GetUpdatesOnly() bool
- func (*PullTenantsRequest) ProtoMessage()
- func (x *PullTenantsRequest) ProtoReflect() protoreflect.Message
- func (x *PullTenantsRequest) Reset()
- func (x *PullTenantsRequest) String() string
- type PullTenantsResponse
- func (*PullTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantsResponse) GetChanges() []*PullTenantsResponse_Change
- func (*PullTenantsResponse) ProtoMessage()
- func (x *PullTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *PullTenantsResponse) Reset()
- func (x *PullTenantsResponse) String() string
- type PullTenantsResponse_Change
- func (*PullTenantsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullTenantsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullTenantsResponse_Change) GetTenant() *Tenant
- func (*PullTenantsResponse_Change) ProtoMessage()
- func (x *PullTenantsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullTenantsResponse_Change) Reset()
- func (x *PullTenantsResponse_Change) String() string
- type RegenerateSecretRequest
- func (*RegenerateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateSecretRequest) GetId() string
- func (*RegenerateSecretRequest) ProtoMessage()
- func (x *RegenerateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *RegenerateSecretRequest) Reset()
- func (x *RegenerateSecretRequest) String() string
- type RemoveFromGroupRequest
- func (*RemoveFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFromGroupRequest) GetGroup() int32
- func (x *RemoveFromGroupRequest) GetName() string
- func (*RemoveFromGroupRequest) ProtoMessage()
- func (x *RemoveFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFromGroupRequest) Reset()
- func (x *RemoveFromGroupRequest) String() string
- type RemoveFromGroupResponse
- type RemoveTenantZonesRequest
- func (*RemoveTenantZonesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTenantZonesRequest) GetRemoveZoneNames() []string
- func (x *RemoveTenantZonesRequest) GetTenantId() string
- func (*RemoveTenantZonesRequest) ProtoMessage()
- func (x *RemoveTenantZonesRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTenantZonesRequest) Reset()
- func (x *RemoveTenantZonesRequest) String() string
- type RenewHubNodeRequest
- func (*RenewHubNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenewHubNodeRequest) GetAddress() string
- func (*RenewHubNodeRequest) ProtoMessage()
- func (x *RenewHubNodeRequest) ProtoReflect() protoreflect.Message
- func (x *RenewHubNodeRequest) Reset()
- func (x *RenewHubNodeRequest) String() string
- type ReportCSV
- type ResolveAlertRequest
- func (*ResolveAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveAlertRequest) GetAlert() *Alert
- func (x *ResolveAlertRequest) GetAllowMissing() bool
- func (x *ResolveAlertRequest) GetName() string
- func (*ResolveAlertRequest) ProtoMessage()
- func (x *ResolveAlertRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveAlertRequest) Reset()
- func (x *ResolveAlertRequest) String() string
- type SaveQRCredentialRequest
- func (*SaveQRCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveQRCredentialRequest) GetActiveTime() *timestamppb.Timestamp
- func (x *SaveQRCredentialRequest) GetCardNumber() uint64
- func (x *SaveQRCredentialRequest) GetExpireTime() *timestamppb.Timestamp
- func (x *SaveQRCredentialRequest) GetFirstName() string
- func (x *SaveQRCredentialRequest) GetLastName() string
- func (x *SaveQRCredentialRequest) GetName() string
- func (*SaveQRCredentialRequest) ProtoMessage()
- func (x *SaveQRCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *SaveQRCredentialRequest) Reset()
- func (x *SaveQRCredentialRequest) String() string
- type SaveQRCredentialResponse
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetCreateTime() *timestamppb.Timestamp
- func (x *Secret) GetEtag() string
- func (x *Secret) GetExpireTime() *timestamppb.Timestamp
- func (x *Secret) GetFirstUseTime() *timestamppb.Timestamp
- func (x *Secret) GetId() string
- func (x *Secret) GetLastUseTime() *timestamppb.Timestamp
- func (x *Secret) GetNote() string
- func (x *Secret) GetSecret() string
- func (x *Secret) GetSecretHash() []byte
- func (x *Secret) GetTenant() *Tenant
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetActive() bool
- func (x *Service) GetConfigRaw() string
- func (x *Service) GetError() string
- func (x *Service) GetFailedAttempts() int32
- func (x *Service) GetId() string
- func (x *Service) GetLastActiveTime() *timestamppb.Timestamp
- func (x *Service) GetLastConfigTime() *timestamppb.Timestamp
- func (x *Service) GetLastErrorTime() *timestamppb.Timestamp
- func (x *Service) GetLastInactiveTime() *timestamppb.Timestamp
- func (x *Service) GetLastLoadingEndTime() *timestamppb.Timestamp
- func (x *Service) GetLastLoadingStartTime() *timestamppb.Timestamp
- func (x *Service) GetLoading() bool
- func (x *Service) GetNextAttemptTime() *timestamppb.Timestamp
- func (x *Service) GetType() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceMetadata
- func (*ServiceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceMetadata) GetTotalActiveCount() uint32
- func (x *ServiceMetadata) GetTotalCount() uint32
- func (x *ServiceMetadata) GetTotalErrorCount() uint32
- func (x *ServiceMetadata) GetTypeCounts() map[string]uint32
- func (*ServiceMetadata) ProtoMessage()
- func (x *ServiceMetadata) ProtoReflect() protoreflect.Message
- func (x *ServiceMetadata) Reset()
- func (x *ServiceMetadata) String() string
- type ServicesApiClient
- type ServicesApiRouter
- func (r *ServicesApiRouter) Add(name string, client any) any
- func (r *ServicesApiRouter) AddServicesApiClient(name string, client ServicesApiClient) ServicesApiClient
- func (r *ServicesApiRouter) ConfigureService(ctx context.Context, request *ConfigureServiceRequest) (*Service, error)
- func (r *ServicesApiRouter) CreateService(ctx context.Context, request *CreateServiceRequest) (*Service, error)
- func (r *ServicesApiRouter) DeleteService(ctx context.Context, request *DeleteServiceRequest) (*Service, error)
- func (r *ServicesApiRouter) GetService(ctx context.Context, request *GetServiceRequest) (*Service, error)
- func (r *ServicesApiRouter) GetServiceMetadata(ctx context.Context, request *GetServiceMetadataRequest) (*ServiceMetadata, error)
- func (r *ServicesApiRouter) GetServicesApiClient(name string) (ServicesApiClient, error)
- func (r *ServicesApiRouter) HoldsType(client any) bool
- func (r *ServicesApiRouter) ListServices(ctx context.Context, request *ListServicesRequest) (*ListServicesResponse, error)
- func (r *ServicesApiRouter) PullService(request *PullServiceRequest, server ServicesApi_PullServiceServer) error
- func (r *ServicesApiRouter) PullServiceMetadata(request *PullServiceMetadataRequest, ...) error
- func (r *ServicesApiRouter) PullServices(request *PullServicesRequest, server ServicesApi_PullServicesServer) error
- func (r *ServicesApiRouter) Register(server *grpc.Server)
- func (r *ServicesApiRouter) RemoveServicesApiClient(name string) ServicesApiClient
- func (r *ServicesApiRouter) StartService(ctx context.Context, request *StartServiceRequest) (*Service, error)
- func (r *ServicesApiRouter) StopService(ctx context.Context, request *StopServiceRequest) (*Service, error)
- type ServicesApiServer
- type ServicesApi_PullServiceClient
- type ServicesApi_PullServiceMetadataClient
- type ServicesApi_PullServiceMetadataServer
- type ServicesApi_PullServiceServer
- type ServicesApi_PullServicesClient
- type ServicesApi_PullServicesServer
- type StartServiceRequest
- func (*StartServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartServiceRequest) GetAllowActive() bool
- func (x *StartServiceRequest) GetId() string
- func (x *StartServiceRequest) GetName() string
- func (*StartServiceRequest) ProtoMessage()
- func (x *StartServiceRequest) ProtoReflect() protoreflect.Message
- func (x *StartServiceRequest) Reset()
- func (x *StartServiceRequest) String() string
- type StartTestRequest
- func (*StartTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartTestRequest) GetName() string
- func (x *StartTestRequest) GetTest() EmergencyStatus_Test
- func (*StartTestRequest) ProtoMessage()
- func (x *StartTestRequest) ProtoReflect() protoreflect.Message
- func (x *StartTestRequest) Reset()
- func (x *StartTestRequest) String() string
- type StartTestResponse
- type StatusApiClient
- type StatusApiRouter
- func (r *StatusApiRouter) Add(name string, client any) any
- func (r *StatusApiRouter) AddStatusApiClient(name string, client StatusApiClient) StatusApiClient
- func (r *StatusApiRouter) GetCurrentStatus(ctx context.Context, request *GetCurrentStatusRequest) (*StatusLog, error)
- func (r *StatusApiRouter) GetStatusApiClient(name string) (StatusApiClient, error)
- func (r *StatusApiRouter) HoldsType(client any) bool
- func (r *StatusApiRouter) PullCurrentStatus(request *PullCurrentStatusRequest, server StatusApi_PullCurrentStatusServer) error
- func (r *StatusApiRouter) Register(server *grpc.Server)
- func (r *StatusApiRouter) RemoveStatusApiClient(name string) StatusApiClient
- type StatusApiServer
- type StatusApi_PullCurrentStatusClient
- type StatusApi_PullCurrentStatusServer
- type StatusHistoryClient
- type StatusHistoryRouter
- func (r *StatusHistoryRouter) Add(name string, client any) any
- func (r *StatusHistoryRouter) AddStatusHistoryClient(name string, client StatusHistoryClient) StatusHistoryClient
- func (r *StatusHistoryRouter) GetStatusHistoryClient(name string) (StatusHistoryClient, error)
- func (r *StatusHistoryRouter) HoldsType(client any) bool
- func (r *StatusHistoryRouter) ListCurrentStatusHistory(ctx context.Context, request *ListCurrentStatusHistoryRequest) (*ListCurrentStatusHistoryResponse, error)
- func (r *StatusHistoryRouter) Register(server *grpc.Server)
- func (r *StatusHistoryRouter) RemoveStatusHistoryClient(name string) StatusHistoryClient
- type StatusHistoryServer
- type StatusLog
- func (*StatusLog) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLog) GetDescription() string
- func (x *StatusLog) GetLevel() StatusLog_Level
- func (x *StatusLog) GetProblems() []*StatusLog_Problem
- func (x *StatusLog) GetRecordTime() *timestamppb.Timestamp
- func (*StatusLog) ProtoMessage()
- func (x *StatusLog) ProtoReflect() protoreflect.Message
- func (x *StatusLog) Reset()
- func (x *StatusLog) String() string
- type StatusLogRecord
- func (*StatusLogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLogRecord) GetCurrentStatus() *StatusLog
- func (x *StatusLogRecord) GetRecordTime() *timestamppb.Timestamp
- func (*StatusLogRecord) ProtoMessage()
- func (x *StatusLogRecord) ProtoReflect() protoreflect.Message
- func (x *StatusLogRecord) Reset()
- func (x *StatusLogRecord) String() string
- type StatusLog_Level
- func (StatusLog_Level) Descriptor() protoreflect.EnumDescriptor
- func (x StatusLog_Level) Enum() *StatusLog_Level
- func (StatusLog_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusLog_Level) Number() protoreflect.EnumNumber
- func (x StatusLog_Level) String() string
- func (StatusLog_Level) Type() protoreflect.EnumType
- type StatusLog_Problem
- func (*StatusLog_Problem) Descriptor() ([]byte, []int)deprecated
- func (x *StatusLog_Problem) GetDescription() string
- func (x *StatusLog_Problem) GetLevel() StatusLog_Level
- func (x *StatusLog_Problem) GetName() string
- func (x *StatusLog_Problem) GetRecordTime() *timestamppb.Timestamp
- func (*StatusLog_Problem) ProtoMessage()
- func (x *StatusLog_Problem) ProtoReflect() protoreflect.Message
- func (x *StatusLog_Problem) Reset()
- func (x *StatusLog_Problem) String() string
- type StopServiceRequest
- func (*StopServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopServiceRequest) GetAllowInactive() bool
- func (x *StopServiceRequest) GetId() string
- func (x *StopServiceRequest) GetName() string
- func (*StopServiceRequest) ProtoMessage()
- func (x *StopServiceRequest) ProtoReflect() protoreflect.Message
- func (x *StopServiceRequest) Reset()
- func (x *StopServiceRequest) String() string
- type StopTestRequest
- type StopTestResponse
- type Temperature
- func (*Temperature) Descriptor() ([]byte, []int)deprecated
- func (x *Temperature) GetMeasured() *types.Temperature
- func (x *Temperature) GetSetPoint() *types.Temperature
- func (*Temperature) ProtoMessage()
- func (x *Temperature) ProtoReflect() protoreflect.Message
- func (x *Temperature) Reset()
- func (x *Temperature) String() string
- type TemperatureApiClient
- type TemperatureApiRouter
- func (r *TemperatureApiRouter) Add(name string, client any) any
- func (r *TemperatureApiRouter) AddTemperatureApiClient(name string, client TemperatureApiClient) TemperatureApiClient
- func (r *TemperatureApiRouter) GetTemperature(ctx context.Context, request *GetTemperatureRequest) (*Temperature, error)
- func (r *TemperatureApiRouter) GetTemperatureApiClient(name string) (TemperatureApiClient, error)
- func (r *TemperatureApiRouter) HoldsType(client any) bool
- func (r *TemperatureApiRouter) PullTemperature(request *PullTemperatureRequest, server TemperatureApi_PullTemperatureServer) error
- func (r *TemperatureApiRouter) Register(server *grpc.Server)
- func (r *TemperatureApiRouter) RemoveTemperatureApiClient(name string) TemperatureApiClient
- func (r *TemperatureApiRouter) UpdateTemperature(ctx context.Context, request *UpdateTemperatureRequest) (*Temperature, error)
- type TemperatureApiServer
- type TemperatureApi_PullTemperatureClient
- type TemperatureApi_PullTemperatureServer
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetCreateTime() *timestamppb.Timestamp
- func (x *Tenant) GetEtag() string
- func (x *Tenant) GetId() string
- func (x *Tenant) GetTitle() string
- func (x *Tenant) GetZoneNames() []string
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (x *Tenant) String() string
- type TenantApiClient
- type TenantApiServer
- type TenantApi_PullSecretClient
- type TenantApi_PullSecretServer
- type TenantApi_PullSecretsClient
- type TenantApi_PullSecretsServer
- type TenantApi_PullTenantClient
- type TenantApi_PullTenantServer
- type TenantApi_PullTenantsClient
- type TenantApi_PullTenantsServer
- type TestEnrollmentRequest
- type TestEnrollmentResponse
- func (*TestEnrollmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestEnrollmentResponse) GetCode() int32
- func (x *TestEnrollmentResponse) GetError() string
- func (*TestEnrollmentResponse) ProtoMessage()
- func (x *TestEnrollmentResponse) ProtoReflect() protoreflect.Message
- func (x *TestEnrollmentResponse) Reset()
- func (x *TestEnrollmentResponse) String() string
- type TestHubNodeRequest
- func (*TestHubNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestHubNodeRequest) GetAddress() string
- func (*TestHubNodeRequest) ProtoMessage()
- func (x *TestHubNodeRequest) ProtoReflect() protoreflect.Message
- func (x *TestHubNodeRequest) Reset()
- func (x *TestHubNodeRequest) String() string
- type TestHubNodeResponse
- type TestResult
- func (*TestResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestResult) GetDuration() *durationpb.Duration
- func (x *TestResult) GetEtag() string
- func (x *TestResult) GetPass() bool
- func (x *TestResult) GetTest() EmergencyStatus_Test
- func (*TestResult) ProtoMessage()
- func (x *TestResult) ProtoReflect() protoreflect.Message
- func (x *TestResult) Reset()
- func (x *TestResult) String() string
- type UdmiServiceClient
- type UdmiServiceRouter
- func (r *UdmiServiceRouter) Add(name string, client any) any
- func (r *UdmiServiceRouter) AddUdmiServiceClient(name string, client UdmiServiceClient) UdmiServiceClient
- func (r *UdmiServiceRouter) GetExportMessage(ctx context.Context, request *GetExportMessageRequest) (*MqttMessage, error)
- func (r *UdmiServiceRouter) GetUdmiServiceClient(name string) (UdmiServiceClient, error)
- func (r *UdmiServiceRouter) HoldsType(client any) bool
- func (r *UdmiServiceRouter) OnMessage(ctx context.Context, request *OnMessageRequest) (*OnMessageResponse, error)
- func (r *UdmiServiceRouter) PullControlTopics(request *PullControlTopicsRequest, server UdmiService_PullControlTopicsServer) error
- func (r *UdmiServiceRouter) PullExportMessages(request *PullExportMessagesRequest, ...) error
- func (r *UdmiServiceRouter) Register(server *grpc.Server)
- func (r *UdmiServiceRouter) RemoveUdmiServiceClient(name string) UdmiServiceClient
- type UdmiServiceServer
- type UdmiService_PullControlTopicsClient
- type UdmiService_PullControlTopicsServer
- type UdmiService_PullExportMessagesClient
- type UdmiService_PullExportMessagesServer
- type UnimplementedAccessApiServer
- type UnimplementedAirQualitySensorHistoryServer
- type UnimplementedAirTemperatureHistoryServer
- type UnimplementedAlertAdminApiServer
- func (UnimplementedAlertAdminApiServer) CreateAlert(context.Context, *CreateAlertRequest) (*Alert, error)
- func (UnimplementedAlertAdminApiServer) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error)
- func (UnimplementedAlertAdminApiServer) ResolveAlert(context.Context, *ResolveAlertRequest) (*Alert, error)
- func (UnimplementedAlertAdminApiServer) UpdateAlert(context.Context, *UpdateAlertRequest) (*Alert, error)
- type UnimplementedAlertApiServer
- func (UnimplementedAlertApiServer) AcknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
- func (UnimplementedAlertApiServer) GetAlertMetadata(context.Context, *GetAlertMetadataRequest) (*AlertMetadata, error)
- func (UnimplementedAlertApiServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
- func (UnimplementedAlertApiServer) PullAlertMetadata(*PullAlertMetadataRequest, AlertApi_PullAlertMetadataServer) error
- func (UnimplementedAlertApiServer) PullAlerts(*PullAlertsRequest, AlertApi_PullAlertsServer) error
- func (UnimplementedAlertApiServer) UnacknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
- type UnimplementedAxiomXaDriverServiceServer
- type UnimplementedButtonApiServer
- func (UnimplementedButtonApiServer) GetButtonState(context.Context, *GetButtonStateRequest) (*ButtonState, error)
- func (UnimplementedButtonApiServer) PullButtonState(*PullButtonStateRequest, ButtonApi_PullButtonStateServer) error
- func (UnimplementedButtonApiServer) UpdateButtonState(context.Context, *UpdateButtonStateRequest) (*ButtonState, error)
- type UnimplementedColorApiServer
- type UnimplementedColorInfoServer
- type UnimplementedDaliApiServer
- func (UnimplementedDaliApiServer) AddToGroup(context.Context, *AddToGroupRequest) (*AddToGroupResponse, error)
- func (UnimplementedDaliApiServer) DeleteTestResult(context.Context, *DeleteTestResultRequest) (*TestResult, error)
- func (UnimplementedDaliApiServer) GetControlGearStatus(context.Context, *GetControlGearStatusRequest) (*ControlGearStatus, error)
- func (UnimplementedDaliApiServer) GetEmergencyStatus(context.Context, *GetEmergencyStatusRequest) (*EmergencyStatus, error)
- func (UnimplementedDaliApiServer) GetGroupMembership(context.Context, *GetGroupMembershipRequest) (*GetGroupMembershipResponse, error)
- func (UnimplementedDaliApiServer) GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)
- func (UnimplementedDaliApiServer) Identify(context.Context, *IdentifyRequest) (*IdentifyResponse, error)
- func (UnimplementedDaliApiServer) RemoveFromGroup(context.Context, *RemoveFromGroupRequest) (*RemoveFromGroupResponse, error)
- func (UnimplementedDaliApiServer) StartTest(context.Context, *StartTestRequest) (*StartTestResponse, error)
- func (UnimplementedDaliApiServer) StopTest(context.Context, *StopTestRequest) (*StopTestResponse, error)
- type UnimplementedDevicesApiServer
- func (UnimplementedDevicesApiServer) GetDevicesMetadata(context.Context, *GetDevicesMetadataRequest) (*DevicesMetadata, error)
- func (UnimplementedDevicesApiServer) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
- func (UnimplementedDevicesApiServer) PullDevices(*PullDevicesRequest, DevicesApi_PullDevicesServer) error
- func (UnimplementedDevicesApiServer) PullDevicesMetadata(*PullDevicesMetadataRequest, DevicesApi_PullDevicesMetadataServer) error
- type UnimplementedElectricHistoryServer
- type UnimplementedEnrollmentApiServer
- func (UnimplementedEnrollmentApiServer) CreateEnrollment(context.Context, *CreateEnrollmentRequest) (*Enrollment, error)
- func (UnimplementedEnrollmentApiServer) DeleteEnrollment(context.Context, *DeleteEnrollmentRequest) (*Enrollment, error)
- func (UnimplementedEnrollmentApiServer) GetEnrollment(context.Context, *GetEnrollmentRequest) (*Enrollment, error)
- func (UnimplementedEnrollmentApiServer) TestEnrollment(context.Context, *TestEnrollmentRequest) (*TestEnrollmentResponse, error)
- func (UnimplementedEnrollmentApiServer) UpdateEnrollment(context.Context, *UpdateEnrollmentRequest) (*Enrollment, error)
- type UnimplementedHistoryAdminApiServer
- type UnimplementedHubApiServer
- func (UnimplementedHubApiServer) EnrollHubNode(context.Context, *EnrollHubNodeRequest) (*HubNode, error)
- func (UnimplementedHubApiServer) ForgetHubNode(context.Context, *ForgetHubNodeRequest) (*ForgetHubNodeResponse, error)
- func (UnimplementedHubApiServer) GetHubNode(context.Context, *GetHubNodeRequest) (*HubNode, error)
- func (UnimplementedHubApiServer) InspectHubNode(context.Context, *InspectHubNodeRequest) (*HubNodeInspection, error)
- func (UnimplementedHubApiServer) ListHubNodes(context.Context, *ListHubNodesRequest) (*ListHubNodesResponse, error)
- func (UnimplementedHubApiServer) PullHubNodes(*PullHubNodesRequest, HubApi_PullHubNodesServer) error
- func (UnimplementedHubApiServer) RenewHubNode(context.Context, *RenewHubNodeRequest) (*HubNode, error)
- func (UnimplementedHubApiServer) TestHubNode(context.Context, *TestHubNodeRequest) (*TestHubNodeResponse, error)
- type UnimplementedLightingTestApiServer
- func (UnimplementedLightingTestApiServer) GetLightHealth(context.Context, *GetLightHealthRequest) (*LightHealth, error)
- func (UnimplementedLightingTestApiServer) GetReportCSV(context.Context, *GetReportCSVRequest) (*ReportCSV, error)
- func (UnimplementedLightingTestApiServer) ListLightEvents(context.Context, *ListLightEventsRequest) (*ListLightEventsResponse, error)
- func (UnimplementedLightingTestApiServer) ListLightHealth(context.Context, *ListLightHealthRequest) (*ListLightHealthResponse, error)
- type UnimplementedMeterApiServer
- type UnimplementedMeterHistoryServer
- type UnimplementedMeterInfoServer
- type UnimplementedMqttServiceServer
- type UnimplementedOccupancySensorHistoryServer
- type UnimplementedServicesApiServer
- func (UnimplementedServicesApiServer) ConfigureService(context.Context, *ConfigureServiceRequest) (*Service, error)
- func (UnimplementedServicesApiServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error)
- func (UnimplementedServicesApiServer) DeleteService(context.Context, *DeleteServiceRequest) (*Service, error)
- func (UnimplementedServicesApiServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
- func (UnimplementedServicesApiServer) GetServiceMetadata(context.Context, *GetServiceMetadataRequest) (*ServiceMetadata, error)
- func (UnimplementedServicesApiServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (UnimplementedServicesApiServer) PullService(*PullServiceRequest, ServicesApi_PullServiceServer) error
- func (UnimplementedServicesApiServer) PullServiceMetadata(*PullServiceMetadataRequest, ServicesApi_PullServiceMetadataServer) error
- func (UnimplementedServicesApiServer) PullServices(*PullServicesRequest, ServicesApi_PullServicesServer) error
- func (UnimplementedServicesApiServer) StartService(context.Context, *StartServiceRequest) (*Service, error)
- func (UnimplementedServicesApiServer) StopService(context.Context, *StopServiceRequest) (*Service, error)
- type UnimplementedStatusApiServer
- type UnimplementedStatusHistoryServer
- type UnimplementedTemperatureApiServer
- func (UnimplementedTemperatureApiServer) GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error)
- func (UnimplementedTemperatureApiServer) PullTemperature(*PullTemperatureRequest, TemperatureApi_PullTemperatureServer) error
- func (UnimplementedTemperatureApiServer) UpdateTemperature(context.Context, *UpdateTemperatureRequest) (*Temperature, error)
- type UnimplementedTenantApiServer
- func (UnimplementedTenantApiServer) AddTenantZones(context.Context, *AddTenantZonesRequest) (*Tenant, error)
- func (UnimplementedTenantApiServer) CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error)
- func (UnimplementedTenantApiServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
- func (UnimplementedTenantApiServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
- func (UnimplementedTenantApiServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
- func (UnimplementedTenantApiServer) GetSecret(context.Context, *GetSecretRequest) (*Secret, error)
- func (UnimplementedTenantApiServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
- func (UnimplementedTenantApiServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
- func (UnimplementedTenantApiServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
- func (UnimplementedTenantApiServer) PullSecret(*PullSecretRequest, TenantApi_PullSecretServer) error
- func (UnimplementedTenantApiServer) PullSecrets(*PullSecretsRequest, TenantApi_PullSecretsServer) error
- func (UnimplementedTenantApiServer) PullTenant(*PullTenantRequest, TenantApi_PullTenantServer) error
- func (UnimplementedTenantApiServer) PullTenants(*PullTenantsRequest, TenantApi_PullTenantsServer) error
- func (UnimplementedTenantApiServer) RegenerateSecret(context.Context, *RegenerateSecretRequest) (*Secret, error)
- func (UnimplementedTenantApiServer) RemoveTenantZones(context.Context, *RemoveTenantZonesRequest) (*Tenant, error)
- func (UnimplementedTenantApiServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error)
- func (UnimplementedTenantApiServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
- func (UnimplementedTenantApiServer) VerifySecret(context.Context, *VerifySecretRequest) (*Secret, error)
- type UnimplementedUdmiServiceServer
- func (UnimplementedUdmiServiceServer) GetExportMessage(context.Context, *GetExportMessageRequest) (*MqttMessage, error)
- func (UnimplementedUdmiServiceServer) OnMessage(context.Context, *OnMessageRequest) (*OnMessageResponse, error)
- func (UnimplementedUdmiServiceServer) PullControlTopics(*PullControlTopicsRequest, UdmiService_PullControlTopicsServer) error
- func (UnimplementedUdmiServiceServer) PullExportMessages(*PullExportMessagesRequest, UdmiService_PullExportMessagesServer) error
- type UnsafeAccessApiServer
- type UnsafeAirQualitySensorHistoryServer
- type UnsafeAirTemperatureHistoryServer
- type UnsafeAlertAdminApiServer
- type UnsafeAlertApiServer
- type UnsafeAxiomXaDriverServiceServer
- type UnsafeButtonApiServer
- type UnsafeColorApiServer
- type UnsafeColorInfoServer
- type UnsafeDaliApiServer
- type UnsafeDevicesApiServer
- type UnsafeElectricHistoryServer
- type UnsafeEnrollmentApiServer
- type UnsafeHistoryAdminApiServer
- type UnsafeHubApiServer
- type UnsafeLightingTestApiServer
- type UnsafeMeterApiServer
- type UnsafeMeterHistoryServer
- type UnsafeMeterInfoServer
- type UnsafeMqttServiceServer
- type UnsafeOccupancySensorHistoryServer
- type UnsafeServicesApiServer
- type UnsafeStatusApiServer
- type UnsafeStatusHistoryServer
- type UnsafeTemperatureApiServer
- type UnsafeTenantApiServer
- type UnsafeUdmiServiceServer
- type UpdateAlertRequest
- func (*UpdateAlertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAlertRequest) GetAlert() *Alert
- func (x *UpdateAlertRequest) GetName() string
- func (x *UpdateAlertRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAlertRequest) ProtoMessage()
- func (x *UpdateAlertRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAlertRequest) Reset()
- func (x *UpdateAlertRequest) String() string
- type UpdateButtonStateRequest
- func (*UpdateButtonStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateButtonStateRequest) GetButtonState() *ButtonState
- func (x *UpdateButtonStateRequest) GetName() string
- func (x *UpdateButtonStateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateButtonStateRequest) ProtoMessage()
- func (x *UpdateButtonStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateButtonStateRequest) Reset()
- func (x *UpdateButtonStateRequest) String() string
- type UpdateColorRequest
- func (*UpdateColorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateColorRequest) GetColor() *Color
- func (x *UpdateColorRequest) GetName() string
- func (x *UpdateColorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateColorRequest) ProtoMessage()
- func (x *UpdateColorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateColorRequest) Reset()
- func (x *UpdateColorRequest) String() string
- type UpdateEnrollmentRequest
- func (*UpdateEnrollmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnrollmentRequest) GetEnrollment() *Enrollment
- func (*UpdateEnrollmentRequest) ProtoMessage()
- func (x *UpdateEnrollmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnrollmentRequest) Reset()
- func (x *UpdateEnrollmentRequest) String() string
- type UpdateSecretRequest
- func (*UpdateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretRequest) GetSecret() *Secret
- func (*UpdateSecretRequest) ProtoMessage()
- func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretRequest) Reset()
- func (x *UpdateSecretRequest) String() string
- type UpdateTemperatureRequest
- func (*UpdateTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemperatureRequest) GetDelta() bool
- func (x *UpdateTemperatureRequest) GetName() string
- func (x *UpdateTemperatureRequest) GetTemperature() *Temperature
- func (x *UpdateTemperatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTemperatureRequest) ProtoMessage()
- func (x *UpdateTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemperatureRequest) Reset()
- func (x *UpdateTemperatureRequest) String() string
- type UpdateTenantRequest
- func (*UpdateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTenantRequest) GetTenant() *Tenant
- func (x *UpdateTenantRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTenantRequest) ProtoMessage()
- func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantRequest) Reset()
- func (x *UpdateTenantRequest) String() string
- type UpdateTestIntervalRequest
- func (*UpdateTestIntervalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestIntervalRequest) GetInterval() *durationpb.Duration
- func (x *UpdateTestIntervalRequest) GetName() string
- func (x *UpdateTestIntervalRequest) GetTest() EmergencyStatus_Test
- func (*UpdateTestIntervalRequest) ProtoMessage()
- func (x *UpdateTestIntervalRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTestIntervalRequest) Reset()
- func (x *UpdateTestIntervalRequest) String() string
- type UpdateTestIntervalResponse
- func (*UpdateTestIntervalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestIntervalResponse) GetInterval() *durationpb.Duration
- func (*UpdateTestIntervalResponse) ProtoMessage()
- func (x *UpdateTestIntervalResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTestIntervalResponse) Reset()
- func (x *UpdateTestIntervalResponse) String() string
- type VerifySecretRequest
- func (*VerifySecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifySecretRequest) GetSecret() string
- func (x *VerifySecretRequest) GetTenantId() string
- func (*VerifySecretRequest) ProtoMessage()
- func (x *VerifySecretRequest) ProtoReflect() protoreflect.Message
- func (x *VerifySecretRequest) Reset()
- func (x *VerifySecretRequest) String() string
Constants ¶
const ( AccessApi_GetLastAccessAttempt_FullMethodName = "/smartcore.bos.AccessApi/GetLastAccessAttempt" AccessApi_PullAccessAttempts_FullMethodName = "/smartcore.bos.AccessApi/PullAccessAttempts" )
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" )
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" )
const ( ButtonApi_GetButtonState_FullMethodName = "/smartcore.bos.ButtonApi/GetButtonState" ButtonApi_PullButtonState_FullMethodName = "/smartcore.bos.ButtonApi/PullButtonState" ButtonApi_UpdateButtonState_FullMethodName = "/smartcore.bos.ButtonApi/UpdateButtonState" )
const ( ColorApi_GetColor_FullMethodName = "/smartcore.bos.ColorApi/GetColor" ColorApi_UpdateColor_FullMethodName = "/smartcore.bos.ColorApi/UpdateColor" ColorApi_PullColor_FullMethodName = "/smartcore.bos.ColorApi/PullColor" )
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" )
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" )
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" )
const ( HistoryAdminApi_CreateHistoryRecord_FullMethodName = "/smartcore.bos.HistoryAdminApi/CreateHistoryRecord" HistoryAdminApi_ListHistoryRecords_FullMethodName = "/smartcore.bos.HistoryAdminApi/ListHistoryRecords" )
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" )
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" )
const ( MeterApi_GetMeterReading_FullMethodName = "/smartcore.bos.MeterApi/GetMeterReading" MeterApi_PullMeterReadings_FullMethodName = "/smartcore.bos.MeterApi/PullMeterReadings" )
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" )
const ( StatusApi_GetCurrentStatus_FullMethodName = "/smartcore.bos.StatusApi/GetCurrentStatus" StatusApi_PullCurrentStatus_FullMethodName = "/smartcore.bos.StatusApi/PullCurrentStatus" )
const ( TemperatureApi_GetTemperature_FullMethodName = "/smartcore.bos.TemperatureApi/GetTemperature" TemperatureApi_PullTemperature_FullMethodName = "/smartcore.bos.TemperatureApi/PullTemperature" TemperatureApi_UpdateTemperature_FullMethodName = "/smartcore.bos.TemperatureApi/UpdateTemperature" )
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" )
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" )
const (
AirQualitySensorHistory_ListAirQualityHistory_FullMethodName = "/smartcore.bos.AirQualitySensorHistory/ListAirQualityHistory"
)
const (
AirTemperatureHistory_ListAirTemperatureHistory_FullMethodName = "/smartcore.bos.AirTemperatureHistory/ListAirTemperatureHistory"
)
const (
AxiomXaDriverService_SaveQRCredential_FullMethodName = "/smartcore.bos.driver.axiomxa.AxiomXaDriverService/SaveQRCredential"
)
const (
ColorInfo_DescribeColor_FullMethodName = "/smartcore.bos.ColorInfo/DescribeColor"
)
const (
ElectricHistory_ListElectricDemandHistory_FullMethodName = "/smartcore.bos.ElectricHistory/ListElectricDemandHistory"
)
const (
MeterHistory_ListMeterReadingHistory_FullMethodName = "/smartcore.bos.MeterHistory/ListMeterReadingHistory"
)
const (
MeterInfo_DescribeMeterReading_FullMethodName = "/smartcore.bos.MeterInfo/DescribeMeterReading"
)
const (
MqttService_PullMessages_FullMethodName = "/smartcore.bos.MqttService/PullMessages"
)
const (
OccupancySensorHistory_ListOccupancyHistory_FullMethodName = "/smartcore.bos.OccupancySensorHistory/ListOccupancyHistory"
)
const (
StatusHistory_ListCurrentStatusHistory_FullMethodName = "/smartcore.bos.StatusHistory/ListCurrentStatusHistory"
)
Variables ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
var File_access_proto protoreflect.FileDescriptor
var File_alerts_proto protoreflect.FileDescriptor
var File_axiomxa_proto protoreflect.FileDescriptor
var File_color_proto protoreflect.FileDescriptor
var File_dali_proto protoreflect.FileDescriptor
var File_devices_proto protoreflect.FileDescriptor
var File_enrollment_proto protoreflect.FileDescriptor
var File_history_proto protoreflect.FileDescriptor
var File_hub_proto protoreflect.FileDescriptor
var File_lighting_test_proto protoreflect.FileDescriptor
var File_meter_proto protoreflect.FileDescriptor
var File_mqtt_proto protoreflect.FileDescriptor
var File_services_proto protoreflect.FileDescriptor
var File_status_proto protoreflect.FileDescriptor
var File_temperature_proto protoreflect.FileDescriptor
var File_tenants_proto protoreflect.FileDescriptor
var File_udmi_proto protoreflect.FileDescriptor
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 (r *AccessApiRouter) PullAccessAttempts(request *PullAccessAttemptsRequest, server AccessApi_PullAccessAttemptsServer) error
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) Descriptor() protoreflect.EnumDescriptor
func (AccessAttempt_Grant) Enum ¶
func (x AccessAttempt_Grant) Enum() *AccessAttempt_Grant
func (AccessAttempt_Grant) EnumDescriptor
deprecated
func (AccessAttempt_Grant) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessAttempt_Grant.Descriptor instead.
func (AccessAttempt_Grant) Number ¶
func (x AccessAttempt_Grant) Number() protoreflect.EnumNumber
func (AccessAttempt_Grant) String ¶
func (x AccessAttempt_Grant) String() string
func (AccessAttempt_Grant) Type ¶
func (AccessAttempt_Grant) Type() protoreflect.EnumType
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 (x *AcknowledgeAlertRequest) GetAuthor() *Alert_Acknowledgement_Author
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 NewAirQualitySensorHistoryClient ¶
func NewAirQualitySensorHistoryClient(cc grpc.ClientConnInterface) AirQualitySensorHistoryClient
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 (r *AirQualitySensorHistoryRouter) ListAirQualityHistory(ctx context.Context, request *ListAirQualityHistoryRequest) (*ListAirQualityHistoryResponse, error)
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 NewAirTemperatureHistoryClient ¶
func NewAirTemperatureHistoryClient(cc grpc.ClientConnInterface) AirTemperatureHistoryClient
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 (r *AirTemperatureHistoryRouter) ListAirTemperatureHistory(ctx context.Context, request *ListAirTemperatureHistoryRequest) (*ListAirTemperatureHistoryResponse, error)
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) GetAcknowledgement ¶
func (x *Alert) GetAcknowledgement() *Alert_Acknowledgement
func (*Alert) GetCreateTime ¶
func (x *Alert) GetCreateTime() *timestamppb.Timestamp
func (*Alert) GetDescription ¶
func (*Alert) GetFederation ¶
func (*Alert) GetResolveTime ¶
func (x *Alert) GetResolveTime() *timestamppb.Timestamp
func (*Alert) GetSeverity ¶
func (x *Alert) GetSeverity() Alert_Severity
func (*Alert) GetSubsystem ¶
func (*Alert) ProtoMessage ¶
func (*Alert) ProtoMessage()
func (*Alert) ProtoReflect ¶
func (x *Alert) ProtoReflect() protoreflect.Message
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 NewAlertAdminApiClient ¶
func NewAlertAdminApiClient(cc grpc.ClientConnInterface) AlertAdminApiClient
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 (r *AlertAdminApiRouter) DeleteAlert(ctx context.Context, request *DeleteAlertRequest) (*DeleteAlertResponse, error)
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 (x *Alert_Acknowledgement) GetAuthor() *Alert_Acknowledgement_Author
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 (x *Alert_Acknowledgement_Author) GetId() string
func (*Alert_Acknowledgement_Author) ProtoMessage ¶
func (*Alert_Acknowledgement_Author) ProtoMessage()
func (*Alert_Acknowledgement_Author) ProtoReflect ¶
func (x *Alert_Acknowledgement_Author) ProtoReflect() protoreflect.Message
func (*Alert_Acknowledgement_Author) Reset ¶
func (x *Alert_Acknowledgement_Author) Reset()
func (*Alert_Acknowledgement_Author) String ¶
func (x *Alert_Acknowledgement_Author) String() 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) Descriptor() protoreflect.EnumDescriptor
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 (x Alert_Severity) Number() protoreflect.EnumNumber
func (Alert_Severity) String ¶
func (x Alert_Severity) String() string
func (Alert_Severity) Type ¶
func (Alert_Severity) Type() protoreflect.EnumType
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 NewAxiomXaDriverServiceClient ¶
func NewAxiomXaDriverServiceClient(cc grpc.ClientConnInterface) AxiomXaDriverServiceClient
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 ¶
func (r *AxiomXaDriverServiceRouter) SaveQRCredential(ctx context.Context, request *SaveQRCredentialRequest) (*SaveQRCredentialResponse, error)
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 (x *ButtonState_Gesture) GetKind() ButtonState_Gesture_Kind
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) Descriptor() protoreflect.EnumDescriptor
func (ButtonState_Gesture_Kind) Enum ¶
func (x ButtonState_Gesture_Kind) Enum() *ButtonState_Gesture_Kind
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 (x ButtonState_Gesture_Kind) Number() protoreflect.EnumNumber
func (ButtonState_Gesture_Kind) String ¶
func (x ButtonState_Gesture_Kind) String() string
func (ButtonState_Gesture_Kind) Type ¶
func (ButtonState_Gesture_Kind) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (ButtonState_Press) Enum ¶
func (x ButtonState_Press) Enum() *ButtonState_Press
func (ButtonState_Press) EnumDescriptor
deprecated
func (ButtonState_Press) EnumDescriptor() ([]byte, []int)
Deprecated: Use ButtonState_Press.Descriptor instead.
func (ButtonState_Press) Number ¶
func (x ButtonState_Press) Number() protoreflect.EnumNumber
func (ButtonState_Press) String ¶
func (x ButtonState_Press) String() string
func (ButtonState_Press) Type ¶
func (ButtonState_Press) Type() protoreflect.EnumType
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) GetChannels ¶
func (x *Color) GetChannels() *ColorChannels
func (*Color) GetColorTween ¶
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
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) Descriptor() protoreflect.EnumDescriptor
func (ControlGearStatus_Failure) Enum ¶
func (x ControlGearStatus_Failure) Enum() *ControlGearStatus_Failure
func (ControlGearStatus_Failure) EnumDescriptor
deprecated
func (ControlGearStatus_Failure) EnumDescriptor() ([]byte, []int)
Deprecated: Use ControlGearStatus_Failure.Descriptor instead.
func (ControlGearStatus_Failure) Number ¶
func (x ControlGearStatus_Failure) Number() protoreflect.EnumNumber
func (ControlGearStatus_Failure) String ¶
func (x ControlGearStatus_Failure) String() string
func (ControlGearStatus_Failure) Type ¶
func (ControlGearStatus_Failure) Type() protoreflect.EnumType
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 (x *CreateHistoryRecordRequest) ProtoReflect() protoreflect.Message
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 (r *DaliApiRouter) GetGroupMembership(ctx context.Context, request *GetGroupMembershipRequest) (*GetGroupMembershipResponse, error)
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 (x *DeleteTestResultRequest) GetTest() EmergencyStatus_Test
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 (x *DescribeMeterReadingRequest) ProtoReflect() protoreflect.Message
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) GetMetadata ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
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 (x *DevicesMetadata_StringFieldCount) GetField() string
func (*DevicesMetadata_StringFieldCount) ProtoMessage ¶
func (*DevicesMetadata_StringFieldCount) ProtoMessage()
func (*DevicesMetadata_StringFieldCount) ProtoReflect ¶
func (x *DevicesMetadata_StringFieldCount) ProtoReflect() protoreflect.Message
func (*DevicesMetadata_StringFieldCount) Reset ¶
func (x *DevicesMetadata_StringFieldCount) Reset()
func (*DevicesMetadata_StringFieldCount) String ¶
func (x *DevicesMetadata_StringFieldCount) String() 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 NewElectricHistoryClient ¶
func NewElectricHistoryClient(cc grpc.ClientConnInterface) ElectricHistoryClient
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 (r *ElectricHistoryRouter) ListElectricDemandHistory(ctx context.Context, request *ListElectricDemandHistoryRequest) (*ListElectricDemandHistoryResponse, error)
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) Descriptor() protoreflect.EnumDescriptor
func (EmergencyStatus_Failure) Enum ¶
func (x EmergencyStatus_Failure) Enum() *EmergencyStatus_Failure
func (EmergencyStatus_Failure) EnumDescriptor
deprecated
func (EmergencyStatus_Failure) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmergencyStatus_Failure.Descriptor instead.
func (EmergencyStatus_Failure) Number ¶
func (x EmergencyStatus_Failure) Number() protoreflect.EnumNumber
func (EmergencyStatus_Failure) String ¶
func (x EmergencyStatus_Failure) String() string
func (EmergencyStatus_Failure) Type ¶
func (EmergencyStatus_Failure) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (EmergencyStatus_Mode) Enum ¶
func (x EmergencyStatus_Mode) Enum() *EmergencyStatus_Mode
func (EmergencyStatus_Mode) EnumDescriptor
deprecated
func (EmergencyStatus_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmergencyStatus_Mode.Descriptor instead.
func (EmergencyStatus_Mode) Number ¶
func (x EmergencyStatus_Mode) Number() protoreflect.EnumNumber
func (EmergencyStatus_Mode) String ¶
func (x EmergencyStatus_Mode) String() string
func (EmergencyStatus_Mode) Type ¶
func (EmergencyStatus_Mode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (EmergencyStatus_Test) Enum ¶
func (x EmergencyStatus_Test) Enum() *EmergencyStatus_Test
func (EmergencyStatus_Test) EnumDescriptor
deprecated
func (EmergencyStatus_Test) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmergencyStatus_Test.Descriptor instead.
func (EmergencyStatus_Test) Number ¶
func (x EmergencyStatus_Test) Number() protoreflect.EnumNumber
func (EmergencyStatus_Test) String ¶
func (x EmergencyStatus_Test) String() string
func (EmergencyStatus_Test) Type ¶
func (EmergencyStatus_Test) Type() protoreflect.EnumType
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.
func NewEnrollmentApiClient ¶
func NewEnrollmentApiClient(cc grpc.ClientConnInterface) EnrollmentApiClient
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 (x *GetControlGearStatusRequest) ProtoReflect() protoreflect.Message
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 (x *GetDevicesMetadataRequest) GetIncludes() *DevicesMetadata_Include
func (*GetDevicesMetadataRequest) GetReadMask ¶
func (x *GetDevicesMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetDevicesMetadataRequest) ProtoMessage ¶
func (*GetDevicesMetadataRequest) ProtoMessage()
func (*GetDevicesMetadataRequest) ProtoReflect ¶
func (x *GetDevicesMetadataRequest) ProtoReflect() protoreflect.Message
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 (x *GetEmergencyStatusRequest) ProtoReflect() protoreflect.Message
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 (x *GetGroupMembershipRequest) ProtoReflect() protoreflect.Message
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 (x *GetGroupMembershipResponse) ProtoReflect() protoreflect.Message
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 (x *GetLastAccessAttemptRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetLastAccessAttemptRequest) ProtoMessage ¶
func (*GetLastAccessAttemptRequest) ProtoMessage()
func (*GetLastAccessAttemptRequest) ProtoReflect ¶
func (x *GetLastAccessAttemptRequest) ProtoReflect() protoreflect.Message
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 (x *GetServiceMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetServiceMetadataRequest) ProtoMessage ¶
func (*GetServiceMetadataRequest) ProtoMessage()
func (*GetServiceMetadataRequest) ProtoReflect ¶
func (x *GetServiceMetadataRequest) ProtoReflect() protoreflect.Message
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 (x *GetTestResultRequest) GetTest() EmergencyStatus_Test
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 NewHistoryAdminApiClient ¶
func NewHistoryAdminApiClient(cc grpc.ClientConnInterface) HistoryAdminApiClient
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 (r *HistoryAdminApiRouter) ListHistoryRecords(ctx context.Context, request *ListHistoryRecordsRequest) (*ListHistoryRecordsResponse, error)
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) GetAddress ¶
func (*HubNode) GetDescription ¶
func (*HubNode) ProtoMessage ¶
func (*HubNode) ProtoMessage()
func (*HubNode) ProtoReflect ¶
func (x *HubNode) ProtoReflect() protoreflect.Message
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 ¶
func (LightFault) Type() protoreflect.EnumType
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 (x *LightingEvent_DurationTestPass) ProtoReflect() protoreflect.Message
func (*LightingEvent_DurationTestPass) Reset ¶
func (x *LightingEvent_DurationTestPass) Reset()
func (*LightingEvent_DurationTestPass) String ¶
func (x *LightingEvent_DurationTestPass) String() 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 (x *LightingEvent_FunctionTestPass) ProtoReflect() protoreflect.Message
func (*LightingEvent_FunctionTestPass) Reset ¶
func (x *LightingEvent_FunctionTestPass) Reset()
func (*LightingEvent_FunctionTestPass) String ¶
func (x *LightingEvent_FunctionTestPass) String() 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 (x *LightingEvent_StatusReport) ProtoReflect() protoreflect.Message
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 NewLightingTestApiClient ¶
func NewLightingTestApiClient(cc grpc.ClientConnInterface) LightingTestApiClient
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 (x *ListAirQualityHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListAirQualityHistoryRequest) ProtoMessage ¶
func (*ListAirQualityHistoryRequest) ProtoMessage()
func (*ListAirQualityHistoryRequest) ProtoReflect ¶
func (x *ListAirQualityHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListAirQualityHistoryRequest) Reset ¶
func (x *ListAirQualityHistoryRequest) Reset()
func (*ListAirQualityHistoryRequest) String ¶
func (x *ListAirQualityHistoryRequest) String() 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 (x *ListAirQualityHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListAirQualityHistoryResponse) Reset ¶
func (x *ListAirQualityHistoryResponse) Reset()
func (*ListAirQualityHistoryResponse) String ¶
func (x *ListAirQualityHistoryResponse) String() 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 (x *ListAirTemperatureHistoryRequest) GetName() string
func (*ListAirTemperatureHistoryRequest) GetPageSize ¶
func (x *ListAirTemperatureHistoryRequest) GetPageSize() int32
func (*ListAirTemperatureHistoryRequest) GetPageToken ¶
func (x *ListAirTemperatureHistoryRequest) GetPageToken() string
func (*ListAirTemperatureHistoryRequest) GetPeriod ¶
func (x *ListAirTemperatureHistoryRequest) GetPeriod() *time.Period
func (*ListAirTemperatureHistoryRequest) GetReadMask ¶
func (x *ListAirTemperatureHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListAirTemperatureHistoryRequest) ProtoMessage ¶
func (*ListAirTemperatureHistoryRequest) ProtoMessage()
func (*ListAirTemperatureHistoryRequest) ProtoReflect ¶
func (x *ListAirTemperatureHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListAirTemperatureHistoryRequest) Reset ¶
func (x *ListAirTemperatureHistoryRequest) Reset()
func (*ListAirTemperatureHistoryRequest) String ¶
func (x *ListAirTemperatureHistoryRequest) String() 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 (x *ListAirTemperatureHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListAirTemperatureHistoryResponse) Reset ¶
func (x *ListAirTemperatureHistoryResponse) Reset()
func (*ListAirTemperatureHistoryResponse) String ¶
func (x *ListAirTemperatureHistoryResponse) String() 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 (x *ListCurrentStatusHistoryRequest) GetName() string
func (*ListCurrentStatusHistoryRequest) GetPageSize ¶
func (x *ListCurrentStatusHistoryRequest) GetPageSize() int32
func (*ListCurrentStatusHistoryRequest) GetPageToken ¶
func (x *ListCurrentStatusHistoryRequest) GetPageToken() string
func (*ListCurrentStatusHistoryRequest) GetPeriod ¶
func (x *ListCurrentStatusHistoryRequest) GetPeriod() *time.Period
func (*ListCurrentStatusHistoryRequest) GetReadMask ¶
func (x *ListCurrentStatusHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListCurrentStatusHistoryRequest) ProtoMessage ¶
func (*ListCurrentStatusHistoryRequest) ProtoMessage()
func (*ListCurrentStatusHistoryRequest) ProtoReflect ¶
func (x *ListCurrentStatusHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListCurrentStatusHistoryRequest) Reset ¶
func (x *ListCurrentStatusHistoryRequest) Reset()
func (*ListCurrentStatusHistoryRequest) String ¶
func (x *ListCurrentStatusHistoryRequest) String() 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 (x *ListCurrentStatusHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListCurrentStatusHistoryResponse) Reset ¶
func (x *ListCurrentStatusHistoryResponse) Reset()
func (*ListCurrentStatusHistoryResponse) String ¶
func (x *ListCurrentStatusHistoryResponse) String() 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 (x *ListElectricDemandHistoryRequest) GetName() string
func (*ListElectricDemandHistoryRequest) GetPageSize ¶
func (x *ListElectricDemandHistoryRequest) GetPageSize() int32
func (*ListElectricDemandHistoryRequest) GetPageToken ¶
func (x *ListElectricDemandHistoryRequest) GetPageToken() string
func (*ListElectricDemandHistoryRequest) GetPeriod ¶
func (x *ListElectricDemandHistoryRequest) GetPeriod() *time.Period
func (*ListElectricDemandHistoryRequest) GetReadMask ¶
func (x *ListElectricDemandHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListElectricDemandHistoryRequest) ProtoMessage ¶
func (*ListElectricDemandHistoryRequest) ProtoMessage()
func (*ListElectricDemandHistoryRequest) ProtoReflect ¶
func (x *ListElectricDemandHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListElectricDemandHistoryRequest) Reset ¶
func (x *ListElectricDemandHistoryRequest) Reset()
func (*ListElectricDemandHistoryRequest) String ¶
func (x *ListElectricDemandHistoryRequest) String() 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 (x *ListElectricDemandHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListElectricDemandHistoryResponse) Reset ¶
func (x *ListElectricDemandHistoryResponse) Reset()
func (*ListElectricDemandHistoryResponse) String ¶
func (x *ListElectricDemandHistoryResponse) String() 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 (x *ListHistoryRecordsRequest) GetQuery() *HistoryRecord_Query
func (*ListHistoryRecordsRequest) ProtoMessage ¶
func (*ListHistoryRecordsRequest) ProtoMessage()
func (*ListHistoryRecordsRequest) ProtoReflect ¶
func (x *ListHistoryRecordsRequest) ProtoReflect() protoreflect.Message
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 (x *ListHistoryRecordsResponse) ProtoReflect() protoreflect.Message
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 (x *ListMeterReadingHistoryRequest) GetName() string
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 (x *ListMeterReadingHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListMeterReadingHistoryRequest) ProtoMessage ¶
func (*ListMeterReadingHistoryRequest) ProtoMessage()
func (*ListMeterReadingHistoryRequest) ProtoReflect ¶
func (x *ListMeterReadingHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListMeterReadingHistoryRequest) Reset ¶
func (x *ListMeterReadingHistoryRequest) Reset()
func (*ListMeterReadingHistoryRequest) String ¶
func (x *ListMeterReadingHistoryRequest) String() 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 (x *ListMeterReadingHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListMeterReadingHistoryResponse) Reset ¶
func (x *ListMeterReadingHistoryResponse) Reset()
func (*ListMeterReadingHistoryResponse) String ¶
func (x *ListMeterReadingHistoryResponse) String() 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 (x *ListOccupancyHistoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListOccupancyHistoryRequest) ProtoMessage ¶
func (*ListOccupancyHistoryRequest) ProtoMessage()
func (*ListOccupancyHistoryRequest) ProtoReflect ¶
func (x *ListOccupancyHistoryRequest) ProtoReflect() protoreflect.Message
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 (x *ListOccupancyHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListOccupancyHistoryResponse) Reset ¶
func (x *ListOccupancyHistoryResponse) Reset()
func (*ListOccupancyHistoryResponse) String ¶
func (x *ListOccupancyHistoryResponse) String() 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 NewMeterHistoryClient ¶
func NewMeterHistoryClient(cc grpc.ClientConnInterface) MeterHistoryClient
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 (r *MeterHistoryRouter) ListMeterReadingHistory(ctx context.Context, request *ListMeterReadingHistoryRequest) (*ListMeterReadingHistoryResponse, error)
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 NewMqttServiceClient ¶
func NewMqttServiceClient(cc grpc.ClientConnInterface) MqttServiceClient
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 (r *MqttServiceRouter) PullMessages(request *PullMessagesRequest, server MqttService_PullMessagesServer) error
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 NewOccupancySensorHistoryClient ¶
func NewOccupancySensorHistoryClient(cc grpc.ClientConnInterface) OccupancySensorHistoryClient
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 (r *OccupancySensorHistoryRouter) ListOccupancyHistory(ctx context.Context, request *ListOccupancyHistoryRequest) (*ListOccupancyHistoryResponse, error)
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 (x *PullAccessAttemptsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullAccessAttemptsRequest) GetUpdatesOnly ¶
func (x *PullAccessAttemptsRequest) GetUpdatesOnly() bool
func (*PullAccessAttemptsRequest) ProtoMessage ¶
func (*PullAccessAttemptsRequest) ProtoMessage()
func (*PullAccessAttemptsRequest) ProtoReflect ¶
func (x *PullAccessAttemptsRequest) ProtoReflect() protoreflect.Message
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 (x *PullAccessAttemptsResponse) GetChanges() []*PullAccessAttemptsResponse_Change
func (*PullAccessAttemptsResponse) ProtoMessage ¶
func (*PullAccessAttemptsResponse) ProtoMessage()
func (*PullAccessAttemptsResponse) ProtoReflect ¶
func (x *PullAccessAttemptsResponse) ProtoReflect() protoreflect.Message
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 (x *PullAccessAttemptsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullAccessAttemptsResponse_Change) GetName ¶
func (x *PullAccessAttemptsResponse_Change) GetName() string
func (*PullAccessAttemptsResponse_Change) ProtoMessage ¶
func (*PullAccessAttemptsResponse_Change) ProtoMessage()
func (*PullAccessAttemptsResponse_Change) ProtoReflect ¶
func (x *PullAccessAttemptsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullAccessAttemptsResponse_Change) Reset ¶
func (x *PullAccessAttemptsResponse_Change) Reset()
func (*PullAccessAttemptsResponse_Change) String ¶
func (x *PullAccessAttemptsResponse_Change) String() 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 (x *PullAlertMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
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 (x *PullAlertMetadataResponse) GetChanges() []*PullAlertMetadataResponse_Change
func (*PullAlertMetadataResponse) ProtoMessage ¶
func (*PullAlertMetadataResponse) ProtoMessage()
func (*PullAlertMetadataResponse) ProtoReflect ¶
func (x *PullAlertMetadataResponse) ProtoReflect() protoreflect.Message
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 (x *PullAlertMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullAlertMetadataResponse_Change) GetMetadata ¶
func (x *PullAlertMetadataResponse_Change) GetMetadata() *AlertMetadata
func (*PullAlertMetadataResponse_Change) GetName ¶
func (x *PullAlertMetadataResponse_Change) GetName() string
func (*PullAlertMetadataResponse_Change) ProtoMessage ¶
func (*PullAlertMetadataResponse_Change) ProtoMessage()
func (*PullAlertMetadataResponse_Change) ProtoReflect ¶
func (x *PullAlertMetadataResponse_Change) ProtoReflect() protoreflect.Message
func (*PullAlertMetadataResponse_Change) Reset ¶
func (x *PullAlertMetadataResponse_Change) Reset()
func (*PullAlertMetadataResponse_Change) String ¶
func (x *PullAlertMetadataResponse_Change) String() 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 (x *PullAlertsResponse_Change) GetType() types.ChangeType
func (*PullAlertsResponse_Change) ProtoMessage ¶
func (*PullAlertsResponse_Change) ProtoMessage()
func (*PullAlertsResponse_Change) ProtoReflect ¶
func (x *PullAlertsResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullButtonStateResponse) GetChanges() []*PullButtonStateResponse_Change
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 (x *PullButtonStateResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullButtonStateResponse_Change) GetName ¶
func (x *PullButtonStateResponse_Change) GetName() string
func (*PullButtonStateResponse_Change) ProtoMessage ¶
func (*PullButtonStateResponse_Change) ProtoMessage()
func (*PullButtonStateResponse_Change) ProtoReflect ¶
func (x *PullButtonStateResponse_Change) ProtoReflect() protoreflect.Message
func (*PullButtonStateResponse_Change) Reset ¶
func (x *PullButtonStateResponse_Change) Reset()
func (*PullButtonStateResponse_Change) String ¶
func (x *PullButtonStateResponse_Change) String() 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 (x *PullControlTopicsResponse) ProtoReflect() protoreflect.Message
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 (x *PullCurrentStatusRequest) GetReadMask() *fieldmaskpb.FieldMask
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 (x *PullCurrentStatusResponse) GetChanges() []*PullCurrentStatusResponse_Change
func (*PullCurrentStatusResponse) ProtoMessage ¶
func (*PullCurrentStatusResponse) ProtoMessage()
func (*PullCurrentStatusResponse) ProtoReflect ¶
func (x *PullCurrentStatusResponse) ProtoReflect() protoreflect.Message
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 (x *PullCurrentStatusResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullCurrentStatusResponse_Change) GetCurrentStatus ¶
func (x *PullCurrentStatusResponse_Change) GetCurrentStatus() *StatusLog
func (*PullCurrentStatusResponse_Change) GetName ¶
func (x *PullCurrentStatusResponse_Change) GetName() string
func (*PullCurrentStatusResponse_Change) ProtoMessage ¶
func (*PullCurrentStatusResponse_Change) ProtoMessage()
func (*PullCurrentStatusResponse_Change) ProtoReflect ¶
func (x *PullCurrentStatusResponse_Change) ProtoReflect() protoreflect.Message
func (*PullCurrentStatusResponse_Change) Reset ¶
func (x *PullCurrentStatusResponse_Change) Reset()
func (*PullCurrentStatusResponse_Change) String ¶
func (x *PullCurrentStatusResponse_Change) String() 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 (x *PullDevicesMetadataRequest) GetIncludes() *DevicesMetadata_Include
func (*PullDevicesMetadataRequest) GetReadMask ¶
func (x *PullDevicesMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullDevicesMetadataRequest) GetUpdatesOnly ¶
func (x *PullDevicesMetadataRequest) GetUpdatesOnly() bool
func (*PullDevicesMetadataRequest) ProtoMessage ¶
func (*PullDevicesMetadataRequest) ProtoMessage()
func (*PullDevicesMetadataRequest) ProtoReflect ¶
func (x *PullDevicesMetadataRequest) ProtoReflect() protoreflect.Message
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 (x *PullDevicesMetadataResponse) GetChanges() []*PullDevicesMetadataResponse_Change
func (*PullDevicesMetadataResponse) ProtoMessage ¶
func (*PullDevicesMetadataResponse) ProtoMessage()
func (*PullDevicesMetadataResponse) ProtoReflect ¶
func (x *PullDevicesMetadataResponse) ProtoReflect() protoreflect.Message
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 (x *PullDevicesMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullDevicesMetadataResponse_Change) GetDevicesMetadata ¶
func (x *PullDevicesMetadataResponse_Change) GetDevicesMetadata() *DevicesMetadata
func (*PullDevicesMetadataResponse_Change) GetName ¶
func (x *PullDevicesMetadataResponse_Change) GetName() string
func (*PullDevicesMetadataResponse_Change) ProtoMessage ¶
func (*PullDevicesMetadataResponse_Change) ProtoMessage()
func (*PullDevicesMetadataResponse_Change) ProtoReflect ¶
func (x *PullDevicesMetadataResponse_Change) ProtoReflect() protoreflect.Message
func (*PullDevicesMetadataResponse_Change) Reset ¶
func (x *PullDevicesMetadataResponse_Change) Reset()
func (*PullDevicesMetadataResponse_Change) String ¶
func (x *PullDevicesMetadataResponse_Change) String() 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 (x *PullDevicesResponse) GetChanges() []*PullDevicesResponse_Change
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 (x *PullDevicesResponse_Change) GetType() types.ChangeType
func (*PullDevicesResponse_Change) ProtoMessage ¶
func (*PullDevicesResponse_Change) ProtoMessage()
func (*PullDevicesResponse_Change) ProtoReflect ¶
func (x *PullDevicesResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullExportMessagesRequest) ProtoReflect() protoreflect.Message
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 (x *PullExportMessagesResponse) ProtoReflect() protoreflect.Message
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 (x *PullHubNodesResponse) GetChanges() []*PullHubNodesResponse_Change
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 (x *PullHubNodesResponse_Change) GetChangeTime() *timestamppb.Timestamp
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 (x *PullHubNodesResponse_Change) GetType() types.ChangeType
func (*PullHubNodesResponse_Change) ProtoMessage ¶
func (*PullHubNodesResponse_Change) ProtoMessage()
func (*PullHubNodesResponse_Change) ProtoReflect ¶
func (x *PullHubNodesResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullMeterReadingsRequest) GetReadMask() *fieldmaskpb.FieldMask
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 (x *PullMeterReadingsResponse) GetChanges() []*PullMeterReadingsResponse_Change
func (*PullMeterReadingsResponse) ProtoMessage ¶
func (*PullMeterReadingsResponse) ProtoMessage()
func (*PullMeterReadingsResponse) ProtoReflect ¶
func (x *PullMeterReadingsResponse) ProtoReflect() protoreflect.Message
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 (x *PullMeterReadingsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullMeterReadingsResponse_Change) GetMeterReading ¶
func (x *PullMeterReadingsResponse_Change) GetMeterReading() *MeterReading
func (*PullMeterReadingsResponse_Change) GetName ¶
func (x *PullMeterReadingsResponse_Change) GetName() string
func (*PullMeterReadingsResponse_Change) ProtoMessage ¶
func (*PullMeterReadingsResponse_Change) ProtoMessage()
func (*PullMeterReadingsResponse_Change) ProtoReflect ¶
func (x *PullMeterReadingsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullMeterReadingsResponse_Change) Reset ¶
func (x *PullMeterReadingsResponse_Change) Reset()
func (*PullMeterReadingsResponse_Change) String ¶
func (x *PullMeterReadingsResponse_Change) String() 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 (x *PullSecretResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullSecretsResponse) GetChanges() []*PullSecretsResponse_Change
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 (x *PullSecretsResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullServiceMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullServiceMetadataRequest) GetUpdatesOnly ¶
func (x *PullServiceMetadataRequest) GetUpdatesOnly() bool
func (*PullServiceMetadataRequest) ProtoMessage ¶
func (*PullServiceMetadataRequest) ProtoMessage()
func (*PullServiceMetadataRequest) ProtoReflect ¶
func (x *PullServiceMetadataRequest) ProtoReflect() protoreflect.Message
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 (x *PullServiceMetadataResponse) GetChanges() []*PullServiceMetadataResponse_Change
func (*PullServiceMetadataResponse) ProtoMessage ¶
func (*PullServiceMetadataResponse) ProtoMessage()
func (*PullServiceMetadataResponse) ProtoReflect ¶
func (x *PullServiceMetadataResponse) ProtoReflect() protoreflect.Message
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 (x *PullServiceMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullServiceMetadataResponse_Change) GetMetadata ¶
func (x *PullServiceMetadataResponse_Change) GetMetadata() *ServiceMetadata
func (*PullServiceMetadataResponse_Change) GetName ¶
func (x *PullServiceMetadataResponse_Change) GetName() string
func (*PullServiceMetadataResponse_Change) ProtoMessage ¶
func (*PullServiceMetadataResponse_Change) ProtoMessage()
func (*PullServiceMetadataResponse_Change) ProtoReflect ¶
func (x *PullServiceMetadataResponse_Change) ProtoReflect() protoreflect.Message
func (*PullServiceMetadataResponse_Change) Reset ¶
func (x *PullServiceMetadataResponse_Change) Reset()
func (*PullServiceMetadataResponse_Change) String ¶
func (x *PullServiceMetadataResponse_Change) String() 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 (x *PullServiceResponse) GetChanges() []*PullServiceResponse_Change
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 (x *PullServiceResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullServicesResponse) GetChanges() []*PullServicesResponse_Change
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 (x *PullServicesResponse_Change) GetChangeTime() *timestamppb.Timestamp
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 (x *PullServicesResponse_Change) GetType() types.ChangeType
func (*PullServicesResponse_Change) ProtoMessage ¶
func (*PullServicesResponse_Change) ProtoMessage()
func (*PullServicesResponse_Change) ProtoReflect ¶
func (x *PullServicesResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullTemperatureResponse) GetChanges() []*PullTemperatureResponse_Change
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 (x *PullTemperatureResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullTemperatureResponse_Change) GetName ¶
func (x *PullTemperatureResponse_Change) GetName() string
func (*PullTemperatureResponse_Change) GetTemperature ¶
func (x *PullTemperatureResponse_Change) GetTemperature() *Temperature
func (*PullTemperatureResponse_Change) ProtoMessage ¶
func (*PullTemperatureResponse_Change) ProtoMessage()
func (*PullTemperatureResponse_Change) ProtoReflect ¶
func (x *PullTemperatureResponse_Change) ProtoReflect() protoreflect.Message
func (*PullTemperatureResponse_Change) Reset ¶
func (x *PullTemperatureResponse_Change) Reset()
func (*PullTemperatureResponse_Change) String ¶
func (x *PullTemperatureResponse_Change) String() 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 (x *PullTenantResponse_Change) ProtoReflect() protoreflect.Message
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 (x *PullTenantsResponse) GetChanges() []*PullTenantsResponse_Change
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 (x *PullTenantsResponse_Change) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*ReportCSV) ProtoMessage()
func (*ReportCSV) ProtoReflect ¶
func (x *ReportCSV) ProtoReflect() protoreflect.Message
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) GetCreateTime ¶
func (x *Secret) GetCreateTime() *timestamppb.Timestamp
func (*Secret) GetExpireTime ¶
func (x *Secret) GetExpireTime() *timestamppb.Timestamp
func (*Secret) GetFirstUseTime ¶
func (x *Secret) GetFirstUseTime() *timestamppb.Timestamp
func (*Secret) GetLastUseTime ¶
func (x *Secret) GetLastUseTime() *timestamppb.Timestamp
func (*Secret) GetSecretHash ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
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) GetConfigRaw ¶
func (*Service) GetFailedAttempts ¶
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 (*Service) GetNextAttemptTime ¶
func (x *Service) GetNextAttemptTime() *timestamppb.Timestamp
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
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 NewServicesApiClient ¶
func NewServicesApiClient(cc grpc.ClientConnInterface) ServicesApiClient
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 (r *ServicesApiRouter) ListServices(ctx context.Context, request *ListServicesRequest) (*ListServicesResponse, error)
func (*ServicesApiRouter) PullService ¶
func (r *ServicesApiRouter) PullService(request *PullServiceRequest, server ServicesApi_PullServiceServer) error
func (*ServicesApiRouter) PullServiceMetadata ¶
func (r *ServicesApiRouter) PullServiceMetadata(request *PullServiceMetadataRequest, server ServicesApi_PullServiceMetadataServer) error
func (*ServicesApiRouter) PullServices ¶
func (r *ServicesApiRouter) PullServices(request *PullServicesRequest, server ServicesApi_PullServicesServer) error
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 (x *StartTestRequest) GetTest() EmergencyStatus_Test
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 (r *StatusApiRouter) PullCurrentStatus(request *PullCurrentStatusRequest, server StatusApi_PullCurrentStatusServer) error
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 NewStatusHistoryClient ¶
func NewStatusHistoryClient(cc grpc.ClientConnInterface) StatusHistoryClient
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 (r *StatusHistoryRouter) ListCurrentStatusHistory(ctx context.Context, request *ListCurrentStatusHistoryRequest) (*ListCurrentStatusHistoryResponse, error)
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) GetDescription ¶
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
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) Descriptor() protoreflect.EnumDescriptor
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 (x StatusLog_Level) Number() protoreflect.EnumNumber
func (StatusLog_Level) String ¶
func (x StatusLog_Level) String() string
func (StatusLog_Level) Type ¶
func (StatusLog_Level) Type() protoreflect.EnumType
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 NewTemperatureApiClient ¶
func NewTemperatureApiClient(cc grpc.ClientConnInterface) TemperatureApiClient
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 (r *TemperatureApiRouter) PullTemperature(request *PullTemperatureRequest, server TemperatureApi_PullTemperatureServer) error
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) GetCreateTime ¶
func (x *Tenant) GetCreateTime() *timestamppb.Timestamp
func (*Tenant) GetZoneNames ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
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 NewUdmiServiceClient ¶
func NewUdmiServiceClient(cc grpc.ClientConnInterface) UdmiServiceClient
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 (r *UdmiServiceRouter) PullControlTopics(request *PullControlTopicsRequest, server UdmiService_PullControlTopicsServer) error
func (*UdmiServiceRouter) PullExportMessages ¶
func (r *UdmiServiceRouter) PullExportMessages(request *PullExportMessagesRequest, server UdmiService_PullExportMessagesServer) error
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 ¶
func (UnimplementedAccessApiServer) GetLastAccessAttempt(context.Context, *GetLastAccessAttemptRequest) (*AccessAttempt, error)
func (UnimplementedAccessApiServer) PullAccessAttempts ¶
func (UnimplementedAccessApiServer) PullAccessAttempts(*PullAccessAttemptsRequest, AccessApi_PullAccessAttemptsServer) error
type UnimplementedAirQualitySensorHistoryServer ¶
type UnimplementedAirQualitySensorHistoryServer struct { }
UnimplementedAirQualitySensorHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedAirQualitySensorHistoryServer) ListAirQualityHistory ¶
func (UnimplementedAirQualitySensorHistoryServer) ListAirQualityHistory(context.Context, *ListAirQualityHistoryRequest) (*ListAirQualityHistoryResponse, error)
type UnimplementedAirTemperatureHistoryServer ¶
type UnimplementedAirTemperatureHistoryServer struct { }
UnimplementedAirTemperatureHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedAirTemperatureHistoryServer) ListAirTemperatureHistory ¶
func (UnimplementedAirTemperatureHistoryServer) ListAirTemperatureHistory(context.Context, *ListAirTemperatureHistoryRequest) (*ListAirTemperatureHistoryResponse, error)
type UnimplementedAlertAdminApiServer ¶
type UnimplementedAlertAdminApiServer struct { }
UnimplementedAlertAdminApiServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertAdminApiServer) CreateAlert ¶
func (UnimplementedAlertAdminApiServer) CreateAlert(context.Context, *CreateAlertRequest) (*Alert, error)
func (UnimplementedAlertAdminApiServer) DeleteAlert ¶
func (UnimplementedAlertAdminApiServer) DeleteAlert(context.Context, *DeleteAlertRequest) (*DeleteAlertResponse, error)
func (UnimplementedAlertAdminApiServer) ResolveAlert ¶
func (UnimplementedAlertAdminApiServer) ResolveAlert(context.Context, *ResolveAlertRequest) (*Alert, error)
func (UnimplementedAlertAdminApiServer) UpdateAlert ¶
func (UnimplementedAlertAdminApiServer) UpdateAlert(context.Context, *UpdateAlertRequest) (*Alert, error)
type UnimplementedAlertApiServer ¶
type UnimplementedAlertApiServer struct { }
UnimplementedAlertApiServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertApiServer) AcknowledgeAlert ¶
func (UnimplementedAlertApiServer) AcknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
func (UnimplementedAlertApiServer) GetAlertMetadata ¶
func (UnimplementedAlertApiServer) GetAlertMetadata(context.Context, *GetAlertMetadataRequest) (*AlertMetadata, error)
func (UnimplementedAlertApiServer) ListAlerts ¶
func (UnimplementedAlertApiServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
func (UnimplementedAlertApiServer) PullAlertMetadata ¶
func (UnimplementedAlertApiServer) PullAlertMetadata(*PullAlertMetadataRequest, AlertApi_PullAlertMetadataServer) error
func (UnimplementedAlertApiServer) PullAlerts ¶
func (UnimplementedAlertApiServer) PullAlerts(*PullAlertsRequest, AlertApi_PullAlertsServer) error
func (UnimplementedAlertApiServer) UnacknowledgeAlert ¶
func (UnimplementedAlertApiServer) UnacknowledgeAlert(context.Context, *AcknowledgeAlertRequest) (*Alert, error)
type UnimplementedAxiomXaDriverServiceServer ¶
type UnimplementedAxiomXaDriverServiceServer struct { }
UnimplementedAxiomXaDriverServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAxiomXaDriverServiceServer) SaveQRCredential ¶
func (UnimplementedAxiomXaDriverServiceServer) SaveQRCredential(context.Context, *SaveQRCredentialRequest) (*SaveQRCredentialResponse, error)
type UnimplementedButtonApiServer ¶
type UnimplementedButtonApiServer struct { }
UnimplementedButtonApiServer must be embedded to have forward compatible implementations.
func (UnimplementedButtonApiServer) GetButtonState ¶
func (UnimplementedButtonApiServer) GetButtonState(context.Context, *GetButtonStateRequest) (*ButtonState, error)
func (UnimplementedButtonApiServer) PullButtonState ¶
func (UnimplementedButtonApiServer) PullButtonState(*PullButtonStateRequest, ButtonApi_PullButtonStateServer) error
func (UnimplementedButtonApiServer) UpdateButtonState ¶
func (UnimplementedButtonApiServer) UpdateButtonState(context.Context, *UpdateButtonStateRequest) (*ButtonState, error)
type UnimplementedColorApiServer ¶
type UnimplementedColorApiServer struct { }
UnimplementedColorApiServer must be embedded to have forward compatible implementations.
func (UnimplementedColorApiServer) GetColor ¶
func (UnimplementedColorApiServer) GetColor(context.Context, *GetColorRequest) (*Color, error)
func (UnimplementedColorApiServer) PullColor ¶
func (UnimplementedColorApiServer) PullColor(*PullColorRequest, ColorApi_PullColorServer) error
func (UnimplementedColorApiServer) UpdateColor ¶
func (UnimplementedColorApiServer) UpdateColor(context.Context, *UpdateColorRequest) (*Color, error)
type UnimplementedColorInfoServer ¶
type UnimplementedColorInfoServer struct { }
UnimplementedColorInfoServer must be embedded to have forward compatible implementations.
func (UnimplementedColorInfoServer) DescribeColor ¶
func (UnimplementedColorInfoServer) DescribeColor(context.Context, *DescribeColorRequest) (*ColorSupport, error)
type UnimplementedDaliApiServer ¶
type UnimplementedDaliApiServer struct { }
UnimplementedDaliApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDaliApiServer) AddToGroup ¶
func (UnimplementedDaliApiServer) AddToGroup(context.Context, *AddToGroupRequest) (*AddToGroupResponse, error)
func (UnimplementedDaliApiServer) DeleteTestResult ¶
func (UnimplementedDaliApiServer) DeleteTestResult(context.Context, *DeleteTestResultRequest) (*TestResult, error)
func (UnimplementedDaliApiServer) GetControlGearStatus ¶
func (UnimplementedDaliApiServer) GetControlGearStatus(context.Context, *GetControlGearStatusRequest) (*ControlGearStatus, error)
func (UnimplementedDaliApiServer) GetEmergencyStatus ¶
func (UnimplementedDaliApiServer) GetEmergencyStatus(context.Context, *GetEmergencyStatusRequest) (*EmergencyStatus, error)
func (UnimplementedDaliApiServer) GetGroupMembership ¶
func (UnimplementedDaliApiServer) GetGroupMembership(context.Context, *GetGroupMembershipRequest) (*GetGroupMembershipResponse, error)
func (UnimplementedDaliApiServer) GetTestResult ¶
func (UnimplementedDaliApiServer) GetTestResult(context.Context, *GetTestResultRequest) (*TestResult, error)
func (UnimplementedDaliApiServer) Identify ¶
func (UnimplementedDaliApiServer) Identify(context.Context, *IdentifyRequest) (*IdentifyResponse, error)
func (UnimplementedDaliApiServer) RemoveFromGroup ¶
func (UnimplementedDaliApiServer) RemoveFromGroup(context.Context, *RemoveFromGroupRequest) (*RemoveFromGroupResponse, error)
func (UnimplementedDaliApiServer) StartTest ¶
func (UnimplementedDaliApiServer) StartTest(context.Context, *StartTestRequest) (*StartTestResponse, error)
func (UnimplementedDaliApiServer) StopTest ¶
func (UnimplementedDaliApiServer) StopTest(context.Context, *StopTestRequest) (*StopTestResponse, error)
type UnimplementedDevicesApiServer ¶
type UnimplementedDevicesApiServer struct { }
UnimplementedDevicesApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDevicesApiServer) GetDevicesMetadata ¶
func (UnimplementedDevicesApiServer) GetDevicesMetadata(context.Context, *GetDevicesMetadataRequest) (*DevicesMetadata, error)
func (UnimplementedDevicesApiServer) ListDevices ¶
func (UnimplementedDevicesApiServer) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
func (UnimplementedDevicesApiServer) PullDevices ¶
func (UnimplementedDevicesApiServer) PullDevices(*PullDevicesRequest, DevicesApi_PullDevicesServer) error
func (UnimplementedDevicesApiServer) PullDevicesMetadata ¶
func (UnimplementedDevicesApiServer) PullDevicesMetadata(*PullDevicesMetadataRequest, DevicesApi_PullDevicesMetadataServer) error
type UnimplementedElectricHistoryServer ¶
type UnimplementedElectricHistoryServer struct { }
UnimplementedElectricHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedElectricHistoryServer) ListElectricDemandHistory ¶
func (UnimplementedElectricHistoryServer) ListElectricDemandHistory(context.Context, *ListElectricDemandHistoryRequest) (*ListElectricDemandHistoryResponse, error)
type UnimplementedEnrollmentApiServer ¶
type UnimplementedEnrollmentApiServer struct { }
UnimplementedEnrollmentApiServer must be embedded to have forward compatible implementations.
func (UnimplementedEnrollmentApiServer) CreateEnrollment ¶
func (UnimplementedEnrollmentApiServer) CreateEnrollment(context.Context, *CreateEnrollmentRequest) (*Enrollment, error)
func (UnimplementedEnrollmentApiServer) DeleteEnrollment ¶
func (UnimplementedEnrollmentApiServer) DeleteEnrollment(context.Context, *DeleteEnrollmentRequest) (*Enrollment, error)
func (UnimplementedEnrollmentApiServer) GetEnrollment ¶
func (UnimplementedEnrollmentApiServer) GetEnrollment(context.Context, *GetEnrollmentRequest) (*Enrollment, error)
func (UnimplementedEnrollmentApiServer) TestEnrollment ¶
func (UnimplementedEnrollmentApiServer) TestEnrollment(context.Context, *TestEnrollmentRequest) (*TestEnrollmentResponse, error)
func (UnimplementedEnrollmentApiServer) UpdateEnrollment ¶
func (UnimplementedEnrollmentApiServer) UpdateEnrollment(context.Context, *UpdateEnrollmentRequest) (*Enrollment, error)
type UnimplementedHistoryAdminApiServer ¶
type UnimplementedHistoryAdminApiServer struct { }
UnimplementedHistoryAdminApiServer must be embedded to have forward compatible implementations.
func (UnimplementedHistoryAdminApiServer) CreateHistoryRecord ¶
func (UnimplementedHistoryAdminApiServer) CreateHistoryRecord(context.Context, *CreateHistoryRecordRequest) (*HistoryRecord, error)
func (UnimplementedHistoryAdminApiServer) ListHistoryRecords ¶
func (UnimplementedHistoryAdminApiServer) ListHistoryRecords(context.Context, *ListHistoryRecordsRequest) (*ListHistoryRecordsResponse, error)
type UnimplementedHubApiServer ¶
type UnimplementedHubApiServer struct { }
UnimplementedHubApiServer must be embedded to have forward compatible implementations.
func (UnimplementedHubApiServer) EnrollHubNode ¶
func (UnimplementedHubApiServer) EnrollHubNode(context.Context, *EnrollHubNodeRequest) (*HubNode, error)
func (UnimplementedHubApiServer) ForgetHubNode ¶
func (UnimplementedHubApiServer) ForgetHubNode(context.Context, *ForgetHubNodeRequest) (*ForgetHubNodeResponse, error)
func (UnimplementedHubApiServer) GetHubNode ¶
func (UnimplementedHubApiServer) GetHubNode(context.Context, *GetHubNodeRequest) (*HubNode, error)
func (UnimplementedHubApiServer) InspectHubNode ¶
func (UnimplementedHubApiServer) InspectHubNode(context.Context, *InspectHubNodeRequest) (*HubNodeInspection, error)
func (UnimplementedHubApiServer) ListHubNodes ¶
func (UnimplementedHubApiServer) ListHubNodes(context.Context, *ListHubNodesRequest) (*ListHubNodesResponse, error)
func (UnimplementedHubApiServer) PullHubNodes ¶
func (UnimplementedHubApiServer) PullHubNodes(*PullHubNodesRequest, HubApi_PullHubNodesServer) error
func (UnimplementedHubApiServer) RenewHubNode ¶
func (UnimplementedHubApiServer) RenewHubNode(context.Context, *RenewHubNodeRequest) (*HubNode, error)
func (UnimplementedHubApiServer) TestHubNode ¶
func (UnimplementedHubApiServer) TestHubNode(context.Context, *TestHubNodeRequest) (*TestHubNodeResponse, error)
type UnimplementedLightingTestApiServer ¶
type UnimplementedLightingTestApiServer struct { }
UnimplementedLightingTestApiServer must be embedded to have forward compatible implementations.
func (UnimplementedLightingTestApiServer) GetLightHealth ¶
func (UnimplementedLightingTestApiServer) GetLightHealth(context.Context, *GetLightHealthRequest) (*LightHealth, error)
func (UnimplementedLightingTestApiServer) GetReportCSV ¶
func (UnimplementedLightingTestApiServer) GetReportCSV(context.Context, *GetReportCSVRequest) (*ReportCSV, error)
func (UnimplementedLightingTestApiServer) ListLightEvents ¶
func (UnimplementedLightingTestApiServer) ListLightEvents(context.Context, *ListLightEventsRequest) (*ListLightEventsResponse, error)
func (UnimplementedLightingTestApiServer) ListLightHealth ¶
func (UnimplementedLightingTestApiServer) ListLightHealth(context.Context, *ListLightHealthRequest) (*ListLightHealthResponse, error)
type UnimplementedMeterApiServer ¶
type UnimplementedMeterApiServer struct { }
UnimplementedMeterApiServer must be embedded to have forward compatible implementations.
func (UnimplementedMeterApiServer) GetMeterReading ¶
func (UnimplementedMeterApiServer) GetMeterReading(context.Context, *GetMeterReadingRequest) (*MeterReading, error)
func (UnimplementedMeterApiServer) PullMeterReadings ¶
func (UnimplementedMeterApiServer) PullMeterReadings(*PullMeterReadingsRequest, MeterApi_PullMeterReadingsServer) error
type UnimplementedMeterHistoryServer ¶
type UnimplementedMeterHistoryServer struct { }
UnimplementedMeterHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedMeterHistoryServer) ListMeterReadingHistory ¶
func (UnimplementedMeterHistoryServer) ListMeterReadingHistory(context.Context, *ListMeterReadingHistoryRequest) (*ListMeterReadingHistoryResponse, error)
type UnimplementedMeterInfoServer ¶
type UnimplementedMeterInfoServer struct { }
UnimplementedMeterInfoServer must be embedded to have forward compatible implementations.
func (UnimplementedMeterInfoServer) DescribeMeterReading ¶
func (UnimplementedMeterInfoServer) DescribeMeterReading(context.Context, *DescribeMeterReadingRequest) (*MeterReadingSupport, error)
type UnimplementedMqttServiceServer ¶
type UnimplementedMqttServiceServer struct { }
UnimplementedMqttServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMqttServiceServer) PullMessages ¶
func (UnimplementedMqttServiceServer) PullMessages(*PullMessagesRequest, MqttService_PullMessagesServer) error
type UnimplementedOccupancySensorHistoryServer ¶
type UnimplementedOccupancySensorHistoryServer struct { }
UnimplementedOccupancySensorHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedOccupancySensorHistoryServer) ListOccupancyHistory ¶
func (UnimplementedOccupancySensorHistoryServer) ListOccupancyHistory(context.Context, *ListOccupancyHistoryRequest) (*ListOccupancyHistoryResponse, error)
type UnimplementedServicesApiServer ¶
type UnimplementedServicesApiServer struct { }
UnimplementedServicesApiServer must be embedded to have forward compatible implementations.
func (UnimplementedServicesApiServer) ConfigureService ¶
func (UnimplementedServicesApiServer) ConfigureService(context.Context, *ConfigureServiceRequest) (*Service, error)
func (UnimplementedServicesApiServer) CreateService ¶
func (UnimplementedServicesApiServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error)
func (UnimplementedServicesApiServer) DeleteService ¶
func (UnimplementedServicesApiServer) DeleteService(context.Context, *DeleteServiceRequest) (*Service, error)
func (UnimplementedServicesApiServer) GetService ¶
func (UnimplementedServicesApiServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
func (UnimplementedServicesApiServer) GetServiceMetadata ¶
func (UnimplementedServicesApiServer) GetServiceMetadata(context.Context, *GetServiceMetadataRequest) (*ServiceMetadata, error)
func (UnimplementedServicesApiServer) ListServices ¶
func (UnimplementedServicesApiServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (UnimplementedServicesApiServer) PullService ¶
func (UnimplementedServicesApiServer) PullService(*PullServiceRequest, ServicesApi_PullServiceServer) error
func (UnimplementedServicesApiServer) PullServiceMetadata ¶
func (UnimplementedServicesApiServer) PullServiceMetadata(*PullServiceMetadataRequest, ServicesApi_PullServiceMetadataServer) error
func (UnimplementedServicesApiServer) PullServices ¶
func (UnimplementedServicesApiServer) PullServices(*PullServicesRequest, ServicesApi_PullServicesServer) error
func (UnimplementedServicesApiServer) StartService ¶
func (UnimplementedServicesApiServer) StartService(context.Context, *StartServiceRequest) (*Service, error)
func (UnimplementedServicesApiServer) StopService ¶
func (UnimplementedServicesApiServer) StopService(context.Context, *StopServiceRequest) (*Service, error)
type UnimplementedStatusApiServer ¶
type UnimplementedStatusApiServer struct { }
UnimplementedStatusApiServer must be embedded to have forward compatible implementations.
func (UnimplementedStatusApiServer) GetCurrentStatus ¶
func (UnimplementedStatusApiServer) GetCurrentStatus(context.Context, *GetCurrentStatusRequest) (*StatusLog, error)
func (UnimplementedStatusApiServer) PullCurrentStatus ¶
func (UnimplementedStatusApiServer) PullCurrentStatus(*PullCurrentStatusRequest, StatusApi_PullCurrentStatusServer) error
type UnimplementedStatusHistoryServer ¶
type UnimplementedStatusHistoryServer struct { }
UnimplementedStatusHistoryServer must be embedded to have forward compatible implementations.
func (UnimplementedStatusHistoryServer) ListCurrentStatusHistory ¶
func (UnimplementedStatusHistoryServer) ListCurrentStatusHistory(context.Context, *ListCurrentStatusHistoryRequest) (*ListCurrentStatusHistoryResponse, error)
type UnimplementedTemperatureApiServer ¶
type UnimplementedTemperatureApiServer struct { }
UnimplementedTemperatureApiServer must be embedded to have forward compatible implementations.
func (UnimplementedTemperatureApiServer) GetTemperature ¶
func (UnimplementedTemperatureApiServer) GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error)
func (UnimplementedTemperatureApiServer) PullTemperature ¶
func (UnimplementedTemperatureApiServer) PullTemperature(*PullTemperatureRequest, TemperatureApi_PullTemperatureServer) error
func (UnimplementedTemperatureApiServer) UpdateTemperature ¶
func (UnimplementedTemperatureApiServer) UpdateTemperature(context.Context, *UpdateTemperatureRequest) (*Temperature, error)
type UnimplementedTenantApiServer ¶
type UnimplementedTenantApiServer struct { }
UnimplementedTenantApiServer must be embedded to have forward compatible implementations.
func (UnimplementedTenantApiServer) AddTenantZones ¶
func (UnimplementedTenantApiServer) AddTenantZones(context.Context, *AddTenantZonesRequest) (*Tenant, error)
func (UnimplementedTenantApiServer) CreateSecret ¶
func (UnimplementedTenantApiServer) CreateSecret(context.Context, *CreateSecretRequest) (*Secret, error)
func (UnimplementedTenantApiServer) CreateTenant ¶
func (UnimplementedTenantApiServer) CreateTenant(context.Context, *CreateTenantRequest) (*Tenant, error)
func (UnimplementedTenantApiServer) DeleteSecret ¶
func (UnimplementedTenantApiServer) DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
func (UnimplementedTenantApiServer) DeleteTenant ¶
func (UnimplementedTenantApiServer) DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
func (UnimplementedTenantApiServer) GetSecret ¶
func (UnimplementedTenantApiServer) GetSecret(context.Context, *GetSecretRequest) (*Secret, error)
func (UnimplementedTenantApiServer) GetTenant ¶
func (UnimplementedTenantApiServer) GetTenant(context.Context, *GetTenantRequest) (*Tenant, error)
func (UnimplementedTenantApiServer) ListSecrets ¶
func (UnimplementedTenantApiServer) ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
func (UnimplementedTenantApiServer) ListTenants ¶
func (UnimplementedTenantApiServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
func (UnimplementedTenantApiServer) PullSecret ¶
func (UnimplementedTenantApiServer) PullSecret(*PullSecretRequest, TenantApi_PullSecretServer) error
func (UnimplementedTenantApiServer) PullSecrets ¶
func (UnimplementedTenantApiServer) PullSecrets(*PullSecretsRequest, TenantApi_PullSecretsServer) error
func (UnimplementedTenantApiServer) PullTenant ¶
func (UnimplementedTenantApiServer) PullTenant(*PullTenantRequest, TenantApi_PullTenantServer) error
func (UnimplementedTenantApiServer) PullTenants ¶
func (UnimplementedTenantApiServer) PullTenants(*PullTenantsRequest, TenantApi_PullTenantsServer) error
func (UnimplementedTenantApiServer) RegenerateSecret ¶
func (UnimplementedTenantApiServer) RegenerateSecret(context.Context, *RegenerateSecretRequest) (*Secret, error)
func (UnimplementedTenantApiServer) RemoveTenantZones ¶
func (UnimplementedTenantApiServer) RemoveTenantZones(context.Context, *RemoveTenantZonesRequest) (*Tenant, error)
func (UnimplementedTenantApiServer) UpdateSecret ¶
func (UnimplementedTenantApiServer) UpdateSecret(context.Context, *UpdateSecretRequest) (*Secret, error)
func (UnimplementedTenantApiServer) UpdateTenant ¶
func (UnimplementedTenantApiServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*Tenant, error)
func (UnimplementedTenantApiServer) VerifySecret ¶
func (UnimplementedTenantApiServer) VerifySecret(context.Context, *VerifySecretRequest) (*Secret, error)
type UnimplementedUdmiServiceServer ¶
type UnimplementedUdmiServiceServer struct { }
UnimplementedUdmiServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUdmiServiceServer) GetExportMessage ¶
func (UnimplementedUdmiServiceServer) GetExportMessage(context.Context, *GetExportMessageRequest) (*MqttMessage, error)
func (UnimplementedUdmiServiceServer) OnMessage ¶
func (UnimplementedUdmiServiceServer) OnMessage(context.Context, *OnMessageRequest) (*OnMessageResponse, error)
func (UnimplementedUdmiServiceServer) PullControlTopics ¶
func (UnimplementedUdmiServiceServer) PullControlTopics(*PullControlTopicsRequest, UdmiService_PullControlTopicsServer) error
func (UnimplementedUdmiServiceServer) PullExportMessages ¶
func (UnimplementedUdmiServiceServer) PullExportMessages(*PullExportMessagesRequest, UdmiService_PullExportMessagesServer) error
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 (x *UpdateTestIntervalRequest) GetTest() EmergencyStatus_Test
func (*UpdateTestIntervalRequest) ProtoMessage ¶
func (*UpdateTestIntervalRequest) ProtoMessage()
func (*UpdateTestIntervalRequest) ProtoReflect ¶
func (x *UpdateTestIntervalRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateTestIntervalResponse) GetInterval() *durationpb.Duration
func (*UpdateTestIntervalResponse) ProtoMessage ¶
func (*UpdateTestIntervalResponse) ProtoMessage()
func (*UpdateTestIntervalResponse) ProtoReflect ¶
func (x *UpdateTestIntervalResponse) ProtoReflect() protoreflect.Message
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 ¶
- access.pb.go
- access_grpc.pb.go
- accessapi_router.pb.go
- accessapi_wrap.pb.go
- airqualitysensorhistory_router.pb.go
- airqualitysensorhistory_wrap.pb.go
- airtemperaturehistory_router.pb.go
- airtemperaturehistory_wrap.pb.go
- alertadminapi_router.pb.go
- alertadminapi_wrap.pb.go
- alertapi_router.pb.go
- alertapi_wrap.pb.go
- alerts.pb.go
- alerts_grpc.pb.go
- axiomxa.pb.go
- axiomxa_grpc.pb.go
- axiomxadriverservice_router.pb.go
- axiomxadriverservice_wrap.pb.go
- button.pb.go
- button_grpc.pb.go
- buttonapi_router.pb.go
- buttonapi_wrap.pb.go
- color.pb.go
- color_grpc.pb.go
- colorapi_router.pb.go
- colorapi_wrap.pb.go
- colorinfo_router.pb.go
- colorinfo_wrap.pb.go
- dali.pb.go
- dali_grpc.pb.go
- daliapi_router.pb.go
- daliapi_wrap.pb.go
- devices.pb.go
- devices_grpc.pb.go
- devicesapi_wrap.pb.go
- electrichistory_router.pb.go
- electrichistory_wrap.pb.go
- enrollment.pb.go
- enrollment_grpc.pb.go
- gen.go
- history.pb.go
- history_grpc.pb.go
- historyadminapi_router.pb.go
- historyadminapi_wrap.pb.go
- hub.pb.go
- hub_grpc.pb.go
- hubapi_wrap.pb.go
- lighting_test.pb.go
- lighting_test_grpc.pb.go
- lightingtestapi_wrap.pb.go
- meter.pb.go
- meter_grpc.pb.go
- meterapi_router.pb.go
- meterapi_wrap.pb.go
- meterhistory_router.pb.go
- meterhistory_wrap.pb.go
- meterinfo_router.pb.go
- meterinfo_wrap.pb.go
- mqtt.pb.go
- mqtt_grpc.pb.go
- mqttservice_router.pb.go
- mqttservice_wrap.pb.go
- occupancysensorhistory_router.pb.go
- occupancysensorhistory_wrap.pb.go
- services.pb.go
- services_grpc.pb.go
- servicesapi_router.pb.go
- servicesapi_wrap.pb.go
- status.pb.go
- status_grpc.pb.go
- statusapi_router.pb.go
- statusapi_wrap.pb.go
- statushistory_router.pb.go
- statushistory_wrap.pb.go
- temperature.pb.go
- temperature_grpc.pb.go
- temperatureapi_router.pb.go
- temperatureapi_wrap.pb.go
- tenantapi_wrap.pb.go
- tenants.pb.go
- tenants_grpc.pb.go
- udmi.pb.go
- udmi_grpc.pb.go
- udmiservice_router.pb.go
- udmiservice_wrap.pb.go