Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccessApiServer(s grpc.ServiceRegistrar, srv AccessApiServer)
- func RegisterAirQualitySensorApiServer(s grpc.ServiceRegistrar, srv AirQualitySensorApiServer)
- func RegisterAirQualitySensorInfoServer(s grpc.ServiceRegistrar, srv AirQualitySensorInfoServer)
- func RegisterAirTemperatureApiServer(s grpc.ServiceRegistrar, srv AirTemperatureApiServer)
- func RegisterAirTemperatureInfoServer(s grpc.ServiceRegistrar, srv AirTemperatureInfoServer)
- func RegisterBookingApiServer(s grpc.ServiceRegistrar, srv BookingApiServer)
- func RegisterBookingInfoServer(s grpc.ServiceRegistrar, srv BookingInfoServer)
- func RegisterBrightnessSensorApiServer(s grpc.ServiceRegistrar, srv BrightnessSensorApiServer)
- func RegisterBrightnessSensorInfoServer(s grpc.ServiceRegistrar, srv BrightnessSensorInfoServer)
- func RegisterChannelApiServer(s grpc.ServiceRegistrar, srv ChannelApiServer)
- func RegisterChannelInfoServer(s grpc.ServiceRegistrar, srv ChannelInfoServer)
- func RegisterColorApiServer(s grpc.ServiceRegistrar, srv ColorApiServer)
- func RegisterColorInfoServer(s grpc.ServiceRegistrar, srv ColorInfoServer)
- func RegisterCountApiServer(s grpc.ServiceRegistrar, srv CountApiServer)
- func RegisterCountInfoServer(s grpc.ServiceRegistrar, srv CountInfoServer)
- func RegisterElectricApiServer(s grpc.ServiceRegistrar, srv ElectricApiServer)
- func RegisterElectricInfoServer(s grpc.ServiceRegistrar, srv ElectricInfoServer)
- func RegisterEmergencyApiServer(s grpc.ServiceRegistrar, srv EmergencyApiServer)
- func RegisterEmergencyInfoServer(s grpc.ServiceRegistrar, srv EmergencyInfoServer)
- func RegisterEnergyStorageApiServer(s grpc.ServiceRegistrar, srv EnergyStorageApiServer)
- func RegisterEnergyStorageInfoServer(s grpc.ServiceRegistrar, srv EnergyStorageInfoServer)
- func RegisterEnterLeaveSensorApiServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorApiServer)
- func RegisterEnterLeaveSensorInfoServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorInfoServer)
- func RegisterExtendRetractApiServer(s grpc.ServiceRegistrar, srv ExtendRetractApiServer)
- func RegisterExtendRetractInfoServer(s grpc.ServiceRegistrar, srv ExtendRetractInfoServer)
- func RegisterFanSpeedApiServer(s grpc.ServiceRegistrar, srv FanSpeedApiServer)
- func RegisterFanSpeedInfoServer(s grpc.ServiceRegistrar, srv FanSpeedInfoServer)
- func RegisterHailApiServer(s grpc.ServiceRegistrar, srv HailApiServer)
- func RegisterHailInfoServer(s grpc.ServiceRegistrar, srv HailInfoServer)
- func RegisterInputSelectApiServer(s grpc.ServiceRegistrar, srv InputSelectApiServer)
- func RegisterInputSelectInfoServer(s grpc.ServiceRegistrar, srv InputSelectInfoServer)
- func RegisterLightApiServer(s grpc.ServiceRegistrar, srv LightApiServer)
- func RegisterLightInfoServer(s grpc.ServiceRegistrar, srv LightInfoServer)
- func RegisterLockUnlockApiServer(s grpc.ServiceRegistrar, srv LockUnlockApiServer)
- func RegisterLockUnlockInfoServer(s grpc.ServiceRegistrar, srv LockUnlockInfoServer)
- func RegisterMetadataApiServer(s grpc.ServiceRegistrar, srv MetadataApiServer)
- func RegisterMetadataInfoServer(s grpc.ServiceRegistrar, srv MetadataInfoServer)
- func RegisterMeterApiServer(s grpc.ServiceRegistrar, srv MeterApiServer)
- func RegisterMeterInfoServer(s grpc.ServiceRegistrar, srv MeterInfoServer)
- func RegisterMicrophoneApiServer(s grpc.ServiceRegistrar, srv MicrophoneApiServer)
- func RegisterMicrophoneInfoServer(s grpc.ServiceRegistrar, srv MicrophoneInfoServer)
- func RegisterModeApiServer(s grpc.ServiceRegistrar, srv ModeApiServer)
- func RegisterModeInfoServer(s grpc.ServiceRegistrar, srv ModeInfoServer)
- func RegisterMotionSensorApiServer(s grpc.ServiceRegistrar, srv MotionSensorApiServer)
- func RegisterMotionSensorSensorInfoServer(s grpc.ServiceRegistrar, srv MotionSensorSensorInfoServer)
- func RegisterOccupancySensorApiServer(s grpc.ServiceRegistrar, srv OccupancySensorApiServer)
- func RegisterOccupancySensorInfoServer(s grpc.ServiceRegistrar, srv OccupancySensorInfoServer)
- func RegisterOnOffApiServer(s grpc.ServiceRegistrar, srv OnOffApiServer)
- func RegisterOnOffInfoServer(s grpc.ServiceRegistrar, srv OnOffInfoServer)
- func RegisterOpenCloseApiServer(s grpc.ServiceRegistrar, srv OpenCloseApiServer)
- func RegisterOpenCloseInfoServer(s grpc.ServiceRegistrar, srv OpenCloseInfoServer)
- func RegisterParentApiServer(s grpc.ServiceRegistrar, srv ParentApiServer)
- func RegisterParentInfoServer(s grpc.ServiceRegistrar, srv ParentInfoServer)
- func RegisterPressApiServer(s grpc.ServiceRegistrar, srv PressApiServer)
- func RegisterPtzApiServer(s grpc.ServiceRegistrar, srv PtzApiServer)
- func RegisterPtzInfoServer(s grpc.ServiceRegistrar, srv PtzInfoServer)
- func RegisterPublicationApiServer(s grpc.ServiceRegistrar, srv PublicationApiServer)
- func RegisterSpeakerApiServer(s grpc.ServiceRegistrar, srv SpeakerApiServer)
- func RegisterSpeakerInfoServer(s grpc.ServiceRegistrar, srv SpeakerInfoServer)
- func RegisterTemperatureApiServer(s grpc.ServiceRegistrar, srv TemperatureApiServer)
- func RegisterVendingApiServer(s grpc.ServiceRegistrar, srv VendingApiServer)
- func RegisterVendingInfoServer(s grpc.ServiceRegistrar, srv VendingInfoServer)
- func RegisterWasteApiServer(s grpc.ServiceRegistrar, srv WasteApiServer)
- func RegisterWasteInfoServer(s grpc.ServiceRegistrar, srv WasteInfoServer)
- type AccessApiClient
- type AccessApiServer
- type AccessApi_PullAccessAttemptsClient
- type AccessApi_PullAccessAttemptsServer
- type AccessAttempt
- func (*AccessAttempt) Descriptor() ([]byte, []int)deprecated
- func (x *AccessAttempt) GetAccessAttemptTime() *timestamppb.Timestamp
- 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) GetLastGrantTime() *timestamppb.Timestamp
- func (x *AccessAttempt_Actor) GetLastGrantZone() 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 AcknowledgePublicationRequest
- func (*AcknowledgePublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgePublicationRequest) GetAllowAcknowledged() bool
- func (x *AcknowledgePublicationRequest) GetId() string
- func (x *AcknowledgePublicationRequest) GetName() string
- func (x *AcknowledgePublicationRequest) GetReceipt() Publication_Audience_Receipt
- func (x *AcknowledgePublicationRequest) GetReceiptRejectedReason() string
- func (x *AcknowledgePublicationRequest) GetVersion() string
- func (*AcknowledgePublicationRequest) ProtoMessage()
- func (x *AcknowledgePublicationRequest) ProtoReflect() protoreflect.Message
- func (x *AcknowledgePublicationRequest) Reset()
- func (x *AcknowledgePublicationRequest) String() string
- type AdjustChannelRequest
- func (*AdjustChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdjustChannelRequest) GetAmount() int32
- func (x *AdjustChannelRequest) GetName() string
- func (*AdjustChannelRequest) ProtoMessage()
- func (x *AdjustChannelRequest) ProtoReflect() protoreflect.Message
- func (x *AdjustChannelRequest) Reset()
- func (x *AdjustChannelRequest) String() string
- type AirQuality
- func (*AirQuality) Descriptor() ([]byte, []int)deprecated
- func (x *AirQuality) GetAirChangePerHour() float32
- func (x *AirQuality) GetAirPressure() float32
- func (x *AirQuality) GetCarbonDioxideLevel() float32
- func (x *AirQuality) GetComfort() AirQuality_Comfort
- func (x *AirQuality) GetInfectionRisk() float32
- func (x *AirQuality) GetParticulateMatter_1() float32
- func (x *AirQuality) GetParticulateMatter_10() float32
- func (x *AirQuality) GetParticulateMatter_25() float32
- func (x *AirQuality) GetScore() float32
- func (x *AirQuality) GetVolatileOrganicCompounds() float32
- func (*AirQuality) ProtoMessage()
- func (x *AirQuality) ProtoReflect() protoreflect.Message
- func (x *AirQuality) Reset()
- func (x *AirQuality) String() string
- type AirQualitySensorApiClient
- type AirQualitySensorApiServer
- type AirQualitySensorApi_PullAirQualityClient
- type AirQualitySensorApi_PullAirQualityServer
- type AirQualitySensorInfoClient
- type AirQualitySensorInfoServer
- type AirQualitySupport
- func (*AirQualitySupport) Descriptor() ([]byte, []int)deprecated
- func (x *AirQualitySupport) GetAirChangePerHour() *types.FloatBounds
- func (x *AirQualitySupport) GetAirPressure() *types.FloatBounds
- func (x *AirQualitySupport) GetCarbonDioxideLevel() *types.FloatBounds
- func (x *AirQualitySupport) GetComfort() []AirQuality_Comfort
- func (x *AirQualitySupport) GetInfectionRisk() *types.FloatBounds
- func (x *AirQualitySupport) GetParticulateMatter_1() *types.FloatBounds
- func (x *AirQualitySupport) GetParticulateMatter_10() *types.FloatBounds
- func (x *AirQualitySupport) GetParticulateMatter_25() *types.FloatBounds
- func (x *AirQualitySupport) GetResourceSupport() *types.ResourceSupport
- func (x *AirQualitySupport) GetScore() *types.FloatBounds
- func (x *AirQualitySupport) GetVolatileOrganicCompounds() *types.FloatBounds
- func (*AirQualitySupport) ProtoMessage()
- func (x *AirQualitySupport) ProtoReflect() protoreflect.Message
- func (x *AirQualitySupport) Reset()
- func (x *AirQualitySupport) String() string
- type AirQuality_Comfort
- func (AirQuality_Comfort) Descriptor() protoreflect.EnumDescriptor
- func (x AirQuality_Comfort) Enum() *AirQuality_Comfort
- func (AirQuality_Comfort) EnumDescriptor() ([]byte, []int)deprecated
- func (x AirQuality_Comfort) Number() protoreflect.EnumNumber
- func (x AirQuality_Comfort) String() string
- func (AirQuality_Comfort) Type() protoreflect.EnumType
- type AirTemperature
- func (*AirTemperature) Descriptor() ([]byte, []int)deprecated
- func (x *AirTemperature) GetAmbientHumidity() float32
- func (x *AirTemperature) GetAmbientTemperature() *types.Temperature
- func (x *AirTemperature) GetDewPoint() *types.Temperature
- func (x *AirTemperature) GetMode() AirTemperature_Mode
- func (m *AirTemperature) GetTemperatureGoal() isAirTemperature_TemperatureGoal
- func (x *AirTemperature) GetTemperatureRange() *TemperatureRange
- func (x *AirTemperature) GetTemperatureSetPoint() *types.Temperature
- func (x *AirTemperature) GetTemperatureSetPointDelta() *types.Temperature
- func (*AirTemperature) ProtoMessage()
- func (x *AirTemperature) ProtoReflect() protoreflect.Message
- func (x *AirTemperature) Reset()
- func (x *AirTemperature) String() string
- type AirTemperatureApiClient
- type AirTemperatureApiServer
- type AirTemperatureApi_PullAirTemperatureClient
- type AirTemperatureApi_PullAirTemperatureServer
- type AirTemperatureInfoClient
- type AirTemperatureInfoServer
- type AirTemperatureSupport
- func (*AirTemperatureSupport) Descriptor() ([]byte, []int)deprecated
- func (x *AirTemperatureSupport) GetMinRangeCelsius() float64
- func (x *AirTemperatureSupport) GetNativeUnit() types.TemperatureUnit
- func (x *AirTemperatureSupport) GetResourceSupport() *types.ResourceSupport
- func (x *AirTemperatureSupport) GetSupportedModes() []AirTemperature_Mode
- func (*AirTemperatureSupport) ProtoMessage()
- func (x *AirTemperatureSupport) ProtoReflect() protoreflect.Message
- func (x *AirTemperatureSupport) Reset()
- func (x *AirTemperatureSupport) String() string
- type AirTemperature_Mode
- func (AirTemperature_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x AirTemperature_Mode) Enum() *AirTemperature_Mode
- func (AirTemperature_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AirTemperature_Mode) Number() protoreflect.EnumNumber
- func (x AirTemperature_Mode) String() string
- func (AirTemperature_Mode) Type() protoreflect.EnumType
- type AirTemperature_TemperatureRange
- type AirTemperature_TemperatureSetPoint
- type AirTemperature_TemperatureSetPointDelta
- type AmbientBrightness
- func (*AmbientBrightness) Descriptor() ([]byte, []int)deprecated
- func (x *AmbientBrightness) GetBrightnessLux() float32
- func (*AmbientBrightness) ProtoMessage()
- func (x *AmbientBrightness) ProtoReflect() protoreflect.Message
- func (x *AmbientBrightness) Reset()
- func (x *AmbientBrightness) String() string
- type AmbientBrightnessSupport
- func (*AmbientBrightnessSupport) Descriptor() ([]byte, []int)deprecated
- func (x *AmbientBrightnessSupport) GetBrightnessLux() *types.FloatBounds
- func (x *AmbientBrightnessSupport) GetResourceSupport() *types.ResourceSupport
- func (*AmbientBrightnessSupport) ProtoMessage()
- func (x *AmbientBrightnessSupport) ProtoReflect() protoreflect.Message
- func (x *AmbientBrightnessSupport) Reset()
- func (x *AmbientBrightnessSupport) String() string
- type AvPort
- func (*AvPort) Descriptor() ([]byte, []int)deprecated
- func (x *AvPort) GetDescription() string
- func (x *AvPort) GetName() string
- func (x *AvPort) GetSupportedFeature() InputSupport_Feature
- func (x *AvPort) GetTitle() string
- func (*AvPort) ProtoMessage()
- func (x *AvPort) ProtoReflect() protoreflect.Message
- func (x *AvPort) Reset()
- func (x *AvPort) String() string
- type Booking
- func (*Booking) Descriptor() ([]byte, []int)deprecated
- func (x *Booking) GetBookable() string
- func (x *Booking) GetBooked() *time.Period
- func (x *Booking) GetCheckIn() *time.Period
- func (x *Booking) GetCheckInNotRequired() bool
- func (x *Booking) GetId() string
- func (x *Booking) GetOwnerName() string
- func (x *Booking) GetTitle() string
- func (*Booking) ProtoMessage()
- func (x *Booking) ProtoReflect() protoreflect.Message
- func (x *Booking) Reset()
- func (x *Booking) String() string
- type BookingApiClient
- type BookingApiServer
- type BookingApi_PullBookingsClient
- type BookingApi_PullBookingsServer
- type BookingInfoClient
- type BookingInfoServer
- type BookingSupport
- func (*BookingSupport) Descriptor() ([]byte, []int)deprecated
- func (x *BookingSupport) GetCheckInSupport() BookingSupport_CheckInSupport
- func (x *BookingSupport) GetCheckOutSupport() BookingSupport_CheckInSupport
- func (x *BookingSupport) GetResourceSupport() *types.ResourceSupport
- func (x *BookingSupport) GetTimeResolution() time.Unit
- func (*BookingSupport) ProtoMessage()
- func (x *BookingSupport) ProtoReflect() protoreflect.Message
- func (x *BookingSupport) Reset()
- func (x *BookingSupport) String() string
- type BookingSupport_CheckInSupport
- func (BookingSupport_CheckInSupport) Descriptor() protoreflect.EnumDescriptor
- func (x BookingSupport_CheckInSupport) Enum() *BookingSupport_CheckInSupport
- func (BookingSupport_CheckInSupport) EnumDescriptor() ([]byte, []int)deprecated
- func (x BookingSupport_CheckInSupport) Number() protoreflect.EnumNumber
- func (x BookingSupport_CheckInSupport) String() string
- func (BookingSupport_CheckInSupport) Type() protoreflect.EnumType
- type Brightness
- func (*Brightness) Descriptor() ([]byte, []int)deprecated
- func (x *Brightness) GetBrightnessTween() *types.Tween
- func (x *Brightness) GetLevelPercent() float32
- func (x *Brightness) GetPreset() *LightPreset
- func (x *Brightness) GetTargetLevelPercent() float32
- func (x *Brightness) GetTargetPreset() *LightPreset
- func (*Brightness) ProtoMessage()
- func (x *Brightness) ProtoReflect() protoreflect.Message
- func (x *Brightness) Reset()
- func (x *Brightness) String() string
- type BrightnessSensorApiClient
- type BrightnessSensorApiServer
- type BrightnessSensorApi_PullAmbientBrightnessClient
- type BrightnessSensorApi_PullAmbientBrightnessServer
- type BrightnessSensorInfoClient
- type BrightnessSensorInfoServer
- type BrightnessSupport
- func (*BrightnessSupport) Descriptor() ([]byte, []int)deprecated
- func (x *BrightnessSupport) GetBrightnessAttributes() *types.Int32Attributes
- func (x *BrightnessSupport) GetPresets() []*LightPreset
- func (x *BrightnessSupport) GetResourceSupport() *types.ResourceSupport
- func (*BrightnessSupport) ProtoMessage()
- func (x *BrightnessSupport) ProtoReflect() protoreflect.Message
- func (x *BrightnessSupport) Reset()
- func (x *BrightnessSupport) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetChannelNumber() string
- func (x *Channel) GetId() string
- func (x *Channel) GetTitle() string
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelApiClient
- type ChannelApiServer
- type ChannelApi_PullChosenChannelClient
- type ChannelApi_PullChosenChannelServer
- type ChannelInfoClient
- type ChannelInfoServer
- type ChargeRequest
- func (*ChargeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChargeRequest) GetCharge() bool
- func (x *ChargeRequest) GetName() string
- func (*ChargeRequest) ProtoMessage()
- func (x *ChargeRequest) ProtoReflect() protoreflect.Message
- func (x *ChargeRequest) Reset()
- func (x *ChargeRequest) String() string
- type ChargeResponse
- type CheckInBookingRequest
- func (*CheckInBookingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckInBookingRequest) GetBookingId() string
- func (x *CheckInBookingRequest) GetName() string
- func (x *CheckInBookingRequest) GetTime() *timestamppb.Timestamp
- func (*CheckInBookingRequest) ProtoMessage()
- func (x *CheckInBookingRequest) ProtoReflect() protoreflect.Message
- func (x *CheckInBookingRequest) Reset()
- func (x *CheckInBookingRequest) String() string
- type CheckInBookingResponse
- type CheckOutBookingRequest
- func (*CheckOutBookingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckOutBookingRequest) GetBookingId() string
- func (x *CheckOutBookingRequest) GetName() string
- func (x *CheckOutBookingRequest) GetTime() *timestamppb.Timestamp
- func (*CheckOutBookingRequest) ProtoMessage()
- func (x *CheckOutBookingRequest) ProtoReflect() protoreflect.Message
- func (x *CheckOutBookingRequest) Reset()
- func (x *CheckOutBookingRequest) String() string
- type CheckOutBookingResponse
- type Child
- type ChooseChannelRequest
- func (*ChooseChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChooseChannelRequest) GetChannel() *Channel
- func (x *ChooseChannelRequest) GetName() string
- func (*ChooseChannelRequest) ProtoMessage()
- func (x *ChooseChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ChooseChannelRequest) Reset()
- func (x *ChooseChannelRequest) String() string
- type ChosenChannelSupport
- func (*ChosenChannelSupport) Descriptor() ([]byte, []int)deprecated
- func (x *ChosenChannelSupport) GetAdjustMax() int32
- func (x *ChosenChannelSupport) GetResourceSupport() *types.ResourceSupport
- func (*ChosenChannelSupport) ProtoMessage()
- func (x *ChosenChannelSupport) ProtoReflect() protoreflect.Message
- func (x *ChosenChannelSupport) Reset()
- func (x *ChosenChannelSupport) String() string
- type ClearActiveModeRequest
- func (*ClearActiveModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearActiveModeRequest) GetName() string
- func (*ClearActiveModeRequest) ProtoMessage()
- func (x *ClearActiveModeRequest) ProtoReflect() protoreflect.Message
- func (x *ClearActiveModeRequest) Reset()
- func (x *ClearActiveModeRequest) String() string
- 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 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 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 Consumable
- func (*Consumable) Descriptor() ([]byte, []int)deprecated
- func (x *Consumable) GetAvailablePortions() []*Consumable_Portion
- func (x *Consumable) GetDefaultPortion() *Consumable_Quantity
- func (x *Consumable) GetDisplayName() string
- func (x *Consumable) GetIds() map[string]string
- func (x *Consumable) GetMore() map[string]string
- func (x *Consumable) GetName() string
- func (x *Consumable) GetPicture() *types.Image
- func (x *Consumable) GetTitle() string
- func (x *Consumable) GetUrl() string
- func (*Consumable) ProtoMessage()
- func (x *Consumable) ProtoReflect() protoreflect.Message
- func (x *Consumable) Reset()
- func (x *Consumable) String() string
- type Consumable_Portion
- func (*Consumable_Portion) Descriptor() ([]byte, []int)deprecated
- func (x *Consumable_Portion) GetBounds() *types.FloatBounds
- func (x *Consumable_Portion) GetStep() float32
- func (x *Consumable_Portion) GetUnit() Consumable_Unit
- func (*Consumable_Portion) ProtoMessage()
- func (x *Consumable_Portion) ProtoReflect() protoreflect.Message
- func (x *Consumable_Portion) Reset()
- func (x *Consumable_Portion) String() string
- type Consumable_Quantity
- func (*Consumable_Quantity) Descriptor() ([]byte, []int)deprecated
- func (x *Consumable_Quantity) GetAmount() float32
- func (x *Consumable_Quantity) GetUnit() Consumable_Unit
- func (*Consumable_Quantity) ProtoMessage()
- func (x *Consumable_Quantity) ProtoReflect() protoreflect.Message
- func (x *Consumable_Quantity) Reset()
- func (x *Consumable_Quantity) String() string
- type Consumable_Stock
- func (*Consumable_Stock) Descriptor() ([]byte, []int)deprecated
- func (x *Consumable_Stock) GetConsumable() string
- func (x *Consumable_Stock) GetDispensing() bool
- func (x *Consumable_Stock) GetLastDispensed() *Consumable_Quantity
- func (x *Consumable_Stock) GetRemaining() *Consumable_Quantity
- func (x *Consumable_Stock) GetUsed() *Consumable_Quantity
- func (*Consumable_Stock) ProtoMessage()
- func (x *Consumable_Stock) ProtoReflect() protoreflect.Message
- func (x *Consumable_Stock) Reset()
- func (x *Consumable_Stock) String() string
- type Consumable_Unit
- func (Consumable_Unit) Descriptor() protoreflect.EnumDescriptor
- func (x Consumable_Unit) Enum() *Consumable_Unit
- func (Consumable_Unit) EnumDescriptor() ([]byte, []int)deprecated
- func (x Consumable_Unit) Number() protoreflect.EnumNumber
- func (x Consumable_Unit) String() string
- func (Consumable_Unit) Type() protoreflect.EnumType
- type Count
- func (*Count) Descriptor() ([]byte, []int)deprecated
- func (x *Count) GetAdded() int32
- func (x *Count) GetRemoved() int32
- func (x *Count) GetResetTime() *timestamppb.Timestamp
- func (*Count) ProtoMessage()
- func (x *Count) ProtoReflect() protoreflect.Message
- func (x *Count) Reset()
- func (x *Count) String() string
- type CountApiClient
- type CountApiServer
- type CountApi_PullCountsClient
- type CountApi_PullCountsServer
- type CountInfoClient
- type CountInfoServer
- type CountSupport
- func (*CountSupport) Descriptor() ([]byte, []int)deprecated
- func (x *CountSupport) GetResourceSupport() *types.ResourceSupport
- func (x *CountSupport) GetSupportsDelta() bool
- func (x *CountSupport) GetSupportsReset() bool
- func (x *CountSupport) GetTwoWay() bool
- func (*CountSupport) ProtoMessage()
- func (x *CountSupport) ProtoReflect() protoreflect.Message
- func (x *CountSupport) Reset()
- func (x *CountSupport) String() string
- type CreateBookingRequest
- func (*CreateBookingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBookingRequest) GetBooking() *Booking
- func (x *CreateBookingRequest) GetName() string
- func (*CreateBookingRequest) ProtoMessage()
- func (x *CreateBookingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBookingRequest) Reset()
- func (x *CreateBookingRequest) String() string
- type CreateBookingResponse
- func (*CreateBookingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBookingResponse) GetBookingId() string
- func (*CreateBookingResponse) ProtoMessage()
- func (x *CreateBookingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBookingResponse) Reset()
- func (x *CreateBookingResponse) String() string
- type CreateExtensionPresetRequest
- func (*CreateExtensionPresetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExtensionPresetRequest) GetName() string
- func (x *CreateExtensionPresetRequest) GetPreset() *ExtensionPreset
- func (*CreateExtensionPresetRequest) ProtoMessage()
- func (x *CreateExtensionPresetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateExtensionPresetRequest) Reset()
- func (x *CreateExtensionPresetRequest) String() string
- type CreateHailRequest
- func (*CreateHailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHailRequest) GetHail() *Hail
- func (x *CreateHailRequest) GetName() string
- func (*CreateHailRequest) ProtoMessage()
- func (x *CreateHailRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHailRequest) Reset()
- func (x *CreateHailRequest) String() string
- type CreatePtzPresetRequest
- func (*CreatePtzPresetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePtzPresetRequest) GetName() string
- func (x *CreatePtzPresetRequest) GetPreset() *PtzPreset
- func (*CreatePtzPresetRequest) ProtoMessage()
- func (x *CreatePtzPresetRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePtzPresetRequest) Reset()
- func (x *CreatePtzPresetRequest) String() string
- type CreatePublicationRequest
- func (*CreatePublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePublicationRequest) GetName() string
- func (x *CreatePublicationRequest) GetPublication() *Publication
- func (*CreatePublicationRequest) ProtoMessage()
- func (x *CreatePublicationRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePublicationRequest) Reset()
- func (x *CreatePublicationRequest) String() string
- type DeleteHailRequest
- func (*DeleteHailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteHailRequest) GetAllowMissing() bool
- func (x *DeleteHailRequest) GetId() string
- func (x *DeleteHailRequest) GetName() string
- func (*DeleteHailRequest) ProtoMessage()
- func (x *DeleteHailRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteHailRequest) Reset()
- func (x *DeleteHailRequest) String() string
- type DeleteHailResponse
- type DeletePublicationRequest
- func (*DeletePublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePublicationRequest) GetAllowMissing() bool
- func (x *DeletePublicationRequest) GetId() string
- func (x *DeletePublicationRequest) GetName() string
- func (x *DeletePublicationRequest) GetVersion() string
- func (*DeletePublicationRequest) ProtoMessage()
- func (x *DeletePublicationRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePublicationRequest) Reset()
- func (x *DeletePublicationRequest) String() string
- type DescribeAirQualityRequest
- func (*DescribeAirQualityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAirQualityRequest) GetName() string
- func (*DescribeAirQualityRequest) ProtoMessage()
- func (x *DescribeAirQualityRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeAirQualityRequest) Reset()
- func (x *DescribeAirQualityRequest) String() string
- type DescribeAirTemperatureRequest
- func (*DescribeAirTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAirTemperatureRequest) GetName() string
- func (*DescribeAirTemperatureRequest) ProtoMessage()
- func (x *DescribeAirTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeAirTemperatureRequest) Reset()
- func (x *DescribeAirTemperatureRequest) String() string
- type DescribeAmbientBrightnessRequest
- func (*DescribeAmbientBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAmbientBrightnessRequest) GetName() string
- func (*DescribeAmbientBrightnessRequest) ProtoMessage()
- func (x *DescribeAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeAmbientBrightnessRequest) Reset()
- func (x *DescribeAmbientBrightnessRequest) String() string
- type DescribeBookingRequest
- func (*DescribeBookingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeBookingRequest) GetName() string
- func (*DescribeBookingRequest) ProtoMessage()
- func (x *DescribeBookingRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeBookingRequest) Reset()
- func (x *DescribeBookingRequest) String() string
- type DescribeBrightnessRequest
- func (*DescribeBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeBrightnessRequest) GetName() string
- func (*DescribeBrightnessRequest) ProtoMessage()
- func (x *DescribeBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeBrightnessRequest) Reset()
- func (x *DescribeBrightnessRequest) String() string
- type DescribeChosenChannelRequest
- func (*DescribeChosenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeChosenChannelRequest) GetName() string
- func (*DescribeChosenChannelRequest) ProtoMessage()
- func (x *DescribeChosenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeChosenChannelRequest) Reset()
- func (x *DescribeChosenChannelRequest) 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 DescribeCountRequest
- func (*DescribeCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeCountRequest) GetName() string
- func (*DescribeCountRequest) ProtoMessage()
- func (x *DescribeCountRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeCountRequest) Reset()
- func (x *DescribeCountRequest) String() string
- type DescribeEmergencyRequest
- func (*DescribeEmergencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeEmergencyRequest) GetName() string
- func (*DescribeEmergencyRequest) ProtoMessage()
- func (x *DescribeEmergencyRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeEmergencyRequest) Reset()
- func (x *DescribeEmergencyRequest) String() string
- type DescribeEnergyLevelRequest
- func (*DescribeEnergyLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeEnergyLevelRequest) GetName() string
- func (*DescribeEnergyLevelRequest) ProtoMessage()
- func (x *DescribeEnergyLevelRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeEnergyLevelRequest) Reset()
- func (x *DescribeEnergyLevelRequest) String() string
- type DescribeExtensionRequest
- func (*DescribeExtensionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeExtensionRequest) GetName() string
- func (*DescribeExtensionRequest) ProtoMessage()
- func (x *DescribeExtensionRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeExtensionRequest) Reset()
- func (x *DescribeExtensionRequest) String() string
- type DescribeFanSpeedRequest
- func (*DescribeFanSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeFanSpeedRequest) GetName() string
- func (*DescribeFanSpeedRequest) ProtoMessage()
- func (x *DescribeFanSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeFanSpeedRequest) Reset()
- func (x *DescribeFanSpeedRequest) String() string
- type DescribeGainRequest
- func (*DescribeGainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeGainRequest) GetName() string
- func (*DescribeGainRequest) ProtoMessage()
- func (x *DescribeGainRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeGainRequest) Reset()
- func (x *DescribeGainRequest) String() string
- type DescribeInputRequest
- func (*DescribeInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeInputRequest) GetName() string
- func (*DescribeInputRequest) ProtoMessage()
- func (x *DescribeInputRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeInputRequest) Reset()
- func (x *DescribeInputRequest) 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 DescribeModesRequest
- func (*DescribeModesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeModesRequest) GetName() string
- func (*DescribeModesRequest) ProtoMessage()
- func (x *DescribeModesRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeModesRequest) Reset()
- func (x *DescribeModesRequest) String() string
- type DescribeMotionDetectionRequest
- func (*DescribeMotionDetectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeMotionDetectionRequest) GetName() string
- func (*DescribeMotionDetectionRequest) ProtoMessage()
- func (x *DescribeMotionDetectionRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeMotionDetectionRequest) Reset()
- func (x *DescribeMotionDetectionRequest) String() string
- type DescribeOccupancyRequest
- func (*DescribeOccupancyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeOccupancyRequest) GetName() string
- func (*DescribeOccupancyRequest) ProtoMessage()
- func (x *DescribeOccupancyRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeOccupancyRequest) Reset()
- func (x *DescribeOccupancyRequest) String() string
- type DescribeOnOffRequest
- func (*DescribeOnOffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeOnOffRequest) GetName() string
- func (*DescribeOnOffRequest) ProtoMessage()
- func (x *DescribeOnOffRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeOnOffRequest) Reset()
- func (x *DescribeOnOffRequest) String() string
- type DescribePositionsRequest
- func (*DescribePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePositionsRequest) GetName() string
- func (*DescribePositionsRequest) ProtoMessage()
- func (x *DescribePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *DescribePositionsRequest) Reset()
- func (x *DescribePositionsRequest) String() string
- type DescribePtzRequest
- func (*DescribePtzRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribePtzRequest) GetName() string
- func (*DescribePtzRequest) ProtoMessage()
- func (x *DescribePtzRequest) ProtoReflect() protoreflect.Message
- func (x *DescribePtzRequest) Reset()
- func (x *DescribePtzRequest) String() string
- type DescribeVolumeRequest
- func (*DescribeVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeVolumeRequest) GetName() string
- func (*DescribeVolumeRequest) ProtoMessage()
- func (x *DescribeVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeVolumeRequest) Reset()
- func (x *DescribeVolumeRequest) String() string
- type DescribeWasteRecordRequest
- func (*DescribeWasteRecordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeWasteRecordRequest) GetName() string
- func (*DescribeWasteRecordRequest) ProtoMessage()
- func (x *DescribeWasteRecordRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeWasteRecordRequest) Reset()
- func (x *DescribeWasteRecordRequest) String() string
- type DispenseRequest
- func (*DispenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DispenseRequest) GetConsumable() string
- func (x *DispenseRequest) GetName() string
- func (x *DispenseRequest) GetQuantity() *Consumable_Quantity
- func (x *DispenseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*DispenseRequest) ProtoMessage()
- func (x *DispenseRequest) ProtoReflect() protoreflect.Message
- func (x *DispenseRequest) Reset()
- func (x *DispenseRequest) String() string
- type ElectricApiClient
- type ElectricApiServer
- type ElectricApi_PullActiveModeClient
- type ElectricApi_PullActiveModeServer
- type ElectricApi_PullDemandClient
- type ElectricApi_PullDemandServer
- type ElectricApi_PullModesClient
- type ElectricApi_PullModesServer
- type ElectricDemand
- func (*ElectricDemand) Descriptor() ([]byte, []int)deprecated
- func (x *ElectricDemand) GetApparentPower() float32
- func (x *ElectricDemand) GetCurrent() float32
- func (x *ElectricDemand) GetPowerFactor() float32
- func (x *ElectricDemand) GetRating() float32
- func (x *ElectricDemand) GetReactivePower() float32
- func (x *ElectricDemand) GetRealPower() float32
- func (x *ElectricDemand) GetVoltage() float32
- func (*ElectricDemand) ProtoMessage()
- func (x *ElectricDemand) ProtoReflect() protoreflect.Message
- func (x *ElectricDemand) Reset()
- func (x *ElectricDemand) String() string
- type ElectricInfoClient
- type ElectricInfoServer
- type ElectricMode
- func (*ElectricMode) Descriptor() ([]byte, []int)deprecated
- func (x *ElectricMode) GetDescription() string
- func (x *ElectricMode) GetId() string
- func (x *ElectricMode) GetNormal() bool
- func (x *ElectricMode) GetSegments() []*ElectricMode_Segment
- func (x *ElectricMode) GetStartTime() *timestamppb.Timestamp
- func (x *ElectricMode) GetTitle() string
- func (x *ElectricMode) GetVoltage() float32
- func (*ElectricMode) ProtoMessage()
- func (x *ElectricMode) ProtoReflect() protoreflect.Message
- func (x *ElectricMode) Reset()
- func (x *ElectricMode) String() string
- type ElectricMode_Segment
- func (*ElectricMode_Segment) Descriptor() ([]byte, []int)deprecated
- func (x *ElectricMode_Segment) GetFixed() float32
- func (x *ElectricMode_Segment) GetLength() *durationpb.Duration
- func (x *ElectricMode_Segment) GetMagnitude() float32
- func (m *ElectricMode_Segment) GetShape() isElectricMode_Segment_Shape
- func (*ElectricMode_Segment) ProtoMessage()
- func (x *ElectricMode_Segment) ProtoReflect() protoreflect.Message
- func (x *ElectricMode_Segment) Reset()
- func (x *ElectricMode_Segment) String() string
- type ElectricMode_Segment_Fixed
- type Emergency
- func (*Emergency) Descriptor() ([]byte, []int)deprecated
- func (x *Emergency) GetDrill() bool
- func (x *Emergency) GetLevel() Emergency_Level
- func (x *Emergency) GetLevelChangeTime() *timestamppb.Timestamp
- func (x *Emergency) GetReason() string
- func (x *Emergency) GetSilent() bool
- func (*Emergency) ProtoMessage()
- func (x *Emergency) ProtoReflect() protoreflect.Message
- func (x *Emergency) Reset()
- func (x *Emergency) String() string
- type EmergencyApiClient
- type EmergencyApiServer
- type EmergencyApi_PullEmergencyClient
- type EmergencyApi_PullEmergencyServer
- type EmergencyInfoClient
- type EmergencyInfoServer
- type EmergencySupport
- func (*EmergencySupport) Descriptor() ([]byte, []int)deprecated
- func (x *EmergencySupport) GetResourceSupport() *types.ResourceSupport
- func (*EmergencySupport) ProtoMessage()
- func (x *EmergencySupport) ProtoReflect() protoreflect.Message
- func (x *EmergencySupport) Reset()
- func (x *EmergencySupport) String() string
- type Emergency_Level
- func (Emergency_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Emergency_Level) Enum() *Emergency_Level
- func (Emergency_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Emergency_Level) Number() protoreflect.EnumNumber
- func (x Emergency_Level) String() string
- func (Emergency_Level) Type() protoreflect.EnumType
- type EnergyLevel
- func (*EnergyLevel) Descriptor() ([]byte, []int)deprecated
- func (x *EnergyLevel) GetCharge() *EnergyLevel_Transfer
- func (x *EnergyLevel) GetDischarge() *EnergyLevel_Transfer
- func (m *EnergyLevel) GetFlow() isEnergyLevel_Flow
- func (x *EnergyLevel) GetIdle() *EnergyLevel_Steady
- func (x *EnergyLevel) GetPluggedIn() bool
- func (x *EnergyLevel) GetQuantity() *EnergyLevel_Quantity
- func (*EnergyLevel) ProtoMessage()
- func (x *EnergyLevel) ProtoReflect() protoreflect.Message
- func (x *EnergyLevel) Reset()
- func (x *EnergyLevel) String() string
- type EnergyLevelSupport
- func (*EnergyLevelSupport) Descriptor() ([]byte, []int)deprecated
- func (x *EnergyLevelSupport) GetChargeControl() EnergyLevelSupport_ChargeControl
- func (x *EnergyLevelSupport) GetRechargeable() bool
- func (x *EnergyLevelSupport) GetResourceSupport() *types.ResourceSupport
- func (*EnergyLevelSupport) ProtoMessage()
- func (x *EnergyLevelSupport) ProtoReflect() protoreflect.Message
- func (x *EnergyLevelSupport) Reset()
- func (x *EnergyLevelSupport) String() string
- type EnergyLevelSupport_ChargeControl
- func (EnergyLevelSupport_ChargeControl) Descriptor() protoreflect.EnumDescriptor
- func (x EnergyLevelSupport_ChargeControl) Enum() *EnergyLevelSupport_ChargeControl
- func (EnergyLevelSupport_ChargeControl) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnergyLevelSupport_ChargeControl) Number() protoreflect.EnumNumber
- func (x EnergyLevelSupport_ChargeControl) String() string
- func (EnergyLevelSupport_ChargeControl) Type() protoreflect.EnumType
- type EnergyLevel_Charge
- type EnergyLevel_Discharge
- type EnergyLevel_Idle
- type EnergyLevel_Quantity
- func (*EnergyLevel_Quantity) Descriptor() ([]byte, []int)deprecated
- func (x *EnergyLevel_Quantity) GetDescriptive() EnergyLevel_Quantity_Threshold
- func (x *EnergyLevel_Quantity) GetDistanceKm() float32
- func (x *EnergyLevel_Quantity) GetEnergyKwh() float32
- func (x *EnergyLevel_Quantity) GetPercentage() float32
- func (*EnergyLevel_Quantity) ProtoMessage()
- func (x *EnergyLevel_Quantity) ProtoReflect() protoreflect.Message
- func (x *EnergyLevel_Quantity) Reset()
- func (x *EnergyLevel_Quantity) String() string
- type EnergyLevel_Quantity_Threshold
- func (EnergyLevel_Quantity_Threshold) Descriptor() protoreflect.EnumDescriptor
- func (x EnergyLevel_Quantity_Threshold) Enum() *EnergyLevel_Quantity_Threshold
- func (EnergyLevel_Quantity_Threshold) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnergyLevel_Quantity_Threshold) Number() protoreflect.EnumNumber
- func (x EnergyLevel_Quantity_Threshold) String() string
- func (EnergyLevel_Quantity_Threshold) Type() protoreflect.EnumType
- type EnergyLevel_Steady
- func (*EnergyLevel_Steady) Descriptor() ([]byte, []int)deprecated
- func (x *EnergyLevel_Steady) GetStartTime() *timestamppb.Timestamp
- func (*EnergyLevel_Steady) ProtoMessage()
- func (x *EnergyLevel_Steady) ProtoReflect() protoreflect.Message
- func (x *EnergyLevel_Steady) Reset()
- func (x *EnergyLevel_Steady) String() string
- type EnergyLevel_Transfer
- func (*EnergyLevel_Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *EnergyLevel_Transfer) GetDistanceKm() float32
- func (x *EnergyLevel_Transfer) GetSpeed() EnergyLevel_Transfer_Speed
- func (x *EnergyLevel_Transfer) GetStartTime() *timestamppb.Timestamp
- func (x *EnergyLevel_Transfer) GetTarget() *EnergyLevel_Quantity
- func (x *EnergyLevel_Transfer) GetTime() *durationpb.Duration
- func (*EnergyLevel_Transfer) ProtoMessage()
- func (x *EnergyLevel_Transfer) ProtoReflect() protoreflect.Message
- func (x *EnergyLevel_Transfer) Reset()
- func (x *EnergyLevel_Transfer) String() string
- type EnergyLevel_Transfer_Speed
- func (EnergyLevel_Transfer_Speed) Descriptor() protoreflect.EnumDescriptor
- func (x EnergyLevel_Transfer_Speed) Enum() *EnergyLevel_Transfer_Speed
- func (EnergyLevel_Transfer_Speed) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnergyLevel_Transfer_Speed) Number() protoreflect.EnumNumber
- func (x EnergyLevel_Transfer_Speed) String() string
- func (EnergyLevel_Transfer_Speed) Type() protoreflect.EnumType
- type EnergyStorageApiClient
- type EnergyStorageApiServer
- type EnergyStorageApi_PullEnergyLevelClient
- type EnergyStorageApi_PullEnergyLevelServer
- type EnergyStorageInfoClient
- type EnergyStorageInfoServer
- type EnterLeaveEvent
- func (*EnterLeaveEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EnterLeaveEvent) GetDirection() EnterLeaveEvent_Direction
- func (x *EnterLeaveEvent) GetEnterTotal() int32
- func (x *EnterLeaveEvent) GetLeaveTotal() int32
- func (x *EnterLeaveEvent) GetOccupant() *EnterLeaveEvent_Occupant
- func (*EnterLeaveEvent) ProtoMessage()
- func (x *EnterLeaveEvent) ProtoReflect() protoreflect.Message
- func (x *EnterLeaveEvent) Reset()
- func (x *EnterLeaveEvent) String() string
- type EnterLeaveEvent_Direction
- func (EnterLeaveEvent_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x EnterLeaveEvent_Direction) Enum() *EnterLeaveEvent_Direction
- func (EnterLeaveEvent_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnterLeaveEvent_Direction) Number() protoreflect.EnumNumber
- func (x EnterLeaveEvent_Direction) String() string
- func (EnterLeaveEvent_Direction) Type() protoreflect.EnumType
- type EnterLeaveEvent_Occupant
- func (*EnterLeaveEvent_Occupant) Descriptor() ([]byte, []int)deprecated
- func (x *EnterLeaveEvent_Occupant) GetDisplayName() string
- func (x *EnterLeaveEvent_Occupant) GetEmail() string
- func (x *EnterLeaveEvent_Occupant) GetIds() map[string]string
- func (x *EnterLeaveEvent_Occupant) GetMore() map[string]string
- func (x *EnterLeaveEvent_Occupant) GetName() string
- func (x *EnterLeaveEvent_Occupant) GetPicture() *types.Image
- func (x *EnterLeaveEvent_Occupant) GetTitle() string
- func (x *EnterLeaveEvent_Occupant) GetUrl() string
- func (*EnterLeaveEvent_Occupant) ProtoMessage()
- func (x *EnterLeaveEvent_Occupant) ProtoReflect() protoreflect.Message
- func (x *EnterLeaveEvent_Occupant) Reset()
- func (x *EnterLeaveEvent_Occupant) String() string
- type EnterLeaveSensorApiClient
- type EnterLeaveSensorApiServer
- type EnterLeaveSensorApi_PullEnterLeaveEventsClient
- type EnterLeaveSensorApi_PullEnterLeaveEventsServer
- type EnterLeaveSensorInfoClient
- type EnterLeaveSensorInfoServer
- type ExtendRetractApiClient
- type ExtendRetractApiServer
- type ExtendRetractApi_PullExtensionsClient
- type ExtendRetractApi_PullExtensionsServer
- type ExtendRetractInfoClient
- type ExtendRetractInfoServer
- type ExtendRetractStopRequest
- func (*ExtendRetractStopRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendRetractStopRequest) GetName() string
- func (*ExtendRetractStopRequest) ProtoMessage()
- func (x *ExtendRetractStopRequest) ProtoReflect() protoreflect.Message
- func (x *ExtendRetractStopRequest) Reset()
- func (x *ExtendRetractStopRequest) String() string
- type Extension
- func (*Extension) Descriptor() ([]byte, []int)deprecated
- func (x *Extension) GetExtendPercent() float32
- func (x *Extension) GetExtendPreset() string
- func (x *Extension) GetExtendTween() *types.Tween
- func (x *Extension) GetTargetExtendPercent() float32
- func (x *Extension) GetTargetExtendPreset() string
- func (*Extension) ProtoMessage()
- func (x *Extension) ProtoReflect() protoreflect.Message
- func (x *Extension) Reset()
- func (x *Extension) String() string
- type ExtensionPreset
- func (*ExtensionPreset) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionPreset) GetExtendPercent() float32
- func (x *ExtensionPreset) GetName() string
- func (x *ExtensionPreset) GetWritable() bool
- func (*ExtensionPreset) ProtoMessage()
- func (x *ExtensionPreset) ProtoReflect() protoreflect.Message
- func (x *ExtensionPreset) Reset()
- func (x *ExtensionPreset) String() string
- type ExtensionSupport
- func (*ExtensionSupport) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionSupport) GetPresets() []*ExtensionPreset
- func (x *ExtensionSupport) GetResourceSupport() *types.ResourceSupport
- func (x *ExtensionSupport) GetStep() float32
- func (x *ExtensionSupport) GetSupportsCustomPresets() bool
- func (x *ExtensionSupport) GetTweenSupport() types.TweenSupport
- func (*ExtensionSupport) ProtoMessage()
- func (x *ExtensionSupport) ProtoReflect() protoreflect.Message
- func (x *ExtensionSupport) Reset()
- func (x *ExtensionSupport) String() string
- type FanSpeed
- func (*FanSpeed) Descriptor() ([]byte, []int)deprecated
- func (x *FanSpeed) GetDirection() FanSpeed_Direction
- func (x *FanSpeed) GetPercentage() float32
- func (x *FanSpeed) GetPreset() string
- func (x *FanSpeed) GetPresetIndex() int32
- func (*FanSpeed) ProtoMessage()
- func (x *FanSpeed) ProtoReflect() protoreflect.Message
- func (x *FanSpeed) Reset()
- func (x *FanSpeed) String() string
- type FanSpeedApiClient
- type FanSpeedApiServer
- type FanSpeedApi_PullFanSpeedClient
- type FanSpeedApi_PullFanSpeedServer
- type FanSpeedInfoClient
- type FanSpeedInfoServer
- type FanSpeedSupport
- func (*FanSpeedSupport) Descriptor() ([]byte, []int)deprecated
- func (x *FanSpeedSupport) GetPresets() []string
- func (x *FanSpeedSupport) GetResourceSupport() *types.ResourceSupport
- func (*FanSpeedSupport) ProtoMessage()
- func (x *FanSpeedSupport) ProtoReflect() protoreflect.Message
- func (x *FanSpeedSupport) Reset()
- func (x *FanSpeedSupport) String() string
- type FanSpeed_Direction
- func (FanSpeed_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x FanSpeed_Direction) Enum() *FanSpeed_Direction
- func (FanSpeed_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x FanSpeed_Direction) Number() protoreflect.EnumNumber
- func (x FanSpeed_Direction) String() string
- func (FanSpeed_Direction) Type() protoreflect.EnumType
- type GainSupport
- func (*GainSupport) Descriptor() ([]byte, []int)deprecated
- func (x *GainSupport) GetGainAttributes() *types.FloatAttributes
- func (x *GainSupport) GetMuteSupport() types.MuteSupport
- func (x *GainSupport) GetResourceSupport() *types.ResourceSupport
- func (*GainSupport) ProtoMessage()
- func (x *GainSupport) ProtoReflect() protoreflect.Message
- func (x *GainSupport) Reset()
- func (x *GainSupport) String() string
- type GetActiveModeRequest
- func (*GetActiveModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveModeRequest) GetName() string
- func (x *GetActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetActiveModeRequest) ProtoMessage()
- func (x *GetActiveModeRequest) ProtoReflect() protoreflect.Message
- func (x *GetActiveModeRequest) Reset()
- func (x *GetActiveModeRequest) String() string
- type GetAirQualityRequest
- func (*GetAirQualityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAirQualityRequest) GetName() string
- func (x *GetAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetAirQualityRequest) ProtoMessage()
- func (x *GetAirQualityRequest) ProtoReflect() protoreflect.Message
- func (x *GetAirQualityRequest) Reset()
- func (x *GetAirQualityRequest) String() string
- type GetAirTemperatureRequest
- func (*GetAirTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAirTemperatureRequest) GetName() string
- func (x *GetAirTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetAirTemperatureRequest) ProtoMessage()
- func (x *GetAirTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *GetAirTemperatureRequest) Reset()
- func (x *GetAirTemperatureRequest) String() string
- type GetAmbientBrightnessRequest
- func (*GetAmbientBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAmbientBrightnessRequest) GetName() string
- func (x *GetAmbientBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetAmbientBrightnessRequest) ProtoMessage()
- func (x *GetAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *GetAmbientBrightnessRequest) Reset()
- func (x *GetAmbientBrightnessRequest) String() string
- type GetBrightnessRequest
- func (*GetBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBrightnessRequest) GetName() string
- func (x *GetBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetBrightnessRequest) ProtoMessage()
- func (x *GetBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *GetBrightnessRequest) Reset()
- func (x *GetBrightnessRequest) String() string
- type GetChosenChannelRequest
- func (*GetChosenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChosenChannelRequest) GetName() string
- func (x *GetChosenChannelRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetChosenChannelRequest) ProtoMessage()
- func (x *GetChosenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *GetChosenChannelRequest) Reset()
- func (x *GetChosenChannelRequest) 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 GetCountRequest
- func (*GetCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCountRequest) GetName() string
- func (x *GetCountRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetCountRequest) ProtoMessage()
- func (x *GetCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetCountRequest) Reset()
- func (x *GetCountRequest) String() string
- type GetDemandRequest
- func (*GetDemandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDemandRequest) GetName() string
- func (x *GetDemandRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetDemandRequest) ProtoMessage()
- func (x *GetDemandRequest) ProtoReflect() protoreflect.Message
- func (x *GetDemandRequest) Reset()
- func (x *GetDemandRequest) String() string
- type GetEmergencyRequest
- func (*GetEmergencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmergencyRequest) GetName() string
- func (x *GetEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetEmergencyRequest) ProtoMessage()
- func (x *GetEmergencyRequest) ProtoReflect() protoreflect.Message
- func (x *GetEmergencyRequest) Reset()
- func (x *GetEmergencyRequest) String() string
- type GetEnergyLevelRequest
- func (*GetEnergyLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnergyLevelRequest) GetName() string
- func (x *GetEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetEnergyLevelRequest) ProtoMessage()
- func (x *GetEnergyLevelRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnergyLevelRequest) Reset()
- func (x *GetEnergyLevelRequest) String() string
- type GetEnterLeaveEventRequest
- func (*GetEnterLeaveEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnterLeaveEventRequest) GetName() string
- func (x *GetEnterLeaveEventRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetEnterLeaveEventRequest) ProtoMessage()
- func (x *GetEnterLeaveEventRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnterLeaveEventRequest) Reset()
- func (x *GetEnterLeaveEventRequest) String() string
- type GetExtensionRequest
- func (*GetExtensionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExtensionRequest) GetName() string
- func (x *GetExtensionRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetExtensionRequest) ProtoMessage()
- func (x *GetExtensionRequest) ProtoReflect() protoreflect.Message
- func (x *GetExtensionRequest) Reset()
- func (x *GetExtensionRequest) String() string
- type GetFanSpeedRequest
- func (*GetFanSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFanSpeedRequest) GetName() string
- func (x *GetFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetFanSpeedRequest) ProtoMessage()
- func (x *GetFanSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *GetFanSpeedRequest) Reset()
- func (x *GetFanSpeedRequest) String() string
- type GetHailRequest
- func (*GetHailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHailRequest) GetId() string
- func (x *GetHailRequest) GetName() string
- func (x *GetHailRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetHailRequest) ProtoMessage()
- func (x *GetHailRequest) ProtoReflect() protoreflect.Message
- func (x *GetHailRequest) Reset()
- func (x *GetHailRequest) String() string
- type GetInputRequest
- func (*GetInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInputRequest) GetName() string
- func (x *GetInputRequest) GetOutput() string
- func (x *GetInputRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetInputRequest) ProtoMessage()
- func (x *GetInputRequest) ProtoReflect() protoreflect.Message
- func (x *GetInputRequest) Reset()
- func (x *GetInputRequest) String() string
- 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 GetLockUnlockRequest
- func (*GetLockUnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLockUnlockRequest) GetName() string
- func (x *GetLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetLockUnlockRequest) ProtoMessage()
- func (x *GetLockUnlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetLockUnlockRequest) Reset()
- func (x *GetLockUnlockRequest) String() string
- type GetMetadataRequest
- func (*GetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataRequest) GetName() string
- func (x *GetMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetMetadataRequest) ProtoMessage()
- func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetadataRequest) Reset()
- func (x *GetMetadataRequest) 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 GetMicrophoneGainRequest
- func (*GetMicrophoneGainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMicrophoneGainRequest) GetName() string
- func (x *GetMicrophoneGainRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetMicrophoneGainRequest) ProtoMessage()
- func (x *GetMicrophoneGainRequest) ProtoReflect() protoreflect.Message
- func (x *GetMicrophoneGainRequest) Reset()
- func (x *GetMicrophoneGainRequest) String() string
- type GetModeValuesRequest
- func (*GetModeValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetModeValuesRequest) GetName() string
- func (x *GetModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetModeValuesRequest) ProtoMessage()
- func (x *GetModeValuesRequest) ProtoReflect() protoreflect.Message
- func (x *GetModeValuesRequest) Reset()
- func (x *GetModeValuesRequest) String() string
- type GetMotionDetectionRequest
- func (*GetMotionDetectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMotionDetectionRequest) GetName() string
- func (x *GetMotionDetectionRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetMotionDetectionRequest) ProtoMessage()
- func (x *GetMotionDetectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetMotionDetectionRequest) Reset()
- func (x *GetMotionDetectionRequest) String() string
- type GetOccupancyRequest
- func (*GetOccupancyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOccupancyRequest) GetName() string
- func (x *GetOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetOccupancyRequest) ProtoMessage()
- func (x *GetOccupancyRequest) ProtoReflect() protoreflect.Message
- func (x *GetOccupancyRequest) Reset()
- func (x *GetOccupancyRequest) String() string
- type GetOnOffRequest
- func (*GetOnOffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOnOffRequest) GetName() string
- func (x *GetOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetOnOffRequest) ProtoMessage()
- func (x *GetOnOffRequest) ProtoReflect() protoreflect.Message
- func (x *GetOnOffRequest) Reset()
- func (x *GetOnOffRequest) String() string
- type GetOpenClosePositionsRequest
- func (*GetOpenClosePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOpenClosePositionsRequest) GetName() string
- func (x *GetOpenClosePositionsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetOpenClosePositionsRequest) ProtoMessage()
- func (x *GetOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOpenClosePositionsRequest) Reset()
- func (x *GetOpenClosePositionsRequest) String() string
- type GetPressedStateRequest
- func (*GetPressedStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPressedStateRequest) GetName() string
- func (x *GetPressedStateRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetPressedStateRequest) ProtoMessage()
- func (x *GetPressedStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetPressedStateRequest) Reset()
- func (x *GetPressedStateRequest) String() string
- type GetPtzRequest
- func (*GetPtzRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPtzRequest) GetName() string
- func (x *GetPtzRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetPtzRequest) ProtoMessage()
- func (x *GetPtzRequest) ProtoReflect() protoreflect.Message
- func (x *GetPtzRequest) Reset()
- func (x *GetPtzRequest) String() string
- type GetPublicationRequest
- func (*GetPublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicationRequest) GetId() string
- func (x *GetPublicationRequest) GetName() string
- func (x *GetPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *GetPublicationRequest) GetVersion() string
- func (*GetPublicationRequest) ProtoMessage()
- func (x *GetPublicationRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublicationRequest) Reset()
- func (x *GetPublicationRequest) String() string
- type GetSpeakerVolumeRequest
- func (*GetSpeakerVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpeakerVolumeRequest) GetName() string
- func (x *GetSpeakerVolumeRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetSpeakerVolumeRequest) ProtoMessage()
- func (x *GetSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *GetSpeakerVolumeRequest) Reset()
- func (x *GetSpeakerVolumeRequest) String() string
- type GetStockRequest
- func (*GetStockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStockRequest) GetConsumable() string
- func (x *GetStockRequest) GetName() string
- func (x *GetStockRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetStockRequest) ProtoMessage()
- func (x *GetStockRequest) ProtoReflect() protoreflect.Message
- func (x *GetStockRequest) Reset()
- func (x *GetStockRequest) 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 Hail
- func (*Hail) Descriptor() ([]byte, []int)deprecated
- func (x *Hail) GetArriveTime() *timestamppb.Timestamp
- func (x *Hail) GetBoardTime() *timestamppb.Timestamp
- func (x *Hail) GetCallTime() *timestamppb.Timestamp
- func (x *Hail) GetDepartTime() *timestamppb.Timestamp
- func (x *Hail) GetDestination() *Hail_Location
- func (x *Hail) GetId() string
- func (x *Hail) GetOrigin() *Hail_Location
- func (x *Hail) GetState() Hail_State
- func (*Hail) ProtoMessage()
- func (x *Hail) ProtoReflect() protoreflect.Message
- func (x *Hail) Reset()
- func (x *Hail) String() string
- type HailApiClient
- type HailApiServer
- type HailApi_PullHailClient
- type HailApi_PullHailServer
- type HailApi_PullHailsClient
- type HailApi_PullHailsServer
- type HailInfoClient
- type HailInfoServer
- type Hail_Location
- func (*Hail_Location) Descriptor() ([]byte, []int)deprecated
- func (x *Hail_Location) GetDisplayName() string
- func (x *Hail_Location) GetName() string
- func (*Hail_Location) ProtoMessage()
- func (x *Hail_Location) ProtoReflect() protoreflect.Message
- func (x *Hail_Location) Reset()
- func (x *Hail_Location) String() string
- type Hail_State
- type Input
- func (*Input) Descriptor() ([]byte, []int)deprecated
- func (x *Input) GetAudioInput() string
- func (x *Input) GetIndependentAv() bool
- func (x *Input) GetOutput() string
- func (x *Input) GetVideoInput() string
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) String() string
- type InputSelectApiClient
- type InputSelectApiServer
- type InputSelectApi_PullInputClient
- type InputSelectApi_PullInputServer
- type InputSelectInfoClient
- type InputSelectInfoServer
- type InputSupport
- func (*InputSupport) Descriptor() ([]byte, []int)deprecated
- func (x *InputSupport) GetInputs() []*AvPort
- func (x *InputSupport) GetOutputs() []*AvPort
- func (x *InputSupport) GetResourceSupport() *types.ResourceSupport
- func (x *InputSupport) GetSupportedFeature() InputSupport_Feature
- func (*InputSupport) ProtoMessage()
- func (x *InputSupport) ProtoReflect() protoreflect.Message
- func (x *InputSupport) Reset()
- func (x *InputSupport) String() string
- type InputSupport_Feature
- func (InputSupport_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x InputSupport_Feature) Enum() *InputSupport_Feature
- func (InputSupport_Feature) EnumDescriptor() ([]byte, []int)deprecated
- func (x InputSupport_Feature) Number() protoreflect.EnumNumber
- func (x InputSupport_Feature) String() string
- func (InputSupport_Feature) Type() protoreflect.EnumType
- type LightApiClient
- type LightApiServer
- type LightApi_PullBrightnessClient
- type LightApi_PullBrightnessServer
- type LightInfoClient
- type LightInfoServer
- type LightPreset
- type ListBookingsRequest
- func (*ListBookingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBookingsRequest) GetBookingIntersects() *time.Period
- func (x *ListBookingsRequest) GetName() string
- func (x *ListBookingsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *ListBookingsRequest) GetUpdatesOnly() bool
- func (*ListBookingsRequest) ProtoMessage()
- func (x *ListBookingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBookingsRequest) Reset()
- func (x *ListBookingsRequest) String() string
- type ListBookingsResponse
- func (*ListBookingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBookingsResponse) GetBookings() []*Booking
- func (*ListBookingsResponse) ProtoMessage()
- func (x *ListBookingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBookingsResponse) Reset()
- func (x *ListBookingsResponse) String() string
- type ListChildrenRequest
- func (*ListChildrenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildrenRequest) GetName() string
- func (x *ListChildrenRequest) GetPageSize() int32
- func (x *ListChildrenRequest) GetPageToken() string
- func (x *ListChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListChildrenRequest) ProtoMessage()
- func (x *ListChildrenRequest) ProtoReflect() protoreflect.Message
- func (x *ListChildrenRequest) Reset()
- func (x *ListChildrenRequest) String() string
- type ListChildrenResponse
- func (*ListChildrenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildrenResponse) GetChildren() []*Child
- func (x *ListChildrenResponse) GetNextPageToken() string
- func (x *ListChildrenResponse) GetTotalSize() int32
- func (*ListChildrenResponse) ProtoMessage()
- func (x *ListChildrenResponse) ProtoReflect() protoreflect.Message
- func (x *ListChildrenResponse) Reset()
- func (x *ListChildrenResponse) String() string
- type ListConsumablesRequest
- func (*ListConsumablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumablesRequest) GetName() string
- func (x *ListConsumablesRequest) GetPageSize() int32
- func (x *ListConsumablesRequest) GetPageToken() string
- func (x *ListConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListConsumablesRequest) ProtoMessage()
- func (x *ListConsumablesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConsumablesRequest) Reset()
- func (x *ListConsumablesRequest) String() string
- type ListConsumablesResponse
- func (*ListConsumablesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsumablesResponse) GetConsumables() []*Consumable
- func (x *ListConsumablesResponse) GetNextPageToken() string
- func (x *ListConsumablesResponse) GetTotalSize() int32
- func (*ListConsumablesResponse) ProtoMessage()
- func (x *ListConsumablesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConsumablesResponse) Reset()
- func (x *ListConsumablesResponse) String() string
- type ListHailsRequest
- func (*ListHailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHailsRequest) GetName() string
- func (x *ListHailsRequest) GetPageSize() int32
- func (x *ListHailsRequest) GetPageToken() string
- func (x *ListHailsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListHailsRequest) ProtoMessage()
- func (x *ListHailsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHailsRequest) Reset()
- func (x *ListHailsRequest) String() string
- type ListHailsResponse
- func (*ListHailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHailsResponse) GetHails() []*Hail
- func (x *ListHailsResponse) GetNextPageToken() string
- func (x *ListHailsResponse) GetTotalSize() int32
- func (*ListHailsResponse) ProtoMessage()
- func (x *ListHailsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHailsResponse) Reset()
- func (x *ListHailsResponse) String() string
- type ListInventoryRequest
- func (*ListInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInventoryRequest) GetName() string
- func (x *ListInventoryRequest) GetPageSize() int32
- func (x *ListInventoryRequest) GetPageToken() string
- func (x *ListInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListInventoryRequest) ProtoMessage()
- func (x *ListInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListInventoryRequest) Reset()
- func (x *ListInventoryRequest) String() string
- type ListInventoryResponse
- func (*ListInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInventoryResponse) GetInventory() []*Consumable_Stock
- func (x *ListInventoryResponse) GetNextPageToken() string
- func (x *ListInventoryResponse) GetTotalSize() int32
- func (*ListInventoryResponse) ProtoMessage()
- func (x *ListInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListInventoryResponse) Reset()
- func (x *ListInventoryResponse) String() string
- type ListModesRequest
- func (*ListModesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModesRequest) GetName() string
- func (x *ListModesRequest) GetPageSize() int32
- func (x *ListModesRequest) GetPageToken() string
- func (x *ListModesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListModesRequest) ProtoMessage()
- func (x *ListModesRequest) ProtoReflect() protoreflect.Message
- func (x *ListModesRequest) Reset()
- func (x *ListModesRequest) String() string
- type ListModesResponse
- func (*ListModesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModesResponse) GetModes() []*ElectricMode
- func (x *ListModesResponse) GetNextPageToken() string
- func (x *ListModesResponse) GetTotalSize() int32
- func (*ListModesResponse) ProtoMessage()
- func (x *ListModesResponse) ProtoReflect() protoreflect.Message
- func (x *ListModesResponse) Reset()
- func (x *ListModesResponse) String() string
- type ListPublicationsRequest
- func (*ListPublicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicationsRequest) GetName() string
- func (x *ListPublicationsRequest) GetPageSize() int32
- func (x *ListPublicationsRequest) GetPageToken() string
- func (x *ListPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListPublicationsRequest) ProtoMessage()
- func (x *ListPublicationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicationsRequest) Reset()
- func (x *ListPublicationsRequest) String() string
- type ListPublicationsResponse
- func (*ListPublicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicationsResponse) GetNextPageToken() string
- func (x *ListPublicationsResponse) GetPublications() []*Publication
- func (x *ListPublicationsResponse) GetTotalSize() int32
- func (*ListPublicationsResponse) ProtoMessage()
- func (x *ListPublicationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicationsResponse) Reset()
- func (x *ListPublicationsResponse) String() string
- type ListWasteRecordsRequest
- func (*ListWasteRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWasteRecordsRequest) GetName() string
- func (x *ListWasteRecordsRequest) GetPageSize() int32
- func (x *ListWasteRecordsRequest) GetPageToken() string
- func (x *ListWasteRecordsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListWasteRecordsRequest) ProtoMessage()
- func (x *ListWasteRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWasteRecordsRequest) Reset()
- func (x *ListWasteRecordsRequest) String() string
- type ListWasteRecordsResponse
- func (*ListWasteRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWasteRecordsResponse) GetNextPageToken() string
- func (x *ListWasteRecordsResponse) GetTotalSize() int32
- func (x *ListWasteRecordsResponse) GetWasteRecords() []*WasteRecord
- func (*ListWasteRecordsResponse) ProtoMessage()
- func (x *ListWasteRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWasteRecordsResponse) Reset()
- func (x *ListWasteRecordsResponse) String() string
- type LockUnlock
- func (*LockUnlock) Descriptor() ([]byte, []int)deprecated
- func (x *LockUnlock) GetJammed() bool
- func (x *LockUnlock) GetPosition() LockUnlock_Position
- func (*LockUnlock) ProtoMessage()
- func (x *LockUnlock) ProtoReflect() protoreflect.Message
- func (x *LockUnlock) Reset()
- func (x *LockUnlock) String() string
- type LockUnlockApiClient
- type LockUnlockApiServer
- type LockUnlockApi_PullLockUnlockClient
- type LockUnlockApi_PullLockUnlockServer
- type LockUnlockInfoClient
- type LockUnlockInfoServer
- type LockUnlock_Position
- func (LockUnlock_Position) Descriptor() protoreflect.EnumDescriptor
- func (x LockUnlock_Position) Enum() *LockUnlock_Position
- func (LockUnlock_Position) EnumDescriptor() ([]byte, []int)deprecated
- func (x LockUnlock_Position) Number() protoreflect.EnumNumber
- func (x LockUnlock_Position) String() string
- func (LockUnlock_Position) Type() protoreflect.EnumType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetAppearance() *Metadata_Appearance
- func (x *Metadata) GetId() *Metadata_ID
- func (x *Metadata) GetInstallation() *Metadata_Installation
- func (x *Metadata) GetLocation() *Metadata_Location
- func (x *Metadata) GetMembership() *Metadata_Membership
- func (x *Metadata) GetMore() map[string]string
- func (x *Metadata) GetName() string
- func (x *Metadata) GetNics() []*Metadata_NIC
- func (x *Metadata) GetProduct() *Metadata_Product
- func (x *Metadata) GetRevision() *Metadata_Revision
- func (x *Metadata) GetTraits() []*TraitMetadata
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MetadataApiClient
- type MetadataApiServer
- type MetadataApi_PullMetadataClient
- type MetadataApi_PullMetadataServer
- type MetadataInfoClient
- type MetadataInfoServer
- type Metadata_Appearance
- func (*Metadata_Appearance) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Appearance) GetDescription() string
- func (x *Metadata_Appearance) GetMore() map[string]string
- func (x *Metadata_Appearance) GetTitle() string
- func (*Metadata_Appearance) ProtoMessage()
- func (x *Metadata_Appearance) ProtoReflect() protoreflect.Message
- func (x *Metadata_Appearance) Reset()
- func (x *Metadata_Appearance) String() string
- type Metadata_ID
- func (*Metadata_ID) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_ID) GetBacnet() string
- func (x *Metadata_ID) GetBim() string
- func (x *Metadata_ID) GetMore() map[string]string
- func (x *Metadata_ID) GetSerialNumber() string
- func (*Metadata_ID) ProtoMessage()
- func (x *Metadata_ID) ProtoReflect() protoreflect.Message
- func (x *Metadata_ID) Reset()
- func (x *Metadata_ID) String() string
- type Metadata_Installation
- func (*Metadata_Installation) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Installation) GetInstallTime() *timestamppb.Timestamp
- func (x *Metadata_Installation) GetInstaller() string
- func (x *Metadata_Installation) GetLabelTime() *timestamppb.Timestamp
- func (x *Metadata_Installation) GetLabelled() bool
- func (x *Metadata_Installation) GetMore() map[string]string
- func (x *Metadata_Installation) GetReplaceTime() *timestamppb.Timestamp
- func (*Metadata_Installation) ProtoMessage()
- func (x *Metadata_Installation) ProtoReflect() protoreflect.Message
- func (x *Metadata_Installation) Reset()
- func (x *Metadata_Installation) String() string
- type Metadata_Location
- func (*Metadata_Location) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Location) GetArchitectureReference() string
- func (x *Metadata_Location) GetDescription() string
- func (x *Metadata_Location) GetFloor() string
- func (x *Metadata_Location) GetMore() map[string]string
- func (x *Metadata_Location) GetTitle() string
- func (x *Metadata_Location) GetZone() string
- func (*Metadata_Location) ProtoMessage()
- func (x *Metadata_Location) ProtoReflect() protoreflect.Message
- func (x *Metadata_Location) Reset()
- func (x *Metadata_Location) String() string
- type Metadata_Membership
- func (*Metadata_Membership) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Membership) GetGroup() string
- func (x *Metadata_Membership) GetMore() map[string]string
- func (x *Metadata_Membership) GetSubsystem() string
- func (*Metadata_Membership) ProtoMessage()
- func (x *Metadata_Membership) ProtoReflect() protoreflect.Message
- func (x *Metadata_Membership) Reset()
- func (x *Metadata_Membership) String() string
- type Metadata_NIC
- func (*Metadata_NIC) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_NIC) GetAssignment() Metadata_NIC_Assignment
- func (x *Metadata_NIC) GetDisplayName() string
- func (x *Metadata_NIC) GetDns() []string
- func (x *Metadata_NIC) GetGateway() string
- func (x *Metadata_NIC) GetIp() string
- func (x *Metadata_NIC) GetMacAddress() string
- func (x *Metadata_NIC) GetMore() map[string]string
- func (x *Metadata_NIC) GetNetwork() string
- func (*Metadata_NIC) ProtoMessage()
- func (x *Metadata_NIC) ProtoReflect() protoreflect.Message
- func (x *Metadata_NIC) Reset()
- func (x *Metadata_NIC) String() string
- type Metadata_NIC_Assignment
- func (Metadata_NIC_Assignment) Descriptor() protoreflect.EnumDescriptor
- func (x Metadata_NIC_Assignment) Enum() *Metadata_NIC_Assignment
- func (Metadata_NIC_Assignment) EnumDescriptor() ([]byte, []int)deprecated
- func (x Metadata_NIC_Assignment) Number() protoreflect.EnumNumber
- func (x Metadata_NIC_Assignment) String() string
- func (Metadata_NIC_Assignment) Type() protoreflect.EnumType
- type Metadata_Product
- func (*Metadata_Product) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Product) GetFirmwareVersion() string
- func (x *Metadata_Product) GetHardwareVersion() string
- func (x *Metadata_Product) GetKind() *Metadata_Product_Kind
- func (x *Metadata_Product) GetManufacturer() string
- func (x *Metadata_Product) GetModel() string
- func (x *Metadata_Product) GetMore() map[string]string
- func (x *Metadata_Product) GetSoftwareVersion() string
- func (x *Metadata_Product) GetTitle() string
- func (*Metadata_Product) ProtoMessage()
- func (x *Metadata_Product) ProtoReflect() protoreflect.Message
- func (x *Metadata_Product) Reset()
- func (x *Metadata_Product) String() string
- type Metadata_Product_Kind
- func (*Metadata_Product_Kind) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Product_Kind) GetCode() string
- func (x *Metadata_Product_Kind) GetTitle() string
- func (*Metadata_Product_Kind) ProtoMessage()
- func (x *Metadata_Product_Kind) ProtoReflect() protoreflect.Message
- func (x *Metadata_Product_Kind) Reset()
- func (x *Metadata_Product_Kind) String() string
- type Metadata_Revision
- func (*Metadata_Revision) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata_Revision) GetBatch() string
- func (x *Metadata_Revision) GetFirmwareVersion() string
- func (x *Metadata_Revision) GetHardwareVersion() string
- func (x *Metadata_Revision) GetManufactureDate() *timestamppb.Timestamp
- func (x *Metadata_Revision) GetModel() string
- func (x *Metadata_Revision) GetMore() map[string]string
- func (x *Metadata_Revision) GetSoftwareVersion() string
- func (x *Metadata_Revision) GetTitle() string
- func (*Metadata_Revision) ProtoMessage()
- func (x *Metadata_Revision) ProtoReflect() protoreflect.Message
- func (x *Metadata_Revision) Reset()
- func (x *Metadata_Revision) String() string
- type MeterApiClient
- type MeterApiServer
- type MeterApi_PullMeterReadingsClient
- type MeterApi_PullMeterReadingsServer
- type 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 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 MicrophoneApiClient
- type MicrophoneApiServer
- type MicrophoneApi_PullGainClient
- type MicrophoneApi_PullGainServer
- type MicrophoneInfoClient
- type MicrophoneInfoServer
- type ModeApiClient
- type ModeApiServer
- type ModeApi_PullModeValuesClient
- type ModeApi_PullModeValuesServer
- type ModeInfoClient
- type ModeInfoServer
- type ModeValues
- type ModeValuesRelative
- func (*ModeValuesRelative) Descriptor() ([]byte, []int)deprecated
- func (x *ModeValuesRelative) GetValues() map[string]int32
- func (*ModeValuesRelative) ProtoMessage()
- func (x *ModeValuesRelative) ProtoReflect() protoreflect.Message
- func (x *ModeValuesRelative) Reset()
- func (x *ModeValuesRelative) String() string
- type Modes
- type ModesSupport
- func (*ModesSupport) Descriptor() ([]byte, []int)deprecated
- func (x *ModesSupport) GetAvailableModes() *Modes
- func (x *ModesSupport) GetModeValuesSupport() *types.ResourceSupport
- func (*ModesSupport) ProtoMessage()
- func (x *ModesSupport) ProtoReflect() protoreflect.Message
- func (x *ModesSupport) Reset()
- func (x *ModesSupport) String() string
- type Modes_Mode
- func (*Modes_Mode) Descriptor() ([]byte, []int)deprecated
- func (x *Modes_Mode) GetName() string
- func (x *Modes_Mode) GetOrdered() bool
- func (x *Modes_Mode) GetValues() []*Modes_Value
- func (*Modes_Mode) ProtoMessage()
- func (x *Modes_Mode) ProtoReflect() protoreflect.Message
- func (x *Modes_Mode) Reset()
- func (x *Modes_Mode) String() string
- type Modes_Value
- type MotionDetection
- func (*MotionDetection) Descriptor() ([]byte, []int)deprecated
- func (x *MotionDetection) GetState() MotionDetection_State
- func (x *MotionDetection) GetStateChangeTime() *timestamppb.Timestamp
- func (*MotionDetection) ProtoMessage()
- func (x *MotionDetection) ProtoReflect() protoreflect.Message
- func (x *MotionDetection) Reset()
- func (x *MotionDetection) String() string
- type MotionDetectionSupport
- func (*MotionDetectionSupport) Descriptor() ([]byte, []int)deprecated
- func (x *MotionDetectionSupport) GetNotDetectedDelay() *durationpb.Duration
- func (x *MotionDetectionSupport) GetResourceSupport() *types.ResourceSupport
- func (*MotionDetectionSupport) ProtoMessage()
- func (x *MotionDetectionSupport) ProtoReflect() protoreflect.Message
- func (x *MotionDetectionSupport) Reset()
- func (x *MotionDetectionSupport) String() string
- type MotionDetection_State
- func (MotionDetection_State) Descriptor() protoreflect.EnumDescriptor
- func (x MotionDetection_State) Enum() *MotionDetection_State
- func (MotionDetection_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MotionDetection_State) Number() protoreflect.EnumNumber
- func (x MotionDetection_State) String() string
- func (MotionDetection_State) Type() protoreflect.EnumType
- type MotionSensorApiClient
- type MotionSensorApiServer
- type MotionSensorApi_PullMotionDetectionsClient
- type MotionSensorApi_PullMotionDetectionsServer
- type MotionSensorSensorInfoClient
- type MotionSensorSensorInfoServer
- type Occupancy
- func (*Occupancy) Descriptor() ([]byte, []int)deprecated
- func (x *Occupancy) GetConfidence() float64
- func (x *Occupancy) GetPeopleCount() int32
- func (x *Occupancy) GetReasons() []string
- func (x *Occupancy) GetState() Occupancy_State
- func (x *Occupancy) GetStateChangeTime() *timestamppb.Timestamp
- func (*Occupancy) ProtoMessage()
- func (x *Occupancy) ProtoReflect() protoreflect.Message
- func (x *Occupancy) Reset()
- func (x *Occupancy) String() string
- type OccupancySensorApiClient
- type OccupancySensorApiServer
- type OccupancySensorApi_PullOccupancyClient
- type OccupancySensorApi_PullOccupancyServer
- type OccupancySensorInfoClient
- type OccupancySensorInfoServer
- type OccupancySupport
- func (*OccupancySupport) Descriptor() ([]byte, []int)deprecated
- func (x *OccupancySupport) GetMaxPeople() int32
- func (x *OccupancySupport) GetResourceSupport() *types.ResourceSupport
- func (*OccupancySupport) ProtoMessage()
- func (x *OccupancySupport) ProtoReflect() protoreflect.Message
- func (x *OccupancySupport) Reset()
- func (x *OccupancySupport) String() string
- type Occupancy_State
- func (Occupancy_State) Descriptor() protoreflect.EnumDescriptor
- func (x Occupancy_State) Enum() *Occupancy_State
- func (Occupancy_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Occupancy_State) Number() protoreflect.EnumNumber
- func (x Occupancy_State) String() string
- func (Occupancy_State) Type() protoreflect.EnumType
- type OnOff
- type OnOffApiClient
- type OnOffApiServer
- type OnOffApi_PullOnOffClient
- type OnOffApi_PullOnOffServer
- type OnOffInfoClient
- type OnOffInfoServer
- type OnOffSupport
- type OnOff_State
- func (OnOff_State) Descriptor() protoreflect.EnumDescriptor
- func (x OnOff_State) Enum() *OnOff_State
- func (OnOff_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnOff_State) Number() protoreflect.EnumNumber
- func (x OnOff_State) String() string
- func (OnOff_State) Type() protoreflect.EnumType
- type OpenCloseApiClient
- type OpenCloseApiServer
- type OpenCloseApi_PullPositionsClient
- type OpenCloseApi_PullPositionsServer
- type OpenCloseInfoClient
- type OpenCloseInfoServer
- type OpenClosePosition
- func (*OpenClosePosition) Descriptor() ([]byte, []int)deprecated
- func (x *OpenClosePosition) GetDirection() OpenClosePosition_Direction
- func (x *OpenClosePosition) GetOpenPercent() float32
- func (x *OpenClosePosition) GetOpenPercentTween() *types.Tween
- func (x *OpenClosePosition) GetResistance() OpenClosePosition_Resistance
- func (x *OpenClosePosition) GetTargetOpenPercent() float32
- func (*OpenClosePosition) ProtoMessage()
- func (x *OpenClosePosition) ProtoReflect() protoreflect.Message
- func (x *OpenClosePosition) Reset()
- func (x *OpenClosePosition) String() string
- type OpenClosePosition_Direction
- func (OpenClosePosition_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x OpenClosePosition_Direction) Enum() *OpenClosePosition_Direction
- func (OpenClosePosition_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpenClosePosition_Direction) Number() protoreflect.EnumNumber
- func (x OpenClosePosition_Direction) String() string
- func (OpenClosePosition_Direction) Type() protoreflect.EnumType
- type OpenClosePosition_Resistance
- func (OpenClosePosition_Resistance) Descriptor() protoreflect.EnumDescriptor
- func (x OpenClosePosition_Resistance) Enum() *OpenClosePosition_Resistance
- func (OpenClosePosition_Resistance) EnumDescriptor() ([]byte, []int)deprecated
- func (x OpenClosePosition_Resistance) Number() protoreflect.EnumNumber
- func (x OpenClosePosition_Resistance) String() string
- func (OpenClosePosition_Resistance) Type() protoreflect.EnumType
- type OpenClosePositions
- func (*OpenClosePositions) Descriptor() ([]byte, []int)deprecated
- func (x *OpenClosePositions) GetPreset() *OpenClosePositions_Preset
- func (x *OpenClosePositions) GetStates() []*OpenClosePosition
- func (*OpenClosePositions) ProtoMessage()
- func (x *OpenClosePositions) ProtoReflect() protoreflect.Message
- func (x *OpenClosePositions) Reset()
- func (x *OpenClosePositions) String() string
- type OpenClosePositions_Preset
- func (*OpenClosePositions_Preset) Descriptor() ([]byte, []int)deprecated
- func (x *OpenClosePositions_Preset) GetName() string
- func (x *OpenClosePositions_Preset) GetTitle() string
- func (*OpenClosePositions_Preset) ProtoMessage()
- func (x *OpenClosePositions_Preset) ProtoReflect() protoreflect.Message
- func (x *OpenClosePositions_Preset) Reset()
- func (x *OpenClosePositions_Preset) String() string
- type ParentApiClient
- type ParentApiServer
- type ParentApi_PullChildrenClient
- type ParentApi_PullChildrenServer
- type ParentInfoClient
- type ParentInfoServer
- type PositionsSupport
- func (*PositionsSupport) Descriptor() ([]byte, []int)deprecated
- func (x *PositionsSupport) GetDirections() []OpenClosePosition_Direction
- func (x *PositionsSupport) GetOpenPercentAttributes() *types.FloatAttributes
- func (x *PositionsSupport) GetPresets() []*OpenClosePositions_Preset
- func (x *PositionsSupport) GetResourceSupport() *types.ResourceSupport
- func (x *PositionsSupport) GetSupportsStop() bool
- func (*PositionsSupport) ProtoMessage()
- func (x *PositionsSupport) ProtoReflect() protoreflect.Message
- func (x *PositionsSupport) Reset()
- func (x *PositionsSupport) String() string
- type PressApiClient
- type PressApiServer
- type PressApi_PullPressedStateClient
- type PressApi_PullPressedStateServer
- type PressedState
- func (*PressedState) Descriptor() ([]byte, []int)deprecated
- func (x *PressedState) GetMostRecentGesture() *PressedState_Gesture
- func (x *PressedState) GetState() PressedState_Press
- func (x *PressedState) GetStateChangeTime() *timestamppb.Timestamp
- func (*PressedState) ProtoMessage()
- func (x *PressedState) ProtoReflect() protoreflect.Message
- func (x *PressedState) Reset()
- func (x *PressedState) String() string
- type PressedState_Gesture
- func (*PressedState_Gesture) Descriptor() ([]byte, []int)deprecated
- func (x *PressedState_Gesture) GetCount() int32
- func (x *PressedState_Gesture) GetEndTime() *timestamppb.Timestamp
- func (x *PressedState_Gesture) GetId() string
- func (x *PressedState_Gesture) GetKind() PressedState_Gesture_Kind
- func (x *PressedState_Gesture) GetStartTime() *timestamppb.Timestamp
- func (*PressedState_Gesture) ProtoMessage()
- func (x *PressedState_Gesture) ProtoReflect() protoreflect.Message
- func (x *PressedState_Gesture) Reset()
- func (x *PressedState_Gesture) String() string
- type PressedState_Gesture_Kind
- func (PressedState_Gesture_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x PressedState_Gesture_Kind) Enum() *PressedState_Gesture_Kind
- func (PressedState_Gesture_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x PressedState_Gesture_Kind) Number() protoreflect.EnumNumber
- func (x PressedState_Gesture_Kind) String() string
- func (PressedState_Gesture_Kind) Type() protoreflect.EnumType
- type PressedState_Press
- func (PressedState_Press) Descriptor() protoreflect.EnumDescriptor
- func (x PressedState_Press) Enum() *PressedState_Press
- func (PressedState_Press) EnumDescriptor() ([]byte, []int)deprecated
- func (x PressedState_Press) Number() protoreflect.EnumNumber
- func (x PressedState_Press) String() string
- func (PressedState_Press) Type() protoreflect.EnumType
- type Ptz
- func (*Ptz) Descriptor() ([]byte, []int)deprecated
- func (x *Ptz) GetMovement() *PtzMovement
- func (x *Ptz) GetPosition() *PtzPosition
- func (x *Ptz) GetPreset() string
- func (x *Ptz) GetPresetSpeed() int32
- func (*Ptz) ProtoMessage()
- func (x *Ptz) ProtoReflect() protoreflect.Message
- func (x *Ptz) Reset()
- func (x *Ptz) String() string
- type PtzApiClient
- type PtzApiServer
- type PtzApi_PullPtzClient
- type PtzApi_PullPtzServer
- type PtzBounds
- type PtzInfoClient
- type PtzInfoServer
- type PtzMovement
- func (*PtzMovement) Descriptor() ([]byte, []int)deprecated
- func (x *PtzMovement) GetDirection() *PtzVector
- func (x *PtzMovement) GetSpeed() int32
- func (x *PtzMovement) GetSpeedTween() *types.Tween
- func (x *PtzMovement) GetTargetSpeed() int32
- func (*PtzMovement) ProtoMessage()
- func (x *PtzMovement) ProtoReflect() protoreflect.Message
- func (x *PtzMovement) Reset()
- func (x *PtzMovement) String() string
- type PtzPosition
- func (*PtzPosition) Descriptor() ([]byte, []int)deprecated
- func (x *PtzPosition) GetPosition() *PtzVector
- func (x *PtzPosition) GetTargetPosition() *PtzVector
- func (x *PtzPosition) GetTween() *types.Tween
- func (*PtzPosition) ProtoMessage()
- func (x *PtzPosition) ProtoReflect() protoreflect.Message
- func (x *PtzPosition) Reset()
- func (x *PtzPosition) String() string
- type PtzPreset
- func (*PtzPreset) Descriptor() ([]byte, []int)deprecated
- func (x *PtzPreset) GetDescription() string
- func (x *PtzPreset) GetName() string
- func (x *PtzPreset) GetPosition() *PtzVector
- func (x *PtzPreset) GetTitle() string
- func (x *PtzPreset) GetWritable() bool
- func (*PtzPreset) ProtoMessage()
- func (x *PtzPreset) ProtoReflect() protoreflect.Message
- func (x *PtzPreset) Reset()
- func (x *PtzPreset) String() string
- type PtzSupport
- func (*PtzSupport) Descriptor() ([]byte, []int)deprecated
- func (x *PtzSupport) GetPresets() []*PtzPreset
- func (x *PtzSupport) GetResourceSupport() *types.ResourceSupport
- func (x *PtzSupport) GetSupportsCustomPresets() bool
- func (x *PtzSupport) GetSupportsMovement() bool
- func (x *PtzSupport) GetSupportsPosition() bool
- func (*PtzSupport) ProtoMessage()
- func (x *PtzSupport) ProtoReflect() protoreflect.Message
- func (x *PtzSupport) Reset()
- func (x *PtzSupport) String() string
- type PtzVector
- func (*PtzVector) Descriptor() ([]byte, []int)deprecated
- func (x *PtzVector) GetPan() float32
- func (x *PtzVector) GetTilt() float32
- func (x *PtzVector) GetZoom() float32
- func (*PtzVector) ProtoMessage()
- func (x *PtzVector) ProtoReflect() protoreflect.Message
- func (x *PtzVector) Reset()
- func (x *PtzVector) String() string
- type Publication
- func (*Publication) Descriptor() ([]byte, []int)deprecated
- func (x *Publication) GetAudience() *Publication_Audience
- func (x *Publication) GetBody() []byte
- func (x *Publication) GetId() string
- func (x *Publication) GetMediaType() string
- func (x *Publication) GetPublishTime() *timestamppb.Timestamp
- func (x *Publication) GetVersion() string
- func (*Publication) ProtoMessage()
- func (x *Publication) ProtoReflect() protoreflect.Message
- func (x *Publication) Reset()
- func (x *Publication) String() string
- type PublicationApiClient
- type PublicationApiServer
- type PublicationApi_PullPublicationClient
- type PublicationApi_PullPublicationServer
- type PublicationApi_PullPublicationsClient
- type PublicationApi_PullPublicationsServer
- type Publication_Audience
- func (*Publication_Audience) Descriptor() ([]byte, []int)deprecated
- func (x *Publication_Audience) GetName() string
- func (x *Publication_Audience) GetReceipt() Publication_Audience_Receipt
- func (x *Publication_Audience) GetReceiptRejectedReason() string
- func (x *Publication_Audience) GetReceiptTime() *timestamppb.Timestamp
- func (*Publication_Audience) ProtoMessage()
- func (x *Publication_Audience) ProtoReflect() protoreflect.Message
- func (x *Publication_Audience) Reset()
- func (x *Publication_Audience) String() string
- type Publication_Audience_Receipt
- func (Publication_Audience_Receipt) Descriptor() protoreflect.EnumDescriptor
- func (x Publication_Audience_Receipt) Enum() *Publication_Audience_Receipt
- func (Publication_Audience_Receipt) EnumDescriptor() ([]byte, []int)deprecated
- func (x Publication_Audience_Receipt) Number() protoreflect.EnumNumber
- func (x Publication_Audience_Receipt) String() string
- func (Publication_Audience_Receipt) Type() protoreflect.EnumType
- 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 PullActiveModeRequest
- func (*PullActiveModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullActiveModeRequest) GetName() string
- func (x *PullActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullActiveModeRequest) GetUpdatesOnly() bool
- func (*PullActiveModeRequest) ProtoMessage()
- func (x *PullActiveModeRequest) ProtoReflect() protoreflect.Message
- func (x *PullActiveModeRequest) Reset()
- func (x *PullActiveModeRequest) String() string
- type PullActiveModeResponse
- func (*PullActiveModeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullActiveModeResponse) GetChanges() []*PullActiveModeResponse_Change
- func (*PullActiveModeResponse) ProtoMessage()
- func (x *PullActiveModeResponse) ProtoReflect() protoreflect.Message
- func (x *PullActiveModeResponse) Reset()
- func (x *PullActiveModeResponse) String() string
- type PullActiveModeResponse_Change
- func (*PullActiveModeResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullActiveModeResponse_Change) GetActiveMode() *ElectricMode
- func (x *PullActiveModeResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullActiveModeResponse_Change) GetName() string
- func (*PullActiveModeResponse_Change) ProtoMessage()
- func (x *PullActiveModeResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullActiveModeResponse_Change) Reset()
- func (x *PullActiveModeResponse_Change) String() string
- type PullAirQualityRequest
- func (*PullAirQualityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirQualityRequest) GetName() string
- func (x *PullAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullAirQualityRequest) GetUpdatesOnly() bool
- func (*PullAirQualityRequest) ProtoMessage()
- func (x *PullAirQualityRequest) ProtoReflect() protoreflect.Message
- func (x *PullAirQualityRequest) Reset()
- func (x *PullAirQualityRequest) String() string
- type PullAirQualityResponse
- func (*PullAirQualityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirQualityResponse) GetChanges() []*PullAirQualityResponse_Change
- func (*PullAirQualityResponse) ProtoMessage()
- func (x *PullAirQualityResponse) ProtoReflect() protoreflect.Message
- func (x *PullAirQualityResponse) Reset()
- func (x *PullAirQualityResponse) String() string
- type PullAirQualityResponse_Change
- func (*PullAirQualityResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirQualityResponse_Change) GetAirQuality() *AirQuality
- func (x *PullAirQualityResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAirQualityResponse_Change) GetName() string
- func (x *PullAirQualityResponse_Change) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PullAirQualityResponse_Change) ProtoMessage()
- func (x *PullAirQualityResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAirQualityResponse_Change) Reset()
- func (x *PullAirQualityResponse_Change) String() string
- type PullAirTemperatureRequest
- func (*PullAirTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirTemperatureRequest) GetName() string
- func (x *PullAirTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullAirTemperatureRequest) GetUpdatesOnly() bool
- func (*PullAirTemperatureRequest) ProtoMessage()
- func (x *PullAirTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *PullAirTemperatureRequest) Reset()
- func (x *PullAirTemperatureRequest) String() string
- type PullAirTemperatureResponse
- func (*PullAirTemperatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirTemperatureResponse) GetChanges() []*PullAirTemperatureResponse_Change
- func (*PullAirTemperatureResponse) ProtoMessage()
- func (x *PullAirTemperatureResponse) ProtoReflect() protoreflect.Message
- func (x *PullAirTemperatureResponse) Reset()
- func (x *PullAirTemperatureResponse) String() string
- type PullAirTemperatureResponse_Change
- func (*PullAirTemperatureResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAirTemperatureResponse_Change) GetAirTemperature() *AirTemperature
- func (x *PullAirTemperatureResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAirTemperatureResponse_Change) GetName() string
- func (*PullAirTemperatureResponse_Change) ProtoMessage()
- func (x *PullAirTemperatureResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAirTemperatureResponse_Change) Reset()
- func (x *PullAirTemperatureResponse_Change) String() string
- type PullAmbientBrightnessRequest
- func (*PullAmbientBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAmbientBrightnessRequest) GetName() string
- func (x *PullAmbientBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullAmbientBrightnessRequest) GetUpdatesOnly() bool
- func (*PullAmbientBrightnessRequest) ProtoMessage()
- func (x *PullAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *PullAmbientBrightnessRequest) Reset()
- func (x *PullAmbientBrightnessRequest) String() string
- type PullAmbientBrightnessResponse
- func (*PullAmbientBrightnessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAmbientBrightnessResponse) GetChanges() []*PullAmbientBrightnessResponse_Change
- func (*PullAmbientBrightnessResponse) ProtoMessage()
- func (x *PullAmbientBrightnessResponse) ProtoReflect() protoreflect.Message
- func (x *PullAmbientBrightnessResponse) Reset()
- func (x *PullAmbientBrightnessResponse) String() string
- type PullAmbientBrightnessResponse_Change
- func (*PullAmbientBrightnessResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullAmbientBrightnessResponse_Change) GetAmbientBrightness() *AmbientBrightness
- func (x *PullAmbientBrightnessResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullAmbientBrightnessResponse_Change) GetName() string
- func (*PullAmbientBrightnessResponse_Change) ProtoMessage()
- func (x *PullAmbientBrightnessResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullAmbientBrightnessResponse_Change) Reset()
- func (x *PullAmbientBrightnessResponse_Change) String() string
- type PullBookingsResponse
- func (*PullBookingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullBookingsResponse) GetChanges() []*PullBookingsResponse_Change
- func (*PullBookingsResponse) ProtoMessage()
- func (x *PullBookingsResponse) ProtoReflect() protoreflect.Message
- func (x *PullBookingsResponse) Reset()
- func (x *PullBookingsResponse) String() string
- type PullBookingsResponse_Change
- func (*PullBookingsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullBookingsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullBookingsResponse_Change) GetName() string
- func (x *PullBookingsResponse_Change) GetNewValue() *Booking
- func (x *PullBookingsResponse_Change) GetOldValue() *Booking
- func (x *PullBookingsResponse_Change) GetType() types.ChangeType
- func (*PullBookingsResponse_Change) ProtoMessage()
- func (x *PullBookingsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullBookingsResponse_Change) Reset()
- func (x *PullBookingsResponse_Change) String() string
- type PullBrightnessRequest
- func (*PullBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullBrightnessRequest) GetExcludeRamping() bool
- func (x *PullBrightnessRequest) GetName() string
- func (x *PullBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullBrightnessRequest) GetUpdatesOnly() bool
- func (*PullBrightnessRequest) ProtoMessage()
- func (x *PullBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *PullBrightnessRequest) Reset()
- func (x *PullBrightnessRequest) String() string
- type PullBrightnessResponse
- func (*PullBrightnessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullBrightnessResponse) GetChanges() []*PullBrightnessResponse_Change
- func (*PullBrightnessResponse) ProtoMessage()
- func (x *PullBrightnessResponse) ProtoReflect() protoreflect.Message
- func (x *PullBrightnessResponse) Reset()
- func (x *PullBrightnessResponse) String() string
- type PullBrightnessResponse_Change
- func (*PullBrightnessResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullBrightnessResponse_Change) GetBrightness() *Brightness
- func (x *PullBrightnessResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullBrightnessResponse_Change) GetName() string
- func (*PullBrightnessResponse_Change) ProtoMessage()
- func (x *PullBrightnessResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullBrightnessResponse_Change) Reset()
- func (x *PullBrightnessResponse_Change) String() string
- type PullChildrenRequest
- func (*PullChildrenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullChildrenRequest) GetName() string
- func (x *PullChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullChildrenRequest) GetUpdatesOnly() bool
- func (*PullChildrenRequest) ProtoMessage()
- func (x *PullChildrenRequest) ProtoReflect() protoreflect.Message
- func (x *PullChildrenRequest) Reset()
- func (x *PullChildrenRequest) String() string
- type PullChildrenResponse
- func (*PullChildrenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullChildrenResponse) GetChanges() []*PullChildrenResponse_Change
- func (*PullChildrenResponse) ProtoMessage()
- func (x *PullChildrenResponse) ProtoReflect() protoreflect.Message
- func (x *PullChildrenResponse) Reset()
- func (x *PullChildrenResponse) String() string
- type PullChildrenResponse_Change
- func (*PullChildrenResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullChildrenResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullChildrenResponse_Change) GetName() string
- func (x *PullChildrenResponse_Change) GetNewValue() *Child
- func (x *PullChildrenResponse_Change) GetOldValue() *Child
- func (x *PullChildrenResponse_Change) GetType() types.ChangeType
- func (*PullChildrenResponse_Change) ProtoMessage()
- func (x *PullChildrenResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullChildrenResponse_Change) Reset()
- func (x *PullChildrenResponse_Change) String() string
- type PullChosenChannelRequest
- func (*PullChosenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullChosenChannelRequest) GetName() string
- func (x *PullChosenChannelRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullChosenChannelRequest) GetUpdatesOnly() bool
- func (*PullChosenChannelRequest) ProtoMessage()
- func (x *PullChosenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *PullChosenChannelRequest) Reset()
- func (x *PullChosenChannelRequest) String() string
- type PullChosenChannelResponse
- func (*PullChosenChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullChosenChannelResponse) GetChanges() []*PullChosenChannelResponse_Change
- func (*PullChosenChannelResponse) ProtoMessage()
- func (x *PullChosenChannelResponse) ProtoReflect() protoreflect.Message
- func (x *PullChosenChannelResponse) Reset()
- func (x *PullChosenChannelResponse) String() string
- type PullChosenChannelResponse_Change
- func (*PullChosenChannelResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullChosenChannelResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullChosenChannelResponse_Change) GetChosenChannel() *Channel
- func (x *PullChosenChannelResponse_Change) GetName() string
- func (*PullChosenChannelResponse_Change) ProtoMessage()
- func (x *PullChosenChannelResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullChosenChannelResponse_Change) Reset()
- func (x *PullChosenChannelResponse_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 PullConsumablesRequest
- func (*PullConsumablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullConsumablesRequest) GetName() string
- func (x *PullConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullConsumablesRequest) GetUpdatesOnly() bool
- func (*PullConsumablesRequest) ProtoMessage()
- func (x *PullConsumablesRequest) ProtoReflect() protoreflect.Message
- func (x *PullConsumablesRequest) Reset()
- func (x *PullConsumablesRequest) String() string
- type PullConsumablesResponse
- func (*PullConsumablesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullConsumablesResponse) GetChanges() []*PullConsumablesResponse_Change
- func (*PullConsumablesResponse) ProtoMessage()
- func (x *PullConsumablesResponse) ProtoReflect() protoreflect.Message
- func (x *PullConsumablesResponse) Reset()
- func (x *PullConsumablesResponse) String() string
- type PullConsumablesResponse_Change
- func (*PullConsumablesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullConsumablesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullConsumablesResponse_Change) GetName() string
- func (x *PullConsumablesResponse_Change) GetNewValue() *Consumable
- func (x *PullConsumablesResponse_Change) GetOldValue() *Consumable
- func (x *PullConsumablesResponse_Change) GetType() types.ChangeType
- func (*PullConsumablesResponse_Change) ProtoMessage()
- func (x *PullConsumablesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullConsumablesResponse_Change) Reset()
- func (x *PullConsumablesResponse_Change) String() string
- type PullCountsRequest
- func (*PullCountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullCountsRequest) GetName() string
- func (x *PullCountsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullCountsRequest) GetUpdatesOnly() bool
- func (*PullCountsRequest) ProtoMessage()
- func (x *PullCountsRequest) ProtoReflect() protoreflect.Message
- func (x *PullCountsRequest) Reset()
- func (x *PullCountsRequest) String() string
- type PullCountsResponse
- func (*PullCountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullCountsResponse) GetChanges() []*PullCountsResponse_Change
- func (*PullCountsResponse) ProtoMessage()
- func (x *PullCountsResponse) ProtoReflect() protoreflect.Message
- func (x *PullCountsResponse) Reset()
- func (x *PullCountsResponse) String() string
- type PullCountsResponse_Change
- func (*PullCountsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullCountsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullCountsResponse_Change) GetCount() *Count
- func (x *PullCountsResponse_Change) GetName() string
- func (*PullCountsResponse_Change) ProtoMessage()
- func (x *PullCountsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullCountsResponse_Change) Reset()
- func (x *PullCountsResponse_Change) String() string
- type PullDemandRequest
- func (*PullDemandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDemandRequest) GetName() string
- func (x *PullDemandRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullDemandRequest) GetUpdatesOnly() bool
- func (*PullDemandRequest) ProtoMessage()
- func (x *PullDemandRequest) ProtoReflect() protoreflect.Message
- func (x *PullDemandRequest) Reset()
- func (x *PullDemandRequest) String() string
- type PullDemandResponse
- func (*PullDemandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullDemandResponse) GetChanges() []*PullDemandResponse_Change
- func (*PullDemandResponse) ProtoMessage()
- func (x *PullDemandResponse) ProtoReflect() protoreflect.Message
- func (x *PullDemandResponse) Reset()
- func (x *PullDemandResponse) String() string
- type PullDemandResponse_Change
- func (*PullDemandResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullDemandResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullDemandResponse_Change) GetDemand() *ElectricDemand
- func (x *PullDemandResponse_Change) GetName() string
- func (*PullDemandResponse_Change) ProtoMessage()
- func (x *PullDemandResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullDemandResponse_Change) Reset()
- func (x *PullDemandResponse_Change) String() string
- type PullEmergencyRequest
- func (*PullEmergencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullEmergencyRequest) GetName() string
- func (x *PullEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullEmergencyRequest) GetUpdatesOnly() bool
- func (*PullEmergencyRequest) ProtoMessage()
- func (x *PullEmergencyRequest) ProtoReflect() protoreflect.Message
- func (x *PullEmergencyRequest) Reset()
- func (x *PullEmergencyRequest) String() string
- type PullEmergencyResponse
- func (*PullEmergencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullEmergencyResponse) GetChanges() []*PullEmergencyResponse_Change
- func (*PullEmergencyResponse) ProtoMessage()
- func (x *PullEmergencyResponse) ProtoReflect() protoreflect.Message
- func (x *PullEmergencyResponse) Reset()
- func (x *PullEmergencyResponse) String() string
- type PullEmergencyResponse_Change
- func (*PullEmergencyResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullEmergencyResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullEmergencyResponse_Change) GetEmergency() *Emergency
- func (x *PullEmergencyResponse_Change) GetName() string
- func (*PullEmergencyResponse_Change) ProtoMessage()
- func (x *PullEmergencyResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullEmergencyResponse_Change) Reset()
- func (x *PullEmergencyResponse_Change) String() string
- type PullEnergyLevelRequest
- func (*PullEnergyLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnergyLevelRequest) GetName() string
- func (x *PullEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullEnergyLevelRequest) GetUpdatesOnly() bool
- func (*PullEnergyLevelRequest) ProtoMessage()
- func (x *PullEnergyLevelRequest) ProtoReflect() protoreflect.Message
- func (x *PullEnergyLevelRequest) Reset()
- func (x *PullEnergyLevelRequest) String() string
- type PullEnergyLevelResponse
- func (*PullEnergyLevelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnergyLevelResponse) GetChanges() []*PullEnergyLevelResponse_Change
- func (*PullEnergyLevelResponse) ProtoMessage()
- func (x *PullEnergyLevelResponse) ProtoReflect() protoreflect.Message
- func (x *PullEnergyLevelResponse) Reset()
- func (x *PullEnergyLevelResponse) String() string
- type PullEnergyLevelResponse_Change
- func (*PullEnergyLevelResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnergyLevelResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullEnergyLevelResponse_Change) GetEnergyLevel() *EnergyLevel
- func (x *PullEnergyLevelResponse_Change) GetName() string
- func (*PullEnergyLevelResponse_Change) ProtoMessage()
- func (x *PullEnergyLevelResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullEnergyLevelResponse_Change) Reset()
- func (x *PullEnergyLevelResponse_Change) String() string
- type PullEnterLeaveEventsRequest
- func (*PullEnterLeaveEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnterLeaveEventsRequest) GetName() string
- func (x *PullEnterLeaveEventsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullEnterLeaveEventsRequest) GetUpdatesOnly() bool
- func (*PullEnterLeaveEventsRequest) ProtoMessage()
- func (x *PullEnterLeaveEventsRequest) ProtoReflect() protoreflect.Message
- func (x *PullEnterLeaveEventsRequest) Reset()
- func (x *PullEnterLeaveEventsRequest) String() string
- type PullEnterLeaveEventsResponse
- func (*PullEnterLeaveEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnterLeaveEventsResponse) GetChanges() []*PullEnterLeaveEventsResponse_Change
- func (*PullEnterLeaveEventsResponse) ProtoMessage()
- func (x *PullEnterLeaveEventsResponse) ProtoReflect() protoreflect.Message
- func (x *PullEnterLeaveEventsResponse) Reset()
- func (x *PullEnterLeaveEventsResponse) String() string
- type PullEnterLeaveEventsResponse_Change
- func (*PullEnterLeaveEventsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullEnterLeaveEventsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullEnterLeaveEventsResponse_Change) GetEnterLeaveEvent() *EnterLeaveEvent
- func (x *PullEnterLeaveEventsResponse_Change) GetName() string
- func (*PullEnterLeaveEventsResponse_Change) ProtoMessage()
- func (x *PullEnterLeaveEventsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullEnterLeaveEventsResponse_Change) Reset()
- func (x *PullEnterLeaveEventsResponse_Change) String() string
- type PullExtensionsRequest
- func (*PullExtensionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullExtensionsRequest) GetName() string
- func (x *PullExtensionsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullExtensionsRequest) GetUpdatesOnly() bool
- func (*PullExtensionsRequest) ProtoMessage()
- func (x *PullExtensionsRequest) ProtoReflect() protoreflect.Message
- func (x *PullExtensionsRequest) Reset()
- func (x *PullExtensionsRequest) String() string
- type PullExtensionsResponse
- func (*PullExtensionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullExtensionsResponse) GetChanges() []*PullExtensionsResponse_Change
- func (*PullExtensionsResponse) ProtoMessage()
- func (x *PullExtensionsResponse) ProtoReflect() protoreflect.Message
- func (x *PullExtensionsResponse) Reset()
- func (x *PullExtensionsResponse) String() string
- type PullExtensionsResponse_Change
- func (*PullExtensionsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullExtensionsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullExtensionsResponse_Change) GetExtension() *Extension
- func (x *PullExtensionsResponse_Change) GetName() string
- func (*PullExtensionsResponse_Change) ProtoMessage()
- func (x *PullExtensionsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullExtensionsResponse_Change) Reset()
- func (x *PullExtensionsResponse_Change) String() string
- type PullFanSpeedRequest
- func (*PullFanSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFanSpeedRequest) GetName() string
- func (x *PullFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullFanSpeedRequest) GetUpdatesOnly() bool
- func (*PullFanSpeedRequest) ProtoMessage()
- func (x *PullFanSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *PullFanSpeedRequest) Reset()
- func (x *PullFanSpeedRequest) String() string
- type PullFanSpeedResponse
- func (*PullFanSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullFanSpeedResponse) GetChanges() []*PullFanSpeedResponse_Change
- func (*PullFanSpeedResponse) ProtoMessage()
- func (x *PullFanSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *PullFanSpeedResponse) Reset()
- func (x *PullFanSpeedResponse) String() string
- type PullFanSpeedResponse_Change
- func (*PullFanSpeedResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullFanSpeedResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullFanSpeedResponse_Change) GetFanSpeed() *FanSpeed
- func (x *PullFanSpeedResponse_Change) GetName() string
- func (*PullFanSpeedResponse_Change) ProtoMessage()
- func (x *PullFanSpeedResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullFanSpeedResponse_Change) Reset()
- func (x *PullFanSpeedResponse_Change) String() string
- type PullHailRequest
- func (*PullHailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailRequest) GetId() string
- func (x *PullHailRequest) GetName() string
- func (x *PullHailRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullHailRequest) GetUpdatesOnly() bool
- func (*PullHailRequest) ProtoMessage()
- func (x *PullHailRequest) ProtoReflect() protoreflect.Message
- func (x *PullHailRequest) Reset()
- func (x *PullHailRequest) String() string
- type PullHailResponse
- func (*PullHailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailResponse) GetChanges() []*PullHailResponse_Change
- func (*PullHailResponse) ProtoMessage()
- func (x *PullHailResponse) ProtoReflect() protoreflect.Message
- func (x *PullHailResponse) Reset()
- func (x *PullHailResponse) String() string
- type PullHailResponse_Change
- func (*PullHailResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullHailResponse_Change) GetHail() *Hail
- func (x *PullHailResponse_Change) GetName() string
- func (*PullHailResponse_Change) ProtoMessage()
- func (x *PullHailResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullHailResponse_Change) Reset()
- func (x *PullHailResponse_Change) String() string
- type PullHailsRequest
- func (*PullHailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailsRequest) GetName() string
- func (x *PullHailsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullHailsRequest) GetUpdatesOnly() bool
- func (*PullHailsRequest) ProtoMessage()
- func (x *PullHailsRequest) ProtoReflect() protoreflect.Message
- func (x *PullHailsRequest) Reset()
- func (x *PullHailsRequest) String() string
- type PullHailsResponse
- func (*PullHailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailsResponse) GetChanges() []*PullHailsResponse_Change
- func (*PullHailsResponse) ProtoMessage()
- func (x *PullHailsResponse) ProtoReflect() protoreflect.Message
- func (x *PullHailsResponse) Reset()
- func (x *PullHailsResponse) String() string
- type PullHailsResponse_Change
- func (*PullHailsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullHailsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullHailsResponse_Change) GetName() string
- func (x *PullHailsResponse_Change) GetNewValue() *Hail
- func (x *PullHailsResponse_Change) GetOldValue() *Hail
- func (x *PullHailsResponse_Change) GetType() types.ChangeType
- func (*PullHailsResponse_Change) ProtoMessage()
- func (x *PullHailsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullHailsResponse_Change) Reset()
- func (x *PullHailsResponse_Change) String() string
- type PullInputRequest
- func (*PullInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullInputRequest) GetName() string
- func (x *PullInputRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullInputRequest) GetUpdatesOnly() bool
- func (*PullInputRequest) ProtoMessage()
- func (x *PullInputRequest) ProtoReflect() protoreflect.Message
- func (x *PullInputRequest) Reset()
- func (x *PullInputRequest) String() string
- type PullInputResponse
- func (*PullInputResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullInputResponse) GetChanges() []*PullInputResponse_Change
- func (*PullInputResponse) ProtoMessage()
- func (x *PullInputResponse) ProtoReflect() protoreflect.Message
- func (x *PullInputResponse) Reset()
- func (x *PullInputResponse) String() string
- type PullInputResponse_Change
- func (*PullInputResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullInputResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullInputResponse_Change) GetInput() *Input
- func (x *PullInputResponse_Change) GetName() string
- func (*PullInputResponse_Change) ProtoMessage()
- func (x *PullInputResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullInputResponse_Change) Reset()
- func (x *PullInputResponse_Change) String() string
- type PullInventoryRequest
- func (*PullInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullInventoryRequest) GetName() string
- func (x *PullInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullInventoryRequest) GetUpdatesOnly() bool
- func (*PullInventoryRequest) ProtoMessage()
- func (x *PullInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *PullInventoryRequest) Reset()
- func (x *PullInventoryRequest) String() string
- type PullInventoryResponse
- func (*PullInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullInventoryResponse) GetChanges() []*PullInventoryResponse_Change
- func (*PullInventoryResponse) ProtoMessage()
- func (x *PullInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *PullInventoryResponse) Reset()
- func (x *PullInventoryResponse) String() string
- type PullInventoryResponse_Change
- func (*PullInventoryResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullInventoryResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullInventoryResponse_Change) GetName() string
- func (x *PullInventoryResponse_Change) GetNewValue() *Consumable_Stock
- func (x *PullInventoryResponse_Change) GetOldValue() *Consumable_Stock
- func (x *PullInventoryResponse_Change) GetType() types.ChangeType
- func (*PullInventoryResponse_Change) ProtoMessage()
- func (x *PullInventoryResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullInventoryResponse_Change) Reset()
- func (x *PullInventoryResponse_Change) String() string
- type PullLockUnlockRequest
- func (*PullLockUnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullLockUnlockRequest) GetName() string
- func (x *PullLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullLockUnlockRequest) GetUpdatesOnly() bool
- func (*PullLockUnlockRequest) ProtoMessage()
- func (x *PullLockUnlockRequest) ProtoReflect() protoreflect.Message
- func (x *PullLockUnlockRequest) Reset()
- func (x *PullLockUnlockRequest) String() string
- type PullLockUnlockResponse
- func (*PullLockUnlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullLockUnlockResponse) GetChanges() []*PullLockUnlockResponse_Change
- func (*PullLockUnlockResponse) ProtoMessage()
- func (x *PullLockUnlockResponse) ProtoReflect() protoreflect.Message
- func (x *PullLockUnlockResponse) Reset()
- func (x *PullLockUnlockResponse) String() string
- type PullLockUnlockResponse_Change
- func (*PullLockUnlockResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullLockUnlockResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullLockUnlockResponse_Change) GetLockUnlock() *LockUnlock
- func (x *PullLockUnlockResponse_Change) GetName() string
- func (*PullLockUnlockResponse_Change) ProtoMessage()
- func (x *PullLockUnlockResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullLockUnlockResponse_Change) Reset()
- func (x *PullLockUnlockResponse_Change) String() string
- type PullMetadataRequest
- func (*PullMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullMetadataRequest) GetName() string
- func (x *PullMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullMetadataRequest) GetUpdatesOnly() bool
- func (*PullMetadataRequest) ProtoMessage()
- func (x *PullMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *PullMetadataRequest) Reset()
- func (x *PullMetadataRequest) String() string
- type PullMetadataResponse
- func (*PullMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullMetadataResponse) GetChanges() []*PullMetadataResponse_Change
- func (*PullMetadataResponse) ProtoMessage()
- func (x *PullMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *PullMetadataResponse) Reset()
- func (x *PullMetadataResponse) String() string
- type PullMetadataResponse_Change
- func (*PullMetadataResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullMetadataResponse_Change) GetMetadata() *Metadata
- func (x *PullMetadataResponse_Change) GetName() string
- func (*PullMetadataResponse_Change) ProtoMessage()
- func (x *PullMetadataResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullMetadataResponse_Change) Reset()
- func (x *PullMetadataResponse_Change) 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 PullMicrophoneGainRequest
- func (*PullMicrophoneGainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullMicrophoneGainRequest) GetName() string
- func (x *PullMicrophoneGainRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullMicrophoneGainRequest) GetUpdatesOnly() bool
- func (*PullMicrophoneGainRequest) ProtoMessage()
- func (x *PullMicrophoneGainRequest) ProtoReflect() protoreflect.Message
- func (x *PullMicrophoneGainRequest) Reset()
- func (x *PullMicrophoneGainRequest) String() string
- type PullMicrophoneGainResponse
- func (*PullMicrophoneGainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullMicrophoneGainResponse) GetChanges() []*types.AudioLevelChange
- func (*PullMicrophoneGainResponse) ProtoMessage()
- func (x *PullMicrophoneGainResponse) ProtoReflect() protoreflect.Message
- func (x *PullMicrophoneGainResponse) Reset()
- func (x *PullMicrophoneGainResponse) String() string
- type PullModeValuesRequest
- func (*PullModeValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullModeValuesRequest) GetName() string
- func (x *PullModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullModeValuesRequest) GetUpdatesOnly() bool
- func (*PullModeValuesRequest) ProtoMessage()
- func (x *PullModeValuesRequest) ProtoReflect() protoreflect.Message
- func (x *PullModeValuesRequest) Reset()
- func (x *PullModeValuesRequest) String() string
- type PullModeValuesResponse
- func (*PullModeValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullModeValuesResponse) GetChanges() []*PullModeValuesResponse_Change
- func (*PullModeValuesResponse) ProtoMessage()
- func (x *PullModeValuesResponse) ProtoReflect() protoreflect.Message
- func (x *PullModeValuesResponse) Reset()
- func (x *PullModeValuesResponse) String() string
- type PullModeValuesResponse_Change
- func (*PullModeValuesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullModeValuesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullModeValuesResponse_Change) GetModeValues() *ModeValues
- func (x *PullModeValuesResponse_Change) GetName() string
- func (*PullModeValuesResponse_Change) ProtoMessage()
- func (x *PullModeValuesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullModeValuesResponse_Change) Reset()
- func (x *PullModeValuesResponse_Change) String() string
- type PullModesRequest
- func (*PullModesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullModesRequest) GetName() string
- func (x *PullModesRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullModesRequest) GetUpdatesOnly() bool
- func (*PullModesRequest) ProtoMessage()
- func (x *PullModesRequest) ProtoReflect() protoreflect.Message
- func (x *PullModesRequest) Reset()
- func (x *PullModesRequest) String() string
- type PullModesResponse
- func (*PullModesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullModesResponse) GetChanges() []*PullModesResponse_Change
- func (*PullModesResponse) ProtoMessage()
- func (x *PullModesResponse) ProtoReflect() protoreflect.Message
- func (x *PullModesResponse) Reset()
- func (x *PullModesResponse) String() string
- type PullModesResponse_Change
- func (*PullModesResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullModesResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullModesResponse_Change) GetName() string
- func (x *PullModesResponse_Change) GetNewValue() *ElectricMode
- func (x *PullModesResponse_Change) GetOldValue() *ElectricMode
- func (x *PullModesResponse_Change) GetType() types.ChangeType
- func (*PullModesResponse_Change) ProtoMessage()
- func (x *PullModesResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullModesResponse_Change) Reset()
- func (x *PullModesResponse_Change) String() string
- type PullMotionDetectionRequest
- func (*PullMotionDetectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullMotionDetectionRequest) GetName() string
- func (x *PullMotionDetectionRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullMotionDetectionRequest) GetUpdatesOnly() bool
- func (*PullMotionDetectionRequest) ProtoMessage()
- func (x *PullMotionDetectionRequest) ProtoReflect() protoreflect.Message
- func (x *PullMotionDetectionRequest) Reset()
- func (x *PullMotionDetectionRequest) String() string
- type PullMotionDetectionResponse
- func (*PullMotionDetectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullMotionDetectionResponse) GetChanges() []*PullMotionDetectionResponse_Change
- func (*PullMotionDetectionResponse) ProtoMessage()
- func (x *PullMotionDetectionResponse) ProtoReflect() protoreflect.Message
- func (x *PullMotionDetectionResponse) Reset()
- func (x *PullMotionDetectionResponse) String() string
- type PullMotionDetectionResponse_Change
- func (*PullMotionDetectionResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullMotionDetectionResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullMotionDetectionResponse_Change) GetMotionDetection() *MotionDetection
- func (x *PullMotionDetectionResponse_Change) GetName() string
- func (*PullMotionDetectionResponse_Change) ProtoMessage()
- func (x *PullMotionDetectionResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullMotionDetectionResponse_Change) Reset()
- func (x *PullMotionDetectionResponse_Change) String() string
- type PullOccupancyRequest
- func (*PullOccupancyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullOccupancyRequest) GetName() string
- func (x *PullOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullOccupancyRequest) GetUpdatesOnly() bool
- func (*PullOccupancyRequest) ProtoMessage()
- func (x *PullOccupancyRequest) ProtoReflect() protoreflect.Message
- func (x *PullOccupancyRequest) Reset()
- func (x *PullOccupancyRequest) String() string
- type PullOccupancyResponse
- func (*PullOccupancyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullOccupancyResponse) GetChanges() []*PullOccupancyResponse_Change
- func (*PullOccupancyResponse) ProtoMessage()
- func (x *PullOccupancyResponse) ProtoReflect() protoreflect.Message
- func (x *PullOccupancyResponse) Reset()
- func (x *PullOccupancyResponse) String() string
- type PullOccupancyResponse_Change
- func (*PullOccupancyResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullOccupancyResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullOccupancyResponse_Change) GetName() string
- func (x *PullOccupancyResponse_Change) GetOccupancy() *Occupancy
- func (*PullOccupancyResponse_Change) ProtoMessage()
- func (x *PullOccupancyResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullOccupancyResponse_Change) Reset()
- func (x *PullOccupancyResponse_Change) String() string
- type PullOnOffRequest
- func (*PullOnOffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullOnOffRequest) GetName() string
- func (x *PullOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullOnOffRequest) GetUpdatesOnly() bool
- func (*PullOnOffRequest) ProtoMessage()
- func (x *PullOnOffRequest) ProtoReflect() protoreflect.Message
- func (x *PullOnOffRequest) Reset()
- func (x *PullOnOffRequest) String() string
- type PullOnOffResponse
- func (*PullOnOffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullOnOffResponse) GetChanges() []*PullOnOffResponse_Change
- func (*PullOnOffResponse) ProtoMessage()
- func (x *PullOnOffResponse) ProtoReflect() protoreflect.Message
- func (x *PullOnOffResponse) Reset()
- func (x *PullOnOffResponse) String() string
- type PullOnOffResponse_Change
- func (*PullOnOffResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullOnOffResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullOnOffResponse_Change) GetName() string
- func (x *PullOnOffResponse_Change) GetOnOff() *OnOff
- func (*PullOnOffResponse_Change) ProtoMessage()
- func (x *PullOnOffResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullOnOffResponse_Change) Reset()
- func (x *PullOnOffResponse_Change) String() string
- type PullOpenClosePositionsRequest
- func (*PullOpenClosePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullOpenClosePositionsRequest) GetExcludeTweening() bool
- func (x *PullOpenClosePositionsRequest) GetName() string
- func (x *PullOpenClosePositionsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullOpenClosePositionsRequest) GetUpdatesOnly() bool
- func (*PullOpenClosePositionsRequest) ProtoMessage()
- func (x *PullOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *PullOpenClosePositionsRequest) Reset()
- func (x *PullOpenClosePositionsRequest) String() string
- type PullOpenClosePositionsResponse
- func (*PullOpenClosePositionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullOpenClosePositionsResponse) GetChanges() []*PullOpenClosePositionsResponse_Change
- func (*PullOpenClosePositionsResponse) ProtoMessage()
- func (x *PullOpenClosePositionsResponse) ProtoReflect() protoreflect.Message
- func (x *PullOpenClosePositionsResponse) Reset()
- func (x *PullOpenClosePositionsResponse) String() string
- type PullOpenClosePositionsResponse_Change
- func (*PullOpenClosePositionsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullOpenClosePositionsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullOpenClosePositionsResponse_Change) GetName() string
- func (x *PullOpenClosePositionsResponse_Change) GetOpenClosePosition() *OpenClosePositions
- func (*PullOpenClosePositionsResponse_Change) ProtoMessage()
- func (x *PullOpenClosePositionsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullOpenClosePositionsResponse_Change) Reset()
- func (x *PullOpenClosePositionsResponse_Change) String() string
- type PullPressedStateRequest
- func (*PullPressedStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPressedStateRequest) GetName() string
- func (x *PullPressedStateRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullPressedStateRequest) GetUpdatesOnly() bool
- func (*PullPressedStateRequest) ProtoMessage()
- func (x *PullPressedStateRequest) ProtoReflect() protoreflect.Message
- func (x *PullPressedStateRequest) Reset()
- func (x *PullPressedStateRequest) String() string
- type PullPressedStateResponse
- func (*PullPressedStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullPressedStateResponse) GetChanges() []*PullPressedStateResponse_Change
- func (*PullPressedStateResponse) ProtoMessage()
- func (x *PullPressedStateResponse) ProtoReflect() protoreflect.Message
- func (x *PullPressedStateResponse) Reset()
- func (x *PullPressedStateResponse) String() string
- type PullPressedStateResponse_Change
- func (*PullPressedStateResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullPressedStateResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullPressedStateResponse_Change) GetName() string
- func (x *PullPressedStateResponse_Change) GetPressedState() *PressedState
- func (*PullPressedStateResponse_Change) ProtoMessage()
- func (x *PullPressedStateResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullPressedStateResponse_Change) Reset()
- func (x *PullPressedStateResponse_Change) String() string
- type PullPtzRequest
- func (*PullPtzRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPtzRequest) GetName() string
- func (x *PullPtzRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullPtzRequest) GetUpdatesOnly() bool
- func (*PullPtzRequest) ProtoMessage()
- func (x *PullPtzRequest) ProtoReflect() protoreflect.Message
- func (x *PullPtzRequest) Reset()
- func (x *PullPtzRequest) String() string
- type PullPtzResponse
- func (*PullPtzResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullPtzResponse) GetChanges() []*PullPtzResponse_Change
- func (*PullPtzResponse) ProtoMessage()
- func (x *PullPtzResponse) ProtoReflect() protoreflect.Message
- func (x *PullPtzResponse) Reset()
- func (x *PullPtzResponse) String() string
- type PullPtzResponse_Change
- func (*PullPtzResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullPtzResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullPtzResponse_Change) GetName() string
- func (x *PullPtzResponse_Change) GetPtz() *Ptz
- func (*PullPtzResponse_Change) ProtoMessage()
- func (x *PullPtzResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullPtzResponse_Change) Reset()
- func (x *PullPtzResponse_Change) String() string
- type PullPublicationRequest
- func (*PullPublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationRequest) GetId() string
- func (x *PullPublicationRequest) GetName() string
- func (x *PullPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullPublicationRequest) GetUpdatesOnly() bool
- func (*PullPublicationRequest) ProtoMessage()
- func (x *PullPublicationRequest) ProtoReflect() protoreflect.Message
- func (x *PullPublicationRequest) Reset()
- func (x *PullPublicationRequest) String() string
- type PullPublicationResponse
- func (*PullPublicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationResponse) GetChanges() []*PullPublicationResponse_Change
- func (*PullPublicationResponse) ProtoMessage()
- func (x *PullPublicationResponse) ProtoReflect() protoreflect.Message
- func (x *PullPublicationResponse) Reset()
- func (x *PullPublicationResponse) String() string
- type PullPublicationResponse_Change
- func (*PullPublicationResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullPublicationResponse_Change) GetName() string
- func (x *PullPublicationResponse_Change) GetPublication() *Publication
- func (*PullPublicationResponse_Change) ProtoMessage()
- func (x *PullPublicationResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullPublicationResponse_Change) Reset()
- func (x *PullPublicationResponse_Change) String() string
- type PullPublicationsRequest
- func (*PullPublicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationsRequest) GetName() string
- func (x *PullPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullPublicationsRequest) GetUpdatesOnly() bool
- func (*PullPublicationsRequest) ProtoMessage()
- func (x *PullPublicationsRequest) ProtoReflect() protoreflect.Message
- func (x *PullPublicationsRequest) Reset()
- func (x *PullPublicationsRequest) String() string
- type PullPublicationsResponse
- func (*PullPublicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationsResponse) GetChanges() []*PullPublicationsResponse_Change
- func (*PullPublicationsResponse) ProtoMessage()
- func (x *PullPublicationsResponse) ProtoReflect() protoreflect.Message
- func (x *PullPublicationsResponse) Reset()
- func (x *PullPublicationsResponse) String() string
- type PullPublicationsResponse_Change
- func (*PullPublicationsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullPublicationsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullPublicationsResponse_Change) GetName() string
- func (x *PullPublicationsResponse_Change) GetNewValue() *Publication
- func (x *PullPublicationsResponse_Change) GetOldValue() *Publication
- func (x *PullPublicationsResponse_Change) GetType() types.ChangeType
- func (*PullPublicationsResponse_Change) ProtoMessage()
- func (x *PullPublicationsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullPublicationsResponse_Change) Reset()
- func (x *PullPublicationsResponse_Change) String() string
- type PullSpeakerVolumeRequest
- func (*PullSpeakerVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullSpeakerVolumeRequest) GetName() string
- func (x *PullSpeakerVolumeRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullSpeakerVolumeRequest) GetUpdatesOnly() bool
- func (*PullSpeakerVolumeRequest) ProtoMessage()
- func (x *PullSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *PullSpeakerVolumeRequest) Reset()
- func (x *PullSpeakerVolumeRequest) String() string
- type PullSpeakerVolumeResponse
- func (*PullSpeakerVolumeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullSpeakerVolumeResponse) GetChanges() []*types.AudioLevelChange
- func (*PullSpeakerVolumeResponse) ProtoMessage()
- func (x *PullSpeakerVolumeResponse) ProtoReflect() protoreflect.Message
- func (x *PullSpeakerVolumeResponse) Reset()
- func (x *PullSpeakerVolumeResponse) String() string
- type PullStockRequest
- func (*PullStockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullStockRequest) GetConsumable() string
- func (x *PullStockRequest) GetName() string
- func (x *PullStockRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullStockRequest) GetUpdatesOnly() bool
- func (*PullStockRequest) ProtoMessage()
- func (x *PullStockRequest) ProtoReflect() protoreflect.Message
- func (x *PullStockRequest) Reset()
- func (x *PullStockRequest) String() string
- type PullStockResponse
- func (*PullStockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullStockResponse) GetChanges() []*PullStockResponse_Change
- func (*PullStockResponse) ProtoMessage()
- func (x *PullStockResponse) ProtoReflect() protoreflect.Message
- func (x *PullStockResponse) Reset()
- func (x *PullStockResponse) String() string
- type PullStockResponse_Change
- func (*PullStockResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullStockResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullStockResponse_Change) GetName() string
- func (x *PullStockResponse_Change) GetStock() *Consumable_Stock
- func (*PullStockResponse_Change) ProtoMessage()
- func (x *PullStockResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullStockResponse_Change) Reset()
- func (x *PullStockResponse_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 PullWasteRecordsRequest
- func (*PullWasteRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullWasteRecordsRequest) GetName() string
- func (x *PullWasteRecordsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (x *PullWasteRecordsRequest) GetUpdatesOnly() bool
- func (*PullWasteRecordsRequest) ProtoMessage()
- func (x *PullWasteRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *PullWasteRecordsRequest) Reset()
- func (x *PullWasteRecordsRequest) String() string
- type PullWasteRecordsResponse
- func (*PullWasteRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullWasteRecordsResponse) GetChanges() []*PullWasteRecordsResponse_Change
- func (*PullWasteRecordsResponse) ProtoMessage()
- func (x *PullWasteRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *PullWasteRecordsResponse) Reset()
- func (x *PullWasteRecordsResponse) String() string
- type PullWasteRecordsResponse_Change
- func (*PullWasteRecordsResponse_Change) Descriptor() ([]byte, []int)deprecated
- func (x *PullWasteRecordsResponse_Change) GetChangeTime() *timestamppb.Timestamp
- func (x *PullWasteRecordsResponse_Change) GetName() string
- func (x *PullWasteRecordsResponse_Change) GetNewValue() *WasteRecord
- func (x *PullWasteRecordsResponse_Change) GetOldValue() *WasteRecord
- func (x *PullWasteRecordsResponse_Change) GetType() types.ChangeType
- func (*PullWasteRecordsResponse_Change) ProtoMessage()
- func (x *PullWasteRecordsResponse_Change) ProtoReflect() protoreflect.Message
- func (x *PullWasteRecordsResponse_Change) Reset()
- func (x *PullWasteRecordsResponse_Change) String() string
- type ResetCountRequest
- func (*ResetCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetCountRequest) GetName() string
- func (x *ResetCountRequest) GetResetTime() *timestamppb.Timestamp
- func (*ResetCountRequest) ProtoMessage()
- func (x *ResetCountRequest) ProtoReflect() protoreflect.Message
- func (x *ResetCountRequest) Reset()
- func (x *ResetCountRequest) String() string
- type ResetEnterLeaveTotalsRequest
- func (*ResetEnterLeaveTotalsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetEnterLeaveTotalsRequest) GetName() string
- func (*ResetEnterLeaveTotalsRequest) ProtoMessage()
- func (x *ResetEnterLeaveTotalsRequest) ProtoReflect() protoreflect.Message
- func (x *ResetEnterLeaveTotalsRequest) Reset()
- func (x *ResetEnterLeaveTotalsRequest) String() string
- type ResetEnterLeaveTotalsResponse
- func (*ResetEnterLeaveTotalsResponse) Descriptor() ([]byte, []int)deprecated
- func (*ResetEnterLeaveTotalsResponse) ProtoMessage()
- func (x *ResetEnterLeaveTotalsResponse) ProtoReflect() protoreflect.Message
- func (x *ResetEnterLeaveTotalsResponse) Reset()
- func (x *ResetEnterLeaveTotalsResponse) String() string
- type ReturnChannelRequest
- func (*ReturnChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReturnChannelRequest) GetName() string
- func (*ReturnChannelRequest) ProtoMessage()
- func (x *ReturnChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ReturnChannelRequest) Reset()
- func (x *ReturnChannelRequest) String() string
- type ReverseFanSpeedDirectionRequest
- func (*ReverseFanSpeedDirectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReverseFanSpeedDirectionRequest) GetName() string
- func (*ReverseFanSpeedDirectionRequest) ProtoMessage()
- func (x *ReverseFanSpeedDirectionRequest) ProtoReflect() protoreflect.Message
- func (x *ReverseFanSpeedDirectionRequest) Reset()
- func (x *ReverseFanSpeedDirectionRequest) String() string
- type SpeakerApiClient
- type SpeakerApiServer
- type SpeakerApi_PullVolumeClient
- type SpeakerApi_PullVolumeServer
- type SpeakerInfoClient
- type SpeakerInfoServer
- type StopDispenseRequest
- func (*StopDispenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopDispenseRequest) GetConsumable() string
- func (x *StopDispenseRequest) GetName() string
- func (*StopDispenseRequest) ProtoMessage()
- func (x *StopDispenseRequest) ProtoReflect() protoreflect.Message
- func (x *StopDispenseRequest) Reset()
- func (x *StopDispenseRequest) String() string
- type StopOpenCloseRequest
- func (*StopOpenCloseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopOpenCloseRequest) GetName() string
- func (*StopOpenCloseRequest) ProtoMessage()
- func (x *StopOpenCloseRequest) ProtoReflect() protoreflect.Message
- func (x *StopOpenCloseRequest) Reset()
- func (x *StopOpenCloseRequest) String() string
- type StopPtzRequest
- 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 TemperatureApiServer
- type TemperatureApi_PullTemperatureClient
- type TemperatureApi_PullTemperatureServer
- type TemperatureRange
- func (*TemperatureRange) Descriptor() ([]byte, []int)deprecated
- func (x *TemperatureRange) GetHigh() *types.Temperature
- func (x *TemperatureRange) GetIdeal() *types.Temperature
- func (x *TemperatureRange) GetLow() *types.Temperature
- func (*TemperatureRange) ProtoMessage()
- func (x *TemperatureRange) ProtoReflect() protoreflect.Message
- func (x *TemperatureRange) Reset()
- func (x *TemperatureRange) String() string
- type Trait
- type TraitMetadata
- func (*TraitMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TraitMetadata) GetMore() map[string]string
- func (x *TraitMetadata) GetName() string
- func (*TraitMetadata) ProtoMessage()
- func (x *TraitMetadata) ProtoReflect() protoreflect.Message
- func (x *TraitMetadata) Reset()
- func (x *TraitMetadata) String() string
- type UnimplementedAccessApiServer
- type UnimplementedAirQualitySensorApiServer
- type UnimplementedAirQualitySensorInfoServer
- type UnimplementedAirTemperatureApiServer
- func (UnimplementedAirTemperatureApiServer) GetAirTemperature(context.Context, *GetAirTemperatureRequest) (*AirTemperature, error)
- func (UnimplementedAirTemperatureApiServer) PullAirTemperature(*PullAirTemperatureRequest, ...) error
- func (UnimplementedAirTemperatureApiServer) UpdateAirTemperature(context.Context, *UpdateAirTemperatureRequest) (*AirTemperature, error)
- type UnimplementedAirTemperatureInfoServer
- type UnimplementedBookingApiServer
- func (UnimplementedBookingApiServer) CheckInBooking(context.Context, *CheckInBookingRequest) (*CheckInBookingResponse, error)
- func (UnimplementedBookingApiServer) CheckOutBooking(context.Context, *CheckOutBookingRequest) (*CheckOutBookingResponse, error)
- func (UnimplementedBookingApiServer) CreateBooking(context.Context, *CreateBookingRequest) (*CreateBookingResponse, error)
- func (UnimplementedBookingApiServer) ListBookings(context.Context, *ListBookingsRequest) (*ListBookingsResponse, error)
- func (UnimplementedBookingApiServer) PullBookings(*ListBookingsRequest, grpc.ServerStreamingServer[PullBookingsResponse]) error
- func (UnimplementedBookingApiServer) UpdateBooking(context.Context, *UpdateBookingRequest) (*UpdateBookingResponse, error)
- type UnimplementedBookingInfoServer
- type UnimplementedBrightnessSensorApiServer
- type UnimplementedBrightnessSensorInfoServer
- type UnimplementedChannelApiServer
- func (UnimplementedChannelApiServer) AdjustChannel(context.Context, *AdjustChannelRequest) (*Channel, error)
- func (UnimplementedChannelApiServer) ChooseChannel(context.Context, *ChooseChannelRequest) (*Channel, error)
- func (UnimplementedChannelApiServer) GetChosenChannel(context.Context, *GetChosenChannelRequest) (*Channel, error)
- func (UnimplementedChannelApiServer) PullChosenChannel(*PullChosenChannelRequest, ...) error
- func (UnimplementedChannelApiServer) ReturnChannel(context.Context, *ReturnChannelRequest) (*Channel, error)
- type UnimplementedChannelInfoServer
- type UnimplementedColorApiServer
- func (UnimplementedColorApiServer) GetColor(context.Context, *GetColorRequest) (*Color, error)
- func (UnimplementedColorApiServer) PullColor(*PullColorRequest, grpc.ServerStreamingServer[PullColorResponse]) error
- func (UnimplementedColorApiServer) UpdateColor(context.Context, *UpdateColorRequest) (*Color, error)
- type UnimplementedColorInfoServer
- type UnimplementedCountApiServer
- func (UnimplementedCountApiServer) GetCount(context.Context, *GetCountRequest) (*Count, error)
- func (UnimplementedCountApiServer) PullCounts(*PullCountsRequest, grpc.ServerStreamingServer[PullCountsResponse]) error
- func (UnimplementedCountApiServer) ResetCount(context.Context, *ResetCountRequest) (*Count, error)
- func (UnimplementedCountApiServer) UpdateCount(context.Context, *UpdateCountRequest) (*Count, error)
- type UnimplementedCountInfoServer
- type UnimplementedElectricApiServer
- func (UnimplementedElectricApiServer) ClearActiveMode(context.Context, *ClearActiveModeRequest) (*ElectricMode, error)
- func (UnimplementedElectricApiServer) GetActiveMode(context.Context, *GetActiveModeRequest) (*ElectricMode, error)
- func (UnimplementedElectricApiServer) GetDemand(context.Context, *GetDemandRequest) (*ElectricDemand, error)
- func (UnimplementedElectricApiServer) ListModes(context.Context, *ListModesRequest) (*ListModesResponse, error)
- func (UnimplementedElectricApiServer) PullActiveMode(*PullActiveModeRequest, grpc.ServerStreamingServer[PullActiveModeResponse]) error
- func (UnimplementedElectricApiServer) PullDemand(*PullDemandRequest, grpc.ServerStreamingServer[PullDemandResponse]) error
- func (UnimplementedElectricApiServer) PullModes(*PullModesRequest, grpc.ServerStreamingServer[PullModesResponse]) error
- func (UnimplementedElectricApiServer) UpdateActiveMode(context.Context, *UpdateActiveModeRequest) (*ElectricMode, error)
- type UnimplementedElectricInfoServer
- type UnimplementedEmergencyApiServer
- func (UnimplementedEmergencyApiServer) GetEmergency(context.Context, *GetEmergencyRequest) (*Emergency, error)
- func (UnimplementedEmergencyApiServer) PullEmergency(*PullEmergencyRequest, grpc.ServerStreamingServer[PullEmergencyResponse]) error
- func (UnimplementedEmergencyApiServer) UpdateEmergency(context.Context, *UpdateEmergencyRequest) (*Emergency, error)
- type UnimplementedEmergencyInfoServer
- type UnimplementedEnergyStorageApiServer
- func (UnimplementedEnergyStorageApiServer) Charge(context.Context, *ChargeRequest) (*ChargeResponse, error)
- func (UnimplementedEnergyStorageApiServer) GetEnergyLevel(context.Context, *GetEnergyLevelRequest) (*EnergyLevel, error)
- func (UnimplementedEnergyStorageApiServer) PullEnergyLevel(*PullEnergyLevelRequest, grpc.ServerStreamingServer[PullEnergyLevelResponse]) error
- type UnimplementedEnergyStorageInfoServer
- type UnimplementedEnterLeaveSensorApiServer
- func (UnimplementedEnterLeaveSensorApiServer) GetEnterLeaveEvent(context.Context, *GetEnterLeaveEventRequest) (*EnterLeaveEvent, error)
- func (UnimplementedEnterLeaveSensorApiServer) PullEnterLeaveEvents(*PullEnterLeaveEventsRequest, ...) error
- func (UnimplementedEnterLeaveSensorApiServer) ResetEnterLeaveTotals(context.Context, *ResetEnterLeaveTotalsRequest) (*ResetEnterLeaveTotalsResponse, error)
- type UnimplementedEnterLeaveSensorInfoServer
- type UnimplementedExtendRetractApiServer
- func (UnimplementedExtendRetractApiServer) CreateExtensionPreset(context.Context, *CreateExtensionPresetRequest) (*ExtensionPreset, error)
- func (UnimplementedExtendRetractApiServer) GetExtension(context.Context, *GetExtensionRequest) (*Extension, error)
- func (UnimplementedExtendRetractApiServer) PullExtensions(*PullExtensionsRequest, grpc.ServerStreamingServer[PullExtensionsResponse]) error
- func (UnimplementedExtendRetractApiServer) Stop(context.Context, *ExtendRetractStopRequest) (*Extension, error)
- func (UnimplementedExtendRetractApiServer) UpdateExtension(context.Context, *UpdateExtensionRequest) (*Extension, error)
- type UnimplementedExtendRetractInfoServer
- type UnimplementedFanSpeedApiServer
- func (UnimplementedFanSpeedApiServer) GetFanSpeed(context.Context, *GetFanSpeedRequest) (*FanSpeed, error)
- func (UnimplementedFanSpeedApiServer) PullFanSpeed(*PullFanSpeedRequest, grpc.ServerStreamingServer[PullFanSpeedResponse]) error
- func (UnimplementedFanSpeedApiServer) ReverseFanSpeedDirection(context.Context, *ReverseFanSpeedDirectionRequest) (*FanSpeed, error)
- func (UnimplementedFanSpeedApiServer) UpdateFanSpeed(context.Context, *UpdateFanSpeedRequest) (*FanSpeed, error)
- type UnimplementedFanSpeedInfoServer
- type UnimplementedHailApiServer
- func (UnimplementedHailApiServer) CreateHail(context.Context, *CreateHailRequest) (*Hail, error)
- func (UnimplementedHailApiServer) DeleteHail(context.Context, *DeleteHailRequest) (*DeleteHailResponse, error)
- func (UnimplementedHailApiServer) GetHail(context.Context, *GetHailRequest) (*Hail, error)
- func (UnimplementedHailApiServer) ListHails(context.Context, *ListHailsRequest) (*ListHailsResponse, error)
- func (UnimplementedHailApiServer) PullHail(*PullHailRequest, grpc.ServerStreamingServer[PullHailResponse]) error
- func (UnimplementedHailApiServer) PullHails(*PullHailsRequest, grpc.ServerStreamingServer[PullHailsResponse]) error
- func (UnimplementedHailApiServer) UpdateHail(context.Context, *UpdateHailRequest) (*Hail, error)
- type UnimplementedHailInfoServer
- type UnimplementedInputSelectApiServer
- func (UnimplementedInputSelectApiServer) GetInput(context.Context, *GetInputRequest) (*Input, error)
- func (UnimplementedInputSelectApiServer) PullInput(*PullInputRequest, grpc.ServerStreamingServer[PullInputResponse]) error
- func (UnimplementedInputSelectApiServer) UpdateInput(context.Context, *UpdateInputRequest) (*Input, error)
- type UnimplementedInputSelectInfoServer
- type UnimplementedLightApiServer
- func (UnimplementedLightApiServer) GetBrightness(context.Context, *GetBrightnessRequest) (*Brightness, error)
- func (UnimplementedLightApiServer) PullBrightness(*PullBrightnessRequest, grpc.ServerStreamingServer[PullBrightnessResponse]) error
- func (UnimplementedLightApiServer) UpdateBrightness(context.Context, *UpdateBrightnessRequest) (*Brightness, error)
- type UnimplementedLightInfoServer
- type UnimplementedLockUnlockApiServer
- func (UnimplementedLockUnlockApiServer) GetLockUnlock(context.Context, *GetLockUnlockRequest) (*LockUnlock, error)
- func (UnimplementedLockUnlockApiServer) PullLockUnlock(*PullLockUnlockRequest, grpc.ServerStreamingServer[PullLockUnlockResponse]) error
- func (UnimplementedLockUnlockApiServer) UpdateLockUnlock(context.Context, *UpdateLockUnlockRequest) (*LockUnlock, error)
- type UnimplementedLockUnlockInfoServer
- type UnimplementedMetadataApiServer
- type UnimplementedMetadataInfoServer
- type UnimplementedMeterApiServer
- type UnimplementedMeterInfoServer
- type UnimplementedMicrophoneApiServer
- func (UnimplementedMicrophoneApiServer) GetGain(context.Context, *GetMicrophoneGainRequest) (*types.AudioLevel, error)
- func (UnimplementedMicrophoneApiServer) PullGain(*PullMicrophoneGainRequest, ...) error
- func (UnimplementedMicrophoneApiServer) UpdateGain(context.Context, *UpdateMicrophoneGainRequest) (*types.AudioLevel, error)
- type UnimplementedMicrophoneInfoServer
- type UnimplementedModeApiServer
- func (UnimplementedModeApiServer) GetModeValues(context.Context, *GetModeValuesRequest) (*ModeValues, error)
- func (UnimplementedModeApiServer) PullModeValues(*PullModeValuesRequest, grpc.ServerStreamingServer[PullModeValuesResponse]) error
- func (UnimplementedModeApiServer) UpdateModeValues(context.Context, *UpdateModeValuesRequest) (*ModeValues, error)
- type UnimplementedModeInfoServer
- type UnimplementedMotionSensorApiServer
- type UnimplementedMotionSensorSensorInfoServer
- type UnimplementedOccupancySensorApiServer
- type UnimplementedOccupancySensorInfoServer
- type UnimplementedOnOffApiServer
- func (UnimplementedOnOffApiServer) GetOnOff(context.Context, *GetOnOffRequest) (*OnOff, error)
- func (UnimplementedOnOffApiServer) PullOnOff(*PullOnOffRequest, grpc.ServerStreamingServer[PullOnOffResponse]) error
- func (UnimplementedOnOffApiServer) UpdateOnOff(context.Context, *UpdateOnOffRequest) (*OnOff, error)
- type UnimplementedOnOffInfoServer
- type UnimplementedOpenCloseApiServer
- func (UnimplementedOpenCloseApiServer) GetPositions(context.Context, *GetOpenClosePositionsRequest) (*OpenClosePositions, error)
- func (UnimplementedOpenCloseApiServer) PullPositions(*PullOpenClosePositionsRequest, ...) error
- func (UnimplementedOpenCloseApiServer) Stop(context.Context, *StopOpenCloseRequest) (*OpenClosePositions, error)
- func (UnimplementedOpenCloseApiServer) UpdatePositions(context.Context, *UpdateOpenClosePositionsRequest) (*OpenClosePositions, error)
- type UnimplementedOpenCloseInfoServer
- type UnimplementedParentApiServer
- type UnimplementedParentInfoServer
- type UnimplementedPressApiServer
- func (UnimplementedPressApiServer) GetPressedState(context.Context, *GetPressedStateRequest) (*PressedState, error)
- func (UnimplementedPressApiServer) PullPressedState(*PullPressedStateRequest, grpc.ServerStreamingServer[PullPressedStateResponse]) error
- func (UnimplementedPressApiServer) UpdatePressedState(context.Context, *UpdatePressedStateRequest) (*PressedState, error)
- type UnimplementedPtzApiServer
- func (UnimplementedPtzApiServer) CreatePreset(context.Context, *CreatePtzPresetRequest) (*PtzPreset, error)
- func (UnimplementedPtzApiServer) GetPtz(context.Context, *GetPtzRequest) (*Ptz, error)
- func (UnimplementedPtzApiServer) PullPtz(*PullPtzRequest, grpc.ServerStreamingServer[PullPtzResponse]) error
- func (UnimplementedPtzApiServer) Stop(context.Context, *StopPtzRequest) (*Ptz, error)
- func (UnimplementedPtzApiServer) UpdatePtz(context.Context, *UpdatePtzRequest) (*Ptz, error)
- type UnimplementedPtzInfoServer
- type UnimplementedPublicationApiServer
- func (UnimplementedPublicationApiServer) AcknowledgePublication(context.Context, *AcknowledgePublicationRequest) (*Publication, error)
- func (UnimplementedPublicationApiServer) CreatePublication(context.Context, *CreatePublicationRequest) (*Publication, error)
- func (UnimplementedPublicationApiServer) DeletePublication(context.Context, *DeletePublicationRequest) (*Publication, error)
- func (UnimplementedPublicationApiServer) GetPublication(context.Context, *GetPublicationRequest) (*Publication, error)
- func (UnimplementedPublicationApiServer) ListPublications(context.Context, *ListPublicationsRequest) (*ListPublicationsResponse, error)
- func (UnimplementedPublicationApiServer) PullPublication(*PullPublicationRequest, grpc.ServerStreamingServer[PullPublicationResponse]) error
- func (UnimplementedPublicationApiServer) PullPublications(*PullPublicationsRequest, grpc.ServerStreamingServer[PullPublicationsResponse]) error
- func (UnimplementedPublicationApiServer) UpdatePublication(context.Context, *UpdatePublicationRequest) (*Publication, error)
- type UnimplementedSpeakerApiServer
- func (UnimplementedSpeakerApiServer) GetVolume(context.Context, *GetSpeakerVolumeRequest) (*types.AudioLevel, error)
- func (UnimplementedSpeakerApiServer) PullVolume(*PullSpeakerVolumeRequest, ...) error
- func (UnimplementedSpeakerApiServer) UpdateVolume(context.Context, *UpdateSpeakerVolumeRequest) (*types.AudioLevel, error)
- type UnimplementedSpeakerInfoServer
- type UnimplementedTemperatureApiServer
- func (UnimplementedTemperatureApiServer) GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error)
- func (UnimplementedTemperatureApiServer) PullTemperature(*PullTemperatureRequest, grpc.ServerStreamingServer[PullTemperatureResponse]) error
- func (UnimplementedTemperatureApiServer) UpdateTemperature(context.Context, *UpdateTemperatureRequest) (*Temperature, error)
- type UnimplementedVendingApiServer
- func (UnimplementedVendingApiServer) Dispense(context.Context, *DispenseRequest) (*Consumable_Stock, error)
- func (UnimplementedVendingApiServer) GetStock(context.Context, *GetStockRequest) (*Consumable_Stock, error)
- func (UnimplementedVendingApiServer) ListConsumables(context.Context, *ListConsumablesRequest) (*ListConsumablesResponse, error)
- func (UnimplementedVendingApiServer) ListInventory(context.Context, *ListInventoryRequest) (*ListInventoryResponse, error)
- func (UnimplementedVendingApiServer) PullConsumables(*PullConsumablesRequest, grpc.ServerStreamingServer[PullConsumablesResponse]) error
- func (UnimplementedVendingApiServer) PullInventory(*PullInventoryRequest, grpc.ServerStreamingServer[PullInventoryResponse]) error
- func (UnimplementedVendingApiServer) PullStock(*PullStockRequest, grpc.ServerStreamingServer[PullStockResponse]) error
- func (UnimplementedVendingApiServer) StopDispense(context.Context, *StopDispenseRequest) (*Consumable_Stock, error)
- func (UnimplementedVendingApiServer) UpdateStock(context.Context, *UpdateStockRequest) (*Consumable_Stock, error)
- type UnimplementedVendingInfoServer
- type UnimplementedWasteApiServer
- type UnimplementedWasteInfoServer
- type UnsafeAccessApiServer
- type UnsafeAirQualitySensorApiServer
- type UnsafeAirQualitySensorInfoServer
- type UnsafeAirTemperatureApiServer
- type UnsafeAirTemperatureInfoServer
- type UnsafeBookingApiServer
- type UnsafeBookingInfoServer
- type UnsafeBrightnessSensorApiServer
- type UnsafeBrightnessSensorInfoServer
- type UnsafeChannelApiServer
- type UnsafeChannelInfoServer
- type UnsafeColorApiServer
- type UnsafeColorInfoServer
- type UnsafeCountApiServer
- type UnsafeCountInfoServer
- type UnsafeElectricApiServer
- type UnsafeElectricInfoServer
- type UnsafeEmergencyApiServer
- type UnsafeEmergencyInfoServer
- type UnsafeEnergyStorageApiServer
- type UnsafeEnergyStorageInfoServer
- type UnsafeEnterLeaveSensorApiServer
- type UnsafeEnterLeaveSensorInfoServer
- type UnsafeExtendRetractApiServer
- type UnsafeExtendRetractInfoServer
- type UnsafeFanSpeedApiServer
- type UnsafeFanSpeedInfoServer
- type UnsafeHailApiServer
- type UnsafeHailInfoServer
- type UnsafeInputSelectApiServer
- type UnsafeInputSelectInfoServer
- type UnsafeLightApiServer
- type UnsafeLightInfoServer
- type UnsafeLockUnlockApiServer
- type UnsafeLockUnlockInfoServer
- type UnsafeMetadataApiServer
- type UnsafeMetadataInfoServer
- type UnsafeMeterApiServer
- type UnsafeMeterInfoServer
- type UnsafeMicrophoneApiServer
- type UnsafeMicrophoneInfoServer
- type UnsafeModeApiServer
- type UnsafeModeInfoServer
- type UnsafeMotionSensorApiServer
- type UnsafeMotionSensorSensorInfoServer
- type UnsafeOccupancySensorApiServer
- type UnsafeOccupancySensorInfoServer
- type UnsafeOnOffApiServer
- type UnsafeOnOffInfoServer
- type UnsafeOpenCloseApiServer
- type UnsafeOpenCloseInfoServer
- type UnsafeParentApiServer
- type UnsafeParentInfoServer
- type UnsafePressApiServer
- type UnsafePtzApiServer
- type UnsafePtzInfoServer
- type UnsafePublicationApiServer
- type UnsafeSpeakerApiServer
- type UnsafeSpeakerInfoServer
- type UnsafeTemperatureApiServer
- type UnsafeVendingApiServer
- type UnsafeVendingInfoServer
- type UnsafeWasteApiServer
- type UnsafeWasteInfoServer
- type UpdateActiveModeRequest
- func (*UpdateActiveModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActiveModeRequest) GetActiveMode() *ElectricMode
- func (x *UpdateActiveModeRequest) GetName() string
- func (x *UpdateActiveModeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateActiveModeRequest) ProtoMessage()
- func (x *UpdateActiveModeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActiveModeRequest) Reset()
- func (x *UpdateActiveModeRequest) String() string
- type UpdateAirTemperatureRequest
- func (*UpdateAirTemperatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAirTemperatureRequest) GetName() string
- func (x *UpdateAirTemperatureRequest) GetState() *AirTemperature
- func (x *UpdateAirTemperatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAirTemperatureRequest) ProtoMessage()
- func (x *UpdateAirTemperatureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAirTemperatureRequest) Reset()
- func (x *UpdateAirTemperatureRequest) String() string
- type UpdateBookingRequest
- func (*UpdateBookingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookingRequest) GetBooking() *Booking
- func (x *UpdateBookingRequest) GetName() string
- func (x *UpdateBookingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBookingRequest) ProtoMessage()
- func (x *UpdateBookingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBookingRequest) Reset()
- func (x *UpdateBookingRequest) String() string
- type UpdateBookingResponse
- func (*UpdateBookingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookingResponse) GetBooking() *Booking
- func (*UpdateBookingResponse) ProtoMessage()
- func (x *UpdateBookingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBookingResponse) Reset()
- func (x *UpdateBookingResponse) String() string
- type UpdateBrightnessRequest
- func (*UpdateBrightnessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBrightnessRequest) GetBrightness() *Brightness
- func (x *UpdateBrightnessRequest) GetDelta() bool
- func (x *UpdateBrightnessRequest) GetName() string
- func (x *UpdateBrightnessRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBrightnessRequest) ProtoMessage()
- func (x *UpdateBrightnessRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBrightnessRequest) Reset()
- func (x *UpdateBrightnessRequest) 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 UpdateCountRequest
- func (*UpdateCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCountRequest) GetCount() *Count
- func (x *UpdateCountRequest) GetDelta() bool
- func (x *UpdateCountRequest) GetName() string
- func (x *UpdateCountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCountRequest) ProtoMessage()
- func (x *UpdateCountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCountRequest) Reset()
- func (x *UpdateCountRequest) String() string
- type UpdateEmergencyRequest
- func (*UpdateEmergencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEmergencyRequest) GetEmergency() *Emergency
- func (x *UpdateEmergencyRequest) GetName() string
- func (x *UpdateEmergencyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEmergencyRequest) ProtoMessage()
- func (x *UpdateEmergencyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEmergencyRequest) Reset()
- func (x *UpdateEmergencyRequest) String() string
- type UpdateExtensionRequest
- func (*UpdateExtensionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateExtensionRequest) GetExtension() *Extension
- func (x *UpdateExtensionRequest) GetName() string
- func (x *UpdateExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateExtensionRequest) ProtoMessage()
- func (x *UpdateExtensionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateExtensionRequest) Reset()
- func (x *UpdateExtensionRequest) String() string
- type UpdateFanSpeedRequest
- func (*UpdateFanSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFanSpeedRequest) GetFanSpeed() *FanSpeed
- func (x *UpdateFanSpeedRequest) GetName() string
- func (x *UpdateFanSpeedRequest) GetRelative() bool
- func (x *UpdateFanSpeedRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFanSpeedRequest) ProtoMessage()
- func (x *UpdateFanSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFanSpeedRequest) Reset()
- func (x *UpdateFanSpeedRequest) String() string
- type UpdateHailRequest
- func (*UpdateHailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHailRequest) GetHail() *Hail
- func (x *UpdateHailRequest) GetName() string
- func (x *UpdateHailRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHailRequest) ProtoMessage()
- func (x *UpdateHailRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHailRequest) Reset()
- func (x *UpdateHailRequest) String() string
- type UpdateInputRequest
- func (*UpdateInputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInputRequest) GetInput() *Input
- func (x *UpdateInputRequest) GetName() string
- func (x *UpdateInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInputRequest) ProtoMessage()
- func (x *UpdateInputRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInputRequest) Reset()
- func (x *UpdateInputRequest) String() string
- type UpdateLockUnlockRequest
- func (*UpdateLockUnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLockUnlockRequest) GetLockUnlock() *LockUnlock
- func (x *UpdateLockUnlockRequest) GetName() string
- func (x *UpdateLockUnlockRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateLockUnlockRequest) ProtoMessage()
- func (x *UpdateLockUnlockRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLockUnlockRequest) Reset()
- func (x *UpdateLockUnlockRequest) String() string
- type UpdateMicrophoneGainRequest
- func (*UpdateMicrophoneGainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMicrophoneGainRequest) GetDelta() bool
- func (x *UpdateMicrophoneGainRequest) GetGain() *types.AudioLevel
- func (x *UpdateMicrophoneGainRequest) GetName() string
- func (x *UpdateMicrophoneGainRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateMicrophoneGainRequest) ProtoMessage()
- func (x *UpdateMicrophoneGainRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMicrophoneGainRequest) Reset()
- func (x *UpdateMicrophoneGainRequest) String() string
- type UpdateModeValuesRequest
- func (*UpdateModeValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModeValuesRequest) GetModeValues() *ModeValues
- func (x *UpdateModeValuesRequest) GetName() string
- func (x *UpdateModeValuesRequest) GetRelative() *ModeValuesRelative
- func (x *UpdateModeValuesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateModeValuesRequest) ProtoMessage()
- func (x *UpdateModeValuesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModeValuesRequest) Reset()
- func (x *UpdateModeValuesRequest) String() string
- type UpdateOnOffRequest
- func (*UpdateOnOffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOnOffRequest) GetName() string
- func (x *UpdateOnOffRequest) GetOnOff() *OnOff
- func (x *UpdateOnOffRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateOnOffRequest) ProtoMessage()
- func (x *UpdateOnOffRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOnOffRequest) Reset()
- func (x *UpdateOnOffRequest) String() string
- type UpdateOpenClosePositionsRequest
- func (*UpdateOpenClosePositionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOpenClosePositionsRequest) GetDelta() bool
- func (x *UpdateOpenClosePositionsRequest) GetName() string
- func (x *UpdateOpenClosePositionsRequest) GetStates() *OpenClosePositions
- func (x *UpdateOpenClosePositionsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateOpenClosePositionsRequest) ProtoMessage()
- func (x *UpdateOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOpenClosePositionsRequest) Reset()
- func (x *UpdateOpenClosePositionsRequest) String() string
- type UpdatePressedStateRequest
- func (*UpdatePressedStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePressedStateRequest) GetName() string
- func (x *UpdatePressedStateRequest) GetPressedState() *PressedState
- func (x *UpdatePressedStateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePressedStateRequest) ProtoMessage()
- func (x *UpdatePressedStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePressedStateRequest) Reset()
- func (x *UpdatePressedStateRequest) String() string
- type UpdatePtzRequest
- func (*UpdatePtzRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePtzRequest) GetName() string
- func (x *UpdatePtzRequest) GetState() *Ptz
- func (x *UpdatePtzRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePtzRequest) ProtoMessage()
- func (x *UpdatePtzRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePtzRequest) Reset()
- func (x *UpdatePtzRequest) String() string
- type UpdatePublicationRequest
- func (*UpdatePublicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePublicationRequest) GetName() string
- func (x *UpdatePublicationRequest) GetPublication() *Publication
- func (x *UpdatePublicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdatePublicationRequest) GetVersion() string
- func (*UpdatePublicationRequest) ProtoMessage()
- func (x *UpdatePublicationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePublicationRequest) Reset()
- func (x *UpdatePublicationRequest) String() string
- type UpdateSpeakerVolumeRequest
- func (*UpdateSpeakerVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSpeakerVolumeRequest) GetDelta() bool
- func (x *UpdateSpeakerVolumeRequest) GetName() string
- func (x *UpdateSpeakerVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateSpeakerVolumeRequest) GetVolume() *types.AudioLevel
- func (*UpdateSpeakerVolumeRequest) ProtoMessage()
- func (x *UpdateSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSpeakerVolumeRequest) Reset()
- func (x *UpdateSpeakerVolumeRequest) String() string
- type UpdateStockRequest
- func (*UpdateStockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStockRequest) GetName() string
- func (x *UpdateStockRequest) GetRelative() bool
- func (x *UpdateStockRequest) GetStock() *Consumable_Stock
- func (x *UpdateStockRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateStockRequest) ProtoMessage()
- func (x *UpdateStockRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStockRequest) Reset()
- func (x *UpdateStockRequest) 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 VendingApiClient
- type VendingApiServer
- type VendingApi_PullConsumablesClient
- type VendingApi_PullConsumablesServer
- type VendingApi_PullInventoryClient
- type VendingApi_PullInventoryServer
- type VendingApi_PullStockClient
- type VendingApi_PullStockServer
- type VendingInfoClient
- type VendingInfoServer
- type VolumeSupport
- func (*VolumeSupport) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSupport) GetMuteSupport() types.MuteSupport
- func (x *VolumeSupport) GetResourceSupport() *types.ResourceSupport
- func (x *VolumeSupport) GetVolumeAttributes() *types.FloatAttributes
- func (*VolumeSupport) ProtoMessage()
- func (x *VolumeSupport) ProtoReflect() protoreflect.Message
- func (x *VolumeSupport) Reset()
- func (x *VolumeSupport) String() string
- type WasteApiClient
- type WasteApiServer
- type WasteApi_PullWasteRecordsClient
- type WasteApi_PullWasteRecordsServer
- type WasteInfoClient
- type WasteInfoServer
- type WasteRecord
- func (*WasteRecord) Descriptor() ([]byte, []int)deprecated
- func (x *WasteRecord) GetArea() string
- func (x *WasteRecord) GetDisposalMethod() WasteRecord_DisposalMethod
- func (x *WasteRecord) GetId() string
- func (x *WasteRecord) GetRecordCreateTime() *timestamppb.Timestamp
- func (x *WasteRecord) GetStream() string
- func (x *WasteRecord) GetSystem() string
- func (x *WasteRecord) GetWasteCreateTime() *timestamppb.Timestamp
- func (x *WasteRecord) GetWeight() float32
- func (*WasteRecord) ProtoMessage()
- func (x *WasteRecord) ProtoReflect() protoreflect.Message
- func (x *WasteRecord) Reset()
- func (x *WasteRecord) String() string
- type WasteRecordSupport
- func (*WasteRecordSupport) Descriptor() ([]byte, []int)deprecated
- func (x *WasteRecordSupport) GetResourceSupport() *types.ResourceSupport
- func (x *WasteRecordSupport) GetUnit() string
- func (*WasteRecordSupport) ProtoMessage()
- func (x *WasteRecordSupport) ProtoReflect() protoreflect.Message
- func (x *WasteRecordSupport) Reset()
- func (x *WasteRecordSupport) String() string
- type WasteRecord_DisposalMethod
- func (WasteRecord_DisposalMethod) Descriptor() protoreflect.EnumDescriptor
- func (x WasteRecord_DisposalMethod) Enum() *WasteRecord_DisposalMethod
- func (WasteRecord_DisposalMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x WasteRecord_DisposalMethod) Number() protoreflect.EnumNumber
- func (x WasteRecord_DisposalMethod) String() string
- func (WasteRecord_DisposalMethod) Type() protoreflect.EnumType
Constants ¶
const ( AccessApi_GetLastAccessAttempt_FullMethodName = "/smartcore.traits.AccessApi/GetLastAccessAttempt" AccessApi_PullAccessAttempts_FullMethodName = "/smartcore.traits.AccessApi/PullAccessAttempts" )
const ( AirQualitySensorApi_GetAirQuality_FullMethodName = "/smartcore.traits.AirQualitySensorApi/GetAirQuality" AirQualitySensorApi_PullAirQuality_FullMethodName = "/smartcore.traits.AirQualitySensorApi/PullAirQuality" )
const ( AirTemperatureApi_GetAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureApi/GetAirTemperature" AirTemperatureApi_UpdateAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureApi/UpdateAirTemperature" AirTemperatureApi_PullAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureApi/PullAirTemperature" )
const ( BookingApi_ListBookings_FullMethodName = "/smartcore.traits.BookingApi/ListBookings" BookingApi_CheckInBooking_FullMethodName = "/smartcore.traits.BookingApi/CheckInBooking" BookingApi_CheckOutBooking_FullMethodName = "/smartcore.traits.BookingApi/CheckOutBooking" BookingApi_CreateBooking_FullMethodName = "/smartcore.traits.BookingApi/CreateBooking" BookingApi_UpdateBooking_FullMethodName = "/smartcore.traits.BookingApi/UpdateBooking" BookingApi_PullBookings_FullMethodName = "/smartcore.traits.BookingApi/PullBookings" )
const ( BrightnessSensorApi_GetAmbientBrightness_FullMethodName = "/smartcore.traits.BrightnessSensorApi/GetAmbientBrightness" BrightnessSensorApi_PullAmbientBrightness_FullMethodName = "/smartcore.traits.BrightnessSensorApi/PullAmbientBrightness" )
const ( ChannelApi_GetChosenChannel_FullMethodName = "/smartcore.traits.ChannelApi/GetChosenChannel" ChannelApi_ChooseChannel_FullMethodName = "/smartcore.traits.ChannelApi/ChooseChannel" ChannelApi_AdjustChannel_FullMethodName = "/smartcore.traits.ChannelApi/AdjustChannel" ChannelApi_ReturnChannel_FullMethodName = "/smartcore.traits.ChannelApi/ReturnChannel" ChannelApi_PullChosenChannel_FullMethodName = "/smartcore.traits.ChannelApi/PullChosenChannel" )
const ( ColorApi_GetColor_FullMethodName = "/smartcore.traits.ColorApi/GetColor" ColorApi_UpdateColor_FullMethodName = "/smartcore.traits.ColorApi/UpdateColor" ColorApi_PullColor_FullMethodName = "/smartcore.traits.ColorApi/PullColor" )
const ( CountApi_GetCount_FullMethodName = "/smartcore.traits.CountApi/GetCount" CountApi_ResetCount_FullMethodName = "/smartcore.traits.CountApi/ResetCount" CountApi_UpdateCount_FullMethodName = "/smartcore.traits.CountApi/UpdateCount" CountApi_PullCounts_FullMethodName = "/smartcore.traits.CountApi/PullCounts" )
const ( ElectricApi_GetDemand_FullMethodName = "/smartcore.traits.ElectricApi/GetDemand" ElectricApi_PullDemand_FullMethodName = "/smartcore.traits.ElectricApi/PullDemand" ElectricApi_GetActiveMode_FullMethodName = "/smartcore.traits.ElectricApi/GetActiveMode" ElectricApi_UpdateActiveMode_FullMethodName = "/smartcore.traits.ElectricApi/UpdateActiveMode" ElectricApi_ClearActiveMode_FullMethodName = "/smartcore.traits.ElectricApi/ClearActiveMode" ElectricApi_PullActiveMode_FullMethodName = "/smartcore.traits.ElectricApi/PullActiveMode" ElectricApi_ListModes_FullMethodName = "/smartcore.traits.ElectricApi/ListModes" ElectricApi_PullModes_FullMethodName = "/smartcore.traits.ElectricApi/PullModes" )
const ( EmergencyApi_GetEmergency_FullMethodName = "/smartcore.traits.EmergencyApi/GetEmergency" EmergencyApi_UpdateEmergency_FullMethodName = "/smartcore.traits.EmergencyApi/UpdateEmergency" EmergencyApi_PullEmergency_FullMethodName = "/smartcore.traits.EmergencyApi/PullEmergency" )
const ( EnergyStorageApi_GetEnergyLevel_FullMethodName = "/smartcore.traits.EnergyStorageApi/GetEnergyLevel" EnergyStorageApi_PullEnergyLevel_FullMethodName = "/smartcore.traits.EnergyStorageApi/PullEnergyLevel" EnergyStorageApi_Charge_FullMethodName = "/smartcore.traits.EnergyStorageApi/Charge" )
const ( EnterLeaveSensorApi_PullEnterLeaveEvents_FullMethodName = "/smartcore.traits.EnterLeaveSensorApi/PullEnterLeaveEvents" EnterLeaveSensorApi_GetEnterLeaveEvent_FullMethodName = "/smartcore.traits.EnterLeaveSensorApi/GetEnterLeaveEvent" EnterLeaveSensorApi_ResetEnterLeaveTotals_FullMethodName = "/smartcore.traits.EnterLeaveSensorApi/ResetEnterLeaveTotals" )
const ( ExtendRetractApi_GetExtension_FullMethodName = "/smartcore.traits.ExtendRetractApi/GetExtension" ExtendRetractApi_UpdateExtension_FullMethodName = "/smartcore.traits.ExtendRetractApi/UpdateExtension" ExtendRetractApi_Stop_FullMethodName = "/smartcore.traits.ExtendRetractApi/Stop" ExtendRetractApi_CreateExtensionPreset_FullMethodName = "/smartcore.traits.ExtendRetractApi/CreateExtensionPreset" ExtendRetractApi_PullExtensions_FullMethodName = "/smartcore.traits.ExtendRetractApi/PullExtensions" )
const ( FanSpeedApi_GetFanSpeed_FullMethodName = "/smartcore.traits.FanSpeedApi/GetFanSpeed" FanSpeedApi_UpdateFanSpeed_FullMethodName = "/smartcore.traits.FanSpeedApi/UpdateFanSpeed" FanSpeedApi_PullFanSpeed_FullMethodName = "/smartcore.traits.FanSpeedApi/PullFanSpeed" FanSpeedApi_ReverseFanSpeedDirection_FullMethodName = "/smartcore.traits.FanSpeedApi/ReverseFanSpeedDirection" )
const ( HailApi_CreateHail_FullMethodName = "/smartcore.traits.HailApi/CreateHail" HailApi_GetHail_FullMethodName = "/smartcore.traits.HailApi/GetHail" HailApi_UpdateHail_FullMethodName = "/smartcore.traits.HailApi/UpdateHail" HailApi_DeleteHail_FullMethodName = "/smartcore.traits.HailApi/DeleteHail" HailApi_PullHail_FullMethodName = "/smartcore.traits.HailApi/PullHail" HailApi_ListHails_FullMethodName = "/smartcore.traits.HailApi/ListHails" HailApi_PullHails_FullMethodName = "/smartcore.traits.HailApi/PullHails" )
const ( InputSelectApi_UpdateInput_FullMethodName = "/smartcore.traits.InputSelectApi/UpdateInput" InputSelectApi_GetInput_FullMethodName = "/smartcore.traits.InputSelectApi/GetInput" InputSelectApi_PullInput_FullMethodName = "/smartcore.traits.InputSelectApi/PullInput" )
const ( LightApi_UpdateBrightness_FullMethodName = "/smartcore.traits.LightApi/UpdateBrightness" LightApi_GetBrightness_FullMethodName = "/smartcore.traits.LightApi/GetBrightness" LightApi_PullBrightness_FullMethodName = "/smartcore.traits.LightApi/PullBrightness" )
const ( LockUnlockApi_GetLockUnlock_FullMethodName = "/smartcore.traits.LockUnlockApi/GetLockUnlock" LockUnlockApi_UpdateLockUnlock_FullMethodName = "/smartcore.traits.LockUnlockApi/UpdateLockUnlock" LockUnlockApi_PullLockUnlock_FullMethodName = "/smartcore.traits.LockUnlockApi/PullLockUnlock" )
const ( MetadataApi_GetMetadata_FullMethodName = "/smartcore.traits.MetadataApi/GetMetadata" MetadataApi_PullMetadata_FullMethodName = "/smartcore.traits.MetadataApi/PullMetadata" )
const ( MeterApi_GetMeterReading_FullMethodName = "/smartcore.traits.MeterApi/GetMeterReading" MeterApi_PullMeterReadings_FullMethodName = "/smartcore.traits.MeterApi/PullMeterReadings" )
const ( MicrophoneApi_GetGain_FullMethodName = "/smartcore.traits.MicrophoneApi/GetGain" MicrophoneApi_UpdateGain_FullMethodName = "/smartcore.traits.MicrophoneApi/UpdateGain" MicrophoneApi_PullGain_FullMethodName = "/smartcore.traits.MicrophoneApi/PullGain" )
const ( ModeApi_GetModeValues_FullMethodName = "/smartcore.traits.ModeApi/GetModeValues" ModeApi_UpdateModeValues_FullMethodName = "/smartcore.traits.ModeApi/UpdateModeValues" ModeApi_PullModeValues_FullMethodName = "/smartcore.traits.ModeApi/PullModeValues" )
const ( MotionSensorApi_GetMotionDetection_FullMethodName = "/smartcore.traits.MotionSensorApi/GetMotionDetection" MotionSensorApi_PullMotionDetections_FullMethodName = "/smartcore.traits.MotionSensorApi/PullMotionDetections" )
const ( OccupancySensorApi_GetOccupancy_FullMethodName = "/smartcore.traits.OccupancySensorApi/GetOccupancy" OccupancySensorApi_PullOccupancy_FullMethodName = "/smartcore.traits.OccupancySensorApi/PullOccupancy" )
const ( OnOffApi_GetOnOff_FullMethodName = "/smartcore.traits.OnOffApi/GetOnOff" OnOffApi_UpdateOnOff_FullMethodName = "/smartcore.traits.OnOffApi/UpdateOnOff" OnOffApi_PullOnOff_FullMethodName = "/smartcore.traits.OnOffApi/PullOnOff" )
const ( OpenCloseApi_GetPositions_FullMethodName = "/smartcore.traits.OpenCloseApi/GetPositions" OpenCloseApi_UpdatePositions_FullMethodName = "/smartcore.traits.OpenCloseApi/UpdatePositions" OpenCloseApi_Stop_FullMethodName = "/smartcore.traits.OpenCloseApi/Stop" OpenCloseApi_PullPositions_FullMethodName = "/smartcore.traits.OpenCloseApi/PullPositions" )
const ( ParentApi_ListChildren_FullMethodName = "/smartcore.traits.ParentApi/ListChildren" ParentApi_PullChildren_FullMethodName = "/smartcore.traits.ParentApi/PullChildren" )
const ( PressApi_GetPressedState_FullMethodName = "/smartcore.traits.PressApi/GetPressedState" PressApi_PullPressedState_FullMethodName = "/smartcore.traits.PressApi/PullPressedState" PressApi_UpdatePressedState_FullMethodName = "/smartcore.traits.PressApi/UpdatePressedState" )
const ( PtzApi_GetPtz_FullMethodName = "/smartcore.traits.PtzApi/GetPtz" PtzApi_UpdatePtz_FullMethodName = "/smartcore.traits.PtzApi/UpdatePtz" PtzApi_Stop_FullMethodName = "/smartcore.traits.PtzApi/Stop" PtzApi_CreatePreset_FullMethodName = "/smartcore.traits.PtzApi/CreatePreset" PtzApi_PullPtz_FullMethodName = "/smartcore.traits.PtzApi/PullPtz" )
const ( PublicationApi_CreatePublication_FullMethodName = "/smartcore.traits.PublicationApi/CreatePublication" PublicationApi_GetPublication_FullMethodName = "/smartcore.traits.PublicationApi/GetPublication" PublicationApi_UpdatePublication_FullMethodName = "/smartcore.traits.PublicationApi/UpdatePublication" PublicationApi_DeletePublication_FullMethodName = "/smartcore.traits.PublicationApi/DeletePublication" PublicationApi_PullPublication_FullMethodName = "/smartcore.traits.PublicationApi/PullPublication" PublicationApi_ListPublications_FullMethodName = "/smartcore.traits.PublicationApi/ListPublications" PublicationApi_PullPublications_FullMethodName = "/smartcore.traits.PublicationApi/PullPublications" PublicationApi_AcknowledgePublication_FullMethodName = "/smartcore.traits.PublicationApi/AcknowledgePublication" )
const ( SpeakerApi_GetVolume_FullMethodName = "/smartcore.traits.SpeakerApi/GetVolume" SpeakerApi_UpdateVolume_FullMethodName = "/smartcore.traits.SpeakerApi/UpdateVolume" SpeakerApi_PullVolume_FullMethodName = "/smartcore.traits.SpeakerApi/PullVolume" )
const ( TemperatureApi_GetTemperature_FullMethodName = "/smartcore.traits.TemperatureApi/GetTemperature" TemperatureApi_PullTemperature_FullMethodName = "/smartcore.traits.TemperatureApi/PullTemperature" TemperatureApi_UpdateTemperature_FullMethodName = "/smartcore.traits.TemperatureApi/UpdateTemperature" )
const ( VendingApi_ListConsumables_FullMethodName = "/smartcore.traits.VendingApi/ListConsumables" VendingApi_PullConsumables_FullMethodName = "/smartcore.traits.VendingApi/PullConsumables" VendingApi_GetStock_FullMethodName = "/smartcore.traits.VendingApi/GetStock" VendingApi_UpdateStock_FullMethodName = "/smartcore.traits.VendingApi/UpdateStock" VendingApi_PullStock_FullMethodName = "/smartcore.traits.VendingApi/PullStock" VendingApi_ListInventory_FullMethodName = "/smartcore.traits.VendingApi/ListInventory" VendingApi_PullInventory_FullMethodName = "/smartcore.traits.VendingApi/PullInventory" VendingApi_Dispense_FullMethodName = "/smartcore.traits.VendingApi/Dispense" VendingApi_StopDispense_FullMethodName = "/smartcore.traits.VendingApi/StopDispense" )
const ( WasteApi_ListWasteRecords_FullMethodName = "/smartcore.traits.WasteApi/ListWasteRecords" WasteApi_PullWasteRecords_FullMethodName = "/smartcore.traits.WasteApi/PullWasteRecords" )
const (
AirQualitySensorInfo_DescribeAirQuality_FullMethodName = "/smartcore.traits.AirQualitySensorInfo/DescribeAirQuality"
)
const (
AirTemperatureInfo_DescribeAirTemperature_FullMethodName = "/smartcore.traits.AirTemperatureInfo/DescribeAirTemperature"
)
const (
BookingInfo_DescribeBooking_FullMethodName = "/smartcore.traits.BookingInfo/DescribeBooking"
)
const (
BrightnessSensorInfo_DescribeAmbientBrightness_FullMethodName = "/smartcore.traits.BrightnessSensorInfo/DescribeAmbientBrightness"
)
const (
ChannelInfo_DescribeChosenChannel_FullMethodName = "/smartcore.traits.ChannelInfo/DescribeChosenChannel"
)
const (
ColorInfo_DescribeColor_FullMethodName = "/smartcore.traits.ColorInfo/DescribeColor"
)
const (
CountInfo_DescribeCount_FullMethodName = "/smartcore.traits.CountInfo/DescribeCount"
)
const (
EmergencyInfo_DescribeEmergency_FullMethodName = "/smartcore.traits.EmergencyInfo/DescribeEmergency"
)
const (
EnergyStorageInfo_DescribeEnergyLevel_FullMethodName = "/smartcore.traits.EnergyStorageInfo/DescribeEnergyLevel"
)
const (
ExtendRetractInfo_DescribeExtension_FullMethodName = "/smartcore.traits.ExtendRetractInfo/DescribeExtension"
)
const (
FanSpeedInfo_DescribeFanSpeed_FullMethodName = "/smartcore.traits.FanSpeedInfo/DescribeFanSpeed"
)
const (
InputSelectInfo_DescribeInput_FullMethodName = "/smartcore.traits.InputSelectInfo/DescribeInput"
)
const (
LightInfo_DescribeBrightness_FullMethodName = "/smartcore.traits.LightInfo/DescribeBrightness"
)
const (
MeterInfo_DescribeMeterReading_FullMethodName = "/smartcore.traits.MeterInfo/DescribeMeterReading"
)
const (
MicrophoneInfo_DescribeGain_FullMethodName = "/smartcore.traits.MicrophoneInfo/DescribeGain"
)
const (
ModeInfo_DescribeModes_FullMethodName = "/smartcore.traits.ModeInfo/DescribeModes"
)
const (
MotionSensorSensorInfo_DescribeMotionDetection_FullMethodName = "/smartcore.traits.MotionSensorSensorInfo/DescribeMotionDetection"
)
const (
OccupancySensorInfo_DescribeOccupancy_FullMethodName = "/smartcore.traits.OccupancySensorInfo/DescribeOccupancy"
)
const (
OnOffInfo_DescribeOnOff_FullMethodName = "/smartcore.traits.OnOffInfo/DescribeOnOff"
)
const (
OpenCloseInfo_DescribePositions_FullMethodName = "/smartcore.traits.OpenCloseInfo/DescribePositions"
)
const (
PtzInfo_DescribePtz_FullMethodName = "/smartcore.traits.PtzInfo/DescribePtz"
)
const (
SpeakerInfo_DescribeVolume_FullMethodName = "/smartcore.traits.SpeakerInfo/DescribeVolume"
)
const (
WasteInfo_DescribeWasteRecord_FullMethodName = "/smartcore.traits.WasteInfo/DescribeWasteRecord"
)
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 ( AirQuality_Comfort_name = map[int32]string{ 0: "COMFORT_UNSPECIFIED", 1: "COMFORTABLE", 2: "UNCOMFORTABLE", } AirQuality_Comfort_value = map[string]int32{ "COMFORT_UNSPECIFIED": 0, "COMFORTABLE": 1, "UNCOMFORTABLE": 2, } )
Enum value maps for AirQuality_Comfort.
var ( AirTemperature_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "ON", 2: "OFF", 3: "HEAT", 4: "COOL", 5: "HEAT_COOL", 6: "AUTO", 7: "FAN_ONLY", 8: "ECO", 9: "PURIFIER", 10: "DRY", 11: "LOCKED", } AirTemperature_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "ON": 1, "OFF": 2, "HEAT": 3, "COOL": 4, "HEAT_COOL": 5, "AUTO": 6, "FAN_ONLY": 7, "ECO": 8, "PURIFIER": 9, "DRY": 10, "LOCKED": 11, } )
Enum value maps for AirTemperature_Mode.
var ( BookingSupport_CheckInSupport_name = map[int32]string{ 0: "CHECK_IN_SUPPORT_UNSPECIFIED", 1: "NO_SUPPORT", 2: "STATE", 3: "TIME", } BookingSupport_CheckInSupport_value = map[string]int32{ "CHECK_IN_SUPPORT_UNSPECIFIED": 0, "NO_SUPPORT": 1, "STATE": 2, "TIME": 3, } )
Enum value maps for BookingSupport_CheckInSupport.
var ( Emergency_Level_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "OK", 2: "WARNING", 3: "EMERGENCY", } Emergency_Level_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "OK": 1, "WARNING": 2, "EMERGENCY": 3, } )
Enum value maps for Emergency_Level.
var ( EnergyLevelSupport_ChargeControl_name = map[int32]string{ 0: "CHARGE_CONTROL_UNSPECIFIED", 1: "NONE", 2: "DEVICE", 3: "EXTERNAL", 4: "ALL", } EnergyLevelSupport_ChargeControl_value = map[string]int32{ "CHARGE_CONTROL_UNSPECIFIED": 0, "NONE": 1, "DEVICE": 2, "EXTERNAL": 3, "ALL": 4, } )
Enum value maps for EnergyLevelSupport_ChargeControl.
var ( EnergyLevel_Transfer_Speed_name = map[int32]string{ 0: "SPEED_UNSPECIFIED", 1: "EXTRA_SLOW", 2: "SLOW", 3: "NORMAL", 4: "FAST", 5: "EXTRA_FAST", } EnergyLevel_Transfer_Speed_value = map[string]int32{ "SPEED_UNSPECIFIED": 0, "EXTRA_SLOW": 1, "SLOW": 2, "NORMAL": 3, "FAST": 4, "EXTRA_FAST": 5, } )
Enum value maps for EnergyLevel_Transfer_Speed.
var ( EnergyLevel_Quantity_Threshold_name = map[int32]string{ 0: "THRESHOLD_UNSPECIFIED", 1: "CRITICALLY_LOW", 2: "EMPTY", 3: "LOW", 4: "MEDIUM", 5: "HIGH", 7: "FULL", 8: "CRITICALLY_HIGH", } EnergyLevel_Quantity_Threshold_value = map[string]int32{ "THRESHOLD_UNSPECIFIED": 0, "CRITICALLY_LOW": 1, "EMPTY": 2, "LOW": 3, "MEDIUM": 4, "HIGH": 5, "FULL": 7, "CRITICALLY_HIGH": 8, } )
Enum value maps for EnergyLevel_Quantity_Threshold.
var ( EnterLeaveEvent_Direction_name = map[int32]string{ 0: "DIRECTION_UNSPECIFIED", 1: "ENTER", 2: "LEAVE", } EnterLeaveEvent_Direction_value = map[string]int32{ "DIRECTION_UNSPECIFIED": 0, "ENTER": 1, "LEAVE": 2, } )
Enum value maps for EnterLeaveEvent_Direction.
var ( FanSpeed_Direction_name = map[int32]string{ 0: "DIRECTION_UNSPECIFIED", 1: "FORWARD", 2: "BACKWARD", } FanSpeed_Direction_value = map[string]int32{ "DIRECTION_UNSPECIFIED": 0, "FORWARD": 1, "BACKWARD": 2, } )
Enum value maps for FanSpeed_Direction.
var ( Hail_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CALLED", 2: "BOARDING", 3: "DEPARTED", 4: "ARRIVED", } Hail_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CALLED": 1, "BOARDING": 2, "DEPARTED": 3, "ARRIVED": 4, } )
Enum value maps for Hail_State.
var ( InputSupport_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "AV", 2: "AUDIO_ONLY", 3: "VIDEO_ONLY", 4: "INDEPENDENT", } InputSupport_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "AV": 1, "AUDIO_ONLY": 2, "VIDEO_ONLY": 3, "INDEPENDENT": 4, } )
Enum value maps for InputSupport_Feature.
var ( LockUnlock_Position_name = map[int32]string{ 0: "POSITION_UNSPECIFIED", 1: "LOCKED", 2: "UNLOCKED", 3: "LOCKING", 4: "UNLOCKING", } LockUnlock_Position_value = map[string]int32{ "POSITION_UNSPECIFIED": 0, "LOCKED": 1, "UNLOCKED": 2, "LOCKING": 3, "UNLOCKING": 4, } )
Enum value maps for LockUnlock_Position.
var ( Metadata_NIC_Assignment_name = map[int32]string{ 0: "ASSIGNMENT_UNSPECIFIED", 1: "DHCP", 2: "STATIC", } Metadata_NIC_Assignment_value = map[string]int32{ "ASSIGNMENT_UNSPECIFIED": 0, "DHCP": 1, "STATIC": 2, } )
Enum value maps for Metadata_NIC_Assignment.
var ( MotionDetection_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "NOT_DETECTED", 2: "DETECTED", } MotionDetection_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "NOT_DETECTED": 1, "DETECTED": 2, } )
Enum value maps for MotionDetection_State.
var ( Occupancy_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "OCCUPIED", 2: "UNOCCUPIED", 3: "IDLE", } Occupancy_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "OCCUPIED": 1, "UNOCCUPIED": 2, "IDLE": 3, } )
Enum value maps for Occupancy_State.
var ( OnOff_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ON", 2: "OFF", } OnOff_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ON": 1, "OFF": 2, } )
Enum value maps for OnOff_State.
var ( OpenClosePosition_Direction_name = map[int32]string{ 0: "DIRECTION_UNSPECIFIED", 1: "UP", 2: "DOWN", 3: "LEFT", 4: "RIGHT", 5: "IN", 6: "OUT", } OpenClosePosition_Direction_value = map[string]int32{ "DIRECTION_UNSPECIFIED": 0, "UP": 1, "DOWN": 2, "LEFT": 3, "RIGHT": 4, "IN": 5, "OUT": 6, } )
Enum value maps for OpenClosePosition_Direction.
var ( OpenClosePosition_Resistance_name = map[int32]string{ 0: "RESISTANCE_UNSPECIFIED", 1: "HELD", 2: "REDUCED_MOTION", 3: "SLOW", } OpenClosePosition_Resistance_value = map[string]int32{ "RESISTANCE_UNSPECIFIED": 0, "HELD": 1, "REDUCED_MOTION": 2, "SLOW": 3, } )
Enum value maps for OpenClosePosition_Resistance.
var ( PressedState_Press_name = map[int32]string{ 0: "PRESS_UNSPECIFIED", 1: "UNPRESSED", 2: "PRESSED", } PressedState_Press_value = map[string]int32{ "PRESS_UNSPECIFIED": 0, "UNPRESSED": 1, "PRESSED": 2, } )
Enum value maps for PressedState_Press.
var ( PressedState_Gesture_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "CLICK", 2: "HOLD", } PressedState_Gesture_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "CLICK": 1, "HOLD": 2, } )
Enum value maps for PressedState_Gesture_Kind.
var ( Publication_Audience_Receipt_name = map[int32]string{ 0: "RECEIPT_UNSPECIFIED", 1: "NO_SIGNAL", 2: "ACCEPTED", 3: "REJECTED", } Publication_Audience_Receipt_value = map[string]int32{ "RECEIPT_UNSPECIFIED": 0, "NO_SIGNAL": 1, "ACCEPTED": 2, "REJECTED": 3, } )
Enum value maps for Publication_Audience_Receipt.
var ( Consumable_Unit_name = map[int32]string{ 0: "UNIT_UNSPECIFIED", 1: "NO_UNIT", 2: "METER", 3: "LITER", 4: "CUBIC_METER", 5: "CUP", 6: "KILOGRAM", } Consumable_Unit_value = map[string]int32{ "UNIT_UNSPECIFIED": 0, "NO_UNIT": 1, "METER": 2, "LITER": 3, "CUBIC_METER": 4, "CUP": 5, "KILOGRAM": 6, } )
Enum value maps for Consumable_Unit.
var ( WasteRecord_DisposalMethod_name = map[int32]string{ 0: "DISPOSAL_METHOD_UNSPECIFIED", 1: "GENERAL_WASTE", 2: "MIXED_RECYCLING", } WasteRecord_DisposalMethod_value = map[string]int32{ "DISPOSAL_METHOD_UNSPECIFIED": 0, "GENERAL_WASTE": 1, "MIXED_RECYCLING": 2, } )
Enum value maps for WasteRecord_DisposalMethod.
var AccessApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.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: "traits/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 AirQualitySensorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.AirQualitySensorApi", HandlerType: (*AirQualitySensorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAirQuality", Handler: _AirQualitySensorApi_GetAirQuality_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullAirQuality", Handler: _AirQualitySensorApi_PullAirQuality_Handler, ServerStreams: true, }, }, Metadata: "traits/air_quality_sensor.proto", }
AirQualitySensorApi_ServiceDesc is the grpc.ServiceDesc for AirQualitySensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AirQualitySensorInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.AirQualitySensorInfo", HandlerType: (*AirQualitySensorInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeAirQuality", Handler: _AirQualitySensorInfo_DescribeAirQuality_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/air_quality_sensor.proto", }
AirQualitySensorInfo_ServiceDesc is the grpc.ServiceDesc for AirQualitySensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AirTemperatureApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.AirTemperatureApi", HandlerType: (*AirTemperatureApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAirTemperature", Handler: _AirTemperatureApi_GetAirTemperature_Handler, }, { MethodName: "UpdateAirTemperature", Handler: _AirTemperatureApi_UpdateAirTemperature_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullAirTemperature", Handler: _AirTemperatureApi_PullAirTemperature_Handler, ServerStreams: true, }, }, Metadata: "traits/air_temperature.proto", }
AirTemperatureApi_ServiceDesc is the grpc.ServiceDesc for AirTemperatureApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AirTemperatureInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.AirTemperatureInfo", HandlerType: (*AirTemperatureInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeAirTemperature", Handler: _AirTemperatureInfo_DescribeAirTemperature_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/air_temperature.proto", }
AirTemperatureInfo_ServiceDesc is the grpc.ServiceDesc for AirTemperatureInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BookingApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.BookingApi", HandlerType: (*BookingApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListBookings", Handler: _BookingApi_ListBookings_Handler, }, { MethodName: "CheckInBooking", Handler: _BookingApi_CheckInBooking_Handler, }, { MethodName: "CheckOutBooking", Handler: _BookingApi_CheckOutBooking_Handler, }, { MethodName: "CreateBooking", Handler: _BookingApi_CreateBooking_Handler, }, { MethodName: "UpdateBooking", Handler: _BookingApi_UpdateBooking_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullBookings", Handler: _BookingApi_PullBookings_Handler, ServerStreams: true, }, }, Metadata: "traits/booking.proto", }
BookingApi_ServiceDesc is the grpc.ServiceDesc for BookingApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BookingInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.BookingInfo", HandlerType: (*BookingInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeBooking", Handler: _BookingInfo_DescribeBooking_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/booking.proto", }
BookingInfo_ServiceDesc is the grpc.ServiceDesc for BookingInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BrightnessSensorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.BrightnessSensorApi", HandlerType: (*BrightnessSensorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAmbientBrightness", Handler: _BrightnessSensorApi_GetAmbientBrightness_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullAmbientBrightness", Handler: _BrightnessSensorApi_PullAmbientBrightness_Handler, ServerStreams: true, }, }, Metadata: "traits/brightness_sensor.proto", }
BrightnessSensorApi_ServiceDesc is the grpc.ServiceDesc for BrightnessSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BrightnessSensorInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.BrightnessSensorInfo", HandlerType: (*BrightnessSensorInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeAmbientBrightness", Handler: _BrightnessSensorInfo_DescribeAmbientBrightness_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/brightness_sensor.proto", }
BrightnessSensorInfo_ServiceDesc is the grpc.ServiceDesc for BrightnessSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ChannelApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ChannelApi", HandlerType: (*ChannelApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetChosenChannel", Handler: _ChannelApi_GetChosenChannel_Handler, }, { MethodName: "ChooseChannel", Handler: _ChannelApi_ChooseChannel_Handler, }, { MethodName: "AdjustChannel", Handler: _ChannelApi_AdjustChannel_Handler, }, { MethodName: "ReturnChannel", Handler: _ChannelApi_ReturnChannel_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullChosenChannel", Handler: _ChannelApi_PullChosenChannel_Handler, ServerStreams: true, }, }, Metadata: "traits/channel.proto", }
ChannelApi_ServiceDesc is the grpc.ServiceDesc for ChannelApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ChannelInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ChannelInfo", HandlerType: (*ChannelInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeChosenChannel", Handler: _ChannelInfo_DescribeChosenChannel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/channel.proto", }
ChannelInfo_ServiceDesc is the grpc.ServiceDesc for ChannelInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ColorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.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: "traits/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.traits.ColorInfo", HandlerType: (*ColorInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeColor", Handler: _ColorInfo_DescribeColor_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/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 CountApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.CountApi", HandlerType: (*CountApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCount", Handler: _CountApi_GetCount_Handler, }, { MethodName: "ResetCount", Handler: _CountApi_ResetCount_Handler, }, { MethodName: "UpdateCount", Handler: _CountApi_UpdateCount_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullCounts", Handler: _CountApi_PullCounts_Handler, ServerStreams: true, }, }, Metadata: "traits/count.proto", }
CountApi_ServiceDesc is the grpc.ServiceDesc for CountApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CountInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.CountInfo", HandlerType: (*CountInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeCount", Handler: _CountInfo_DescribeCount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/count.proto", }
CountInfo_ServiceDesc is the grpc.ServiceDesc for CountInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ElectricApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ElectricApi", HandlerType: (*ElectricApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDemand", Handler: _ElectricApi_GetDemand_Handler, }, { MethodName: "GetActiveMode", Handler: _ElectricApi_GetActiveMode_Handler, }, { MethodName: "UpdateActiveMode", Handler: _ElectricApi_UpdateActiveMode_Handler, }, { MethodName: "ClearActiveMode", Handler: _ElectricApi_ClearActiveMode_Handler, }, { MethodName: "ListModes", Handler: _ElectricApi_ListModes_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullDemand", Handler: _ElectricApi_PullDemand_Handler, ServerStreams: true, }, { StreamName: "PullActiveMode", Handler: _ElectricApi_PullActiveMode_Handler, ServerStreams: true, }, { StreamName: "PullModes", Handler: _ElectricApi_PullModes_Handler, ServerStreams: true, }, }, Metadata: "traits/electric.proto", }
ElectricApi_ServiceDesc is the grpc.ServiceDesc for ElectricApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ElectricInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ElectricInfo", HandlerType: (*ElectricInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/electric.proto", }
ElectricInfo_ServiceDesc is the grpc.ServiceDesc for ElectricInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EmergencyApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EmergencyApi", HandlerType: (*EmergencyApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEmergency", Handler: _EmergencyApi_GetEmergency_Handler, }, { MethodName: "UpdateEmergency", Handler: _EmergencyApi_UpdateEmergency_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullEmergency", Handler: _EmergencyApi_PullEmergency_Handler, ServerStreams: true, }, }, Metadata: "traits/emergency.proto", }
EmergencyApi_ServiceDesc is the grpc.ServiceDesc for EmergencyApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EmergencyInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EmergencyInfo", HandlerType: (*EmergencyInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeEmergency", Handler: _EmergencyInfo_DescribeEmergency_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/emergency.proto", }
EmergencyInfo_ServiceDesc is the grpc.ServiceDesc for EmergencyInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnergyStorageApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EnergyStorageApi", HandlerType: (*EnergyStorageApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEnergyLevel", Handler: _EnergyStorageApi_GetEnergyLevel_Handler, }, { MethodName: "Charge", Handler: _EnergyStorageApi_Charge_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullEnergyLevel", Handler: _EnergyStorageApi_PullEnergyLevel_Handler, ServerStreams: true, }, }, Metadata: "traits/energy_storage.proto", }
EnergyStorageApi_ServiceDesc is the grpc.ServiceDesc for EnergyStorageApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnergyStorageInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EnergyStorageInfo", HandlerType: (*EnergyStorageInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeEnergyLevel", Handler: _EnergyStorageInfo_DescribeEnergyLevel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/energy_storage.proto", }
EnergyStorageInfo_ServiceDesc is the grpc.ServiceDesc for EnergyStorageInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnterLeaveSensorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EnterLeaveSensorApi", HandlerType: (*EnterLeaveSensorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEnterLeaveEvent", Handler: _EnterLeaveSensorApi_GetEnterLeaveEvent_Handler, }, { MethodName: "ResetEnterLeaveTotals", Handler: _EnterLeaveSensorApi_ResetEnterLeaveTotals_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullEnterLeaveEvents", Handler: _EnterLeaveSensorApi_PullEnterLeaveEvents_Handler, ServerStreams: true, }, }, Metadata: "traits/enter_leave_sensor.proto", }
EnterLeaveSensorApi_ServiceDesc is the grpc.ServiceDesc for EnterLeaveSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnterLeaveSensorInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.EnterLeaveSensorInfo", HandlerType: (*EnterLeaveSensorInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/enter_leave_sensor.proto", }
EnterLeaveSensorInfo_ServiceDesc is the grpc.ServiceDesc for EnterLeaveSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ExtendRetractApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ExtendRetractApi", HandlerType: (*ExtendRetractApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetExtension", Handler: _ExtendRetractApi_GetExtension_Handler, }, { MethodName: "UpdateExtension", Handler: _ExtendRetractApi_UpdateExtension_Handler, }, { MethodName: "Stop", Handler: _ExtendRetractApi_Stop_Handler, }, { MethodName: "CreateExtensionPreset", Handler: _ExtendRetractApi_CreateExtensionPreset_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullExtensions", Handler: _ExtendRetractApi_PullExtensions_Handler, ServerStreams: true, }, }, Metadata: "traits/extend_retract.proto", }
ExtendRetractApi_ServiceDesc is the grpc.ServiceDesc for ExtendRetractApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ExtendRetractInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ExtendRetractInfo", HandlerType: (*ExtendRetractInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeExtension", Handler: _ExtendRetractInfo_DescribeExtension_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/extend_retract.proto", }
ExtendRetractInfo_ServiceDesc is the grpc.ServiceDesc for ExtendRetractInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FanSpeedApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.FanSpeedApi", HandlerType: (*FanSpeedApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFanSpeed", Handler: _FanSpeedApi_GetFanSpeed_Handler, }, { MethodName: "UpdateFanSpeed", Handler: _FanSpeedApi_UpdateFanSpeed_Handler, }, { MethodName: "ReverseFanSpeedDirection", Handler: _FanSpeedApi_ReverseFanSpeedDirection_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullFanSpeed", Handler: _FanSpeedApi_PullFanSpeed_Handler, ServerStreams: true, }, }, Metadata: "traits/fan_speed.proto", }
FanSpeedApi_ServiceDesc is the grpc.ServiceDesc for FanSpeedApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FanSpeedInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.FanSpeedInfo", HandlerType: (*FanSpeedInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeFanSpeed", Handler: _FanSpeedInfo_DescribeFanSpeed_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/fan_speed.proto", }
FanSpeedInfo_ServiceDesc is the grpc.ServiceDesc for FanSpeedInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_traits_access_proto protoreflect.FileDescriptor
var File_traits_air_quality_sensor_proto protoreflect.FileDescriptor
var File_traits_air_temperature_proto protoreflect.FileDescriptor
var File_traits_booking_proto protoreflect.FileDescriptor
var File_traits_brightness_sensor_proto protoreflect.FileDescriptor
var File_traits_channel_proto protoreflect.FileDescriptor
var File_traits_color_proto protoreflect.FileDescriptor
var File_traits_count_proto protoreflect.FileDescriptor
var File_traits_electric_proto protoreflect.FileDescriptor
var File_traits_emergency_proto protoreflect.FileDescriptor
var File_traits_energy_storage_proto protoreflect.FileDescriptor
var File_traits_enter_leave_sensor_proto protoreflect.FileDescriptor
var File_traits_extend_retract_proto protoreflect.FileDescriptor
var File_traits_fan_speed_proto protoreflect.FileDescriptor
var File_traits_hail_proto protoreflect.FileDescriptor
var File_traits_input_select_proto protoreflect.FileDescriptor
var File_traits_light_proto protoreflect.FileDescriptor
var File_traits_lock_unlock_proto protoreflect.FileDescriptor
var File_traits_metadata_proto protoreflect.FileDescriptor
var File_traits_meter_proto protoreflect.FileDescriptor
var File_traits_microphone_proto protoreflect.FileDescriptor
var File_traits_mode_proto protoreflect.FileDescriptor
var File_traits_motion_sensor_proto protoreflect.FileDescriptor
var File_traits_occupancy_sensor_proto protoreflect.FileDescriptor
var File_traits_on_off_proto protoreflect.FileDescriptor
var File_traits_open_close_proto protoreflect.FileDescriptor
var File_traits_parent_proto protoreflect.FileDescriptor
var File_traits_press_proto protoreflect.FileDescriptor
var File_traits_ptz_proto protoreflect.FileDescriptor
var File_traits_publication_proto protoreflect.FileDescriptor
var File_traits_speaker_proto protoreflect.FileDescriptor
var File_traits_temperature_proto protoreflect.FileDescriptor
var File_traits_vending_proto protoreflect.FileDescriptor
var File_traits_waste_proto protoreflect.FileDescriptor
var HailApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.HailApi", HandlerType: (*HailApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateHail", Handler: _HailApi_CreateHail_Handler, }, { MethodName: "GetHail", Handler: _HailApi_GetHail_Handler, }, { MethodName: "UpdateHail", Handler: _HailApi_UpdateHail_Handler, }, { MethodName: "DeleteHail", Handler: _HailApi_DeleteHail_Handler, }, { MethodName: "ListHails", Handler: _HailApi_ListHails_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullHail", Handler: _HailApi_PullHail_Handler, ServerStreams: true, }, { StreamName: "PullHails", Handler: _HailApi_PullHails_Handler, ServerStreams: true, }, }, Metadata: "traits/hail.proto", }
HailApi_ServiceDesc is the grpc.ServiceDesc for HailApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var HailInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.HailInfo", HandlerType: (*HailInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/hail.proto", }
HailInfo_ServiceDesc is the grpc.ServiceDesc for HailInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InputSelectApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.InputSelectApi", HandlerType: (*InputSelectApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateInput", Handler: _InputSelectApi_UpdateInput_Handler, }, { MethodName: "GetInput", Handler: _InputSelectApi_GetInput_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullInput", Handler: _InputSelectApi_PullInput_Handler, ServerStreams: true, }, }, Metadata: "traits/input_select.proto", }
InputSelectApi_ServiceDesc is the grpc.ServiceDesc for InputSelectApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InputSelectInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.InputSelectInfo", HandlerType: (*InputSelectInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeInput", Handler: _InputSelectInfo_DescribeInput_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/input_select.proto", }
InputSelectInfo_ServiceDesc is the grpc.ServiceDesc for InputSelectInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LightApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.LightApi", HandlerType: (*LightApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateBrightness", Handler: _LightApi_UpdateBrightness_Handler, }, { MethodName: "GetBrightness", Handler: _LightApi_GetBrightness_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullBrightness", Handler: _LightApi_PullBrightness_Handler, ServerStreams: true, }, }, Metadata: "traits/light.proto", }
LightApi_ServiceDesc is the grpc.ServiceDesc for LightApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LightInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.LightInfo", HandlerType: (*LightInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeBrightness", Handler: _LightInfo_DescribeBrightness_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/light.proto", }
LightInfo_ServiceDesc is the grpc.ServiceDesc for LightInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LockUnlockApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.LockUnlockApi", HandlerType: (*LockUnlockApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLockUnlock", Handler: _LockUnlockApi_GetLockUnlock_Handler, }, { MethodName: "UpdateLockUnlock", Handler: _LockUnlockApi_UpdateLockUnlock_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullLockUnlock", Handler: _LockUnlockApi_PullLockUnlock_Handler, ServerStreams: true, }, }, Metadata: "traits/lock_unlock.proto", }
LockUnlockApi_ServiceDesc is the grpc.ServiceDesc for LockUnlockApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LockUnlockInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.LockUnlockInfo", HandlerType: (*LockUnlockInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/lock_unlock.proto", }
LockUnlockInfo_ServiceDesc is the grpc.ServiceDesc for LockUnlockInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MetadataApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MetadataApi", HandlerType: (*MetadataApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMetadata", Handler: _MetadataApi_GetMetadata_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullMetadata", Handler: _MetadataApi_PullMetadata_Handler, ServerStreams: true, }, }, Metadata: "traits/metadata.proto", }
MetadataApi_ServiceDesc is the grpc.ServiceDesc for MetadataApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MetadataInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MetadataInfo", HandlerType: (*MetadataInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/metadata.proto", }
MetadataInfo_ServiceDesc is the grpc.ServiceDesc for MetadataInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MeterApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.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: "traits/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 MeterInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MeterInfo", HandlerType: (*MeterInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeMeterReading", Handler: _MeterInfo_DescribeMeterReading_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/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 MicrophoneApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MicrophoneApi", HandlerType: (*MicrophoneApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetGain", Handler: _MicrophoneApi_GetGain_Handler, }, { MethodName: "UpdateGain", Handler: _MicrophoneApi_UpdateGain_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullGain", Handler: _MicrophoneApi_PullGain_Handler, ServerStreams: true, }, }, Metadata: "traits/microphone.proto", }
MicrophoneApi_ServiceDesc is the grpc.ServiceDesc for MicrophoneApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MicrophoneInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MicrophoneInfo", HandlerType: (*MicrophoneInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeGain", Handler: _MicrophoneInfo_DescribeGain_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/microphone.proto", }
MicrophoneInfo_ServiceDesc is the grpc.ServiceDesc for MicrophoneInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ModeApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ModeApi", HandlerType: (*ModeApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetModeValues", Handler: _ModeApi_GetModeValues_Handler, }, { MethodName: "UpdateModeValues", Handler: _ModeApi_UpdateModeValues_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullModeValues", Handler: _ModeApi_PullModeValues_Handler, ServerStreams: true, }, }, Metadata: "traits/mode.proto", }
ModeApi_ServiceDesc is the grpc.ServiceDesc for ModeApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ModeInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ModeInfo", HandlerType: (*ModeInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeModes", Handler: _ModeInfo_DescribeModes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/mode.proto", }
ModeInfo_ServiceDesc is the grpc.ServiceDesc for ModeInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MotionSensorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MotionSensorApi", HandlerType: (*MotionSensorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMotionDetection", Handler: _MotionSensorApi_GetMotionDetection_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullMotionDetections", Handler: _MotionSensorApi_PullMotionDetections_Handler, ServerStreams: true, }, }, Metadata: "traits/motion_sensor.proto", }
MotionSensorApi_ServiceDesc is the grpc.ServiceDesc for MotionSensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MotionSensorSensorInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.MotionSensorSensorInfo", HandlerType: (*MotionSensorSensorInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeMotionDetection", Handler: _MotionSensorSensorInfo_DescribeMotionDetection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/motion_sensor.proto", }
MotionSensorSensorInfo_ServiceDesc is the grpc.ServiceDesc for MotionSensorSensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OccupancySensorApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OccupancySensorApi", HandlerType: (*OccupancySensorApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOccupancy", Handler: _OccupancySensorApi_GetOccupancy_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullOccupancy", Handler: _OccupancySensorApi_PullOccupancy_Handler, ServerStreams: true, }, }, Metadata: "traits/occupancy_sensor.proto", }
OccupancySensorApi_ServiceDesc is the grpc.ServiceDesc for OccupancySensorApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OccupancySensorInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OccupancySensorInfo", HandlerType: (*OccupancySensorInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeOccupancy", Handler: _OccupancySensorInfo_DescribeOccupancy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/occupancy_sensor.proto", }
OccupancySensorInfo_ServiceDesc is the grpc.ServiceDesc for OccupancySensorInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OnOffApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OnOffApi", HandlerType: (*OnOffApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOnOff", Handler: _OnOffApi_GetOnOff_Handler, }, { MethodName: "UpdateOnOff", Handler: _OnOffApi_UpdateOnOff_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullOnOff", Handler: _OnOffApi_PullOnOff_Handler, ServerStreams: true, }, }, Metadata: "traits/on_off.proto", }
OnOffApi_ServiceDesc is the grpc.ServiceDesc for OnOffApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OnOffInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OnOffInfo", HandlerType: (*OnOffInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeOnOff", Handler: _OnOffInfo_DescribeOnOff_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/on_off.proto", }
OnOffInfo_ServiceDesc is the grpc.ServiceDesc for OnOffInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OpenCloseApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OpenCloseApi", HandlerType: (*OpenCloseApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPositions", Handler: _OpenCloseApi_GetPositions_Handler, }, { MethodName: "UpdatePositions", Handler: _OpenCloseApi_UpdatePositions_Handler, }, { MethodName: "Stop", Handler: _OpenCloseApi_Stop_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullPositions", Handler: _OpenCloseApi_PullPositions_Handler, ServerStreams: true, }, }, Metadata: "traits/open_close.proto", }
OpenCloseApi_ServiceDesc is the grpc.ServiceDesc for OpenCloseApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OpenCloseInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.OpenCloseInfo", HandlerType: (*OpenCloseInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribePositions", Handler: _OpenCloseInfo_DescribePositions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/open_close.proto", }
OpenCloseInfo_ServiceDesc is the grpc.ServiceDesc for OpenCloseInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ParentApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ParentApi", HandlerType: (*ParentApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListChildren", Handler: _ParentApi_ListChildren_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullChildren", Handler: _ParentApi_PullChildren_Handler, ServerStreams: true, }, }, Metadata: "traits/parent.proto", }
ParentApi_ServiceDesc is the grpc.ServiceDesc for ParentApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ParentInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.ParentInfo", HandlerType: (*ParentInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/parent.proto", }
ParentInfo_ServiceDesc is the grpc.ServiceDesc for ParentInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PressApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.PressApi", HandlerType: (*PressApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPressedState", Handler: _PressApi_GetPressedState_Handler, }, { MethodName: "UpdatePressedState", Handler: _PressApi_UpdatePressedState_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullPressedState", Handler: _PressApi_PullPressedState_Handler, ServerStreams: true, }, }, Metadata: "traits/press.proto", }
PressApi_ServiceDesc is the grpc.ServiceDesc for PressApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PtzApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.PtzApi", HandlerType: (*PtzApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPtz", Handler: _PtzApi_GetPtz_Handler, }, { MethodName: "UpdatePtz", Handler: _PtzApi_UpdatePtz_Handler, }, { MethodName: "Stop", Handler: _PtzApi_Stop_Handler, }, { MethodName: "CreatePreset", Handler: _PtzApi_CreatePreset_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullPtz", Handler: _PtzApi_PullPtz_Handler, ServerStreams: true, }, }, Metadata: "traits/ptz.proto", }
PtzApi_ServiceDesc is the grpc.ServiceDesc for PtzApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PtzInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.PtzInfo", HandlerType: (*PtzInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribePtz", Handler: _PtzInfo_DescribePtz_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/ptz.proto", }
PtzInfo_ServiceDesc is the grpc.ServiceDesc for PtzInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PublicationApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.PublicationApi", HandlerType: (*PublicationApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePublication", Handler: _PublicationApi_CreatePublication_Handler, }, { MethodName: "GetPublication", Handler: _PublicationApi_GetPublication_Handler, }, { MethodName: "UpdatePublication", Handler: _PublicationApi_UpdatePublication_Handler, }, { MethodName: "DeletePublication", Handler: _PublicationApi_DeletePublication_Handler, }, { MethodName: "ListPublications", Handler: _PublicationApi_ListPublications_Handler, }, { MethodName: "AcknowledgePublication", Handler: _PublicationApi_AcknowledgePublication_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullPublication", Handler: _PublicationApi_PullPublication_Handler, ServerStreams: true, }, { StreamName: "PullPublications", Handler: _PublicationApi_PullPublications_Handler, ServerStreams: true, }, }, Metadata: "traits/publication.proto", }
PublicationApi_ServiceDesc is the grpc.ServiceDesc for PublicationApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SpeakerApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.SpeakerApi", HandlerType: (*SpeakerApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVolume", Handler: _SpeakerApi_GetVolume_Handler, }, { MethodName: "UpdateVolume", Handler: _SpeakerApi_UpdateVolume_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullVolume", Handler: _SpeakerApi_PullVolume_Handler, ServerStreams: true, }, }, Metadata: "traits/speaker.proto", }
SpeakerApi_ServiceDesc is the grpc.ServiceDesc for SpeakerApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SpeakerInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.SpeakerInfo", HandlerType: (*SpeakerInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeVolume", Handler: _SpeakerInfo_DescribeVolume_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/speaker.proto", }
SpeakerInfo_ServiceDesc is the grpc.ServiceDesc for SpeakerInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TemperatureApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.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: "traits/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 VendingApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.VendingApi", HandlerType: (*VendingApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListConsumables", Handler: _VendingApi_ListConsumables_Handler, }, { MethodName: "GetStock", Handler: _VendingApi_GetStock_Handler, }, { MethodName: "UpdateStock", Handler: _VendingApi_UpdateStock_Handler, }, { MethodName: "ListInventory", Handler: _VendingApi_ListInventory_Handler, }, { MethodName: "Dispense", Handler: _VendingApi_Dispense_Handler, }, { MethodName: "StopDispense", Handler: _VendingApi_StopDispense_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullConsumables", Handler: _VendingApi_PullConsumables_Handler, ServerStreams: true, }, { StreamName: "PullStock", Handler: _VendingApi_PullStock_Handler, ServerStreams: true, }, { StreamName: "PullInventory", Handler: _VendingApi_PullInventory_Handler, ServerStreams: true, }, }, Metadata: "traits/vending.proto", }
VendingApi_ServiceDesc is the grpc.ServiceDesc for VendingApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VendingInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.VendingInfo", HandlerType: (*VendingInfoServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "traits/vending.proto", }
VendingInfo_ServiceDesc is the grpc.ServiceDesc for VendingInfo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WasteApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.WasteApi", HandlerType: (*WasteApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListWasteRecords", Handler: _WasteApi_ListWasteRecords_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullWasteRecords", Handler: _WasteApi_PullWasteRecords_Handler, ServerStreams: true, }, }, Metadata: "traits/waste.proto", }
WasteApi_ServiceDesc is the grpc.ServiceDesc for WasteApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WasteInfo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "smartcore.traits.WasteInfo", HandlerType: (*WasteInfoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeWasteRecord", Handler: _WasteInfo_DescribeWasteRecord_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "traits/waste.proto", }
WasteInfo_ServiceDesc is the grpc.ServiceDesc for WasteInfo 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 RegisterAirQualitySensorApiServer ¶
func RegisterAirQualitySensorApiServer(s grpc.ServiceRegistrar, srv AirQualitySensorApiServer)
func RegisterAirQualitySensorInfoServer ¶
func RegisterAirQualitySensorInfoServer(s grpc.ServiceRegistrar, srv AirQualitySensorInfoServer)
func RegisterAirTemperatureApiServer ¶
func RegisterAirTemperatureApiServer(s grpc.ServiceRegistrar, srv AirTemperatureApiServer)
func RegisterAirTemperatureInfoServer ¶
func RegisterAirTemperatureInfoServer(s grpc.ServiceRegistrar, srv AirTemperatureInfoServer)
func RegisterBookingApiServer ¶
func RegisterBookingApiServer(s grpc.ServiceRegistrar, srv BookingApiServer)
func RegisterBookingInfoServer ¶
func RegisterBookingInfoServer(s grpc.ServiceRegistrar, srv BookingInfoServer)
func RegisterBrightnessSensorApiServer ¶
func RegisterBrightnessSensorApiServer(s grpc.ServiceRegistrar, srv BrightnessSensorApiServer)
func RegisterBrightnessSensorInfoServer ¶
func RegisterBrightnessSensorInfoServer(s grpc.ServiceRegistrar, srv BrightnessSensorInfoServer)
func RegisterChannelApiServer ¶
func RegisterChannelApiServer(s grpc.ServiceRegistrar, srv ChannelApiServer)
func RegisterChannelInfoServer ¶
func RegisterChannelInfoServer(s grpc.ServiceRegistrar, srv ChannelInfoServer)
func RegisterColorApiServer ¶
func RegisterColorApiServer(s grpc.ServiceRegistrar, srv ColorApiServer)
func RegisterColorInfoServer ¶
func RegisterColorInfoServer(s grpc.ServiceRegistrar, srv ColorInfoServer)
func RegisterCountApiServer ¶
func RegisterCountApiServer(s grpc.ServiceRegistrar, srv CountApiServer)
func RegisterCountInfoServer ¶
func RegisterCountInfoServer(s grpc.ServiceRegistrar, srv CountInfoServer)
func RegisterElectricApiServer ¶
func RegisterElectricApiServer(s grpc.ServiceRegistrar, srv ElectricApiServer)
func RegisterElectricInfoServer ¶
func RegisterElectricInfoServer(s grpc.ServiceRegistrar, srv ElectricInfoServer)
func RegisterEmergencyApiServer ¶
func RegisterEmergencyApiServer(s grpc.ServiceRegistrar, srv EmergencyApiServer)
func RegisterEmergencyInfoServer ¶
func RegisterEmergencyInfoServer(s grpc.ServiceRegistrar, srv EmergencyInfoServer)
func RegisterEnergyStorageApiServer ¶
func RegisterEnergyStorageApiServer(s grpc.ServiceRegistrar, srv EnergyStorageApiServer)
func RegisterEnergyStorageInfoServer ¶
func RegisterEnergyStorageInfoServer(s grpc.ServiceRegistrar, srv EnergyStorageInfoServer)
func RegisterEnterLeaveSensorApiServer ¶
func RegisterEnterLeaveSensorApiServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorApiServer)
func RegisterEnterLeaveSensorInfoServer ¶
func RegisterEnterLeaveSensorInfoServer(s grpc.ServiceRegistrar, srv EnterLeaveSensorInfoServer)
func RegisterExtendRetractApiServer ¶
func RegisterExtendRetractApiServer(s grpc.ServiceRegistrar, srv ExtendRetractApiServer)
func RegisterExtendRetractInfoServer ¶
func RegisterExtendRetractInfoServer(s grpc.ServiceRegistrar, srv ExtendRetractInfoServer)
func RegisterFanSpeedApiServer ¶
func RegisterFanSpeedApiServer(s grpc.ServiceRegistrar, srv FanSpeedApiServer)
func RegisterFanSpeedInfoServer ¶
func RegisterFanSpeedInfoServer(s grpc.ServiceRegistrar, srv FanSpeedInfoServer)
func RegisterHailApiServer ¶
func RegisterHailApiServer(s grpc.ServiceRegistrar, srv HailApiServer)
func RegisterHailInfoServer ¶
func RegisterHailInfoServer(s grpc.ServiceRegistrar, srv HailInfoServer)
func RegisterInputSelectApiServer ¶
func RegisterInputSelectApiServer(s grpc.ServiceRegistrar, srv InputSelectApiServer)
func RegisterInputSelectInfoServer ¶
func RegisterInputSelectInfoServer(s grpc.ServiceRegistrar, srv InputSelectInfoServer)
func RegisterLightApiServer ¶
func RegisterLightApiServer(s grpc.ServiceRegistrar, srv LightApiServer)
func RegisterLightInfoServer ¶
func RegisterLightInfoServer(s grpc.ServiceRegistrar, srv LightInfoServer)
func RegisterLockUnlockApiServer ¶
func RegisterLockUnlockApiServer(s grpc.ServiceRegistrar, srv LockUnlockApiServer)
func RegisterLockUnlockInfoServer ¶
func RegisterLockUnlockInfoServer(s grpc.ServiceRegistrar, srv LockUnlockInfoServer)
func RegisterMetadataApiServer ¶
func RegisterMetadataApiServer(s grpc.ServiceRegistrar, srv MetadataApiServer)
func RegisterMetadataInfoServer ¶
func RegisterMetadataInfoServer(s grpc.ServiceRegistrar, srv MetadataInfoServer)
func RegisterMeterApiServer ¶
func RegisterMeterApiServer(s grpc.ServiceRegistrar, srv MeterApiServer)
func RegisterMeterInfoServer ¶
func RegisterMeterInfoServer(s grpc.ServiceRegistrar, srv MeterInfoServer)
func RegisterMicrophoneApiServer ¶
func RegisterMicrophoneApiServer(s grpc.ServiceRegistrar, srv MicrophoneApiServer)
func RegisterMicrophoneInfoServer ¶
func RegisterMicrophoneInfoServer(s grpc.ServiceRegistrar, srv MicrophoneInfoServer)
func RegisterModeApiServer ¶
func RegisterModeApiServer(s grpc.ServiceRegistrar, srv ModeApiServer)
func RegisterModeInfoServer ¶
func RegisterModeInfoServer(s grpc.ServiceRegistrar, srv ModeInfoServer)
func RegisterMotionSensorApiServer ¶
func RegisterMotionSensorApiServer(s grpc.ServiceRegistrar, srv MotionSensorApiServer)
func RegisterMotionSensorSensorInfoServer ¶
func RegisterMotionSensorSensorInfoServer(s grpc.ServiceRegistrar, srv MotionSensorSensorInfoServer)
func RegisterOccupancySensorApiServer ¶
func RegisterOccupancySensorApiServer(s grpc.ServiceRegistrar, srv OccupancySensorApiServer)
func RegisterOccupancySensorInfoServer ¶
func RegisterOccupancySensorInfoServer(s grpc.ServiceRegistrar, srv OccupancySensorInfoServer)
func RegisterOnOffApiServer ¶
func RegisterOnOffApiServer(s grpc.ServiceRegistrar, srv OnOffApiServer)
func RegisterOnOffInfoServer ¶
func RegisterOnOffInfoServer(s grpc.ServiceRegistrar, srv OnOffInfoServer)
func RegisterOpenCloseApiServer ¶
func RegisterOpenCloseApiServer(s grpc.ServiceRegistrar, srv OpenCloseApiServer)
func RegisterOpenCloseInfoServer ¶
func RegisterOpenCloseInfoServer(s grpc.ServiceRegistrar, srv OpenCloseInfoServer)
func RegisterParentApiServer ¶
func RegisterParentApiServer(s grpc.ServiceRegistrar, srv ParentApiServer)
func RegisterParentInfoServer ¶
func RegisterParentInfoServer(s grpc.ServiceRegistrar, srv ParentInfoServer)
func RegisterPressApiServer ¶
func RegisterPressApiServer(s grpc.ServiceRegistrar, srv PressApiServer)
func RegisterPtzApiServer ¶
func RegisterPtzApiServer(s grpc.ServiceRegistrar, srv PtzApiServer)
func RegisterPtzInfoServer ¶
func RegisterPtzInfoServer(s grpc.ServiceRegistrar, srv PtzInfoServer)
func RegisterPublicationApiServer ¶
func RegisterPublicationApiServer(s grpc.ServiceRegistrar, srv PublicationApiServer)
func RegisterSpeakerApiServer ¶
func RegisterSpeakerApiServer(s grpc.ServiceRegistrar, srv SpeakerApiServer)
func RegisterSpeakerInfoServer ¶
func RegisterSpeakerInfoServer(s grpc.ServiceRegistrar, srv SpeakerInfoServer)
func RegisterTemperatureApiServer ¶
func RegisterTemperatureApiServer(s grpc.ServiceRegistrar, srv TemperatureApiServer)
func RegisterVendingApiServer ¶
func RegisterVendingApiServer(s grpc.ServiceRegistrar, srv VendingApiServer)
func RegisterVendingInfoServer ¶
func RegisterVendingInfoServer(s grpc.ServiceRegistrar, srv VendingInfoServer)
func RegisterWasteApiServer ¶
func RegisterWasteApiServer(s grpc.ServiceRegistrar, srv WasteApiServer)
func RegisterWasteInfoServer ¶
func RegisterWasteInfoServer(s grpc.ServiceRegistrar, srv WasteInfoServer)
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) (grpc.ServerStreamingClient[PullAccessAttemptsResponse], 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.
AccessApi describes the capability to manage access to a resource. This could be a access card reader next to a door, or a barrier at a car park.
func NewAccessApiClient ¶
func NewAccessApiClient(cc grpc.ClientConnInterface) AccessApiClient
type AccessApiServer ¶
type AccessApiServer interface { GetLastAccessAttempt(context.Context, *GetLastAccessAttemptRequest) (*AccessAttempt, error) PullAccessAttempts(*PullAccessAttemptsRequest, grpc.ServerStreamingServer[PullAccessAttemptsResponse]) error // contains filtered or unexported methods }
AccessApiServer is the server API for AccessApi service. All implementations must embed UnimplementedAccessApiServer for forward compatibility.
AccessApi describes the capability to manage access to a resource. This could be a access card reader next to a door, or a barrier at a car park.
type AccessApi_PullAccessAttemptsClient ¶
type AccessApi_PullAccessAttemptsClient = grpc.ServerStreamingClient[PullAccessAttemptsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AccessApi_PullAccessAttemptsServer ¶
type AccessApi_PullAccessAttemptsServer = grpc.ServerStreamingServer[PullAccessAttemptsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AccessAttempt ¶
type AccessAttempt struct { // Was the access attempt granted or denied. Grant AccessAttempt_Grant `protobuf:"varint,1,opt,name=grant,proto3,enum=smartcore.traits.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"` // The time the access attempt was made AccessAttemptTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=access_attempt_time,json=accessAttemptTime,proto3" json:"access_attempt_time,omitempty"` // contains filtered or unexported fields }
AccessAttempt describes an access attempt made at an access point. At a minimum it should define the status of the access attempt, and the time it was made. It may also include the actor attempting access, and the reason for the access attempt being granted or denied.
func (*AccessAttempt) Descriptor
deprecated
func (*AccessAttempt) Descriptor() ([]byte, []int)
Deprecated: Use AccessAttempt.ProtoReflect.Descriptor instead.
func (*AccessAttempt) GetAccessAttemptTime ¶
func (x *AccessAttempt) GetAccessAttemptTime() *timestamppb.Timestamp
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"` // The time this actor was last granted access. // The grant may have been performed by a different device to this one. LastGrantTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=last_grant_time,json=lastGrantTime,proto3" json:"last_grant_time,omitempty"` // The access zone the actor was last granted access to. // The zone will be provided by the device and may not map to any Smart Core zone or device. LastGrantZone string `protobuf:"bytes,16,opt,name=last_grant_zone,json=lastGrantZone,proto3" json:"last_grant_zone,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) GetLastGrantTime ¶
func (x *AccessAttempt_Actor) GetLastGrantTime() *timestamppb.Timestamp
func (*AccessAttempt_Actor) GetLastGrantZone ¶
func (x *AccessAttempt_Actor) GetLastGrantZone() 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 AcknowledgePublicationRequest ¶
type AcknowledgePublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The ID of the publication to acknowledge. // Required. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The version of the publication to acknowledge. // Required. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // One of ACCEPTED or REJECTED. // Optional, ACCEPTED is used if not present Receipt Publication_Audience_Receipt `protobuf:"varint,4,opt,name=receipt,proto3,enum=smartcore.traits.Publication_Audience_Receipt" json:"receipt,omitempty"` // If receipt is REJECTED, supply a reason that may be shown to an operator to help troubleshoot issues. ReceiptRejectedReason string `` /* 126-byte string literal not displayed */ // If true, acknowledging a publication more than once will not result in an error response status and the publication // will not change. AllowAcknowledged bool `protobuf:"varint,6,opt,name=allow_acknowledged,json=allowAcknowledged,proto3" json:"allow_acknowledged,omitempty"` // contains filtered or unexported fields }
func (*AcknowledgePublicationRequest) Descriptor
deprecated
func (*AcknowledgePublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgePublicationRequest.ProtoReflect.Descriptor instead.
func (*AcknowledgePublicationRequest) GetAllowAcknowledged ¶
func (x *AcknowledgePublicationRequest) GetAllowAcknowledged() bool
func (*AcknowledgePublicationRequest) GetId ¶
func (x *AcknowledgePublicationRequest) GetId() string
func (*AcknowledgePublicationRequest) GetName ¶
func (x *AcknowledgePublicationRequest) GetName() string
func (*AcknowledgePublicationRequest) GetReceipt ¶
func (x *AcknowledgePublicationRequest) GetReceipt() Publication_Audience_Receipt
func (*AcknowledgePublicationRequest) GetReceiptRejectedReason ¶
func (x *AcknowledgePublicationRequest) GetReceiptRejectedReason() string
func (*AcknowledgePublicationRequest) GetVersion ¶
func (x *AcknowledgePublicationRequest) GetVersion() string
func (*AcknowledgePublicationRequest) ProtoMessage ¶
func (*AcknowledgePublicationRequest) ProtoMessage()
func (*AcknowledgePublicationRequest) ProtoReflect ¶
func (x *AcknowledgePublicationRequest) ProtoReflect() protoreflect.Message
func (*AcknowledgePublicationRequest) Reset ¶
func (x *AcknowledgePublicationRequest) Reset()
func (*AcknowledgePublicationRequest) String ¶
func (x *AcknowledgePublicationRequest) String() string
type AdjustChannelRequest ¶
type AdjustChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // How many channels to skip, use negative numbers to select previous channels. See ChannelApiAttributes.adjust_max. Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
AdjustChannelRequest describes how to change the channel relative to the current channel.
func (*AdjustChannelRequest) Descriptor
deprecated
func (*AdjustChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdjustChannelRequest.ProtoReflect.Descriptor instead.
func (*AdjustChannelRequest) GetAmount ¶
func (x *AdjustChannelRequest) GetAmount() int32
func (*AdjustChannelRequest) GetName ¶
func (x *AdjustChannelRequest) GetName() string
func (*AdjustChannelRequest) ProtoMessage ¶
func (*AdjustChannelRequest) ProtoMessage()
func (*AdjustChannelRequest) ProtoReflect ¶
func (x *AdjustChannelRequest) ProtoReflect() protoreflect.Message
func (*AdjustChannelRequest) Reset ¶
func (x *AdjustChannelRequest) Reset()
func (*AdjustChannelRequest) String ¶
func (x *AdjustChannelRequest) String() string
type AirQuality ¶
type AirQuality struct { // The CO2 level in parts per million CarbonDioxideLevel *float32 `protobuf:"fixed32,1,opt,name=carbon_dioxide_level,json=carbonDioxideLevel,proto3,oneof" json:"carbon_dioxide_level,omitempty"` // The VOC level in parts per million VolatileOrganicCompounds *float32 `` /* 143-byte string literal not displayed */ // The air pressure in hPa AirPressure *float32 `protobuf:"fixed32,3,opt,name=air_pressure,json=airPressure,proto3,oneof" json:"air_pressure,omitempty"` // General comfort of the area Comfort AirQuality_Comfort `protobuf:"varint,4,opt,name=comfort,proto3,enum=smartcore.traits.AirQuality_Comfort" json:"comfort,omitempty"` // A percentage [0,100] reading for how infectious the air is. // Typically a combination of other sensor readings, the combination algorithm is undefined. InfectionRisk *float32 `protobuf:"fixed32,5,opt,name=infection_risk,json=infectionRisk,proto3,oneof" json:"infection_risk,omitempty"` // An air quality score for the area mapped to a percentage [0,100], with 100 being the best quality. Score *float32 `protobuf:"fixed32,6,opt,name=score,proto3,oneof" json:"score,omitempty"` // A measure of particles in the air measuring 1 micron or less in size, in micrograms per cubic meter. ParticulateMatter_1 *float32 `protobuf:"fixed32,7,opt,name=particulate_matter_1,json=particulateMatter1,proto3,oneof" json:"particulate_matter_1,omitempty"` // A measure of particles in the air measuring 2.5 microns or less in size, in micrograms per cubic meter. ParticulateMatter_25 *float32 `` /* 128-byte string literal not displayed */ // A measure of particles in the air measuring 10 microns or less in size, in micrograms per cubic meter. ParticulateMatter_10 *float32 `` /* 128-byte string literal not displayed */ // The number of times per hour the air in the area is replaced. AirChangePerHour *float32 `protobuf:"fixed32,10,opt,name=air_change_per_hour,json=airChangePerHour,proto3,oneof" json:"air_change_per_hour,omitempty"` // contains filtered or unexported fields }
AirQuality holds the value of all supported sensors.
func (*AirQuality) Descriptor
deprecated
func (*AirQuality) Descriptor() ([]byte, []int)
Deprecated: Use AirQuality.ProtoReflect.Descriptor instead.
func (*AirQuality) GetAirChangePerHour ¶
func (x *AirQuality) GetAirChangePerHour() float32
func (*AirQuality) GetAirPressure ¶
func (x *AirQuality) GetAirPressure() float32
func (*AirQuality) GetCarbonDioxideLevel ¶
func (x *AirQuality) GetCarbonDioxideLevel() float32
func (*AirQuality) GetComfort ¶
func (x *AirQuality) GetComfort() AirQuality_Comfort
func (*AirQuality) GetInfectionRisk ¶
func (x *AirQuality) GetInfectionRisk() float32
func (*AirQuality) GetParticulateMatter_1 ¶
func (x *AirQuality) GetParticulateMatter_1() float32
func (*AirQuality) GetParticulateMatter_10 ¶
func (x *AirQuality) GetParticulateMatter_10() float32
func (*AirQuality) GetParticulateMatter_25 ¶
func (x *AirQuality) GetParticulateMatter_25() float32
func (*AirQuality) GetScore ¶
func (x *AirQuality) GetScore() float32
func (*AirQuality) GetVolatileOrganicCompounds ¶
func (x *AirQuality) GetVolatileOrganicCompounds() float32
func (*AirQuality) ProtoMessage ¶
func (*AirQuality) ProtoMessage()
func (*AirQuality) ProtoReflect ¶
func (x *AirQuality) ProtoReflect() protoreflect.Message
func (*AirQuality) Reset ¶
func (x *AirQuality) Reset()
func (*AirQuality) String ¶
func (x *AirQuality) String() string
type AirQualitySensorApiClient ¶
type AirQualitySensorApiClient interface { // Get the current state of all reading this device supports GetAirQuality(ctx context.Context, in *GetAirQualityRequest, opts ...grpc.CallOption) (*AirQuality, error) // Be notified of changes to any reading PullAirQuality(ctx context.Context, in *PullAirQualityRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullAirQualityResponse], error) }
AirQualitySensorApiClient is the client API for AirQualitySensorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that can report either numeric or descriptive readings about air quality and comfort.
func NewAirQualitySensorApiClient ¶
func NewAirQualitySensorApiClient(cc grpc.ClientConnInterface) AirQualitySensorApiClient
type AirQualitySensorApiServer ¶
type AirQualitySensorApiServer interface { // Get the current state of all reading this device supports GetAirQuality(context.Context, *GetAirQualityRequest) (*AirQuality, error) // Be notified of changes to any reading PullAirQuality(*PullAirQualityRequest, grpc.ServerStreamingServer[PullAirQualityResponse]) error // contains filtered or unexported methods }
AirQualitySensorApiServer is the server API for AirQualitySensorApi service. All implementations must embed UnimplementedAirQualitySensorApiServer for forward compatibility.
Trait for devices that can report either numeric or descriptive readings about air quality and comfort.
type AirQualitySensorApi_PullAirQualityClient ¶
type AirQualitySensorApi_PullAirQualityClient = grpc.ServerStreamingClient[PullAirQualityResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AirQualitySensorApi_PullAirQualityServer ¶
type AirQualitySensorApi_PullAirQualityServer = grpc.ServerStreamingServer[PullAirQualityResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AirQualitySensorInfoClient ¶
type AirQualitySensorInfoClient interface { // Get information about how a named device implements AirQuality measurements DescribeAirQuality(ctx context.Context, in *DescribeAirQualityRequest, opts ...grpc.CallOption) (*AirQualitySupport, error) }
AirQualitySensorInfoClient is the client API for AirQualitySensorInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewAirQualitySensorInfoClient ¶
func NewAirQualitySensorInfoClient(cc grpc.ClientConnInterface) AirQualitySensorInfoClient
type AirQualitySensorInfoServer ¶
type AirQualitySensorInfoServer interface { // Get information about how a named device implements AirQuality measurements DescribeAirQuality(context.Context, *DescribeAirQualityRequest) (*AirQualitySupport, error) // contains filtered or unexported methods }
AirQualitySensorInfoServer is the server API for AirQualitySensorInfo service. All implementations must embed UnimplementedAirQualitySensorInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type AirQualitySupport ¶
type AirQualitySupport struct { // How a named device supports read/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // If present then the sensor supports reporting CO2 levels, in parts-per-million. CarbonDioxideLevel *types.FloatBounds `protobuf:"bytes,2,opt,name=carbon_dioxide_level,json=carbonDioxideLevel,proto3" json:"carbon_dioxide_level,omitempty"` // If present then the sensor supports reporting volatile organic compounds, in parts-per-million. VolatileOrganicCompounds *types.FloatBounds `` /* 135-byte string literal not displayed */ // If present then the sensor supports reporting air pressure, in hPa. AirPressure *types.FloatBounds `protobuf:"bytes,4,opt,name=air_pressure,json=airPressure,proto3" json:"air_pressure,omitempty"` // If non-empty then the sensor supports reporting a general comfort reading of any of the provided types. // Unknown should be assumed to be present if supported. Comfort []AirQuality_Comfort `protobuf:"varint,5,rep,packed,name=comfort,proto3,enum=smartcore.traits.AirQuality_Comfort" json:"comfort,omitempty"` // If present then the sensor supports reporting infection risk, as a percentage [0,100]. InfectionRisk *types.FloatBounds `protobuf:"bytes,6,opt,name=infection_risk,json=infectionRisk,proto3" json:"infection_risk,omitempty"` // If present then the sensor supports reporting an air quality score, as a percentage [0,100]. Score *types.FloatBounds `protobuf:"bytes,7,opt,name=score,proto3" json:"score,omitempty"` // If present then the sensor supports reporting particulate matter 1, in micrograms per cubic meter. ParticulateMatter_1 *types.FloatBounds `protobuf:"bytes,8,opt,name=particulate_matter_1,json=particulateMatter1,proto3" json:"particulate_matter_1,omitempty"` // If present then the sensor supports reporting particulate matter 2.5, in micrograms per cubic meter. ParticulateMatter_25 *types.FloatBounds `protobuf:"bytes,9,opt,name=particulate_matter_25,json=particulateMatter25,proto3" json:"particulate_matter_25,omitempty"` // If present then the sensor supports reporting particulate matter 10, in micrograms per cubic meter. ParticulateMatter_10 *types.FloatBounds `protobuf:"bytes,10,opt,name=particulate_matter_10,json=particulateMatter10,proto3" json:"particulate_matter_10,omitempty"` // If present then the sensor supports reporting air changes per hour. AirChangePerHour *types.FloatBounds `protobuf:"bytes,11,opt,name=air_change_per_hour,json=airChangePerHour,proto3" json:"air_change_per_hour,omitempty"` // contains filtered or unexported fields }
AirQualitySupport describes the capabilities of devices implementing this trait
func (*AirQualitySupport) Descriptor
deprecated
func (*AirQualitySupport) Descriptor() ([]byte, []int)
Deprecated: Use AirQualitySupport.ProtoReflect.Descriptor instead.
func (*AirQualitySupport) GetAirChangePerHour ¶
func (x *AirQualitySupport) GetAirChangePerHour() *types.FloatBounds
func (*AirQualitySupport) GetAirPressure ¶
func (x *AirQualitySupport) GetAirPressure() *types.FloatBounds
func (*AirQualitySupport) GetCarbonDioxideLevel ¶
func (x *AirQualitySupport) GetCarbonDioxideLevel() *types.FloatBounds
func (*AirQualitySupport) GetComfort ¶
func (x *AirQualitySupport) GetComfort() []AirQuality_Comfort
func (*AirQualitySupport) GetInfectionRisk ¶
func (x *AirQualitySupport) GetInfectionRisk() *types.FloatBounds
func (*AirQualitySupport) GetParticulateMatter_1 ¶
func (x *AirQualitySupport) GetParticulateMatter_1() *types.FloatBounds
func (*AirQualitySupport) GetParticulateMatter_10 ¶
func (x *AirQualitySupport) GetParticulateMatter_10() *types.FloatBounds
func (*AirQualitySupport) GetParticulateMatter_25 ¶
func (x *AirQualitySupport) GetParticulateMatter_25() *types.FloatBounds
func (*AirQualitySupport) GetResourceSupport ¶
func (x *AirQualitySupport) GetResourceSupport() *types.ResourceSupport
func (*AirQualitySupport) GetScore ¶
func (x *AirQualitySupport) GetScore() *types.FloatBounds
func (*AirQualitySupport) GetVolatileOrganicCompounds ¶
func (x *AirQualitySupport) GetVolatileOrganicCompounds() *types.FloatBounds
func (*AirQualitySupport) ProtoMessage ¶
func (*AirQualitySupport) ProtoMessage()
func (*AirQualitySupport) ProtoReflect ¶
func (x *AirQualitySupport) ProtoReflect() protoreflect.Message
func (*AirQualitySupport) Reset ¶
func (x *AirQualitySupport) Reset()
func (*AirQualitySupport) String ¶
func (x *AirQualitySupport) String() string
type AirQuality_Comfort ¶
type AirQuality_Comfort int32
Comfort encodes levels of comfort for an area.
const ( // The comfort level is unknown AirQuality_COMFORT_UNSPECIFIED AirQuality_Comfort = 0 // The area should be comfortable for occupants AirQuality_COMFORTABLE AirQuality_Comfort = 1 // The area might be uncomfortable for occupants AirQuality_UNCOMFORTABLE AirQuality_Comfort = 2 )
func (AirQuality_Comfort) Descriptor ¶
func (AirQuality_Comfort) Descriptor() protoreflect.EnumDescriptor
func (AirQuality_Comfort) Enum ¶
func (x AirQuality_Comfort) Enum() *AirQuality_Comfort
func (AirQuality_Comfort) EnumDescriptor
deprecated
func (AirQuality_Comfort) EnumDescriptor() ([]byte, []int)
Deprecated: Use AirQuality_Comfort.Descriptor instead.
func (AirQuality_Comfort) Number ¶
func (x AirQuality_Comfort) Number() protoreflect.EnumNumber
func (AirQuality_Comfort) String ¶
func (x AirQuality_Comfort) String() string
func (AirQuality_Comfort) Type ¶
func (AirQuality_Comfort) Type() protoreflect.EnumType
type AirTemperature ¶
type AirTemperature struct { // The current mode for the device Mode AirTemperature_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=smartcore.traits.AirTemperature_Mode" json:"mode,omitempty"` // Types that are assignable to TemperatureGoal: // // *AirTemperature_TemperatureSetPoint // *AirTemperature_TemperatureSetPointDelta // *AirTemperature_TemperatureRange TemperatureGoal isAirTemperature_TemperatureGoal `protobuf_oneof:"temperature_goal"` // Optional, read-only. The ambient temperature as read by the device AmbientTemperature *types.Temperature `protobuf:"bytes,5,opt,name=ambient_temperature,json=ambientTemperature,proto3" json:"ambient_temperature,omitempty"` // Optional, read-only. The ambient relative humidity percentage, as read by the device AmbientHumidity *float32 `protobuf:"fixed32,6,opt,name=ambient_humidity,json=ambientHumidity,proto3,oneof" json:"ambient_humidity,omitempty"` // Optional, read-only. The dew-point as read by the device DewPoint *types.Temperature `protobuf:"bytes,7,opt,name=dew_point,json=dewPoint,proto3" json:"dew_point,omitempty"` // contains filtered or unexported fields }
All the properties of the device
func (*AirTemperature) Descriptor
deprecated
func (*AirTemperature) Descriptor() ([]byte, []int)
Deprecated: Use AirTemperature.ProtoReflect.Descriptor instead.
func (*AirTemperature) GetAmbientHumidity ¶
func (x *AirTemperature) GetAmbientHumidity() float32
func (*AirTemperature) GetAmbientTemperature ¶
func (x *AirTemperature) GetAmbientTemperature() *types.Temperature
func (*AirTemperature) GetDewPoint ¶
func (x *AirTemperature) GetDewPoint() *types.Temperature
func (*AirTemperature) GetMode ¶
func (x *AirTemperature) GetMode() AirTemperature_Mode
func (*AirTemperature) GetTemperatureGoal ¶
func (m *AirTemperature) GetTemperatureGoal() isAirTemperature_TemperatureGoal
func (*AirTemperature) GetTemperatureRange ¶
func (x *AirTemperature) GetTemperatureRange() *TemperatureRange
func (*AirTemperature) GetTemperatureSetPoint ¶
func (x *AirTemperature) GetTemperatureSetPoint() *types.Temperature
func (*AirTemperature) GetTemperatureSetPointDelta ¶
func (x *AirTemperature) GetTemperatureSetPointDelta() *types.Temperature
func (*AirTemperature) ProtoMessage ¶
func (*AirTemperature) ProtoMessage()
func (*AirTemperature) ProtoReflect ¶
func (x *AirTemperature) ProtoReflect() protoreflect.Message
func (*AirTemperature) Reset ¶
func (x *AirTemperature) Reset()
func (*AirTemperature) String ¶
func (x *AirTemperature) String() string
type AirTemperatureApiClient ¶
type AirTemperatureApiClient interface { // Get the current state of the device GetAirTemperature(ctx context.Context, in *GetAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperature, error) // Update the target state for the device. the returned state may not be complete but will indicate at least the // current values for any set fields as part of the request. UpdateAirTemperature(ctx context.Context, in *UpdateAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperature, error) // Request notification of change to the device state. The messages in the response stream may not be complete // but will indicate the changes as they occur. They should be merged with the full state as fetched by the // GetAirTemperature method. PullAirTemperature(ctx context.Context, in *PullAirTemperatureRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullAirTemperatureResponse], error) }
AirTemperatureApiClient is the client API for AirTemperatureApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Device trait allowing query and control of the air temperature for a space. Like a thermostat and associated HVAC system.
func NewAirTemperatureApiClient ¶
func NewAirTemperatureApiClient(cc grpc.ClientConnInterface) AirTemperatureApiClient
type AirTemperatureApiServer ¶
type AirTemperatureApiServer interface { // Get the current state of the device GetAirTemperature(context.Context, *GetAirTemperatureRequest) (*AirTemperature, error) // Update the target state for the device. the returned state may not be complete but will indicate at least the // current values for any set fields as part of the request. UpdateAirTemperature(context.Context, *UpdateAirTemperatureRequest) (*AirTemperature, error) // Request notification of change to the device state. The messages in the response stream may not be complete // but will indicate the changes as they occur. They should be merged with the full state as fetched by the // GetAirTemperature method. PullAirTemperature(*PullAirTemperatureRequest, grpc.ServerStreamingServer[PullAirTemperatureResponse]) error // contains filtered or unexported methods }
AirTemperatureApiServer is the server API for AirTemperatureApi service. All implementations must embed UnimplementedAirTemperatureApiServer for forward compatibility.
Device trait allowing query and control of the air temperature for a space. Like a thermostat and associated HVAC system.
type AirTemperatureApi_PullAirTemperatureClient ¶
type AirTemperatureApi_PullAirTemperatureClient = grpc.ServerStreamingClient[PullAirTemperatureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AirTemperatureApi_PullAirTemperatureServer ¶
type AirTemperatureApi_PullAirTemperatureServer = grpc.ServerStreamingServer[PullAirTemperatureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AirTemperatureInfoClient ¶
type AirTemperatureInfoClient interface { // Get information about how a named device implements AirTemperature features DescribeAirTemperature(ctx context.Context, in *DescribeAirTemperatureRequest, opts ...grpc.CallOption) (*AirTemperatureSupport, error) }
AirTemperatureInfoClient is the client API for AirTemperatureInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewAirTemperatureInfoClient ¶
func NewAirTemperatureInfoClient(cc grpc.ClientConnInterface) AirTemperatureInfoClient
type AirTemperatureInfoServer ¶
type AirTemperatureInfoServer interface { // Get information about how a named device implements AirTemperature features DescribeAirTemperature(context.Context, *DescribeAirTemperatureRequest) (*AirTemperatureSupport, error) // contains filtered or unexported methods }
AirTemperatureInfoServer is the server API for AirTemperatureInfo service. All implementations must embed UnimplementedAirTemperatureInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type AirTemperatureSupport ¶
type AirTemperatureSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // How the device thinks, all communications will be in celsius but the device's native unit is this. NativeUnit types.TemperatureUnit `` /* 129-byte string literal not displayed */ // The list of modes a device supports. SupportedModes []AirTemperature_Mode `` /* 153-byte string literal not displayed */ // The minimum difference between the low and high temperatures when set using a range. 0 means unset, default to 2. MinRangeCelsius float64 `protobuf:"fixed64,4,opt,name=min_range_celsius,json=minRangeCelsius,proto3" json:"min_range_celsius,omitempty"` // contains filtered or unexported fields }
AirTemperatureSupport describes the capabilities of devices implementing this trait
func (*AirTemperatureSupport) Descriptor
deprecated
func (*AirTemperatureSupport) Descriptor() ([]byte, []int)
Deprecated: Use AirTemperatureSupport.ProtoReflect.Descriptor instead.
func (*AirTemperatureSupport) GetMinRangeCelsius ¶
func (x *AirTemperatureSupport) GetMinRangeCelsius() float64
func (*AirTemperatureSupport) GetNativeUnit ¶
func (x *AirTemperatureSupport) GetNativeUnit() types.TemperatureUnit
func (*AirTemperatureSupport) GetResourceSupport ¶
func (x *AirTemperatureSupport) GetResourceSupport() *types.ResourceSupport
func (*AirTemperatureSupport) GetSupportedModes ¶
func (x *AirTemperatureSupport) GetSupportedModes() []AirTemperature_Mode
func (*AirTemperatureSupport) ProtoMessage ¶
func (*AirTemperatureSupport) ProtoMessage()
func (*AirTemperatureSupport) ProtoReflect ¶
func (x *AirTemperatureSupport) ProtoReflect() protoreflect.Message
func (*AirTemperatureSupport) Reset ¶
func (x *AirTemperatureSupport) Reset()
func (*AirTemperatureSupport) String ¶
func (x *AirTemperatureSupport) String() string
type AirTemperature_Mode ¶
type AirTemperature_Mode int32
Supported modes for a device. Some of these values are used as descriptive attributes, some are used for control
const ( // The mode is unknown during a query. If used during a write then no change will be made, if part of a // read then the mode is unknown. This makes no sense as part of an attribute. AirTemperature_MODE_UNSPECIFIED AirTemperature_Mode = 0 // Write-only. If the device is OFF restore it to it's previous state AirTemperature_ON AirTemperature_Mode = 1 // Attr, read, write. The device supports, is, or should be disabled AirTemperature_OFF AirTemperature_Mode = 2 // Attr, read, write. The device supports, is, or should be heating AirTemperature_HEAT AirTemperature_Mode = 3 // Attr, read, write. The device supports, is, or should be cooling AirTemperature_COOL AirTemperature_Mode = 4 // Attr, read, write. The device supports, is, or should be maintaining heating/cooling to target a specific set // point (and/or min + max) AirTemperature_HEAT_COOL AirTemperature_Mode = 5 // Attr. The device supports automatic control of set points and/or schedules based on some other means (AI for // example) AirTemperature_AUTO AirTemperature_Mode = 6 // Attr, read, write. The device supports, is, or should be able to use only the fan without heating/cooling elements. AirTemperature_FAN_ONLY AirTemperature_Mode = 7 // Attr, read, write. The device supports, is, or should be in an energy saving "eco" mode AirTemperature_ECO AirTemperature_Mode = 8 // Attr, read, write. The device supports, is, or should be in an air purifying mode AirTemperature_PURIFIER AirTemperature_Mode = 9 // Attr, read, write. The device supports, is, or should be in an air drying mode AirTemperature_DRY AirTemperature_Mode = 10 // Attr, read, write. The device supports, is, or should be in locked mode (i.e. not user-editable) AirTemperature_LOCKED AirTemperature_Mode = 11 )
func (AirTemperature_Mode) Descriptor ¶
func (AirTemperature_Mode) Descriptor() protoreflect.EnumDescriptor
func (AirTemperature_Mode) Enum ¶
func (x AirTemperature_Mode) Enum() *AirTemperature_Mode
func (AirTemperature_Mode) EnumDescriptor
deprecated
func (AirTemperature_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AirTemperature_Mode.Descriptor instead.
func (AirTemperature_Mode) Number ¶
func (x AirTemperature_Mode) Number() protoreflect.EnumNumber
func (AirTemperature_Mode) String ¶
func (x AirTemperature_Mode) String() string
func (AirTemperature_Mode) Type ¶
func (AirTemperature_Mode) Type() protoreflect.EnumType
type AirTemperature_TemperatureRange ¶
type AirTemperature_TemperatureRange struct { // A target range for the device. Only supported when in HEAT_COOL mode TemperatureRange *TemperatureRange `protobuf:"bytes,4,opt,name=temperature_range,json=temperatureRange,proto3,oneof"` }
type AirTemperature_TemperatureSetPoint ¶
type AirTemperature_TemperatureSetPoint struct { // A target temperature for the device TemperatureSetPoint *types.Temperature `protobuf:"bytes,2,opt,name=temperature_set_point,json=temperatureSetPoint,proto3,oneof"` }
type AirTemperature_TemperatureSetPointDelta ¶
type AirTemperature_TemperatureSetPointDelta struct { // Write-only. Set the target temperature to a value relative to the current value. TemperatureSetPointDelta *types.Temperature `protobuf:"bytes,3,opt,name=temperature_set_point_delta,json=temperatureSetPointDelta,proto3,oneof"` }
type AmbientBrightness ¶
type AmbientBrightness struct { // Brightness measured in LUX BrightnessLux float32 `protobuf:"fixed32,1,opt,name=brightness_lux,json=brightnessLux,proto3" json:"brightness_lux,omitempty"` // contains filtered or unexported fields }
AmbientBrightness records the light level measured by a device.
func (*AmbientBrightness) Descriptor
deprecated
func (*AmbientBrightness) Descriptor() ([]byte, []int)
Deprecated: Use AmbientBrightness.ProtoReflect.Descriptor instead.
func (*AmbientBrightness) GetBrightnessLux ¶
func (x *AmbientBrightness) GetBrightnessLux() float32
func (*AmbientBrightness) ProtoMessage ¶
func (*AmbientBrightness) ProtoMessage()
func (*AmbientBrightness) ProtoReflect ¶
func (x *AmbientBrightness) ProtoReflect() protoreflect.Message
func (*AmbientBrightness) Reset ¶
func (x *AmbientBrightness) Reset()
func (*AmbientBrightness) String ¶
func (x *AmbientBrightness) String() string
type AmbientBrightnessSupport ¶
type AmbientBrightnessSupport struct { // How a named device supports read/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // The range of values the device is capable of reporting. BrightnessLux *types.FloatBounds `protobuf:"bytes,2,opt,name=brightness_lux,json=brightnessLux,proto3" json:"brightness_lux,omitempty"` // contains filtered or unexported fields }
AmbientBrightnessSupport describes the capabilities of devices implementing this trait
func (*AmbientBrightnessSupport) Descriptor
deprecated
func (*AmbientBrightnessSupport) Descriptor() ([]byte, []int)
Deprecated: Use AmbientBrightnessSupport.ProtoReflect.Descriptor instead.
func (*AmbientBrightnessSupport) GetBrightnessLux ¶
func (x *AmbientBrightnessSupport) GetBrightnessLux() *types.FloatBounds
func (*AmbientBrightnessSupport) GetResourceSupport ¶
func (x *AmbientBrightnessSupport) GetResourceSupport() *types.ResourceSupport
func (*AmbientBrightnessSupport) ProtoMessage ¶
func (*AmbientBrightnessSupport) ProtoMessage()
func (*AmbientBrightnessSupport) ProtoReflect ¶
func (x *AmbientBrightnessSupport) ProtoReflect() protoreflect.Message
func (*AmbientBrightnessSupport) Reset ¶
func (x *AmbientBrightnessSupport) Reset()
func (*AmbientBrightnessSupport) String ¶
func (x *AmbientBrightnessSupport) String() string
type AvPort ¶
type AvPort struct { // Unique name for the port, used as the value for input or output properties Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Official human readable name for this port Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // If this port supports different features from the device as a whole, specify them here. For example some ports // might be audio only or not support audio breakout SupportedFeature InputSupport_Feature `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
represents a source (or destination) for the AV signal
func (*AvPort) Descriptor
deprecated
func (*AvPort) GetDescription ¶
func (*AvPort) GetSupportedFeature ¶
func (x *AvPort) GetSupportedFeature() InputSupport_Feature
func (*AvPort) ProtoMessage ¶
func (*AvPort) ProtoMessage()
func (*AvPort) ProtoReflect ¶
func (x *AvPort) ProtoReflect() protoreflect.Message
type Booking ¶
type Booking struct { // The name of the bookable (e.g. the resource name) Bookable string `protobuf:"bytes,1,opt,name=bookable,proto3" json:"bookable,omitempty"` // the unique identifier for this booking Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // the title of this booking Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // the name of the owner of this booking OwnerName string `protobuf:"bytes,4,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"` // the time period this booking is for Booked *time.Period `protobuf:"bytes,5,opt,name=booked,proto3" json:"booked,omitempty"` // The time period this booking was checked in for. // If this is absent, then no check in or check out has happened // If check_in.start_time is absent, no check in has happened // If check_in.end_time is absent, no check out has happened CheckIn *time.Period `protobuf:"bytes,6,opt,name=check_in,json=checkIn,proto3" json:"check_in,omitempty"` // If true, the booking does not require a check-in and one should not be expected. // Defaults to false; check-in is required. CheckInNotRequired bool `protobuf:"varint,7,opt,name=check_in_not_required,json=checkInNotRequired,proto3" json:"check_in_not_required,omitempty"` // contains filtered or unexported fields }
func (*Booking) Descriptor
deprecated
func (*Booking) GetBookable ¶
func (*Booking) GetCheckIn ¶
func (*Booking) GetCheckInNotRequired ¶
func (*Booking) GetOwnerName ¶
func (*Booking) ProtoMessage ¶
func (*Booking) ProtoMessage()
func (*Booking) ProtoReflect ¶
func (x *Booking) ProtoReflect() protoreflect.Message
type BookingApiClient ¶
type BookingApiClient interface { // list bookings for a given bookable ListBookings(ctx context.Context, in *ListBookingsRequest, opts ...grpc.CallOption) (*ListBookingsResponse, error) // check in an existing booking CheckInBooking(ctx context.Context, in *CheckInBookingRequest, opts ...grpc.CallOption) (*CheckInBookingResponse, error) // check out an existing booking CheckOutBooking(ctx context.Context, in *CheckOutBookingRequest, opts ...grpc.CallOption) (*CheckOutBookingResponse, error) // create a new booking CreateBooking(ctx context.Context, in *CreateBookingRequest, opts ...grpc.CallOption) (*CreateBookingResponse, error) // update an existing booking UpdateBooking(ctx context.Context, in *UpdateBookingRequest, opts ...grpc.CallOption) (*UpdateBookingResponse, error) // request updates to booking changes for a given bookable PullBookings(ctx context.Context, in *ListBookingsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullBookingsResponse], error) }
BookingApiClient is the client API for BookingApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The BookingApi defines an interface for interacting with bookable resources, for example rooms. Bookings can be listed, edited, and created.
func NewBookingApiClient ¶
func NewBookingApiClient(cc grpc.ClientConnInterface) BookingApiClient
type BookingApiServer ¶
type BookingApiServer interface { // list bookings for a given bookable ListBookings(context.Context, *ListBookingsRequest) (*ListBookingsResponse, error) // check in an existing booking CheckInBooking(context.Context, *CheckInBookingRequest) (*CheckInBookingResponse, error) // check out an existing booking CheckOutBooking(context.Context, *CheckOutBookingRequest) (*CheckOutBookingResponse, error) // create a new booking CreateBooking(context.Context, *CreateBookingRequest) (*CreateBookingResponse, error) // update an existing booking UpdateBooking(context.Context, *UpdateBookingRequest) (*UpdateBookingResponse, error) // request updates to booking changes for a given bookable PullBookings(*ListBookingsRequest, grpc.ServerStreamingServer[PullBookingsResponse]) error // contains filtered or unexported methods }
BookingApiServer is the server API for BookingApi service. All implementations must embed UnimplementedBookingApiServer for forward compatibility.
The BookingApi defines an interface for interacting with bookable resources, for example rooms. Bookings can be listed, edited, and created.
type BookingApi_PullBookingsClient ¶
type BookingApi_PullBookingsClient = grpc.ServerStreamingClient[PullBookingsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type BookingApi_PullBookingsServer ¶
type BookingApi_PullBookingsServer = grpc.ServerStreamingServer[PullBookingsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type BookingInfoClient ¶
type BookingInfoClient interface { // Get information about how a named device implements Booking features DescribeBooking(ctx context.Context, in *DescribeBookingRequest, opts ...grpc.CallOption) (*BookingSupport, error) }
BookingInfoClient is the client API for BookingInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewBookingInfoClient ¶
func NewBookingInfoClient(cc grpc.ClientConnInterface) BookingInfoClient
type BookingInfoServer ¶
type BookingInfoServer interface { // Get information about how a named device implements Booking features DescribeBooking(context.Context, *DescribeBookingRequest) (*BookingSupport, error) // contains filtered or unexported methods }
BookingInfoServer is the server API for BookingInfo service. All implementations must embed UnimplementedBookingInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type BookingSupport ¶
type BookingSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // is check in supported, and how CheckInSupport BookingSupport_CheckInSupport `` /* 158-byte string literal not displayed */ // is check out supported, and how CheckOutSupport BookingSupport_CheckInSupport `` /* 161-byte string literal not displayed */ // the supported time resolution for date time fields and queries TimeResolution time.Unit `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
BookingSupport describes the capabilities of devices implementing this trait
func (*BookingSupport) Descriptor
deprecated
func (*BookingSupport) Descriptor() ([]byte, []int)
Deprecated: Use BookingSupport.ProtoReflect.Descriptor instead.
func (*BookingSupport) GetCheckInSupport ¶
func (x *BookingSupport) GetCheckInSupport() BookingSupport_CheckInSupport
func (*BookingSupport) GetCheckOutSupport ¶
func (x *BookingSupport) GetCheckOutSupport() BookingSupport_CheckInSupport
func (*BookingSupport) GetResourceSupport ¶
func (x *BookingSupport) GetResourceSupport() *types.ResourceSupport
func (*BookingSupport) GetTimeResolution ¶
func (x *BookingSupport) GetTimeResolution() time.Unit
func (*BookingSupport) ProtoMessage ¶
func (*BookingSupport) ProtoMessage()
func (*BookingSupport) ProtoReflect ¶
func (x *BookingSupport) ProtoReflect() protoreflect.Message
func (*BookingSupport) Reset ¶
func (x *BookingSupport) Reset()
func (*BookingSupport) String ¶
func (x *BookingSupport) String() string
type BookingSupport_CheckInSupport ¶
type BookingSupport_CheckInSupport int32
const ( // check in support is unknown BookingSupport_CHECK_IN_SUPPORT_UNSPECIFIED BookingSupport_CheckInSupport = 0 // check in is not supported BookingSupport_NO_SUPPORT BookingSupport_CheckInSupport = 1 // check in is supported as a state, without an associated time BookingSupport_STATE BookingSupport_CheckInSupport = 2 // check in is supported with an associated time BookingSupport_TIME BookingSupport_CheckInSupport = 3 )
func (BookingSupport_CheckInSupport) Descriptor ¶
func (BookingSupport_CheckInSupport) Descriptor() protoreflect.EnumDescriptor
func (BookingSupport_CheckInSupport) Enum ¶
func (x BookingSupport_CheckInSupport) Enum() *BookingSupport_CheckInSupport
func (BookingSupport_CheckInSupport) EnumDescriptor
deprecated
func (BookingSupport_CheckInSupport) EnumDescriptor() ([]byte, []int)
Deprecated: Use BookingSupport_CheckInSupport.Descriptor instead.
func (BookingSupport_CheckInSupport) Number ¶
func (x BookingSupport_CheckInSupport) Number() protoreflect.EnumNumber
func (BookingSupport_CheckInSupport) String ¶
func (x BookingSupport_CheckInSupport) String() string
func (BookingSupport_CheckInSupport) Type ¶
func (BookingSupport_CheckInSupport) Type() protoreflect.EnumType
type Brightness ¶
type Brightness struct { // A level that the device is set to. [0-100] as a percentage. // A zero value will be ignored iff preset is present. // On write only one of level_percent or preset should be set. LevelPercent float32 `protobuf:"fixed32,1,opt,name=level_percent,json=levelPercent,proto3" json:"level_percent,omitempty"` // A preset that the device is using Preset *LightPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"` // How the brightness changes or should change over time. On write only duration should be set. BrightnessTween *types.Tween `protobuf:"bytes,3,opt,name=brightness_tween,json=brightnessTween,proto3" json:"brightness_tween,omitempty"` // The target level_percent. Ignored on write. On read zero values should be ignored iff target_preset is present. TargetLevelPercent float32 `protobuf:"fixed32,4,opt,name=target_level_percent,json=targetLevelPercent,proto3" json:"target_level_percent,omitempty"` // The target preset. Ignored on write. If present ignore target_level_percent TargetPreset *LightPreset `protobuf:"bytes,5,opt,name=target_preset,json=targetPreset,proto3" json:"target_preset,omitempty"` // contains filtered or unexported fields }
Brightness represent the light level that is being emitted. It represents the output level as either a percentage or a preset. Both percentage and preset can be present on read if the device supports exposing a presets underlying value, e.g. Full (100%). Off (0%) cannot be distinguished from Off (not present), this is by design as the alternative would complicate the type use for all other cases.
If the output level is transitioning towards a value then target_level_percent or target_preset may be present on read to indicate what the final state will be. The level_percent and preset value always represent the current value.
func (*Brightness) Descriptor
deprecated
func (*Brightness) Descriptor() ([]byte, []int)
Deprecated: Use Brightness.ProtoReflect.Descriptor instead.
func (*Brightness) GetBrightnessTween ¶
func (x *Brightness) GetBrightnessTween() *types.Tween
func (*Brightness) GetLevelPercent ¶
func (x *Brightness) GetLevelPercent() float32
func (*Brightness) GetPreset ¶
func (x *Brightness) GetPreset() *LightPreset
func (*Brightness) GetTargetLevelPercent ¶
func (x *Brightness) GetTargetLevelPercent() float32
func (*Brightness) GetTargetPreset ¶
func (x *Brightness) GetTargetPreset() *LightPreset
func (*Brightness) ProtoMessage ¶
func (*Brightness) ProtoMessage()
func (*Brightness) ProtoReflect ¶
func (x *Brightness) ProtoReflect() protoreflect.Message
func (*Brightness) Reset ¶
func (x *Brightness) Reset()
func (*Brightness) String ¶
func (x *Brightness) String() string
type BrightnessSensorApiClient ¶
type BrightnessSensorApiClient interface { // GetAmbientBrightness returns the current brightness level as measured by the device. GetAmbientBrightness(ctx context.Context, in *GetAmbientBrightnessRequest, opts ...grpc.CallOption) (*AmbientBrightness, error) // PullAmbientBrightness returns a stream of brightness changes as the device measures them. PullAmbientBrightness(ctx context.Context, in *PullAmbientBrightnessRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullAmbientBrightnessResponse], error) }
BrightnessSensorApiClient is the client API for BrightnessSensorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
BrightnessSensorApi reports on the measured ambient brightness for a space.
func NewBrightnessSensorApiClient ¶
func NewBrightnessSensorApiClient(cc grpc.ClientConnInterface) BrightnessSensorApiClient
type BrightnessSensorApiServer ¶
type BrightnessSensorApiServer interface { // GetAmbientBrightness returns the current brightness level as measured by the device. GetAmbientBrightness(context.Context, *GetAmbientBrightnessRequest) (*AmbientBrightness, error) // PullAmbientBrightness returns a stream of brightness changes as the device measures them. PullAmbientBrightness(*PullAmbientBrightnessRequest, grpc.ServerStreamingServer[PullAmbientBrightnessResponse]) error // contains filtered or unexported methods }
BrightnessSensorApiServer is the server API for BrightnessSensorApi service. All implementations must embed UnimplementedBrightnessSensorApiServer for forward compatibility.
BrightnessSensorApi reports on the measured ambient brightness for a space.
type BrightnessSensorApi_PullAmbientBrightnessClient ¶
type BrightnessSensorApi_PullAmbientBrightnessClient = grpc.ServerStreamingClient[PullAmbientBrightnessResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type BrightnessSensorApi_PullAmbientBrightnessServer ¶
type BrightnessSensorApi_PullAmbientBrightnessServer = grpc.ServerStreamingServer[PullAmbientBrightnessResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type BrightnessSensorInfoClient ¶
type BrightnessSensorInfoClient interface { // Get information about how a named device implements AmbientBrightness measurements DescribeAmbientBrightness(ctx context.Context, in *DescribeAmbientBrightnessRequest, opts ...grpc.CallOption) (*AmbientBrightnessSupport, error) }
BrightnessSensorInfoClient is the client API for BrightnessSensorInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewBrightnessSensorInfoClient ¶
func NewBrightnessSensorInfoClient(cc grpc.ClientConnInterface) BrightnessSensorInfoClient
type BrightnessSensorInfoServer ¶
type BrightnessSensorInfoServer interface { // Get information about how a named device implements AmbientBrightness measurements DescribeAmbientBrightness(context.Context, *DescribeAmbientBrightnessRequest) (*AmbientBrightnessSupport, error) // contains filtered or unexported methods }
BrightnessSensorInfoServer is the server API for BrightnessSensorInfo service. All implementations must embed UnimplementedBrightnessSensorInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type BrightnessSupport ¶
type BrightnessSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // control how the brightness can be controlled. The range of these attributes is fixed at 0-100 as a percentage BrightnessAttributes *types.Int32Attributes `protobuf:"bytes,2,opt,name=brightness_attributes,json=brightnessAttributes,proto3" json:"brightness_attributes,omitempty"` // A description of the supported presets, none means no presets Presets []*LightPreset `protobuf:"bytes,3,rep,name=presets,proto3" json:"presets,omitempty"` // contains filtered or unexported fields }
BrightnessSupport describes the capabilities of devices implementing this trait
func (*BrightnessSupport) Descriptor
deprecated
func (*BrightnessSupport) Descriptor() ([]byte, []int)
Deprecated: Use BrightnessSupport.ProtoReflect.Descriptor instead.
func (*BrightnessSupport) GetBrightnessAttributes ¶
func (x *BrightnessSupport) GetBrightnessAttributes() *types.Int32Attributes
func (*BrightnessSupport) GetPresets ¶
func (x *BrightnessSupport) GetPresets() []*LightPreset
func (*BrightnessSupport) GetResourceSupport ¶
func (x *BrightnessSupport) GetResourceSupport() *types.ResourceSupport
func (*BrightnessSupport) ProtoMessage ¶
func (*BrightnessSupport) ProtoMessage()
func (*BrightnessSupport) ProtoReflect ¶
func (x *BrightnessSupport) ProtoReflect() protoreflect.Message
func (*BrightnessSupport) Reset ¶
func (x *BrightnessSupport) Reset()
func (*BrightnessSupport) String ¶
func (x *BrightnessSupport) String() string
type Channel ¶
type Channel struct { // Id uniquely identifies the channel and can be used to select it explicitly. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A numeric identifier for the channel, such as 17 or 712.11-14. Not always parsable as a number. ChannelNumber string `protobuf:"bytes,2,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"` // A human readable name for the channel. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
Channel describes a single channel that can be chosen on the device.
During read all known properties will be populated, id and title will always be present. On write either id or number must be present.
func (*Channel) Descriptor
deprecated
func (*Channel) GetChannelNumber ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelApiClient ¶
type ChannelApiClient interface { // GetChosenChannel returns the currently chosen channel for the device. GetChosenChannel(ctx context.Context, in *GetChosenChannelRequest, opts ...grpc.CallOption) (*Channel, error) // ChooseChannel will set the currently chosen channel to the one specified. Returns the chosen channel ChooseChannel(ctx context.Context, in *ChooseChannelRequest, opts ...grpc.CallOption) (*Channel, error) // AdjustChannel will choose a channel based on the current channel, i.e. 'next channel'. Returns the chosen channel AdjustChannel(ctx context.Context, in *AdjustChannelRequest, opts ...grpc.CallOption) (*Channel, error) // ReturnChannel will choose the previously chosen channel. Returns the chosen channel ReturnChannel(ctx context.Context, in *ReturnChannelRequest, opts ...grpc.CallOption) (*Channel, error) // PullChosenChannel subscribes to chosen channel changes PullChosenChannel(ctx context.Context, in *PullChosenChannelRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullChosenChannelResponse], error) }
ChannelApiClient is the client API for ChannelApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
ChannelApi allows for querying and updating the chosen channel on a device like a TV.
func NewChannelApiClient ¶
func NewChannelApiClient(cc grpc.ClientConnInterface) ChannelApiClient
type ChannelApiServer ¶
type ChannelApiServer interface { // GetChosenChannel returns the currently chosen channel for the device. GetChosenChannel(context.Context, *GetChosenChannelRequest) (*Channel, error) // ChooseChannel will set the currently chosen channel to the one specified. Returns the chosen channel ChooseChannel(context.Context, *ChooseChannelRequest) (*Channel, error) // AdjustChannel will choose a channel based on the current channel, i.e. 'next channel'. Returns the chosen channel AdjustChannel(context.Context, *AdjustChannelRequest) (*Channel, error) // ReturnChannel will choose the previously chosen channel. Returns the chosen channel ReturnChannel(context.Context, *ReturnChannelRequest) (*Channel, error) // PullChosenChannel subscribes to chosen channel changes PullChosenChannel(*PullChosenChannelRequest, grpc.ServerStreamingServer[PullChosenChannelResponse]) error // contains filtered or unexported methods }
ChannelApiServer is the server API for ChannelApi service. All implementations must embed UnimplementedChannelApiServer for forward compatibility.
ChannelApi allows for querying and updating the chosen channel on a device like a TV.
type ChannelApi_PullChosenChannelClient ¶
type ChannelApi_PullChosenChannelClient = grpc.ServerStreamingClient[PullChosenChannelResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ChannelApi_PullChosenChannelServer ¶
type ChannelApi_PullChosenChannelServer = grpc.ServerStreamingServer[PullChosenChannelResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ChannelInfoClient ¶
type ChannelInfoClient interface { // Get information about how a named device implements channel choosing and adjustment DescribeChosenChannel(ctx context.Context, in *DescribeChosenChannelRequest, opts ...grpc.CallOption) (*ChosenChannelSupport, error) }
ChannelInfoClient is the client API for ChannelInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewChannelInfoClient ¶
func NewChannelInfoClient(cc grpc.ClientConnInterface) ChannelInfoClient
type ChannelInfoServer ¶
type ChannelInfoServer interface { // Get information about how a named device implements channel choosing and adjustment DescribeChosenChannel(context.Context, *DescribeChosenChannelRequest) (*ChosenChannelSupport, error) // contains filtered or unexported methods }
ChannelInfoServer is the server API for ChannelInfo service. All implementations must embed UnimplementedChannelInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type ChargeRequest ¶
type ChargeRequest struct { // Name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // True to begin charging, false to stop. Charge bool `protobuf:"varint,2,opt,name=charge,proto3" json:"charge,omitempty"` // contains filtered or unexported fields }
func (*ChargeRequest) Descriptor
deprecated
func (*ChargeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChargeRequest.ProtoReflect.Descriptor instead.
func (*ChargeRequest) GetCharge ¶
func (x *ChargeRequest) GetCharge() bool
func (*ChargeRequest) GetName ¶
func (x *ChargeRequest) GetName() string
func (*ChargeRequest) ProtoMessage ¶
func (*ChargeRequest) ProtoMessage()
func (*ChargeRequest) ProtoReflect ¶
func (x *ChargeRequest) ProtoReflect() protoreflect.Message
func (*ChargeRequest) Reset ¶
func (x *ChargeRequest) Reset()
func (*ChargeRequest) String ¶
func (x *ChargeRequest) String() string
type ChargeResponse ¶
type ChargeResponse struct {
// contains filtered or unexported fields
}
func (*ChargeResponse) Descriptor
deprecated
func (*ChargeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChargeResponse.ProtoReflect.Descriptor instead.
func (*ChargeResponse) ProtoMessage ¶
func (*ChargeResponse) ProtoMessage()
func (*ChargeResponse) ProtoReflect ¶
func (x *ChargeResponse) ProtoReflect() protoreflect.Message
func (*ChargeResponse) Reset ¶
func (x *ChargeResponse) Reset()
func (*ChargeResponse) String ¶
func (x *ChargeResponse) String() string
type CheckInBookingRequest ¶
type CheckInBookingRequest struct { // The name of the bookable (e.g. the resource name) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Which booking to check in BookingId string `protobuf:"bytes,2,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"` // The time the booking was checked-in. If omitted the server time will be used. Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*CheckInBookingRequest) Descriptor
deprecated
func (*CheckInBookingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckInBookingRequest.ProtoReflect.Descriptor instead.
func (*CheckInBookingRequest) GetBookingId ¶
func (x *CheckInBookingRequest) GetBookingId() string
func (*CheckInBookingRequest) GetName ¶
func (x *CheckInBookingRequest) GetName() string
func (*CheckInBookingRequest) GetTime ¶
func (x *CheckInBookingRequest) GetTime() *timestamppb.Timestamp
func (*CheckInBookingRequest) ProtoMessage ¶
func (*CheckInBookingRequest) ProtoMessage()
func (*CheckInBookingRequest) ProtoReflect ¶
func (x *CheckInBookingRequest) ProtoReflect() protoreflect.Message
func (*CheckInBookingRequest) Reset ¶
func (x *CheckInBookingRequest) Reset()
func (*CheckInBookingRequest) String ¶
func (x *CheckInBookingRequest) String() string
type CheckInBookingResponse ¶
type CheckInBookingResponse struct {
// contains filtered or unexported fields
}
func (*CheckInBookingResponse) Descriptor
deprecated
func (*CheckInBookingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckInBookingResponse.ProtoReflect.Descriptor instead.
func (*CheckInBookingResponse) ProtoMessage ¶
func (*CheckInBookingResponse) ProtoMessage()
func (*CheckInBookingResponse) ProtoReflect ¶
func (x *CheckInBookingResponse) ProtoReflect() protoreflect.Message
func (*CheckInBookingResponse) Reset ¶
func (x *CheckInBookingResponse) Reset()
func (*CheckInBookingResponse) String ¶
func (x *CheckInBookingResponse) String() string
type CheckOutBookingRequest ¶
type CheckOutBookingRequest struct { // The name of the bookable (e.g. the resource name) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Which booking to check out BookingId string `protobuf:"bytes,2,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"` // The time the booking was checked-out. If omitted the server time will be used. Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*CheckOutBookingRequest) Descriptor
deprecated
func (*CheckOutBookingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckOutBookingRequest.ProtoReflect.Descriptor instead.
func (*CheckOutBookingRequest) GetBookingId ¶
func (x *CheckOutBookingRequest) GetBookingId() string
func (*CheckOutBookingRequest) GetName ¶
func (x *CheckOutBookingRequest) GetName() string
func (*CheckOutBookingRequest) GetTime ¶
func (x *CheckOutBookingRequest) GetTime() *timestamppb.Timestamp
func (*CheckOutBookingRequest) ProtoMessage ¶
func (*CheckOutBookingRequest) ProtoMessage()
func (*CheckOutBookingRequest) ProtoReflect ¶
func (x *CheckOutBookingRequest) ProtoReflect() protoreflect.Message
func (*CheckOutBookingRequest) Reset ¶
func (x *CheckOutBookingRequest) Reset()
func (*CheckOutBookingRequest) String ¶
func (x *CheckOutBookingRequest) String() string
type CheckOutBookingResponse ¶
type CheckOutBookingResponse struct {
// contains filtered or unexported fields
}
func (*CheckOutBookingResponse) Descriptor
deprecated
func (*CheckOutBookingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckOutBookingResponse.ProtoReflect.Descriptor instead.
func (*CheckOutBookingResponse) ProtoMessage ¶
func (*CheckOutBookingResponse) ProtoMessage()
func (*CheckOutBookingResponse) ProtoReflect ¶
func (x *CheckOutBookingResponse) ProtoReflect() protoreflect.Message
func (*CheckOutBookingResponse) Reset ¶
func (x *CheckOutBookingResponse) Reset()
func (*CheckOutBookingResponse) String ¶
func (x *CheckOutBookingResponse) String() string
type Child ¶
type Child struct { // Name is the Smart Core name for this child device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Traits lists the traits this child implements. Traits []*Trait `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` // Parent is the name of this child's direct parent. // If absent this is the name of the device in the children request. Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Child is a member of a parent.
func (*Child) Descriptor
deprecated
func (*Child) ProtoMessage ¶
func (*Child) ProtoMessage()
func (*Child) ProtoReflect ¶
func (x *Child) ProtoReflect() protoreflect.Message
type ChooseChannelRequest ¶
type ChooseChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The channel to select. Must contain either id or number. Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
ChooseChannelRequest describes which channel to select.
func (*ChooseChannelRequest) Descriptor
deprecated
func (*ChooseChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChooseChannelRequest.ProtoReflect.Descriptor instead.
func (*ChooseChannelRequest) GetChannel ¶
func (x *ChooseChannelRequest) GetChannel() *Channel
func (*ChooseChannelRequest) GetName ¶
func (x *ChooseChannelRequest) GetName() string
func (*ChooseChannelRequest) ProtoMessage ¶
func (*ChooseChannelRequest) ProtoMessage()
func (*ChooseChannelRequest) ProtoReflect ¶
func (x *ChooseChannelRequest) ProtoReflect() protoreflect.Message
func (*ChooseChannelRequest) Reset ¶
func (x *ChooseChannelRequest) Reset()
func (*ChooseChannelRequest) String ¶
func (x *ChooseChannelRequest) String() string
type ChosenChannelSupport ¶
type ChosenChannelSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // The max number of channels away from the current that are supported when adjusting channels. Defaults to 1. AdjustMax int32 `protobuf:"varint,2,opt,name=adjust_max,json=adjustMax,proto3" json:"adjust_max,omitempty"` // todo: support for [choose,adjust,return], not sure what the defaults should be // contains filtered or unexported fields }
ChosenChannelSupport describes the capabilities of devices implementing this trait
func (*ChosenChannelSupport) Descriptor
deprecated
func (*ChosenChannelSupport) Descriptor() ([]byte, []int)
Deprecated: Use ChosenChannelSupport.ProtoReflect.Descriptor instead.
func (*ChosenChannelSupport) GetAdjustMax ¶
func (x *ChosenChannelSupport) GetAdjustMax() int32
func (*ChosenChannelSupport) GetResourceSupport ¶
func (x *ChosenChannelSupport) GetResourceSupport() *types.ResourceSupport
func (*ChosenChannelSupport) ProtoMessage ¶
func (*ChosenChannelSupport) ProtoMessage()
func (*ChosenChannelSupport) ProtoReflect ¶
func (x *ChosenChannelSupport) ProtoReflect() protoreflect.Message
func (*ChosenChannelSupport) Reset ¶
func (x *ChosenChannelSupport) Reset()
func (*ChosenChannelSupport) String ¶
func (x *ChosenChannelSupport) String() string
type ClearActiveModeRequest ¶
type ClearActiveModeRequest struct { // Name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ClearActiveModeRequest) Descriptor
deprecated
func (*ClearActiveModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearActiveModeRequest.ProtoReflect.Descriptor instead.
func (*ClearActiveModeRequest) GetName ¶
func (x *ClearActiveModeRequest) GetName() string
func (*ClearActiveModeRequest) ProtoMessage ¶
func (*ClearActiveModeRequest) ProtoMessage()
func (*ClearActiveModeRequest) ProtoReflect ¶
func (x *ClearActiveModeRequest) ProtoReflect() protoreflect.Message
func (*ClearActiveModeRequest) Reset ¶
func (x *ClearActiveModeRequest) Reset()
func (*ClearActiveModeRequest) String ¶
func (x *ClearActiveModeRequest) String() string
type 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) (grpc.ServerStreamingClient[PullColorResponse], 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.
Control the color of a device. This could be a smart-bulb, or a DMX fitting.
func NewColorApiClient ¶
func NewColorApiClient(cc grpc.ClientConnInterface) ColorApiClient
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, grpc.ServerStreamingServer[PullColorResponse]) error // contains filtered or unexported methods }
ColorApiServer is the server API for ColorApi service. All implementations must embed UnimplementedColorApiServer for forward compatibility.
Control the color of a device. This could be a smart-bulb, or a DMX fitting.
type ColorApi_PullColorClient ¶
type ColorApi_PullColorClient = grpc.ServerStreamingClient[PullColorResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ColorApi_PullColorServer ¶
type ColorApi_PullColorServer = grpc.ServerStreamingServer[PullColorResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
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.
Describes the capabilities of a specific named device with respect to this trait.
func NewColorInfoClient ¶
func NewColorInfoClient(cc grpc.ClientConnInterface) 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.
Describes the capabilities of a specific named device with respect to this trait.
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 Consumable ¶
type Consumable struct { // A name that can be used to uniquely refer to this consumable in the device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The available portions that this consumable can be dispensed in. AvailablePortions []*Consumable_Portion `protobuf:"bytes,2,rep,name=available_portions,json=availablePortions,proto3" json:"available_portions,omitempty"` // The portion that will be dispensed if not specified as part of the request. DefaultPortion *Consumable_Quantity `protobuf:"bytes,3,opt,name=default_portion,json=defaultPortion,proto3" json:"default_portion,omitempty"` // An official title for this item. Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"` // A recognisable display name for this item. DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A picture of the item. Picture *types.Image `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"` // A url that resolves to more information on this item. Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"` // IDs holds external consumable ids. // For example this might hold an id representing an Amazon Dash button product code. // The map key should uniquely represent the domain for the id, for example "amazon.com/dash", the use of uris is not // required, values should be the id of this consumable in that domain, for example "sma81r6t1c5o3r58e1-3r8u16l1es". Ids map[string]string `` /* 149-byte string literal not displayed */ // Additional properties associated with the consumable. // Typically displayed to a user to help them to distinguish between similar consumables. More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Consumable describes some item that can be dispensed from a vending device. Noticeable variations, so far as someone might want to choose between two consumables, should be modelled as separate consumable instances. For example red or green apples, large or regular drinks.
func (*Consumable) Descriptor
deprecated
func (*Consumable) Descriptor() ([]byte, []int)
Deprecated: Use Consumable.ProtoReflect.Descriptor instead.
func (*Consumable) GetAvailablePortions ¶
func (x *Consumable) GetAvailablePortions() []*Consumable_Portion
func (*Consumable) GetDefaultPortion ¶
func (x *Consumable) GetDefaultPortion() *Consumable_Quantity
func (*Consumable) GetDisplayName ¶
func (x *Consumable) GetDisplayName() string
func (*Consumable) GetIds ¶
func (x *Consumable) GetIds() map[string]string
func (*Consumable) GetMore ¶
func (x *Consumable) GetMore() map[string]string
func (*Consumable) GetName ¶
func (x *Consumable) GetName() string
func (*Consumable) GetPicture ¶
func (x *Consumable) GetPicture() *types.Image
func (*Consumable) GetTitle ¶
func (x *Consumable) GetTitle() string
func (*Consumable) GetUrl ¶
func (x *Consumable) GetUrl() string
func (*Consumable) ProtoMessage ¶
func (*Consumable) ProtoMessage()
func (*Consumable) ProtoReflect ¶
func (x *Consumable) ProtoReflect() protoreflect.Message
func (*Consumable) Reset ¶
func (x *Consumable) Reset()
func (*Consumable) String ¶
func (x *Consumable) String() string
type Consumable_Portion ¶
type Consumable_Portion struct { // The unit the portion is measured in. Unit Consumable_Unit `protobuf:"varint,1,opt,name=unit,proto3,enum=smartcore.traits.Consumable_Unit" json:"unit,omitempty"` // Upper and lower bounds for the portion quantity. Bounds *types.FloatBounds `protobuf:"bytes,2,opt,name=bounds,proto3" json:"bounds,omitempty"` // The minimal increment for the portion quantity. Step float32 `protobuf:"fixed32,3,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
Portion describes a possible consumption for this consumable. Portions are potential units to be dispensed, a device might support dispensing individual cups of water, in which case it would use `{unit:CUP, bounds:[1,1]}`. Alternatively a device might dispense sweets in chunks of 50g, and would describe this using `{unit:KILOGRAM, step:0.05}`. If the device had a safety feature to limit the sweets dispensed at one time it might also specify `bounds:[0.05, 5]`.
func (*Consumable_Portion) Descriptor
deprecated
func (*Consumable_Portion) Descriptor() ([]byte, []int)
Deprecated: Use Consumable_Portion.ProtoReflect.Descriptor instead.
func (*Consumable_Portion) GetBounds ¶
func (x *Consumable_Portion) GetBounds() *types.FloatBounds
func (*Consumable_Portion) GetStep ¶
func (x *Consumable_Portion) GetStep() float32
func (*Consumable_Portion) GetUnit ¶
func (x *Consumable_Portion) GetUnit() Consumable_Unit
func (*Consumable_Portion) ProtoMessage ¶
func (*Consumable_Portion) ProtoMessage()
func (*Consumable_Portion) ProtoReflect ¶
func (x *Consumable_Portion) ProtoReflect() protoreflect.Message
func (*Consumable_Portion) Reset ¶
func (x *Consumable_Portion) Reset()
func (*Consumable_Portion) String ¶
func (x *Consumable_Portion) String() string
type Consumable_Quantity ¶
type Consumable_Quantity struct { Amount float32 `protobuf:"fixed32,2,opt,name=amount,proto3" json:"amount,omitempty"` Unit Consumable_Unit `protobuf:"varint,3,opt,name=unit,proto3,enum=smartcore.traits.Consumable_Unit" json:"unit,omitempty"` // contains filtered or unexported fields }
Quantity combines an amount and a unit.
func (*Consumable_Quantity) Descriptor
deprecated
func (*Consumable_Quantity) Descriptor() ([]byte, []int)
Deprecated: Use Consumable_Quantity.ProtoReflect.Descriptor instead.
func (*Consumable_Quantity) GetAmount ¶
func (x *Consumable_Quantity) GetAmount() float32
func (*Consumable_Quantity) GetUnit ¶
func (x *Consumable_Quantity) GetUnit() Consumable_Unit
func (*Consumable_Quantity) ProtoMessage ¶
func (*Consumable_Quantity) ProtoMessage()
func (*Consumable_Quantity) ProtoReflect ¶
func (x *Consumable_Quantity) ProtoReflect() protoreflect.Message
func (*Consumable_Quantity) Reset ¶
func (x *Consumable_Quantity) Reset()
func (*Consumable_Quantity) String ¶
func (x *Consumable_Quantity) String() string
type Consumable_Stock ¶
type Consumable_Stock struct { // The name of a consumable supported by this device. Consumable string `protobuf:"bytes,1,opt,name=consumable,proto3" json:"consumable,omitempty"` // How many/much of the consumable is remaining. // Optional. // If the consumable is currently dispensing, this should report how much is remaining after dispensing finishes. Remaining *Consumable_Quantity `protobuf:"bytes,2,opt,name=remaining,proto3" json:"remaining,omitempty"` // How many/much of the consumable has been used since the counter was last reset. // Optional. // Devices may reset the counter when the stock is filled, or may count for longer. // If the consumable is currently dispensing, this should report how much will be used after dispensing finishes. Used *Consumable_Quantity `protobuf:"bytes,3,opt,name=used,proto3" json:"used,omitempty"` // How many/much of the consumable was most recently dispensed. // If the consumable is currently dispensing, this should report the quantity it dispensed prior to the current // session. // Optional. LastDispensed *Consumable_Quantity `protobuf:"bytes,4,opt,name=last_dispensed,json=lastDispensed,proto3" json:"last_dispensed,omitempty"` // True if the consumable is currently being dispensed. Dispensing bool `protobuf:"varint,5,opt,name=dispensing,proto3" json:"dispensing,omitempty"` // contains filtered or unexported fields }
Stock describes how much of a consumable is available.
func (*Consumable_Stock) Descriptor
deprecated
func (*Consumable_Stock) Descriptor() ([]byte, []int)
Deprecated: Use Consumable_Stock.ProtoReflect.Descriptor instead.
func (*Consumable_Stock) GetConsumable ¶
func (x *Consumable_Stock) GetConsumable() string
func (*Consumable_Stock) GetDispensing ¶
func (x *Consumable_Stock) GetDispensing() bool
func (*Consumable_Stock) GetLastDispensed ¶
func (x *Consumable_Stock) GetLastDispensed() *Consumable_Quantity
func (*Consumable_Stock) GetRemaining ¶
func (x *Consumable_Stock) GetRemaining() *Consumable_Quantity
func (*Consumable_Stock) GetUsed ¶
func (x *Consumable_Stock) GetUsed() *Consumable_Quantity
func (*Consumable_Stock) ProtoMessage ¶
func (*Consumable_Stock) ProtoMessage()
func (*Consumable_Stock) ProtoReflect ¶
func (x *Consumable_Stock) ProtoReflect() protoreflect.Message
func (*Consumable_Stock) Reset ¶
func (x *Consumable_Stock) Reset()
func (*Consumable_Stock) String ¶
func (x *Consumable_Stock) String() string
type Consumable_Unit ¶
type Consumable_Unit int32
Unit defines different consumable units.
const ( Consumable_UNIT_UNSPECIFIED Consumable_Unit = 0 // There is no unit for this quantity, typically a count. Consumable_NO_UNIT Consumable_Unit = 1 // The quantity is a length, in meters. Consumable_METER Consumable_Unit = 2 // The quantity is a volume, in liters Consumable_LITER Consumable_Unit = 3 // The quantity is a volume, in cubic meters. Consumable_CUBIC_METER Consumable_Unit = 4 // The quantity is a portion, sized to fill a cup. Consumable_CUP Consumable_Unit = 5 // The quantity is a mass, in kilograms. Consumable_KILOGRAM Consumable_Unit = 6 )
func (Consumable_Unit) Descriptor ¶
func (Consumable_Unit) Descriptor() protoreflect.EnumDescriptor
func (Consumable_Unit) Enum ¶
func (x Consumable_Unit) Enum() *Consumable_Unit
func (Consumable_Unit) EnumDescriptor
deprecated
func (Consumable_Unit) EnumDescriptor() ([]byte, []int)
Deprecated: Use Consumable_Unit.Descriptor instead.
func (Consumable_Unit) Number ¶
func (x Consumable_Unit) Number() protoreflect.EnumNumber
func (Consumable_Unit) String ¶
func (x Consumable_Unit) String() string
func (Consumable_Unit) Type ¶
func (Consumable_Unit) Type() protoreflect.EnumType
type Count ¶
type Count struct { // Total number of added items Added int32 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"` // Total number of removed items Removed int32 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` // The time the counts were reset ResetTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"` // contains filtered or unexported fields }
Count represents how many of a thing exist. The total measured count is added - removed. Some devices may adjust added up and down and leave removed at 0, some might increase both properties.
func (*Count) Descriptor
deprecated
func (*Count) GetRemoved ¶
func (*Count) GetResetTime ¶
func (x *Count) GetResetTime() *timestamppb.Timestamp
func (*Count) ProtoMessage ¶
func (*Count) ProtoMessage()
func (*Count) ProtoReflect ¶
func (x *Count) ProtoReflect() protoreflect.Message
type CountApiClient ¶
type CountApiClient interface { // Get the current count state GetCount(ctx context.Context, in *GetCountRequest, opts ...grpc.CallOption) (*Count, error) // Reset the counts to 0 and update the reset time. ResetCount(ctx context.Context, in *ResetCountRequest, opts ...grpc.CallOption) (*Count, error) // Update one or more properties of the count. UpdateCount(ctx context.Context, in *UpdateCountRequest, opts ...grpc.CallOption) (*Count, error) // Subscribe to changes to the count. PullCounts(ctx context.Context, in *PullCountsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullCountsResponse], error) }
CountApiClient is the client API for CountApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
CountApi tracks both a positive and negative count of some quantity. Can be used for tickers, footfall sensors, and devices like that.
func NewCountApiClient ¶
func NewCountApiClient(cc grpc.ClientConnInterface) CountApiClient
type CountApiServer ¶
type CountApiServer interface { // Get the current count state GetCount(context.Context, *GetCountRequest) (*Count, error) // Reset the counts to 0 and update the reset time. ResetCount(context.Context, *ResetCountRequest) (*Count, error) // Update one or more properties of the count. UpdateCount(context.Context, *UpdateCountRequest) (*Count, error) // Subscribe to changes to the count. PullCounts(*PullCountsRequest, grpc.ServerStreamingServer[PullCountsResponse]) error // contains filtered or unexported methods }
CountApiServer is the server API for CountApi service. All implementations must embed UnimplementedCountApiServer for forward compatibility.
CountApi tracks both a positive and negative count of some quantity. Can be used for tickers, footfall sensors, and devices like that.
type CountApi_PullCountsClient ¶
type CountApi_PullCountsClient = grpc.ServerStreamingClient[PullCountsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type CountApi_PullCountsServer ¶
type CountApi_PullCountsServer = grpc.ServerStreamingServer[PullCountsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type CountInfoClient ¶
type CountInfoClient interface { // Get information about how a named device implements Count features DescribeCount(ctx context.Context, in *DescribeCountRequest, opts ...grpc.CallOption) (*CountSupport, error) }
CountInfoClient is the client API for CountInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewCountInfoClient ¶
func NewCountInfoClient(cc grpc.ClientConnInterface) CountInfoClient
type CountInfoServer ¶
type CountInfoServer interface { // Get information about how a named device implements Count features DescribeCount(context.Context, *DescribeCountRequest) (*CountSupport, error) // contains filtered or unexported methods }
CountInfoServer is the server API for CountInfo service. All implementations must embed UnimplementedCountInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type CountSupport ¶
type CountSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Two way counters count additions and removals separately. Do NOT use this as a way to ignore the Count.removed // property, the total count is always added - removed. TwoWay bool `protobuf:"varint,2,opt,name=two_way,json=twoWay,proto3" json:"two_way,omitempty"` // Does the api support resetting the count timer. SupportsReset bool `protobuf:"varint,3,opt,name=supports_reset,json=supportsReset,proto3" json:"supports_reset,omitempty"` // When updating the count does this device support the delta property SupportsDelta bool `protobuf:"varint,4,opt,name=supports_delta,json=supportsDelta,proto3" json:"supports_delta,omitempty"` // contains filtered or unexported fields }
CountSupport describes the capabilities of devices implementing this trait
func (*CountSupport) Descriptor
deprecated
func (*CountSupport) Descriptor() ([]byte, []int)
Deprecated: Use CountSupport.ProtoReflect.Descriptor instead.
func (*CountSupport) GetResourceSupport ¶
func (x *CountSupport) GetResourceSupport() *types.ResourceSupport
func (*CountSupport) GetSupportsDelta ¶
func (x *CountSupport) GetSupportsDelta() bool
func (*CountSupport) GetSupportsReset ¶
func (x *CountSupport) GetSupportsReset() bool
func (*CountSupport) GetTwoWay ¶
func (x *CountSupport) GetTwoWay() bool
func (*CountSupport) ProtoMessage ¶
func (*CountSupport) ProtoMessage()
func (*CountSupport) ProtoReflect ¶
func (x *CountSupport) ProtoReflect() protoreflect.Message
func (*CountSupport) Reset ¶
func (x *CountSupport) Reset()
func (*CountSupport) String ¶
func (x *CountSupport) String() string
type CreateBookingRequest ¶
type CreateBookingRequest struct { // The name of the bookable (e.g. the resource name) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the booking to add, the id field should not be set Booking *Booking `protobuf:"bytes,2,opt,name=booking,proto3" json:"booking,omitempty"` // contains filtered or unexported fields }
func (*CreateBookingRequest) Descriptor
deprecated
func (*CreateBookingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBookingRequest.ProtoReflect.Descriptor instead.
func (*CreateBookingRequest) GetBooking ¶
func (x *CreateBookingRequest) GetBooking() *Booking
func (*CreateBookingRequest) GetName ¶
func (x *CreateBookingRequest) GetName() string
func (*CreateBookingRequest) ProtoMessage ¶
func (*CreateBookingRequest) ProtoMessage()
func (*CreateBookingRequest) ProtoReflect ¶
func (x *CreateBookingRequest) ProtoReflect() protoreflect.Message
func (*CreateBookingRequest) Reset ¶
func (x *CreateBookingRequest) Reset()
func (*CreateBookingRequest) String ¶
func (x *CreateBookingRequest) String() string
type CreateBookingResponse ¶
type CreateBookingResponse struct { // The created bookings' id BookingId string `protobuf:"bytes,1,opt,name=booking_id,json=bookingId,proto3" json:"booking_id,omitempty"` // contains filtered or unexported fields }
func (*CreateBookingResponse) Descriptor
deprecated
func (*CreateBookingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBookingResponse.ProtoReflect.Descriptor instead.
func (*CreateBookingResponse) GetBookingId ¶
func (x *CreateBookingResponse) GetBookingId() string
func (*CreateBookingResponse) ProtoMessage ¶
func (*CreateBookingResponse) ProtoMessage()
func (*CreateBookingResponse) ProtoReflect ¶
func (x *CreateBookingResponse) ProtoReflect() protoreflect.Message
func (*CreateBookingResponse) Reset ¶
func (x *CreateBookingResponse) Reset()
func (*CreateBookingResponse) String ¶
func (x *CreateBookingResponse) String() string
type CreateExtensionPresetRequest ¶
type CreateExtensionPresetRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The preset to store the position under Preset *ExtensionPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"` // contains filtered or unexported fields }
A request to store the current position under a preset name
func (*CreateExtensionPresetRequest) Descriptor
deprecated
func (*CreateExtensionPresetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExtensionPresetRequest.ProtoReflect.Descriptor instead.
func (*CreateExtensionPresetRequest) GetName ¶
func (x *CreateExtensionPresetRequest) GetName() string
func (*CreateExtensionPresetRequest) GetPreset ¶
func (x *CreateExtensionPresetRequest) GetPreset() *ExtensionPreset
func (*CreateExtensionPresetRequest) ProtoMessage ¶
func (*CreateExtensionPresetRequest) ProtoMessage()
func (*CreateExtensionPresetRequest) ProtoReflect ¶
func (x *CreateExtensionPresetRequest) ProtoReflect() protoreflect.Message
func (*CreateExtensionPresetRequest) Reset ¶
func (x *CreateExtensionPresetRequest) Reset()
func (*CreateExtensionPresetRequest) String ¶
func (x *CreateExtensionPresetRequest) String() string
type CreateHailRequest ¶
type CreateHailRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Hail *Hail `protobuf:"bytes,2,opt,name=hail,proto3" json:"hail,omitempty"` // contains filtered or unexported fields }
func (*CreateHailRequest) Descriptor
deprecated
func (*CreateHailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateHailRequest.ProtoReflect.Descriptor instead.
func (*CreateHailRequest) GetHail ¶
func (x *CreateHailRequest) GetHail() *Hail
func (*CreateHailRequest) GetName ¶
func (x *CreateHailRequest) GetName() string
func (*CreateHailRequest) ProtoMessage ¶
func (*CreateHailRequest) ProtoMessage()
func (*CreateHailRequest) ProtoReflect ¶
func (x *CreateHailRequest) ProtoReflect() protoreflect.Message
func (*CreateHailRequest) Reset ¶
func (x *CreateHailRequest) Reset()
func (*CreateHailRequest) String ¶
func (x *CreateHailRequest) String() string
type CreatePtzPresetRequest ¶
type CreatePtzPresetRequest struct { // the name of the device to update the state of Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Details for the preset Preset *PtzPreset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"` // contains filtered or unexported fields }
func (*CreatePtzPresetRequest) Descriptor
deprecated
func (*CreatePtzPresetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePtzPresetRequest.ProtoReflect.Descriptor instead.
func (*CreatePtzPresetRequest) GetName ¶
func (x *CreatePtzPresetRequest) GetName() string
func (*CreatePtzPresetRequest) GetPreset ¶
func (x *CreatePtzPresetRequest) GetPreset() *PtzPreset
func (*CreatePtzPresetRequest) ProtoMessage ¶
func (*CreatePtzPresetRequest) ProtoMessage()
func (*CreatePtzPresetRequest) ProtoReflect ¶
func (x *CreatePtzPresetRequest) ProtoReflect() protoreflect.Message
func (*CreatePtzPresetRequest) Reset ¶
func (x *CreatePtzPresetRequest) Reset()
func (*CreatePtzPresetRequest) String ¶
func (x *CreatePtzPresetRequest) String() string
type CreatePublicationRequest ¶
type CreatePublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The publication data to seed Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` // contains filtered or unexported fields }
func (*CreatePublicationRequest) Descriptor
deprecated
func (*CreatePublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePublicationRequest.ProtoReflect.Descriptor instead.
func (*CreatePublicationRequest) GetName ¶
func (x *CreatePublicationRequest) GetName() string
func (*CreatePublicationRequest) GetPublication ¶
func (x *CreatePublicationRequest) GetPublication() *Publication
func (*CreatePublicationRequest) ProtoMessage ¶
func (*CreatePublicationRequest) ProtoMessage()
func (*CreatePublicationRequest) ProtoReflect ¶
func (x *CreatePublicationRequest) ProtoReflect() protoreflect.Message
func (*CreatePublicationRequest) Reset ¶
func (x *CreatePublicationRequest) Reset()
func (*CreatePublicationRequest) String ¶
func (x *CreatePublicationRequest) String() string
type DeleteHailRequest ¶
type DeleteHailRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id of the hail Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // If true, no error is returned if a hail with the given id can't be found. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
func (*DeleteHailRequest) Descriptor
deprecated
func (*DeleteHailRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHailRequest.ProtoReflect.Descriptor instead.
func (*DeleteHailRequest) GetAllowMissing ¶
func (x *DeleteHailRequest) GetAllowMissing() bool
func (*DeleteHailRequest) GetId ¶
func (x *DeleteHailRequest) GetId() string
func (*DeleteHailRequest) GetName ¶
func (x *DeleteHailRequest) GetName() string
func (*DeleteHailRequest) ProtoMessage ¶
func (*DeleteHailRequest) ProtoMessage()
func (*DeleteHailRequest) ProtoReflect ¶
func (x *DeleteHailRequest) ProtoReflect() protoreflect.Message
func (*DeleteHailRequest) Reset ¶
func (x *DeleteHailRequest) Reset()
func (*DeleteHailRequest) String ¶
func (x *DeleteHailRequest) String() string
type DeleteHailResponse ¶
type DeleteHailResponse struct {
// contains filtered or unexported fields
}
func (*DeleteHailResponse) Descriptor
deprecated
func (*DeleteHailResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHailResponse.ProtoReflect.Descriptor instead.
func (*DeleteHailResponse) ProtoMessage ¶
func (*DeleteHailResponse) ProtoMessage()
func (*DeleteHailResponse) ProtoReflect ¶
func (x *DeleteHailResponse) ProtoReflect() protoreflect.Message
func (*DeleteHailResponse) Reset ¶
func (x *DeleteHailResponse) Reset()
func (*DeleteHailResponse) String ¶
func (x *DeleteHailResponse) String() string
type DeletePublicationRequest ¶
type DeletePublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The publication id. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // If present, the delete will fail if the version on the server does not match this version. // Populate with the latest known version on the client to avoid concurrent updates overriding each other // transparently. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // If set to true, and no publication with the given id exists, the request will succeed but no action will // be taken. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
func (*DeletePublicationRequest) Descriptor
deprecated
func (*DeletePublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePublicationRequest.ProtoReflect.Descriptor instead.
func (*DeletePublicationRequest) GetAllowMissing ¶
func (x *DeletePublicationRequest) GetAllowMissing() bool
func (*DeletePublicationRequest) GetId ¶
func (x *DeletePublicationRequest) GetId() string
func (*DeletePublicationRequest) GetName ¶
func (x *DeletePublicationRequest) GetName() string
func (*DeletePublicationRequest) GetVersion ¶
func (x *DeletePublicationRequest) GetVersion() string
func (*DeletePublicationRequest) ProtoMessage ¶
func (*DeletePublicationRequest) ProtoMessage()
func (*DeletePublicationRequest) ProtoReflect ¶
func (x *DeletePublicationRequest) ProtoReflect() protoreflect.Message
func (*DeletePublicationRequest) Reset ¶
func (x *DeletePublicationRequest) Reset()
func (*DeletePublicationRequest) String ¶
func (x *DeletePublicationRequest) String() string
type DescribeAirQualityRequest ¶
type DescribeAirQualityRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeAirQualityRequest) Descriptor
deprecated
func (*DescribeAirQualityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAirQualityRequest.ProtoReflect.Descriptor instead.
func (*DescribeAirQualityRequest) GetName ¶
func (x *DescribeAirQualityRequest) GetName() string
func (*DescribeAirQualityRequest) ProtoMessage ¶
func (*DescribeAirQualityRequest) ProtoMessage()
func (*DescribeAirQualityRequest) ProtoReflect ¶
func (x *DescribeAirQualityRequest) ProtoReflect() protoreflect.Message
func (*DescribeAirQualityRequest) Reset ¶
func (x *DescribeAirQualityRequest) Reset()
func (*DescribeAirQualityRequest) String ¶
func (x *DescribeAirQualityRequest) String() string
type DescribeAirTemperatureRequest ¶
type DescribeAirTemperatureRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeAirTemperatureRequest) Descriptor
deprecated
func (*DescribeAirTemperatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAirTemperatureRequest.ProtoReflect.Descriptor instead.
func (*DescribeAirTemperatureRequest) GetName ¶
func (x *DescribeAirTemperatureRequest) GetName() string
func (*DescribeAirTemperatureRequest) ProtoMessage ¶
func (*DescribeAirTemperatureRequest) ProtoMessage()
func (*DescribeAirTemperatureRequest) ProtoReflect ¶
func (x *DescribeAirTemperatureRequest) ProtoReflect() protoreflect.Message
func (*DescribeAirTemperatureRequest) Reset ¶
func (x *DescribeAirTemperatureRequest) Reset()
func (*DescribeAirTemperatureRequest) String ¶
func (x *DescribeAirTemperatureRequest) String() string
type DescribeAmbientBrightnessRequest ¶
type DescribeAmbientBrightnessRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeAmbientBrightnessRequest) Descriptor
deprecated
func (*DescribeAmbientBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAmbientBrightnessRequest.ProtoReflect.Descriptor instead.
func (*DescribeAmbientBrightnessRequest) GetName ¶
func (x *DescribeAmbientBrightnessRequest) GetName() string
func (*DescribeAmbientBrightnessRequest) ProtoMessage ¶
func (*DescribeAmbientBrightnessRequest) ProtoMessage()
func (*DescribeAmbientBrightnessRequest) ProtoReflect ¶
func (x *DescribeAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
func (*DescribeAmbientBrightnessRequest) Reset ¶
func (x *DescribeAmbientBrightnessRequest) Reset()
func (*DescribeAmbientBrightnessRequest) String ¶
func (x *DescribeAmbientBrightnessRequest) String() string
type DescribeBookingRequest ¶
type DescribeBookingRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeBookingRequest) Descriptor
deprecated
func (*DescribeBookingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeBookingRequest.ProtoReflect.Descriptor instead.
func (*DescribeBookingRequest) GetName ¶
func (x *DescribeBookingRequest) GetName() string
func (*DescribeBookingRequest) ProtoMessage ¶
func (*DescribeBookingRequest) ProtoMessage()
func (*DescribeBookingRequest) ProtoReflect ¶
func (x *DescribeBookingRequest) ProtoReflect() protoreflect.Message
func (*DescribeBookingRequest) Reset ¶
func (x *DescribeBookingRequest) Reset()
func (*DescribeBookingRequest) String ¶
func (x *DescribeBookingRequest) String() string
type DescribeBrightnessRequest ¶
type DescribeBrightnessRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeBrightnessRequest) Descriptor
deprecated
func (*DescribeBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeBrightnessRequest.ProtoReflect.Descriptor instead.
func (*DescribeBrightnessRequest) GetName ¶
func (x *DescribeBrightnessRequest) GetName() string
func (*DescribeBrightnessRequest) ProtoMessage ¶
func (*DescribeBrightnessRequest) ProtoMessage()
func (*DescribeBrightnessRequest) ProtoReflect ¶
func (x *DescribeBrightnessRequest) ProtoReflect() protoreflect.Message
func (*DescribeBrightnessRequest) Reset ¶
func (x *DescribeBrightnessRequest) Reset()
func (*DescribeBrightnessRequest) String ¶
func (x *DescribeBrightnessRequest) String() string
type DescribeChosenChannelRequest ¶
type DescribeChosenChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeChosenChannelRequest) Descriptor
deprecated
func (*DescribeChosenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeChosenChannelRequest.ProtoReflect.Descriptor instead.
func (*DescribeChosenChannelRequest) GetName ¶
func (x *DescribeChosenChannelRequest) GetName() string
func (*DescribeChosenChannelRequest) ProtoMessage ¶
func (*DescribeChosenChannelRequest) ProtoMessage()
func (*DescribeChosenChannelRequest) ProtoReflect ¶
func (x *DescribeChosenChannelRequest) ProtoReflect() protoreflect.Message
func (*DescribeChosenChannelRequest) Reset ¶
func (x *DescribeChosenChannelRequest) Reset()
func (*DescribeChosenChannelRequest) String ¶
func (x *DescribeChosenChannelRequest) 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 DescribeCountRequest ¶
type DescribeCountRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeCountRequest) Descriptor
deprecated
func (*DescribeCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeCountRequest.ProtoReflect.Descriptor instead.
func (*DescribeCountRequest) GetName ¶
func (x *DescribeCountRequest) GetName() string
func (*DescribeCountRequest) ProtoMessage ¶
func (*DescribeCountRequest) ProtoMessage()
func (*DescribeCountRequest) ProtoReflect ¶
func (x *DescribeCountRequest) ProtoReflect() protoreflect.Message
func (*DescribeCountRequest) Reset ¶
func (x *DescribeCountRequest) Reset()
func (*DescribeCountRequest) String ¶
func (x *DescribeCountRequest) String() string
type DescribeEmergencyRequest ¶
type DescribeEmergencyRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeEmergencyRequest) Descriptor
deprecated
func (*DescribeEmergencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeEmergencyRequest.ProtoReflect.Descriptor instead.
func (*DescribeEmergencyRequest) GetName ¶
func (x *DescribeEmergencyRequest) GetName() string
func (*DescribeEmergencyRequest) ProtoMessage ¶
func (*DescribeEmergencyRequest) ProtoMessage()
func (*DescribeEmergencyRequest) ProtoReflect ¶
func (x *DescribeEmergencyRequest) ProtoReflect() protoreflect.Message
func (*DescribeEmergencyRequest) Reset ¶
func (x *DescribeEmergencyRequest) Reset()
func (*DescribeEmergencyRequest) String ¶
func (x *DescribeEmergencyRequest) String() string
type DescribeEnergyLevelRequest ¶
type DescribeEnergyLevelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeEnergyLevelRequest) Descriptor
deprecated
func (*DescribeEnergyLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeEnergyLevelRequest.ProtoReflect.Descriptor instead.
func (*DescribeEnergyLevelRequest) GetName ¶
func (x *DescribeEnergyLevelRequest) GetName() string
func (*DescribeEnergyLevelRequest) ProtoMessage ¶
func (*DescribeEnergyLevelRequest) ProtoMessage()
func (*DescribeEnergyLevelRequest) ProtoReflect ¶
func (x *DescribeEnergyLevelRequest) ProtoReflect() protoreflect.Message
func (*DescribeEnergyLevelRequest) Reset ¶
func (x *DescribeEnergyLevelRequest) Reset()
func (*DescribeEnergyLevelRequest) String ¶
func (x *DescribeEnergyLevelRequest) String() string
type DescribeExtensionRequest ¶
type DescribeExtensionRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeExtensionRequest) Descriptor
deprecated
func (*DescribeExtensionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeExtensionRequest.ProtoReflect.Descriptor instead.
func (*DescribeExtensionRequest) GetName ¶
func (x *DescribeExtensionRequest) GetName() string
func (*DescribeExtensionRequest) ProtoMessage ¶
func (*DescribeExtensionRequest) ProtoMessage()
func (*DescribeExtensionRequest) ProtoReflect ¶
func (x *DescribeExtensionRequest) ProtoReflect() protoreflect.Message
func (*DescribeExtensionRequest) Reset ¶
func (x *DescribeExtensionRequest) Reset()
func (*DescribeExtensionRequest) String ¶
func (x *DescribeExtensionRequest) String() string
type DescribeFanSpeedRequest ¶
type DescribeFanSpeedRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeFanSpeedRequest) Descriptor
deprecated
func (*DescribeFanSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeFanSpeedRequest.ProtoReflect.Descriptor instead.
func (*DescribeFanSpeedRequest) GetName ¶
func (x *DescribeFanSpeedRequest) GetName() string
func (*DescribeFanSpeedRequest) ProtoMessage ¶
func (*DescribeFanSpeedRequest) ProtoMessage()
func (*DescribeFanSpeedRequest) ProtoReflect ¶
func (x *DescribeFanSpeedRequest) ProtoReflect() protoreflect.Message
func (*DescribeFanSpeedRequest) Reset ¶
func (x *DescribeFanSpeedRequest) Reset()
func (*DescribeFanSpeedRequest) String ¶
func (x *DescribeFanSpeedRequest) String() string
type DescribeGainRequest ¶
type DescribeGainRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeGainRequest) Descriptor
deprecated
func (*DescribeGainRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeGainRequest.ProtoReflect.Descriptor instead.
func (*DescribeGainRequest) GetName ¶
func (x *DescribeGainRequest) GetName() string
func (*DescribeGainRequest) ProtoMessage ¶
func (*DescribeGainRequest) ProtoMessage()
func (*DescribeGainRequest) ProtoReflect ¶
func (x *DescribeGainRequest) ProtoReflect() protoreflect.Message
func (*DescribeGainRequest) Reset ¶
func (x *DescribeGainRequest) Reset()
func (*DescribeGainRequest) String ¶
func (x *DescribeGainRequest) String() string
type DescribeInputRequest ¶
type DescribeInputRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeInputRequest) Descriptor
deprecated
func (*DescribeInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeInputRequest.ProtoReflect.Descriptor instead.
func (*DescribeInputRequest) GetName ¶
func (x *DescribeInputRequest) GetName() string
func (*DescribeInputRequest) ProtoMessage ¶
func (*DescribeInputRequest) ProtoMessage()
func (*DescribeInputRequest) ProtoReflect ¶
func (x *DescribeInputRequest) ProtoReflect() protoreflect.Message
func (*DescribeInputRequest) Reset ¶
func (x *DescribeInputRequest) Reset()
func (*DescribeInputRequest) String ¶
func (x *DescribeInputRequest) String() string
type 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 DescribeModesRequest ¶
type DescribeModesRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeModesRequest) Descriptor
deprecated
func (*DescribeModesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeModesRequest.ProtoReflect.Descriptor instead.
func (*DescribeModesRequest) GetName ¶
func (x *DescribeModesRequest) GetName() string
func (*DescribeModesRequest) ProtoMessage ¶
func (*DescribeModesRequest) ProtoMessage()
func (*DescribeModesRequest) ProtoReflect ¶
func (x *DescribeModesRequest) ProtoReflect() protoreflect.Message
func (*DescribeModesRequest) Reset ¶
func (x *DescribeModesRequest) Reset()
func (*DescribeModesRequest) String ¶
func (x *DescribeModesRequest) String() string
type DescribeMotionDetectionRequest ¶
type DescribeMotionDetectionRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeMotionDetectionRequest) Descriptor
deprecated
func (*DescribeMotionDetectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeMotionDetectionRequest.ProtoReflect.Descriptor instead.
func (*DescribeMotionDetectionRequest) GetName ¶
func (x *DescribeMotionDetectionRequest) GetName() string
func (*DescribeMotionDetectionRequest) ProtoMessage ¶
func (*DescribeMotionDetectionRequest) ProtoMessage()
func (*DescribeMotionDetectionRequest) ProtoReflect ¶
func (x *DescribeMotionDetectionRequest) ProtoReflect() protoreflect.Message
func (*DescribeMotionDetectionRequest) Reset ¶
func (x *DescribeMotionDetectionRequest) Reset()
func (*DescribeMotionDetectionRequest) String ¶
func (x *DescribeMotionDetectionRequest) String() string
type DescribeOccupancyRequest ¶
type DescribeOccupancyRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeOccupancyRequest) Descriptor
deprecated
func (*DescribeOccupancyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeOccupancyRequest.ProtoReflect.Descriptor instead.
func (*DescribeOccupancyRequest) GetName ¶
func (x *DescribeOccupancyRequest) GetName() string
func (*DescribeOccupancyRequest) ProtoMessage ¶
func (*DescribeOccupancyRequest) ProtoMessage()
func (*DescribeOccupancyRequest) ProtoReflect ¶
func (x *DescribeOccupancyRequest) ProtoReflect() protoreflect.Message
func (*DescribeOccupancyRequest) Reset ¶
func (x *DescribeOccupancyRequest) Reset()
func (*DescribeOccupancyRequest) String ¶
func (x *DescribeOccupancyRequest) String() string
type DescribeOnOffRequest ¶
type DescribeOnOffRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeOnOffRequest) Descriptor
deprecated
func (*DescribeOnOffRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeOnOffRequest.ProtoReflect.Descriptor instead.
func (*DescribeOnOffRequest) GetName ¶
func (x *DescribeOnOffRequest) GetName() string
func (*DescribeOnOffRequest) ProtoMessage ¶
func (*DescribeOnOffRequest) ProtoMessage()
func (*DescribeOnOffRequest) ProtoReflect ¶
func (x *DescribeOnOffRequest) ProtoReflect() protoreflect.Message
func (*DescribeOnOffRequest) Reset ¶
func (x *DescribeOnOffRequest) Reset()
func (*DescribeOnOffRequest) String ¶
func (x *DescribeOnOffRequest) String() string
type DescribePositionsRequest ¶
type DescribePositionsRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribePositionsRequest) Descriptor
deprecated
func (*DescribePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribePositionsRequest.ProtoReflect.Descriptor instead.
func (*DescribePositionsRequest) GetName ¶
func (x *DescribePositionsRequest) GetName() string
func (*DescribePositionsRequest) ProtoMessage ¶
func (*DescribePositionsRequest) ProtoMessage()
func (*DescribePositionsRequest) ProtoReflect ¶
func (x *DescribePositionsRequest) ProtoReflect() protoreflect.Message
func (*DescribePositionsRequest) Reset ¶
func (x *DescribePositionsRequest) Reset()
func (*DescribePositionsRequest) String ¶
func (x *DescribePositionsRequest) String() string
type DescribePtzRequest ¶
type DescribePtzRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribePtzRequest) Descriptor
deprecated
func (*DescribePtzRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribePtzRequest.ProtoReflect.Descriptor instead.
func (*DescribePtzRequest) GetName ¶
func (x *DescribePtzRequest) GetName() string
func (*DescribePtzRequest) ProtoMessage ¶
func (*DescribePtzRequest) ProtoMessage()
func (*DescribePtzRequest) ProtoReflect ¶
func (x *DescribePtzRequest) ProtoReflect() protoreflect.Message
func (*DescribePtzRequest) Reset ¶
func (x *DescribePtzRequest) Reset()
func (*DescribePtzRequest) String ¶
func (x *DescribePtzRequest) String() string
type DescribeVolumeRequest ¶
type DescribeVolumeRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeVolumeRequest) Descriptor
deprecated
func (*DescribeVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeVolumeRequest.ProtoReflect.Descriptor instead.
func (*DescribeVolumeRequest) GetName ¶
func (x *DescribeVolumeRequest) GetName() string
func (*DescribeVolumeRequest) ProtoMessage ¶
func (*DescribeVolumeRequest) ProtoMessage()
func (*DescribeVolumeRequest) ProtoReflect ¶
func (x *DescribeVolumeRequest) ProtoReflect() protoreflect.Message
func (*DescribeVolumeRequest) Reset ¶
func (x *DescribeVolumeRequest) Reset()
func (*DescribeVolumeRequest) String ¶
func (x *DescribeVolumeRequest) String() string
type DescribeWasteRecordRequest ¶
type DescribeWasteRecordRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DescribeWasteRecordRequest) Descriptor
deprecated
func (*DescribeWasteRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeWasteRecordRequest.ProtoReflect.Descriptor instead.
func (*DescribeWasteRecordRequest) GetName ¶
func (x *DescribeWasteRecordRequest) GetName() string
func (*DescribeWasteRecordRequest) ProtoMessage ¶
func (*DescribeWasteRecordRequest) ProtoMessage()
func (*DescribeWasteRecordRequest) ProtoReflect ¶
func (x *DescribeWasteRecordRequest) ProtoReflect() protoreflect.Message
func (*DescribeWasteRecordRequest) Reset ¶
func (x *DescribeWasteRecordRequest) Reset()
func (*DescribeWasteRecordRequest) String ¶
func (x *DescribeWasteRecordRequest) String() string
type DispenseRequest ¶
type DispenseRequest struct { // Name of the device to invoke the action on Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the consumable to dispense the stock for. Consumable string `protobuf:"bytes,4,opt,name=consumable,proto3" json:"consumable,omitempty"` // The quantity of the consumable to dispense. Quantity *Consumable_Quantity `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` // Fields to update relative to the quantity property. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*DispenseRequest) Descriptor
deprecated
func (*DispenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DispenseRequest.ProtoReflect.Descriptor instead.
func (*DispenseRequest) GetConsumable ¶
func (x *DispenseRequest) GetConsumable() string
func (*DispenseRequest) GetName ¶
func (x *DispenseRequest) GetName() string
func (*DispenseRequest) GetQuantity ¶
func (x *DispenseRequest) GetQuantity() *Consumable_Quantity
func (*DispenseRequest) GetUpdateMask ¶
func (x *DispenseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*DispenseRequest) ProtoMessage ¶
func (*DispenseRequest) ProtoMessage()
func (*DispenseRequest) ProtoReflect ¶
func (x *DispenseRequest) ProtoReflect() protoreflect.Message
func (*DispenseRequest) Reset ¶
func (x *DispenseRequest) Reset()
func (*DispenseRequest) String ¶
func (x *DispenseRequest) String() string
type ElectricApiClient ¶
type ElectricApiClient interface { // GetDemand returns the current electricity demand for the device. GetDemand(ctx context.Context, in *GetDemandRequest, opts ...grpc.CallOption) (*ElectricDemand, error) // PullDemand returns a stream of changes to the current electricity demand for the device. PullDemand(ctx context.Context, in *PullDemandRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullDemandResponse], error) GetActiveMode(ctx context.Context, in *GetActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error) // Configure the device to use the given mode. // The id of the given mode should match a known mode for the device. UpdateActiveMode(ctx context.Context, in *UpdateActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error) // ClearActiveMode instructs the device to discard any external mode selection, typically by applying the normal // operation mode for the device. ClearActiveMode(ctx context.Context, in *ClearActiveModeRequest, opts ...grpc.CallOption) (*ElectricMode, error) PullActiveMode(ctx context.Context, in *PullActiveModeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullActiveModeResponse], error) // ListModes lists all electric modes for a device ListModes(ctx context.Context, in *ListModesRequest, opts ...grpc.CallOption) (*ListModesResponse, error) // PullModes returns a stream of changes to the list of supported modes for the device. PullModes(ctx context.Context, in *PullModesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullModesResponse], error) }
ElectricApiClient is the client API for ElectricApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that are electrically powered. Can apply to both the end device or an intermediary, for example a TV or an extension cord.
func NewElectricApiClient ¶
func NewElectricApiClient(cc grpc.ClientConnInterface) ElectricApiClient
type ElectricApiServer ¶
type ElectricApiServer interface { // GetDemand returns the current electricity demand for the device. GetDemand(context.Context, *GetDemandRequest) (*ElectricDemand, error) // PullDemand returns a stream of changes to the current electricity demand for the device. PullDemand(*PullDemandRequest, grpc.ServerStreamingServer[PullDemandResponse]) error GetActiveMode(context.Context, *GetActiveModeRequest) (*ElectricMode, error) // Configure the device to use the given mode. // The id of the given mode should match a known mode for the device. UpdateActiveMode(context.Context, *UpdateActiveModeRequest) (*ElectricMode, error) // ClearActiveMode instructs the device to discard any external mode selection, typically by applying the normal // operation mode for the device. ClearActiveMode(context.Context, *ClearActiveModeRequest) (*ElectricMode, error) PullActiveMode(*PullActiveModeRequest, grpc.ServerStreamingServer[PullActiveModeResponse]) error // ListModes lists all electric modes for a device ListModes(context.Context, *ListModesRequest) (*ListModesResponse, error) // PullModes returns a stream of changes to the list of supported modes for the device. PullModes(*PullModesRequest, grpc.ServerStreamingServer[PullModesResponse]) error // contains filtered or unexported methods }
ElectricApiServer is the server API for ElectricApi service. All implementations must embed UnimplementedElectricApiServer for forward compatibility.
Trait for devices that are electrically powered. Can apply to both the end device or an intermediary, for example a TV or an extension cord.
type ElectricApi_PullActiveModeClient ¶
type ElectricApi_PullActiveModeClient = grpc.ServerStreamingClient[PullActiveModeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricApi_PullActiveModeServer ¶
type ElectricApi_PullActiveModeServer = grpc.ServerStreamingServer[PullActiveModeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricApi_PullDemandClient ¶
type ElectricApi_PullDemandClient = grpc.ServerStreamingClient[PullDemandResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricApi_PullDemandServer ¶
type ElectricApi_PullDemandServer = grpc.ServerStreamingServer[PullDemandResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricApi_PullModesClient ¶
type ElectricApi_PullModesClient = grpc.ServerStreamingClient[PullModesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricApi_PullModesServer ¶
type ElectricApi_PullModesServer = grpc.ServerStreamingServer[PullModesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ElectricDemand ¶
type ElectricDemand struct { // A measure of how much electric current is currently being used. // In amps. Current float32 `protobuf:"fixed32,1,opt,name=current,proto3" json:"current,omitempty"` // The voltage level of the device. // In volts. Voltage *float32 `protobuf:"fixed32,2,opt,name=voltage,proto3,oneof" json:"voltage,omitempty"` // The maximum current that the device can handle under normal operation. // In amps. // Zero means absent, not 0 amps. Rating float32 `protobuf:"fixed32,3,opt,name=rating,proto3" json:"rating,omitempty"` // The power factor of the device. // Use this to convert VA (apparent power) to W (real power). PowerFactor *float32 `protobuf:"fixed32,4,opt,name=power_factor,json=powerFactor,proto3,oneof" json:"power_factor,omitempty"` // The real power of the device. // In watts. // The product of current * voltage * power_factor, though might be different depending on measured values. RealPower *float32 `protobuf:"fixed32,5,opt,name=real_power,json=realPower,proto3,oneof" json:"real_power,omitempty"` // The apparent power of the device. // In volt-amps. // The product of current * voltage, though might be different depending on measured values. ApparentPower *float32 `protobuf:"fixed32,6,opt,name=apparent_power,json=apparentPower,proto3,oneof" json:"apparent_power,omitempty"` // The reactive power of the device. // In volt-amps reactive. ReactivePower *float32 `protobuf:"fixed32,7,opt,name=reactive_power,json=reactivePower,proto3,oneof" json:"reactive_power,omitempty"` // contains filtered or unexported fields }
ElectricDemand describes how much power is being used by the device.
func (*ElectricDemand) Descriptor
deprecated
func (*ElectricDemand) Descriptor() ([]byte, []int)
Deprecated: Use ElectricDemand.ProtoReflect.Descriptor instead.
func (*ElectricDemand) GetApparentPower ¶
func (x *ElectricDemand) GetApparentPower() float32
func (*ElectricDemand) GetCurrent ¶
func (x *ElectricDemand) GetCurrent() float32
func (*ElectricDemand) GetPowerFactor ¶
func (x *ElectricDemand) GetPowerFactor() float32
func (*ElectricDemand) GetRating ¶
func (x *ElectricDemand) GetRating() float32
func (*ElectricDemand) GetReactivePower ¶
func (x *ElectricDemand) GetReactivePower() float32
func (*ElectricDemand) GetRealPower ¶
func (x *ElectricDemand) GetRealPower() float32
func (*ElectricDemand) GetVoltage ¶
func (x *ElectricDemand) GetVoltage() float32
func (*ElectricDemand) ProtoMessage ¶
func (*ElectricDemand) ProtoMessage()
func (*ElectricDemand) ProtoReflect ¶
func (x *ElectricDemand) ProtoReflect() protoreflect.Message
func (*ElectricDemand) Reset ¶
func (x *ElectricDemand) Reset()
func (*ElectricDemand) String ¶
func (x *ElectricDemand) String() string
type ElectricInfoClient ¶
type ElectricInfoClient interface { }
ElectricInfoClient is the client API for ElectricInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewElectricInfoClient ¶
func NewElectricInfoClient(cc grpc.ClientConnInterface) ElectricInfoClient
type ElectricInfoServer ¶
type ElectricInfoServer interface {
// contains filtered or unexported methods
}
ElectricInfoServer is the server API for ElectricInfo service. All implementations must embed UnimplementedElectricInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type ElectricMode ¶
type ElectricMode struct { // ID uniquely identifies this mode in a device. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // A human readable name for this mode. // Output only. // Examples might include "Eco Mode", or "Smart Standby" Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // A human readable description for this mode. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The voltage level of this mode. // In volts. // Zero means absent, not 0 volts. Voltage float32 `protobuf:"fixed32,4,opt,name=voltage,proto3" json:"voltage,omitempty"` // The time the modes information is relative to in server time. // When a client receives a mode with an absent start time it should use its own clock to create one, though this // may introduce skew depending on the difference between the server and client clocks. StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // An ordered, continuous, non-empty, list of segments representing the power draw for this mode. // The first segment is relative to start_time, the second is relevant to the end of the first and so on. Segments []*ElectricMode_Segment `protobuf:"bytes,6,rep,name=segments,proto3" json:"segments,omitempty"` // When true this indicates that this mode is the normal / default operation mode for the device. // A device should have only one default mode. Normal bool `protobuf:"varint,7,opt,name=normal,proto3" json:"normal,omitempty"` // contains filtered or unexported fields }
An ElectricMode represents one possible electrical mode of operation for the device. A device can potentially have multiple electrical modes, for example a TV might have Normal and Eco modes. The electric mode of the device gives details on how the device expects its electricity usage to be affected when in these modes.
func (*ElectricMode) Descriptor
deprecated
func (*ElectricMode) Descriptor() ([]byte, []int)
Deprecated: Use ElectricMode.ProtoReflect.Descriptor instead.
func (*ElectricMode) GetDescription ¶
func (x *ElectricMode) GetDescription() string
func (*ElectricMode) GetId ¶
func (x *ElectricMode) GetId() string
func (*ElectricMode) GetNormal ¶
func (x *ElectricMode) GetNormal() bool
func (*ElectricMode) GetSegments ¶
func (x *ElectricMode) GetSegments() []*ElectricMode_Segment
func (*ElectricMode) GetStartTime ¶
func (x *ElectricMode) GetStartTime() *timestamppb.Timestamp
func (*ElectricMode) GetTitle ¶
func (x *ElectricMode) GetTitle() string
func (*ElectricMode) GetVoltage ¶
func (x *ElectricMode) GetVoltage() float32
func (*ElectricMode) ProtoMessage ¶
func (*ElectricMode) ProtoMessage()
func (*ElectricMode) ProtoReflect ¶
func (x *ElectricMode) ProtoReflect() protoreflect.Message
func (*ElectricMode) Reset ¶
func (x *ElectricMode) Reset()
func (*ElectricMode) String ¶
func (x *ElectricMode) String() string
type ElectricMode_Segment ¶
type ElectricMode_Segment struct { // The length of this mode segment. // An absent length means this segment lasts forever. // Only the last segment of a mode can have an absent length. Length *durationpb.Duration `protobuf:"bytes,1,opt,name=length,proto3" json:"length,omitempty"` // The maximum current that will be drawn by the device in this segment. // In amps. Required. // See the shape properties to determine a more accurate shape for the electrical demand. Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` // The shape of the segment, useful as a more accurate data representation. // If none set assume fixed = magnitude. // // Types that are assignable to Shape: // // *ElectricMode_Segment_Fixed Shape isElectricMode_Segment_Shape `protobuf_oneof:"shape"` // contains filtered or unexported fields }
A Segment describes electrical properties for a slice of time.
func (*ElectricMode_Segment) Descriptor
deprecated
func (*ElectricMode_Segment) Descriptor() ([]byte, []int)
Deprecated: Use ElectricMode_Segment.ProtoReflect.Descriptor instead.
func (*ElectricMode_Segment) GetFixed ¶
func (x *ElectricMode_Segment) GetFixed() float32
func (*ElectricMode_Segment) GetLength ¶
func (x *ElectricMode_Segment) GetLength() *durationpb.Duration
func (*ElectricMode_Segment) GetMagnitude ¶
func (x *ElectricMode_Segment) GetMagnitude() float32
func (*ElectricMode_Segment) GetShape ¶
func (m *ElectricMode_Segment) GetShape() isElectricMode_Segment_Shape
func (*ElectricMode_Segment) ProtoMessage ¶
func (*ElectricMode_Segment) ProtoMessage()
func (*ElectricMode_Segment) ProtoReflect ¶
func (x *ElectricMode_Segment) ProtoReflect() protoreflect.Message
func (*ElectricMode_Segment) Reset ¶
func (x *ElectricMode_Segment) Reset()
func (*ElectricMode_Segment) String ¶
func (x *ElectricMode_Segment) String() string
type ElectricMode_Segment_Fixed ¶
type ElectricMode_Segment_Fixed struct { // Fixed represents a constant consumption for the length of this segment. // In amps. Fixed float32 `protobuf:"fixed32,3,opt,name=fixed,proto3,oneof"` }
type Emergency ¶
type Emergency struct { // The level of emergency that is active. Level Emergency_Level `protobuf:"varint,1,opt,name=level,proto3,enum=smartcore.traits.Emergency_Level" json:"level,omitempty"` // A textual description of the reason for the emergency. For example "Fire alarm triggered", "Excessive pressure" Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // The time the emergency level was changed. When writing and absent, and the level has changed, then server time will be used. LevelChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=level_change_time,json=levelChangeTime,proto3" json:"level_change_time,omitempty"` // Silent emergencies are ongoing but don't require continued or excessive user feedback. Silent bool `protobuf:"varint,4,opt,name=silent,proto3" json:"silent,omitempty"` // The emergency being fabricated, typically for testing. Drill bool `protobuf:"varint,5,opt,name=drill,proto3" json:"drill,omitempty"` // contains filtered or unexported fields }
An emergency is a life threatening event.
func (*Emergency) Descriptor
deprecated
func (*Emergency) GetLevel ¶
func (x *Emergency) GetLevel() Emergency_Level
func (*Emergency) GetLevelChangeTime ¶
func (x *Emergency) GetLevelChangeTime() *timestamppb.Timestamp
func (*Emergency) ProtoMessage ¶
func (*Emergency) ProtoMessage()
func (*Emergency) ProtoReflect ¶
func (x *Emergency) ProtoReflect() protoreflect.Message
type EmergencyApiClient ¶
type EmergencyApiClient interface { // Get the current emergency state GetEmergency(ctx context.Context, in *GetEmergencyRequest, opts ...grpc.CallOption) (*Emergency, error) // Update the current emergency state UpdateEmergency(ctx context.Context, in *UpdateEmergencyRequest, opts ...grpc.CallOption) (*Emergency, error) // Be notified of changes to the emergency state PullEmergency(ctx context.Context, in *PullEmergencyRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullEmergencyResponse], error) }
EmergencyApiClient is the client API for EmergencyApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Report and manages emergencies. Typically not associated with a single device, more suited to buildings or spaces. It's likely that some implementation will not allow write of emergency state.
func NewEmergencyApiClient ¶
func NewEmergencyApiClient(cc grpc.ClientConnInterface) EmergencyApiClient
type EmergencyApiServer ¶
type EmergencyApiServer interface { // Get the current emergency state GetEmergency(context.Context, *GetEmergencyRequest) (*Emergency, error) // Update the current emergency state UpdateEmergency(context.Context, *UpdateEmergencyRequest) (*Emergency, error) // Be notified of changes to the emergency state PullEmergency(*PullEmergencyRequest, grpc.ServerStreamingServer[PullEmergencyResponse]) error // contains filtered or unexported methods }
EmergencyApiServer is the server API for EmergencyApi service. All implementations must embed UnimplementedEmergencyApiServer for forward compatibility.
Report and manages emergencies. Typically not associated with a single device, more suited to buildings or spaces. It's likely that some implementation will not allow write of emergency state.
type EmergencyApi_PullEmergencyClient ¶
type EmergencyApi_PullEmergencyClient = grpc.ServerStreamingClient[PullEmergencyResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EmergencyApi_PullEmergencyServer ¶
type EmergencyApi_PullEmergencyServer = grpc.ServerStreamingServer[PullEmergencyResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EmergencyInfoClient ¶
type EmergencyInfoClient interface { // Get information about how a named device implements Emergency features DescribeEmergency(ctx context.Context, in *DescribeEmergencyRequest, opts ...grpc.CallOption) (*EmergencySupport, error) }
EmergencyInfoClient is the client API for EmergencyInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewEmergencyInfoClient ¶
func NewEmergencyInfoClient(cc grpc.ClientConnInterface) EmergencyInfoClient
type EmergencyInfoServer ¶
type EmergencyInfoServer interface { // Get information about how a named device implements Emergency features DescribeEmergency(context.Context, *DescribeEmergencyRequest) (*EmergencySupport, error) // contains filtered or unexported methods }
EmergencyInfoServer is the server API for EmergencyInfo service. All implementations must embed UnimplementedEmergencyInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type EmergencySupport ¶
type EmergencySupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // contains filtered or unexported fields }
EmergencySupport describes the capabilities of devices implementing this trait
func (*EmergencySupport) Descriptor
deprecated
func (*EmergencySupport) Descriptor() ([]byte, []int)
Deprecated: Use EmergencySupport.ProtoReflect.Descriptor instead.
func (*EmergencySupport) GetResourceSupport ¶
func (x *EmergencySupport) GetResourceSupport() *types.ResourceSupport
func (*EmergencySupport) ProtoMessage ¶
func (*EmergencySupport) ProtoMessage()
func (*EmergencySupport) ProtoReflect ¶
func (x *EmergencySupport) ProtoReflect() protoreflect.Message
func (*EmergencySupport) Reset ¶
func (x *EmergencySupport) Reset()
func (*EmergencySupport) String ¶
func (x *EmergencySupport) String() string
type Emergency_Level ¶
type Emergency_Level int32
Levels of emergency
const ( // The level is unknown, applications may choose to be cautious or care-free with this lack of information. Emergency_LEVEL_UNSPECIFIED Emergency_Level = 0 // There is no emergency. Emergency_OK Emergency_Level = 1 // There is a chance of an emergency soon. This might be reported by a smoke detector that has detected some particles // but not enough to trigger the alarm yet. Emergency_WARNING Emergency_Level = 2 // There is an emergency. Please protect yourself and follow emergency procedures. Emergency_EMERGENCY Emergency_Level = 3 )
func (Emergency_Level) Descriptor ¶
func (Emergency_Level) Descriptor() protoreflect.EnumDescriptor
func (Emergency_Level) Enum ¶
func (x Emergency_Level) Enum() *Emergency_Level
func (Emergency_Level) EnumDescriptor
deprecated
func (Emergency_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Emergency_Level.Descriptor instead.
func (Emergency_Level) Number ¶
func (x Emergency_Level) Number() protoreflect.EnumNumber
func (Emergency_Level) String ¶
func (x Emergency_Level) String() string
func (Emergency_Level) Type ¶
func (Emergency_Level) Type() protoreflect.EnumType
type EnergyLevel ¶
type EnergyLevel struct { // Flow describes the direction of the flow of energy from the devices point of view. // If all fields are absent then we don't know how energy is flowing. // // Types that are assignable to Flow: // // *EnergyLevel_Discharge // *EnergyLevel_Charge // *EnergyLevel_Idle Flow isEnergyLevel_Flow `protobuf_oneof:"flow"` // Quantity describes an absolute energy level using different units. Quantity *EnergyLevel_Quantity `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` // Is the device plugged in. PluggedIn bool `protobuf:"varint,6,opt,name=plugged_in,json=pluggedIn,proto3" json:"plugged_in,omitempty"` // contains filtered or unexported fields }
EnergyLevel describes properties related to the current and potential charge levels of the device.
func (*EnergyLevel) Descriptor
deprecated
func (*EnergyLevel) Descriptor() ([]byte, []int)
Deprecated: Use EnergyLevel.ProtoReflect.Descriptor instead.
func (*EnergyLevel) GetCharge ¶
func (x *EnergyLevel) GetCharge() *EnergyLevel_Transfer
func (*EnergyLevel) GetDischarge ¶
func (x *EnergyLevel) GetDischarge() *EnergyLevel_Transfer
func (*EnergyLevel) GetFlow ¶
func (m *EnergyLevel) GetFlow() isEnergyLevel_Flow
func (*EnergyLevel) GetIdle ¶
func (x *EnergyLevel) GetIdle() *EnergyLevel_Steady
func (*EnergyLevel) GetPluggedIn ¶
func (x *EnergyLevel) GetPluggedIn() bool
func (*EnergyLevel) GetQuantity ¶
func (x *EnergyLevel) GetQuantity() *EnergyLevel_Quantity
func (*EnergyLevel) ProtoMessage ¶
func (*EnergyLevel) ProtoMessage()
func (*EnergyLevel) ProtoReflect ¶
func (x *EnergyLevel) ProtoReflect() protoreflect.Message
func (*EnergyLevel) Reset ¶
func (x *EnergyLevel) Reset()
func (*EnergyLevel) String ¶
func (x *EnergyLevel) String() string
type EnergyLevelSupport ¶
type EnergyLevelSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // A true value indicates that the device can be recharged. // A rechargeable device should report charging and until_full where appropriate. Rechargeable bool `protobuf:"varint,2,opt,name=rechargeable,proto3" json:"rechargeable,omitempty"` // A description of how the charge status of the device can be changed. ChargeControl EnergyLevelSupport_ChargeControl `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
EnergyLevelSupport describes the capabilities of devices implementing this trait.
func (*EnergyLevelSupport) Descriptor
deprecated
func (*EnergyLevelSupport) Descriptor() ([]byte, []int)
Deprecated: Use EnergyLevelSupport.ProtoReflect.Descriptor instead.
func (*EnergyLevelSupport) GetChargeControl ¶
func (x *EnergyLevelSupport) GetChargeControl() EnergyLevelSupport_ChargeControl
func (*EnergyLevelSupport) GetRechargeable ¶
func (x *EnergyLevelSupport) GetRechargeable() bool
func (*EnergyLevelSupport) GetResourceSupport ¶
func (x *EnergyLevelSupport) GetResourceSupport() *types.ResourceSupport
func (*EnergyLevelSupport) ProtoMessage ¶
func (*EnergyLevelSupport) ProtoMessage()
func (*EnergyLevelSupport) ProtoReflect ¶
func (x *EnergyLevelSupport) ProtoReflect() protoreflect.Message
func (*EnergyLevelSupport) Reset ¶
func (x *EnergyLevelSupport) Reset()
func (*EnergyLevelSupport) String ¶
func (x *EnergyLevelSupport) String() string
type EnergyLevelSupport_ChargeControl ¶
type EnergyLevelSupport_ChargeControl int32
const ( EnergyLevelSupport_CHARGE_CONTROL_UNSPECIFIED EnergyLevelSupport_ChargeControl = 0 // Charge status cannot change. // Typically this is because the device is not rechargeable. EnergyLevelSupport_NONE EnergyLevelSupport_ChargeControl = 1 // The device may change the charge status, calling Charge will not affect it and will return an error. EnergyLevelSupport_DEVICE EnergyLevelSupport_ChargeControl = 2 // Calling Charge can change the charge status. The device will not change it on its own. EnergyLevelSupport_EXTERNAL EnergyLevelSupport_ChargeControl = 3 // Both the device and calling Charge can change the charge status. EnergyLevelSupport_ALL EnergyLevelSupport_ChargeControl = 4 )
func (EnergyLevelSupport_ChargeControl) Descriptor ¶
func (EnergyLevelSupport_ChargeControl) Descriptor() protoreflect.EnumDescriptor
func (EnergyLevelSupport_ChargeControl) Enum ¶
func (x EnergyLevelSupport_ChargeControl) Enum() *EnergyLevelSupport_ChargeControl
func (EnergyLevelSupport_ChargeControl) EnumDescriptor
deprecated
func (EnergyLevelSupport_ChargeControl) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnergyLevelSupport_ChargeControl.Descriptor instead.
func (EnergyLevelSupport_ChargeControl) Number ¶
func (x EnergyLevelSupport_ChargeControl) Number() protoreflect.EnumNumber
func (EnergyLevelSupport_ChargeControl) String ¶
func (x EnergyLevelSupport_ChargeControl) String() string
func (EnergyLevelSupport_ChargeControl) Type ¶
func (EnergyLevelSupport_ChargeControl) Type() protoreflect.EnumType
type EnergyLevel_Charge ¶
type EnergyLevel_Charge struct { // Charge denotes that the device is currently increasing its energy level. // An empty transfer object is valid and says: this device is charging. Charge *EnergyLevel_Transfer `protobuf:"bytes,3,opt,name=charge,proto3,oneof"` }
type EnergyLevel_Discharge ¶
type EnergyLevel_Discharge struct { // Discharge denotes that the device is currently decreasing its energy level. // An empty transfer object is valid and says: this device is discharging. Discharge *EnergyLevel_Transfer `protobuf:"bytes,2,opt,name=discharge,proto3,oneof"` }
type EnergyLevel_Idle ¶
type EnergyLevel_Idle struct { // Idle denotes that the device is neither increasing or decreasing its energy level. Idle *EnergyLevel_Steady `protobuf:"bytes,4,opt,name=idle,proto3,oneof"` }
type EnergyLevel_Quantity ¶
type EnergyLevel_Quantity struct { Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // [0, 100] EnergyKwh float32 `protobuf:"fixed32,2,opt,name=energy_kwh,json=energyKwh,proto3" json:"energy_kwh,omitempty"` // descriptive defines preset descriptive quantities for the energy level of the device. // Numeric values should be preferred if provided. Descriptive EnergyLevel_Quantity_Threshold `` /* 129-byte string literal not displayed */ // A measure of how far the device can travel with its current energy level. DistanceKm float32 `protobuf:"fixed32,4,opt,name=distance_km,json=distanceKm,proto3" json:"distance_km,omitempty"` // contains filtered or unexported fields }
Quantity describes an absolute energy level using different units.
func (*EnergyLevel_Quantity) Descriptor
deprecated
func (*EnergyLevel_Quantity) Descriptor() ([]byte, []int)
Deprecated: Use EnergyLevel_Quantity.ProtoReflect.Descriptor instead.
func (*EnergyLevel_Quantity) GetDescriptive ¶
func (x *EnergyLevel_Quantity) GetDescriptive() EnergyLevel_Quantity_Threshold
func (*EnergyLevel_Quantity) GetDistanceKm ¶
func (x *EnergyLevel_Quantity) GetDistanceKm() float32
func (*EnergyLevel_Quantity) GetEnergyKwh ¶
func (x *EnergyLevel_Quantity) GetEnergyKwh() float32
func (*EnergyLevel_Quantity) GetPercentage ¶
func (x *EnergyLevel_Quantity) GetPercentage() float32
func (*EnergyLevel_Quantity) ProtoMessage ¶
func (*EnergyLevel_Quantity) ProtoMessage()
func (*EnergyLevel_Quantity) ProtoReflect ¶
func (x *EnergyLevel_Quantity) ProtoReflect() protoreflect.Message
func (*EnergyLevel_Quantity) Reset ¶
func (x *EnergyLevel_Quantity) Reset()
func (*EnergyLevel_Quantity) String ¶
func (x *EnergyLevel_Quantity) String() string
type EnergyLevel_Quantity_Threshold ¶
type EnergyLevel_Quantity_Threshold int32
Threshold defines preset descriptive quantities for the energy level of the device. Numeric values will be preferred if provided.
const ( EnergyLevel_Quantity_THRESHOLD_UNSPECIFIED EnergyLevel_Quantity_Threshold = 0 EnergyLevel_Quantity_CRITICALLY_LOW EnergyLevel_Quantity_Threshold = 1 EnergyLevel_Quantity_EMPTY EnergyLevel_Quantity_Threshold = 2 EnergyLevel_Quantity_LOW EnergyLevel_Quantity_Threshold = 3 EnergyLevel_Quantity_MEDIUM EnergyLevel_Quantity_Threshold = 4 EnergyLevel_Quantity_HIGH EnergyLevel_Quantity_Threshold = 5 EnergyLevel_Quantity_FULL EnergyLevel_Quantity_Threshold = 7 EnergyLevel_Quantity_CRITICALLY_HIGH EnergyLevel_Quantity_Threshold = 8 )
func (EnergyLevel_Quantity_Threshold) Descriptor ¶
func (EnergyLevel_Quantity_Threshold) Descriptor() protoreflect.EnumDescriptor
func (EnergyLevel_Quantity_Threshold) Enum ¶
func (x EnergyLevel_Quantity_Threshold) Enum() *EnergyLevel_Quantity_Threshold
func (EnergyLevel_Quantity_Threshold) EnumDescriptor
deprecated
func (EnergyLevel_Quantity_Threshold) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnergyLevel_Quantity_Threshold.Descriptor instead.
func (EnergyLevel_Quantity_Threshold) Number ¶
func (x EnergyLevel_Quantity_Threshold) Number() protoreflect.EnumNumber
func (EnergyLevel_Quantity_Threshold) String ¶
func (x EnergyLevel_Quantity_Threshold) String() string
func (EnergyLevel_Quantity_Threshold) Type ¶
func (EnergyLevel_Quantity_Threshold) Type() protoreflect.EnumType
type EnergyLevel_Steady ¶
type EnergyLevel_Steady struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // contains filtered or unexported fields }
Steady describes a non-changing energy level.
func (*EnergyLevel_Steady) Descriptor
deprecated
func (*EnergyLevel_Steady) Descriptor() ([]byte, []int)
Deprecated: Use EnergyLevel_Steady.ProtoReflect.Descriptor instead.
func (*EnergyLevel_Steady) GetStartTime ¶
func (x *EnergyLevel_Steady) GetStartTime() *timestamppb.Timestamp
func (*EnergyLevel_Steady) ProtoMessage ¶
func (*EnergyLevel_Steady) ProtoMessage()
func (*EnergyLevel_Steady) ProtoReflect ¶
func (x *EnergyLevel_Steady) ProtoReflect() protoreflect.Message
func (*EnergyLevel_Steady) Reset ¶
func (x *EnergyLevel_Steady) Reset()
func (*EnergyLevel_Steady) String ¶
func (x *EnergyLevel_Steady) String() string
type EnergyLevel_Transfer ¶
type EnergyLevel_Transfer struct { // Start time describes when this transfer started StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // How long until the transfer is complete. // Measured relative to the current time according to the devices clock. Time *durationpb.Duration `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // How many more kilometers need to be travelled before the transfer is complete. // For example when discharging, this might represent kilometers until the battery is empty. DistanceKm float32 `protobuf:"fixed32,3,opt,name=distance_km,json=distanceKm,proto3" json:"distance_km,omitempty"` // Speed describes relative transfer speed for the device. Speed EnergyLevel_Transfer_Speed `protobuf:"varint,4,opt,name=speed,proto3,enum=smartcore.traits.EnergyLevel_Transfer_Speed" json:"speed,omitempty"` // The planned end values for the transfer. // There is no guarantee that the transfer will reach these values, but they are useful for informational and // planning purposes. Target *EnergyLevel_Quantity `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Transfer describes how energy is being transferred, either into or out of the device. See discharge and charge for information on the direction of the transfer.
func (*EnergyLevel_Transfer) Descriptor
deprecated
func (*EnergyLevel_Transfer) Descriptor() ([]byte, []int)
Deprecated: Use EnergyLevel_Transfer.ProtoReflect.Descriptor instead.
func (*EnergyLevel_Transfer) GetDistanceKm ¶
func (x *EnergyLevel_Transfer) GetDistanceKm() float32
func (*EnergyLevel_Transfer) GetSpeed ¶
func (x *EnergyLevel_Transfer) GetSpeed() EnergyLevel_Transfer_Speed
func (*EnergyLevel_Transfer) GetStartTime ¶
func (x *EnergyLevel_Transfer) GetStartTime() *timestamppb.Timestamp
func (*EnergyLevel_Transfer) GetTarget ¶
func (x *EnergyLevel_Transfer) GetTarget() *EnergyLevel_Quantity
func (*EnergyLevel_Transfer) GetTime ¶
func (x *EnergyLevel_Transfer) GetTime() *durationpb.Duration
func (*EnergyLevel_Transfer) ProtoMessage ¶
func (*EnergyLevel_Transfer) ProtoMessage()
func (*EnergyLevel_Transfer) ProtoReflect ¶
func (x *EnergyLevel_Transfer) ProtoReflect() protoreflect.Message
func (*EnergyLevel_Transfer) Reset ¶
func (x *EnergyLevel_Transfer) Reset()
func (*EnergyLevel_Transfer) String ¶
func (x *EnergyLevel_Transfer) String() string
type EnergyLevel_Transfer_Speed ¶
type EnergyLevel_Transfer_Speed int32
Speed defines descriptive relative energy transfer speeds for a device. Larger enum values will always be faster than smaller enum values.
Comparing two devices speeds is not defined, one device that is FAST and another that is SLOW does not guarantee that either device will transfer energy quicker than the other.
const ( EnergyLevel_Transfer_SPEED_UNSPECIFIED EnergyLevel_Transfer_Speed = 0 EnergyLevel_Transfer_EXTRA_SLOW EnergyLevel_Transfer_Speed = 1 EnergyLevel_Transfer_SLOW EnergyLevel_Transfer_Speed = 2 EnergyLevel_Transfer_NORMAL EnergyLevel_Transfer_Speed = 3 EnergyLevel_Transfer_FAST EnergyLevel_Transfer_Speed = 4 EnergyLevel_Transfer_EXTRA_FAST EnergyLevel_Transfer_Speed = 5 )
func (EnergyLevel_Transfer_Speed) Descriptor ¶
func (EnergyLevel_Transfer_Speed) Descriptor() protoreflect.EnumDescriptor
func (EnergyLevel_Transfer_Speed) Enum ¶
func (x EnergyLevel_Transfer_Speed) Enum() *EnergyLevel_Transfer_Speed
func (EnergyLevel_Transfer_Speed) EnumDescriptor
deprecated
func (EnergyLevel_Transfer_Speed) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnergyLevel_Transfer_Speed.Descriptor instead.
func (EnergyLevel_Transfer_Speed) Number ¶
func (x EnergyLevel_Transfer_Speed) Number() protoreflect.EnumNumber
func (EnergyLevel_Transfer_Speed) String ¶
func (x EnergyLevel_Transfer_Speed) String() string
func (EnergyLevel_Transfer_Speed) Type ¶
func (EnergyLevel_Transfer_Speed) Type() protoreflect.EnumType
type EnergyStorageApiClient ¶
type EnergyStorageApiClient interface { // GetEnergyLevel retrieves the current charge level and potential charge level for the device. GetEnergyLevel(ctx context.Context, in *GetEnergyLevelRequest, opts ...grpc.CallOption) (*EnergyLevel, error) // PullEnergyLevel subscribes to changes in energy level. PullEnergyLevel(ctx context.Context, in *PullEnergyLevelRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullEnergyLevelResponse], error) // Charge starts or stops the device charging. // If the device is not plugged in then this will return a FAILED_PRECONDITION error. // Devices may start or stop charging on their own. Charge(ctx context.Context, in *ChargeRequest, opts ...grpc.CallOption) (*ChargeResponse, error) }
EnergyStorageApiClient is the client API for EnergyStorageApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that can store energy or charge another device. Typically applied devices with batteries or chargers of those devices.
func NewEnergyStorageApiClient ¶
func NewEnergyStorageApiClient(cc grpc.ClientConnInterface) EnergyStorageApiClient
type EnergyStorageApiServer ¶
type EnergyStorageApiServer interface { // GetEnergyLevel retrieves the current charge level and potential charge level for the device. GetEnergyLevel(context.Context, *GetEnergyLevelRequest) (*EnergyLevel, error) // PullEnergyLevel subscribes to changes in energy level. PullEnergyLevel(*PullEnergyLevelRequest, grpc.ServerStreamingServer[PullEnergyLevelResponse]) error // Charge starts or stops the device charging. // If the device is not plugged in then this will return a FAILED_PRECONDITION error. // Devices may start or stop charging on their own. Charge(context.Context, *ChargeRequest) (*ChargeResponse, error) // contains filtered or unexported methods }
EnergyStorageApiServer is the server API for EnergyStorageApi service. All implementations must embed UnimplementedEnergyStorageApiServer for forward compatibility.
Trait for devices that can store energy or charge another device. Typically applied devices with batteries or chargers of those devices.
type EnergyStorageApi_PullEnergyLevelClient ¶
type EnergyStorageApi_PullEnergyLevelClient = grpc.ServerStreamingClient[PullEnergyLevelResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EnergyStorageApi_PullEnergyLevelServer ¶
type EnergyStorageApi_PullEnergyLevelServer = grpc.ServerStreamingServer[PullEnergyLevelResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EnergyStorageInfoClient ¶
type EnergyStorageInfoClient interface { // Get information about how a named device implements EnergyLevel features DescribeEnergyLevel(ctx context.Context, in *DescribeEnergyLevelRequest, opts ...grpc.CallOption) (*EnergyLevelSupport, error) }
EnergyStorageInfoClient is the client API for EnergyStorageInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewEnergyStorageInfoClient ¶
func NewEnergyStorageInfoClient(cc grpc.ClientConnInterface) EnergyStorageInfoClient
type EnergyStorageInfoServer ¶
type EnergyStorageInfoServer interface { // Get information about how a named device implements EnergyLevel features DescribeEnergyLevel(context.Context, *DescribeEnergyLevelRequest) (*EnergyLevelSupport, error) // contains filtered or unexported methods }
EnergyStorageInfoServer is the server API for EnergyStorageInfo service. All implementations must embed UnimplementedEnergyStorageInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type EnterLeaveEvent ¶
type EnterLeaveEvent struct { // Direction describes in which direction movement was detected. Direction EnterLeaveEvent_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=smartcore.traits.EnterLeaveEvent_Direction" json:"direction,omitempty"` // Occupant describes the entity either entering or leaving. // Optional. Occupant *EnterLeaveEvent_Occupant `protobuf:"bytes,2,opt,name=occupant,proto3" json:"occupant,omitempty"` // Enter total, if present, indicates how many ENTER events have been recognised by the device. EnterTotal *int32 `protobuf:"varint,3,opt,name=enter_total,json=enterTotal,proto3,oneof" json:"enter_total,omitempty"` // Leave total, if present, indicates how many LEAVE events have been recognised by the device. LeaveTotal *int32 `protobuf:"varint,4,opt,name=leave_total,json=leaveTotal,proto3,oneof" json:"leave_total,omitempty"` // contains filtered or unexported fields }
EnterLeaveEvent describes an enter or leave event, and optionally the entity that entered or left.
func (*EnterLeaveEvent) Descriptor
deprecated
func (*EnterLeaveEvent) Descriptor() ([]byte, []int)
Deprecated: Use EnterLeaveEvent.ProtoReflect.Descriptor instead.
func (*EnterLeaveEvent) GetDirection ¶
func (x *EnterLeaveEvent) GetDirection() EnterLeaveEvent_Direction
func (*EnterLeaveEvent) GetEnterTotal ¶
func (x *EnterLeaveEvent) GetEnterTotal() int32
func (*EnterLeaveEvent) GetLeaveTotal ¶
func (x *EnterLeaveEvent) GetLeaveTotal() int32
func (*EnterLeaveEvent) GetOccupant ¶
func (x *EnterLeaveEvent) GetOccupant() *EnterLeaveEvent_Occupant
func (*EnterLeaveEvent) ProtoMessage ¶
func (*EnterLeaveEvent) ProtoMessage()
func (*EnterLeaveEvent) ProtoReflect ¶
func (x *EnterLeaveEvent) ProtoReflect() protoreflect.Message
func (*EnterLeaveEvent) Reset ¶
func (x *EnterLeaveEvent) Reset()
func (*EnterLeaveEvent) String ¶
func (x *EnterLeaveEvent) String() string
type EnterLeaveEvent_Direction ¶
type EnterLeaveEvent_Direction int32
Possible directions.
const ( EnterLeaveEvent_DIRECTION_UNSPECIFIED EnterLeaveEvent_Direction = 0 // Something entered. EnterLeaveEvent_ENTER EnterLeaveEvent_Direction = 1 // Something left. EnterLeaveEvent_LEAVE EnterLeaveEvent_Direction = 2 )
func (EnterLeaveEvent_Direction) Descriptor ¶
func (EnterLeaveEvent_Direction) Descriptor() protoreflect.EnumDescriptor
func (EnterLeaveEvent_Direction) Enum ¶
func (x EnterLeaveEvent_Direction) Enum() *EnterLeaveEvent_Direction
func (EnterLeaveEvent_Direction) EnumDescriptor
deprecated
func (EnterLeaveEvent_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnterLeaveEvent_Direction.Descriptor instead.
func (EnterLeaveEvent_Direction) Number ¶
func (x EnterLeaveEvent_Direction) Number() protoreflect.EnumNumber
func (EnterLeaveEvent_Direction) String ¶
func (x EnterLeaveEvent_Direction) String() string
func (EnterLeaveEvent_Direction) Type ¶
func (EnterLeaveEvent_Direction) Type() protoreflect.EnumType
type EnterLeaveEvent_Occupant ¶
type EnterLeaveEvent_Occupant struct { // A unique name for this occupant as measured by the device. // Name allows correlation between enter and leave events. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An official title for this occupant. Title string `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"` // A recognisable display name for this occupant. DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A picture of the occupant. Picture *types.Image `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"` // A url that resolves to more information on this occupant. Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"` // An email address for the occupant. Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"` // IDs holds external occupant ids. // For example this might hold an id representing a person in an access control system. // The map key should uniquely represent the domain for the id, for example "my-access-system/user-id", the use of uris is not // required, values should be the id of this consumable in that domain, for example "sma81r6t1c5o3r58e1-3r8u16l1es". Ids map[string]string `` /* 149-byte string literal not displayed */ // Additional properties associated with the occupant. // Typically displayed to a user to help them to distinguish between similar occupants. More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
An Occupant is some entity that triggers the enter or leave event. It could be an object, like a car, or a person or animal.
func (*EnterLeaveEvent_Occupant) Descriptor
deprecated
func (*EnterLeaveEvent_Occupant) Descriptor() ([]byte, []int)
Deprecated: Use EnterLeaveEvent_Occupant.ProtoReflect.Descriptor instead.
func (*EnterLeaveEvent_Occupant) GetDisplayName ¶
func (x *EnterLeaveEvent_Occupant) GetDisplayName() string
func (*EnterLeaveEvent_Occupant) GetEmail ¶
func (x *EnterLeaveEvent_Occupant) GetEmail() string
func (*EnterLeaveEvent_Occupant) GetIds ¶
func (x *EnterLeaveEvent_Occupant) GetIds() map[string]string
func (*EnterLeaveEvent_Occupant) GetMore ¶
func (x *EnterLeaveEvent_Occupant) GetMore() map[string]string
func (*EnterLeaveEvent_Occupant) GetName ¶
func (x *EnterLeaveEvent_Occupant) GetName() string
func (*EnterLeaveEvent_Occupant) GetPicture ¶
func (x *EnterLeaveEvent_Occupant) GetPicture() *types.Image
func (*EnterLeaveEvent_Occupant) GetTitle ¶
func (x *EnterLeaveEvent_Occupant) GetTitle() string
func (*EnterLeaveEvent_Occupant) GetUrl ¶
func (x *EnterLeaveEvent_Occupant) GetUrl() string
func (*EnterLeaveEvent_Occupant) ProtoMessage ¶
func (*EnterLeaveEvent_Occupant) ProtoMessage()
func (*EnterLeaveEvent_Occupant) ProtoReflect ¶
func (x *EnterLeaveEvent_Occupant) ProtoReflect() protoreflect.Message
func (*EnterLeaveEvent_Occupant) Reset ¶
func (x *EnterLeaveEvent_Occupant) Reset()
func (*EnterLeaveEvent_Occupant) String ¶
func (x *EnterLeaveEvent_Occupant) String() string
type EnterLeaveSensorApiClient ¶
type EnterLeaveSensorApiClient interface { // Subscribe to new enter or leave events. PullEnterLeaveEvents(ctx context.Context, in *PullEnterLeaveEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullEnterLeaveEventsResponse], error) // Get information about the enter leave state. // The response will not contain a direction or occupant, but may include totals. GetEnterLeaveEvent(ctx context.Context, in *GetEnterLeaveEventRequest, opts ...grpc.CallOption) (*EnterLeaveEvent, error) // Reset the enter and leave totals. ResetEnterLeaveTotals(ctx context.Context, in *ResetEnterLeaveTotalsRequest, opts ...grpc.CallOption) (*ResetEnterLeaveTotalsResponse, error) }
EnterLeaveSensorApiClient is the client API for EnterLeaveSensorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
EnterLeaveSensor applies to devices that can track objects entering or leaving. It could apply to footfall counters, turn styles, or car park entry barriers.
func NewEnterLeaveSensorApiClient ¶
func NewEnterLeaveSensorApiClient(cc grpc.ClientConnInterface) EnterLeaveSensorApiClient
type EnterLeaveSensorApiServer ¶
type EnterLeaveSensorApiServer interface { // Subscribe to new enter or leave events. PullEnterLeaveEvents(*PullEnterLeaveEventsRequest, grpc.ServerStreamingServer[PullEnterLeaveEventsResponse]) error // Get information about the enter leave state. // The response will not contain a direction or occupant, but may include totals. GetEnterLeaveEvent(context.Context, *GetEnterLeaveEventRequest) (*EnterLeaveEvent, error) // Reset the enter and leave totals. ResetEnterLeaveTotals(context.Context, *ResetEnterLeaveTotalsRequest) (*ResetEnterLeaveTotalsResponse, error) // contains filtered or unexported methods }
EnterLeaveSensorApiServer is the server API for EnterLeaveSensorApi service. All implementations must embed UnimplementedEnterLeaveSensorApiServer for forward compatibility.
EnterLeaveSensor applies to devices that can track objects entering or leaving. It could apply to footfall counters, turn styles, or car park entry barriers.
type EnterLeaveSensorApi_PullEnterLeaveEventsClient ¶
type EnterLeaveSensorApi_PullEnterLeaveEventsClient = grpc.ServerStreamingClient[PullEnterLeaveEventsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EnterLeaveSensorApi_PullEnterLeaveEventsServer ¶
type EnterLeaveSensorApi_PullEnterLeaveEventsServer = grpc.ServerStreamingServer[PullEnterLeaveEventsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EnterLeaveSensorInfoClient ¶
type EnterLeaveSensorInfoClient interface { }
EnterLeaveSensorInfoClient is the client API for EnterLeaveSensorInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEnterLeaveSensorInfoClient ¶
func NewEnterLeaveSensorInfoClient(cc grpc.ClientConnInterface) EnterLeaveSensorInfoClient
type EnterLeaveSensorInfoServer ¶
type EnterLeaveSensorInfoServer interface {
// contains filtered or unexported methods
}
EnterLeaveSensorInfoServer is the server API for EnterLeaveSensorInfo service. All implementations must embed UnimplementedEnterLeaveSensorInfoServer for forward compatibility.
type ExtendRetractApiClient ¶
type ExtendRetractApiClient interface { // Set the target state for the device GetExtension(ctx context.Context, in *GetExtensionRequest, opts ...grpc.CallOption) (*Extension, error) // Set the target state for the device UpdateExtension(ctx context.Context, in *UpdateExtensionRequest, opts ...grpc.CallOption) (*Extension, error) // Stop the device if it is extending or retracting, returns the current known state after stopping. Stop(ctx context.Context, in *ExtendRetractStopRequest, opts ...grpc.CallOption) (*Extension, error) // Create a preset for the extension. If no preset extension value is specified then use the current position CreateExtensionPreset(ctx context.Context, in *CreateExtensionPresetRequest, opts ...grpc.CallOption) (*ExtensionPreset, error) // Get notified of changes to the OnOffState of a device PullExtensions(ctx context.Context, in *PullExtensionsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullExtensionsResponse], error) }
ExtendRetractApiClient is the client API for ExtendRetractApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Applicable to devices that can be extended or retracted. Like a tv mount or adjustable desk
func NewExtendRetractApiClient ¶
func NewExtendRetractApiClient(cc grpc.ClientConnInterface) ExtendRetractApiClient
type ExtendRetractApiServer ¶
type ExtendRetractApiServer interface { // Set the target state for the device GetExtension(context.Context, *GetExtensionRequest) (*Extension, error) // Set the target state for the device UpdateExtension(context.Context, *UpdateExtensionRequest) (*Extension, error) // Stop the device if it is extending or retracting, returns the current known state after stopping. Stop(context.Context, *ExtendRetractStopRequest) (*Extension, error) // Create a preset for the extension. If no preset extension value is specified then use the current position CreateExtensionPreset(context.Context, *CreateExtensionPresetRequest) (*ExtensionPreset, error) // Get notified of changes to the OnOffState of a device PullExtensions(*PullExtensionsRequest, grpc.ServerStreamingServer[PullExtensionsResponse]) error // contains filtered or unexported methods }
ExtendRetractApiServer is the server API for ExtendRetractApi service. All implementations must embed UnimplementedExtendRetractApiServer for forward compatibility.
Applicable to devices that can be extended or retracted. Like a tv mount or adjustable desk
type ExtendRetractApi_PullExtensionsClient ¶
type ExtendRetractApi_PullExtensionsClient = grpc.ServerStreamingClient[PullExtensionsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ExtendRetractApi_PullExtensionsServer ¶
type ExtendRetractApi_PullExtensionsServer = grpc.ServerStreamingServer[PullExtensionsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ExtendRetractInfoClient ¶
type ExtendRetractInfoClient interface { // Get information about how a named device implements Extension features DescribeExtension(ctx context.Context, in *DescribeExtensionRequest, opts ...grpc.CallOption) (*ExtensionSupport, error) }
ExtendRetractInfoClient is the client API for ExtendRetractInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewExtendRetractInfoClient ¶
func NewExtendRetractInfoClient(cc grpc.ClientConnInterface) ExtendRetractInfoClient
type ExtendRetractInfoServer ¶
type ExtendRetractInfoServer interface { // Get information about how a named device implements Extension features DescribeExtension(context.Context, *DescribeExtensionRequest) (*ExtensionSupport, error) // contains filtered or unexported methods }
ExtendRetractInfoServer is the server API for ExtendRetractInfo service. All implementations must embed UnimplementedExtendRetractInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type ExtendRetractStopRequest ¶
type ExtendRetractStopRequest struct { // the name of the device to stop Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the stop api
func (*ExtendRetractStopRequest) Descriptor
deprecated
func (*ExtendRetractStopRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExtendRetractStopRequest.ProtoReflect.Descriptor instead.
func (*ExtendRetractStopRequest) GetName ¶
func (x *ExtendRetractStopRequest) GetName() string
func (*ExtendRetractStopRequest) ProtoMessage ¶
func (*ExtendRetractStopRequest) ProtoMessage()
func (*ExtendRetractStopRequest) ProtoReflect ¶
func (x *ExtendRetractStopRequest) ProtoReflect() protoreflect.Message
func (*ExtendRetractStopRequest) Reset ¶
func (x *ExtendRetractStopRequest) Reset()
func (*ExtendRetractStopRequest) String ¶
func (x *ExtendRetractStopRequest) String() string
type Extension ¶
type Extension struct { // 0 to 100, representing the extension percentage of the device ExtendPercent float32 `protobuf:"fixed32,1,opt,name=extend_percent,json=extendPercent,proto3" json:"extend_percent,omitempty"` // A named preset for recall to extend the device to a specific point ExtendPreset string `protobuf:"bytes,2,opt,name=extend_preset,json=extendPreset,proto3" json:"extend_preset,omitempty"` // How the extension changes or should change over time. On write only duration should be set. ExtendTween *types.Tween `protobuf:"bytes,3,opt,name=extend_tween,json=extendTween,proto3" json:"extend_tween,omitempty"` // if tweening between values, this is our end goal TargetExtendPercent float32 `protobuf:"fixed32,4,opt,name=target_extend_percent,json=targetExtendPercent,proto3" json:"target_extend_percent,omitempty"` // if tweening between values, this is our end goal TargetExtendPreset string `protobuf:"bytes,5,opt,name=target_extend_preset,json=targetExtendPreset,proto3" json:"target_extend_preset,omitempty"` // contains filtered or unexported fields }
How extended the device is.
func (*Extension) Descriptor
deprecated
func (*Extension) GetExtendPercent ¶
func (*Extension) GetExtendPreset ¶
func (*Extension) GetExtendTween ¶
func (*Extension) GetTargetExtendPercent ¶
func (*Extension) GetTargetExtendPreset ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
type ExtensionPreset ¶
type ExtensionPreset struct { // Required. The name of the preset, to be used for recall. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional 0 to 100, extension percentage that the preset would extend the device by. ExtendPercent *float32 `protobuf:"fixed32,2,opt,name=extend_percent,json=extendPercent,proto3,oneof" json:"extend_percent,omitempty"` // Can this preset be stored via the api Writable bool `protobuf:"varint,3,opt,name=writable,proto3" json:"writable,omitempty"` // contains filtered or unexported fields }
Describes a preset that may be configured on the device
func (*ExtensionPreset) Descriptor
deprecated
func (*ExtensionPreset) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionPreset.ProtoReflect.Descriptor instead.
func (*ExtensionPreset) GetExtendPercent ¶
func (x *ExtensionPreset) GetExtendPercent() float32
func (*ExtensionPreset) GetName ¶
func (x *ExtensionPreset) GetName() string
func (*ExtensionPreset) GetWritable ¶
func (x *ExtensionPreset) GetWritable() bool
func (*ExtensionPreset) ProtoMessage ¶
func (*ExtensionPreset) ProtoMessage()
func (*ExtensionPreset) ProtoReflect ¶
func (x *ExtensionPreset) ProtoReflect() protoreflect.Message
func (*ExtensionPreset) Reset ¶
func (x *ExtensionPreset) Reset()
func (*ExtensionPreset) String ¶
func (x *ExtensionPreset) String() string
type ExtensionSupport ¶
type ExtensionSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // List of presets that this device supports. If empty then the device does not support presets Presets []*ExtensionPreset `protobuf:"bytes,2,rep,name=presets,proto3" json:"presets,omitempty"` // 0 to 100, how precise is the control of the extension. A value of 0 (or 100) means only 0 or 100 extend_percent // are valid. Step float32 `protobuf:"fixed32,3,opt,name=step,proto3" json:"step,omitempty"` // Does the device support tweening between the current value and a target value TweenSupport types.TweenSupport `` /* 132-byte string literal not displayed */ // If true, custom preset names can be used to store extension values. If false only writable presets can be updated. SupportsCustomPresets bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
ExtensionSupport describes the capabilities of devices implementing this trait
func (*ExtensionSupport) Descriptor
deprecated
func (*ExtensionSupport) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionSupport.ProtoReflect.Descriptor instead.
func (*ExtensionSupport) GetPresets ¶
func (x *ExtensionSupport) GetPresets() []*ExtensionPreset
func (*ExtensionSupport) GetResourceSupport ¶
func (x *ExtensionSupport) GetResourceSupport() *types.ResourceSupport
func (*ExtensionSupport) GetStep ¶
func (x *ExtensionSupport) GetStep() float32
func (*ExtensionSupport) GetSupportsCustomPresets ¶
func (x *ExtensionSupport) GetSupportsCustomPresets() bool
func (*ExtensionSupport) GetTweenSupport ¶
func (x *ExtensionSupport) GetTweenSupport() types.TweenSupport
func (*ExtensionSupport) ProtoMessage ¶
func (*ExtensionSupport) ProtoMessage()
func (*ExtensionSupport) ProtoReflect ¶
func (x *ExtensionSupport) ProtoReflect() protoreflect.Message
func (*ExtensionSupport) Reset ¶
func (x *ExtensionSupport) Reset()
func (*ExtensionSupport) String ¶
func (x *ExtensionSupport) String() string
type FanSpeed ¶
type FanSpeed struct { // Percentage describes the fan speed relative to it's minimum and maximum fan speed. // In the range [0,100]. Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // Preset describes the fan speed in terms of qualitative values, low, high, etc. // Available values are reported via FanSpeedSupport.presets. Preset string `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"` // Preset index is the index in FanSpeedSupport.presets of the currently selected preset. // This field is primarily used for relative speed adjustment, a value of 1 when the update is relative, adds 1 // to the active preset, increasing the fan speed by one adjustment. Negative values would decrease the fan speed // by an equivalent number of steps. PresetIndex int32 `protobuf:"varint,3,opt,name=preset_index,json=presetIndex,proto3" json:"preset_index,omitempty"` // Direction describes the direction of the fan rotation. // This is typically described relative to the function of the fan. // For example a table top fan might describe FORWARD as blowing air out the front of the fan. Direction FanSpeed_Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=smartcore.traits.FanSpeed_Direction" json:"direction,omitempty"` // contains filtered or unexported fields }
FanSpeed describes how fast a fan is spinning.
func (*FanSpeed) Descriptor
deprecated
func (*FanSpeed) GetDirection ¶
func (x *FanSpeed) GetDirection() FanSpeed_Direction
func (*FanSpeed) GetPercentage ¶
func (*FanSpeed) GetPresetIndex ¶
func (*FanSpeed) ProtoMessage ¶
func (*FanSpeed) ProtoMessage()
func (*FanSpeed) ProtoReflect ¶
func (x *FanSpeed) ProtoReflect() protoreflect.Message
type FanSpeedApiClient ¶
type FanSpeedApiClient interface { // GetFanSpeed returns the fan speed for the device. GetFanSpeed(ctx context.Context, in *GetFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeed, error) // UpdateFanSpeed updates the fan speed for the device. UpdateFanSpeed(ctx context.Context, in *UpdateFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeed, error) // PullFanSpeed returns a stream of changes to the current fan speed for the device. PullFanSpeed(ctx context.Context, in *PullFanSpeedRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullFanSpeedResponse], error) // ReverseFanSpeedDirection reverses the fan speed direction. // If the fan is spinning FORWARD it will be changed to BACKWARD, etc. ReverseFanSpeedDirection(ctx context.Context, in *ReverseFanSpeedDirectionRequest, opts ...grpc.CallOption) (*FanSpeed, error) }
FanSpeedApiClient is the client API for FanSpeedApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that can control the speed of a fan.
func NewFanSpeedApiClient ¶
func NewFanSpeedApiClient(cc grpc.ClientConnInterface) FanSpeedApiClient
type FanSpeedApiServer ¶
type FanSpeedApiServer interface { // GetFanSpeed returns the fan speed for the device. GetFanSpeed(context.Context, *GetFanSpeedRequest) (*FanSpeed, error) // UpdateFanSpeed updates the fan speed for the device. UpdateFanSpeed(context.Context, *UpdateFanSpeedRequest) (*FanSpeed, error) // PullFanSpeed returns a stream of changes to the current fan speed for the device. PullFanSpeed(*PullFanSpeedRequest, grpc.ServerStreamingServer[PullFanSpeedResponse]) error // ReverseFanSpeedDirection reverses the fan speed direction. // If the fan is spinning FORWARD it will be changed to BACKWARD, etc. ReverseFanSpeedDirection(context.Context, *ReverseFanSpeedDirectionRequest) (*FanSpeed, error) // contains filtered or unexported methods }
FanSpeedApiServer is the server API for FanSpeedApi service. All implementations must embed UnimplementedFanSpeedApiServer for forward compatibility.
Trait for devices that can control the speed of a fan.
type FanSpeedApi_PullFanSpeedClient ¶
type FanSpeedApi_PullFanSpeedClient = grpc.ServerStreamingClient[PullFanSpeedResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type FanSpeedApi_PullFanSpeedServer ¶
type FanSpeedApi_PullFanSpeedServer = grpc.ServerStreamingServer[PullFanSpeedResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type FanSpeedInfoClient ¶
type FanSpeedInfoClient interface { // Get information about how a named device implements FanSpeed features DescribeFanSpeed(ctx context.Context, in *DescribeFanSpeedRequest, opts ...grpc.CallOption) (*FanSpeedSupport, error) }
FanSpeedInfoClient is the client API for FanSpeedInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewFanSpeedInfoClient ¶
func NewFanSpeedInfoClient(cc grpc.ClientConnInterface) FanSpeedInfoClient
type FanSpeedInfoServer ¶
type FanSpeedInfoServer interface { // Get information about how a named device implements FanSpeed features DescribeFanSpeed(context.Context, *DescribeFanSpeedRequest) (*FanSpeedSupport, error) // contains filtered or unexported methods }
FanSpeedInfoServer is the server API for FanSpeedInfo service. All implementations must embed UnimplementedFanSpeedInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type FanSpeedSupport ¶
type FanSpeedSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Presets is the list of supported fan speed presets, in ascending fan speed order - i.e. index 0 is the slowest. Presets []string `protobuf:"bytes,2,rep,name=presets,proto3" json:"presets,omitempty"` // contains filtered or unexported fields }
func (*FanSpeedSupport) Descriptor
deprecated
func (*FanSpeedSupport) Descriptor() ([]byte, []int)
Deprecated: Use FanSpeedSupport.ProtoReflect.Descriptor instead.
func (*FanSpeedSupport) GetPresets ¶
func (x *FanSpeedSupport) GetPresets() []string
func (*FanSpeedSupport) GetResourceSupport ¶
func (x *FanSpeedSupport) GetResourceSupport() *types.ResourceSupport
func (*FanSpeedSupport) ProtoMessage ¶
func (*FanSpeedSupport) ProtoMessage()
func (*FanSpeedSupport) ProtoReflect ¶
func (x *FanSpeedSupport) ProtoReflect() protoreflect.Message
func (*FanSpeedSupport) Reset ¶
func (x *FanSpeedSupport) Reset()
func (*FanSpeedSupport) String ¶
func (x *FanSpeedSupport) String() string
type FanSpeed_Direction ¶
type FanSpeed_Direction int32
const ( FanSpeed_DIRECTION_UNSPECIFIED FanSpeed_Direction = 0 FanSpeed_FORWARD FanSpeed_Direction = 1 FanSpeed_BACKWARD FanSpeed_Direction = 2 )
func (FanSpeed_Direction) Descriptor ¶
func (FanSpeed_Direction) Descriptor() protoreflect.EnumDescriptor
func (FanSpeed_Direction) Enum ¶
func (x FanSpeed_Direction) Enum() *FanSpeed_Direction
func (FanSpeed_Direction) EnumDescriptor
deprecated
func (FanSpeed_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use FanSpeed_Direction.Descriptor instead.
func (FanSpeed_Direction) Number ¶
func (x FanSpeed_Direction) Number() protoreflect.EnumNumber
func (FanSpeed_Direction) String ¶
func (x FanSpeed_Direction) String() string
func (FanSpeed_Direction) Type ¶
func (FanSpeed_Direction) Type() protoreflect.EnumType
type GainSupport ¶
type GainSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Attributes associated with the gain property of the microphone. Note that a step value that is the same as the bounds // implies that the microphone only supports mute GainAttributes *types.FloatAttributes `protobuf:"bytes,2,opt,name=gain_attributes,json=gainAttributes,proto3" json:"gain_attributes,omitempty"` // How is mute implemented by the device. Can help to customise behaviour of interfaces to the device, e.g. by // disallowing gain change when muted MuteSupport types.MuteSupport `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
GainSupport describes the capabilities of devices implementing this trait.
func (*GainSupport) Descriptor
deprecated
func (*GainSupport) Descriptor() ([]byte, []int)
Deprecated: Use GainSupport.ProtoReflect.Descriptor instead.
func (*GainSupport) GetGainAttributes ¶
func (x *GainSupport) GetGainAttributes() *types.FloatAttributes
func (*GainSupport) GetMuteSupport ¶
func (x *GainSupport) GetMuteSupport() types.MuteSupport
func (*GainSupport) GetResourceSupport ¶
func (x *GainSupport) GetResourceSupport() *types.ResourceSupport
func (*GainSupport) ProtoMessage ¶
func (*GainSupport) ProtoMessage()
func (*GainSupport) ProtoReflect ¶
func (x *GainSupport) ProtoReflect() protoreflect.Message
func (*GainSupport) Reset ¶
func (x *GainSupport) Reset()
func (*GainSupport) String ¶
func (x *GainSupport) String() string
type GetActiveModeRequest ¶
type GetActiveModeRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetActiveModeRequest) Descriptor
deprecated
func (*GetActiveModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveModeRequest.ProtoReflect.Descriptor instead.
func (*GetActiveModeRequest) GetName ¶
func (x *GetActiveModeRequest) GetName() string
func (*GetActiveModeRequest) GetReadMask ¶
func (x *GetActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetActiveModeRequest) ProtoMessage ¶
func (*GetActiveModeRequest) ProtoMessage()
func (*GetActiveModeRequest) ProtoReflect ¶
func (x *GetActiveModeRequest) ProtoReflect() protoreflect.Message
func (*GetActiveModeRequest) Reset ¶
func (x *GetActiveModeRequest) Reset()
func (*GetActiveModeRequest) String ¶
func (x *GetActiveModeRequest) String() string
type GetAirQualityRequest ¶
type GetAirQualityRequest struct { // The name of the device to request state from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetAirQualityRequest) Descriptor
deprecated
func (*GetAirQualityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAirQualityRequest.ProtoReflect.Descriptor instead.
func (*GetAirQualityRequest) GetName ¶
func (x *GetAirQualityRequest) GetName() string
func (*GetAirQualityRequest) GetReadMask ¶
func (x *GetAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetAirQualityRequest) ProtoMessage ¶
func (*GetAirQualityRequest) ProtoMessage()
func (*GetAirQualityRequest) ProtoReflect ¶
func (x *GetAirQualityRequest) ProtoReflect() protoreflect.Message
func (*GetAirQualityRequest) Reset ¶
func (x *GetAirQualityRequest) Reset()
func (*GetAirQualityRequest) String ¶
func (x *GetAirQualityRequest) String() string
type GetAirTemperatureRequest ¶
type GetAirTemperatureRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
Request message for fetching device state
func (*GetAirTemperatureRequest) Descriptor
deprecated
func (*GetAirTemperatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAirTemperatureRequest.ProtoReflect.Descriptor instead.
func (*GetAirTemperatureRequest) GetName ¶
func (x *GetAirTemperatureRequest) GetName() string
func (*GetAirTemperatureRequest) GetReadMask ¶
func (x *GetAirTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetAirTemperatureRequest) ProtoMessage ¶
func (*GetAirTemperatureRequest) ProtoMessage()
func (*GetAirTemperatureRequest) ProtoReflect ¶
func (x *GetAirTemperatureRequest) ProtoReflect() protoreflect.Message
func (*GetAirTemperatureRequest) Reset ¶
func (x *GetAirTemperatureRequest) Reset()
func (*GetAirTemperatureRequest) String ¶
func (x *GetAirTemperatureRequest) String() string
type GetAmbientBrightnessRequest ¶
type GetAmbientBrightnessRequest struct { // The name for the device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetAmbientBrightnessRequest) Descriptor
deprecated
func (*GetAmbientBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAmbientBrightnessRequest.ProtoReflect.Descriptor instead.
func (*GetAmbientBrightnessRequest) GetName ¶
func (x *GetAmbientBrightnessRequest) GetName() string
func (*GetAmbientBrightnessRequest) GetReadMask ¶
func (x *GetAmbientBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetAmbientBrightnessRequest) ProtoMessage ¶
func (*GetAmbientBrightnessRequest) ProtoMessage()
func (*GetAmbientBrightnessRequest) ProtoReflect ¶
func (x *GetAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
func (*GetAmbientBrightnessRequest) Reset ¶
func (x *GetAmbientBrightnessRequest) Reset()
func (*GetAmbientBrightnessRequest) String ¶
func (x *GetAmbientBrightnessRequest) String() string
type GetBrightnessRequest ¶
type GetBrightnessRequest struct { // The name of the device to get the value for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
A request to get the current value of a brightness
func (*GetBrightnessRequest) Descriptor
deprecated
func (*GetBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBrightnessRequest.ProtoReflect.Descriptor instead.
func (*GetBrightnessRequest) GetName ¶
func (x *GetBrightnessRequest) GetName() string
func (*GetBrightnessRequest) GetReadMask ¶
func (x *GetBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetBrightnessRequest) ProtoMessage ¶
func (*GetBrightnessRequest) ProtoMessage()
func (*GetBrightnessRequest) ProtoReflect ¶
func (x *GetBrightnessRequest) ProtoReflect() protoreflect.Message
func (*GetBrightnessRequest) Reset ¶
func (x *GetBrightnessRequest) Reset()
func (*GetBrightnessRequest) String ¶
func (x *GetBrightnessRequest) String() string
type GetChosenChannelRequest ¶
type GetChosenChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetChosenChannelRequest) Descriptor
deprecated
func (*GetChosenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChosenChannelRequest.ProtoReflect.Descriptor instead.
func (*GetChosenChannelRequest) GetName ¶
func (x *GetChosenChannelRequest) GetName() string
func (*GetChosenChannelRequest) GetReadMask ¶
func (x *GetChosenChannelRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetChosenChannelRequest) ProtoMessage ¶
func (*GetChosenChannelRequest) ProtoMessage()
func (*GetChosenChannelRequest) ProtoReflect ¶
func (x *GetChosenChannelRequest) ProtoReflect() protoreflect.Message
func (*GetChosenChannelRequest) Reset ¶
func (x *GetChosenChannelRequest) Reset()
func (*GetChosenChannelRequest) String ¶
func (x *GetChosenChannelRequest) String() string
type 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 GetCountRequest ¶
type GetCountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetCountRequest) Descriptor
deprecated
func (*GetCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCountRequest.ProtoReflect.Descriptor instead.
func (*GetCountRequest) GetName ¶
func (x *GetCountRequest) GetName() string
func (*GetCountRequest) GetReadMask ¶
func (x *GetCountRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetCountRequest) ProtoMessage ¶
func (*GetCountRequest) ProtoMessage()
func (*GetCountRequest) ProtoReflect ¶
func (x *GetCountRequest) ProtoReflect() protoreflect.Message
func (*GetCountRequest) Reset ¶
func (x *GetCountRequest) Reset()
func (*GetCountRequest) String ¶
func (x *GetCountRequest) String() string
type GetDemandRequest ¶
type GetDemandRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricDemand type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetDemandRequest) Descriptor
deprecated
func (*GetDemandRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDemandRequest.ProtoReflect.Descriptor instead.
func (*GetDemandRequest) GetName ¶
func (x *GetDemandRequest) GetName() string
func (*GetDemandRequest) GetReadMask ¶
func (x *GetDemandRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetDemandRequest) ProtoMessage ¶
func (*GetDemandRequest) ProtoMessage()
func (*GetDemandRequest) ProtoReflect ¶
func (x *GetDemandRequest) ProtoReflect() protoreflect.Message
func (*GetDemandRequest) Reset ¶
func (x *GetDemandRequest) Reset()
func (*GetDemandRequest) String ¶
func (x *GetDemandRequest) String() string
type GetEmergencyRequest ¶
type GetEmergencyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetEmergencyRequest) Descriptor
deprecated
func (*GetEmergencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEmergencyRequest.ProtoReflect.Descriptor instead.
func (*GetEmergencyRequest) GetName ¶
func (x *GetEmergencyRequest) GetName() string
func (*GetEmergencyRequest) GetReadMask ¶
func (x *GetEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetEmergencyRequest) ProtoMessage ¶
func (*GetEmergencyRequest) ProtoMessage()
func (*GetEmergencyRequest) ProtoReflect ¶
func (x *GetEmergencyRequest) ProtoReflect() protoreflect.Message
func (*GetEmergencyRequest) Reset ¶
func (x *GetEmergencyRequest) Reset()
func (*GetEmergencyRequest) String ¶
func (x *GetEmergencyRequest) String() string
type GetEnergyLevelRequest ¶
type GetEnergyLevelRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the EnergyLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetEnergyLevelRequest) Descriptor
deprecated
func (*GetEnergyLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnergyLevelRequest.ProtoReflect.Descriptor instead.
func (*GetEnergyLevelRequest) GetName ¶
func (x *GetEnergyLevelRequest) GetName() string
func (*GetEnergyLevelRequest) GetReadMask ¶
func (x *GetEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetEnergyLevelRequest) ProtoMessage ¶
func (*GetEnergyLevelRequest) ProtoMessage()
func (*GetEnergyLevelRequest) ProtoReflect ¶
func (x *GetEnergyLevelRequest) ProtoReflect() protoreflect.Message
func (*GetEnergyLevelRequest) Reset ¶
func (x *GetEnergyLevelRequest) Reset()
func (*GetEnergyLevelRequest) String ¶
func (x *GetEnergyLevelRequest) String() string
type GetEnterLeaveEventRequest ¶
type GetEnterLeaveEventRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the EnterLeaveEvent type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetEnterLeaveEventRequest) Descriptor
deprecated
func (*GetEnterLeaveEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnterLeaveEventRequest.ProtoReflect.Descriptor instead.
func (*GetEnterLeaveEventRequest) GetName ¶
func (x *GetEnterLeaveEventRequest) GetName() string
func (*GetEnterLeaveEventRequest) GetReadMask ¶
func (x *GetEnterLeaveEventRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetEnterLeaveEventRequest) ProtoMessage ¶
func (*GetEnterLeaveEventRequest) ProtoMessage()
func (*GetEnterLeaveEventRequest) ProtoReflect ¶
func (x *GetEnterLeaveEventRequest) ProtoReflect() protoreflect.Message
func (*GetEnterLeaveEventRequest) Reset ¶
func (x *GetEnterLeaveEventRequest) Reset()
func (*GetEnterLeaveEventRequest) String ¶
func (x *GetEnterLeaveEventRequest) String() string
type GetExtensionRequest ¶
type GetExtensionRequest struct { // the name of the device to fetch the information for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
request to fetch the current extension for the device
func (*GetExtensionRequest) Descriptor
deprecated
func (*GetExtensionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExtensionRequest.ProtoReflect.Descriptor instead.
func (*GetExtensionRequest) GetName ¶
func (x *GetExtensionRequest) GetName() string
func (*GetExtensionRequest) GetReadMask ¶
func (x *GetExtensionRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetExtensionRequest) ProtoMessage ¶
func (*GetExtensionRequest) ProtoMessage()
func (*GetExtensionRequest) ProtoReflect ¶
func (x *GetExtensionRequest) ProtoReflect() protoreflect.Message
func (*GetExtensionRequest) Reset ¶
func (x *GetExtensionRequest) Reset()
func (*GetExtensionRequest) String ¶
func (x *GetExtensionRequest) String() string
type GetFanSpeedRequest ¶
type GetFanSpeedRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the FanSpeed type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetFanSpeedRequest) Descriptor
deprecated
func (*GetFanSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFanSpeedRequest.ProtoReflect.Descriptor instead.
func (*GetFanSpeedRequest) GetName ¶
func (x *GetFanSpeedRequest) GetName() string
func (*GetFanSpeedRequest) GetReadMask ¶
func (x *GetFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetFanSpeedRequest) ProtoMessage ¶
func (*GetFanSpeedRequest) ProtoMessage()
func (*GetFanSpeedRequest) ProtoReflect ¶
func (x *GetFanSpeedRequest) ProtoReflect() protoreflect.Message
func (*GetFanSpeedRequest) Reset ¶
func (x *GetFanSpeedRequest) Reset()
func (*GetFanSpeedRequest) String ¶
func (x *GetFanSpeedRequest) String() string
type GetHailRequest ¶
type GetHailRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id of the hail Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetHailRequest) Descriptor
deprecated
func (*GetHailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHailRequest.ProtoReflect.Descriptor instead.
func (*GetHailRequest) GetId ¶
func (x *GetHailRequest) GetId() string
func (*GetHailRequest) GetName ¶
func (x *GetHailRequest) GetName() string
func (*GetHailRequest) GetReadMask ¶
func (x *GetHailRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetHailRequest) ProtoMessage ¶
func (*GetHailRequest) ProtoMessage()
func (*GetHailRequest) ProtoReflect ¶
func (x *GetHailRequest) ProtoReflect() protoreflect.Message
func (*GetHailRequest) Reset ¶
func (x *GetHailRequest) Reset()
func (*GetHailRequest) String ¶
func (x *GetHailRequest) String() string
type GetInputRequest ¶
type GetInputRequest struct { // The name of the device to get the value for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required if the device has multiple outputs. The name of the output to get the input for. Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
A request to get the currently selected input
func (*GetInputRequest) Descriptor
deprecated
func (*GetInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInputRequest.ProtoReflect.Descriptor instead.
func (*GetInputRequest) GetName ¶
func (x *GetInputRequest) GetName() string
func (*GetInputRequest) GetOutput ¶
func (x *GetInputRequest) GetOutput() string
func (*GetInputRequest) GetReadMask ¶
func (x *GetInputRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetInputRequest) ProtoMessage ¶
func (*GetInputRequest) ProtoMessage()
func (*GetInputRequest) ProtoReflect ¶
func (x *GetInputRequest) ProtoReflect() protoreflect.Message
func (*GetInputRequest) Reset ¶
func (x *GetInputRequest) Reset()
func (*GetInputRequest) String ¶
func (x *GetInputRequest) String() string
type 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 GetLockUnlockRequest ¶
type GetLockUnlockRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the LockUnlock type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetLockUnlockRequest) Descriptor
deprecated
func (*GetLockUnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLockUnlockRequest.ProtoReflect.Descriptor instead.
func (*GetLockUnlockRequest) GetName ¶
func (x *GetLockUnlockRequest) GetName() string
func (*GetLockUnlockRequest) GetReadMask ¶
func (x *GetLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetLockUnlockRequest) ProtoMessage ¶
func (*GetLockUnlockRequest) ProtoMessage()
func (*GetLockUnlockRequest) ProtoReflect ¶
func (x *GetLockUnlockRequest) ProtoReflect() protoreflect.Message
func (*GetLockUnlockRequest) Reset ¶
func (x *GetLockUnlockRequest) Reset()
func (*GetLockUnlockRequest) String ¶
func (x *GetLockUnlockRequest) String() string
type GetMetadataRequest ¶
type GetMetadataRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Metadata type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetName ¶
func (x *GetMetadataRequest) GetName() string
func (*GetMetadataRequest) GetReadMask ¶
func (x *GetMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
type 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 GetMicrophoneGainRequest ¶
type GetMicrophoneGainRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // fields to fetch relative the the AudioLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetMicrophoneGainRequest) Descriptor
deprecated
func (*GetMicrophoneGainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMicrophoneGainRequest.ProtoReflect.Descriptor instead.
func (*GetMicrophoneGainRequest) GetName ¶
func (x *GetMicrophoneGainRequest) GetName() string
func (*GetMicrophoneGainRequest) GetReadMask ¶
func (x *GetMicrophoneGainRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetMicrophoneGainRequest) ProtoMessage ¶
func (*GetMicrophoneGainRequest) ProtoMessage()
func (*GetMicrophoneGainRequest) ProtoReflect ¶
func (x *GetMicrophoneGainRequest) ProtoReflect() protoreflect.Message
func (*GetMicrophoneGainRequest) Reset ¶
func (x *GetMicrophoneGainRequest) Reset()
func (*GetMicrophoneGainRequest) String ¶
func (x *GetMicrophoneGainRequest) String() string
type GetModeValuesRequest ¶
type GetModeValuesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ModeValues type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetModeValuesRequest) Descriptor
deprecated
func (*GetModeValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModeValuesRequest.ProtoReflect.Descriptor instead.
func (*GetModeValuesRequest) GetName ¶
func (x *GetModeValuesRequest) GetName() string
func (*GetModeValuesRequest) GetReadMask ¶
func (x *GetModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetModeValuesRequest) ProtoMessage ¶
func (*GetModeValuesRequest) ProtoMessage()
func (*GetModeValuesRequest) ProtoReflect ¶
func (x *GetModeValuesRequest) ProtoReflect() protoreflect.Message
func (*GetModeValuesRequest) Reset ¶
func (x *GetModeValuesRequest) Reset()
func (*GetModeValuesRequest) String ¶
func (x *GetModeValuesRequest) String() string
type GetMotionDetectionRequest ¶
type GetMotionDetectionRequest struct { // the name for the device to get the detection state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
request to fetch the current state of the device
func (*GetMotionDetectionRequest) Descriptor
deprecated
func (*GetMotionDetectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMotionDetectionRequest.ProtoReflect.Descriptor instead.
func (*GetMotionDetectionRequest) GetName ¶
func (x *GetMotionDetectionRequest) GetName() string
func (*GetMotionDetectionRequest) GetReadMask ¶
func (x *GetMotionDetectionRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetMotionDetectionRequest) ProtoMessage ¶
func (*GetMotionDetectionRequest) ProtoMessage()
func (*GetMotionDetectionRequest) ProtoReflect ¶
func (x *GetMotionDetectionRequest) ProtoReflect() protoreflect.Message
func (*GetMotionDetectionRequest) Reset ¶
func (x *GetMotionDetectionRequest) Reset()
func (*GetMotionDetectionRequest) String ¶
func (x *GetMotionDetectionRequest) String() string
type GetOccupancyRequest ¶
type GetOccupancyRequest struct { // the name for the device to get the occupancy state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
request to fetch the current state of the device
func (*GetOccupancyRequest) Descriptor
deprecated
func (*GetOccupancyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOccupancyRequest.ProtoReflect.Descriptor instead.
func (*GetOccupancyRequest) GetName ¶
func (x *GetOccupancyRequest) GetName() string
func (*GetOccupancyRequest) GetReadMask ¶
func (x *GetOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetOccupancyRequest) ProtoMessage ¶
func (*GetOccupancyRequest) ProtoMessage()
func (*GetOccupancyRequest) ProtoReflect ¶
func (x *GetOccupancyRequest) ProtoReflect() protoreflect.Message
func (*GetOccupancyRequest) Reset ¶
func (x *GetOccupancyRequest) Reset()
func (*GetOccupancyRequest) String ¶
func (x *GetOccupancyRequest) String() string
type GetOnOffRequest ¶
type GetOnOffRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetOnOffRequest) Descriptor
deprecated
func (*GetOnOffRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOnOffRequest.ProtoReflect.Descriptor instead.
func (*GetOnOffRequest) GetName ¶
func (x *GetOnOffRequest) GetName() string
func (*GetOnOffRequest) GetReadMask ¶
func (x *GetOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetOnOffRequest) ProtoMessage ¶
func (*GetOnOffRequest) ProtoMessage()
func (*GetOnOffRequest) ProtoReflect ¶
func (x *GetOnOffRequest) ProtoReflect() protoreflect.Message
func (*GetOnOffRequest) Reset ¶
func (x *GetOnOffRequest) Reset()
func (*GetOnOffRequest) String ¶
func (x *GetOnOffRequest) String() string
type GetOpenClosePositionsRequest ¶
type GetOpenClosePositionsRequest struct { // Name of the device to get the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetOpenClosePositionsRequest) Descriptor
deprecated
func (*GetOpenClosePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenClosePositionsRequest.ProtoReflect.Descriptor instead.
func (*GetOpenClosePositionsRequest) GetName ¶
func (x *GetOpenClosePositionsRequest) GetName() string
func (*GetOpenClosePositionsRequest) GetReadMask ¶
func (x *GetOpenClosePositionsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetOpenClosePositionsRequest) ProtoMessage ¶
func (*GetOpenClosePositionsRequest) ProtoMessage()
func (*GetOpenClosePositionsRequest) ProtoReflect ¶
func (x *GetOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
func (*GetOpenClosePositionsRequest) Reset ¶
func (x *GetOpenClosePositionsRequest) Reset()
func (*GetOpenClosePositionsRequest) String ¶
func (x *GetOpenClosePositionsRequest) String() string
type GetPressedStateRequest ¶
type GetPressedStateRequest 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 (*GetPressedStateRequest) Descriptor
deprecated
func (*GetPressedStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPressedStateRequest.ProtoReflect.Descriptor instead.
func (*GetPressedStateRequest) GetName ¶
func (x *GetPressedStateRequest) GetName() string
func (*GetPressedStateRequest) GetReadMask ¶
func (x *GetPressedStateRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetPressedStateRequest) ProtoMessage ¶
func (*GetPressedStateRequest) ProtoMessage()
func (*GetPressedStateRequest) ProtoReflect ¶
func (x *GetPressedStateRequest) ProtoReflect() protoreflect.Message
func (*GetPressedStateRequest) Reset ¶
func (x *GetPressedStateRequest) Reset()
func (*GetPressedStateRequest) String ¶
func (x *GetPressedStateRequest) String() string
type GetPtzRequest ¶
type GetPtzRequest struct { // The name of the device to request state from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // which fields do we want to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetPtzRequest) Descriptor
deprecated
func (*GetPtzRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPtzRequest.ProtoReflect.Descriptor instead.
func (*GetPtzRequest) GetName ¶
func (x *GetPtzRequest) GetName() string
func (*GetPtzRequest) GetReadMask ¶
func (x *GetPtzRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetPtzRequest) ProtoMessage ¶
func (*GetPtzRequest) ProtoMessage()
func (*GetPtzRequest) ProtoReflect ¶
func (x *GetPtzRequest) ProtoReflect() protoreflect.Message
func (*GetPtzRequest) Reset ¶
func (x *GetPtzRequest) Reset()
func (*GetPtzRequest) String ¶
func (x *GetPtzRequest) String() string
type GetPublicationRequest ¶
type GetPublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id of the publication to retrieve Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Fields to fetch relative to the Publication type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The version to retrieve. // Optional, if absent the latest version will be retrieved. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetPublicationRequest) Descriptor
deprecated
func (*GetPublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicationRequest.ProtoReflect.Descriptor instead.
func (*GetPublicationRequest) GetId ¶
func (x *GetPublicationRequest) GetId() string
func (*GetPublicationRequest) GetName ¶
func (x *GetPublicationRequest) GetName() string
func (*GetPublicationRequest) GetReadMask ¶
func (x *GetPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetPublicationRequest) GetVersion ¶
func (x *GetPublicationRequest) GetVersion() string
func (*GetPublicationRequest) ProtoMessage ¶
func (*GetPublicationRequest) ProtoMessage()
func (*GetPublicationRequest) ProtoReflect ¶
func (x *GetPublicationRequest) ProtoReflect() protoreflect.Message
func (*GetPublicationRequest) Reset ¶
func (x *GetPublicationRequest) Reset()
func (*GetPublicationRequest) String ¶
func (x *GetPublicationRequest) String() string
type GetSpeakerVolumeRequest ¶
type GetSpeakerVolumeRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // fields to fetch relative the the AudioLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetSpeakerVolumeRequest) Descriptor
deprecated
func (*GetSpeakerVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpeakerVolumeRequest.ProtoReflect.Descriptor instead.
func (*GetSpeakerVolumeRequest) GetName ¶
func (x *GetSpeakerVolumeRequest) GetName() string
func (*GetSpeakerVolumeRequest) GetReadMask ¶
func (x *GetSpeakerVolumeRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetSpeakerVolumeRequest) ProtoMessage ¶
func (*GetSpeakerVolumeRequest) ProtoMessage()
func (*GetSpeakerVolumeRequest) ProtoReflect ¶
func (x *GetSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
func (*GetSpeakerVolumeRequest) Reset ¶
func (x *GetSpeakerVolumeRequest) Reset()
func (*GetSpeakerVolumeRequest) String ¶
func (x *GetSpeakerVolumeRequest) String() string
type GetStockRequest ¶
type GetStockRequest struct { // Name of the device to update the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the consumable to get the stock for. Consumable string `protobuf:"bytes,3,opt,name=consumable,proto3" json:"consumable,omitempty"` // Fields to read relative to the Consumable.Stock type. ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetStockRequest) Descriptor
deprecated
func (*GetStockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStockRequest.ProtoReflect.Descriptor instead.
func (*GetStockRequest) GetConsumable ¶
func (x *GetStockRequest) GetConsumable() string
func (*GetStockRequest) GetName ¶
func (x *GetStockRequest) GetName() string
func (*GetStockRequest) GetReadMask ¶
func (x *GetStockRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*GetStockRequest) ProtoMessage ¶
func (*GetStockRequest) ProtoMessage()
func (*GetStockRequest) ProtoReflect ¶
func (x *GetStockRequest) ProtoReflect() protoreflect.Message
func (*GetStockRequest) Reset ¶
func (x *GetStockRequest) Reset()
func (*GetStockRequest) String ¶
func (x *GetStockRequest) String() string
type 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 Hail ¶
type Hail struct { // A tracking id for this hail. // This id may be used to subscribe or update the hail after creation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The location for the start of the transportation. // Optional. // Supplied by the caller on write to indicate where the transport should "pick them up from", if absent on write the // device typically has a defined location - i.e. a call button for a lift inherently has a floor associated. // // During create the device is free to return a different origin location but that location _should_ be a more // specific variation to the supplied origin. // For example you may create a hail with origin "Ground Floor" and the device returns a new, more specific origin // of "Ground Floor, Lobby B, Door 3". // // The origin should not change after the initial creation of the hail unless unavoidable. A changing origin can // confuse callers who are not watching for hail changes. Origin *Hail_Location `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // The intended destination of the caller. // Optional. // Supplied by the caller on write, this indicates where the caller wishes to go. // The device may return a more specific location as a response to creating a hail. Destination *Hail_Location `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // State reports which phase of the journey the transport is in. // Output only. // // Timestamps tracking the different states may report either the time the hail transitioned into that state or // predict when the hail is expected to transition into that state. Compare state with the supplied times to // know if it is a prediction or not. For example if state is CALLED and board_time is present, it represents a // predicted boarding time; if state is DEPARTED, then board_time is the time the transport entered into the BOARDING // state. State Hail_State `protobuf:"varint,4,opt,name=state,proto3,enum=smartcore.traits.Hail_State" json:"state,omitempty"` // The time the vehicle accepted the hail. CallTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=call_time,json=callTime,proto3" json:"call_time,omitempty"` // The time the transport either began boarding or is expected to be boarding. BoardTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=board_time,json=boardTime,proto3" json:"board_time,omitempty"` // The time the transport either departed or is expected to be departing. DepartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=depart_time,json=departTime,proto3" json:"depart_time,omitempty"` // The time the transport either arrived or is expected to arrive. ArriveTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=arrive_time,json=arriveTime,proto3" json:"arrive_time,omitempty"` // contains filtered or unexported fields }
A hail is a request from a caller to bring transport to the callers location. Like hailing a taxi.
func (*Hail) Descriptor
deprecated
func (*Hail) GetArriveTime ¶
func (x *Hail) GetArriveTime() *timestamppb.Timestamp
func (*Hail) GetBoardTime ¶
func (x *Hail) GetBoardTime() *timestamppb.Timestamp
func (*Hail) GetCallTime ¶
func (x *Hail) GetCallTime() *timestamppb.Timestamp
func (*Hail) GetDepartTime ¶
func (x *Hail) GetDepartTime() *timestamppb.Timestamp
func (*Hail) GetDestination ¶
func (x *Hail) GetDestination() *Hail_Location
func (*Hail) GetOrigin ¶
func (x *Hail) GetOrigin() *Hail_Location
func (*Hail) GetState ¶
func (x *Hail) GetState() Hail_State
func (*Hail) ProtoMessage ¶
func (*Hail) ProtoMessage()
func (*Hail) ProtoReflect ¶
func (x *Hail) ProtoReflect() protoreflect.Message
type HailApiClient ¶
type HailApiClient interface { // Create a new hail against the device. // Creating a hail instructs the device that a passenger would like to be transported from one location to another. // The response from this request may include additional location information than that supplied. // See Hail.origin for more details. // // If Hail.id is specified and is used by an existing hail the device will return an error. // If Hail.id is specified the device may return an error indicating that client supplied ids are not supported. CreateHail(ctx context.Context, in *CreateHailRequest, opts ...grpc.CallOption) (*Hail, error) // Retrieve details on a specific hail by id as returned by CreateHail. GetHail(ctx context.Context, in *GetHailRequest, opts ...grpc.CallOption) (*Hail, error) // Update a hail by id. // Hail.id must be present. UpdateHail(ctx context.Context, in *UpdateHailRequest, opts ...grpc.CallOption) (*Hail, error) // Delete a hail by id. DeleteHail(ctx context.Context, in *DeleteHailRequest, opts ...grpc.CallOption) (*DeleteHailResponse, error) // Subscribe to changes in a specific hail. PullHail(ctx context.Context, in *PullHailRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullHailResponse], error) // List known hails. ListHails(ctx context.Context, in *ListHailsRequest, opts ...grpc.CallOption) (*ListHailsResponse, error) // Subscribe to changes in the known hails. PullHails(ctx context.Context, in *PullHailsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullHailsResponse], error) }
HailApiClient is the client API for HailApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
HailApi describes devices that may be asked to transport passengers from one location to another. To interact with these devices you create a hail, a description of the origin and destination for your journey. The device keeps you updated on the preparation or progress of your journey by updating the fields in Hail.
HailApi applies to devices like lifts or taxis, where the transportation is initiated by the caller. It does not apply to scheduled/regular transportation - like busses or escalators - where the presence of the passenger is not required.
func NewHailApiClient ¶
func NewHailApiClient(cc grpc.ClientConnInterface) HailApiClient
type HailApiServer ¶
type HailApiServer interface { // Create a new hail against the device. // Creating a hail instructs the device that a passenger would like to be transported from one location to another. // The response from this request may include additional location information than that supplied. // See Hail.origin for more details. // // If Hail.id is specified and is used by an existing hail the device will return an error. // If Hail.id is specified the device may return an error indicating that client supplied ids are not supported. CreateHail(context.Context, *CreateHailRequest) (*Hail, error) // Retrieve details on a specific hail by id as returned by CreateHail. GetHail(context.Context, *GetHailRequest) (*Hail, error) // Update a hail by id. // Hail.id must be present. UpdateHail(context.Context, *UpdateHailRequest) (*Hail, error) // Delete a hail by id. DeleteHail(context.Context, *DeleteHailRequest) (*DeleteHailResponse, error) // Subscribe to changes in a specific hail. PullHail(*PullHailRequest, grpc.ServerStreamingServer[PullHailResponse]) error // List known hails. ListHails(context.Context, *ListHailsRequest) (*ListHailsResponse, error) // Subscribe to changes in the known hails. PullHails(*PullHailsRequest, grpc.ServerStreamingServer[PullHailsResponse]) error // contains filtered or unexported methods }
HailApiServer is the server API for HailApi service. All implementations must embed UnimplementedHailApiServer for forward compatibility.
HailApi describes devices that may be asked to transport passengers from one location to another. To interact with these devices you create a hail, a description of the origin and destination for your journey. The device keeps you updated on the preparation or progress of your journey by updating the fields in Hail.
HailApi applies to devices like lifts or taxis, where the transportation is initiated by the caller. It does not apply to scheduled/regular transportation - like busses or escalators - where the presence of the passenger is not required.
type HailApi_PullHailClient ¶
type HailApi_PullHailClient = grpc.ServerStreamingClient[PullHailResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HailApi_PullHailServer ¶
type HailApi_PullHailServer = grpc.ServerStreamingServer[PullHailResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HailApi_PullHailsClient ¶
type HailApi_PullHailsClient = grpc.ServerStreamingClient[PullHailsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HailApi_PullHailsServer ¶
type HailApi_PullHailsServer = grpc.ServerStreamingServer[PullHailsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type HailInfoClient ¶
type HailInfoClient interface { }
HailInfoClient is the client API for HailInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHailInfoClient ¶
func NewHailInfoClient(cc grpc.ClientConnInterface) HailInfoClient
type HailInfoServer ¶
type HailInfoServer interface {
// contains filtered or unexported methods
}
HailInfoServer is the server API for HailInfo service. All implementations must embed UnimplementedHailInfoServer for forward compatibility.
type Hail_Location ¶
type Hail_Location struct { // An unambiguous name for this location. // Optional on write, if other location fields are used to identify the location. // Required on output. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An unambiguous display name for the location. // Will be presented to the client and should be recognised by people consuming this information. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
A logical location, typically in terms the hail creator will understand. Locations do not need to accurately or uniquely represent a physical space, instead they should unambiguously describe that location within the context of the device. For example "Floor 3" vs "lat:112.33,long:0.222,el:43.2", "Teal Room" vs "Teal Room, Floor 1, HQ, Birmingham, UK"
func (*Hail_Location) Descriptor
deprecated
func (*Hail_Location) Descriptor() ([]byte, []int)
Deprecated: Use Hail_Location.ProtoReflect.Descriptor instead.
func (*Hail_Location) GetDisplayName ¶
func (x *Hail_Location) GetDisplayName() string
func (*Hail_Location) GetName ¶
func (x *Hail_Location) GetName() string
func (*Hail_Location) ProtoMessage ¶
func (*Hail_Location) ProtoMessage()
func (*Hail_Location) ProtoReflect ¶
func (x *Hail_Location) ProtoReflect() protoreflect.Message
func (*Hail_Location) Reset ¶
func (x *Hail_Location) Reset()
func (*Hail_Location) String ¶
func (x *Hail_Location) String() string
type Hail_State ¶
type Hail_State int32
const ( // The state has not been supplied. Hail_STATE_UNSPECIFIED Hail_State = 0 // The hail has been accepted and the transport is on its way to the origin. // Typically transitions into the BOARDING state. Hail_CALLED Hail_State = 1 // The transport has arrived at the origin and is accepting passengers. // Typically transitions into the DEPARTED state. Hail_BOARDING Hail_State = 2 // The transport is moving to the destination. // Typically transitions into the ARRIVED state. Hail_DEPARTED Hail_State = 3 // The transport is at the destination. // This concludes this hail. // The device may remove this hail once it has arrived. // It is recommended that the device keep arrived hails for a short period of time (minutes) to aid clients who are // checking or polling hail states to check for arrival. // It is good practice, but not required, for a client to delete a hail once the information is no longer needed. Hail_ARRIVED Hail_State = 4 )
func (Hail_State) Descriptor ¶
func (Hail_State) Descriptor() protoreflect.EnumDescriptor
func (Hail_State) Enum ¶
func (x Hail_State) Enum() *Hail_State
func (Hail_State) EnumDescriptor
deprecated
func (Hail_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hail_State.Descriptor instead.
func (Hail_State) Number ¶
func (x Hail_State) Number() protoreflect.EnumNumber
func (Hail_State) String ¶
func (x Hail_State) String() string
func (Hail_State) Type ¶
func (Hail_State) Type() protoreflect.EnumType
type Input ¶
type Input struct { // The current choice for the video input. Will be absent if there is no video input chosen. VideoInput string `protobuf:"bytes,1,opt,name=video_input,json=videoInput,proto3" json:"video_input,omitempty"` // The current choice for the audio input. Absent means no audio input is chosen unless independent_av is false which // implies the audio_input is the same as the video_input AudioInput string `protobuf:"bytes,2,opt,name=audio_input,json=audioInput,proto3" json:"audio_input,omitempty"` // If true then audio and video changes will not affect the other. False implies that changes to audio or video will // change the input selection for the other to keep them consistent IndependentAv bool `protobuf:"varint,3,opt,name=independent_av,json=independentAv,proto3" json:"independent_av,omitempty"` // Which output the input is sent to. Optional when the device only has one output, required otherwise Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
The currently selected input
func (*Input) Descriptor
deprecated
func (*Input) GetAudioInput ¶
func (*Input) GetIndependentAv ¶
func (*Input) GetVideoInput ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
type InputSelectApiClient ¶
type InputSelectApiClient interface { // request that the input be selected UpdateInput(ctx context.Context, in *UpdateInputRequest, opts ...grpc.CallOption) (*Input, error) // get the current value of the selected input GetInput(ctx context.Context, in *GetInputRequest, opts ...grpc.CallOption) (*Input, error) // request updates to changes in the selected input PullInput(ctx context.Context, in *PullInputRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullInputResponse], error) }
InputSelectApiClient is the client API for InputSelectApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A trait to control the input for a device. Typically related to AV devices like displays or presentation switchers. A more complicated device might have multiple outputs, this trait also supports this.
func NewInputSelectApiClient ¶
func NewInputSelectApiClient(cc grpc.ClientConnInterface) InputSelectApiClient
type InputSelectApiServer ¶
type InputSelectApiServer interface { // request that the input be selected UpdateInput(context.Context, *UpdateInputRequest) (*Input, error) // get the current value of the selected input GetInput(context.Context, *GetInputRequest) (*Input, error) // request updates to changes in the selected input PullInput(*PullInputRequest, grpc.ServerStreamingServer[PullInputResponse]) error // contains filtered or unexported methods }
InputSelectApiServer is the server API for InputSelectApi service. All implementations must embed UnimplementedInputSelectApiServer for forward compatibility.
A trait to control the input for a device. Typically related to AV devices like displays or presentation switchers. A more complicated device might have multiple outputs, this trait also supports this.
type InputSelectApi_PullInputClient ¶
type InputSelectApi_PullInputClient = grpc.ServerStreamingClient[PullInputResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type InputSelectApi_PullInputServer ¶
type InputSelectApi_PullInputServer = grpc.ServerStreamingServer[PullInputResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type InputSelectInfoClient ¶
type InputSelectInfoClient interface { // Get information about how a named device implements Input features DescribeInput(ctx context.Context, in *DescribeInputRequest, opts ...grpc.CallOption) (*InputSupport, error) }
InputSelectInfoClient is the client API for InputSelectInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewInputSelectInfoClient ¶
func NewInputSelectInfoClient(cc grpc.ClientConnInterface) InputSelectInfoClient
type InputSelectInfoServer ¶
type InputSelectInfoServer interface { // Get information about how a named device implements Input features DescribeInput(context.Context, *DescribeInputRequest) (*InputSupport, error) // contains filtered or unexported methods }
InputSelectInfoServer is the server API for InputSelectInfo service. All implementations must embed UnimplementedInputSelectInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type InputSupport ¶
type InputSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // the list of inputs that can be selected on this device Inputs []*AvPort `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` // indicate the possible mode of input selection that are supported by this device. This is not the current mode, just // the supported mode the device allows SupportedFeature InputSupport_Feature `` /* 153-byte string literal not displayed */ // The list of outputs that can have inputs on this device Outputs []*AvPort `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
InputSupport describes the capabilities of devices implementing this trait
func (*InputSupport) Descriptor
deprecated
func (*InputSupport) Descriptor() ([]byte, []int)
Deprecated: Use InputSupport.ProtoReflect.Descriptor instead.
func (*InputSupport) GetInputs ¶
func (x *InputSupport) GetInputs() []*AvPort
func (*InputSupport) GetOutputs ¶
func (x *InputSupport) GetOutputs() []*AvPort
func (*InputSupport) GetResourceSupport ¶
func (x *InputSupport) GetResourceSupport() *types.ResourceSupport
func (*InputSupport) GetSupportedFeature ¶
func (x *InputSupport) GetSupportedFeature() InputSupport_Feature
func (*InputSupport) ProtoMessage ¶
func (*InputSupport) ProtoMessage()
func (*InputSupport) ProtoReflect ¶
func (x *InputSupport) ProtoReflect() protoreflect.Message
func (*InputSupport) Reset ¶
func (x *InputSupport) Reset()
func (*InputSupport) String ¶
func (x *InputSupport) String() string
type InputSupport_Feature ¶
type InputSupport_Feature int32
possible modes an input select device can
const ( // The feature is not specified InputSupport_FEATURE_UNSPECIFIED InputSupport_Feature = 0 // both audio and video are treated as one. independent_av should be considered false in this mode InputSupport_AV InputSupport_Feature = 1 // Only audio inputs are supported InputSupport_AUDIO_ONLY InputSupport_Feature = 2 // Only video inputs are supported InputSupport_VIDEO_ONLY InputSupport_Feature = 3 // Audio and video are both supported and can be selected independently if desired. The independent_av property can // be true in this mode only InputSupport_INDEPENDENT InputSupport_Feature = 4 )
func (InputSupport_Feature) Descriptor ¶
func (InputSupport_Feature) Descriptor() protoreflect.EnumDescriptor
func (InputSupport_Feature) Enum ¶
func (x InputSupport_Feature) Enum() *InputSupport_Feature
func (InputSupport_Feature) EnumDescriptor
deprecated
func (InputSupport_Feature) EnumDescriptor() ([]byte, []int)
Deprecated: Use InputSupport_Feature.Descriptor instead.
func (InputSupport_Feature) Number ¶
func (x InputSupport_Feature) Number() protoreflect.EnumNumber
func (InputSupport_Feature) String ¶
func (x InputSupport_Feature) String() string
func (InputSupport_Feature) Type ¶
func (InputSupport_Feature) Type() protoreflect.EnumType
type LightApiClient ¶
type LightApiClient interface { // request that the brightness be changed UpdateBrightness(ctx context.Context, in *UpdateBrightnessRequest, opts ...grpc.CallOption) (*Brightness, error) // get the current value of the range GetBrightness(ctx context.Context, in *GetBrightnessRequest, opts ...grpc.CallOption) (*Brightness, error) // request updates to changes in the range value PullBrightness(ctx context.Context, in *PullBrightnessRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullBrightnessResponse], error) }
LightApiClient is the client API for LightApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Control the light output of a device. Brightness values should be normalised to 0-100 as a percentage, though the device may not support all steps within. See BrightnessSupport for step values of the device.
func NewLightApiClient ¶
func NewLightApiClient(cc grpc.ClientConnInterface) LightApiClient
type LightApiServer ¶
type LightApiServer interface { // request that the brightness be changed UpdateBrightness(context.Context, *UpdateBrightnessRequest) (*Brightness, error) // get the current value of the range GetBrightness(context.Context, *GetBrightnessRequest) (*Brightness, error) // request updates to changes in the range value PullBrightness(*PullBrightnessRequest, grpc.ServerStreamingServer[PullBrightnessResponse]) error // contains filtered or unexported methods }
LightApiServer is the server API for LightApi service. All implementations must embed UnimplementedLightApiServer for forward compatibility.
Control the light output of a device. Brightness values should be normalised to 0-100 as a percentage, though the device may not support all steps within. See BrightnessSupport for step values of the device.
type LightApi_PullBrightnessClient ¶
type LightApi_PullBrightnessClient = grpc.ServerStreamingClient[PullBrightnessResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LightApi_PullBrightnessServer ¶
type LightApi_PullBrightnessServer = grpc.ServerStreamingServer[PullBrightnessResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LightInfoClient ¶
type LightInfoClient interface { // Get information about how a named device implements Brightness features DescribeBrightness(ctx context.Context, in *DescribeBrightnessRequest, opts ...grpc.CallOption) (*BrightnessSupport, error) }
LightInfoClient is the client API for LightInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewLightInfoClient ¶
func NewLightInfoClient(cc grpc.ClientConnInterface) LightInfoClient
type LightInfoServer ¶
type LightInfoServer interface { // Get information about how a named device implements Brightness features DescribeBrightness(context.Context, *DescribeBrightnessRequest) (*BrightnessSupport, error) // contains filtered or unexported methods }
LightInfoServer is the server API for LightInfo service. All implementations must embed UnimplementedLightInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type LightPreset ¶
type LightPreset struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*LightPreset) Descriptor
deprecated
func (*LightPreset) Descriptor() ([]byte, []int)
Deprecated: Use LightPreset.ProtoReflect.Descriptor instead.
func (*LightPreset) GetName ¶
func (x *LightPreset) GetName() string
func (*LightPreset) GetTitle ¶
func (x *LightPreset) GetTitle() string
func (*LightPreset) ProtoMessage ¶
func (*LightPreset) ProtoMessage()
func (*LightPreset) ProtoReflect ¶
func (x *LightPreset) ProtoReflect() protoreflect.Message
func (*LightPreset) Reset ¶
func (x *LightPreset) Reset()
func (*LightPreset) String ¶
func (x *LightPreset) String() string
type ListBookingsRequest ¶
type ListBookingsRequest struct { // The name of the bookable (e.g. the resource name) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specify the time period to return bookings for // bookings are returned if they intersect this time period BookingIntersects *time.Period `protobuf:"bytes,2,opt,name=booking_intersects,json=bookingIntersects,proto3" json:"booking_intersects,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*ListBookingsRequest) Descriptor
deprecated
func (*ListBookingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBookingsRequest.ProtoReflect.Descriptor instead.
func (*ListBookingsRequest) GetBookingIntersects ¶
func (x *ListBookingsRequest) GetBookingIntersects() *time.Period
func (*ListBookingsRequest) GetName ¶
func (x *ListBookingsRequest) GetName() string
func (*ListBookingsRequest) GetReadMask ¶
func (x *ListBookingsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListBookingsRequest) GetUpdatesOnly ¶
func (x *ListBookingsRequest) GetUpdatesOnly() bool
func (*ListBookingsRequest) ProtoMessage ¶
func (*ListBookingsRequest) ProtoMessage()
func (*ListBookingsRequest) ProtoReflect ¶
func (x *ListBookingsRequest) ProtoReflect() protoreflect.Message
func (*ListBookingsRequest) Reset ¶
func (x *ListBookingsRequest) Reset()
func (*ListBookingsRequest) String ¶
func (x *ListBookingsRequest) String() string
type ListBookingsResponse ¶
type ListBookingsResponse struct { // the list of bookings for the given request Bookings []*Booking `protobuf:"bytes,1,rep,name=bookings,proto3" json:"bookings,omitempty"` // contains filtered or unexported fields }
func (*ListBookingsResponse) Descriptor
deprecated
func (*ListBookingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBookingsResponse.ProtoReflect.Descriptor instead.
func (*ListBookingsResponse) GetBookings ¶
func (x *ListBookingsResponse) GetBookings() []*Booking
func (*ListBookingsResponse) ProtoMessage ¶
func (*ListBookingsResponse) ProtoMessage()
func (*ListBookingsResponse) ProtoReflect ¶
func (x *ListBookingsResponse) ProtoReflect() protoreflect.Message
func (*ListBookingsResponse) Reset ¶
func (x *ListBookingsResponse) Reset()
func (*ListBookingsResponse) String ¶
func (x *ListBookingsResponse) String() string
type ListChildrenRequest ¶
type ListChildrenRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of children to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListChildrenResponse` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListChildrenRequest) Descriptor
deprecated
func (*ListChildrenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChildrenRequest.ProtoReflect.Descriptor instead.
func (*ListChildrenRequest) GetName ¶
func (x *ListChildrenRequest) GetName() string
func (*ListChildrenRequest) GetPageSize ¶
func (x *ListChildrenRequest) GetPageSize() int32
func (*ListChildrenRequest) GetPageToken ¶
func (x *ListChildrenRequest) GetPageToken() string
func (*ListChildrenRequest) GetReadMask ¶
func (x *ListChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListChildrenRequest) ProtoMessage ¶
func (*ListChildrenRequest) ProtoMessage()
func (*ListChildrenRequest) ProtoReflect ¶
func (x *ListChildrenRequest) ProtoReflect() protoreflect.Message
func (*ListChildrenRequest) Reset ¶
func (x *ListChildrenRequest) Reset()
func (*ListChildrenRequest) String ¶
func (x *ListChildrenRequest) String() string
type ListChildrenResponse ¶
type ListChildrenResponse struct { Children []*Child `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of draw notifications. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListChildrenResponse) Descriptor
deprecated
func (*ListChildrenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChildrenResponse.ProtoReflect.Descriptor instead.
func (*ListChildrenResponse) GetChildren ¶
func (x *ListChildrenResponse) GetChildren() []*Child
func (*ListChildrenResponse) GetNextPageToken ¶
func (x *ListChildrenResponse) GetNextPageToken() string
func (*ListChildrenResponse) GetTotalSize ¶
func (x *ListChildrenResponse) GetTotalSize() int32
func (*ListChildrenResponse) ProtoMessage ¶
func (*ListChildrenResponse) ProtoMessage()
func (*ListChildrenResponse) ProtoReflect ¶
func (x *ListChildrenResponse) ProtoReflect() protoreflect.Message
func (*ListChildrenResponse) Reset ¶
func (x *ListChildrenResponse) Reset()
func (*ListChildrenResponse) String ¶
func (x *ListChildrenResponse) String() string
type ListConsumablesRequest ¶
type ListConsumablesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Consumable type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of items to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListConsumablesRequest` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListConsumablesRequest) Descriptor
deprecated
func (*ListConsumablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumablesRequest.ProtoReflect.Descriptor instead.
func (*ListConsumablesRequest) GetName ¶
func (x *ListConsumablesRequest) GetName() string
func (*ListConsumablesRequest) GetPageSize ¶
func (x *ListConsumablesRequest) GetPageSize() int32
func (*ListConsumablesRequest) GetPageToken ¶
func (x *ListConsumablesRequest) GetPageToken() string
func (*ListConsumablesRequest) GetReadMask ¶
func (x *ListConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListConsumablesRequest) ProtoMessage ¶
func (*ListConsumablesRequest) ProtoMessage()
func (*ListConsumablesRequest) ProtoReflect ¶
func (x *ListConsumablesRequest) ProtoReflect() protoreflect.Message
func (*ListConsumablesRequest) Reset ¶
func (x *ListConsumablesRequest) Reset()
func (*ListConsumablesRequest) String ¶
func (x *ListConsumablesRequest) String() string
type ListConsumablesResponse ¶
type ListConsumablesResponse struct { Consumables []*Consumable `protobuf:"bytes,1,rep,name=consumables,proto3" json:"consumables,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of consumables. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListConsumablesResponse) Descriptor
deprecated
func (*ListConsumablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConsumablesResponse.ProtoReflect.Descriptor instead.
func (*ListConsumablesResponse) GetConsumables ¶
func (x *ListConsumablesResponse) GetConsumables() []*Consumable
func (*ListConsumablesResponse) GetNextPageToken ¶
func (x *ListConsumablesResponse) GetNextPageToken() string
func (*ListConsumablesResponse) GetTotalSize ¶
func (x *ListConsumablesResponse) GetTotalSize() int32
func (*ListConsumablesResponse) ProtoMessage ¶
func (*ListConsumablesResponse) ProtoMessage()
func (*ListConsumablesResponse) ProtoReflect ¶
func (x *ListConsumablesResponse) ProtoReflect() protoreflect.Message
func (*ListConsumablesResponse) Reset ¶
func (x *ListConsumablesResponse) Reset()
func (*ListConsumablesResponse) String ¶
func (x *ListConsumablesResponse) String() string
type ListHailsRequest ¶
type ListHailsRequest struct { // The name of the device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Hail type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of hails to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListHailsResponse` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListHailsRequest) Descriptor
deprecated
func (*ListHailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHailsRequest.ProtoReflect.Descriptor instead.
func (*ListHailsRequest) GetName ¶
func (x *ListHailsRequest) GetName() string
func (*ListHailsRequest) GetPageSize ¶
func (x *ListHailsRequest) GetPageSize() int32
func (*ListHailsRequest) GetPageToken ¶
func (x *ListHailsRequest) GetPageToken() string
func (*ListHailsRequest) GetReadMask ¶
func (x *ListHailsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListHailsRequest) ProtoMessage ¶
func (*ListHailsRequest) ProtoMessage()
func (*ListHailsRequest) ProtoReflect ¶
func (x *ListHailsRequest) ProtoReflect() protoreflect.Message
func (*ListHailsRequest) Reset ¶
func (x *ListHailsRequest) Reset()
func (*ListHailsRequest) String ¶
func (x *ListHailsRequest) String() string
type ListHailsResponse ¶
type ListHailsResponse struct { Hails []*Hail `protobuf:"bytes,1,rep,name=hails,proto3" json:"hails,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of hails. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListHailsResponse) Descriptor
deprecated
func (*ListHailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHailsResponse.ProtoReflect.Descriptor instead.
func (*ListHailsResponse) GetHails ¶
func (x *ListHailsResponse) GetHails() []*Hail
func (*ListHailsResponse) GetNextPageToken ¶
func (x *ListHailsResponse) GetNextPageToken() string
func (*ListHailsResponse) GetTotalSize ¶
func (x *ListHailsResponse) GetTotalSize() int32
func (*ListHailsResponse) ProtoMessage ¶
func (*ListHailsResponse) ProtoMessage()
func (*ListHailsResponse) ProtoReflect ¶
func (x *ListHailsResponse) ProtoReflect() protoreflect.Message
func (*ListHailsResponse) Reset ¶
func (x *ListHailsResponse) Reset()
func (*ListHailsResponse) String ¶
func (x *ListHailsResponse) String() string
type ListInventoryRequest ¶
type ListInventoryRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Consumable.Stock type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of items to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListInventoryRequest` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListInventoryRequest) Descriptor
deprecated
func (*ListInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInventoryRequest.ProtoReflect.Descriptor instead.
func (*ListInventoryRequest) GetName ¶
func (x *ListInventoryRequest) GetName() string
func (*ListInventoryRequest) GetPageSize ¶
func (x *ListInventoryRequest) GetPageSize() int32
func (*ListInventoryRequest) GetPageToken ¶
func (x *ListInventoryRequest) GetPageToken() string
func (*ListInventoryRequest) GetReadMask ¶
func (x *ListInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListInventoryRequest) ProtoMessage ¶
func (*ListInventoryRequest) ProtoMessage()
func (*ListInventoryRequest) ProtoReflect ¶
func (x *ListInventoryRequest) ProtoReflect() protoreflect.Message
func (*ListInventoryRequest) Reset ¶
func (x *ListInventoryRequest) Reset()
func (*ListInventoryRequest) String ¶
func (x *ListInventoryRequest) String() string
type ListInventoryResponse ¶
type ListInventoryResponse struct { // The stock requested. Inventory []*Consumable_Stock `protobuf:"bytes,1,rep,name=inventory,proto3" json:"inventory,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of stocked consumables. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListInventoryResponse) Descriptor
deprecated
func (*ListInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInventoryResponse.ProtoReflect.Descriptor instead.
func (*ListInventoryResponse) GetInventory ¶
func (x *ListInventoryResponse) GetInventory() []*Consumable_Stock
func (*ListInventoryResponse) GetNextPageToken ¶
func (x *ListInventoryResponse) GetNextPageToken() string
func (*ListInventoryResponse) GetTotalSize ¶
func (x *ListInventoryResponse) GetTotalSize() int32
func (*ListInventoryResponse) ProtoMessage ¶
func (*ListInventoryResponse) ProtoMessage()
func (*ListInventoryResponse) ProtoReflect ¶
func (x *ListInventoryResponse) ProtoReflect() protoreflect.Message
func (*ListInventoryResponse) Reset ¶
func (x *ListInventoryResponse) Reset()
func (*ListInventoryResponse) String ¶
func (x *ListInventoryResponse) String() string
type ListModesRequest ¶
type ListModesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of modes to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListModesResponse` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModesRequest) Descriptor
deprecated
func (*ListModesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModesRequest.ProtoReflect.Descriptor instead.
func (*ListModesRequest) GetName ¶
func (x *ListModesRequest) GetName() string
func (*ListModesRequest) GetPageSize ¶
func (x *ListModesRequest) GetPageSize() int32
func (*ListModesRequest) GetPageToken ¶
func (x *ListModesRequest) GetPageToken() string
func (*ListModesRequest) GetReadMask ¶
func (x *ListModesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListModesRequest) ProtoMessage ¶
func (*ListModesRequest) ProtoMessage()
func (*ListModesRequest) ProtoReflect ¶
func (x *ListModesRequest) ProtoReflect() protoreflect.Message
func (*ListModesRequest) Reset ¶
func (x *ListModesRequest) Reset()
func (*ListModesRequest) String ¶
func (x *ListModesRequest) String() string
type ListModesResponse ¶
type ListModesResponse struct { Modes []*ElectricMode `protobuf:"bytes,1,rep,name=modes,proto3" json:"modes,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of draw notifications. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListModesResponse) Descriptor
deprecated
func (*ListModesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModesResponse.ProtoReflect.Descriptor instead.
func (*ListModesResponse) GetModes ¶
func (x *ListModesResponse) GetModes() []*ElectricMode
func (*ListModesResponse) GetNextPageToken ¶
func (x *ListModesResponse) GetNextPageToken() string
func (*ListModesResponse) GetTotalSize ¶
func (x *ListModesResponse) GetTotalSize() int32
func (*ListModesResponse) ProtoMessage ¶
func (*ListModesResponse) ProtoMessage()
func (*ListModesResponse) ProtoReflect ¶
func (x *ListModesResponse) ProtoReflect() protoreflect.Message
func (*ListModesResponse) Reset ¶
func (x *ListModesResponse) Reset()
func (*ListModesResponse) String ¶
func (x *ListModesResponse) String() string
type ListPublicationsRequest ¶
type ListPublicationsRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Publication type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // The maximum number of items to return. // The service may return fewer than this value. // If unspecified, at most 50 items will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListPublicationsResponse` call. // Provide this to retrieve the subsequent page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListPublicationsRequest) Descriptor
deprecated
func (*ListPublicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicationsRequest.ProtoReflect.Descriptor instead.
func (*ListPublicationsRequest) GetName ¶
func (x *ListPublicationsRequest) GetName() string
func (*ListPublicationsRequest) GetPageSize ¶
func (x *ListPublicationsRequest) GetPageSize() int32
func (*ListPublicationsRequest) GetPageToken ¶
func (x *ListPublicationsRequest) GetPageToken() string
func (*ListPublicationsRequest) GetReadMask ¶
func (x *ListPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListPublicationsRequest) ProtoMessage ¶
func (*ListPublicationsRequest) ProtoMessage()
func (*ListPublicationsRequest) ProtoReflect ¶
func (x *ListPublicationsRequest) ProtoReflect() protoreflect.Message
func (*ListPublicationsRequest) Reset ¶
func (x *ListPublicationsRequest) Reset()
func (*ListPublicationsRequest) String ¶
func (x *ListPublicationsRequest) String() string
type ListPublicationsResponse ¶
type ListPublicationsResponse struct { Publications []*Publication `protobuf:"bytes,1,rep,name=publications,proto3" json:"publications,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // If non-zero this is the total number of consumables. // This may be an estimate. TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
func (*ListPublicationsResponse) Descriptor
deprecated
func (*ListPublicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicationsResponse.ProtoReflect.Descriptor instead.
func (*ListPublicationsResponse) GetNextPageToken ¶
func (x *ListPublicationsResponse) GetNextPageToken() string
func (*ListPublicationsResponse) GetPublications ¶
func (x *ListPublicationsResponse) GetPublications() []*Publication
func (*ListPublicationsResponse) GetTotalSize ¶
func (x *ListPublicationsResponse) GetTotalSize() int32
func (*ListPublicationsResponse) ProtoMessage ¶
func (*ListPublicationsResponse) ProtoMessage()
func (*ListPublicationsResponse) ProtoReflect ¶
func (x *ListPublicationsResponse) ProtoReflect() protoreflect.Message
func (*ListPublicationsResponse) Reset ¶
func (x *ListPublicationsResponse) Reset()
func (*ListPublicationsResponse) String ¶
func (x *ListPublicationsResponse) String() string
type ListWasteRecordsRequest ¶
type ListWasteRecordsRequest 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"` // The maximum number of WasteRecords 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 `ListWasteRecordsResponse` 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 (*ListWasteRecordsRequest) Descriptor
deprecated
func (*ListWasteRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWasteRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListWasteRecordsRequest) GetName ¶
func (x *ListWasteRecordsRequest) GetName() string
func (*ListWasteRecordsRequest) GetPageSize ¶
func (x *ListWasteRecordsRequest) GetPageSize() int32
func (*ListWasteRecordsRequest) GetPageToken ¶
func (x *ListWasteRecordsRequest) GetPageToken() string
func (*ListWasteRecordsRequest) GetReadMask ¶
func (x *ListWasteRecordsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*ListWasteRecordsRequest) ProtoMessage ¶
func (*ListWasteRecordsRequest) ProtoMessage()
func (*ListWasteRecordsRequest) ProtoReflect ¶
func (x *ListWasteRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListWasteRecordsRequest) Reset ¶
func (x *ListWasteRecordsRequest) Reset()
func (*ListWasteRecordsRequest) String ¶
func (x *ListWasteRecordsRequest) String() string
type ListWasteRecordsResponse ¶
type ListWasteRecordsResponse struct { WasteRecords []*WasteRecord `protobuf:"bytes,1,rep,name=wasteRecords,proto3" json:"wasteRecords,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 (*ListWasteRecordsResponse) Descriptor
deprecated
func (*ListWasteRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWasteRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListWasteRecordsResponse) GetNextPageToken ¶
func (x *ListWasteRecordsResponse) GetNextPageToken() string
func (*ListWasteRecordsResponse) GetTotalSize ¶
func (x *ListWasteRecordsResponse) GetTotalSize() int32
func (*ListWasteRecordsResponse) GetWasteRecords ¶
func (x *ListWasteRecordsResponse) GetWasteRecords() []*WasteRecord
func (*ListWasteRecordsResponse) ProtoMessage ¶
func (*ListWasteRecordsResponse) ProtoMessage()
func (*ListWasteRecordsResponse) ProtoReflect ¶
func (x *ListWasteRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListWasteRecordsResponse) Reset ¶
func (x *ListWasteRecordsResponse) Reset()
func (*ListWasteRecordsResponse) String ¶
func (x *ListWasteRecordsResponse) String() string
type LockUnlock ¶
type LockUnlock struct { // Position reports whether the device is locked or unlocked, or transitioning. Position LockUnlock_Position `protobuf:"varint,1,opt,name=position,proto3,enum=smartcore.traits.LockUnlock_Position" json:"position,omitempty"` // Jammed reports whether the lock has jammed and is unable to reach it's position. // Output only. Jammed bool `protobuf:"varint,2,opt,name=jammed,proto3" json:"jammed,omitempty"` // contains filtered or unexported fields }
LockUnlock models the possible states of a lockable device.
func (*LockUnlock) Descriptor
deprecated
func (*LockUnlock) Descriptor() ([]byte, []int)
Deprecated: Use LockUnlock.ProtoReflect.Descriptor instead.
func (*LockUnlock) GetJammed ¶
func (x *LockUnlock) GetJammed() bool
func (*LockUnlock) GetPosition ¶
func (x *LockUnlock) GetPosition() LockUnlock_Position
func (*LockUnlock) ProtoMessage ¶
func (*LockUnlock) ProtoMessage()
func (*LockUnlock) ProtoReflect ¶
func (x *LockUnlock) ProtoReflect() protoreflect.Message
func (*LockUnlock) Reset ¶
func (x *LockUnlock) Reset()
func (*LockUnlock) String ¶
func (x *LockUnlock) String() string
type LockUnlockApiClient ¶
type LockUnlockApiClient interface { // Get the current lock position for the device. GetLockUnlock(ctx context.Context, in *GetLockUnlockRequest, opts ...grpc.CallOption) (*LockUnlock, error) // Update the lock position of the device. UpdateLockUnlock(ctx context.Context, in *UpdateLockUnlockRequest, opts ...grpc.CallOption) (*LockUnlock, error) // Subscribe to changes in the lock position for the device. PullLockUnlock(ctx context.Context, in *PullLockUnlockRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullLockUnlockResponse], error) }
LockUnlockApiClient is the client API for LockUnlockApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
LockUnlockApi describes devices that can be locked and unlocked, and/or report a locked state. The concept is encoded in the LockUnlock.position, a device may be locked, unlocked, or transitioning into one of these positions.
func NewLockUnlockApiClient ¶
func NewLockUnlockApiClient(cc grpc.ClientConnInterface) LockUnlockApiClient
type LockUnlockApiServer ¶
type LockUnlockApiServer interface { // Get the current lock position for the device. GetLockUnlock(context.Context, *GetLockUnlockRequest) (*LockUnlock, error) // Update the lock position of the device. UpdateLockUnlock(context.Context, *UpdateLockUnlockRequest) (*LockUnlock, error) // Subscribe to changes in the lock position for the device. PullLockUnlock(*PullLockUnlockRequest, grpc.ServerStreamingServer[PullLockUnlockResponse]) error // contains filtered or unexported methods }
LockUnlockApiServer is the server API for LockUnlockApi service. All implementations must embed UnimplementedLockUnlockApiServer for forward compatibility.
LockUnlockApi describes devices that can be locked and unlocked, and/or report a locked state. The concept is encoded in the LockUnlock.position, a device may be locked, unlocked, or transitioning into one of these positions.
type LockUnlockApi_PullLockUnlockClient ¶
type LockUnlockApi_PullLockUnlockClient = grpc.ServerStreamingClient[PullLockUnlockResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LockUnlockApi_PullLockUnlockServer ¶
type LockUnlockApi_PullLockUnlockServer = grpc.ServerStreamingServer[PullLockUnlockResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type LockUnlockInfoClient ¶
type LockUnlockInfoClient interface { }
LockUnlockInfoClient is the client API for LockUnlockInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLockUnlockInfoClient ¶
func NewLockUnlockInfoClient(cc grpc.ClientConnInterface) LockUnlockInfoClient
type LockUnlockInfoServer ¶
type LockUnlockInfoServer interface {
// contains filtered or unexported methods
}
LockUnlockInfoServer is the server API for LockUnlockInfo service. All implementations must embed UnimplementedLockUnlockInfoServer for forward compatibility.
type LockUnlock_Position ¶
type LockUnlock_Position int32
Position defines the possible lock positions. Note that only LOCKED and UNLOCKED can be used during a write.
const ( // The lock position is unspecified. LockUnlock_POSITION_UNSPECIFIED LockUnlock_Position = 0 // The device is locked. LockUnlock_LOCKED LockUnlock_Position = 1 // The device is unlocked. LockUnlock_UNLOCKED LockUnlock_Position = 2 // The device is in the process of locking. // Optional. Output only. LockUnlock_LOCKING LockUnlock_Position = 3 // The device is in the process of unlocking. // Optional. Output only. LockUnlock_UNLOCKING LockUnlock_Position = 4 )
func (LockUnlock_Position) Descriptor ¶
func (LockUnlock_Position) Descriptor() protoreflect.EnumDescriptor
func (LockUnlock_Position) Enum ¶
func (x LockUnlock_Position) Enum() *LockUnlock_Position
func (LockUnlock_Position) EnumDescriptor
deprecated
func (LockUnlock_Position) EnumDescriptor() ([]byte, []int)
Deprecated: Use LockUnlock_Position.Descriptor instead.
func (LockUnlock_Position) Number ¶
func (x LockUnlock_Position) Number() protoreflect.EnumNumber
func (LockUnlock_Position) String ¶
func (x LockUnlock_Position) String() string
func (LockUnlock_Position) Type ¶
func (LockUnlock_Position) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { // The canonical name for this device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Traits []*TraitMetadata `protobuf:"bytes,2,rep,name=traits,proto3" json:"traits,omitempty"` // Appearance describes properties of the device related to how it should be displayed on a user interface. Appearance *Metadata_Appearance `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"` // Location describes where the device is physically located. Location *Metadata_Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // ID records different IDs for the device across different systems. Id *Metadata_ID `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // Product describes the make and model of the device and who made it. Product *Metadata_Product `protobuf:"bytes,6,opt,name=product,proto3" json:"product,omitempty"` // Revision describes this exact version of the device. // Properties in Revision take president over fields in product. Revision *Metadata_Revision `protobuf:"bytes,7,opt,name=revision,proto3" json:"revision,omitempty"` // Installation records information about the devices installation. Installation *Metadata_Installation `protobuf:"bytes,8,opt,name=installation,proto3" json:"installation,omitempty"` // Nics describes the devices network interfaces. Nics []*Metadata_NIC `protobuf:"bytes,9,rep,name=nics,proto3" json:"nics,omitempty"` // Membership describes how this device is related to other devices. Membership *Metadata_Membership `protobuf:"bytes,10,opt,name=membership,proto3" json:"membership,omitempty"` // More contains any non-specified additional metadata that wouldn't fit into the other categories. More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata holds information about a device. The information properties are grouped based on the aspect of the device they relate to. The metadata object and each group may hold arbitrary data via the more property.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetAppearance ¶
func (x *Metadata) GetAppearance() *Metadata_Appearance
func (*Metadata) GetId ¶
func (x *Metadata) GetId() *Metadata_ID
func (*Metadata) GetInstallation ¶
func (x *Metadata) GetInstallation() *Metadata_Installation
func (*Metadata) GetLocation ¶
func (x *Metadata) GetLocation() *Metadata_Location
func (*Metadata) GetMembership ¶
func (x *Metadata) GetMembership() *Metadata_Membership
func (*Metadata) GetNics ¶
func (x *Metadata) GetNics() []*Metadata_NIC
func (*Metadata) GetProduct ¶
func (x *Metadata) GetProduct() *Metadata_Product
func (*Metadata) GetRevision ¶
func (x *Metadata) GetRevision() *Metadata_Revision
func (*Metadata) GetTraits ¶
func (x *Metadata) GetTraits() []*TraitMetadata
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataApiClient ¶
type MetadataApiClient interface { // GetMetadata returns information associated with the given name. GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*Metadata, error) // PullMetadata subscribes to changes in the information associated with the named device. PullMetadata(ctx context.Context, in *PullMetadataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullMetadataResponse], error) }
MetadataApiClient is the client API for MetadataApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
MetadataApi describes information about a named device.
func NewMetadataApiClient ¶
func NewMetadataApiClient(cc grpc.ClientConnInterface) MetadataApiClient
type MetadataApiServer ¶
type MetadataApiServer interface { // GetMetadata returns information associated with the given name. GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error) // PullMetadata subscribes to changes in the information associated with the named device. PullMetadata(*PullMetadataRequest, grpc.ServerStreamingServer[PullMetadataResponse]) error // contains filtered or unexported methods }
MetadataApiServer is the server API for MetadataApi service. All implementations must embed UnimplementedMetadataApiServer for forward compatibility.
MetadataApi describes information about a named device.
type MetadataApi_PullMetadataClient ¶
type MetadataApi_PullMetadataClient = grpc.ServerStreamingClient[PullMetadataResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MetadataApi_PullMetadataServer ¶
type MetadataApi_PullMetadataServer = grpc.ServerStreamingServer[PullMetadataResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MetadataInfoClient ¶
type MetadataInfoClient interface { }
MetadataInfoClient is the client API for MetadataInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetadataInfoClient ¶
func NewMetadataInfoClient(cc grpc.ClientConnInterface) MetadataInfoClient
type MetadataInfoServer ¶
type MetadataInfoServer interface {
// contains filtered or unexported methods
}
MetadataInfoServer is the server API for MetadataInfo service. All implementations must embed UnimplementedMetadataInfoServer for forward compatibility.
type Metadata_Appearance ¶
type Metadata_Appearance struct { // Title holds the official name for the device. // For example "Reception Printer" or "MR1 AC Unit" Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Description holds additional detail about this device. // For example "The printer for floor 3". Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Appearance) Descriptor
deprecated
func (*Metadata_Appearance) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Appearance.ProtoReflect.Descriptor instead.
func (*Metadata_Appearance) GetDescription ¶
func (x *Metadata_Appearance) GetDescription() string
func (*Metadata_Appearance) GetMore ¶
func (x *Metadata_Appearance) GetMore() map[string]string
func (*Metadata_Appearance) GetTitle ¶
func (x *Metadata_Appearance) GetTitle() string
func (*Metadata_Appearance) ProtoMessage ¶
func (*Metadata_Appearance) ProtoMessage()
func (*Metadata_Appearance) ProtoReflect ¶
func (x *Metadata_Appearance) ProtoReflect() protoreflect.Message
func (*Metadata_Appearance) Reset ¶
func (x *Metadata_Appearance) Reset()
func (*Metadata_Appearance) String ¶
func (x *Metadata_Appearance) String() string
type Metadata_ID ¶
type Metadata_ID struct { SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` Bim string `protobuf:"bytes,2,opt,name=bim,proto3" json:"bim,omitempty"` Bacnet string `protobuf:"bytes,3,opt,name=bacnet,proto3" json:"bacnet,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_ID) Descriptor
deprecated
func (*Metadata_ID) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_ID.ProtoReflect.Descriptor instead.
func (*Metadata_ID) GetBacnet ¶
func (x *Metadata_ID) GetBacnet() string
func (*Metadata_ID) GetBim ¶
func (x *Metadata_ID) GetBim() string
func (*Metadata_ID) GetMore ¶
func (x *Metadata_ID) GetMore() map[string]string
func (*Metadata_ID) GetSerialNumber ¶
func (x *Metadata_ID) GetSerialNumber() string
func (*Metadata_ID) ProtoMessage ¶
func (*Metadata_ID) ProtoMessage()
func (*Metadata_ID) ProtoReflect ¶
func (x *Metadata_ID) ProtoReflect() protoreflect.Message
func (*Metadata_ID) Reset ¶
func (x *Metadata_ID) Reset()
func (*Metadata_ID) String ¶
func (x *Metadata_ID) String() string
type Metadata_Installation ¶
type Metadata_Installation struct { InstallTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=install_time,json=installTime,proto3" json:"install_time,omitempty"` ReplaceTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=replace_time,json=replaceTime,proto3" json:"replace_time,omitempty"` Installer string `protobuf:"bytes,3,opt,name=installer,proto3" json:"installer,omitempty"` Labelled bool `protobuf:"varint,4,opt,name=labelled,proto3" json:"labelled,omitempty"` LabelTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=label_time,json=labelTime,proto3" json:"label_time,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Installation) Descriptor
deprecated
func (*Metadata_Installation) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Installation.ProtoReflect.Descriptor instead.
func (*Metadata_Installation) GetInstallTime ¶
func (x *Metadata_Installation) GetInstallTime() *timestamppb.Timestamp
func (*Metadata_Installation) GetInstaller ¶
func (x *Metadata_Installation) GetInstaller() string
func (*Metadata_Installation) GetLabelTime ¶
func (x *Metadata_Installation) GetLabelTime() *timestamppb.Timestamp
func (*Metadata_Installation) GetLabelled ¶
func (x *Metadata_Installation) GetLabelled() bool
func (*Metadata_Installation) GetMore ¶
func (x *Metadata_Installation) GetMore() map[string]string
func (*Metadata_Installation) GetReplaceTime ¶
func (x *Metadata_Installation) GetReplaceTime() *timestamppb.Timestamp
func (*Metadata_Installation) ProtoMessage ¶
func (*Metadata_Installation) ProtoMessage()
func (*Metadata_Installation) ProtoReflect ¶
func (x *Metadata_Installation) ProtoReflect() protoreflect.Message
func (*Metadata_Installation) Reset ¶
func (x *Metadata_Installation) Reset()
func (*Metadata_Installation) String ¶
func (x *Metadata_Installation) String() string
type Metadata_Location ¶
type Metadata_Location struct { // Title holds the official name for the location. // For example "Meeting Room 1" Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Description holds additional detail about the location. // For example "North-east project room". Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Architectural reference holds the reference for the location in architectural drawings. ArchitectureReference string `protobuf:"bytes,3,opt,name=architecture_reference,json=architectureReference,proto3" json:"architecture_reference,omitempty"` // The common name for the floor the device is located on. Floor string `protobuf:"bytes,4,opt,name=floor,proto3" json:"floor,omitempty"` // A user defined zone withing the building where the device is located. // Different buildings organise their spaces differently into groups or zones, // for example some buildings group by compass points: North and South, some by quarters. Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Location) Descriptor
deprecated
func (*Metadata_Location) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Location.ProtoReflect.Descriptor instead.
func (*Metadata_Location) GetArchitectureReference ¶
func (x *Metadata_Location) GetArchitectureReference() string
func (*Metadata_Location) GetDescription ¶
func (x *Metadata_Location) GetDescription() string
func (*Metadata_Location) GetFloor ¶
func (x *Metadata_Location) GetFloor() string
func (*Metadata_Location) GetMore ¶
func (x *Metadata_Location) GetMore() map[string]string
func (*Metadata_Location) GetTitle ¶
func (x *Metadata_Location) GetTitle() string
func (*Metadata_Location) GetZone ¶
func (x *Metadata_Location) GetZone() string
func (*Metadata_Location) ProtoMessage ¶
func (*Metadata_Location) ProtoMessage()
func (*Metadata_Location) ProtoReflect ¶
func (x *Metadata_Location) ProtoReflect() protoreflect.Message
func (*Metadata_Location) Reset ¶
func (x *Metadata_Location) Reset()
func (*Metadata_Location) String ¶
func (x *Metadata_Location) String() string
type Metadata_Membership ¶
type Metadata_Membership struct { // Group holds a group name shared between this device and others. // This can be useful for displaying this device on interfaces. Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // Subsystem records which larger system this device is part of. // For example "BMS" or "Lighting" Subsystem string `protobuf:"bytes,2,opt,name=subsystem,proto3" json:"subsystem,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Membership) Descriptor
deprecated
func (*Metadata_Membership) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Membership.ProtoReflect.Descriptor instead.
func (*Metadata_Membership) GetGroup ¶
func (x *Metadata_Membership) GetGroup() string
func (*Metadata_Membership) GetMore ¶
func (x *Metadata_Membership) GetMore() map[string]string
func (*Metadata_Membership) GetSubsystem ¶
func (x *Metadata_Membership) GetSubsystem() string
func (*Metadata_Membership) ProtoMessage ¶
func (*Metadata_Membership) ProtoMessage()
func (*Metadata_Membership) ProtoReflect ¶
func (x *Metadata_Membership) ProtoReflect() protoreflect.Message
func (*Metadata_Membership) Reset ¶
func (x *Metadata_Membership) Reset()
func (*Metadata_Membership) String ¶
func (x *Metadata_Membership) String() string
type Metadata_NIC ¶
type Metadata_NIC struct { // The name of this NIC, if there is one. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The MAC address of this NIC. // May take any of the common MAC formatting options, case insensitive 001B638445E6, 00:1b:63:84:45:e6, or // 00-1B-63-84-45-E6. // Non-hexadecimal digits should be ignored, and it should not be longer than 17 characters long - // 12 digits in pairs + 5 separator chars. MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The V4 or V6 IP address of the NIC. Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // The network (subnet) the NIC is on. // In the form `<ip>/<bits>`, the CIDR notation defined in RFC 4632 and RFC 4291. // Masked bits may be masked but are not required to be. Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"` // The IP of the gateway. Gateway string `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"` // The IP of DNS servers, in priority order. Dns []string `protobuf:"bytes,6,rep,name=dns,proto3" json:"dns,omitempty"` Assignment Metadata_NIC_Assignment `protobuf:"varint,10,opt,name=assignment,proto3,enum=smartcore.traits.Metadata_NIC_Assignment" json:"assignment,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_NIC) Descriptor
deprecated
func (*Metadata_NIC) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_NIC.ProtoReflect.Descriptor instead.
func (*Metadata_NIC) GetAssignment ¶
func (x *Metadata_NIC) GetAssignment() Metadata_NIC_Assignment
func (*Metadata_NIC) GetDisplayName ¶
func (x *Metadata_NIC) GetDisplayName() string
func (*Metadata_NIC) GetDns ¶
func (x *Metadata_NIC) GetDns() []string
func (*Metadata_NIC) GetGateway ¶
func (x *Metadata_NIC) GetGateway() string
func (*Metadata_NIC) GetIp ¶
func (x *Metadata_NIC) GetIp() string
func (*Metadata_NIC) GetMacAddress ¶
func (x *Metadata_NIC) GetMacAddress() string
func (*Metadata_NIC) GetMore ¶
func (x *Metadata_NIC) GetMore() map[string]string
func (*Metadata_NIC) GetNetwork ¶
func (x *Metadata_NIC) GetNetwork() string
func (*Metadata_NIC) ProtoMessage ¶
func (*Metadata_NIC) ProtoMessage()
func (*Metadata_NIC) ProtoReflect ¶
func (x *Metadata_NIC) ProtoReflect() protoreflect.Message
func (*Metadata_NIC) Reset ¶
func (x *Metadata_NIC) Reset()
func (*Metadata_NIC) String ¶
func (x *Metadata_NIC) String() string
type Metadata_NIC_Assignment ¶
type Metadata_NIC_Assignment int32
const ( Metadata_NIC_ASSIGNMENT_UNSPECIFIED Metadata_NIC_Assignment = 0 Metadata_NIC_DHCP Metadata_NIC_Assignment = 1 Metadata_NIC_STATIC Metadata_NIC_Assignment = 2 )
func (Metadata_NIC_Assignment) Descriptor ¶
func (Metadata_NIC_Assignment) Descriptor() protoreflect.EnumDescriptor
func (Metadata_NIC_Assignment) Enum ¶
func (x Metadata_NIC_Assignment) Enum() *Metadata_NIC_Assignment
func (Metadata_NIC_Assignment) EnumDescriptor
deprecated
func (Metadata_NIC_Assignment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Metadata_NIC_Assignment.Descriptor instead.
func (Metadata_NIC_Assignment) Number ¶
func (x Metadata_NIC_Assignment) Number() protoreflect.EnumNumber
func (Metadata_NIC_Assignment) String ¶
func (x Metadata_NIC_Assignment) String() string
func (Metadata_NIC_Assignment) Type ¶
func (Metadata_NIC_Assignment) Type() protoreflect.EnumType
type Metadata_Product ¶
type Metadata_Product struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` HardwareVersion string `protobuf:"bytes,4,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"` FirmwareVersion string `protobuf:"bytes,5,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"` SoftwareVersion string `protobuf:"bytes,6,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` Kind *Metadata_Product_Kind `protobuf:"bytes,7,opt,name=kind,proto3" json:"kind,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Product) Descriptor
deprecated
func (*Metadata_Product) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Product.ProtoReflect.Descriptor instead.
func (*Metadata_Product) GetFirmwareVersion ¶
func (x *Metadata_Product) GetFirmwareVersion() string
func (*Metadata_Product) GetHardwareVersion ¶
func (x *Metadata_Product) GetHardwareVersion() string
func (*Metadata_Product) GetKind ¶
func (x *Metadata_Product) GetKind() *Metadata_Product_Kind
func (*Metadata_Product) GetManufacturer ¶
func (x *Metadata_Product) GetManufacturer() string
func (*Metadata_Product) GetModel ¶
func (x *Metadata_Product) GetModel() string
func (*Metadata_Product) GetMore ¶
func (x *Metadata_Product) GetMore() map[string]string
func (*Metadata_Product) GetSoftwareVersion ¶
func (x *Metadata_Product) GetSoftwareVersion() string
func (*Metadata_Product) GetTitle ¶
func (x *Metadata_Product) GetTitle() string
func (*Metadata_Product) ProtoMessage ¶
func (*Metadata_Product) ProtoMessage()
func (*Metadata_Product) ProtoReflect ¶
func (x *Metadata_Product) ProtoReflect() protoreflect.Message
func (*Metadata_Product) Reset ¶
func (x *Metadata_Product) Reset()
func (*Metadata_Product) String ¶
func (x *Metadata_Product) String() string
type Metadata_Product_Kind ¶
type Metadata_Product_Kind struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Metadata_Product_Kind) Descriptor
deprecated
func (*Metadata_Product_Kind) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Product_Kind.ProtoReflect.Descriptor instead.
func (*Metadata_Product_Kind) GetCode ¶
func (x *Metadata_Product_Kind) GetCode() string
func (*Metadata_Product_Kind) GetTitle ¶
func (x *Metadata_Product_Kind) GetTitle() string
func (*Metadata_Product_Kind) ProtoMessage ¶
func (*Metadata_Product_Kind) ProtoMessage()
func (*Metadata_Product_Kind) ProtoReflect ¶
func (x *Metadata_Product_Kind) ProtoReflect() protoreflect.Message
func (*Metadata_Product_Kind) Reset ¶
func (x *Metadata_Product_Kind) Reset()
func (*Metadata_Product_Kind) String ¶
func (x *Metadata_Product_Kind) String() string
type Metadata_Revision ¶
type Metadata_Revision struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` ManufactureDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=manufacture_date,json=manufactureDate,proto3" json:"manufacture_date,omitempty"` Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` HardwareVersion string `protobuf:"bytes,4,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"` FirmwareVersion string `protobuf:"bytes,5,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"` SoftwareVersion string `protobuf:"bytes,6,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` Batch string `protobuf:"bytes,7,opt,name=batch,proto3" json:"batch,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata_Revision) Descriptor
deprecated
func (*Metadata_Revision) Descriptor() ([]byte, []int)
Deprecated: Use Metadata_Revision.ProtoReflect.Descriptor instead.
func (*Metadata_Revision) GetBatch ¶
func (x *Metadata_Revision) GetBatch() string
func (*Metadata_Revision) GetFirmwareVersion ¶
func (x *Metadata_Revision) GetFirmwareVersion() string
func (*Metadata_Revision) GetHardwareVersion ¶
func (x *Metadata_Revision) GetHardwareVersion() string
func (*Metadata_Revision) GetManufactureDate ¶
func (x *Metadata_Revision) GetManufactureDate() *timestamppb.Timestamp
func (*Metadata_Revision) GetModel ¶
func (x *Metadata_Revision) GetModel() string
func (*Metadata_Revision) GetMore ¶
func (x *Metadata_Revision) GetMore() map[string]string
func (*Metadata_Revision) GetSoftwareVersion ¶
func (x *Metadata_Revision) GetSoftwareVersion() string
func (*Metadata_Revision) GetTitle ¶
func (x *Metadata_Revision) GetTitle() string
func (*Metadata_Revision) ProtoMessage ¶
func (*Metadata_Revision) ProtoMessage()
func (*Metadata_Revision) ProtoReflect ¶
func (x *Metadata_Revision) ProtoReflect() protoreflect.Message
func (*Metadata_Revision) Reset ¶
func (x *Metadata_Revision) Reset()
func (*Metadata_Revision) String ¶
func (x *Metadata_Revision) String() string
type MeterApiClient ¶
type MeterApiClient interface { GetMeterReading(ctx context.Context, in *GetMeterReadingRequest, opts ...grpc.CallOption) (*MeterReading, error) PullMeterReadings(ctx context.Context, in *PullMeterReadingsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullMeterReadingsResponse], 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.
MeterApi represents a metering device, like an electric meter. The device records total usage since some fixed point in time, this trait provides access to that usage value. For example an electric meter records total energy usage since it was installed/reset in kWh as an ever increasing number.
func NewMeterApiClient ¶
func NewMeterApiClient(cc grpc.ClientConnInterface) MeterApiClient
type MeterApiServer ¶
type MeterApiServer interface { GetMeterReading(context.Context, *GetMeterReadingRequest) (*MeterReading, error) PullMeterReadings(*PullMeterReadingsRequest, grpc.ServerStreamingServer[PullMeterReadingsResponse]) error // contains filtered or unexported methods }
MeterApiServer is the server API for MeterApi service. All implementations must embed UnimplementedMeterApiServer for forward compatibility.
MeterApi represents a metering device, like an electric meter. The device records total usage since some fixed point in time, this trait provides access to that usage value. For example an electric meter records total energy usage since it was installed/reset in kWh as an ever increasing number.
type MeterApi_PullMeterReadingsClient ¶
type MeterApi_PullMeterReadingsClient = grpc.ServerStreamingClient[PullMeterReadingsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MeterApi_PullMeterReadingsServer ¶
type MeterApi_PullMeterReadingsServer = grpc.ServerStreamingServer[PullMeterReadingsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
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
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"` // Optional. 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"` // Optional. 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 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 MicrophoneApiClient ¶
type MicrophoneApiClient interface { // Get the current state of the gain for the device GetGain(ctx context.Context, in *GetMicrophoneGainRequest, opts ...grpc.CallOption) (*types.AudioLevel, error) // update the gain state for the device UpdateGain(ctx context.Context, in *UpdateMicrophoneGainRequest, opts ...grpc.CallOption) (*types.AudioLevel, error) PullGain(ctx context.Context, in *PullMicrophoneGainRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullMicrophoneGainResponse], error) }
MicrophoneApiClient is the client API for MicrophoneApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that support some kind of audio input. The most basic is a simple muting microphone, it's optional to support gain adjustment on a scale.
For the sakes of this trait "gain" means the combination of a gain and a mute state.
func NewMicrophoneApiClient ¶
func NewMicrophoneApiClient(cc grpc.ClientConnInterface) MicrophoneApiClient
type MicrophoneApiServer ¶
type MicrophoneApiServer interface { // Get the current state of the gain for the device GetGain(context.Context, *GetMicrophoneGainRequest) (*types.AudioLevel, error) // update the gain state for the device UpdateGain(context.Context, *UpdateMicrophoneGainRequest) (*types.AudioLevel, error) PullGain(*PullMicrophoneGainRequest, grpc.ServerStreamingServer[PullMicrophoneGainResponse]) error // contains filtered or unexported methods }
MicrophoneApiServer is the server API for MicrophoneApi service. All implementations must embed UnimplementedMicrophoneApiServer for forward compatibility.
Trait for devices that support some kind of audio input. The most basic is a simple muting microphone, it's optional to support gain adjustment on a scale.
For the sakes of this trait "gain" means the combination of a gain and a mute state.
type MicrophoneApi_PullGainClient ¶
type MicrophoneApi_PullGainClient = grpc.ServerStreamingClient[PullMicrophoneGainResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MicrophoneApi_PullGainServer ¶
type MicrophoneApi_PullGainServer = grpc.ServerStreamingServer[PullMicrophoneGainResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MicrophoneInfoClient ¶
type MicrophoneInfoClient interface { // Get information about how a named device implements Gain features DescribeGain(ctx context.Context, in *DescribeGainRequest, opts ...grpc.CallOption) (*GainSupport, error) }
MicrophoneInfoClient is the client API for MicrophoneInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewMicrophoneInfoClient ¶
func NewMicrophoneInfoClient(cc grpc.ClientConnInterface) MicrophoneInfoClient
type MicrophoneInfoServer ¶
type MicrophoneInfoServer interface { // Get information about how a named device implements Gain features DescribeGain(context.Context, *DescribeGainRequest) (*GainSupport, error) // contains filtered or unexported methods }
MicrophoneInfoServer is the server API for MicrophoneInfo service. All implementations must embed UnimplementedMicrophoneInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type ModeApiClient ¶
type ModeApiClient interface { // GetModeValues returns the current state for all modes for a device. GetModeValues(ctx context.Context, in *GetModeValuesRequest, opts ...grpc.CallOption) (*ModeValues, error) // UpdateModeValues sets the current mode for the device. // Multiple modes may be set at the same time. // The device may error if setting a mode that is not supported, in any case the returned ModeValues contains the // state after the update. // Relative updates to the mode may either cap or wrap the mode value if adjusting the value relatively would either // underflow or overflow the available modes. UpdateModeValues(ctx context.Context, in *UpdateModeValuesRequest, opts ...grpc.CallOption) (*ModeValues, error) // PullModeValues returns a stream of updates to the modes set on the device. PullModeValues(ctx context.Context, in *PullModeValuesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullModeValuesResponse], error) }
ModeApiClient is the client API for ModeApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that present one or more distinct modes. For example a washing machine might have a "temperature" mode with available values ["delicate", "auto", "whites"].
func NewModeApiClient ¶
func NewModeApiClient(cc grpc.ClientConnInterface) ModeApiClient
type ModeApiServer ¶
type ModeApiServer interface { // GetModeValues returns the current state for all modes for a device. GetModeValues(context.Context, *GetModeValuesRequest) (*ModeValues, error) // UpdateModeValues sets the current mode for the device. // Multiple modes may be set at the same time. // The device may error if setting a mode that is not supported, in any case the returned ModeValues contains the // state after the update. // Relative updates to the mode may either cap or wrap the mode value if adjusting the value relatively would either // underflow or overflow the available modes. UpdateModeValues(context.Context, *UpdateModeValuesRequest) (*ModeValues, error) // PullModeValues returns a stream of updates to the modes set on the device. PullModeValues(*PullModeValuesRequest, grpc.ServerStreamingServer[PullModeValuesResponse]) error // contains filtered or unexported methods }
ModeApiServer is the server API for ModeApi service. All implementations must embed UnimplementedModeApiServer for forward compatibility.
Trait for devices that present one or more distinct modes. For example a washing machine might have a "temperature" mode with available values ["delicate", "auto", "whites"].
type ModeApi_PullModeValuesClient ¶
type ModeApi_PullModeValuesClient = grpc.ServerStreamingClient[PullModeValuesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ModeApi_PullModeValuesServer ¶
type ModeApi_PullModeValuesServer = grpc.ServerStreamingServer[PullModeValuesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ModeInfoClient ¶
type ModeInfoClient interface { // Get information about how a named device implements Modes features DescribeModes(ctx context.Context, in *DescribeModesRequest, opts ...grpc.CallOption) (*ModesSupport, error) }
ModeInfoClient is the client API for ModeInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewModeInfoClient ¶
func NewModeInfoClient(cc grpc.ClientConnInterface) ModeInfoClient
type ModeInfoServer ¶
type ModeInfoServer interface { // Get information about how a named device implements Modes features DescribeModes(context.Context, *DescribeModesRequest) (*ModesSupport, error) // contains filtered or unexported methods }
ModeInfoServer is the server API for ModeInfo service. All implementations must embed UnimplementedModeInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type ModeValues ¶
type ModeValues struct { // Values, keyed by the mode name, reports the current mode value name active on the device. // For example {"temperature": "cool"} Values map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
ModeValues describes the current value for each available mode on a device.
func (*ModeValues) Descriptor
deprecated
func (*ModeValues) Descriptor() ([]byte, []int)
Deprecated: Use ModeValues.ProtoReflect.Descriptor instead.
func (*ModeValues) GetValues ¶
func (x *ModeValues) GetValues() map[string]string
func (*ModeValues) ProtoMessage ¶
func (*ModeValues) ProtoMessage()
func (*ModeValues) ProtoReflect ¶
func (x *ModeValues) ProtoReflect() protoreflect.Message
func (*ModeValues) Reset ¶
func (x *ModeValues) Reset()
func (*ModeValues) String ¶
func (x *ModeValues) String() string
type ModeValuesRelative ¶
type ModeValuesRelative struct { Values map[string]int32 `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
ModeValuesRelative describes how a mode should change relative to its current value. For example {"temperature": -1} might adjust the "temperature" mode from "warm" to "cool".
func (*ModeValuesRelative) Descriptor
deprecated
func (*ModeValuesRelative) Descriptor() ([]byte, []int)
Deprecated: Use ModeValuesRelative.ProtoReflect.Descriptor instead.
func (*ModeValuesRelative) GetValues ¶
func (x *ModeValuesRelative) GetValues() map[string]int32
func (*ModeValuesRelative) ProtoMessage ¶
func (*ModeValuesRelative) ProtoMessage()
func (*ModeValuesRelative) ProtoReflect ¶
func (x *ModeValuesRelative) ProtoReflect() protoreflect.Message
func (*ModeValuesRelative) Reset ¶
func (x *ModeValuesRelative) Reset()
func (*ModeValuesRelative) String ¶
func (x *ModeValuesRelative) String() string
type Modes ¶
type Modes struct { // Modes holds the list of supported modes for a device. Modes []*Modes_Mode `protobuf:"bytes,1,rep,name=modes,proto3" json:"modes,omitempty"` // contains filtered or unexported fields }
Modes describes the modes available on a device.
func (*Modes) Descriptor
deprecated
func (*Modes) GetModes ¶
func (x *Modes) GetModes() []*Modes_Mode
func (*Modes) ProtoMessage ¶
func (*Modes) ProtoMessage()
func (*Modes) ProtoReflect ¶
func (x *Modes) ProtoReflect() protoreflect.Message
type ModesSupport ¶
type ModesSupport struct { // How a named device supports read/write/pull apis for mode values ModeValuesSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=mode_values_support,json=modeValuesSupport,proto3" json:"mode_values_support,omitempty"` // AvailableModes holds the list of modes the device supports. AvailableModes *Modes `protobuf:"bytes,2,opt,name=available_modes,json=availableModes,proto3" json:"available_modes,omitempty"` // contains filtered or unexported fields }
func (*ModesSupport) Descriptor
deprecated
func (*ModesSupport) Descriptor() ([]byte, []int)
Deprecated: Use ModesSupport.ProtoReflect.Descriptor instead.
func (*ModesSupport) GetAvailableModes ¶
func (x *ModesSupport) GetAvailableModes() *Modes
func (*ModesSupport) GetModeValuesSupport ¶
func (x *ModesSupport) GetModeValuesSupport() *types.ResourceSupport
func (*ModesSupport) ProtoMessage ¶
func (*ModesSupport) ProtoMessage()
func (*ModesSupport) ProtoReflect ¶
func (x *ModesSupport) ProtoReflect() protoreflect.Message
func (*ModesSupport) Reset ¶
func (x *ModesSupport) Reset()
func (*ModesSupport) String ¶
func (x *ModesSupport) String() string
type Modes_Mode ¶
type Modes_Mode struct { // Name is use to refer to this mode in ModeValues or ModeAdjustments. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Values is the list of available values this mode supports. Values []*Modes_Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // If true, the values this mode support can be considered ordered. // For example ["fast", "normal", "slow"] are ordered, ["joined", "split"] are not. Ordered bool `protobuf:"varint,3,opt,name=ordered,proto3" json:"ordered,omitempty"` // contains filtered or unexported fields }
Mode describes a controllable aspect of the device. For example "spin_speed" or "divisible_state".
func (*Modes_Mode) Descriptor
deprecated
func (*Modes_Mode) Descriptor() ([]byte, []int)
Deprecated: Use Modes_Mode.ProtoReflect.Descriptor instead.
func (*Modes_Mode) GetName ¶
func (x *Modes_Mode) GetName() string
func (*Modes_Mode) GetOrdered ¶
func (x *Modes_Mode) GetOrdered() bool
func (*Modes_Mode) GetValues ¶
func (x *Modes_Mode) GetValues() []*Modes_Value
func (*Modes_Mode) ProtoMessage ¶
func (*Modes_Mode) ProtoMessage()
func (*Modes_Mode) ProtoReflect ¶
func (x *Modes_Mode) ProtoReflect() protoreflect.Message
func (*Modes_Mode) Reset ¶
func (x *Modes_Mode) Reset()
func (*Modes_Mode) String ¶
func (x *Modes_Mode) String() string
type Modes_Value ¶
type Modes_Value struct { // Name is used to refer to this value in ModeValues. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Value describes a specific setting for a mode.
func (*Modes_Value) Descriptor
deprecated
func (*Modes_Value) Descriptor() ([]byte, []int)
Deprecated: Use Modes_Value.ProtoReflect.Descriptor instead.
func (*Modes_Value) GetName ¶
func (x *Modes_Value) GetName() string
func (*Modes_Value) ProtoMessage ¶
func (*Modes_Value) ProtoMessage()
func (*Modes_Value) ProtoReflect ¶
func (x *Modes_Value) ProtoReflect() protoreflect.Message
func (*Modes_Value) Reset ¶
func (x *Modes_Value) Reset()
func (*Modes_Value) String ¶
func (x *Modes_Value) String() string
type MotionDetection ¶
type MotionDetection struct { // has motion been detected or not State MotionDetection_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.MotionDetection_State" json:"state,omitempty"` // The time the state last changed StateChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=state_change_time,json=stateChangeTime,proto3" json:"state_change_time,omitempty"` // contains filtered or unexported fields }
the current state of the motion sensor
func (*MotionDetection) Descriptor
deprecated
func (*MotionDetection) Descriptor() ([]byte, []int)
Deprecated: Use MotionDetection.ProtoReflect.Descriptor instead.
func (*MotionDetection) GetState ¶
func (x *MotionDetection) GetState() MotionDetection_State
func (*MotionDetection) GetStateChangeTime ¶
func (x *MotionDetection) GetStateChangeTime() *timestamppb.Timestamp
func (*MotionDetection) ProtoMessage ¶
func (*MotionDetection) ProtoMessage()
func (*MotionDetection) ProtoReflect ¶
func (x *MotionDetection) ProtoReflect() protoreflect.Message
func (*MotionDetection) Reset ¶
func (x *MotionDetection) Reset()
func (*MotionDetection) String ¶
func (x *MotionDetection) String() string
type MotionDetectionSupport ¶
type MotionDetectionSupport struct { // How a named device supports read/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // How long the device is configured to wait before reporting a state of NOT_DETECTED NotDetectedDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=not_detected_delay,json=notDetectedDelay,proto3" json:"not_detected_delay,omitempty"` // contains filtered or unexported fields }
MotionDetectionSupport describes the capabilities of devices implementing this trait
func (*MotionDetectionSupport) Descriptor
deprecated
func (*MotionDetectionSupport) Descriptor() ([]byte, []int)
Deprecated: Use MotionDetectionSupport.ProtoReflect.Descriptor instead.
func (*MotionDetectionSupport) GetNotDetectedDelay ¶
func (x *MotionDetectionSupport) GetNotDetectedDelay() *durationpb.Duration
func (*MotionDetectionSupport) GetResourceSupport ¶
func (x *MotionDetectionSupport) GetResourceSupport() *types.ResourceSupport
func (*MotionDetectionSupport) ProtoMessage ¶
func (*MotionDetectionSupport) ProtoMessage()
func (*MotionDetectionSupport) ProtoReflect ¶
func (x *MotionDetectionSupport) ProtoReflect() protoreflect.Message
func (*MotionDetectionSupport) Reset ¶
func (x *MotionDetectionSupport) Reset()
func (*MotionDetectionSupport) String ¶
func (x *MotionDetectionSupport) String() string
type MotionDetection_State ¶
type MotionDetection_State int32
Possible states for motion detected
const ( // The state has not been specified. MotionDetection_STATE_UNSPECIFIED MotionDetection_State = 0 // No motion is detected, or has been detected within the not_detected_delay period MotionDetection_NOT_DETECTED MotionDetection_State = 1 // Motion has been detected by the device. MotionDetection_DETECTED MotionDetection_State = 2 )
func (MotionDetection_State) Descriptor ¶
func (MotionDetection_State) Descriptor() protoreflect.EnumDescriptor
func (MotionDetection_State) Enum ¶
func (x MotionDetection_State) Enum() *MotionDetection_State
func (MotionDetection_State) EnumDescriptor
deprecated
func (MotionDetection_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MotionDetection_State.Descriptor instead.
func (MotionDetection_State) Number ¶
func (x MotionDetection_State) Number() protoreflect.EnumNumber
func (MotionDetection_State) String ¶
func (x MotionDetection_State) String() string
func (MotionDetection_State) Type ¶
func (MotionDetection_State) Type() protoreflect.EnumType
type MotionSensorApiClient ¶
type MotionSensorApiClient interface { // Get the current motion state for the device. GetMotionDetection(ctx context.Context, in *GetMotionDetectionRequest, opts ...grpc.CallOption) (*MotionDetection, error) // subscribe to changes in the motion state for the device. PullMotionDetections(ctx context.Context, in *PullMotionDetectionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullMotionDetectionResponse], error) }
MotionSensorApiClient is the client API for MotionSensorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Represents a sensor that detects motion. Note that the absence of motion does not directly imply an unoccupied space.
func NewMotionSensorApiClient ¶
func NewMotionSensorApiClient(cc grpc.ClientConnInterface) MotionSensorApiClient
type MotionSensorApiServer ¶
type MotionSensorApiServer interface { // Get the current motion state for the device. GetMotionDetection(context.Context, *GetMotionDetectionRequest) (*MotionDetection, error) // subscribe to changes in the motion state for the device. PullMotionDetections(*PullMotionDetectionRequest, grpc.ServerStreamingServer[PullMotionDetectionResponse]) error // contains filtered or unexported methods }
MotionSensorApiServer is the server API for MotionSensorApi service. All implementations must embed UnimplementedMotionSensorApiServer for forward compatibility.
Represents a sensor that detects motion. Note that the absence of motion does not directly imply an unoccupied space.
type MotionSensorApi_PullMotionDetectionsClient ¶
type MotionSensorApi_PullMotionDetectionsClient = grpc.ServerStreamingClient[PullMotionDetectionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MotionSensorApi_PullMotionDetectionsServer ¶
type MotionSensorApi_PullMotionDetectionsServer = grpc.ServerStreamingServer[PullMotionDetectionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type MotionSensorSensorInfoClient ¶
type MotionSensorSensorInfoClient interface { // Get information about how a named device implements MotionDetection measurements DescribeMotionDetection(ctx context.Context, in *DescribeMotionDetectionRequest, opts ...grpc.CallOption) (*MotionDetectionSupport, error) }
MotionSensorSensorInfoClient is the client API for MotionSensorSensorInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewMotionSensorSensorInfoClient ¶
func NewMotionSensorSensorInfoClient(cc grpc.ClientConnInterface) MotionSensorSensorInfoClient
type MotionSensorSensorInfoServer ¶
type MotionSensorSensorInfoServer interface { // Get information about how a named device implements MotionDetection measurements DescribeMotionDetection(context.Context, *DescribeMotionDetectionRequest) (*MotionDetectionSupport, error) // contains filtered or unexported methods }
MotionSensorSensorInfoServer is the server API for MotionSensorSensorInfo service. All implementations must embed UnimplementedMotionSensorSensorInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type Occupancy ¶
type Occupancy struct { // The current occupancy state State Occupancy_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.Occupancy_State" json:"state,omitempty"` // The total number of people the occupancy sensor has detected. Do NOT use this value as an indication of occupancy // state, a value of 0 could be reported for a space that is occupied if the device either doesn't support people // counts or there is some other undefined issue with the counting part of the sensor suite. PeopleCount int32 `protobuf:"varint,2,opt,name=people_count,json=peopleCount,proto3" json:"people_count,omitempty"` // When the occupancy state last changed. Does not update when people_count changes unlike the timestamp in // OccupancyChange events StateChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=state_change_time,json=stateChangeTime,proto3" json:"state_change_time,omitempty"` // Optional. List of human readable strings explaining why the device thinks the space is in the current state. For // example could say OCCUPIED:["Detected people in space"] or IDLE:["No motion detected for 10 minutes"]. Typically // used for debugging or troubleshooting purposes. Reasons []string `protobuf:"bytes,4,rep,name=reasons,proto3" json:"reasons,omitempty"` // Optional. How confident is the sensor that the current occupancy state is accurate. A value of 0 means that the // confidence is unknown Confidence float64 `protobuf:"fixed64,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
The occupancy state the device is reporting and updating
func (*Occupancy) Descriptor
deprecated
func (*Occupancy) GetConfidence ¶
func (*Occupancy) GetPeopleCount ¶
func (*Occupancy) GetReasons ¶
func (*Occupancy) GetState ¶
func (x *Occupancy) GetState() Occupancy_State
func (*Occupancy) GetStateChangeTime ¶
func (x *Occupancy) GetStateChangeTime() *timestamppb.Timestamp
func (*Occupancy) ProtoMessage ¶
func (*Occupancy) ProtoMessage()
func (*Occupancy) ProtoReflect ¶
func (x *Occupancy) ProtoReflect() protoreflect.Message
type OccupancySensorApiClient ¶
type OccupancySensorApiClient interface { // Get the current motion state for the device. GetOccupancy(ctx context.Context, in *GetOccupancyRequest, opts ...grpc.CallOption) (*Occupancy, error) // subscribe to changes in the motion state for the device. PullOccupancy(ctx context.Context, in *PullOccupancyRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullOccupancyResponse], error) }
OccupancySensorApiClient is the client API for OccupancySensorApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The reporting of occupancy in a space. Similar to a MotionSensor, this reports whether a space is occupied or unoccupied with additional optional information relating to _how_ occupied the space is (i.e. how many people are present)
func NewOccupancySensorApiClient ¶
func NewOccupancySensorApiClient(cc grpc.ClientConnInterface) OccupancySensorApiClient
type OccupancySensorApiServer ¶
type OccupancySensorApiServer interface { // Get the current motion state for the device. GetOccupancy(context.Context, *GetOccupancyRequest) (*Occupancy, error) // subscribe to changes in the motion state for the device. PullOccupancy(*PullOccupancyRequest, grpc.ServerStreamingServer[PullOccupancyResponse]) error // contains filtered or unexported methods }
OccupancySensorApiServer is the server API for OccupancySensorApi service. All implementations must embed UnimplementedOccupancySensorApiServer for forward compatibility.
The reporting of occupancy in a space. Similar to a MotionSensor, this reports whether a space is occupied or unoccupied with additional optional information relating to _how_ occupied the space is (i.e. how many people are present)
type OccupancySensorApi_PullOccupancyClient ¶
type OccupancySensorApi_PullOccupancyClient = grpc.ServerStreamingClient[PullOccupancyResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OccupancySensorApi_PullOccupancyServer ¶
type OccupancySensorApi_PullOccupancyServer = grpc.ServerStreamingServer[PullOccupancyResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OccupancySensorInfoClient ¶
type OccupancySensorInfoClient interface { // Get information about how a named device implements Occupancy measurements DescribeOccupancy(ctx context.Context, in *DescribeOccupancyRequest, opts ...grpc.CallOption) (*OccupancySupport, error) }
OccupancySensorInfoClient is the client API for OccupancySensorInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewOccupancySensorInfoClient ¶
func NewOccupancySensorInfoClient(cc grpc.ClientConnInterface) OccupancySensorInfoClient
type OccupancySensorInfoServer ¶
type OccupancySensorInfoServer interface { // Get information about how a named device implements Occupancy measurements DescribeOccupancy(context.Context, *DescribeOccupancyRequest) (*OccupancySupport, error) // contains filtered or unexported methods }
OccupancySensorInfoServer is the server API for OccupancySensorInfo service. All implementations must embed UnimplementedOccupancySensorInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type OccupancySupport ¶
type OccupancySupport struct { // How a named device supports read/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // how many people can the occupancy service report. 0 means it won't report people counts. Note: this is _not_ the // total capacity for the space, it's the capacity of the sensor MaxPeople int32 `protobuf:"varint,2,opt,name=max_people,json=maxPeople,proto3" json:"max_people,omitempty"` // contains filtered or unexported fields }
OccupancySupport describes the capabilities of devices implementing this trait
func (*OccupancySupport) Descriptor
deprecated
func (*OccupancySupport) Descriptor() ([]byte, []int)
Deprecated: Use OccupancySupport.ProtoReflect.Descriptor instead.
func (*OccupancySupport) GetMaxPeople ¶
func (x *OccupancySupport) GetMaxPeople() int32
func (*OccupancySupport) GetResourceSupport ¶
func (x *OccupancySupport) GetResourceSupport() *types.ResourceSupport
func (*OccupancySupport) ProtoMessage ¶
func (*OccupancySupport) ProtoMessage()
func (*OccupancySupport) ProtoReflect ¶
func (x *OccupancySupport) ProtoReflect() protoreflect.Message
func (*OccupancySupport) Reset ¶
func (x *OccupancySupport) Reset()
func (*OccupancySupport) String ¶
func (x *OccupancySupport) String() string
type Occupancy_State ¶
type Occupancy_State int32
Possible states for occupancy
const ( // There are no signals to suggest either an occupied or unoccupied space Occupancy_STATE_UNSPECIFIED Occupancy_State = 0 // The space is occupied Occupancy_OCCUPIED Occupancy_State = 1 // The space is unoccupied Occupancy_UNOCCUPIED Occupancy_State = 2 // The space is likely occupied but some signals suggest that no activity is occurring (i.e. people are asleep or not // moving for other reasons) Occupancy_IDLE Occupancy_State = 3 )
func (Occupancy_State) Descriptor ¶
func (Occupancy_State) Descriptor() protoreflect.EnumDescriptor
func (Occupancy_State) Enum ¶
func (x Occupancy_State) Enum() *Occupancy_State
func (Occupancy_State) EnumDescriptor
deprecated
func (Occupancy_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Occupancy_State.Descriptor instead.
func (Occupancy_State) Number ¶
func (x Occupancy_State) Number() protoreflect.EnumNumber
func (Occupancy_State) String ¶
func (x Occupancy_State) String() string
func (Occupancy_State) Type ¶
func (Occupancy_State) Type() protoreflect.EnumType
type OnOff ¶
type OnOff struct { State OnOff_State `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.OnOff_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*OnOff) Descriptor
deprecated
func (*OnOff) GetState ¶
func (x *OnOff) GetState() OnOff_State
func (*OnOff) ProtoMessage ¶
func (*OnOff) ProtoMessage()
func (*OnOff) ProtoReflect ¶
func (x *OnOff) ProtoReflect() protoreflect.Message
type OnOffApiClient ¶
type OnOffApiClient interface { // Get the current state of the device GetOnOff(ctx context.Context, in *GetOnOffRequest, opts ...grpc.CallOption) (*OnOff, error) // Update the device to be on or off UpdateOnOff(ctx context.Context, in *UpdateOnOffRequest, opts ...grpc.CallOption) (*OnOff, error) // Get notified of changes to the OnOff state of a device PullOnOff(ctx context.Context, in *PullOnOffRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullOnOffResponse], error) }
OnOffApiClient is the client API for OnOffApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Applicable to devices that have a basic binary on and off functionality.
func NewOnOffApiClient ¶
func NewOnOffApiClient(cc grpc.ClientConnInterface) OnOffApiClient
type OnOffApiServer ¶
type OnOffApiServer interface { // Get the current state of the device GetOnOff(context.Context, *GetOnOffRequest) (*OnOff, error) // Update the device to be on or off UpdateOnOff(context.Context, *UpdateOnOffRequest) (*OnOff, error) // Get notified of changes to the OnOff state of a device PullOnOff(*PullOnOffRequest, grpc.ServerStreamingServer[PullOnOffResponse]) error // contains filtered or unexported methods }
OnOffApiServer is the server API for OnOffApi service. All implementations must embed UnimplementedOnOffApiServer for forward compatibility.
Applicable to devices that have a basic binary on and off functionality.
type OnOffApi_PullOnOffClient ¶
type OnOffApi_PullOnOffClient = grpc.ServerStreamingClient[PullOnOffResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OnOffApi_PullOnOffServer ¶
type OnOffApi_PullOnOffServer = grpc.ServerStreamingServer[PullOnOffResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OnOffInfoClient ¶
type OnOffInfoClient interface { // Get information about how a named device implements OnOff features DescribeOnOff(ctx context.Context, in *DescribeOnOffRequest, opts ...grpc.CallOption) (*OnOffSupport, error) }
OnOffInfoClient is the client API for OnOffInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewOnOffInfoClient ¶
func NewOnOffInfoClient(cc grpc.ClientConnInterface) OnOffInfoClient
type OnOffInfoServer ¶
type OnOffInfoServer interface { // Get information about how a named device implements OnOff features DescribeOnOff(context.Context, *DescribeOnOffRequest) (*OnOffSupport, error) // contains filtered or unexported methods }
OnOffInfoServer is the server API for OnOffInfo service. All implementations must embed UnimplementedOnOffInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type OnOffSupport ¶
type OnOffSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // contains filtered or unexported fields }
OnOffSupport describes the capabilities of devices implementing this trait
func (*OnOffSupport) Descriptor
deprecated
func (*OnOffSupport) Descriptor() ([]byte, []int)
Deprecated: Use OnOffSupport.ProtoReflect.Descriptor instead.
func (*OnOffSupport) GetResourceSupport ¶
func (x *OnOffSupport) GetResourceSupport() *types.ResourceSupport
func (*OnOffSupport) ProtoMessage ¶
func (*OnOffSupport) ProtoMessage()
func (*OnOffSupport) ProtoReflect ¶
func (x *OnOffSupport) ProtoReflect() protoreflect.Message
func (*OnOffSupport) Reset ¶
func (x *OnOffSupport) Reset()
func (*OnOffSupport) String ¶
func (x *OnOffSupport) String() string
type OnOff_State ¶
type OnOff_State int32
Possible states for an On-Off device
const ( OnOff_STATE_UNSPECIFIED OnOff_State = 0 OnOff_ON OnOff_State = 1 OnOff_OFF OnOff_State = 2 )
func (OnOff_State) Descriptor ¶
func (OnOff_State) Descriptor() protoreflect.EnumDescriptor
func (OnOff_State) Enum ¶
func (x OnOff_State) Enum() *OnOff_State
func (OnOff_State) EnumDescriptor
deprecated
func (OnOff_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnOff_State.Descriptor instead.
func (OnOff_State) Number ¶
func (x OnOff_State) Number() protoreflect.EnumNumber
func (OnOff_State) String ¶
func (x OnOff_State) String() string
func (OnOff_State) Type ¶
func (OnOff_State) Type() protoreflect.EnumType
type OpenCloseApiClient ¶
type OpenCloseApiClient interface { GetPositions(ctx context.Context, in *GetOpenClosePositionsRequest, opts ...grpc.CallOption) (*OpenClosePositions, error) UpdatePositions(ctx context.Context, in *UpdateOpenClosePositionsRequest, opts ...grpc.CallOption) (*OpenClosePositions, error) // Stop causes any changes being performed by the underlying device to stop. Will return the current state. Stop(ctx context.Context, in *StopOpenCloseRequest, opts ...grpc.CallOption) (*OpenClosePositions, error) // Get notified of changes to the OpenCloseState of a device PullPositions(ctx context.Context, in *PullOpenClosePositionsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullOpenClosePositionsResponse], error) }
OpenCloseApiClient is the client API for OpenCloseApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Applicable to devices that can open or close. Think window contact closure, window blind, or garage door.
func NewOpenCloseApiClient ¶
func NewOpenCloseApiClient(cc grpc.ClientConnInterface) OpenCloseApiClient
type OpenCloseApiServer ¶
type OpenCloseApiServer interface { GetPositions(context.Context, *GetOpenClosePositionsRequest) (*OpenClosePositions, error) UpdatePositions(context.Context, *UpdateOpenClosePositionsRequest) (*OpenClosePositions, error) // Stop causes any changes being performed by the underlying device to stop. Will return the current state. Stop(context.Context, *StopOpenCloseRequest) (*OpenClosePositions, error) // Get notified of changes to the OpenCloseState of a device PullPositions(*PullOpenClosePositionsRequest, grpc.ServerStreamingServer[PullOpenClosePositionsResponse]) error // contains filtered or unexported methods }
OpenCloseApiServer is the server API for OpenCloseApi service. All implementations must embed UnimplementedOpenCloseApiServer for forward compatibility.
Applicable to devices that can open or close. Think window contact closure, window blind, or garage door.
type OpenCloseApi_PullPositionsClient ¶
type OpenCloseApi_PullPositionsClient = grpc.ServerStreamingClient[PullOpenClosePositionsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenCloseApi_PullPositionsServer ¶
type OpenCloseApi_PullPositionsServer = grpc.ServerStreamingServer[PullOpenClosePositionsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type OpenCloseInfoClient ¶
type OpenCloseInfoClient interface { // Get information about how a named device implements Positions features DescribePositions(ctx context.Context, in *DescribePositionsRequest, opts ...grpc.CallOption) (*PositionsSupport, error) }
OpenCloseInfoClient is the client API for OpenCloseInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewOpenCloseInfoClient ¶
func NewOpenCloseInfoClient(cc grpc.ClientConnInterface) OpenCloseInfoClient
type OpenCloseInfoServer ¶
type OpenCloseInfoServer interface { // Get information about how a named device implements Positions features DescribePositions(context.Context, *DescribePositionsRequest) (*PositionsSupport, error) // contains filtered or unexported methods }
OpenCloseInfoServer is the server API for OpenCloseInfo service. All implementations must embed UnimplementedOpenCloseInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type OpenClosePosition ¶
type OpenClosePosition struct { // Open percent describes how open the device is in the specified direction. // [0-100] where 0 is fully closed and 100 is fully open. OpenPercent float32 `protobuf:"fixed32,1,opt,name=open_percent,json=openPercent,proto3" json:"open_percent,omitempty"` // How the open percent changes or should change over time. On write, only duration should be set. OpenPercentTween *types.Tween `protobuf:"bytes,2,opt,name=open_percent_tween,json=openPercentTween,proto3" json:"open_percent_tween,omitempty"` // Read-only, the target open_percent after a transition TargetOpenPercent float32 `protobuf:"fixed32,3,opt,name=target_open_percent,json=targetOpenPercent,proto3" json:"target_open_percent,omitempty"` // Optional direction for devices that support multiple open/close directions Direction OpenClosePosition_Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=smartcore.traits.OpenClosePosition_Direction" json:"direction,omitempty"` // Resistance reports if there is any resistance preventing the position from being fully achieved. // For example if a door is being held open, or a window is jammed closed. // // If more than one resistance applies choose the resistance value with the smaller ordinal, for example choose // REDUCED_MOTION over SLOW if both apply. Resistance OpenClosePosition_Resistance `protobuf:"varint,5,opt,name=resistance,proto3,enum=smartcore.traits.OpenClosePosition_Resistance" json:"resistance,omitempty"` // contains filtered or unexported fields }
Defines the position of one open close element for the device
func (*OpenClosePosition) Descriptor
deprecated
func (*OpenClosePosition) Descriptor() ([]byte, []int)
Deprecated: Use OpenClosePosition.ProtoReflect.Descriptor instead.
func (*OpenClosePosition) GetDirection ¶
func (x *OpenClosePosition) GetDirection() OpenClosePosition_Direction
func (*OpenClosePosition) GetOpenPercent ¶
func (x *OpenClosePosition) GetOpenPercent() float32
func (*OpenClosePosition) GetOpenPercentTween ¶
func (x *OpenClosePosition) GetOpenPercentTween() *types.Tween
func (*OpenClosePosition) GetResistance ¶
func (x *OpenClosePosition) GetResistance() OpenClosePosition_Resistance
func (*OpenClosePosition) GetTargetOpenPercent ¶
func (x *OpenClosePosition) GetTargetOpenPercent() float32
func (*OpenClosePosition) ProtoMessage ¶
func (*OpenClosePosition) ProtoMessage()
func (*OpenClosePosition) ProtoReflect ¶
func (x *OpenClosePosition) ProtoReflect() protoreflect.Message
func (*OpenClosePosition) Reset ¶
func (x *OpenClosePosition) Reset()
func (*OpenClosePosition) String ¶
func (x *OpenClosePosition) String() string
type OpenClosePosition_Direction ¶
type OpenClosePosition_Direction int32
Possible directions the device can open/close
const ( OpenClosePosition_DIRECTION_UNSPECIFIED OpenClosePosition_Direction = 0 OpenClosePosition_UP OpenClosePosition_Direction = 1 OpenClosePosition_DOWN OpenClosePosition_Direction = 2 OpenClosePosition_LEFT OpenClosePosition_Direction = 3 OpenClosePosition_RIGHT OpenClosePosition_Direction = 4 OpenClosePosition_IN OpenClosePosition_Direction = 5 OpenClosePosition_OUT OpenClosePosition_Direction = 6 )
func (OpenClosePosition_Direction) Descriptor ¶
func (OpenClosePosition_Direction) Descriptor() protoreflect.EnumDescriptor
func (OpenClosePosition_Direction) Enum ¶
func (x OpenClosePosition_Direction) Enum() *OpenClosePosition_Direction
func (OpenClosePosition_Direction) EnumDescriptor
deprecated
func (OpenClosePosition_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpenClosePosition_Direction.Descriptor instead.
func (OpenClosePosition_Direction) Number ¶
func (x OpenClosePosition_Direction) Number() protoreflect.EnumNumber
func (OpenClosePosition_Direction) String ¶
func (x OpenClosePosition_Direction) String() string
func (OpenClosePosition_Direction) Type ¶
func (OpenClosePosition_Direction) Type() protoreflect.EnumType
type OpenClosePosition_Resistance ¶
type OpenClosePosition_Resistance int32
Resistance defines types of resistance an OpenClose device may encounter.
const ( // Resistance is unspecified. OpenClosePosition_RESISTANCE_UNSPECIFIED OpenClosePosition_Resistance = 0 // The device is being held in position. // For example if someone is holding open a door, or a window is jammed shut. OpenClosePosition_HELD OpenClosePosition_Resistance = 1 // The devices motion is reduced. For example if a garage door can't open fully due to a blockage. OpenClosePosition_REDUCED_MOTION OpenClosePosition_Resistance = 2 // The device is being slow to respond to changes in opening. For example if a window has a rusty hinge. OpenClosePosition_SLOW OpenClosePosition_Resistance = 3 )
func (OpenClosePosition_Resistance) Descriptor ¶
func (OpenClosePosition_Resistance) Descriptor() protoreflect.EnumDescriptor
func (OpenClosePosition_Resistance) Enum ¶
func (x OpenClosePosition_Resistance) Enum() *OpenClosePosition_Resistance
func (OpenClosePosition_Resistance) EnumDescriptor
deprecated
func (OpenClosePosition_Resistance) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpenClosePosition_Resistance.Descriptor instead.
func (OpenClosePosition_Resistance) Number ¶
func (x OpenClosePosition_Resistance) Number() protoreflect.EnumNumber
func (OpenClosePosition_Resistance) String ¶
func (x OpenClosePosition_Resistance) String() string
func (OpenClosePosition_Resistance) Type ¶
func (OpenClosePosition_Resistance) Type() protoreflect.EnumType
type OpenClosePositions ¶
type OpenClosePositions struct { // The state of each of the devices open-able elements. Most devices will only have a single value here as they can // only be opened from a single direction. States []*OpenClosePosition `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` // A preset set of positions (or mode) for the device. // For example 'auto' or 'night mode'. // During writes the preset takes precedence over the positions in states. // During read the device may report either or both the preset and states values. Preset *OpenClosePositions_Preset `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"` // contains filtered or unexported fields }
All open/closable elements for the device
func (*OpenClosePositions) Descriptor
deprecated
func (*OpenClosePositions) Descriptor() ([]byte, []int)
Deprecated: Use OpenClosePositions.ProtoReflect.Descriptor instead.
func (*OpenClosePositions) GetPreset ¶
func (x *OpenClosePositions) GetPreset() *OpenClosePositions_Preset
func (*OpenClosePositions) GetStates ¶
func (x *OpenClosePositions) GetStates() []*OpenClosePosition
func (*OpenClosePositions) ProtoMessage ¶
func (*OpenClosePositions) ProtoMessage()
func (*OpenClosePositions) ProtoReflect ¶
func (x *OpenClosePositions) ProtoReflect() protoreflect.Message
func (*OpenClosePositions) Reset ¶
func (x *OpenClosePositions) Reset()
func (*OpenClosePositions) String ¶
func (x *OpenClosePositions) String() string
type OpenClosePositions_Preset ¶
type OpenClosePositions_Preset struct { // The identifying name of the preset. // Required. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A human readable title for the preset Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
A preset position for the device.
func (*OpenClosePositions_Preset) Descriptor
deprecated
func (*OpenClosePositions_Preset) Descriptor() ([]byte, []int)
Deprecated: Use OpenClosePositions_Preset.ProtoReflect.Descriptor instead.
func (*OpenClosePositions_Preset) GetName ¶
func (x *OpenClosePositions_Preset) GetName() string
func (*OpenClosePositions_Preset) GetTitle ¶
func (x *OpenClosePositions_Preset) GetTitle() string
func (*OpenClosePositions_Preset) ProtoMessage ¶
func (*OpenClosePositions_Preset) ProtoMessage()
func (*OpenClosePositions_Preset) ProtoReflect ¶
func (x *OpenClosePositions_Preset) ProtoReflect() protoreflect.Message
func (*OpenClosePositions_Preset) Reset ¶
func (x *OpenClosePositions_Preset) Reset()
func (*OpenClosePositions_Preset) String ¶
func (x *OpenClosePositions_Preset) String() string
type ParentApiClient ¶
type ParentApiClient interface { // ListChildren returns children associated with the named parent device. ListChildren(ctx context.Context, in *ListChildrenRequest, opts ...grpc.CallOption) (*ListChildrenResponse, error) // PullChildren subscribes to changes in the children associated with the named parent device. PullChildren(ctx context.Context, in *PullChildrenRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullChildrenResponse], error) }
ParentApiClient is the client API for ParentApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
ParentApi describes the capabilities of a device to have child devices.
func NewParentApiClient ¶
func NewParentApiClient(cc grpc.ClientConnInterface) ParentApiClient
type ParentApiServer ¶
type ParentApiServer interface { // ListChildren returns children associated with the named parent device. ListChildren(context.Context, *ListChildrenRequest) (*ListChildrenResponse, error) // PullChildren subscribes to changes in the children associated with the named parent device. PullChildren(*PullChildrenRequest, grpc.ServerStreamingServer[PullChildrenResponse]) error // contains filtered or unexported methods }
ParentApiServer is the server API for ParentApi service. All implementations must embed UnimplementedParentApiServer for forward compatibility.
ParentApi describes the capabilities of a device to have child devices.
type ParentApi_PullChildrenClient ¶
type ParentApi_PullChildrenClient = grpc.ServerStreamingClient[PullChildrenResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ParentApi_PullChildrenServer ¶
type ParentApi_PullChildrenServer = grpc.ServerStreamingServer[PullChildrenResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ParentInfoClient ¶
type ParentInfoClient interface { }
ParentInfoClient is the client API for ParentInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewParentInfoClient ¶
func NewParentInfoClient(cc grpc.ClientConnInterface) ParentInfoClient
type ParentInfoServer ¶
type ParentInfoServer interface {
// contains filtered or unexported methods
}
ParentInfoServer is the server API for ParentInfo service. All implementations must embed UnimplementedParentInfoServer for forward compatibility.
type PositionsSupport ¶
type PositionsSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Define how the value for open percent behave. The bounds for these attributes will be absent and always in the range // [0-100] to represent a percentage. // Discreet devices, those that only support fully closed or fully open (i.e. a contact closure) should report a step of 100. OpenPercentAttributes *types.FloatAttributes `` /* 126-byte string literal not displayed */ // The supported directions for the device. If none then assume only a single direction is supported Directions []OpenClosePosition_Direction `` /* 131-byte string literal not displayed */ // Does the device support the Stop method SupportsStop bool `protobuf:"varint,4,opt,name=supports_stop,json=supportsStop,proto3" json:"supports_stop,omitempty"` // A description of the supported presets, none means no presets Presets []*OpenClosePositions_Preset `protobuf:"bytes,5,rep,name=presets,proto3" json:"presets,omitempty"` // contains filtered or unexported fields }
PositionsSupport describes the capabilities of devices implementing this trait
func (*PositionsSupport) Descriptor
deprecated
func (*PositionsSupport) Descriptor() ([]byte, []int)
Deprecated: Use PositionsSupport.ProtoReflect.Descriptor instead.
func (*PositionsSupport) GetDirections ¶
func (x *PositionsSupport) GetDirections() []OpenClosePosition_Direction
func (*PositionsSupport) GetOpenPercentAttributes ¶
func (x *PositionsSupport) GetOpenPercentAttributes() *types.FloatAttributes
func (*PositionsSupport) GetPresets ¶
func (x *PositionsSupport) GetPresets() []*OpenClosePositions_Preset
func (*PositionsSupport) GetResourceSupport ¶
func (x *PositionsSupport) GetResourceSupport() *types.ResourceSupport
func (*PositionsSupport) GetSupportsStop ¶
func (x *PositionsSupport) GetSupportsStop() bool
func (*PositionsSupport) ProtoMessage ¶
func (*PositionsSupport) ProtoMessage()
func (*PositionsSupport) ProtoReflect ¶
func (x *PositionsSupport) ProtoReflect() protoreflect.Message
func (*PositionsSupport) Reset ¶
func (x *PositionsSupport) Reset()
func (*PositionsSupport) String ¶
func (x *PositionsSupport) String() string
type PressApiClient ¶
type PressApiClient interface { // Gets the current state of the input. // Contain the most recent gesture, so clients using polling can still detect and respond to gestures. // However, to reduce latency, PullPressedState is recommended for this use case. GetPressedState(ctx context.Context, in *GetPressedStateRequest, opts ...grpc.CallOption) (*PressedState, error) // Fetches changes to the pressed state and gestures, and optionally the initial state. PullPressedState(ctx context.Context, in *PullPressedStateRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullPressedStateResponse], error) // Updates the input state according to the write mask. // Real (physical) inputs are not expected to implement this method - it is intended for virtual or mock inputs UpdatePressedState(ctx context.Context, in *UpdatePressedStateRequest, opts ...grpc.CallOption) (*PressedState, error) }
PressApiClient is the client API for PressApi 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.
The state and events from an input that can be pressed, e.g. a momentary push-button input. This trait facilitates reactions to basic user input. Both the basic pressed state (pressed or not) as well as higher-level input events like "double click" are supported.
func NewPressApiClient ¶
func NewPressApiClient(cc grpc.ClientConnInterface) PressApiClient
type PressApiServer ¶
type PressApiServer interface { // Gets the current state of the input. // Contain the most recent gesture, so clients using polling can still detect and respond to gestures. // However, to reduce latency, PullPressedState is recommended for this use case. GetPressedState(context.Context, *GetPressedStateRequest) (*PressedState, error) // Fetches changes to the pressed state and gestures, and optionally the initial state. PullPressedState(*PullPressedStateRequest, grpc.ServerStreamingServer[PullPressedStateResponse]) error // Updates the input state according to the write mask. // Real (physical) inputs are not expected to implement this method - it is intended for virtual or mock inputs UpdatePressedState(context.Context, *UpdatePressedStateRequest) (*PressedState, error) // contains filtered or unexported methods }
PressApiServer is the server API for PressApi service. All implementations must embed UnimplementedPressApiServer for forward compatibility.
The state and events from an input that can be pressed, e.g. a momentary push-button input. This trait facilitates reactions to basic user input. Both the basic pressed state (pressed or not) as well as higher-level input events like "double click" are supported.
type PressApi_PullPressedStateClient ¶
type PressApi_PullPressedStateClient = grpc.ServerStreamingClient[PullPressedStateResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PressApi_PullPressedStateServer ¶
type PressApi_PullPressedStateServer = grpc.ServerStreamingServer[PullPressedStateResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PressedState ¶
type PressedState struct { State PressedState_Press `protobuf:"varint,1,opt,name=state,proto3,enum=smartcore.traits.PressedState_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 input. MostRecentGesture *PressedState_Gesture `protobuf:"bytes,3,opt,name=most_recent_gesture,json=mostRecentGesture,proto3" json:"most_recent_gesture,omitempty"` // contains filtered or unexported fields }
func (*PressedState) Descriptor
deprecated
func (*PressedState) Descriptor() ([]byte, []int)
Deprecated: Use PressedState.ProtoReflect.Descriptor instead.
func (*PressedState) GetMostRecentGesture ¶
func (x *PressedState) GetMostRecentGesture() *PressedState_Gesture
func (*PressedState) GetState ¶
func (x *PressedState) GetState() PressedState_Press
func (*PressedState) GetStateChangeTime ¶
func (x *PressedState) GetStateChangeTime() *timestamppb.Timestamp
func (*PressedState) ProtoMessage ¶
func (*PressedState) ProtoMessage()
func (*PressedState) ProtoReflect ¶
func (x *PressedState) ProtoReflect() protoreflect.Message
func (*PressedState) Reset ¶
func (x *PressedState) Reset()
func (*PressedState) String ¶
func (x *PressedState) String() string
type PressedState_Gesture ¶
type PressedState_Gesture struct { // Opaque identifier changes each time a new gesture begins. // The gesture will remain in the PressedState 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 PressedState_Gesture_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=smartcore.traits.PressedState_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 input // 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 presses. The way that the device converts presses into gestures is implementation-defined. There may be a delay between the presses and the registration of a gesture.
func (*PressedState_Gesture) Descriptor
deprecated
func (*PressedState_Gesture) Descriptor() ([]byte, []int)
Deprecated: Use PressedState_Gesture.ProtoReflect.Descriptor instead.
func (*PressedState_Gesture) GetCount ¶
func (x *PressedState_Gesture) GetCount() int32
func (*PressedState_Gesture) GetEndTime ¶
func (x *PressedState_Gesture) GetEndTime() *timestamppb.Timestamp
func (*PressedState_Gesture) GetId ¶
func (x *PressedState_Gesture) GetId() string
func (*PressedState_Gesture) GetKind ¶
func (x *PressedState_Gesture) GetKind() PressedState_Gesture_Kind
func (*PressedState_Gesture) GetStartTime ¶
func (x *PressedState_Gesture) GetStartTime() *timestamppb.Timestamp
func (*PressedState_Gesture) ProtoMessage ¶
func (*PressedState_Gesture) ProtoMessage()
func (*PressedState_Gesture) ProtoReflect ¶
func (x *PressedState_Gesture) ProtoReflect() protoreflect.Message
func (*PressedState_Gesture) Reset ¶
func (x *PressedState_Gesture) Reset()
func (*PressedState_Gesture) String ¶
func (x *PressedState_Gesture) String() string
type PressedState_Gesture_Kind ¶
type PressedState_Gesture_Kind int32
const ( PressedState_Gesture_KIND_UNSPECIFIED PressedState_Gesture_Kind = 0 // One or more short press-and-release actions. // Presses 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. PressedState_Gesture_CLICK PressedState_Gesture_Kind = 1 // The input is kept in the pressed state for an extended period. // The input 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 input has been released, allowing the client to determine // when the gesture has ended. PressedState_Gesture_HOLD PressedState_Gesture_Kind = 2 )
func (PressedState_Gesture_Kind) Descriptor ¶
func (PressedState_Gesture_Kind) Descriptor() protoreflect.EnumDescriptor
func (PressedState_Gesture_Kind) Enum ¶
func (x PressedState_Gesture_Kind) Enum() *PressedState_Gesture_Kind
func (PressedState_Gesture_Kind) EnumDescriptor
deprecated
func (PressedState_Gesture_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use PressedState_Gesture_Kind.Descriptor instead.
func (PressedState_Gesture_Kind) Number ¶
func (x PressedState_Gesture_Kind) Number() protoreflect.EnumNumber
func (PressedState_Gesture_Kind) String ¶
func (x PressedState_Gesture_Kind) String() string
func (PressedState_Gesture_Kind) Type ¶
func (PressedState_Gesture_Kind) Type() protoreflect.EnumType
type PressedState_Press ¶
type PressedState_Press int32
Instantaneous pressed state.
const ( PressedState_PRESS_UNSPECIFIED PressedState_Press = 0 // The input is not pressed. PressedState_UNPRESSED PressedState_Press = 1 // The input is being pressed. PressedState_PRESSED PressedState_Press = 2 )
func (PressedState_Press) Descriptor ¶
func (PressedState_Press) Descriptor() protoreflect.EnumDescriptor
func (PressedState_Press) Enum ¶
func (x PressedState_Press) Enum() *PressedState_Press
func (PressedState_Press) EnumDescriptor
deprecated
func (PressedState_Press) EnumDescriptor() ([]byte, []int)
Deprecated: Use PressedState_Press.Descriptor instead.
func (PressedState_Press) Number ¶
func (x PressedState_Press) Number() protoreflect.EnumNumber
func (PressedState_Press) String ¶
func (x PressedState_Press) String() string
func (PressedState_Press) Type ¶
func (PressedState_Press) Type() protoreflect.EnumType
type Ptz ¶
type Ptz struct { // The current position of the PTZ device (if known) Position *PtzPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // The current motion of the PTZ device (if known) Movement *PtzMovement `protobuf:"bytes,2,opt,name=movement,proto3" json:"movement,omitempty"` // The current preset selected for the device (if known) Preset string `protobuf:"bytes,3,opt,name=preset,proto3" json:"preset,omitempty"` // The speed the preset should be applied. 0 for 'use device default' PresetSpeed int32 `protobuf:"varint,4,opt,name=preset_speed,json=presetSpeed,proto3" json:"preset_speed,omitempty"` // contains filtered or unexported fields }
The current or intended state for the device
func (*Ptz) Descriptor
deprecated
func (*Ptz) GetMovement ¶
func (x *Ptz) GetMovement() *PtzMovement
func (*Ptz) GetPosition ¶
func (x *Ptz) GetPosition() *PtzPosition
func (*Ptz) GetPresetSpeed ¶
func (*Ptz) ProtoMessage ¶
func (*Ptz) ProtoMessage()
func (*Ptz) ProtoReflect ¶
func (x *Ptz) ProtoReflect() protoreflect.Message
type PtzApiClient ¶
type PtzApiClient interface { // Set the target state for the device GetPtz(ctx context.Context, in *GetPtzRequest, opts ...grpc.CallOption) (*Ptz, error) // Set the target state for the device UpdatePtz(ctx context.Context, in *UpdatePtzRequest, opts ...grpc.CallOption) (*Ptz, error) // Stop the device if it is extending or retracting, returns the current known state after stopping. Stop(ctx context.Context, in *StopPtzRequest, opts ...grpc.CallOption) (*Ptz, error) // Create a preset for the ptz position. If no preset ptz position is specified then use the current position CreatePreset(ctx context.Context, in *CreatePtzPresetRequest, opts ...grpc.CallOption) (*PtzPreset, error) // Get notified of changes to the OnOffState of a device PullPtz(ctx context.Context, in *PullPtzRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullPtzResponse], error) }
PtzApiClient is the client API for PtzApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Allows interaction with a pan-tilt-zoom device, typically a camera.
func NewPtzApiClient ¶
func NewPtzApiClient(cc grpc.ClientConnInterface) PtzApiClient
type PtzApiServer ¶
type PtzApiServer interface { // Set the target state for the device GetPtz(context.Context, *GetPtzRequest) (*Ptz, error) // Set the target state for the device UpdatePtz(context.Context, *UpdatePtzRequest) (*Ptz, error) // Stop the device if it is extending or retracting, returns the current known state after stopping. Stop(context.Context, *StopPtzRequest) (*Ptz, error) // Create a preset for the ptz position. If no preset ptz position is specified then use the current position CreatePreset(context.Context, *CreatePtzPresetRequest) (*PtzPreset, error) // Get notified of changes to the OnOffState of a device PullPtz(*PullPtzRequest, grpc.ServerStreamingServer[PullPtzResponse]) error // contains filtered or unexported methods }
PtzApiServer is the server API for PtzApi service. All implementations must embed UnimplementedPtzApiServer for forward compatibility.
Allows interaction with a pan-tilt-zoom device, typically a camera.
type PtzApi_PullPtzClient ¶
type PtzApi_PullPtzClient = grpc.ServerStreamingClient[PullPtzResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PtzApi_PullPtzServer ¶
type PtzApi_PullPtzServer = grpc.ServerStreamingServer[PullPtzResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PtzBounds ¶
type PtzBounds struct { Min *PtzVector `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` Max *PtzVector `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
The minimum and maximum values each of the PTZ vector axes can take.
func (*PtzBounds) Descriptor
deprecated
func (*PtzBounds) ProtoMessage ¶
func (*PtzBounds) ProtoMessage()
func (*PtzBounds) ProtoReflect ¶
func (x *PtzBounds) ProtoReflect() protoreflect.Message
type PtzInfoClient ¶
type PtzInfoClient interface { // Get information about how a named device implements Ptz features DescribePtz(ctx context.Context, in *DescribePtzRequest, opts ...grpc.CallOption) (*PtzSupport, error) }
PtzInfoClient is the client API for PtzInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewPtzInfoClient ¶
func NewPtzInfoClient(cc grpc.ClientConnInterface) PtzInfoClient
type PtzInfoServer ¶
type PtzInfoServer interface { // Get information about how a named device implements Ptz features DescribePtz(context.Context, *DescribePtzRequest) (*PtzSupport, error) // contains filtered or unexported methods }
PtzInfoServer is the server API for PtzInfo service. All implementations must embed UnimplementedPtzInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type PtzMovement ¶
type PtzMovement struct { // Which direction are we moving. Only the sign of the dimensions of the vector are used to denote direction of // movement Direction *PtzVector `protobuf:"bytes,1,opt,name=direction,proto3" json:"direction,omitempty"` // The speed at which the PTZ device should move. If not specified the device may ramp speed on its own Speed int32 `protobuf:"varint,2,opt,name=speed,proto3" json:"speed,omitempty"` // How the speed changes or should change over time. On write only duration should be set. SpeedTween *types.Tween `protobuf:"bytes,3,opt,name=speed_tween,json=speedTween,proto3" json:"speed_tween,omitempty"` // Read-only, the target speed value after a transition TargetSpeed int32 `protobuf:"varint,4,opt,name=target_speed,json=targetSpeed,proto3" json:"target_speed,omitempty"` // contains filtered or unexported fields }
A description of the movement for the PTZ device
func (*PtzMovement) Descriptor
deprecated
func (*PtzMovement) Descriptor() ([]byte, []int)
Deprecated: Use PtzMovement.ProtoReflect.Descriptor instead.
func (*PtzMovement) GetDirection ¶
func (x *PtzMovement) GetDirection() *PtzVector
func (*PtzMovement) GetSpeed ¶
func (x *PtzMovement) GetSpeed() int32
func (*PtzMovement) GetSpeedTween ¶
func (x *PtzMovement) GetSpeedTween() *types.Tween
func (*PtzMovement) GetTargetSpeed ¶
func (x *PtzMovement) GetTargetSpeed() int32
func (*PtzMovement) ProtoMessage ¶
func (*PtzMovement) ProtoMessage()
func (*PtzMovement) ProtoReflect ¶
func (x *PtzMovement) ProtoReflect() protoreflect.Message
func (*PtzMovement) Reset ¶
func (x *PtzMovement) Reset()
func (*PtzMovement) String ¶
func (x *PtzMovement) String() string
type PtzPosition ¶
type PtzPosition struct { // The current position. Position *PtzVector `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // How the position changes or should change over time. On write only duration should be set. Tween *types.Tween `protobuf:"bytes,2,opt,name=tween,proto3" json:"tween,omitempty"` // The target position that will be reached after the tween duration. TargetPosition *PtzVector `protobuf:"bytes,3,opt,name=target_position,json=targetPosition,proto3" json:"target_position,omitempty"` // contains filtered or unexported fields }
A description of the current position of the PTZ device.
func (*PtzPosition) Descriptor
deprecated
func (*PtzPosition) Descriptor() ([]byte, []int)
Deprecated: Use PtzPosition.ProtoReflect.Descriptor instead.
func (*PtzPosition) GetPosition ¶
func (x *PtzPosition) GetPosition() *PtzVector
func (*PtzPosition) GetTargetPosition ¶
func (x *PtzPosition) GetTargetPosition() *PtzVector
func (*PtzPosition) GetTween ¶
func (x *PtzPosition) GetTween() *types.Tween
func (*PtzPosition) ProtoMessage ¶
func (*PtzPosition) ProtoMessage()
func (*PtzPosition) ProtoReflect ¶
func (x *PtzPosition) ProtoReflect() protoreflect.Message
func (*PtzPosition) Reset ¶
func (x *PtzPosition) Reset()
func (*PtzPosition) String ¶
func (x *PtzPosition) String() string
type PtzPreset ¶
type PtzPreset struct { // Required. The name of the preset, to be used for recall. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Official human readable name for the preset Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional position of the preset Position *PtzVector `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` // Can this preset be stored via the api Writable bool `protobuf:"varint,5,opt,name=writable,proto3" json:"writable,omitempty"` // contains filtered or unexported fields }
Describes a preset that may be configured on the device
func (*PtzPreset) Descriptor
deprecated
func (*PtzPreset) GetDescription ¶
func (*PtzPreset) GetPosition ¶
func (*PtzPreset) GetWritable ¶
func (*PtzPreset) ProtoMessage ¶
func (*PtzPreset) ProtoMessage()
func (*PtzPreset) ProtoReflect ¶
func (x *PtzPreset) ProtoReflect() protoreflect.Message
type PtzSupport ¶
type PtzSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Can we ask the device to move to a specific position SupportsPosition bool `protobuf:"varint,2,opt,name=supports_position,json=supportsPosition,proto3" json:"supports_position,omitempty"` // Can we move the device without a target position in mind SupportsMovement bool `protobuf:"varint,3,opt,name=supports_movement,json=supportsMovement,proto3" json:"supports_movement,omitempty"` // A list of presets that the device has configured. If the list is empty and supports_custom_presets is false then // the device doesn't support presets Presets []*PtzPreset `protobuf:"bytes,4,rep,name=presets,proto3" json:"presets,omitempty"` // If true, custom preset names can be used to store ptz positions. If false only writable presets can be updated. SupportsCustomPresets bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
PtzSupport describes the capabilities of devices implementing this trait
func (*PtzSupport) Descriptor
deprecated
func (*PtzSupport) Descriptor() ([]byte, []int)
Deprecated: Use PtzSupport.ProtoReflect.Descriptor instead.
func (*PtzSupport) GetPresets ¶
func (x *PtzSupport) GetPresets() []*PtzPreset
func (*PtzSupport) GetResourceSupport ¶
func (x *PtzSupport) GetResourceSupport() *types.ResourceSupport
func (*PtzSupport) GetSupportsCustomPresets ¶
func (x *PtzSupport) GetSupportsCustomPresets() bool
func (*PtzSupport) GetSupportsMovement ¶
func (x *PtzSupport) GetSupportsMovement() bool
func (*PtzSupport) GetSupportsPosition ¶
func (x *PtzSupport) GetSupportsPosition() bool
func (*PtzSupport) ProtoMessage ¶
func (*PtzSupport) ProtoMessage()
func (*PtzSupport) ProtoReflect ¶
func (x *PtzSupport) ProtoReflect() protoreflect.Message
func (*PtzSupport) Reset ¶
func (x *PtzSupport) Reset()
func (*PtzSupport) String ¶
func (x *PtzSupport) String() string
type PtzVector ¶
type PtzVector struct { // left/right direction for movement or position. Positive values mean right, negative mean left when moving Pan float32 `protobuf:"fixed32,1,opt,name=pan,proto3" json:"pan,omitempty"` // up/down direction for movement or position. Positive values mean up, negative mean down when moving Tilt float32 `protobuf:"fixed32,2,opt,name=tilt,proto3" json:"tilt,omitempty"` // in/out direction for movement or zoom level. Positive values mean in, negative mean out when moving Zoom float32 `protobuf:"fixed32,3,opt,name=zoom,proto3" json:"zoom,omitempty"` // contains filtered or unexported fields }
Defines a value for the pan, tilt, and zoom of the device. This vector can represent a movement in a particular direction or a final position to aim for. If used for movement then the values should be positive or negative to represent the direction of movement. For absolute values the bounds attribute of the device are used as a guide.
All values are relative to the focus of the vector in the real world. For example for a camera, to move right means that the image captured by the camera show more on the right and less on the left of the image.
func (*PtzVector) Descriptor
deprecated
func (*PtzVector) ProtoMessage ¶
func (*PtzVector) ProtoMessage()
func (*PtzVector) ProtoReflect ¶
func (x *PtzVector) ProtoReflect() protoreflect.Message
type Publication ¶
type Publication struct { // An identifier for this publication. // Will be unique within the context of the device managing the publications. // The ID does not change between publication versions. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An opaque string used to distinguish between versions of the same publication. // Output only. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The body of this publication. // Can be any sequence of bytes from plain text, to binary content, to a serialised proto message. // It can also be empty. Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // todo: decide on a limit for the size of data, or document that it doesn't need one // An indication of who the publication is targeting. // Optional. // For example, if the publication represents configuration for a device, the audience would represent that device. Audience *Publication_Audience `protobuf:"bytes,4,opt,name=audience,proto3" json:"audience,omitempty"` // The time this version of the publication was published. // Output only. PublishTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // An indication of format of the data in body. // Optional. // The use of a [Media Type](https://www.iana.org/assignments/media-types) is recommended, but any value recognised by // both the server and client is acceptable. MediaType string `protobuf:"bytes,6,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"` // contains filtered or unexported fields }
Publication describes some data that can be published. While the content of the data is undefined, the metadata about data is described. A publication can be intended for a specific audience, either a device or some other concept. The audience for a publication is able to acknowledge that publication, indicating they have received it.
func (*Publication) Descriptor
deprecated
func (*Publication) Descriptor() ([]byte, []int)
Deprecated: Use Publication.ProtoReflect.Descriptor instead.
func (*Publication) GetAudience ¶
func (x *Publication) GetAudience() *Publication_Audience
func (*Publication) GetBody ¶
func (x *Publication) GetBody() []byte
func (*Publication) GetId ¶
func (x *Publication) GetId() string
func (*Publication) GetMediaType ¶
func (x *Publication) GetMediaType() string
func (*Publication) GetPublishTime ¶
func (x *Publication) GetPublishTime() *timestamppb.Timestamp
func (*Publication) GetVersion ¶
func (x *Publication) GetVersion() string
func (*Publication) ProtoMessage ¶
func (*Publication) ProtoMessage()
func (*Publication) ProtoReflect ¶
func (x *Publication) ProtoReflect() protoreflect.Message
func (*Publication) Reset ¶
func (x *Publication) Reset()
func (*Publication) String ¶
func (x *Publication) String() string
type PublicationApiClient ¶
type PublicationApiClient interface { // Create a new publication. // The returned Publication will include an id unique for this new publication within the named device. // Note that if you want to create a new version for an existing publication, use UpdatePublication. CreatePublication(ctx context.Context, in *CreatePublicationRequest, opts ...grpc.CallOption) (*Publication, error) // Get the contents and metadata for a publication identified by id. // If version is not provided, this returns the newest version. GetPublication(ctx context.Context, in *GetPublicationRequest, opts ...grpc.CallOption) (*Publication, error) // Update a publication by id. // The updated Publication will have a new version, publish time, and reset receipt properties. // If the request has a version then the device will compare it with its known version and fail to update if // they differ enabling multiple concurrent uses of this API. UpdatePublication(ctx context.Context, in *UpdatePublicationRequest, opts ...grpc.CallOption) (*Publication, error) // Delete a publication by id. // If the request has a version then the device will compare it with its known version and fail to delete if // they differ enabling multiple concurrent uses of this API. DeletePublication(ctx context.Context, in *DeletePublicationRequest, opts ...grpc.CallOption) (*Publication, error) // Subscribe to changes for a single publication. // The stream is closed if the publication is deleted. PullPublication(ctx context.Context, in *PullPublicationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullPublicationResponse], error) // List all publications available on the device. // The version returned for each publication will be the latest. ListPublications(ctx context.Context, in *ListPublicationsRequest, opts ...grpc.CallOption) (*ListPublicationsResponse, error) // Subscribe to changes in publications on the device. PullPublications(ctx context.Context, in *PullPublicationsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullPublicationsResponse], error) // Acknowledge the receipt of a publication. // This API should only be called when the audience for a publication has received that publication. // Typically the audience will call this method itself after a get or pull publication method returns a new version. AcknowledgePublication(ctx context.Context, in *AcknowledgePublicationRequest, opts ...grpc.CallOption) (*Publication, error) }
PublicationApiClient is the client API for PublicationApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The PublicationApi describes the capabilities of a device to manage and publish content. This could be used by a central device to publish configuration updates for other devices to receive. The primary resource of this trait is a collection of Publications. Publication comprises of some binary data and metadata surrounding the versioning and publication of that data.
func NewPublicationApiClient ¶
func NewPublicationApiClient(cc grpc.ClientConnInterface) PublicationApiClient
type PublicationApiServer ¶
type PublicationApiServer interface { // Create a new publication. // The returned Publication will include an id unique for this new publication within the named device. // Note that if you want to create a new version for an existing publication, use UpdatePublication. CreatePublication(context.Context, *CreatePublicationRequest) (*Publication, error) // Get the contents and metadata for a publication identified by id. // If version is not provided, this returns the newest version. GetPublication(context.Context, *GetPublicationRequest) (*Publication, error) // Update a publication by id. // The updated Publication will have a new version, publish time, and reset receipt properties. // If the request has a version then the device will compare it with its known version and fail to update if // they differ enabling multiple concurrent uses of this API. UpdatePublication(context.Context, *UpdatePublicationRequest) (*Publication, error) // Delete a publication by id. // If the request has a version then the device will compare it with its known version and fail to delete if // they differ enabling multiple concurrent uses of this API. DeletePublication(context.Context, *DeletePublicationRequest) (*Publication, error) // Subscribe to changes for a single publication. // The stream is closed if the publication is deleted. PullPublication(*PullPublicationRequest, grpc.ServerStreamingServer[PullPublicationResponse]) error // List all publications available on the device. // The version returned for each publication will be the latest. ListPublications(context.Context, *ListPublicationsRequest) (*ListPublicationsResponse, error) // Subscribe to changes in publications on the device. PullPublications(*PullPublicationsRequest, grpc.ServerStreamingServer[PullPublicationsResponse]) error // Acknowledge the receipt of a publication. // This API should only be called when the audience for a publication has received that publication. // Typically the audience will call this method itself after a get or pull publication method returns a new version. AcknowledgePublication(context.Context, *AcknowledgePublicationRequest) (*Publication, error) // contains filtered or unexported methods }
PublicationApiServer is the server API for PublicationApi service. All implementations must embed UnimplementedPublicationApiServer for forward compatibility.
The PublicationApi describes the capabilities of a device to manage and publish content. This could be used by a central device to publish configuration updates for other devices to receive. The primary resource of this trait is a collection of Publications. Publication comprises of some binary data and metadata surrounding the versioning and publication of that data.
type PublicationApi_PullPublicationClient ¶
type PublicationApi_PullPublicationClient = grpc.ServerStreamingClient[PullPublicationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PublicationApi_PullPublicationServer ¶
type PublicationApi_PullPublicationServer = grpc.ServerStreamingServer[PullPublicationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PublicationApi_PullPublicationsClient ¶
type PublicationApi_PullPublicationsClient = grpc.ServerStreamingClient[PullPublicationsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PublicationApi_PullPublicationsServer ¶
type PublicationApi_PullPublicationsServer = grpc.ServerStreamingServer[PullPublicationsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Publication_Audience ¶
type Publication_Audience struct { // The name of the device that is the audience for the publication. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An indication of whether the audience has received this publication. Receipt Publication_Audience_Receipt `protobuf:"varint,2,opt,name=receipt,proto3,enum=smartcore.traits.Publication_Audience_Receipt" json:"receipt,omitempty"` // A reason for a rejection of the publication by the audience. ReceiptRejectedReason string `` /* 126-byte string literal not displayed */ // A timestamp indicating when the audience acknowledged the publication. // Output only. // Populated using the servers time when AcknowledgePublication is called by the audience. ReceiptTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=receipt_time,json=receiptTime,proto3" json:"receipt_time,omitempty"` // contains filtered or unexported fields }
Audience describes who a publication is targeting. A publication audience is typically used when one device is responsible for managing the state of another device, for example holding configuration data. In this case DeviceA creates device configuration for DeviceB, DeviceB is the audience for that configuration publication. When a publication has an audience, it is useful to know when that third-party has received the publication, this is modelled as a receipt.
func (*Publication_Audience) Descriptor
deprecated
func (*Publication_Audience) Descriptor() ([]byte, []int)
Deprecated: Use Publication_Audience.ProtoReflect.Descriptor instead.
func (*Publication_Audience) GetName ¶
func (x *Publication_Audience) GetName() string
func (*Publication_Audience) GetReceipt ¶
func (x *Publication_Audience) GetReceipt() Publication_Audience_Receipt
func (*Publication_Audience) GetReceiptRejectedReason ¶
func (x *Publication_Audience) GetReceiptRejectedReason() string
func (*Publication_Audience) GetReceiptTime ¶
func (x *Publication_Audience) GetReceiptTime() *timestamppb.Timestamp
func (*Publication_Audience) ProtoMessage ¶
func (*Publication_Audience) ProtoMessage()
func (*Publication_Audience) ProtoReflect ¶
func (x *Publication_Audience) ProtoReflect() protoreflect.Message
func (*Publication_Audience) Reset ¶
func (x *Publication_Audience) Reset()
func (*Publication_Audience) String ¶
func (x *Publication_Audience) String() string
type Publication_Audience_Receipt ¶
type Publication_Audience_Receipt int32
Receipt defines the possible acceptance states for downstream audiences of this publication.
const ( Publication_Audience_RECEIPT_UNSPECIFIED Publication_Audience_Receipt = 0 Publication_Audience_NO_SIGNAL Publication_Audience_Receipt = 1 Publication_Audience_ACCEPTED Publication_Audience_Receipt = 2 Publication_Audience_REJECTED Publication_Audience_Receipt = 3 )
func (Publication_Audience_Receipt) Descriptor ¶
func (Publication_Audience_Receipt) Descriptor() protoreflect.EnumDescriptor
func (Publication_Audience_Receipt) Enum ¶
func (x Publication_Audience_Receipt) Enum() *Publication_Audience_Receipt
func (Publication_Audience_Receipt) EnumDescriptor
deprecated
func (Publication_Audience_Receipt) EnumDescriptor() ([]byte, []int)
Deprecated: Use Publication_Audience_Receipt.Descriptor instead.
func (Publication_Audience_Receipt) Number ¶
func (x Publication_Audience_Receipt) Number() protoreflect.EnumNumber
func (Publication_Audience_Receipt) String ¶
func (x Publication_Audience_Receipt) String() string
func (Publication_Audience_Receipt) Type ¶
func (Publication_Audience_Receipt) Type() protoreflect.EnumType
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 PullActiveModeRequest ¶
type PullActiveModeRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullActiveModeRequest) Descriptor
deprecated
func (*PullActiveModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullActiveModeRequest.ProtoReflect.Descriptor instead.
func (*PullActiveModeRequest) GetName ¶
func (x *PullActiveModeRequest) GetName() string
func (*PullActiveModeRequest) GetReadMask ¶
func (x *PullActiveModeRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullActiveModeRequest) GetUpdatesOnly ¶
func (x *PullActiveModeRequest) GetUpdatesOnly() bool
func (*PullActiveModeRequest) ProtoMessage ¶
func (*PullActiveModeRequest) ProtoMessage()
func (*PullActiveModeRequest) ProtoReflect ¶
func (x *PullActiveModeRequest) ProtoReflect() protoreflect.Message
func (*PullActiveModeRequest) Reset ¶
func (x *PullActiveModeRequest) Reset()
func (*PullActiveModeRequest) String ¶
func (x *PullActiveModeRequest) String() string
type PullActiveModeResponse ¶
type PullActiveModeResponse struct { // Changes since the last message Changes []*PullActiveModeResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullActiveModeResponse) Descriptor
deprecated
func (*PullActiveModeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullActiveModeResponse.ProtoReflect.Descriptor instead.
func (*PullActiveModeResponse) GetChanges ¶
func (x *PullActiveModeResponse) GetChanges() []*PullActiveModeResponse_Change
func (*PullActiveModeResponse) ProtoMessage ¶
func (*PullActiveModeResponse) ProtoMessage()
func (*PullActiveModeResponse) ProtoReflect ¶
func (x *PullActiveModeResponse) ProtoReflect() protoreflect.Message
func (*PullActiveModeResponse) Reset ¶
func (x *PullActiveModeResponse) Reset()
func (*PullActiveModeResponse) String ¶
func (x *PullActiveModeResponse) String() string
type PullActiveModeResponse_Change ¶
type PullActiveModeResponse_Change struct { // Name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the active mode ActiveMode *ElectricMode `protobuf:"bytes,3,opt,name=active_mode,json=activeMode,proto3" json:"active_mode,omitempty"` // contains filtered or unexported fields }
func (*PullActiveModeResponse_Change) Descriptor
deprecated
func (*PullActiveModeResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullActiveModeResponse_Change.ProtoReflect.Descriptor instead.
func (*PullActiveModeResponse_Change) GetActiveMode ¶
func (x *PullActiveModeResponse_Change) GetActiveMode() *ElectricMode
func (*PullActiveModeResponse_Change) GetChangeTime ¶
func (x *PullActiveModeResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullActiveModeResponse_Change) GetName ¶
func (x *PullActiveModeResponse_Change) GetName() string
func (*PullActiveModeResponse_Change) ProtoMessage ¶
func (*PullActiveModeResponse_Change) ProtoMessage()
func (*PullActiveModeResponse_Change) ProtoReflect ¶
func (x *PullActiveModeResponse_Change) ProtoReflect() protoreflect.Message
func (*PullActiveModeResponse_Change) Reset ¶
func (x *PullActiveModeResponse_Change) Reset()
func (*PullActiveModeResponse_Change) String ¶
func (x *PullActiveModeResponse_Change) String() string
type PullAirQualityRequest ¶
type PullAirQualityRequest struct { // The name of the device to request state from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to pull ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullAirQualityRequest) Descriptor
deprecated
func (*PullAirQualityRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAirQualityRequest.ProtoReflect.Descriptor instead.
func (*PullAirQualityRequest) GetName ¶
func (x *PullAirQualityRequest) GetName() string
func (*PullAirQualityRequest) GetReadMask ¶
func (x *PullAirQualityRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullAirQualityRequest) GetUpdatesOnly ¶
func (x *PullAirQualityRequest) GetUpdatesOnly() bool
func (*PullAirQualityRequest) ProtoMessage ¶
func (*PullAirQualityRequest) ProtoMessage()
func (*PullAirQualityRequest) ProtoReflect ¶
func (x *PullAirQualityRequest) ProtoReflect() protoreflect.Message
func (*PullAirQualityRequest) Reset ¶
func (x *PullAirQualityRequest) Reset()
func (*PullAirQualityRequest) String ¶
func (x *PullAirQualityRequest) String() string
type PullAirQualityResponse ¶
type PullAirQualityResponse struct { Changes []*PullAirQualityResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullAirQualityResponse) Descriptor
deprecated
func (*PullAirQualityResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAirQualityResponse.ProtoReflect.Descriptor instead.
func (*PullAirQualityResponse) GetChanges ¶
func (x *PullAirQualityResponse) GetChanges() []*PullAirQualityResponse_Change
func (*PullAirQualityResponse) ProtoMessage ¶
func (*PullAirQualityResponse) ProtoMessage()
func (*PullAirQualityResponse) ProtoReflect ¶
func (x *PullAirQualityResponse) ProtoReflect() protoreflect.Message
func (*PullAirQualityResponse) Reset ¶
func (x *PullAirQualityResponse) Reset()
func (*PullAirQualityResponse) String ¶
func (x *PullAirQualityResponse) String() string
type PullAirQualityResponse_Change ¶
type PullAirQualityResponse_Change struct { // The name of the device that has changed. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The time the change happened. ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new state of the sensor. Changed fields should be reported via the update_mask property. AirQuality *AirQuality `protobuf:"bytes,3,opt,name=air_quality,json=airQuality,proto3" json:"air_quality,omitempty"` // The state fields that have changed. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*PullAirQualityResponse_Change) Descriptor
deprecated
func (*PullAirQualityResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullAirQualityResponse_Change.ProtoReflect.Descriptor instead.
func (*PullAirQualityResponse_Change) GetAirQuality ¶
func (x *PullAirQualityResponse_Change) GetAirQuality() *AirQuality
func (*PullAirQualityResponse_Change) GetChangeTime ¶
func (x *PullAirQualityResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullAirQualityResponse_Change) GetName ¶
func (x *PullAirQualityResponse_Change) GetName() string
func (*PullAirQualityResponse_Change) GetUpdateMask ¶
func (x *PullAirQualityResponse_Change) GetUpdateMask() *fieldmaskpb.FieldMask
func (*PullAirQualityResponse_Change) ProtoMessage ¶
func (*PullAirQualityResponse_Change) ProtoMessage()
func (*PullAirQualityResponse_Change) ProtoReflect ¶
func (x *PullAirQualityResponse_Change) ProtoReflect() protoreflect.Message
func (*PullAirQualityResponse_Change) Reset ¶
func (x *PullAirQualityResponse_Change) Reset()
func (*PullAirQualityResponse_Change) String ¶
func (x *PullAirQualityResponse_Change) String() string
type PullAirTemperatureRequest ¶
type PullAirTemperatureRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
Request message for subscribing to changes in the devices state
func (*PullAirTemperatureRequest) Descriptor
deprecated
func (*PullAirTemperatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAirTemperatureRequest.ProtoReflect.Descriptor instead.
func (*PullAirTemperatureRequest) GetName ¶
func (x *PullAirTemperatureRequest) GetName() string
func (*PullAirTemperatureRequest) GetReadMask ¶
func (x *PullAirTemperatureRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullAirTemperatureRequest) GetUpdatesOnly ¶
func (x *PullAirTemperatureRequest) GetUpdatesOnly() bool
func (*PullAirTemperatureRequest) ProtoMessage ¶
func (*PullAirTemperatureRequest) ProtoMessage()
func (*PullAirTemperatureRequest) ProtoReflect ¶
func (x *PullAirTemperatureRequest) ProtoReflect() protoreflect.Message
func (*PullAirTemperatureRequest) Reset ¶
func (x *PullAirTemperatureRequest) Reset()
func (*PullAirTemperatureRequest) String ¶
func (x *PullAirTemperatureRequest) String() string
type PullAirTemperatureResponse ¶
type PullAirTemperatureResponse struct { Changes []*PullAirTemperatureResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
Response message enclosing device state changes
func (*PullAirTemperatureResponse) Descriptor
deprecated
func (*PullAirTemperatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAirTemperatureResponse.ProtoReflect.Descriptor instead.
func (*PullAirTemperatureResponse) GetChanges ¶
func (x *PullAirTemperatureResponse) GetChanges() []*PullAirTemperatureResponse_Change
func (*PullAirTemperatureResponse) ProtoMessage ¶
func (*PullAirTemperatureResponse) ProtoMessage()
func (*PullAirTemperatureResponse) ProtoReflect ¶
func (x *PullAirTemperatureResponse) ProtoReflect() protoreflect.Message
func (*PullAirTemperatureResponse) Reset ¶
func (x *PullAirTemperatureResponse) Reset()
func (*PullAirTemperatureResponse) String ¶
func (x *PullAirTemperatureResponse) String() string
type PullAirTemperatureResponse_Change ¶
type PullAirTemperatureResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the device state. Only changed fields will be set, should be merged with GetState full // response as required. AirTemperature *AirTemperature `protobuf:"bytes,3,opt,name=air_temperature,json=airTemperature,proto3" json:"air_temperature,omitempty"` // contains filtered or unexported fields }
func (*PullAirTemperatureResponse_Change) Descriptor
deprecated
func (*PullAirTemperatureResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullAirTemperatureResponse_Change.ProtoReflect.Descriptor instead.
func (*PullAirTemperatureResponse_Change) GetAirTemperature ¶
func (x *PullAirTemperatureResponse_Change) GetAirTemperature() *AirTemperature
func (*PullAirTemperatureResponse_Change) GetChangeTime ¶
func (x *PullAirTemperatureResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullAirTemperatureResponse_Change) GetName ¶
func (x *PullAirTemperatureResponse_Change) GetName() string
func (*PullAirTemperatureResponse_Change) ProtoMessage ¶
func (*PullAirTemperatureResponse_Change) ProtoMessage()
func (*PullAirTemperatureResponse_Change) ProtoReflect ¶
func (x *PullAirTemperatureResponse_Change) ProtoReflect() protoreflect.Message
func (*PullAirTemperatureResponse_Change) Reset ¶
func (x *PullAirTemperatureResponse_Change) Reset()
func (*PullAirTemperatureResponse_Change) String ¶
func (x *PullAirTemperatureResponse_Change) String() string
type PullAmbientBrightnessRequest ¶
type PullAmbientBrightnessRequest struct { // The name for the device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullAmbientBrightnessRequest) Descriptor
deprecated
func (*PullAmbientBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAmbientBrightnessRequest.ProtoReflect.Descriptor instead.
func (*PullAmbientBrightnessRequest) GetName ¶
func (x *PullAmbientBrightnessRequest) GetName() string
func (*PullAmbientBrightnessRequest) GetReadMask ¶
func (x *PullAmbientBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullAmbientBrightnessRequest) GetUpdatesOnly ¶
func (x *PullAmbientBrightnessRequest) GetUpdatesOnly() bool
func (*PullAmbientBrightnessRequest) ProtoMessage ¶
func (*PullAmbientBrightnessRequest) ProtoMessage()
func (*PullAmbientBrightnessRequest) ProtoReflect ¶
func (x *PullAmbientBrightnessRequest) ProtoReflect() protoreflect.Message
func (*PullAmbientBrightnessRequest) Reset ¶
func (x *PullAmbientBrightnessRequest) Reset()
func (*PullAmbientBrightnessRequest) String ¶
func (x *PullAmbientBrightnessRequest) String() string
type PullAmbientBrightnessResponse ¶
type PullAmbientBrightnessResponse struct { Changes []*PullAmbientBrightnessResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullAmbientBrightnessResponse) Descriptor
deprecated
func (*PullAmbientBrightnessResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAmbientBrightnessResponse.ProtoReflect.Descriptor instead.
func (*PullAmbientBrightnessResponse) GetChanges ¶
func (x *PullAmbientBrightnessResponse) GetChanges() []*PullAmbientBrightnessResponse_Change
func (*PullAmbientBrightnessResponse) ProtoMessage ¶
func (*PullAmbientBrightnessResponse) ProtoMessage()
func (*PullAmbientBrightnessResponse) ProtoReflect ¶
func (x *PullAmbientBrightnessResponse) ProtoReflect() protoreflect.Message
func (*PullAmbientBrightnessResponse) Reset ¶
func (x *PullAmbientBrightnessResponse) Reset()
func (*PullAmbientBrightnessResponse) String ¶
func (x *PullAmbientBrightnessResponse) String() string
type PullAmbientBrightnessResponse_Change ¶
type PullAmbientBrightnessResponse_Change struct { // The name for the device that changed Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AmbientBrightness *AmbientBrightness `protobuf:"bytes,2,opt,name=ambient_brightness,json=ambientBrightness,proto3" json:"ambient_brightness,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullAmbientBrightnessResponse_Change) Descriptor
deprecated
func (*PullAmbientBrightnessResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullAmbientBrightnessResponse_Change.ProtoReflect.Descriptor instead.
func (*PullAmbientBrightnessResponse_Change) GetAmbientBrightness ¶
func (x *PullAmbientBrightnessResponse_Change) GetAmbientBrightness() *AmbientBrightness
func (*PullAmbientBrightnessResponse_Change) GetChangeTime ¶
func (x *PullAmbientBrightnessResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullAmbientBrightnessResponse_Change) GetName ¶
func (x *PullAmbientBrightnessResponse_Change) GetName() string
func (*PullAmbientBrightnessResponse_Change) ProtoMessage ¶
func (*PullAmbientBrightnessResponse_Change) ProtoMessage()
func (*PullAmbientBrightnessResponse_Change) ProtoReflect ¶
func (x *PullAmbientBrightnessResponse_Change) ProtoReflect() protoreflect.Message
func (*PullAmbientBrightnessResponse_Change) Reset ¶
func (x *PullAmbientBrightnessResponse_Change) Reset()
func (*PullAmbientBrightnessResponse_Change) String ¶
func (x *PullAmbientBrightnessResponse_Change) String() string
type PullBookingsResponse ¶
type PullBookingsResponse struct { // the list of changes which have occurred Changes []*PullBookingsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullBookingsResponse) Descriptor
deprecated
func (*PullBookingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullBookingsResponse.ProtoReflect.Descriptor instead.
func (*PullBookingsResponse) GetChanges ¶
func (x *PullBookingsResponse) GetChanges() []*PullBookingsResponse_Change
func (*PullBookingsResponse) ProtoMessage ¶
func (*PullBookingsResponse) ProtoMessage()
func (*PullBookingsResponse) ProtoReflect ¶
func (x *PullBookingsResponse) ProtoReflect() protoreflect.Message
func (*PullBookingsResponse) Reset ¶
func (x *PullBookingsResponse) Reset()
func (*PullBookingsResponse) String ¶
func (x *PullBookingsResponse) String() string
type PullBookingsResponse_Change ¶
type PullBookingsResponse_Change struct { // the name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // the new value to use for ADD|UPDATE changes NewValue *Booking `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // the old value to use for UPDATE|REMOVE changes OldValue *Booking `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullBookingsResponse_Change) Descriptor
deprecated
func (*PullBookingsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullBookingsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullBookingsResponse_Change) GetChangeTime ¶
func (x *PullBookingsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullBookingsResponse_Change) GetName ¶
func (x *PullBookingsResponse_Change) GetName() string
func (*PullBookingsResponse_Change) GetNewValue ¶
func (x *PullBookingsResponse_Change) GetNewValue() *Booking
func (*PullBookingsResponse_Change) GetOldValue ¶
func (x *PullBookingsResponse_Change) GetOldValue() *Booking
func (*PullBookingsResponse_Change) GetType ¶
func (x *PullBookingsResponse_Change) GetType() types.ChangeType
func (*PullBookingsResponse_Change) ProtoMessage ¶
func (*PullBookingsResponse_Change) ProtoMessage()
func (*PullBookingsResponse_Change) ProtoReflect ¶
func (x *PullBookingsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullBookingsResponse_Change) Reset ¶
func (x *PullBookingsResponse_Change) Reset()
func (*PullBookingsResponse_Change) String ¶
func (x *PullBookingsResponse_Change) String() string
type PullBrightnessRequest ¶
type PullBrightnessRequest struct { // The name of the device we want events from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicate whether we want to be notified of values while ramping or not. The device may ignore this depending on // capabilities ExcludeRamping bool `protobuf:"varint,2,opt,name=exclude_ramping,json=excludeRamping,proto3" json:"exclude_ramping,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
Request to begin a subscription for brightness values
func (*PullBrightnessRequest) Descriptor
deprecated
func (*PullBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullBrightnessRequest.ProtoReflect.Descriptor instead.
func (*PullBrightnessRequest) GetExcludeRamping ¶
func (x *PullBrightnessRequest) GetExcludeRamping() bool
func (*PullBrightnessRequest) GetName ¶
func (x *PullBrightnessRequest) GetName() string
func (*PullBrightnessRequest) GetReadMask ¶
func (x *PullBrightnessRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullBrightnessRequest) GetUpdatesOnly ¶
func (x *PullBrightnessRequest) GetUpdatesOnly() bool
func (*PullBrightnessRequest) ProtoMessage ¶
func (*PullBrightnessRequest) ProtoMessage()
func (*PullBrightnessRequest) ProtoReflect ¶
func (x *PullBrightnessRequest) ProtoReflect() protoreflect.Message
func (*PullBrightnessRequest) Reset ¶
func (x *PullBrightnessRequest) Reset()
func (*PullBrightnessRequest) String ¶
func (x *PullBrightnessRequest) String() string
type PullBrightnessResponse ¶
type PullBrightnessResponse struct { // The list of changes Changes []*PullBrightnessResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
A response as part of the stream of changes to the brightness value
func (*PullBrightnessResponse) Descriptor
deprecated
func (*PullBrightnessResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullBrightnessResponse.ProtoReflect.Descriptor instead.
func (*PullBrightnessResponse) GetChanges ¶
func (x *PullBrightnessResponse) GetChanges() []*PullBrightnessResponse_Change
func (*PullBrightnessResponse) ProtoMessage ¶
func (*PullBrightnessResponse) ProtoMessage()
func (*PullBrightnessResponse) ProtoReflect ¶
func (x *PullBrightnessResponse) ProtoReflect() protoreflect.Message
func (*PullBrightnessResponse) Reset ¶
func (x *PullBrightnessResponse) Reset()
func (*PullBrightnessResponse) String ¶
func (x *PullBrightnessResponse) String() string
type PullBrightnessResponse_Change ¶
type PullBrightnessResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the brightness Brightness *Brightness `protobuf:"bytes,3,opt,name=brightness,proto3" json:"brightness,omitempty"` // contains filtered or unexported fields }
A change to a single devices brightness value
func (*PullBrightnessResponse_Change) Descriptor
deprecated
func (*PullBrightnessResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullBrightnessResponse_Change.ProtoReflect.Descriptor instead.
func (*PullBrightnessResponse_Change) GetBrightness ¶
func (x *PullBrightnessResponse_Change) GetBrightness() *Brightness
func (*PullBrightnessResponse_Change) GetChangeTime ¶
func (x *PullBrightnessResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullBrightnessResponse_Change) GetName ¶
func (x *PullBrightnessResponse_Change) GetName() string
func (*PullBrightnessResponse_Change) ProtoMessage ¶
func (*PullBrightnessResponse_Change) ProtoMessage()
func (*PullBrightnessResponse_Change) ProtoReflect ¶
func (x *PullBrightnessResponse_Change) ProtoReflect() protoreflect.Message
func (*PullBrightnessResponse_Change) Reset ¶
func (x *PullBrightnessResponse_Change) Reset()
func (*PullBrightnessResponse_Change) String ¶
func (x *PullBrightnessResponse_Change) String() string
type PullChildrenRequest ¶
type PullChildrenRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullChildrenRequest) Descriptor
deprecated
func (*PullChildrenRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullChildrenRequest.ProtoReflect.Descriptor instead.
func (*PullChildrenRequest) GetName ¶
func (x *PullChildrenRequest) GetName() string
func (*PullChildrenRequest) GetReadMask ¶
func (x *PullChildrenRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullChildrenRequest) GetUpdatesOnly ¶
func (x *PullChildrenRequest) GetUpdatesOnly() bool
func (*PullChildrenRequest) ProtoMessage ¶
func (*PullChildrenRequest) ProtoMessage()
func (*PullChildrenRequest) ProtoReflect ¶
func (x *PullChildrenRequest) ProtoReflect() protoreflect.Message
func (*PullChildrenRequest) Reset ¶
func (x *PullChildrenRequest) Reset()
func (*PullChildrenRequest) String ¶
func (x *PullChildrenRequest) String() string
type PullChildrenResponse ¶
type PullChildrenResponse struct { // The list of changes which have occurred Changes []*PullChildrenResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullChildrenResponse) Descriptor
deprecated
func (*PullChildrenResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullChildrenResponse.ProtoReflect.Descriptor instead.
func (*PullChildrenResponse) GetChanges ¶
func (x *PullChildrenResponse) GetChanges() []*PullChildrenResponse_Change
func (*PullChildrenResponse) ProtoMessage ¶
func (*PullChildrenResponse) ProtoMessage()
func (*PullChildrenResponse) ProtoReflect ¶
func (x *PullChildrenResponse) ProtoReflect() protoreflect.Message
func (*PullChildrenResponse) Reset ¶
func (x *PullChildrenResponse) Reset()
func (*PullChildrenResponse) String ¶
func (x *PullChildrenResponse) String() string
type PullChildrenResponse_Change ¶
type PullChildrenResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *Child `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *Child `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullChildrenResponse_Change) Descriptor
deprecated
func (*PullChildrenResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullChildrenResponse_Change.ProtoReflect.Descriptor instead.
func (*PullChildrenResponse_Change) GetChangeTime ¶
func (x *PullChildrenResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullChildrenResponse_Change) GetName ¶
func (x *PullChildrenResponse_Change) GetName() string
func (*PullChildrenResponse_Change) GetNewValue ¶
func (x *PullChildrenResponse_Change) GetNewValue() *Child
func (*PullChildrenResponse_Change) GetOldValue ¶
func (x *PullChildrenResponse_Change) GetOldValue() *Child
func (*PullChildrenResponse_Change) GetType ¶
func (x *PullChildrenResponse_Change) GetType() types.ChangeType
func (*PullChildrenResponse_Change) ProtoMessage ¶
func (*PullChildrenResponse_Change) ProtoMessage()
func (*PullChildrenResponse_Change) ProtoReflect ¶
func (x *PullChildrenResponse_Change) ProtoReflect() protoreflect.Message
func (*PullChildrenResponse_Change) Reset ¶
func (x *PullChildrenResponse_Change) Reset()
func (*PullChildrenResponse_Change) String ¶
func (x *PullChildrenResponse_Change) String() string
type PullChosenChannelRequest ¶
type PullChosenChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullChosenChannelRequest) Descriptor
deprecated
func (*PullChosenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullChosenChannelRequest.ProtoReflect.Descriptor instead.
func (*PullChosenChannelRequest) GetName ¶
func (x *PullChosenChannelRequest) GetName() string
func (*PullChosenChannelRequest) GetReadMask ¶
func (x *PullChosenChannelRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullChosenChannelRequest) GetUpdatesOnly ¶
func (x *PullChosenChannelRequest) GetUpdatesOnly() bool
func (*PullChosenChannelRequest) ProtoMessage ¶
func (*PullChosenChannelRequest) ProtoMessage()
func (*PullChosenChannelRequest) ProtoReflect ¶
func (x *PullChosenChannelRequest) ProtoReflect() protoreflect.Message
func (*PullChosenChannelRequest) Reset ¶
func (x *PullChosenChannelRequest) Reset()
func (*PullChosenChannelRequest) String ¶
func (x *PullChosenChannelRequest) String() string
type PullChosenChannelResponse ¶
type PullChosenChannelResponse struct { Changes []*PullChosenChannelResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullChosenChannelResponse) Descriptor
deprecated
func (*PullChosenChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullChosenChannelResponse.ProtoReflect.Descriptor instead.
func (*PullChosenChannelResponse) GetChanges ¶
func (x *PullChosenChannelResponse) GetChanges() []*PullChosenChannelResponse_Change
func (*PullChosenChannelResponse) ProtoMessage ¶
func (*PullChosenChannelResponse) ProtoMessage()
func (*PullChosenChannelResponse) ProtoReflect ¶
func (x *PullChosenChannelResponse) ProtoReflect() protoreflect.Message
func (*PullChosenChannelResponse) Reset ¶
func (x *PullChosenChannelResponse) Reset()
func (*PullChosenChannelResponse) String ¶
func (x *PullChosenChannelResponse) String() string
type PullChosenChannelResponse_Change ¶
type PullChosenChannelResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new chosen channel ChosenChannel *Channel `protobuf:"bytes,3,opt,name=chosen_channel,json=chosenChannel,proto3" json:"chosen_channel,omitempty"` // contains filtered or unexported fields }
func (*PullChosenChannelResponse_Change) Descriptor
deprecated
func (*PullChosenChannelResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullChosenChannelResponse_Change.ProtoReflect.Descriptor instead.
func (*PullChosenChannelResponse_Change) GetChangeTime ¶
func (x *PullChosenChannelResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullChosenChannelResponse_Change) GetChosenChannel ¶
func (x *PullChosenChannelResponse_Change) GetChosenChannel() *Channel
func (*PullChosenChannelResponse_Change) GetName ¶
func (x *PullChosenChannelResponse_Change) GetName() string
func (*PullChosenChannelResponse_Change) ProtoMessage ¶
func (*PullChosenChannelResponse_Change) ProtoMessage()
func (*PullChosenChannelResponse_Change) ProtoReflect ¶
func (x *PullChosenChannelResponse_Change) ProtoReflect() protoreflect.Message
func (*PullChosenChannelResponse_Change) Reset ¶
func (x *PullChosenChannelResponse_Change) Reset()
func (*PullChosenChannelResponse_Change) String ¶
func (x *PullChosenChannelResponse_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 PullConsumablesRequest ¶
type PullConsumablesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Consumable type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullConsumablesRequest) Descriptor
deprecated
func (*PullConsumablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullConsumablesRequest.ProtoReflect.Descriptor instead.
func (*PullConsumablesRequest) GetName ¶
func (x *PullConsumablesRequest) GetName() string
func (*PullConsumablesRequest) GetReadMask ¶
func (x *PullConsumablesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullConsumablesRequest) GetUpdatesOnly ¶
func (x *PullConsumablesRequest) GetUpdatesOnly() bool
func (*PullConsumablesRequest) ProtoMessage ¶
func (*PullConsumablesRequest) ProtoMessage()
func (*PullConsumablesRequest) ProtoReflect ¶
func (x *PullConsumablesRequest) ProtoReflect() protoreflect.Message
func (*PullConsumablesRequest) Reset ¶
func (x *PullConsumablesRequest) Reset()
func (*PullConsumablesRequest) String ¶
func (x *PullConsumablesRequest) String() string
type PullConsumablesResponse ¶
type PullConsumablesResponse struct { // The list of changes which have occurred Changes []*PullConsumablesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullConsumablesResponse) Descriptor
deprecated
func (*PullConsumablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullConsumablesResponse.ProtoReflect.Descriptor instead.
func (*PullConsumablesResponse) GetChanges ¶
func (x *PullConsumablesResponse) GetChanges() []*PullConsumablesResponse_Change
func (*PullConsumablesResponse) ProtoMessage ¶
func (*PullConsumablesResponse) ProtoMessage()
func (*PullConsumablesResponse) ProtoReflect ¶
func (x *PullConsumablesResponse) ProtoReflect() protoreflect.Message
func (*PullConsumablesResponse) Reset ¶
func (x *PullConsumablesResponse) Reset()
func (*PullConsumablesResponse) String ¶
func (x *PullConsumablesResponse) String() string
type PullConsumablesResponse_Change ¶
type PullConsumablesResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *Consumable `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *Consumable `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullConsumablesResponse_Change) Descriptor
deprecated
func (*PullConsumablesResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullConsumablesResponse_Change.ProtoReflect.Descriptor instead.
func (*PullConsumablesResponse_Change) GetChangeTime ¶
func (x *PullConsumablesResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullConsumablesResponse_Change) GetName ¶
func (x *PullConsumablesResponse_Change) GetName() string
func (*PullConsumablesResponse_Change) GetNewValue ¶
func (x *PullConsumablesResponse_Change) GetNewValue() *Consumable
func (*PullConsumablesResponse_Change) GetOldValue ¶
func (x *PullConsumablesResponse_Change) GetOldValue() *Consumable
func (*PullConsumablesResponse_Change) GetType ¶
func (x *PullConsumablesResponse_Change) GetType() types.ChangeType
func (*PullConsumablesResponse_Change) ProtoMessage ¶
func (*PullConsumablesResponse_Change) ProtoMessage()
func (*PullConsumablesResponse_Change) ProtoReflect ¶
func (x *PullConsumablesResponse_Change) ProtoReflect() protoreflect.Message
func (*PullConsumablesResponse_Change) Reset ¶
func (x *PullConsumablesResponse_Change) Reset()
func (*PullConsumablesResponse_Change) String ¶
func (x *PullConsumablesResponse_Change) String() string
type PullCountsRequest ¶
type PullCountsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullCountsRequest) Descriptor
deprecated
func (*PullCountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullCountsRequest.ProtoReflect.Descriptor instead.
func (*PullCountsRequest) GetName ¶
func (x *PullCountsRequest) GetName() string
func (*PullCountsRequest) GetReadMask ¶
func (x *PullCountsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullCountsRequest) GetUpdatesOnly ¶
func (x *PullCountsRequest) GetUpdatesOnly() bool
func (*PullCountsRequest) ProtoMessage ¶
func (*PullCountsRequest) ProtoMessage()
func (*PullCountsRequest) ProtoReflect ¶
func (x *PullCountsRequest) ProtoReflect() protoreflect.Message
func (*PullCountsRequest) Reset ¶
func (x *PullCountsRequest) Reset()
func (*PullCountsRequest) String ¶
func (x *PullCountsRequest) String() string
type PullCountsResponse ¶
type PullCountsResponse struct { Changes []*PullCountsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullCountsResponse) Descriptor
deprecated
func (*PullCountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullCountsResponse.ProtoReflect.Descriptor instead.
func (*PullCountsResponse) GetChanges ¶
func (x *PullCountsResponse) GetChanges() []*PullCountsResponse_Change
func (*PullCountsResponse) ProtoMessage ¶
func (*PullCountsResponse) ProtoMessage()
func (*PullCountsResponse) ProtoReflect ¶
func (x *PullCountsResponse) ProtoReflect() protoreflect.Message
func (*PullCountsResponse) Reset ¶
func (x *PullCountsResponse) Reset()
func (*PullCountsResponse) String ¶
func (x *PullCountsResponse) String() string
type PullCountsResponse_Change ¶
type PullCountsResponse_Change struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count *Count `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullCountsResponse_Change) Descriptor
deprecated
func (*PullCountsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullCountsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullCountsResponse_Change) GetChangeTime ¶
func (x *PullCountsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullCountsResponse_Change) GetCount ¶
func (x *PullCountsResponse_Change) GetCount() *Count
func (*PullCountsResponse_Change) GetName ¶
func (x *PullCountsResponse_Change) GetName() string
func (*PullCountsResponse_Change) ProtoMessage ¶
func (*PullCountsResponse_Change) ProtoMessage()
func (*PullCountsResponse_Change) ProtoReflect ¶
func (x *PullCountsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullCountsResponse_Change) Reset ¶
func (x *PullCountsResponse_Change) Reset()
func (*PullCountsResponse_Change) String ¶
func (x *PullCountsResponse_Change) String() string
type PullDemandRequest ¶
type PullDemandRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricDemand type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullDemandRequest) Descriptor
deprecated
func (*PullDemandRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullDemandRequest.ProtoReflect.Descriptor instead.
func (*PullDemandRequest) GetName ¶
func (x *PullDemandRequest) GetName() string
func (*PullDemandRequest) GetReadMask ¶
func (x *PullDemandRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullDemandRequest) GetUpdatesOnly ¶
func (x *PullDemandRequest) GetUpdatesOnly() bool
func (*PullDemandRequest) ProtoMessage ¶
func (*PullDemandRequest) ProtoMessage()
func (*PullDemandRequest) ProtoReflect ¶
func (x *PullDemandRequest) ProtoReflect() protoreflect.Message
func (*PullDemandRequest) Reset ¶
func (x *PullDemandRequest) Reset()
func (*PullDemandRequest) String ¶
func (x *PullDemandRequest) String() string
type PullDemandResponse ¶
type PullDemandResponse struct { // Changes since the last message. Changes []*PullDemandResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullDemandResponse) Descriptor
deprecated
func (*PullDemandResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullDemandResponse.ProtoReflect.Descriptor instead.
func (*PullDemandResponse) GetChanges ¶
func (x *PullDemandResponse) GetChanges() []*PullDemandResponse_Change
func (*PullDemandResponse) ProtoMessage ¶
func (*PullDemandResponse) ProtoMessage()
func (*PullDemandResponse) ProtoReflect ¶
func (x *PullDemandResponse) ProtoReflect() protoreflect.Message
func (*PullDemandResponse) Reset ¶
func (x *PullDemandResponse) Reset()
func (*PullDemandResponse) String ¶
func (x *PullDemandResponse) String() string
type PullDemandResponse_Change ¶
type PullDemandResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the current demand. Demand *ElectricDemand `protobuf:"bytes,3,opt,name=demand,proto3" json:"demand,omitempty"` // contains filtered or unexported fields }
func (*PullDemandResponse_Change) Descriptor
deprecated
func (*PullDemandResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullDemandResponse_Change.ProtoReflect.Descriptor instead.
func (*PullDemandResponse_Change) GetChangeTime ¶
func (x *PullDemandResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullDemandResponse_Change) GetDemand ¶
func (x *PullDemandResponse_Change) GetDemand() *ElectricDemand
func (*PullDemandResponse_Change) GetName ¶
func (x *PullDemandResponse_Change) GetName() string
func (*PullDemandResponse_Change) ProtoMessage ¶
func (*PullDemandResponse_Change) ProtoMessage()
func (*PullDemandResponse_Change) ProtoReflect ¶
func (x *PullDemandResponse_Change) ProtoReflect() protoreflect.Message
func (*PullDemandResponse_Change) Reset ¶
func (x *PullDemandResponse_Change) Reset()
func (*PullDemandResponse_Change) String ¶
func (x *PullDemandResponse_Change) String() string
type PullEmergencyRequest ¶
type PullEmergencyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullEmergencyRequest) Descriptor
deprecated
func (*PullEmergencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullEmergencyRequest.ProtoReflect.Descriptor instead.
func (*PullEmergencyRequest) GetName ¶
func (x *PullEmergencyRequest) GetName() string
func (*PullEmergencyRequest) GetReadMask ¶
func (x *PullEmergencyRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullEmergencyRequest) GetUpdatesOnly ¶
func (x *PullEmergencyRequest) GetUpdatesOnly() bool
func (*PullEmergencyRequest) ProtoMessage ¶
func (*PullEmergencyRequest) ProtoMessage()
func (*PullEmergencyRequest) ProtoReflect ¶
func (x *PullEmergencyRequest) ProtoReflect() protoreflect.Message
func (*PullEmergencyRequest) Reset ¶
func (x *PullEmergencyRequest) Reset()
func (*PullEmergencyRequest) String ¶
func (x *PullEmergencyRequest) String() string
type PullEmergencyResponse ¶
type PullEmergencyResponse struct { Changes []*PullEmergencyResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullEmergencyResponse) Descriptor
deprecated
func (*PullEmergencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullEmergencyResponse.ProtoReflect.Descriptor instead.
func (*PullEmergencyResponse) GetChanges ¶
func (x *PullEmergencyResponse) GetChanges() []*PullEmergencyResponse_Change
func (*PullEmergencyResponse) ProtoMessage ¶
func (*PullEmergencyResponse) ProtoMessage()
func (*PullEmergencyResponse) ProtoReflect ¶
func (x *PullEmergencyResponse) ProtoReflect() protoreflect.Message
func (*PullEmergencyResponse) Reset ¶
func (x *PullEmergencyResponse) Reset()
func (*PullEmergencyResponse) String ¶
func (x *PullEmergencyResponse) String() string
type PullEmergencyResponse_Change ¶
type PullEmergencyResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the emergency. Emergency *Emergency `protobuf:"bytes,3,opt,name=emergency,proto3" json:"emergency,omitempty"` // contains filtered or unexported fields }
func (*PullEmergencyResponse_Change) Descriptor
deprecated
func (*PullEmergencyResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullEmergencyResponse_Change.ProtoReflect.Descriptor instead.
func (*PullEmergencyResponse_Change) GetChangeTime ¶
func (x *PullEmergencyResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullEmergencyResponse_Change) GetEmergency ¶
func (x *PullEmergencyResponse_Change) GetEmergency() *Emergency
func (*PullEmergencyResponse_Change) GetName ¶
func (x *PullEmergencyResponse_Change) GetName() string
func (*PullEmergencyResponse_Change) ProtoMessage ¶
func (*PullEmergencyResponse_Change) ProtoMessage()
func (*PullEmergencyResponse_Change) ProtoReflect ¶
func (x *PullEmergencyResponse_Change) ProtoReflect() protoreflect.Message
func (*PullEmergencyResponse_Change) Reset ¶
func (x *PullEmergencyResponse_Change) Reset()
func (*PullEmergencyResponse_Change) String ¶
func (x *PullEmergencyResponse_Change) String() string
type PullEnergyLevelRequest ¶
type PullEnergyLevelRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the EnergyLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullEnergyLevelRequest) Descriptor
deprecated
func (*PullEnergyLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullEnergyLevelRequest.ProtoReflect.Descriptor instead.
func (*PullEnergyLevelRequest) GetName ¶
func (x *PullEnergyLevelRequest) GetName() string
func (*PullEnergyLevelRequest) GetReadMask ¶
func (x *PullEnergyLevelRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullEnergyLevelRequest) GetUpdatesOnly ¶
func (x *PullEnergyLevelRequest) GetUpdatesOnly() bool
func (*PullEnergyLevelRequest) ProtoMessage ¶
func (*PullEnergyLevelRequest) ProtoMessage()
func (*PullEnergyLevelRequest) ProtoReflect ¶
func (x *PullEnergyLevelRequest) ProtoReflect() protoreflect.Message
func (*PullEnergyLevelRequest) Reset ¶
func (x *PullEnergyLevelRequest) Reset()
func (*PullEnergyLevelRequest) String ¶
func (x *PullEnergyLevelRequest) String() string
type PullEnergyLevelResponse ¶
type PullEnergyLevelResponse struct { // Changes since the last message Changes []*PullEnergyLevelResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullEnergyLevelResponse) Descriptor
deprecated
func (*PullEnergyLevelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullEnergyLevelResponse.ProtoReflect.Descriptor instead.
func (*PullEnergyLevelResponse) GetChanges ¶
func (x *PullEnergyLevelResponse) GetChanges() []*PullEnergyLevelResponse_Change
func (*PullEnergyLevelResponse) ProtoMessage ¶
func (*PullEnergyLevelResponse) ProtoMessage()
func (*PullEnergyLevelResponse) ProtoReflect ¶
func (x *PullEnergyLevelResponse) ProtoReflect() protoreflect.Message
func (*PullEnergyLevelResponse) Reset ¶
func (x *PullEnergyLevelResponse) Reset()
func (*PullEnergyLevelResponse) String ¶
func (x *PullEnergyLevelResponse) String() string
type PullEnergyLevelResponse_Change ¶
type PullEnergyLevelResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the energy level EnergyLevel *EnergyLevel `protobuf:"bytes,3,opt,name=energy_level,json=energyLevel,proto3" json:"energy_level,omitempty"` // contains filtered or unexported fields }
func (*PullEnergyLevelResponse_Change) Descriptor
deprecated
func (*PullEnergyLevelResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullEnergyLevelResponse_Change.ProtoReflect.Descriptor instead.
func (*PullEnergyLevelResponse_Change) GetChangeTime ¶
func (x *PullEnergyLevelResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullEnergyLevelResponse_Change) GetEnergyLevel ¶
func (x *PullEnergyLevelResponse_Change) GetEnergyLevel() *EnergyLevel
func (*PullEnergyLevelResponse_Change) GetName ¶
func (x *PullEnergyLevelResponse_Change) GetName() string
func (*PullEnergyLevelResponse_Change) ProtoMessage ¶
func (*PullEnergyLevelResponse_Change) ProtoMessage()
func (*PullEnergyLevelResponse_Change) ProtoReflect ¶
func (x *PullEnergyLevelResponse_Change) ProtoReflect() protoreflect.Message
func (*PullEnergyLevelResponse_Change) Reset ¶
func (x *PullEnergyLevelResponse_Change) Reset()
func (*PullEnergyLevelResponse_Change) String ¶
func (x *PullEnergyLevelResponse_Change) String() string
type PullEnterLeaveEventsRequest ¶
type PullEnterLeaveEventsRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the EnterLeaveEvent type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // If true, only updates to the state will be returned. // The first event sent when false will be equivalent to GetEnterLeaveEvent, direction will be unspecified. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullEnterLeaveEventsRequest) Descriptor
deprecated
func (*PullEnterLeaveEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullEnterLeaveEventsRequest.ProtoReflect.Descriptor instead.
func (*PullEnterLeaveEventsRequest) GetName ¶
func (x *PullEnterLeaveEventsRequest) GetName() string
func (*PullEnterLeaveEventsRequest) GetReadMask ¶
func (x *PullEnterLeaveEventsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullEnterLeaveEventsRequest) GetUpdatesOnly ¶
func (x *PullEnterLeaveEventsRequest) GetUpdatesOnly() bool
func (*PullEnterLeaveEventsRequest) ProtoMessage ¶
func (*PullEnterLeaveEventsRequest) ProtoMessage()
func (*PullEnterLeaveEventsRequest) ProtoReflect ¶
func (x *PullEnterLeaveEventsRequest) ProtoReflect() protoreflect.Message
func (*PullEnterLeaveEventsRequest) Reset ¶
func (x *PullEnterLeaveEventsRequest) Reset()
func (*PullEnterLeaveEventsRequest) String ¶
func (x *PullEnterLeaveEventsRequest) String() string
type PullEnterLeaveEventsResponse ¶
type PullEnterLeaveEventsResponse struct { // The list of changes Changes []*PullEnterLeaveEventsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullEnterLeaveEventsResponse) Descriptor
deprecated
func (*PullEnterLeaveEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullEnterLeaveEventsResponse.ProtoReflect.Descriptor instead.
func (*PullEnterLeaveEventsResponse) GetChanges ¶
func (x *PullEnterLeaveEventsResponse) GetChanges() []*PullEnterLeaveEventsResponse_Change
func (*PullEnterLeaveEventsResponse) ProtoMessage ¶
func (*PullEnterLeaveEventsResponse) ProtoMessage()
func (*PullEnterLeaveEventsResponse) ProtoReflect ¶
func (x *PullEnterLeaveEventsResponse) ProtoReflect() protoreflect.Message
func (*PullEnterLeaveEventsResponse) Reset ¶
func (x *PullEnterLeaveEventsResponse) Reset()
func (*PullEnterLeaveEventsResponse) String ¶
func (x *PullEnterLeaveEventsResponse) String() string
type PullEnterLeaveEventsResponse_Change ¶
type PullEnterLeaveEventsResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the state EnterLeaveEvent *EnterLeaveEvent `protobuf:"bytes,3,opt,name=enter_leave_event,json=enterLeaveEvent,proto3" json:"enter_leave_event,omitempty"` // contains filtered or unexported fields }
A change, i.e. a new event, has been recorded.
func (*PullEnterLeaveEventsResponse_Change) Descriptor
deprecated
func (*PullEnterLeaveEventsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullEnterLeaveEventsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullEnterLeaveEventsResponse_Change) GetChangeTime ¶
func (x *PullEnterLeaveEventsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullEnterLeaveEventsResponse_Change) GetEnterLeaveEvent ¶
func (x *PullEnterLeaveEventsResponse_Change) GetEnterLeaveEvent() *EnterLeaveEvent
func (*PullEnterLeaveEventsResponse_Change) GetName ¶
func (x *PullEnterLeaveEventsResponse_Change) GetName() string
func (*PullEnterLeaveEventsResponse_Change) ProtoMessage ¶
func (*PullEnterLeaveEventsResponse_Change) ProtoMessage()
func (*PullEnterLeaveEventsResponse_Change) ProtoReflect ¶
func (x *PullEnterLeaveEventsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullEnterLeaveEventsResponse_Change) Reset ¶
func (x *PullEnterLeaveEventsResponse_Change) Reset()
func (*PullEnterLeaveEventsResponse_Change) String ¶
func (x *PullEnterLeaveEventsResponse_Change) String() string
type PullExtensionsRequest ¶
type PullExtensionsRequest struct { // name of the device to subscribe to Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
A request to monitor the state of a device
func (*PullExtensionsRequest) Descriptor
deprecated
func (*PullExtensionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullExtensionsRequest.ProtoReflect.Descriptor instead.
func (*PullExtensionsRequest) GetName ¶
func (x *PullExtensionsRequest) GetName() string
func (*PullExtensionsRequest) GetReadMask ¶
func (x *PullExtensionsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullExtensionsRequest) GetUpdatesOnly ¶
func (x *PullExtensionsRequest) GetUpdatesOnly() bool
func (*PullExtensionsRequest) ProtoMessage ¶
func (*PullExtensionsRequest) ProtoMessage()
func (*PullExtensionsRequest) ProtoReflect ¶
func (x *PullExtensionsRequest) ProtoReflect() protoreflect.Message
func (*PullExtensionsRequest) Reset ¶
func (x *PullExtensionsRequest) Reset()
func (*PullExtensionsRequest) String ¶
func (x *PullExtensionsRequest) String() string
type PullExtensionsResponse ¶
type PullExtensionsResponse struct { // Changes that have occurred since the last event Changes []*PullExtensionsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
Response to a Pull request for extension changes
func (*PullExtensionsResponse) Descriptor
deprecated
func (*PullExtensionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullExtensionsResponse.ProtoReflect.Descriptor instead.
func (*PullExtensionsResponse) GetChanges ¶
func (x *PullExtensionsResponse) GetChanges() []*PullExtensionsResponse_Change
func (*PullExtensionsResponse) ProtoMessage ¶
func (*PullExtensionsResponse) ProtoMessage()
func (*PullExtensionsResponse) ProtoReflect ¶
func (x *PullExtensionsResponse) ProtoReflect() protoreflect.Message
func (*PullExtensionsResponse) Reset ¶
func (x *PullExtensionsResponse) Reset()
func (*PullExtensionsResponse) String ¶
func (x *PullExtensionsResponse) String() string
type PullExtensionsResponse_Change ¶
type PullExtensionsResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // the new state for the device Extension *Extension `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"` // contains filtered or unexported fields }
A change to the state
func (*PullExtensionsResponse_Change) Descriptor
deprecated
func (*PullExtensionsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullExtensionsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullExtensionsResponse_Change) GetChangeTime ¶
func (x *PullExtensionsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullExtensionsResponse_Change) GetExtension ¶
func (x *PullExtensionsResponse_Change) GetExtension() *Extension
func (*PullExtensionsResponse_Change) GetName ¶
func (x *PullExtensionsResponse_Change) GetName() string
func (*PullExtensionsResponse_Change) ProtoMessage ¶
func (*PullExtensionsResponse_Change) ProtoMessage()
func (*PullExtensionsResponse_Change) ProtoReflect ¶
func (x *PullExtensionsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullExtensionsResponse_Change) Reset ¶
func (x *PullExtensionsResponse_Change) Reset()
func (*PullExtensionsResponse_Change) String ¶
func (x *PullExtensionsResponse_Change) String() string
type PullFanSpeedRequest ¶
type PullFanSpeedRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the FanSpeed type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullFanSpeedRequest) Descriptor
deprecated
func (*PullFanSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullFanSpeedRequest.ProtoReflect.Descriptor instead.
func (*PullFanSpeedRequest) GetName ¶
func (x *PullFanSpeedRequest) GetName() string
func (*PullFanSpeedRequest) GetReadMask ¶
func (x *PullFanSpeedRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullFanSpeedRequest) GetUpdatesOnly ¶
func (x *PullFanSpeedRequest) GetUpdatesOnly() bool
func (*PullFanSpeedRequest) ProtoMessage ¶
func (*PullFanSpeedRequest) ProtoMessage()
func (*PullFanSpeedRequest) ProtoReflect ¶
func (x *PullFanSpeedRequest) ProtoReflect() protoreflect.Message
func (*PullFanSpeedRequest) Reset ¶
func (x *PullFanSpeedRequest) Reset()
func (*PullFanSpeedRequest) String ¶
func (x *PullFanSpeedRequest) String() string
type PullFanSpeedResponse ¶
type PullFanSpeedResponse struct { // Changes since the last message. Changes []*PullFanSpeedResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullFanSpeedResponse) Descriptor
deprecated
func (*PullFanSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullFanSpeedResponse.ProtoReflect.Descriptor instead.
func (*PullFanSpeedResponse) GetChanges ¶
func (x *PullFanSpeedResponse) GetChanges() []*PullFanSpeedResponse_Change
func (*PullFanSpeedResponse) ProtoMessage ¶
func (*PullFanSpeedResponse) ProtoMessage()
func (*PullFanSpeedResponse) ProtoReflect ¶
func (x *PullFanSpeedResponse) ProtoReflect() protoreflect.Message
func (*PullFanSpeedResponse) Reset ¶
func (x *PullFanSpeedResponse) Reset()
func (*PullFanSpeedResponse) String ¶
func (x *PullFanSpeedResponse) String() string
type PullFanSpeedResponse_Change ¶
type PullFanSpeedResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the current fan speed. FanSpeed *FanSpeed `protobuf:"bytes,3,opt,name=fan_speed,json=fanSpeed,proto3" json:"fan_speed,omitempty"` // contains filtered or unexported fields }
func (*PullFanSpeedResponse_Change) Descriptor
deprecated
func (*PullFanSpeedResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullFanSpeedResponse_Change.ProtoReflect.Descriptor instead.
func (*PullFanSpeedResponse_Change) GetChangeTime ¶
func (x *PullFanSpeedResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullFanSpeedResponse_Change) GetFanSpeed ¶
func (x *PullFanSpeedResponse_Change) GetFanSpeed() *FanSpeed
func (*PullFanSpeedResponse_Change) GetName ¶
func (x *PullFanSpeedResponse_Change) GetName() string
func (*PullFanSpeedResponse_Change) ProtoMessage ¶
func (*PullFanSpeedResponse_Change) ProtoMessage()
func (*PullFanSpeedResponse_Change) ProtoReflect ¶
func (x *PullFanSpeedResponse_Change) ProtoReflect() protoreflect.Message
func (*PullFanSpeedResponse_Change) Reset ¶
func (x *PullFanSpeedResponse_Change) Reset()
func (*PullFanSpeedResponse_Change) String ¶
func (x *PullFanSpeedResponse_Change) String() string
type PullHailRequest ¶
type PullHailRequest struct { // The name of the device. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id of the hail Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Fields to fetch relative to the Hail type. ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullHailRequest) Descriptor
deprecated
func (*PullHailRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullHailRequest.ProtoReflect.Descriptor instead.
func (*PullHailRequest) GetId ¶
func (x *PullHailRequest) GetId() string
func (*PullHailRequest) GetName ¶
func (x *PullHailRequest) GetName() string
func (*PullHailRequest) GetReadMask ¶
func (x *PullHailRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullHailRequest) GetUpdatesOnly ¶
func (x *PullHailRequest) GetUpdatesOnly() bool
func (*PullHailRequest) ProtoMessage ¶
func (*PullHailRequest) ProtoMessage()
func (*PullHailRequest) ProtoReflect ¶
func (x *PullHailRequest) ProtoReflect() protoreflect.Message
func (*PullHailRequest) Reset ¶
func (x *PullHailRequest) Reset()
func (*PullHailRequest) String ¶
func (x *PullHailRequest) String() string
type PullHailResponse ¶
type PullHailResponse struct { Changes []*PullHailResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullHailResponse) Descriptor
deprecated
func (*PullHailResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullHailResponse.ProtoReflect.Descriptor instead.
func (*PullHailResponse) GetChanges ¶
func (x *PullHailResponse) GetChanges() []*PullHailResponse_Change
func (*PullHailResponse) ProtoMessage ¶
func (*PullHailResponse) ProtoMessage()
func (*PullHailResponse) ProtoReflect ¶
func (x *PullHailResponse) ProtoReflect() protoreflect.Message
func (*PullHailResponse) Reset ¶
func (x *PullHailResponse) Reset()
func (*PullHailResponse) String ¶
func (x *PullHailResponse) String() string
type PullHailResponse_Change ¶
type PullHailResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the hail. Hail *Hail `protobuf:"bytes,3,opt,name=hail,proto3" json:"hail,omitempty"` // contains filtered or unexported fields }
func (*PullHailResponse_Change) Descriptor
deprecated
func (*PullHailResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullHailResponse_Change.ProtoReflect.Descriptor instead.
func (*PullHailResponse_Change) GetChangeTime ¶
func (x *PullHailResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullHailResponse_Change) GetHail ¶
func (x *PullHailResponse_Change) GetHail() *Hail
func (*PullHailResponse_Change) GetName ¶
func (x *PullHailResponse_Change) GetName() string
func (*PullHailResponse_Change) ProtoMessage ¶
func (*PullHailResponse_Change) ProtoMessage()
func (*PullHailResponse_Change) ProtoReflect ¶
func (x *PullHailResponse_Change) ProtoReflect() protoreflect.Message
func (*PullHailResponse_Change) Reset ¶
func (x *PullHailResponse_Change) Reset()
func (*PullHailResponse_Change) String ¶
func (x *PullHailResponse_Change) String() string
type PullHailsRequest ¶
type PullHailsRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Hail type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullHailsRequest) Descriptor
deprecated
func (*PullHailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullHailsRequest.ProtoReflect.Descriptor instead.
func (*PullHailsRequest) GetName ¶
func (x *PullHailsRequest) GetName() string
func (*PullHailsRequest) GetReadMask ¶
func (x *PullHailsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullHailsRequest) GetUpdatesOnly ¶
func (x *PullHailsRequest) GetUpdatesOnly() bool
func (*PullHailsRequest) ProtoMessage ¶
func (*PullHailsRequest) ProtoMessage()
func (*PullHailsRequest) ProtoReflect ¶
func (x *PullHailsRequest) ProtoReflect() protoreflect.Message
func (*PullHailsRequest) Reset ¶
func (x *PullHailsRequest) Reset()
func (*PullHailsRequest) String ¶
func (x *PullHailsRequest) String() string
type PullHailsResponse ¶
type PullHailsResponse struct { // The list of changes which have occurred Changes []*PullHailsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullHailsResponse) Descriptor
deprecated
func (*PullHailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullHailsResponse.ProtoReflect.Descriptor instead.
func (*PullHailsResponse) GetChanges ¶
func (x *PullHailsResponse) GetChanges() []*PullHailsResponse_Change
func (*PullHailsResponse) ProtoMessage ¶
func (*PullHailsResponse) ProtoMessage()
func (*PullHailsResponse) ProtoReflect ¶
func (x *PullHailsResponse) ProtoReflect() protoreflect.Message
func (*PullHailsResponse) Reset ¶
func (x *PullHailsResponse) Reset()
func (*PullHailsResponse) String ¶
func (x *PullHailsResponse) String() string
type PullHailsResponse_Change ¶
type PullHailsResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *Hail `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *Hail `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullHailsResponse_Change) Descriptor
deprecated
func (*PullHailsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullHailsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullHailsResponse_Change) GetChangeTime ¶
func (x *PullHailsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullHailsResponse_Change) GetName ¶
func (x *PullHailsResponse_Change) GetName() string
func (*PullHailsResponse_Change) GetNewValue ¶
func (x *PullHailsResponse_Change) GetNewValue() *Hail
func (*PullHailsResponse_Change) GetOldValue ¶
func (x *PullHailsResponse_Change) GetOldValue() *Hail
func (*PullHailsResponse_Change) GetType ¶
func (x *PullHailsResponse_Change) GetType() types.ChangeType
func (*PullHailsResponse_Change) ProtoMessage ¶
func (*PullHailsResponse_Change) ProtoMessage()
func (*PullHailsResponse_Change) ProtoReflect ¶
func (x *PullHailsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullHailsResponse_Change) Reset ¶
func (x *PullHailsResponse_Change) Reset()
func (*PullHailsResponse_Change) String ¶
func (x *PullHailsResponse_Change) String() string
type PullInputRequest ¶
type PullInputRequest struct { // The name of the device we want events from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
Request to begin a subscription for selected input changes
func (*PullInputRequest) Descriptor
deprecated
func (*PullInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullInputRequest.ProtoReflect.Descriptor instead.
func (*PullInputRequest) GetName ¶
func (x *PullInputRequest) GetName() string
func (*PullInputRequest) GetReadMask ¶
func (x *PullInputRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullInputRequest) GetUpdatesOnly ¶
func (x *PullInputRequest) GetUpdatesOnly() bool
func (*PullInputRequest) ProtoMessage ¶
func (*PullInputRequest) ProtoMessage()
func (*PullInputRequest) ProtoReflect ¶
func (x *PullInputRequest) ProtoReflect() protoreflect.Message
func (*PullInputRequest) Reset ¶
func (x *PullInputRequest) Reset()
func (*PullInputRequest) String ¶
func (x *PullInputRequest) String() string
type PullInputResponse ¶
type PullInputResponse struct { // The list of changes Changes []*PullInputResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
A response as part of the stream of changes to the selected input
func (*PullInputResponse) Descriptor
deprecated
func (*PullInputResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullInputResponse.ProtoReflect.Descriptor instead.
func (*PullInputResponse) GetChanges ¶
func (x *PullInputResponse) GetChanges() []*PullInputResponse_Change
func (*PullInputResponse) ProtoMessage ¶
func (*PullInputResponse) ProtoMessage()
func (*PullInputResponse) ProtoReflect ¶
func (x *PullInputResponse) ProtoReflect() protoreflect.Message
func (*PullInputResponse) Reset ¶
func (x *PullInputResponse) Reset()
func (*PullInputResponse) String ¶
func (x *PullInputResponse) String() string
type PullInputResponse_Change ¶
type PullInputResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the selected input Input *Input `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
A change to a single devices range value
func (*PullInputResponse_Change) Descriptor
deprecated
func (*PullInputResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullInputResponse_Change.ProtoReflect.Descriptor instead.
func (*PullInputResponse_Change) GetChangeTime ¶
func (x *PullInputResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullInputResponse_Change) GetInput ¶
func (x *PullInputResponse_Change) GetInput() *Input
func (*PullInputResponse_Change) GetName ¶
func (x *PullInputResponse_Change) GetName() string
func (*PullInputResponse_Change) ProtoMessage ¶
func (*PullInputResponse_Change) ProtoMessage()
func (*PullInputResponse_Change) ProtoReflect ¶
func (x *PullInputResponse_Change) ProtoReflect() protoreflect.Message
func (*PullInputResponse_Change) Reset ¶
func (x *PullInputResponse_Change) Reset()
func (*PullInputResponse_Change) String ¶
func (x *PullInputResponse_Change) String() string
type PullInventoryRequest ¶
type PullInventoryRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Consumable.Stock type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullInventoryRequest) Descriptor
deprecated
func (*PullInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullInventoryRequest.ProtoReflect.Descriptor instead.
func (*PullInventoryRequest) GetName ¶
func (x *PullInventoryRequest) GetName() string
func (*PullInventoryRequest) GetReadMask ¶
func (x *PullInventoryRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullInventoryRequest) GetUpdatesOnly ¶
func (x *PullInventoryRequest) GetUpdatesOnly() bool
func (*PullInventoryRequest) ProtoMessage ¶
func (*PullInventoryRequest) ProtoMessage()
func (*PullInventoryRequest) ProtoReflect ¶
func (x *PullInventoryRequest) ProtoReflect() protoreflect.Message
func (*PullInventoryRequest) Reset ¶
func (x *PullInventoryRequest) Reset()
func (*PullInventoryRequest) String ¶
func (x *PullInventoryRequest) String() string
type PullInventoryResponse ¶
type PullInventoryResponse struct { // The list of changes which have occurred Changes []*PullInventoryResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullInventoryResponse) Descriptor
deprecated
func (*PullInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullInventoryResponse.ProtoReflect.Descriptor instead.
func (*PullInventoryResponse) GetChanges ¶
func (x *PullInventoryResponse) GetChanges() []*PullInventoryResponse_Change
func (*PullInventoryResponse) ProtoMessage ¶
func (*PullInventoryResponse) ProtoMessage()
func (*PullInventoryResponse) ProtoReflect ¶
func (x *PullInventoryResponse) ProtoReflect() protoreflect.Message
func (*PullInventoryResponse) Reset ¶
func (x *PullInventoryResponse) Reset()
func (*PullInventoryResponse) String ¶
func (x *PullInventoryResponse) String() string
type PullInventoryResponse_Change ¶
type PullInventoryResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *Consumable_Stock `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *Consumable_Stock `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullInventoryResponse_Change) Descriptor
deprecated
func (*PullInventoryResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullInventoryResponse_Change.ProtoReflect.Descriptor instead.
func (*PullInventoryResponse_Change) GetChangeTime ¶
func (x *PullInventoryResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullInventoryResponse_Change) GetName ¶
func (x *PullInventoryResponse_Change) GetName() string
func (*PullInventoryResponse_Change) GetNewValue ¶
func (x *PullInventoryResponse_Change) GetNewValue() *Consumable_Stock
func (*PullInventoryResponse_Change) GetOldValue ¶
func (x *PullInventoryResponse_Change) GetOldValue() *Consumable_Stock
func (*PullInventoryResponse_Change) GetType ¶
func (x *PullInventoryResponse_Change) GetType() types.ChangeType
func (*PullInventoryResponse_Change) ProtoMessage ¶
func (*PullInventoryResponse_Change) ProtoMessage()
func (*PullInventoryResponse_Change) ProtoReflect ¶
func (x *PullInventoryResponse_Change) ProtoReflect() protoreflect.Message
func (*PullInventoryResponse_Change) Reset ¶
func (x *PullInventoryResponse_Change) Reset()
func (*PullInventoryResponse_Change) String ¶
func (x *PullInventoryResponse_Change) String() string
type PullLockUnlockRequest ¶
type PullLockUnlockRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the LockUnlock type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullLockUnlockRequest) Descriptor
deprecated
func (*PullLockUnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullLockUnlockRequest.ProtoReflect.Descriptor instead.
func (*PullLockUnlockRequest) GetName ¶
func (x *PullLockUnlockRequest) GetName() string
func (*PullLockUnlockRequest) GetReadMask ¶
func (x *PullLockUnlockRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullLockUnlockRequest) GetUpdatesOnly ¶
func (x *PullLockUnlockRequest) GetUpdatesOnly() bool
func (*PullLockUnlockRequest) ProtoMessage ¶
func (*PullLockUnlockRequest) ProtoMessage()
func (*PullLockUnlockRequest) ProtoReflect ¶
func (x *PullLockUnlockRequest) ProtoReflect() protoreflect.Message
func (*PullLockUnlockRequest) Reset ¶
func (x *PullLockUnlockRequest) Reset()
func (*PullLockUnlockRequest) String ¶
func (x *PullLockUnlockRequest) String() string
type PullLockUnlockResponse ¶
type PullLockUnlockResponse struct { // Changes since the last message. Changes []*PullLockUnlockResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullLockUnlockResponse) Descriptor
deprecated
func (*PullLockUnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullLockUnlockResponse.ProtoReflect.Descriptor instead.
func (*PullLockUnlockResponse) GetChanges ¶
func (x *PullLockUnlockResponse) GetChanges() []*PullLockUnlockResponse_Change
func (*PullLockUnlockResponse) ProtoMessage ¶
func (*PullLockUnlockResponse) ProtoMessage()
func (*PullLockUnlockResponse) ProtoReflect ¶
func (x *PullLockUnlockResponse) ProtoReflect() protoreflect.Message
func (*PullLockUnlockResponse) Reset ¶
func (x *PullLockUnlockResponse) Reset()
func (*PullLockUnlockResponse) String ¶
func (x *PullLockUnlockResponse) String() string
type PullLockUnlockResponse_Change ¶
type PullLockUnlockResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the lock. LockUnlock *LockUnlock `protobuf:"bytes,3,opt,name=lock_unlock,json=lockUnlock,proto3" json:"lock_unlock,omitempty"` // contains filtered or unexported fields }
func (*PullLockUnlockResponse_Change) Descriptor
deprecated
func (*PullLockUnlockResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullLockUnlockResponse_Change.ProtoReflect.Descriptor instead.
func (*PullLockUnlockResponse_Change) GetChangeTime ¶
func (x *PullLockUnlockResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullLockUnlockResponse_Change) GetLockUnlock ¶
func (x *PullLockUnlockResponse_Change) GetLockUnlock() *LockUnlock
func (*PullLockUnlockResponse_Change) GetName ¶
func (x *PullLockUnlockResponse_Change) GetName() string
func (*PullLockUnlockResponse_Change) ProtoMessage ¶
func (*PullLockUnlockResponse_Change) ProtoMessage()
func (*PullLockUnlockResponse_Change) ProtoReflect ¶
func (x *PullLockUnlockResponse_Change) ProtoReflect() protoreflect.Message
func (*PullLockUnlockResponse_Change) Reset ¶
func (x *PullLockUnlockResponse_Change) Reset()
func (*PullLockUnlockResponse_Change) String ¶
func (x *PullLockUnlockResponse_Change) String() string
type PullMetadataRequest ¶
type PullMetadataRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Metadata type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullMetadataRequest) Descriptor
deprecated
func (*PullMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullMetadataRequest.ProtoReflect.Descriptor instead.
func (*PullMetadataRequest) GetName ¶
func (x *PullMetadataRequest) GetName() string
func (*PullMetadataRequest) GetReadMask ¶
func (x *PullMetadataRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullMetadataRequest) GetUpdatesOnly ¶
func (x *PullMetadataRequest) GetUpdatesOnly() bool
func (*PullMetadataRequest) ProtoMessage ¶
func (*PullMetadataRequest) ProtoMessage()
func (*PullMetadataRequest) ProtoReflect ¶
func (x *PullMetadataRequest) ProtoReflect() protoreflect.Message
func (*PullMetadataRequest) Reset ¶
func (x *PullMetadataRequest) Reset()
func (*PullMetadataRequest) String ¶
func (x *PullMetadataRequest) String() string
type PullMetadataResponse ¶
type PullMetadataResponse struct { // The list of changes which have occurred Changes []*PullMetadataResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullMetadataResponse) Descriptor
deprecated
func (*PullMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullMetadataResponse.ProtoReflect.Descriptor instead.
func (*PullMetadataResponse) GetChanges ¶
func (x *PullMetadataResponse) GetChanges() []*PullMetadataResponse_Change
func (*PullMetadataResponse) ProtoMessage ¶
func (*PullMetadataResponse) ProtoMessage()
func (*PullMetadataResponse) ProtoReflect ¶
func (x *PullMetadataResponse) ProtoReflect() protoreflect.Message
func (*PullMetadataResponse) Reset ¶
func (x *PullMetadataResponse) Reset()
func (*PullMetadataResponse) String ¶
func (x *PullMetadataResponse) String() string
type PullMetadataResponse_Change ¶
type PullMetadataResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new updated value. Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullMetadataResponse_Change) Descriptor
deprecated
func (*PullMetadataResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullMetadataResponse_Change.ProtoReflect.Descriptor instead.
func (*PullMetadataResponse_Change) GetChangeTime ¶
func (x *PullMetadataResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullMetadataResponse_Change) GetMetadata ¶
func (x *PullMetadataResponse_Change) GetMetadata() *Metadata
func (*PullMetadataResponse_Change) GetName ¶
func (x *PullMetadataResponse_Change) GetName() string
func (*PullMetadataResponse_Change) ProtoMessage ¶
func (*PullMetadataResponse_Change) ProtoMessage()
func (*PullMetadataResponse_Change) ProtoReflect ¶
func (x *PullMetadataResponse_Change) ProtoReflect() protoreflect.Message
func (*PullMetadataResponse_Change) Reset ¶
func (x *PullMetadataResponse_Change) Reset()
func (*PullMetadataResponse_Change) String ¶
func (x *PullMetadataResponse_Change) 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 PullMicrophoneGainRequest ¶
type PullMicrophoneGainRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // fields to fetch relative the the AudioLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullMicrophoneGainRequest) Descriptor
deprecated
func (*PullMicrophoneGainRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullMicrophoneGainRequest.ProtoReflect.Descriptor instead.
func (*PullMicrophoneGainRequest) GetName ¶
func (x *PullMicrophoneGainRequest) GetName() string
func (*PullMicrophoneGainRequest) GetReadMask ¶
func (x *PullMicrophoneGainRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullMicrophoneGainRequest) GetUpdatesOnly ¶
func (x *PullMicrophoneGainRequest) GetUpdatesOnly() bool
func (*PullMicrophoneGainRequest) ProtoMessage ¶
func (*PullMicrophoneGainRequest) ProtoMessage()
func (*PullMicrophoneGainRequest) ProtoReflect ¶
func (x *PullMicrophoneGainRequest) ProtoReflect() protoreflect.Message
func (*PullMicrophoneGainRequest) Reset ¶
func (x *PullMicrophoneGainRequest) Reset()
func (*PullMicrophoneGainRequest) String ¶
func (x *PullMicrophoneGainRequest) String() string
type PullMicrophoneGainResponse ¶
type PullMicrophoneGainResponse struct { // Changes since the last message Changes []*types.AudioLevelChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullMicrophoneGainResponse) Descriptor
deprecated
func (*PullMicrophoneGainResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullMicrophoneGainResponse.ProtoReflect.Descriptor instead.
func (*PullMicrophoneGainResponse) GetChanges ¶
func (x *PullMicrophoneGainResponse) GetChanges() []*types.AudioLevelChange
func (*PullMicrophoneGainResponse) ProtoMessage ¶
func (*PullMicrophoneGainResponse) ProtoMessage()
func (*PullMicrophoneGainResponse) ProtoReflect ¶
func (x *PullMicrophoneGainResponse) ProtoReflect() protoreflect.Message
func (*PullMicrophoneGainResponse) Reset ¶
func (x *PullMicrophoneGainResponse) Reset()
func (*PullMicrophoneGainResponse) String ¶
func (x *PullMicrophoneGainResponse) String() string
type PullModeValuesRequest ¶
type PullModeValuesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ModeValues type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullModeValuesRequest) Descriptor
deprecated
func (*PullModeValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullModeValuesRequest.ProtoReflect.Descriptor instead.
func (*PullModeValuesRequest) GetName ¶
func (x *PullModeValuesRequest) GetName() string
func (*PullModeValuesRequest) GetReadMask ¶
func (x *PullModeValuesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullModeValuesRequest) GetUpdatesOnly ¶
func (x *PullModeValuesRequest) GetUpdatesOnly() bool
func (*PullModeValuesRequest) ProtoMessage ¶
func (*PullModeValuesRequest) ProtoMessage()
func (*PullModeValuesRequest) ProtoReflect ¶
func (x *PullModeValuesRequest) ProtoReflect() protoreflect.Message
func (*PullModeValuesRequest) Reset ¶
func (x *PullModeValuesRequest) Reset()
func (*PullModeValuesRequest) String ¶
func (x *PullModeValuesRequest) String() string
type PullModeValuesResponse ¶
type PullModeValuesResponse struct { // Changes since the last message. Changes []*PullModeValuesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullModeValuesResponse) Descriptor
deprecated
func (*PullModeValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullModeValuesResponse.ProtoReflect.Descriptor instead.
func (*PullModeValuesResponse) GetChanges ¶
func (x *PullModeValuesResponse) GetChanges() []*PullModeValuesResponse_Change
func (*PullModeValuesResponse) ProtoMessage ¶
func (*PullModeValuesResponse) ProtoMessage()
func (*PullModeValuesResponse) ProtoReflect ¶
func (x *PullModeValuesResponse) ProtoReflect() protoreflect.Message
func (*PullModeValuesResponse) Reset ¶
func (x *PullModeValuesResponse) Reset()
func (*PullModeValuesResponse) String ¶
func (x *PullModeValuesResponse) String() string
type PullModeValuesResponse_Change ¶
type PullModeValuesResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for each mode. ModeValues *ModeValues `protobuf:"bytes,3,opt,name=mode_values,json=modeValues,proto3" json:"mode_values,omitempty"` // contains filtered or unexported fields }
func (*PullModeValuesResponse_Change) Descriptor
deprecated
func (*PullModeValuesResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullModeValuesResponse_Change.ProtoReflect.Descriptor instead.
func (*PullModeValuesResponse_Change) GetChangeTime ¶
func (x *PullModeValuesResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullModeValuesResponse_Change) GetModeValues ¶
func (x *PullModeValuesResponse_Change) GetModeValues() *ModeValues
func (*PullModeValuesResponse_Change) GetName ¶
func (x *PullModeValuesResponse_Change) GetName() string
func (*PullModeValuesResponse_Change) ProtoMessage ¶
func (*PullModeValuesResponse_Change) ProtoMessage()
func (*PullModeValuesResponse_Change) ProtoReflect ¶
func (x *PullModeValuesResponse_Change) ProtoReflect() protoreflect.Message
func (*PullModeValuesResponse_Change) Reset ¶
func (x *PullModeValuesResponse_Change) Reset()
func (*PullModeValuesResponse_Change) String ¶
func (x *PullModeValuesResponse_Change) String() string
type PullModesRequest ¶
type PullModesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the ElectricMode type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullModesRequest) Descriptor
deprecated
func (*PullModesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullModesRequest.ProtoReflect.Descriptor instead.
func (*PullModesRequest) GetName ¶
func (x *PullModesRequest) GetName() string
func (*PullModesRequest) GetReadMask ¶
func (x *PullModesRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullModesRequest) GetUpdatesOnly ¶
func (x *PullModesRequest) GetUpdatesOnly() bool
func (*PullModesRequest) ProtoMessage ¶
func (*PullModesRequest) ProtoMessage()
func (*PullModesRequest) ProtoReflect ¶
func (x *PullModesRequest) ProtoReflect() protoreflect.Message
func (*PullModesRequest) Reset ¶
func (x *PullModesRequest) Reset()
func (*PullModesRequest) String ¶
func (x *PullModesRequest) String() string
type PullModesResponse ¶
type PullModesResponse struct { // The list of changes which have occurred Changes []*PullModesResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullModesResponse) Descriptor
deprecated
func (*PullModesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullModesResponse.ProtoReflect.Descriptor instead.
func (*PullModesResponse) GetChanges ¶
func (x *PullModesResponse) GetChanges() []*PullModesResponse_Change
func (*PullModesResponse) ProtoMessage ¶
func (*PullModesResponse) ProtoMessage()
func (*PullModesResponse) ProtoReflect ¶
func (x *PullModesResponse) ProtoReflect() protoreflect.Message
func (*PullModesResponse) Reset ¶
func (x *PullModesResponse) Reset()
func (*PullModesResponse) String ¶
func (x *PullModesResponse) String() string
type PullModesResponse_Change ¶
type PullModesResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *ElectricMode `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *ElectricMode `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullModesResponse_Change) Descriptor
deprecated
func (*PullModesResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullModesResponse_Change.ProtoReflect.Descriptor instead.
func (*PullModesResponse_Change) GetChangeTime ¶
func (x *PullModesResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullModesResponse_Change) GetName ¶
func (x *PullModesResponse_Change) GetName() string
func (*PullModesResponse_Change) GetNewValue ¶
func (x *PullModesResponse_Change) GetNewValue() *ElectricMode
func (*PullModesResponse_Change) GetOldValue ¶
func (x *PullModesResponse_Change) GetOldValue() *ElectricMode
func (*PullModesResponse_Change) GetType ¶
func (x *PullModesResponse_Change) GetType() types.ChangeType
func (*PullModesResponse_Change) ProtoMessage ¶
func (*PullModesResponse_Change) ProtoMessage()
func (*PullModesResponse_Change) ProtoReflect ¶
func (x *PullModesResponse_Change) ProtoReflect() protoreflect.Message
func (*PullModesResponse_Change) Reset ¶
func (x *PullModesResponse_Change) Reset()
func (*PullModesResponse_Change) String ¶
func (x *PullModesResponse_Change) String() string
type PullMotionDetectionRequest ¶
type PullMotionDetectionRequest struct { // the name for the device to subscribe to Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
request to be notified of changes to the state of the device
func (*PullMotionDetectionRequest) Descriptor
deprecated
func (*PullMotionDetectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullMotionDetectionRequest.ProtoReflect.Descriptor instead.
func (*PullMotionDetectionRequest) GetName ¶
func (x *PullMotionDetectionRequest) GetName() string
func (*PullMotionDetectionRequest) GetReadMask ¶
func (x *PullMotionDetectionRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullMotionDetectionRequest) GetUpdatesOnly ¶
func (x *PullMotionDetectionRequest) GetUpdatesOnly() bool
func (*PullMotionDetectionRequest) ProtoMessage ¶
func (*PullMotionDetectionRequest) ProtoMessage()
func (*PullMotionDetectionRequest) ProtoReflect ¶
func (x *PullMotionDetectionRequest) ProtoReflect() protoreflect.Message
func (*PullMotionDetectionRequest) Reset ¶
func (x *PullMotionDetectionRequest) Reset()
func (*PullMotionDetectionRequest) String ¶
func (x *PullMotionDetectionRequest) String() string
type PullMotionDetectionResponse ¶
type PullMotionDetectionResponse struct { // the list of changes that have occurred since the last event Changes []*PullMotionDetectionResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
response containing motion state changes
func (*PullMotionDetectionResponse) Descriptor
deprecated
func (*PullMotionDetectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullMotionDetectionResponse.ProtoReflect.Descriptor instead.
func (*PullMotionDetectionResponse) GetChanges ¶
func (x *PullMotionDetectionResponse) GetChanges() []*PullMotionDetectionResponse_Change
func (*PullMotionDetectionResponse) ProtoMessage ¶
func (*PullMotionDetectionResponse) ProtoMessage()
func (*PullMotionDetectionResponse) ProtoReflect ¶
func (x *PullMotionDetectionResponse) ProtoReflect() protoreflect.Message
func (*PullMotionDetectionResponse) Reset ¶
func (x *PullMotionDetectionResponse) Reset()
func (*PullMotionDetectionResponse) String ¶
func (x *PullMotionDetectionResponse) String() string
type PullMotionDetectionResponse_Change ¶
type PullMotionDetectionResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // the new state for the device MotionDetection *MotionDetection `protobuf:"bytes,3,opt,name=motion_detection,json=motionDetection,proto3" json:"motion_detection,omitempty"` // contains filtered or unexported fields }
A change to the motion state of the device
func (*PullMotionDetectionResponse_Change) Descriptor
deprecated
func (*PullMotionDetectionResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullMotionDetectionResponse_Change.ProtoReflect.Descriptor instead.
func (*PullMotionDetectionResponse_Change) GetChangeTime ¶
func (x *PullMotionDetectionResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullMotionDetectionResponse_Change) GetMotionDetection ¶
func (x *PullMotionDetectionResponse_Change) GetMotionDetection() *MotionDetection
func (*PullMotionDetectionResponse_Change) GetName ¶
func (x *PullMotionDetectionResponse_Change) GetName() string
func (*PullMotionDetectionResponse_Change) ProtoMessage ¶
func (*PullMotionDetectionResponse_Change) ProtoMessage()
func (*PullMotionDetectionResponse_Change) ProtoReflect ¶
func (x *PullMotionDetectionResponse_Change) ProtoReflect() protoreflect.Message
func (*PullMotionDetectionResponse_Change) Reset ¶
func (x *PullMotionDetectionResponse_Change) Reset()
func (*PullMotionDetectionResponse_Change) String ¶
func (x *PullMotionDetectionResponse_Change) String() string
type PullOccupancyRequest ¶
type PullOccupancyRequest struct { // the name for the device to subscribe to Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
request to be notified of changes to the state of the device
func (*PullOccupancyRequest) Descriptor
deprecated
func (*PullOccupancyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullOccupancyRequest.ProtoReflect.Descriptor instead.
func (*PullOccupancyRequest) GetName ¶
func (x *PullOccupancyRequest) GetName() string
func (*PullOccupancyRequest) GetReadMask ¶
func (x *PullOccupancyRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullOccupancyRequest) GetUpdatesOnly ¶
func (x *PullOccupancyRequest) GetUpdatesOnly() bool
func (*PullOccupancyRequest) ProtoMessage ¶
func (*PullOccupancyRequest) ProtoMessage()
func (*PullOccupancyRequest) ProtoReflect ¶
func (x *PullOccupancyRequest) ProtoReflect() protoreflect.Message
func (*PullOccupancyRequest) Reset ¶
func (x *PullOccupancyRequest) Reset()
func (*PullOccupancyRequest) String ¶
func (x *PullOccupancyRequest) String() string
type PullOccupancyResponse ¶
type PullOccupancyResponse struct { // the list of changes that have occurred since the last event Changes []*PullOccupancyResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
response containing occupancy state changes
func (*PullOccupancyResponse) Descriptor
deprecated
func (*PullOccupancyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullOccupancyResponse.ProtoReflect.Descriptor instead.
func (*PullOccupancyResponse) GetChanges ¶
func (x *PullOccupancyResponse) GetChanges() []*PullOccupancyResponse_Change
func (*PullOccupancyResponse) ProtoMessage ¶
func (*PullOccupancyResponse) ProtoMessage()
func (*PullOccupancyResponse) ProtoReflect ¶
func (x *PullOccupancyResponse) ProtoReflect() protoreflect.Message
func (*PullOccupancyResponse) Reset ¶
func (x *PullOccupancyResponse) Reset()
func (*PullOccupancyResponse) String ¶
func (x *PullOccupancyResponse) String() string
type PullOccupancyResponse_Change ¶
type PullOccupancyResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // the new state for the device Occupancy *Occupancy `protobuf:"bytes,3,opt,name=occupancy,proto3" json:"occupancy,omitempty"` // contains filtered or unexported fields }
A change to the occupancy state of the device, including people count
func (*PullOccupancyResponse_Change) Descriptor
deprecated
func (*PullOccupancyResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullOccupancyResponse_Change.ProtoReflect.Descriptor instead.
func (*PullOccupancyResponse_Change) GetChangeTime ¶
func (x *PullOccupancyResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullOccupancyResponse_Change) GetName ¶
func (x *PullOccupancyResponse_Change) GetName() string
func (*PullOccupancyResponse_Change) GetOccupancy ¶
func (x *PullOccupancyResponse_Change) GetOccupancy() *Occupancy
func (*PullOccupancyResponse_Change) ProtoMessage ¶
func (*PullOccupancyResponse_Change) ProtoMessage()
func (*PullOccupancyResponse_Change) ProtoReflect ¶
func (x *PullOccupancyResponse_Change) ProtoReflect() protoreflect.Message
func (*PullOccupancyResponse_Change) Reset ¶
func (x *PullOccupancyResponse_Change) Reset()
func (*PullOccupancyResponse_Change) String ¶
func (x *PullOccupancyResponse_Change) String() string
type PullOnOffRequest ¶
type PullOnOffRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
A request to monitor the state of a device
func (*PullOnOffRequest) Descriptor
deprecated
func (*PullOnOffRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullOnOffRequest.ProtoReflect.Descriptor instead.
func (*PullOnOffRequest) GetName ¶
func (x *PullOnOffRequest) GetName() string
func (*PullOnOffRequest) GetReadMask ¶
func (x *PullOnOffRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullOnOffRequest) GetUpdatesOnly ¶
func (x *PullOnOffRequest) GetUpdatesOnly() bool
func (*PullOnOffRequest) ProtoMessage ¶
func (*PullOnOffRequest) ProtoMessage()
func (*PullOnOffRequest) ProtoReflect ¶
func (x *PullOnOffRequest) ProtoReflect() protoreflect.Message
func (*PullOnOffRequest) Reset ¶
func (x *PullOnOffRequest) Reset()
func (*PullOnOffRequest) String ¶
func (x *PullOnOffRequest) String() string
type PullOnOffResponse ¶
type PullOnOffResponse struct { // Changes that have occurred since the last event Changes []*PullOnOffResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
Response to a Pull request for OnOffState changes
func (*PullOnOffResponse) Descriptor
deprecated
func (*PullOnOffResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullOnOffResponse.ProtoReflect.Descriptor instead.
func (*PullOnOffResponse) GetChanges ¶
func (x *PullOnOffResponse) GetChanges() []*PullOnOffResponse_Change
func (*PullOnOffResponse) ProtoMessage ¶
func (*PullOnOffResponse) ProtoMessage()
func (*PullOnOffResponse) ProtoReflect ¶
func (x *PullOnOffResponse) ProtoReflect() protoreflect.Message
func (*PullOnOffResponse) Reset ¶
func (x *PullOnOffResponse) Reset()
func (*PullOnOffResponse) String ¶
func (x *PullOnOffResponse) String() string
type PullOnOffResponse_Change ¶
type PullOnOffResponse_Change struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` OnOff *OnOff `protobuf:"bytes,2,opt,name=on_off,json=onOff,proto3" json:"on_off,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullOnOffResponse_Change) Descriptor
deprecated
func (*PullOnOffResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullOnOffResponse_Change.ProtoReflect.Descriptor instead.
func (*PullOnOffResponse_Change) GetChangeTime ¶
func (x *PullOnOffResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullOnOffResponse_Change) GetName ¶
func (x *PullOnOffResponse_Change) GetName() string
func (*PullOnOffResponse_Change) GetOnOff ¶
func (x *PullOnOffResponse_Change) GetOnOff() *OnOff
func (*PullOnOffResponse_Change) ProtoMessage ¶
func (*PullOnOffResponse_Change) ProtoMessage()
func (*PullOnOffResponse_Change) ProtoReflect ¶
func (x *PullOnOffResponse_Change) ProtoReflect() protoreflect.Message
func (*PullOnOffResponse_Change) Reset ¶
func (x *PullOnOffResponse_Change) Reset()
func (*PullOnOffResponse_Change) String ¶
func (x *PullOnOffResponse_Change) String() string
type PullOpenClosePositionsRequest ¶
type PullOpenClosePositionsRequest struct { // The name of the device we want events from Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicate whether we want to be notified of values while tweening or not. The device may ignore this depending on // capabilities ExcludeTweening bool `protobuf:"varint,2,opt,name=exclude_tweening,json=excludeTweening,proto3" json:"exclude_tweening,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
Request to begin a subscription for open close state changes
func (*PullOpenClosePositionsRequest) Descriptor
deprecated
func (*PullOpenClosePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullOpenClosePositionsRequest.ProtoReflect.Descriptor instead.
func (*PullOpenClosePositionsRequest) GetExcludeTweening ¶
func (x *PullOpenClosePositionsRequest) GetExcludeTweening() bool
func (*PullOpenClosePositionsRequest) GetName ¶
func (x *PullOpenClosePositionsRequest) GetName() string
func (*PullOpenClosePositionsRequest) GetReadMask ¶
func (x *PullOpenClosePositionsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullOpenClosePositionsRequest) GetUpdatesOnly ¶
func (x *PullOpenClosePositionsRequest) GetUpdatesOnly() bool
func (*PullOpenClosePositionsRequest) ProtoMessage ¶
func (*PullOpenClosePositionsRequest) ProtoMessage()
func (*PullOpenClosePositionsRequest) ProtoReflect ¶
func (x *PullOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
func (*PullOpenClosePositionsRequest) Reset ¶
func (x *PullOpenClosePositionsRequest) Reset()
func (*PullOpenClosePositionsRequest) String ¶
func (x *PullOpenClosePositionsRequest) String() string
type PullOpenClosePositionsResponse ¶
type PullOpenClosePositionsResponse struct { // The list of changes Changes []*PullOpenClosePositionsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
A response as part of the stream of changes to the range value
func (*PullOpenClosePositionsResponse) Descriptor
deprecated
func (*PullOpenClosePositionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullOpenClosePositionsResponse.ProtoReflect.Descriptor instead.
func (*PullOpenClosePositionsResponse) GetChanges ¶
func (x *PullOpenClosePositionsResponse) GetChanges() []*PullOpenClosePositionsResponse_Change
func (*PullOpenClosePositionsResponse) ProtoMessage ¶
func (*PullOpenClosePositionsResponse) ProtoMessage()
func (*PullOpenClosePositionsResponse) ProtoReflect ¶
func (x *PullOpenClosePositionsResponse) ProtoReflect() protoreflect.Message
func (*PullOpenClosePositionsResponse) Reset ¶
func (x *PullOpenClosePositionsResponse) Reset()
func (*PullOpenClosePositionsResponse) String ¶
func (x *PullOpenClosePositionsResponse) String() string
type PullOpenClosePositionsResponse_Change ¶
type PullOpenClosePositionsResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the state OpenClosePosition *OpenClosePositions `protobuf:"bytes,3,opt,name=open_close_position,json=openClosePosition,proto3" json:"open_close_position,omitempty"` // contains filtered or unexported fields }
A change to a single devices open close state value
func (*PullOpenClosePositionsResponse_Change) Descriptor
deprecated
func (*PullOpenClosePositionsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullOpenClosePositionsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullOpenClosePositionsResponse_Change) GetChangeTime ¶
func (x *PullOpenClosePositionsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullOpenClosePositionsResponse_Change) GetName ¶
func (x *PullOpenClosePositionsResponse_Change) GetName() string
func (*PullOpenClosePositionsResponse_Change) GetOpenClosePosition ¶
func (x *PullOpenClosePositionsResponse_Change) GetOpenClosePosition() *OpenClosePositions
func (*PullOpenClosePositionsResponse_Change) ProtoMessage ¶
func (*PullOpenClosePositionsResponse_Change) ProtoMessage()
func (*PullOpenClosePositionsResponse_Change) ProtoReflect ¶
func (x *PullOpenClosePositionsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullOpenClosePositionsResponse_Change) Reset ¶
func (x *PullOpenClosePositionsResponse_Change) Reset()
func (*PullOpenClosePositionsResponse_Change) String ¶
func (x *PullOpenClosePositionsResponse_Change) String() string
type PullPressedStateRequest ¶
type PullPressedStateRequest 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, PullPressedState sends the initial PressedState when the stream opens, followed by changes. // Setting updates_only true will disable this behaviour, sending only when the PressedState changes. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullPressedStateRequest) Descriptor
deprecated
func (*PullPressedStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPressedStateRequest.ProtoReflect.Descriptor instead.
func (*PullPressedStateRequest) GetName ¶
func (x *PullPressedStateRequest) GetName() string
func (*PullPressedStateRequest) GetReadMask ¶
func (x *PullPressedStateRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullPressedStateRequest) GetUpdatesOnly ¶
func (x *PullPressedStateRequest) GetUpdatesOnly() bool
func (*PullPressedStateRequest) ProtoMessage ¶
func (*PullPressedStateRequest) ProtoMessage()
func (*PullPressedStateRequest) ProtoReflect ¶
func (x *PullPressedStateRequest) ProtoReflect() protoreflect.Message
func (*PullPressedStateRequest) Reset ¶
func (x *PullPressedStateRequest) Reset()
func (*PullPressedStateRequest) String ¶
func (x *PullPressedStateRequest) String() string
type PullPressedStateResponse ¶
type PullPressedStateResponse struct { Changes []*PullPressedStateResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullPressedStateResponse) Descriptor
deprecated
func (*PullPressedStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPressedStateResponse.ProtoReflect.Descriptor instead.
func (*PullPressedStateResponse) GetChanges ¶
func (x *PullPressedStateResponse) GetChanges() []*PullPressedStateResponse_Change
func (*PullPressedStateResponse) ProtoMessage ¶
func (*PullPressedStateResponse) ProtoMessage()
func (*PullPressedStateResponse) ProtoReflect ¶
func (x *PullPressedStateResponse) ProtoReflect() protoreflect.Message
func (*PullPressedStateResponse) Reset ¶
func (x *PullPressedStateResponse) Reset()
func (*PullPressedStateResponse) String ¶
func (x *PullPressedStateResponse) String() string
type PullPressedStateResponse_Change ¶
type PullPressedStateResponse_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"` PressedState *PressedState `protobuf:"bytes,3,opt,name=pressed_state,json=pressedState,proto3" json:"pressed_state,omitempty"` // contains filtered or unexported fields }
func (*PullPressedStateResponse_Change) Descriptor
deprecated
func (*PullPressedStateResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullPressedStateResponse_Change.ProtoReflect.Descriptor instead.
func (*PullPressedStateResponse_Change) GetChangeTime ¶
func (x *PullPressedStateResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullPressedStateResponse_Change) GetName ¶
func (x *PullPressedStateResponse_Change) GetName() string
func (*PullPressedStateResponse_Change) GetPressedState ¶
func (x *PullPressedStateResponse_Change) GetPressedState() *PressedState
func (*PullPressedStateResponse_Change) ProtoMessage ¶
func (*PullPressedStateResponse_Change) ProtoMessage()
func (*PullPressedStateResponse_Change) ProtoReflect ¶
func (x *PullPressedStateResponse_Change) ProtoReflect() protoreflect.Message
func (*PullPressedStateResponse_Change) Reset ¶
func (x *PullPressedStateResponse_Change) Reset()
func (*PullPressedStateResponse_Change) String ¶
func (x *PullPressedStateResponse_Change) String() string
type PullPtzRequest ¶
type PullPtzRequest struct { // The device we want to subscribe to Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The state fields to fetch ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullPtzRequest) Descriptor
deprecated
func (*PullPtzRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPtzRequest.ProtoReflect.Descriptor instead.
func (*PullPtzRequest) GetName ¶
func (x *PullPtzRequest) GetName() string
func (*PullPtzRequest) GetReadMask ¶
func (x *PullPtzRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullPtzRequest) GetUpdatesOnly ¶
func (x *PullPtzRequest) GetUpdatesOnly() bool
func (*PullPtzRequest) ProtoMessage ¶
func (*PullPtzRequest) ProtoMessage()
func (*PullPtzRequest) ProtoReflect ¶
func (x *PullPtzRequest) ProtoReflect() protoreflect.Message
func (*PullPtzRequest) Reset ¶
func (x *PullPtzRequest) Reset()
func (*PullPtzRequest) String ¶
func (x *PullPtzRequest) String() string
type PullPtzResponse ¶
type PullPtzResponse struct { Changes []*PullPtzResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullPtzResponse) Descriptor
deprecated
func (*PullPtzResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPtzResponse.ProtoReflect.Descriptor instead.
func (*PullPtzResponse) GetChanges ¶
func (x *PullPtzResponse) GetChanges() []*PullPtzResponse_Change
func (*PullPtzResponse) ProtoMessage ¶
func (*PullPtzResponse) ProtoMessage()
func (*PullPtzResponse) ProtoReflect ¶
func (x *PullPtzResponse) ProtoReflect() protoreflect.Message
func (*PullPtzResponse) Reset ¶
func (x *PullPtzResponse) Reset()
func (*PullPtzResponse) String ¶
func (x *PullPtzResponse) String() string
type PullPtzResponse_Change ¶
type PullPtzResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The updated state, should be merged with any known state Ptz *Ptz `protobuf:"bytes,3,opt,name=ptz,proto3" json:"ptz,omitempty"` // contains filtered or unexported fields }
func (*PullPtzResponse_Change) Descriptor
deprecated
func (*PullPtzResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullPtzResponse_Change.ProtoReflect.Descriptor instead.
func (*PullPtzResponse_Change) GetChangeTime ¶
func (x *PullPtzResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullPtzResponse_Change) GetName ¶
func (x *PullPtzResponse_Change) GetName() string
func (*PullPtzResponse_Change) GetPtz ¶
func (x *PullPtzResponse_Change) GetPtz() *Ptz
func (*PullPtzResponse_Change) ProtoMessage ¶
func (*PullPtzResponse_Change) ProtoMessage()
func (*PullPtzResponse_Change) ProtoReflect ¶
func (x *PullPtzResponse_Change) ProtoReflect() protoreflect.Message
func (*PullPtzResponse_Change) Reset ¶
func (x *PullPtzResponse_Change) Reset()
func (*PullPtzResponse_Change) String ¶
func (x *PullPtzResponse_Change) String() string
type PullPublicationRequest ¶
type PullPublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id of the publication to retrieve Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Fields to fetch relative to the Publication type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,4,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationRequest) Descriptor
deprecated
func (*PullPublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationRequest.ProtoReflect.Descriptor instead.
func (*PullPublicationRequest) GetId ¶
func (x *PullPublicationRequest) GetId() string
func (*PullPublicationRequest) GetName ¶
func (x *PullPublicationRequest) GetName() string
func (*PullPublicationRequest) GetReadMask ¶
func (x *PullPublicationRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullPublicationRequest) GetUpdatesOnly ¶
func (x *PullPublicationRequest) GetUpdatesOnly() bool
func (*PullPublicationRequest) ProtoMessage ¶
func (*PullPublicationRequest) ProtoMessage()
func (*PullPublicationRequest) ProtoReflect ¶
func (x *PullPublicationRequest) ProtoReflect() protoreflect.Message
func (*PullPublicationRequest) Reset ¶
func (x *PullPublicationRequest) Reset()
func (*PullPublicationRequest) String ¶
func (x *PullPublicationRequest) String() string
type PullPublicationResponse ¶
type PullPublicationResponse struct { // Changes since the last message. Changes []*PullPublicationResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationResponse) Descriptor
deprecated
func (*PullPublicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationResponse.ProtoReflect.Descriptor instead.
func (*PullPublicationResponse) GetChanges ¶
func (x *PullPublicationResponse) GetChanges() []*PullPublicationResponse_Change
func (*PullPublicationResponse) ProtoMessage ¶
func (*PullPublicationResponse) ProtoMessage()
func (*PullPublicationResponse) ProtoReflect ¶
func (x *PullPublicationResponse) ProtoReflect() protoreflect.Message
func (*PullPublicationResponse) Reset ¶
func (x *PullPublicationResponse) Reset()
func (*PullPublicationResponse) String ¶
func (x *PullPublicationResponse) String() string
type PullPublicationResponse_Change ¶
type PullPublicationResponse_Change struct { // Name of the device that issued the change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // The new value for the publication. Publication *Publication `protobuf:"bytes,3,opt,name=publication,proto3" json:"publication,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationResponse_Change) Descriptor
deprecated
func (*PullPublicationResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationResponse_Change.ProtoReflect.Descriptor instead.
func (*PullPublicationResponse_Change) GetChangeTime ¶
func (x *PullPublicationResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullPublicationResponse_Change) GetName ¶
func (x *PullPublicationResponse_Change) GetName() string
func (*PullPublicationResponse_Change) GetPublication ¶
func (x *PullPublicationResponse_Change) GetPublication() *Publication
func (*PullPublicationResponse_Change) ProtoMessage ¶
func (*PullPublicationResponse_Change) ProtoMessage()
func (*PullPublicationResponse_Change) ProtoReflect ¶
func (x *PullPublicationResponse_Change) ProtoReflect() protoreflect.Message
func (*PullPublicationResponse_Change) Reset ¶
func (x *PullPublicationResponse_Change) Reset()
func (*PullPublicationResponse_Change) String ¶
func (x *PullPublicationResponse_Change) String() string
type PullPublicationsRequest ¶
type PullPublicationsRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fields to fetch relative to the Publication type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationsRequest) Descriptor
deprecated
func (*PullPublicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationsRequest.ProtoReflect.Descriptor instead.
func (*PullPublicationsRequest) GetName ¶
func (x *PullPublicationsRequest) GetName() string
func (*PullPublicationsRequest) GetReadMask ¶
func (x *PullPublicationsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullPublicationsRequest) GetUpdatesOnly ¶
func (x *PullPublicationsRequest) GetUpdatesOnly() bool
func (*PullPublicationsRequest) ProtoMessage ¶
func (*PullPublicationsRequest) ProtoMessage()
func (*PullPublicationsRequest) ProtoReflect ¶
func (x *PullPublicationsRequest) ProtoReflect() protoreflect.Message
func (*PullPublicationsRequest) Reset ¶
func (x *PullPublicationsRequest) Reset()
func (*PullPublicationsRequest) String ¶
func (x *PullPublicationsRequest) String() string
type PullPublicationsResponse ¶
type PullPublicationsResponse struct { // The list of changes which have occurred Changes []*PullPublicationsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationsResponse) Descriptor
deprecated
func (*PullPublicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationsResponse.ProtoReflect.Descriptor instead.
func (*PullPublicationsResponse) GetChanges ¶
func (x *PullPublicationsResponse) GetChanges() []*PullPublicationsResponse_Change
func (*PullPublicationsResponse) ProtoMessage ¶
func (*PullPublicationsResponse) ProtoMessage()
func (*PullPublicationsResponse) ProtoReflect ¶
func (x *PullPublicationsResponse) ProtoReflect() protoreflect.Message
func (*PullPublicationsResponse) Reset ¶
func (x *PullPublicationsResponse) Reset()
func (*PullPublicationsResponse) String ¶
func (x *PullPublicationsResponse) String() string
type PullPublicationsResponse_Change ¶
type PullPublicationsResponse_Change struct { // The name of the device that emitted this change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of change (e.g. ADD, UPDATE, etc...) Type types.ChangeType `protobuf:"varint,2,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // The new value to use for ADD|UPDATE changes NewValue *Publication `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // The old value to use for UPDATE|REMOVE changes OldValue *Publication `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // When the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // contains filtered or unexported fields }
func (*PullPublicationsResponse_Change) Descriptor
deprecated
func (*PullPublicationsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullPublicationsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullPublicationsResponse_Change) GetChangeTime ¶
func (x *PullPublicationsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullPublicationsResponse_Change) GetName ¶
func (x *PullPublicationsResponse_Change) GetName() string
func (*PullPublicationsResponse_Change) GetNewValue ¶
func (x *PullPublicationsResponse_Change) GetNewValue() *Publication
func (*PullPublicationsResponse_Change) GetOldValue ¶
func (x *PullPublicationsResponse_Change) GetOldValue() *Publication
func (*PullPublicationsResponse_Change) GetType ¶
func (x *PullPublicationsResponse_Change) GetType() types.ChangeType
func (*PullPublicationsResponse_Change) ProtoMessage ¶
func (*PullPublicationsResponse_Change) ProtoMessage()
func (*PullPublicationsResponse_Change) ProtoReflect ¶
func (x *PullPublicationsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullPublicationsResponse_Change) Reset ¶
func (x *PullPublicationsResponse_Change) Reset()
func (*PullPublicationsResponse_Change) String ¶
func (x *PullPublicationsResponse_Change) String() string
type PullSpeakerVolumeRequest ¶
type PullSpeakerVolumeRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // fields to fetch relative the the AudioLevel type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullSpeakerVolumeRequest) Descriptor
deprecated
func (*PullSpeakerVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullSpeakerVolumeRequest.ProtoReflect.Descriptor instead.
func (*PullSpeakerVolumeRequest) GetName ¶
func (x *PullSpeakerVolumeRequest) GetName() string
func (*PullSpeakerVolumeRequest) GetReadMask ¶
func (x *PullSpeakerVolumeRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullSpeakerVolumeRequest) GetUpdatesOnly ¶
func (x *PullSpeakerVolumeRequest) GetUpdatesOnly() bool
func (*PullSpeakerVolumeRequest) ProtoMessage ¶
func (*PullSpeakerVolumeRequest) ProtoMessage()
func (*PullSpeakerVolumeRequest) ProtoReflect ¶
func (x *PullSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
func (*PullSpeakerVolumeRequest) Reset ¶
func (x *PullSpeakerVolumeRequest) Reset()
func (*PullSpeakerVolumeRequest) String ¶
func (x *PullSpeakerVolumeRequest) String() string
type PullSpeakerVolumeResponse ¶
type PullSpeakerVolumeResponse struct { // Changes since the last message Changes []*types.AudioLevelChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullSpeakerVolumeResponse) Descriptor
deprecated
func (*PullSpeakerVolumeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullSpeakerVolumeResponse.ProtoReflect.Descriptor instead.
func (*PullSpeakerVolumeResponse) GetChanges ¶
func (x *PullSpeakerVolumeResponse) GetChanges() []*types.AudioLevelChange
func (*PullSpeakerVolumeResponse) ProtoMessage ¶
func (*PullSpeakerVolumeResponse) ProtoMessage()
func (*PullSpeakerVolumeResponse) ProtoReflect ¶
func (x *PullSpeakerVolumeResponse) ProtoReflect() protoreflect.Message
func (*PullSpeakerVolumeResponse) Reset ¶
func (x *PullSpeakerVolumeResponse) Reset()
func (*PullSpeakerVolumeResponse) String ¶
func (x *PullSpeakerVolumeResponse) String() string
type PullStockRequest ¶
type PullStockRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the consumable to get the stock for. Consumable string `protobuf:"bytes,4,opt,name=consumable,proto3" json:"consumable,omitempty"` // Fields to fetch relative to the Consumable.Stock type ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"` // When true the device will only send changes to the resource value. // The default behaviour is to send the current value immediately followed by any updates as they happen. UpdatesOnly bool `protobuf:"varint,3,opt,name=updates_only,json=updatesOnly,proto3" json:"updates_only,omitempty"` // contains filtered or unexported fields }
func (*PullStockRequest) Descriptor
deprecated
func (*PullStockRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullStockRequest.ProtoReflect.Descriptor instead.
func (*PullStockRequest) GetConsumable ¶
func (x *PullStockRequest) GetConsumable() string
func (*PullStockRequest) GetName ¶
func (x *PullStockRequest) GetName() string
func (*PullStockRequest) GetReadMask ¶
func (x *PullStockRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullStockRequest) GetUpdatesOnly ¶
func (x *PullStockRequest) GetUpdatesOnly() bool
func (*PullStockRequest) ProtoMessage ¶
func (*PullStockRequest) ProtoMessage()
func (*PullStockRequest) ProtoReflect ¶
func (x *PullStockRequest) ProtoReflect() protoreflect.Message
func (*PullStockRequest) Reset ¶
func (x *PullStockRequest) Reset()
func (*PullStockRequest) String ¶
func (x *PullStockRequest) String() string
type PullStockResponse ¶
type PullStockResponse struct { // Changes that have occurred since the last event Changes []*PullStockResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullStockResponse) Descriptor
deprecated
func (*PullStockResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullStockResponse.ProtoReflect.Descriptor instead.
func (*PullStockResponse) GetChanges ¶
func (x *PullStockResponse) GetChanges() []*PullStockResponse_Change
func (*PullStockResponse) ProtoMessage ¶
func (*PullStockResponse) ProtoMessage()
func (*PullStockResponse) ProtoReflect ¶
func (x *PullStockResponse) ProtoReflect() protoreflect.Message
func (*PullStockResponse) Reset ¶
func (x *PullStockResponse) Reset()
func (*PullStockResponse) String ¶
func (x *PullStockResponse) String() string
type PullStockResponse_Change ¶
type PullStockResponse_Change struct { // name for the device that issued the change Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // when the change occurred ChangeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=change_time,json=changeTime,proto3" json:"change_time,omitempty"` // the new state for the device Stock *Consumable_Stock `protobuf:"bytes,3,opt,name=stock,proto3" json:"stock,omitempty"` // contains filtered or unexported fields }
A change to the state
func (*PullStockResponse_Change) Descriptor
deprecated
func (*PullStockResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullStockResponse_Change.ProtoReflect.Descriptor instead.
func (*PullStockResponse_Change) GetChangeTime ¶
func (x *PullStockResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullStockResponse_Change) GetName ¶
func (x *PullStockResponse_Change) GetName() string
func (*PullStockResponse_Change) GetStock ¶
func (x *PullStockResponse_Change) GetStock() *Consumable_Stock
func (*PullStockResponse_Change) ProtoMessage ¶
func (*PullStockResponse_Change) ProtoMessage()
func (*PullStockResponse_Change) ProtoReflect ¶
func (x *PullStockResponse_Change) ProtoReflect() protoreflect.Message
func (*PullStockResponse_Change) Reset ¶
func (x *PullStockResponse_Change) Reset()
func (*PullStockResponse_Change) String ¶
func (x *PullStockResponse_Change) String() string
type 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 PullWasteRecordsRequest ¶
type PullWasteRecordsRequest 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 (*PullWasteRecordsRequest) Descriptor
deprecated
func (*PullWasteRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullWasteRecordsRequest.ProtoReflect.Descriptor instead.
func (*PullWasteRecordsRequest) GetName ¶
func (x *PullWasteRecordsRequest) GetName() string
func (*PullWasteRecordsRequest) GetReadMask ¶
func (x *PullWasteRecordsRequest) GetReadMask() *fieldmaskpb.FieldMask
func (*PullWasteRecordsRequest) GetUpdatesOnly ¶
func (x *PullWasteRecordsRequest) GetUpdatesOnly() bool
func (*PullWasteRecordsRequest) ProtoMessage ¶
func (*PullWasteRecordsRequest) ProtoMessage()
func (*PullWasteRecordsRequest) ProtoReflect ¶
func (x *PullWasteRecordsRequest) ProtoReflect() protoreflect.Message
func (*PullWasteRecordsRequest) Reset ¶
func (x *PullWasteRecordsRequest) Reset()
func (*PullWasteRecordsRequest) String ¶
func (x *PullWasteRecordsRequest) String() string
type PullWasteRecordsResponse ¶
type PullWasteRecordsResponse struct { Changes []*PullWasteRecordsResponse_Change `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*PullWasteRecordsResponse) Descriptor
deprecated
func (*PullWasteRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullWasteRecordsResponse.ProtoReflect.Descriptor instead.
func (*PullWasteRecordsResponse) GetChanges ¶
func (x *PullWasteRecordsResponse) GetChanges() []*PullWasteRecordsResponse_Change
func (*PullWasteRecordsResponse) ProtoMessage ¶
func (*PullWasteRecordsResponse) ProtoMessage()
func (*PullWasteRecordsResponse) ProtoReflect ¶
func (x *PullWasteRecordsResponse) ProtoReflect() protoreflect.Message
func (*PullWasteRecordsResponse) Reset ¶
func (x *PullWasteRecordsResponse) Reset()
func (*PullWasteRecordsResponse) String ¶
func (x *PullWasteRecordsResponse) String() string
type PullWasteRecordsResponse_Change ¶
type PullWasteRecordsResponse_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"` NewValue *WasteRecord `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` OldValue *WasteRecord `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` Type types.ChangeType `protobuf:"varint,5,opt,name=type,proto3,enum=smartcore.types.ChangeType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PullWasteRecordsResponse_Change) Descriptor
deprecated
func (*PullWasteRecordsResponse_Change) Descriptor() ([]byte, []int)
Deprecated: Use PullWasteRecordsResponse_Change.ProtoReflect.Descriptor instead.
func (*PullWasteRecordsResponse_Change) GetChangeTime ¶
func (x *PullWasteRecordsResponse_Change) GetChangeTime() *timestamppb.Timestamp
func (*PullWasteRecordsResponse_Change) GetName ¶
func (x *PullWasteRecordsResponse_Change) GetName() string
func (*PullWasteRecordsResponse_Change) GetNewValue ¶
func (x *PullWasteRecordsResponse_Change) GetNewValue() *WasteRecord
func (*PullWasteRecordsResponse_Change) GetOldValue ¶
func (x *PullWasteRecordsResponse_Change) GetOldValue() *WasteRecord
func (*PullWasteRecordsResponse_Change) GetType ¶
func (x *PullWasteRecordsResponse_Change) GetType() types.ChangeType
func (*PullWasteRecordsResponse_Change) ProtoMessage ¶
func (*PullWasteRecordsResponse_Change) ProtoMessage()
func (*PullWasteRecordsResponse_Change) ProtoReflect ¶
func (x *PullWasteRecordsResponse_Change) ProtoReflect() protoreflect.Message
func (*PullWasteRecordsResponse_Change) Reset ¶
func (x *PullWasteRecordsResponse_Change) Reset()
func (*PullWasteRecordsResponse_Change) String ¶
func (x *PullWasteRecordsResponse_Change) String() string
type ResetCountRequest ¶
type ResetCountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // if absent then the server timestamp will be used ResetTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=reset_time,json=resetTime,proto3" json:"reset_time,omitempty"` // contains filtered or unexported fields }
func (*ResetCountRequest) Descriptor
deprecated
func (*ResetCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetCountRequest.ProtoReflect.Descriptor instead.
func (*ResetCountRequest) GetName ¶
func (x *ResetCountRequest) GetName() string
func (*ResetCountRequest) GetResetTime ¶
func (x *ResetCountRequest) GetResetTime() *timestamppb.Timestamp
func (*ResetCountRequest) ProtoMessage ¶
func (*ResetCountRequest) ProtoMessage()
func (*ResetCountRequest) ProtoReflect ¶
func (x *ResetCountRequest) ProtoReflect() protoreflect.Message
func (*ResetCountRequest) Reset ¶
func (x *ResetCountRequest) Reset()
func (*ResetCountRequest) String ¶
func (x *ResetCountRequest) String() string
type ResetEnterLeaveTotalsRequest ¶
type ResetEnterLeaveTotalsRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResetEnterLeaveTotalsRequest) Descriptor
deprecated
func (*ResetEnterLeaveTotalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetEnterLeaveTotalsRequest.ProtoReflect.Descriptor instead.
func (*ResetEnterLeaveTotalsRequest) GetName ¶
func (x *ResetEnterLeaveTotalsRequest) GetName() string
func (*ResetEnterLeaveTotalsRequest) ProtoMessage ¶
func (*ResetEnterLeaveTotalsRequest) ProtoMessage()
func (*ResetEnterLeaveTotalsRequest) ProtoReflect ¶
func (x *ResetEnterLeaveTotalsRequest) ProtoReflect() protoreflect.Message
func (*ResetEnterLeaveTotalsRequest) Reset ¶
func (x *ResetEnterLeaveTotalsRequest) Reset()
func (*ResetEnterLeaveTotalsRequest) String ¶
func (x *ResetEnterLeaveTotalsRequest) String() string
type ResetEnterLeaveTotalsResponse ¶
type ResetEnterLeaveTotalsResponse struct {
// contains filtered or unexported fields
}
func (*ResetEnterLeaveTotalsResponse) Descriptor
deprecated
func (*ResetEnterLeaveTotalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetEnterLeaveTotalsResponse.ProtoReflect.Descriptor instead.
func (*ResetEnterLeaveTotalsResponse) ProtoMessage ¶
func (*ResetEnterLeaveTotalsResponse) ProtoMessage()
func (*ResetEnterLeaveTotalsResponse) ProtoReflect ¶
func (x *ResetEnterLeaveTotalsResponse) ProtoReflect() protoreflect.Message
func (*ResetEnterLeaveTotalsResponse) Reset ¶
func (x *ResetEnterLeaveTotalsResponse) Reset()
func (*ResetEnterLeaveTotalsResponse) String ¶
func (x *ResetEnterLeaveTotalsResponse) String() string
type ReturnChannelRequest ¶
type ReturnChannelRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Select the last channel to be selected before the current one.
func (*ReturnChannelRequest) Descriptor
deprecated
func (*ReturnChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReturnChannelRequest.ProtoReflect.Descriptor instead.
func (*ReturnChannelRequest) GetName ¶
func (x *ReturnChannelRequest) GetName() string
func (*ReturnChannelRequest) ProtoMessage ¶
func (*ReturnChannelRequest) ProtoMessage()
func (*ReturnChannelRequest) ProtoReflect ¶
func (x *ReturnChannelRequest) ProtoReflect() protoreflect.Message
func (*ReturnChannelRequest) Reset ¶
func (x *ReturnChannelRequest) Reset()
func (*ReturnChannelRequest) String ¶
func (x *ReturnChannelRequest) String() string
type ReverseFanSpeedDirectionRequest ¶
type ReverseFanSpeedDirectionRequest struct { // Name of the device to reverse the fan speed for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ReverseFanSpeedDirectionRequest) Descriptor
deprecated
func (*ReverseFanSpeedDirectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReverseFanSpeedDirectionRequest.ProtoReflect.Descriptor instead.
func (*ReverseFanSpeedDirectionRequest) GetName ¶
func (x *ReverseFanSpeedDirectionRequest) GetName() string
func (*ReverseFanSpeedDirectionRequest) ProtoMessage ¶
func (*ReverseFanSpeedDirectionRequest) ProtoMessage()
func (*ReverseFanSpeedDirectionRequest) ProtoReflect ¶
func (x *ReverseFanSpeedDirectionRequest) ProtoReflect() protoreflect.Message
func (*ReverseFanSpeedDirectionRequest) Reset ¶
func (x *ReverseFanSpeedDirectionRequest) Reset()
func (*ReverseFanSpeedDirectionRequest) String ¶
func (x *ReverseFanSpeedDirectionRequest) String() string
type SpeakerApiClient ¶
type SpeakerApiClient interface { // Get the current state of the volume for the device GetVolume(ctx context.Context, in *GetSpeakerVolumeRequest, opts ...grpc.CallOption) (*types.AudioLevel, error) // update the volume state for the device UpdateVolume(ctx context.Context, in *UpdateSpeakerVolumeRequest, opts ...grpc.CallOption) (*types.AudioLevel, error) PullVolume(ctx context.Context, in *PullSpeakerVolumeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullSpeakerVolumeResponse], error) }
SpeakerApiClient is the client API for SpeakerApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Trait for devices that support some kind of audio output. The most basic is a simple on/off speaker, it's optional to support volume adjustment on a scale.
For the sakes of this trait "volume" means the combination of a gain and a mute state.
func NewSpeakerApiClient ¶
func NewSpeakerApiClient(cc grpc.ClientConnInterface) SpeakerApiClient
type SpeakerApiServer ¶
type SpeakerApiServer interface { // Get the current state of the volume for the device GetVolume(context.Context, *GetSpeakerVolumeRequest) (*types.AudioLevel, error) // update the volume state for the device UpdateVolume(context.Context, *UpdateSpeakerVolumeRequest) (*types.AudioLevel, error) PullVolume(*PullSpeakerVolumeRequest, grpc.ServerStreamingServer[PullSpeakerVolumeResponse]) error // contains filtered or unexported methods }
SpeakerApiServer is the server API for SpeakerApi service. All implementations must embed UnimplementedSpeakerApiServer for forward compatibility.
Trait for devices that support some kind of audio output. The most basic is a simple on/off speaker, it's optional to support volume adjustment on a scale.
For the sakes of this trait "volume" means the combination of a gain and a mute state.
type SpeakerApi_PullVolumeClient ¶
type SpeakerApi_PullVolumeClient = grpc.ServerStreamingClient[PullSpeakerVolumeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SpeakerApi_PullVolumeServer ¶
type SpeakerApi_PullVolumeServer = grpc.ServerStreamingServer[PullSpeakerVolumeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SpeakerInfoClient ¶
type SpeakerInfoClient interface { // Get information about how a named device implements volume features DescribeVolume(ctx context.Context, in *DescribeVolumeRequest, opts ...grpc.CallOption) (*VolumeSupport, error) }
SpeakerInfoClient is the client API for SpeakerInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Describes the capabilities of a specific named device with respect to this trait.
func NewSpeakerInfoClient ¶
func NewSpeakerInfoClient(cc grpc.ClientConnInterface) SpeakerInfoClient
type SpeakerInfoServer ¶
type SpeakerInfoServer interface { // Get information about how a named device implements volume features DescribeVolume(context.Context, *DescribeVolumeRequest) (*VolumeSupport, error) // contains filtered or unexported methods }
SpeakerInfoServer is the server API for SpeakerInfo service. All implementations must embed UnimplementedSpeakerInfoServer for forward compatibility.
Describes the capabilities of a specific named device with respect to this trait.
type StopDispenseRequest ¶
type StopDispenseRequest struct { // Name of the device to invoke the action on Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The consumable that should stop dispensing. Consumable string `protobuf:"bytes,2,opt,name=consumable,proto3" json:"consumable,omitempty"` // contains filtered or unexported fields }
func (*StopDispenseRequest) Descriptor
deprecated
func (*StopDispenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopDispenseRequest.ProtoReflect.Descriptor instead.
func (*StopDispenseRequest) GetConsumable ¶
func (x *StopDispenseRequest) GetConsumable() string
func (*StopDispenseRequest) GetName ¶
func (x *StopDispenseRequest) GetName() string
func (*StopDispenseRequest) ProtoMessage ¶
func (*StopDispenseRequest) ProtoMessage()
func (*StopDispenseRequest) ProtoReflect ¶
func (x *StopDispenseRequest) ProtoReflect() protoreflect.Message
func (*StopDispenseRequest) Reset ¶
func (x *StopDispenseRequest) Reset()
func (*StopDispenseRequest) String ¶
func (x *StopDispenseRequest) String() string
type StopOpenCloseRequest ¶
type StopOpenCloseRequest struct { // the name of the device to stop Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StopOpenCloseRequest) Descriptor
deprecated
func (*StopOpenCloseRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopOpenCloseRequest.ProtoReflect.Descriptor instead.
func (*StopOpenCloseRequest) GetName ¶
func (x *StopOpenCloseRequest) GetName() string
func (*StopOpenCloseRequest) ProtoMessage ¶
func (*StopOpenCloseRequest) ProtoMessage()
func (*StopOpenCloseRequest) ProtoReflect ¶
func (x *StopOpenCloseRequest) ProtoReflect() protoreflect.Message
func (*StopOpenCloseRequest) Reset ¶
func (x *StopOpenCloseRequest) Reset()
func (*StopOpenCloseRequest) String ¶
func (x *StopOpenCloseRequest) String() string
type StopPtzRequest ¶
type StopPtzRequest struct { // the name of the device to stop Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StopPtzRequest) Descriptor
deprecated
func (*StopPtzRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopPtzRequest.ProtoReflect.Descriptor instead.
func (*StopPtzRequest) GetName ¶
func (x *StopPtzRequest) GetName() string
func (*StopPtzRequest) ProtoMessage ¶
func (*StopPtzRequest) ProtoMessage()
func (*StopPtzRequest) ProtoReflect ¶
func (x *StopPtzRequest) ProtoReflect() protoreflect.Message
func (*StopPtzRequest) Reset ¶
func (x *StopPtzRequest) Reset()
func (*StopPtzRequest) String ¶
func (x *StopPtzRequest) String() string
type 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) (grpc.ServerStreamingClient[PullTemperatureResponse], 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.
Trait for devices that have or measure temperature like an oven or shower, distinct from the AirTemperature trait (HVAC, thermostats).
func NewTemperatureApiClient ¶
func NewTemperatureApiClient(cc grpc.ClientConnInterface) TemperatureApiClient
type TemperatureApiServer ¶
type TemperatureApiServer interface { GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error) PullTemperature(*PullTemperatureRequest, grpc.ServerStreamingServer[PullTemperatureResponse]) 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.
Trait for devices that have or measure temperature like an oven or shower, distinct from the AirTemperature trait (HVAC, thermostats).
type TemperatureApi_PullTemperatureClient ¶
type TemperatureApi_PullTemperatureClient = grpc.ServerStreamingClient[PullTemperatureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TemperatureApi_PullTemperatureServer ¶
type TemperatureApi_PullTemperatureServer = grpc.ServerStreamingServer[PullTemperatureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TemperatureRange ¶
type TemperatureRange struct { // Required. The low threshold for the range Low *types.Temperature `protobuf:"bytes,1,opt,name=low,proto3" json:"low,omitempty"` // Required. The high threshold for the range High *types.Temperature `protobuf:"bytes,2,opt,name=high,proto3" json:"high,omitempty"` // Optional. An ideal value for cases where a device supports three set points Ideal *types.Temperature `protobuf:"bytes,3,opt,name=ideal,proto3" json:"ideal,omitempty"` // contains filtered or unexported fields }
A setting for devices that target a temperature between a range.
func (*TemperatureRange) Descriptor
deprecated
func (*TemperatureRange) Descriptor() ([]byte, []int)
Deprecated: Use TemperatureRange.ProtoReflect.Descriptor instead.
func (*TemperatureRange) GetHigh ¶
func (x *TemperatureRange) GetHigh() *types.Temperature
func (*TemperatureRange) GetIdeal ¶
func (x *TemperatureRange) GetIdeal() *types.Temperature
func (*TemperatureRange) GetLow ¶
func (x *TemperatureRange) GetLow() *types.Temperature
func (*TemperatureRange) ProtoMessage ¶
func (*TemperatureRange) ProtoMessage()
func (*TemperatureRange) ProtoReflect ¶
func (x *TemperatureRange) ProtoReflect() protoreflect.Message
func (*TemperatureRange) Reset ¶
func (x *TemperatureRange) Reset()
func (*TemperatureRange) String ¶
func (x *TemperatureRange) String() string
type Trait ¶
type Trait struct { // The qualified name of the trait. // For example smartcore.traits.Parent Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Trait) Descriptor
deprecated
func (*Trait) ProtoMessage ¶
func (*Trait) ProtoMessage()
func (*Trait) ProtoReflect ¶
func (x *Trait) ProtoReflect() protoreflect.Message
type TraitMetadata ¶
type TraitMetadata struct { // The fully qualified name of the trait. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` More map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TraitMetadata) Descriptor
deprecated
func (*TraitMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TraitMetadata.ProtoReflect.Descriptor instead.
func (*TraitMetadata) GetMore ¶
func (x *TraitMetadata) GetMore() map[string]string
func (*TraitMetadata) GetName ¶
func (x *TraitMetadata) GetName() string
func (*TraitMetadata) ProtoMessage ¶
func (*TraitMetadata) ProtoMessage()
func (*TraitMetadata) ProtoReflect ¶
func (x *TraitMetadata) ProtoReflect() protoreflect.Message
func (*TraitMetadata) Reset ¶
func (x *TraitMetadata) Reset()
func (*TraitMetadata) String ¶
func (x *TraitMetadata) String() string
type UnimplementedAccessApiServer ¶
type UnimplementedAccessApiServer struct{}
UnimplementedAccessApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAccessApiServer) GetLastAccessAttempt ¶
func (UnimplementedAccessApiServer) GetLastAccessAttempt(context.Context, *GetLastAccessAttemptRequest) (*AccessAttempt, error)
func (UnimplementedAccessApiServer) PullAccessAttempts ¶
func (UnimplementedAccessApiServer) PullAccessAttempts(*PullAccessAttemptsRequest, grpc.ServerStreamingServer[PullAccessAttemptsResponse]) error
type UnimplementedAirQualitySensorApiServer ¶
type UnimplementedAirQualitySensorApiServer struct{}
UnimplementedAirQualitySensorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAirQualitySensorApiServer) GetAirQuality ¶
func (UnimplementedAirQualitySensorApiServer) GetAirQuality(context.Context, *GetAirQualityRequest) (*AirQuality, error)
func (UnimplementedAirQualitySensorApiServer) PullAirQuality ¶
func (UnimplementedAirQualitySensorApiServer) PullAirQuality(*PullAirQualityRequest, grpc.ServerStreamingServer[PullAirQualityResponse]) error
type UnimplementedAirQualitySensorInfoServer ¶
type UnimplementedAirQualitySensorInfoServer struct{}
UnimplementedAirQualitySensorInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAirQualitySensorInfoServer) DescribeAirQuality ¶
func (UnimplementedAirQualitySensorInfoServer) DescribeAirQuality(context.Context, *DescribeAirQualityRequest) (*AirQualitySupport, error)
type UnimplementedAirTemperatureApiServer ¶
type UnimplementedAirTemperatureApiServer struct{}
UnimplementedAirTemperatureApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAirTemperatureApiServer) GetAirTemperature ¶
func (UnimplementedAirTemperatureApiServer) GetAirTemperature(context.Context, *GetAirTemperatureRequest) (*AirTemperature, error)
func (UnimplementedAirTemperatureApiServer) PullAirTemperature ¶
func (UnimplementedAirTemperatureApiServer) PullAirTemperature(*PullAirTemperatureRequest, grpc.ServerStreamingServer[PullAirTemperatureResponse]) error
func (UnimplementedAirTemperatureApiServer) UpdateAirTemperature ¶
func (UnimplementedAirTemperatureApiServer) UpdateAirTemperature(context.Context, *UpdateAirTemperatureRequest) (*AirTemperature, error)
type UnimplementedAirTemperatureInfoServer ¶
type UnimplementedAirTemperatureInfoServer struct{}
UnimplementedAirTemperatureInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAirTemperatureInfoServer) DescribeAirTemperature ¶
func (UnimplementedAirTemperatureInfoServer) DescribeAirTemperature(context.Context, *DescribeAirTemperatureRequest) (*AirTemperatureSupport, error)
type UnimplementedBookingApiServer ¶
type UnimplementedBookingApiServer struct{}
UnimplementedBookingApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBookingApiServer) CheckInBooking ¶
func (UnimplementedBookingApiServer) CheckInBooking(context.Context, *CheckInBookingRequest) (*CheckInBookingResponse, error)
func (UnimplementedBookingApiServer) CheckOutBooking ¶
func (UnimplementedBookingApiServer) CheckOutBooking(context.Context, *CheckOutBookingRequest) (*CheckOutBookingResponse, error)
func (UnimplementedBookingApiServer) CreateBooking ¶
func (UnimplementedBookingApiServer) CreateBooking(context.Context, *CreateBookingRequest) (*CreateBookingResponse, error)
func (UnimplementedBookingApiServer) ListBookings ¶
func (UnimplementedBookingApiServer) ListBookings(context.Context, *ListBookingsRequest) (*ListBookingsResponse, error)
func (UnimplementedBookingApiServer) PullBookings ¶
func (UnimplementedBookingApiServer) PullBookings(*ListBookingsRequest, grpc.ServerStreamingServer[PullBookingsResponse]) error
func (UnimplementedBookingApiServer) UpdateBooking ¶
func (UnimplementedBookingApiServer) UpdateBooking(context.Context, *UpdateBookingRequest) (*UpdateBookingResponse, error)
type UnimplementedBookingInfoServer ¶
type UnimplementedBookingInfoServer struct{}
UnimplementedBookingInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBookingInfoServer) DescribeBooking ¶
func (UnimplementedBookingInfoServer) DescribeBooking(context.Context, *DescribeBookingRequest) (*BookingSupport, error)
type UnimplementedBrightnessSensorApiServer ¶
type UnimplementedBrightnessSensorApiServer struct{}
UnimplementedBrightnessSensorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBrightnessSensorApiServer) GetAmbientBrightness ¶
func (UnimplementedBrightnessSensorApiServer) GetAmbientBrightness(context.Context, *GetAmbientBrightnessRequest) (*AmbientBrightness, error)
func (UnimplementedBrightnessSensorApiServer) PullAmbientBrightness ¶
func (UnimplementedBrightnessSensorApiServer) PullAmbientBrightness(*PullAmbientBrightnessRequest, grpc.ServerStreamingServer[PullAmbientBrightnessResponse]) error
type UnimplementedBrightnessSensorInfoServer ¶
type UnimplementedBrightnessSensorInfoServer struct{}
UnimplementedBrightnessSensorInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBrightnessSensorInfoServer) DescribeAmbientBrightness ¶
func (UnimplementedBrightnessSensorInfoServer) DescribeAmbientBrightness(context.Context, *DescribeAmbientBrightnessRequest) (*AmbientBrightnessSupport, error)
type UnimplementedChannelApiServer ¶
type UnimplementedChannelApiServer struct{}
UnimplementedChannelApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedChannelApiServer) AdjustChannel ¶
func (UnimplementedChannelApiServer) AdjustChannel(context.Context, *AdjustChannelRequest) (*Channel, error)
func (UnimplementedChannelApiServer) ChooseChannel ¶
func (UnimplementedChannelApiServer) ChooseChannel(context.Context, *ChooseChannelRequest) (*Channel, error)
func (UnimplementedChannelApiServer) GetChosenChannel ¶
func (UnimplementedChannelApiServer) GetChosenChannel(context.Context, *GetChosenChannelRequest) (*Channel, error)
func (UnimplementedChannelApiServer) PullChosenChannel ¶
func (UnimplementedChannelApiServer) PullChosenChannel(*PullChosenChannelRequest, grpc.ServerStreamingServer[PullChosenChannelResponse]) error
func (UnimplementedChannelApiServer) ReturnChannel ¶
func (UnimplementedChannelApiServer) ReturnChannel(context.Context, *ReturnChannelRequest) (*Channel, error)
type UnimplementedChannelInfoServer ¶
type UnimplementedChannelInfoServer struct{}
UnimplementedChannelInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedChannelInfoServer) DescribeChosenChannel ¶
func (UnimplementedChannelInfoServer) DescribeChosenChannel(context.Context, *DescribeChosenChannelRequest) (*ChosenChannelSupport, error)
type UnimplementedColorApiServer ¶
type UnimplementedColorApiServer struct{}
UnimplementedColorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedColorApiServer) GetColor ¶
func (UnimplementedColorApiServer) GetColor(context.Context, *GetColorRequest) (*Color, error)
func (UnimplementedColorApiServer) PullColor ¶
func (UnimplementedColorApiServer) PullColor(*PullColorRequest, grpc.ServerStreamingServer[PullColorResponse]) 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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedColorInfoServer) DescribeColor ¶
func (UnimplementedColorInfoServer) DescribeColor(context.Context, *DescribeColorRequest) (*ColorSupport, error)
type UnimplementedCountApiServer ¶
type UnimplementedCountApiServer struct{}
UnimplementedCountApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCountApiServer) GetCount ¶
func (UnimplementedCountApiServer) GetCount(context.Context, *GetCountRequest) (*Count, error)
func (UnimplementedCountApiServer) PullCounts ¶
func (UnimplementedCountApiServer) PullCounts(*PullCountsRequest, grpc.ServerStreamingServer[PullCountsResponse]) error
func (UnimplementedCountApiServer) ResetCount ¶
func (UnimplementedCountApiServer) ResetCount(context.Context, *ResetCountRequest) (*Count, error)
func (UnimplementedCountApiServer) UpdateCount ¶
func (UnimplementedCountApiServer) UpdateCount(context.Context, *UpdateCountRequest) (*Count, error)
type UnimplementedCountInfoServer ¶
type UnimplementedCountInfoServer struct{}
UnimplementedCountInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCountInfoServer) DescribeCount ¶
func (UnimplementedCountInfoServer) DescribeCount(context.Context, *DescribeCountRequest) (*CountSupport, error)
type UnimplementedElectricApiServer ¶
type UnimplementedElectricApiServer struct{}
UnimplementedElectricApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedElectricApiServer) ClearActiveMode ¶
func (UnimplementedElectricApiServer) ClearActiveMode(context.Context, *ClearActiveModeRequest) (*ElectricMode, error)
func (UnimplementedElectricApiServer) GetActiveMode ¶
func (UnimplementedElectricApiServer) GetActiveMode(context.Context, *GetActiveModeRequest) (*ElectricMode, error)
func (UnimplementedElectricApiServer) GetDemand ¶
func (UnimplementedElectricApiServer) GetDemand(context.Context, *GetDemandRequest) (*ElectricDemand, error)
func (UnimplementedElectricApiServer) ListModes ¶
func (UnimplementedElectricApiServer) ListModes(context.Context, *ListModesRequest) (*ListModesResponse, error)
func (UnimplementedElectricApiServer) PullActiveMode ¶
func (UnimplementedElectricApiServer) PullActiveMode(*PullActiveModeRequest, grpc.ServerStreamingServer[PullActiveModeResponse]) error
func (UnimplementedElectricApiServer) PullDemand ¶
func (UnimplementedElectricApiServer) PullDemand(*PullDemandRequest, grpc.ServerStreamingServer[PullDemandResponse]) error
func (UnimplementedElectricApiServer) PullModes ¶
func (UnimplementedElectricApiServer) PullModes(*PullModesRequest, grpc.ServerStreamingServer[PullModesResponse]) error
func (UnimplementedElectricApiServer) UpdateActiveMode ¶
func (UnimplementedElectricApiServer) UpdateActiveMode(context.Context, *UpdateActiveModeRequest) (*ElectricMode, error)
type UnimplementedElectricInfoServer ¶
type UnimplementedElectricInfoServer struct{}
UnimplementedElectricInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedEmergencyApiServer ¶
type UnimplementedEmergencyApiServer struct{}
UnimplementedEmergencyApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEmergencyApiServer) GetEmergency ¶
func (UnimplementedEmergencyApiServer) GetEmergency(context.Context, *GetEmergencyRequest) (*Emergency, error)
func (UnimplementedEmergencyApiServer) PullEmergency ¶
func (UnimplementedEmergencyApiServer) PullEmergency(*PullEmergencyRequest, grpc.ServerStreamingServer[PullEmergencyResponse]) error
func (UnimplementedEmergencyApiServer) UpdateEmergency ¶
func (UnimplementedEmergencyApiServer) UpdateEmergency(context.Context, *UpdateEmergencyRequest) (*Emergency, error)
type UnimplementedEmergencyInfoServer ¶
type UnimplementedEmergencyInfoServer struct{}
UnimplementedEmergencyInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEmergencyInfoServer) DescribeEmergency ¶
func (UnimplementedEmergencyInfoServer) DescribeEmergency(context.Context, *DescribeEmergencyRequest) (*EmergencySupport, error)
type UnimplementedEnergyStorageApiServer ¶
type UnimplementedEnergyStorageApiServer struct{}
UnimplementedEnergyStorageApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEnergyStorageApiServer) Charge ¶
func (UnimplementedEnergyStorageApiServer) Charge(context.Context, *ChargeRequest) (*ChargeResponse, error)
func (UnimplementedEnergyStorageApiServer) GetEnergyLevel ¶
func (UnimplementedEnergyStorageApiServer) GetEnergyLevel(context.Context, *GetEnergyLevelRequest) (*EnergyLevel, error)
func (UnimplementedEnergyStorageApiServer) PullEnergyLevel ¶
func (UnimplementedEnergyStorageApiServer) PullEnergyLevel(*PullEnergyLevelRequest, grpc.ServerStreamingServer[PullEnergyLevelResponse]) error
type UnimplementedEnergyStorageInfoServer ¶
type UnimplementedEnergyStorageInfoServer struct{}
UnimplementedEnergyStorageInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEnergyStorageInfoServer) DescribeEnergyLevel ¶
func (UnimplementedEnergyStorageInfoServer) DescribeEnergyLevel(context.Context, *DescribeEnergyLevelRequest) (*EnergyLevelSupport, error)
type UnimplementedEnterLeaveSensorApiServer ¶
type UnimplementedEnterLeaveSensorApiServer struct{}
UnimplementedEnterLeaveSensorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEnterLeaveSensorApiServer) GetEnterLeaveEvent ¶
func (UnimplementedEnterLeaveSensorApiServer) GetEnterLeaveEvent(context.Context, *GetEnterLeaveEventRequest) (*EnterLeaveEvent, error)
func (UnimplementedEnterLeaveSensorApiServer) PullEnterLeaveEvents ¶
func (UnimplementedEnterLeaveSensorApiServer) PullEnterLeaveEvents(*PullEnterLeaveEventsRequest, grpc.ServerStreamingServer[PullEnterLeaveEventsResponse]) error
func (UnimplementedEnterLeaveSensorApiServer) ResetEnterLeaveTotals ¶
func (UnimplementedEnterLeaveSensorApiServer) ResetEnterLeaveTotals(context.Context, *ResetEnterLeaveTotalsRequest) (*ResetEnterLeaveTotalsResponse, error)
type UnimplementedEnterLeaveSensorInfoServer ¶
type UnimplementedEnterLeaveSensorInfoServer struct{}
UnimplementedEnterLeaveSensorInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedExtendRetractApiServer ¶
type UnimplementedExtendRetractApiServer struct{}
UnimplementedExtendRetractApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedExtendRetractApiServer) CreateExtensionPreset ¶
func (UnimplementedExtendRetractApiServer) CreateExtensionPreset(context.Context, *CreateExtensionPresetRequest) (*ExtensionPreset, error)
func (UnimplementedExtendRetractApiServer) GetExtension ¶
func (UnimplementedExtendRetractApiServer) GetExtension(context.Context, *GetExtensionRequest) (*Extension, error)
func (UnimplementedExtendRetractApiServer) PullExtensions ¶
func (UnimplementedExtendRetractApiServer) PullExtensions(*PullExtensionsRequest, grpc.ServerStreamingServer[PullExtensionsResponse]) error
func (UnimplementedExtendRetractApiServer) Stop ¶
func (UnimplementedExtendRetractApiServer) Stop(context.Context, *ExtendRetractStopRequest) (*Extension, error)
func (UnimplementedExtendRetractApiServer) UpdateExtension ¶
func (UnimplementedExtendRetractApiServer) UpdateExtension(context.Context, *UpdateExtensionRequest) (*Extension, error)
type UnimplementedExtendRetractInfoServer ¶
type UnimplementedExtendRetractInfoServer struct{}
UnimplementedExtendRetractInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedExtendRetractInfoServer) DescribeExtension ¶
func (UnimplementedExtendRetractInfoServer) DescribeExtension(context.Context, *DescribeExtensionRequest) (*ExtensionSupport, error)
type UnimplementedFanSpeedApiServer ¶
type UnimplementedFanSpeedApiServer struct{}
UnimplementedFanSpeedApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFanSpeedApiServer) GetFanSpeed ¶
func (UnimplementedFanSpeedApiServer) GetFanSpeed(context.Context, *GetFanSpeedRequest) (*FanSpeed, error)
func (UnimplementedFanSpeedApiServer) PullFanSpeed ¶
func (UnimplementedFanSpeedApiServer) PullFanSpeed(*PullFanSpeedRequest, grpc.ServerStreamingServer[PullFanSpeedResponse]) error
func (UnimplementedFanSpeedApiServer) ReverseFanSpeedDirection ¶
func (UnimplementedFanSpeedApiServer) ReverseFanSpeedDirection(context.Context, *ReverseFanSpeedDirectionRequest) (*FanSpeed, error)
func (UnimplementedFanSpeedApiServer) UpdateFanSpeed ¶
func (UnimplementedFanSpeedApiServer) UpdateFanSpeed(context.Context, *UpdateFanSpeedRequest) (*FanSpeed, error)
type UnimplementedFanSpeedInfoServer ¶
type UnimplementedFanSpeedInfoServer struct{}
UnimplementedFanSpeedInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFanSpeedInfoServer) DescribeFanSpeed ¶
func (UnimplementedFanSpeedInfoServer) DescribeFanSpeed(context.Context, *DescribeFanSpeedRequest) (*FanSpeedSupport, error)
type UnimplementedHailApiServer ¶
type UnimplementedHailApiServer struct{}
UnimplementedHailApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedHailApiServer) CreateHail ¶
func (UnimplementedHailApiServer) CreateHail(context.Context, *CreateHailRequest) (*Hail, error)
func (UnimplementedHailApiServer) DeleteHail ¶
func (UnimplementedHailApiServer) DeleteHail(context.Context, *DeleteHailRequest) (*DeleteHailResponse, error)
func (UnimplementedHailApiServer) GetHail ¶
func (UnimplementedHailApiServer) GetHail(context.Context, *GetHailRequest) (*Hail, error)
func (UnimplementedHailApiServer) ListHails ¶
func (UnimplementedHailApiServer) ListHails(context.Context, *ListHailsRequest) (*ListHailsResponse, error)
func (UnimplementedHailApiServer) PullHail ¶
func (UnimplementedHailApiServer) PullHail(*PullHailRequest, grpc.ServerStreamingServer[PullHailResponse]) error
func (UnimplementedHailApiServer) PullHails ¶
func (UnimplementedHailApiServer) PullHails(*PullHailsRequest, grpc.ServerStreamingServer[PullHailsResponse]) error
func (UnimplementedHailApiServer) UpdateHail ¶
func (UnimplementedHailApiServer) UpdateHail(context.Context, *UpdateHailRequest) (*Hail, error)
type UnimplementedHailInfoServer ¶
type UnimplementedHailInfoServer struct{}
UnimplementedHailInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedInputSelectApiServer ¶
type UnimplementedInputSelectApiServer struct{}
UnimplementedInputSelectApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInputSelectApiServer) GetInput ¶
func (UnimplementedInputSelectApiServer) GetInput(context.Context, *GetInputRequest) (*Input, error)
func (UnimplementedInputSelectApiServer) PullInput ¶
func (UnimplementedInputSelectApiServer) PullInput(*PullInputRequest, grpc.ServerStreamingServer[PullInputResponse]) error
func (UnimplementedInputSelectApiServer) UpdateInput ¶
func (UnimplementedInputSelectApiServer) UpdateInput(context.Context, *UpdateInputRequest) (*Input, error)
type UnimplementedInputSelectInfoServer ¶
type UnimplementedInputSelectInfoServer struct{}
UnimplementedInputSelectInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInputSelectInfoServer) DescribeInput ¶
func (UnimplementedInputSelectInfoServer) DescribeInput(context.Context, *DescribeInputRequest) (*InputSupport, error)
type UnimplementedLightApiServer ¶
type UnimplementedLightApiServer struct{}
UnimplementedLightApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLightApiServer) GetBrightness ¶
func (UnimplementedLightApiServer) GetBrightness(context.Context, *GetBrightnessRequest) (*Brightness, error)
func (UnimplementedLightApiServer) PullBrightness ¶
func (UnimplementedLightApiServer) PullBrightness(*PullBrightnessRequest, grpc.ServerStreamingServer[PullBrightnessResponse]) error
func (UnimplementedLightApiServer) UpdateBrightness ¶
func (UnimplementedLightApiServer) UpdateBrightness(context.Context, *UpdateBrightnessRequest) (*Brightness, error)
type UnimplementedLightInfoServer ¶
type UnimplementedLightInfoServer struct{}
UnimplementedLightInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLightInfoServer) DescribeBrightness ¶
func (UnimplementedLightInfoServer) DescribeBrightness(context.Context, *DescribeBrightnessRequest) (*BrightnessSupport, error)
type UnimplementedLockUnlockApiServer ¶
type UnimplementedLockUnlockApiServer struct{}
UnimplementedLockUnlockApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLockUnlockApiServer) GetLockUnlock ¶
func (UnimplementedLockUnlockApiServer) GetLockUnlock(context.Context, *GetLockUnlockRequest) (*LockUnlock, error)
func (UnimplementedLockUnlockApiServer) PullLockUnlock ¶
func (UnimplementedLockUnlockApiServer) PullLockUnlock(*PullLockUnlockRequest, grpc.ServerStreamingServer[PullLockUnlockResponse]) error
func (UnimplementedLockUnlockApiServer) UpdateLockUnlock ¶
func (UnimplementedLockUnlockApiServer) UpdateLockUnlock(context.Context, *UpdateLockUnlockRequest) (*LockUnlock, error)
type UnimplementedLockUnlockInfoServer ¶
type UnimplementedLockUnlockInfoServer struct{}
UnimplementedLockUnlockInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedMetadataApiServer ¶
type UnimplementedMetadataApiServer struct{}
UnimplementedMetadataApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMetadataApiServer) GetMetadata ¶
func (UnimplementedMetadataApiServer) GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error)
func (UnimplementedMetadataApiServer) PullMetadata ¶
func (UnimplementedMetadataApiServer) PullMetadata(*PullMetadataRequest, grpc.ServerStreamingServer[PullMetadataResponse]) error
type UnimplementedMetadataInfoServer ¶
type UnimplementedMetadataInfoServer struct{}
UnimplementedMetadataInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedMeterApiServer ¶
type UnimplementedMeterApiServer struct{}
UnimplementedMeterApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMeterApiServer) GetMeterReading ¶
func (UnimplementedMeterApiServer) GetMeterReading(context.Context, *GetMeterReadingRequest) (*MeterReading, error)
func (UnimplementedMeterApiServer) PullMeterReadings ¶
func (UnimplementedMeterApiServer) PullMeterReadings(*PullMeterReadingsRequest, grpc.ServerStreamingServer[PullMeterReadingsResponse]) error
type UnimplementedMeterInfoServer ¶
type UnimplementedMeterInfoServer struct{}
UnimplementedMeterInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMeterInfoServer) DescribeMeterReading ¶
func (UnimplementedMeterInfoServer) DescribeMeterReading(context.Context, *DescribeMeterReadingRequest) (*MeterReadingSupport, error)
type UnimplementedMicrophoneApiServer ¶
type UnimplementedMicrophoneApiServer struct{}
UnimplementedMicrophoneApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMicrophoneApiServer) GetGain ¶
func (UnimplementedMicrophoneApiServer) GetGain(context.Context, *GetMicrophoneGainRequest) (*types.AudioLevel, error)
func (UnimplementedMicrophoneApiServer) UpdateGain ¶
func (UnimplementedMicrophoneApiServer) UpdateGain(context.Context, *UpdateMicrophoneGainRequest) (*types.AudioLevel, error)
type UnimplementedMicrophoneInfoServer ¶
type UnimplementedMicrophoneInfoServer struct{}
UnimplementedMicrophoneInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMicrophoneInfoServer) DescribeGain ¶
func (UnimplementedMicrophoneInfoServer) DescribeGain(context.Context, *DescribeGainRequest) (*GainSupport, error)
type UnimplementedModeApiServer ¶
type UnimplementedModeApiServer struct{}
UnimplementedModeApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedModeApiServer) GetModeValues ¶
func (UnimplementedModeApiServer) GetModeValues(context.Context, *GetModeValuesRequest) (*ModeValues, error)
func (UnimplementedModeApiServer) PullModeValues ¶
func (UnimplementedModeApiServer) PullModeValues(*PullModeValuesRequest, grpc.ServerStreamingServer[PullModeValuesResponse]) error
func (UnimplementedModeApiServer) UpdateModeValues ¶
func (UnimplementedModeApiServer) UpdateModeValues(context.Context, *UpdateModeValuesRequest) (*ModeValues, error)
type UnimplementedModeInfoServer ¶
type UnimplementedModeInfoServer struct{}
UnimplementedModeInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedModeInfoServer) DescribeModes ¶
func (UnimplementedModeInfoServer) DescribeModes(context.Context, *DescribeModesRequest) (*ModesSupport, error)
type UnimplementedMotionSensorApiServer ¶
type UnimplementedMotionSensorApiServer struct{}
UnimplementedMotionSensorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMotionSensorApiServer) GetMotionDetection ¶
func (UnimplementedMotionSensorApiServer) GetMotionDetection(context.Context, *GetMotionDetectionRequest) (*MotionDetection, error)
func (UnimplementedMotionSensorApiServer) PullMotionDetections ¶
func (UnimplementedMotionSensorApiServer) PullMotionDetections(*PullMotionDetectionRequest, grpc.ServerStreamingServer[PullMotionDetectionResponse]) error
type UnimplementedMotionSensorSensorInfoServer ¶
type UnimplementedMotionSensorSensorInfoServer struct{}
UnimplementedMotionSensorSensorInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMotionSensorSensorInfoServer) DescribeMotionDetection ¶
func (UnimplementedMotionSensorSensorInfoServer) DescribeMotionDetection(context.Context, *DescribeMotionDetectionRequest) (*MotionDetectionSupport, error)
type UnimplementedOccupancySensorApiServer ¶
type UnimplementedOccupancySensorApiServer struct{}
UnimplementedOccupancySensorApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOccupancySensorApiServer) GetOccupancy ¶
func (UnimplementedOccupancySensorApiServer) GetOccupancy(context.Context, *GetOccupancyRequest) (*Occupancy, error)
func (UnimplementedOccupancySensorApiServer) PullOccupancy ¶
func (UnimplementedOccupancySensorApiServer) PullOccupancy(*PullOccupancyRequest, grpc.ServerStreamingServer[PullOccupancyResponse]) error
type UnimplementedOccupancySensorInfoServer ¶
type UnimplementedOccupancySensorInfoServer struct{}
UnimplementedOccupancySensorInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOccupancySensorInfoServer) DescribeOccupancy ¶
func (UnimplementedOccupancySensorInfoServer) DescribeOccupancy(context.Context, *DescribeOccupancyRequest) (*OccupancySupport, error)
type UnimplementedOnOffApiServer ¶
type UnimplementedOnOffApiServer struct{}
UnimplementedOnOffApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOnOffApiServer) GetOnOff ¶
func (UnimplementedOnOffApiServer) GetOnOff(context.Context, *GetOnOffRequest) (*OnOff, error)
func (UnimplementedOnOffApiServer) PullOnOff ¶
func (UnimplementedOnOffApiServer) PullOnOff(*PullOnOffRequest, grpc.ServerStreamingServer[PullOnOffResponse]) error
func (UnimplementedOnOffApiServer) UpdateOnOff ¶
func (UnimplementedOnOffApiServer) UpdateOnOff(context.Context, *UpdateOnOffRequest) (*OnOff, error)
type UnimplementedOnOffInfoServer ¶
type UnimplementedOnOffInfoServer struct{}
UnimplementedOnOffInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOnOffInfoServer) DescribeOnOff ¶
func (UnimplementedOnOffInfoServer) DescribeOnOff(context.Context, *DescribeOnOffRequest) (*OnOffSupport, error)
type UnimplementedOpenCloseApiServer ¶
type UnimplementedOpenCloseApiServer struct{}
UnimplementedOpenCloseApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOpenCloseApiServer) GetPositions ¶
func (UnimplementedOpenCloseApiServer) GetPositions(context.Context, *GetOpenClosePositionsRequest) (*OpenClosePositions, error)
func (UnimplementedOpenCloseApiServer) PullPositions ¶
func (UnimplementedOpenCloseApiServer) PullPositions(*PullOpenClosePositionsRequest, grpc.ServerStreamingServer[PullOpenClosePositionsResponse]) error
func (UnimplementedOpenCloseApiServer) Stop ¶
func (UnimplementedOpenCloseApiServer) Stop(context.Context, *StopOpenCloseRequest) (*OpenClosePositions, error)
func (UnimplementedOpenCloseApiServer) UpdatePositions ¶
func (UnimplementedOpenCloseApiServer) UpdatePositions(context.Context, *UpdateOpenClosePositionsRequest) (*OpenClosePositions, error)
type UnimplementedOpenCloseInfoServer ¶
type UnimplementedOpenCloseInfoServer struct{}
UnimplementedOpenCloseInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOpenCloseInfoServer) DescribePositions ¶
func (UnimplementedOpenCloseInfoServer) DescribePositions(context.Context, *DescribePositionsRequest) (*PositionsSupport, error)
type UnimplementedParentApiServer ¶
type UnimplementedParentApiServer struct{}
UnimplementedParentApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedParentApiServer) ListChildren ¶
func (UnimplementedParentApiServer) ListChildren(context.Context, *ListChildrenRequest) (*ListChildrenResponse, error)
func (UnimplementedParentApiServer) PullChildren ¶
func (UnimplementedParentApiServer) PullChildren(*PullChildrenRequest, grpc.ServerStreamingServer[PullChildrenResponse]) error
type UnimplementedParentInfoServer ¶
type UnimplementedParentInfoServer struct{}
UnimplementedParentInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedPressApiServer ¶
type UnimplementedPressApiServer struct{}
UnimplementedPressApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPressApiServer) GetPressedState ¶
func (UnimplementedPressApiServer) GetPressedState(context.Context, *GetPressedStateRequest) (*PressedState, error)
func (UnimplementedPressApiServer) PullPressedState ¶
func (UnimplementedPressApiServer) PullPressedState(*PullPressedStateRequest, grpc.ServerStreamingServer[PullPressedStateResponse]) error
func (UnimplementedPressApiServer) UpdatePressedState ¶
func (UnimplementedPressApiServer) UpdatePressedState(context.Context, *UpdatePressedStateRequest) (*PressedState, error)
type UnimplementedPtzApiServer ¶
type UnimplementedPtzApiServer struct{}
UnimplementedPtzApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPtzApiServer) CreatePreset ¶
func (UnimplementedPtzApiServer) CreatePreset(context.Context, *CreatePtzPresetRequest) (*PtzPreset, error)
func (UnimplementedPtzApiServer) GetPtz ¶
func (UnimplementedPtzApiServer) GetPtz(context.Context, *GetPtzRequest) (*Ptz, error)
func (UnimplementedPtzApiServer) PullPtz ¶
func (UnimplementedPtzApiServer) PullPtz(*PullPtzRequest, grpc.ServerStreamingServer[PullPtzResponse]) error
func (UnimplementedPtzApiServer) Stop ¶
func (UnimplementedPtzApiServer) Stop(context.Context, *StopPtzRequest) (*Ptz, error)
func (UnimplementedPtzApiServer) UpdatePtz ¶
func (UnimplementedPtzApiServer) UpdatePtz(context.Context, *UpdatePtzRequest) (*Ptz, error)
type UnimplementedPtzInfoServer ¶
type UnimplementedPtzInfoServer struct{}
UnimplementedPtzInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPtzInfoServer) DescribePtz ¶
func (UnimplementedPtzInfoServer) DescribePtz(context.Context, *DescribePtzRequest) (*PtzSupport, error)
type UnimplementedPublicationApiServer ¶
type UnimplementedPublicationApiServer struct{}
UnimplementedPublicationApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPublicationApiServer) AcknowledgePublication ¶
func (UnimplementedPublicationApiServer) AcknowledgePublication(context.Context, *AcknowledgePublicationRequest) (*Publication, error)
func (UnimplementedPublicationApiServer) CreatePublication ¶
func (UnimplementedPublicationApiServer) CreatePublication(context.Context, *CreatePublicationRequest) (*Publication, error)
func (UnimplementedPublicationApiServer) DeletePublication ¶
func (UnimplementedPublicationApiServer) DeletePublication(context.Context, *DeletePublicationRequest) (*Publication, error)
func (UnimplementedPublicationApiServer) GetPublication ¶
func (UnimplementedPublicationApiServer) GetPublication(context.Context, *GetPublicationRequest) (*Publication, error)
func (UnimplementedPublicationApiServer) ListPublications ¶
func (UnimplementedPublicationApiServer) ListPublications(context.Context, *ListPublicationsRequest) (*ListPublicationsResponse, error)
func (UnimplementedPublicationApiServer) PullPublication ¶
func (UnimplementedPublicationApiServer) PullPublication(*PullPublicationRequest, grpc.ServerStreamingServer[PullPublicationResponse]) error
func (UnimplementedPublicationApiServer) PullPublications ¶
func (UnimplementedPublicationApiServer) PullPublications(*PullPublicationsRequest, grpc.ServerStreamingServer[PullPublicationsResponse]) error
func (UnimplementedPublicationApiServer) UpdatePublication ¶
func (UnimplementedPublicationApiServer) UpdatePublication(context.Context, *UpdatePublicationRequest) (*Publication, error)
type UnimplementedSpeakerApiServer ¶
type UnimplementedSpeakerApiServer struct{}
UnimplementedSpeakerApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSpeakerApiServer) GetVolume ¶
func (UnimplementedSpeakerApiServer) GetVolume(context.Context, *GetSpeakerVolumeRequest) (*types.AudioLevel, error)
func (UnimplementedSpeakerApiServer) PullVolume ¶
func (UnimplementedSpeakerApiServer) PullVolume(*PullSpeakerVolumeRequest, grpc.ServerStreamingServer[PullSpeakerVolumeResponse]) error
func (UnimplementedSpeakerApiServer) UpdateVolume ¶
func (UnimplementedSpeakerApiServer) UpdateVolume(context.Context, *UpdateSpeakerVolumeRequest) (*types.AudioLevel, error)
type UnimplementedSpeakerInfoServer ¶
type UnimplementedSpeakerInfoServer struct{}
UnimplementedSpeakerInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSpeakerInfoServer) DescribeVolume ¶
func (UnimplementedSpeakerInfoServer) DescribeVolume(context.Context, *DescribeVolumeRequest) (*VolumeSupport, error)
type UnimplementedTemperatureApiServer ¶
type UnimplementedTemperatureApiServer struct{}
UnimplementedTemperatureApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTemperatureApiServer) GetTemperature ¶
func (UnimplementedTemperatureApiServer) GetTemperature(context.Context, *GetTemperatureRequest) (*Temperature, error)
func (UnimplementedTemperatureApiServer) PullTemperature ¶
func (UnimplementedTemperatureApiServer) PullTemperature(*PullTemperatureRequest, grpc.ServerStreamingServer[PullTemperatureResponse]) error
func (UnimplementedTemperatureApiServer) UpdateTemperature ¶
func (UnimplementedTemperatureApiServer) UpdateTemperature(context.Context, *UpdateTemperatureRequest) (*Temperature, error)
type UnimplementedVendingApiServer ¶
type UnimplementedVendingApiServer struct{}
UnimplementedVendingApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedVendingApiServer) Dispense ¶
func (UnimplementedVendingApiServer) Dispense(context.Context, *DispenseRequest) (*Consumable_Stock, error)
func (UnimplementedVendingApiServer) GetStock ¶
func (UnimplementedVendingApiServer) GetStock(context.Context, *GetStockRequest) (*Consumable_Stock, error)
func (UnimplementedVendingApiServer) ListConsumables ¶
func (UnimplementedVendingApiServer) ListConsumables(context.Context, *ListConsumablesRequest) (*ListConsumablesResponse, error)
func (UnimplementedVendingApiServer) ListInventory ¶
func (UnimplementedVendingApiServer) ListInventory(context.Context, *ListInventoryRequest) (*ListInventoryResponse, error)
func (UnimplementedVendingApiServer) PullConsumables ¶
func (UnimplementedVendingApiServer) PullConsumables(*PullConsumablesRequest, grpc.ServerStreamingServer[PullConsumablesResponse]) error
func (UnimplementedVendingApiServer) PullInventory ¶
func (UnimplementedVendingApiServer) PullInventory(*PullInventoryRequest, grpc.ServerStreamingServer[PullInventoryResponse]) error
func (UnimplementedVendingApiServer) PullStock ¶
func (UnimplementedVendingApiServer) PullStock(*PullStockRequest, grpc.ServerStreamingServer[PullStockResponse]) error
func (UnimplementedVendingApiServer) StopDispense ¶
func (UnimplementedVendingApiServer) StopDispense(context.Context, *StopDispenseRequest) (*Consumable_Stock, error)
func (UnimplementedVendingApiServer) UpdateStock ¶
func (UnimplementedVendingApiServer) UpdateStock(context.Context, *UpdateStockRequest) (*Consumable_Stock, error)
type UnimplementedVendingInfoServer ¶
type UnimplementedVendingInfoServer struct{}
UnimplementedVendingInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedWasteApiServer ¶
type UnimplementedWasteApiServer struct{}
UnimplementedWasteApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedWasteApiServer) ListWasteRecords ¶
func (UnimplementedWasteApiServer) ListWasteRecords(context.Context, *ListWasteRecordsRequest) (*ListWasteRecordsResponse, error)
func (UnimplementedWasteApiServer) PullWasteRecords ¶
func (UnimplementedWasteApiServer) PullWasteRecords(*PullWasteRecordsRequest, grpc.ServerStreamingServer[PullWasteRecordsResponse]) error
type UnimplementedWasteInfoServer ¶
type UnimplementedWasteInfoServer struct{}
UnimplementedWasteInfoServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedWasteInfoServer) DescribeWasteRecord ¶
func (UnimplementedWasteInfoServer) DescribeWasteRecord(context.Context, *DescribeWasteRecordRequest) (*WasteRecordSupport, 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 UnsafeAirQualitySensorApiServer ¶
type UnsafeAirQualitySensorApiServer interface {
// contains filtered or unexported methods
}
UnsafeAirQualitySensorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AirQualitySensorApiServer will result in compilation errors.
type UnsafeAirQualitySensorInfoServer ¶
type UnsafeAirQualitySensorInfoServer interface {
// contains filtered or unexported methods
}
UnsafeAirQualitySensorInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AirQualitySensorInfoServer will result in compilation errors.
type UnsafeAirTemperatureApiServer ¶
type UnsafeAirTemperatureApiServer interface {
// contains filtered or unexported methods
}
UnsafeAirTemperatureApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AirTemperatureApiServer will result in compilation errors.
type UnsafeAirTemperatureInfoServer ¶
type UnsafeAirTemperatureInfoServer interface {
// contains filtered or unexported methods
}
UnsafeAirTemperatureInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AirTemperatureInfoServer will result in compilation errors.
type UnsafeBookingApiServer ¶
type UnsafeBookingApiServer interface {
// contains filtered or unexported methods
}
UnsafeBookingApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BookingApiServer will result in compilation errors.
type UnsafeBookingInfoServer ¶
type UnsafeBookingInfoServer interface {
// contains filtered or unexported methods
}
UnsafeBookingInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BookingInfoServer will result in compilation errors.
type UnsafeBrightnessSensorApiServer ¶
type UnsafeBrightnessSensorApiServer interface {
// contains filtered or unexported methods
}
UnsafeBrightnessSensorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BrightnessSensorApiServer will result in compilation errors.
type UnsafeBrightnessSensorInfoServer ¶
type UnsafeBrightnessSensorInfoServer interface {
// contains filtered or unexported methods
}
UnsafeBrightnessSensorInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BrightnessSensorInfoServer will result in compilation errors.
type UnsafeChannelApiServer ¶
type UnsafeChannelApiServer interface {
// contains filtered or unexported methods
}
UnsafeChannelApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelApiServer will result in compilation errors.
type UnsafeChannelInfoServer ¶
type UnsafeChannelInfoServer interface {
// contains filtered or unexported methods
}
UnsafeChannelInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelInfoServer will result in compilation errors.
type 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 UnsafeCountApiServer ¶
type UnsafeCountApiServer interface {
// contains filtered or unexported methods
}
UnsafeCountApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CountApiServer will result in compilation errors.
type UnsafeCountInfoServer ¶
type UnsafeCountInfoServer interface {
// contains filtered or unexported methods
}
UnsafeCountInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CountInfoServer will result in compilation errors.
type UnsafeElectricApiServer ¶
type UnsafeElectricApiServer interface {
// contains filtered or unexported methods
}
UnsafeElectricApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ElectricApiServer will result in compilation errors.
type UnsafeElectricInfoServer ¶
type UnsafeElectricInfoServer interface {
// contains filtered or unexported methods
}
UnsafeElectricInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ElectricInfoServer will result in compilation errors.
type UnsafeEmergencyApiServer ¶
type UnsafeEmergencyApiServer interface {
// contains filtered or unexported methods
}
UnsafeEmergencyApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmergencyApiServer will result in compilation errors.
type UnsafeEmergencyInfoServer ¶
type UnsafeEmergencyInfoServer interface {
// contains filtered or unexported methods
}
UnsafeEmergencyInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmergencyInfoServer will result in compilation errors.
type UnsafeEnergyStorageApiServer ¶
type UnsafeEnergyStorageApiServer interface {
// contains filtered or unexported methods
}
UnsafeEnergyStorageApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnergyStorageApiServer will result in compilation errors.
type UnsafeEnergyStorageInfoServer ¶
type UnsafeEnergyStorageInfoServer interface {
// contains filtered or unexported methods
}
UnsafeEnergyStorageInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnergyStorageInfoServer will result in compilation errors.
type UnsafeEnterLeaveSensorApiServer ¶
type UnsafeEnterLeaveSensorApiServer interface {
// contains filtered or unexported methods
}
UnsafeEnterLeaveSensorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnterLeaveSensorApiServer will result in compilation errors.
type UnsafeEnterLeaveSensorInfoServer ¶
type UnsafeEnterLeaveSensorInfoServer interface {
// contains filtered or unexported methods
}
UnsafeEnterLeaveSensorInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnterLeaveSensorInfoServer will result in compilation errors.
type UnsafeExtendRetractApiServer ¶
type UnsafeExtendRetractApiServer interface {
// contains filtered or unexported methods
}
UnsafeExtendRetractApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExtendRetractApiServer will result in compilation errors.
type UnsafeExtendRetractInfoServer ¶
type UnsafeExtendRetractInfoServer interface {
// contains filtered or unexported methods
}
UnsafeExtendRetractInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExtendRetractInfoServer will result in compilation errors.
type UnsafeFanSpeedApiServer ¶
type UnsafeFanSpeedApiServer interface {
// contains filtered or unexported methods
}
UnsafeFanSpeedApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FanSpeedApiServer will result in compilation errors.
type UnsafeFanSpeedInfoServer ¶
type UnsafeFanSpeedInfoServer interface {
// contains filtered or unexported methods
}
UnsafeFanSpeedInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FanSpeedInfoServer will result in compilation errors.
type UnsafeHailApiServer ¶
type UnsafeHailApiServer interface {
// contains filtered or unexported methods
}
UnsafeHailApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HailApiServer will result in compilation errors.
type UnsafeHailInfoServer ¶
type UnsafeHailInfoServer interface {
// contains filtered or unexported methods
}
UnsafeHailInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HailInfoServer will result in compilation errors.
type UnsafeInputSelectApiServer ¶
type UnsafeInputSelectApiServer interface {
// contains filtered or unexported methods
}
UnsafeInputSelectApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InputSelectApiServer will result in compilation errors.
type UnsafeInputSelectInfoServer ¶
type UnsafeInputSelectInfoServer interface {
// contains filtered or unexported methods
}
UnsafeInputSelectInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InputSelectInfoServer will result in compilation errors.
type UnsafeLightApiServer ¶
type UnsafeLightApiServer interface {
// contains filtered or unexported methods
}
UnsafeLightApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LightApiServer will result in compilation errors.
type UnsafeLightInfoServer ¶
type UnsafeLightInfoServer interface {
// contains filtered or unexported methods
}
UnsafeLightInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LightInfoServer will result in compilation errors.
type UnsafeLockUnlockApiServer ¶
type UnsafeLockUnlockApiServer interface {
// contains filtered or unexported methods
}
UnsafeLockUnlockApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LockUnlockApiServer will result in compilation errors.
type UnsafeLockUnlockInfoServer ¶
type UnsafeLockUnlockInfoServer interface {
// contains filtered or unexported methods
}
UnsafeLockUnlockInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LockUnlockInfoServer will result in compilation errors.
type UnsafeMetadataApiServer ¶
type UnsafeMetadataApiServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataApiServer will result in compilation errors.
type UnsafeMetadataInfoServer ¶
type UnsafeMetadataInfoServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataInfoServer will result in compilation errors.
type 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 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 UnsafeMicrophoneApiServer ¶
type UnsafeMicrophoneApiServer interface {
// contains filtered or unexported methods
}
UnsafeMicrophoneApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MicrophoneApiServer will result in compilation errors.
type UnsafeMicrophoneInfoServer ¶
type UnsafeMicrophoneInfoServer interface {
// contains filtered or unexported methods
}
UnsafeMicrophoneInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MicrophoneInfoServer will result in compilation errors.
type UnsafeModeApiServer ¶
type UnsafeModeApiServer interface {
// contains filtered or unexported methods
}
UnsafeModeApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModeApiServer will result in compilation errors.
type UnsafeModeInfoServer ¶
type UnsafeModeInfoServer interface {
// contains filtered or unexported methods
}
UnsafeModeInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModeInfoServer will result in compilation errors.
type UnsafeMotionSensorApiServer ¶
type UnsafeMotionSensorApiServer interface {
// contains filtered or unexported methods
}
UnsafeMotionSensorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MotionSensorApiServer will result in compilation errors.
type UnsafeMotionSensorSensorInfoServer ¶
type UnsafeMotionSensorSensorInfoServer interface {
// contains filtered or unexported methods
}
UnsafeMotionSensorSensorInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MotionSensorSensorInfoServer will result in compilation errors.
type UnsafeOccupancySensorApiServer ¶
type UnsafeOccupancySensorApiServer interface {
// contains filtered or unexported methods
}
UnsafeOccupancySensorApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OccupancySensorApiServer will result in compilation errors.
type UnsafeOccupancySensorInfoServer ¶
type UnsafeOccupancySensorInfoServer interface {
// contains filtered or unexported methods
}
UnsafeOccupancySensorInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OccupancySensorInfoServer will result in compilation errors.
type UnsafeOnOffApiServer ¶
type UnsafeOnOffApiServer interface {
// contains filtered or unexported methods
}
UnsafeOnOffApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OnOffApiServer will result in compilation errors.
type UnsafeOnOffInfoServer ¶
type UnsafeOnOffInfoServer interface {
// contains filtered or unexported methods
}
UnsafeOnOffInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OnOffInfoServer will result in compilation errors.
type UnsafeOpenCloseApiServer ¶
type UnsafeOpenCloseApiServer interface {
// contains filtered or unexported methods
}
UnsafeOpenCloseApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OpenCloseApiServer will result in compilation errors.
type UnsafeOpenCloseInfoServer ¶
type UnsafeOpenCloseInfoServer interface {
// contains filtered or unexported methods
}
UnsafeOpenCloseInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OpenCloseInfoServer will result in compilation errors.
type UnsafeParentApiServer ¶
type UnsafeParentApiServer interface {
// contains filtered or unexported methods
}
UnsafeParentApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParentApiServer will result in compilation errors.
type UnsafeParentInfoServer ¶
type UnsafeParentInfoServer interface {
// contains filtered or unexported methods
}
UnsafeParentInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParentInfoServer will result in compilation errors.
type UnsafePressApiServer ¶
type UnsafePressApiServer interface {
// contains filtered or unexported methods
}
UnsafePressApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PressApiServer will result in compilation errors.
type UnsafePtzApiServer ¶
type UnsafePtzApiServer interface {
// contains filtered or unexported methods
}
UnsafePtzApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PtzApiServer will result in compilation errors.
type UnsafePtzInfoServer ¶
type UnsafePtzInfoServer interface {
// contains filtered or unexported methods
}
UnsafePtzInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PtzInfoServer will result in compilation errors.
type UnsafePublicationApiServer ¶
type UnsafePublicationApiServer interface {
// contains filtered or unexported methods
}
UnsafePublicationApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicationApiServer will result in compilation errors.
type UnsafeSpeakerApiServer ¶
type UnsafeSpeakerApiServer interface {
// contains filtered or unexported methods
}
UnsafeSpeakerApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SpeakerApiServer will result in compilation errors.
type UnsafeSpeakerInfoServer ¶
type UnsafeSpeakerInfoServer interface {
// contains filtered or unexported methods
}
UnsafeSpeakerInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SpeakerInfoServer will result in compilation errors.
type 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 UnsafeVendingApiServer ¶
type UnsafeVendingApiServer interface {
// contains filtered or unexported methods
}
UnsafeVendingApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VendingApiServer will result in compilation errors.
type UnsafeVendingInfoServer ¶
type UnsafeVendingInfoServer interface {
// contains filtered or unexported methods
}
UnsafeVendingInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VendingInfoServer will result in compilation errors.
type UnsafeWasteApiServer ¶
type UnsafeWasteApiServer interface {
// contains filtered or unexported methods
}
UnsafeWasteApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WasteApiServer will result in compilation errors.
type UnsafeWasteInfoServer ¶
type UnsafeWasteInfoServer interface {
// contains filtered or unexported methods
}
UnsafeWasteInfoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WasteInfoServer will result in compilation errors.
type UpdateActiveModeRequest ¶
type UpdateActiveModeRequest struct { // Name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The active mode to select. // The id field should be specified to select an existing mode. ActiveMode *ElectricMode `protobuf:"bytes,2,opt,name=active_mode,json=activeMode,proto3" json:"active_mode,omitempty"` // Fields to update relative to the ElectricMode type. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateActiveModeRequest) Descriptor
deprecated
func (*UpdateActiveModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActiveModeRequest.ProtoReflect.Descriptor instead.
func (*UpdateActiveModeRequest) GetActiveMode ¶
func (x *UpdateActiveModeRequest) GetActiveMode() *ElectricMode
func (*UpdateActiveModeRequest) GetName ¶
func (x *UpdateActiveModeRequest) GetName() string
func (*UpdateActiveModeRequest) GetUpdateMask ¶
func (x *UpdateActiveModeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateActiveModeRequest) ProtoMessage ¶
func (*UpdateActiveModeRequest) ProtoMessage()
func (*UpdateActiveModeRequest) ProtoReflect ¶
func (x *UpdateActiveModeRequest) ProtoReflect() protoreflect.Message
func (*UpdateActiveModeRequest) Reset ¶
func (x *UpdateActiveModeRequest) Reset()
func (*UpdateActiveModeRequest) String ¶
func (x *UpdateActiveModeRequest) String() string
type UpdateAirTemperatureRequest ¶
type UpdateAirTemperatureRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` State *AirTemperature `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // The fields relative to state we intend to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for updating the device state
func (*UpdateAirTemperatureRequest) Descriptor
deprecated
func (*UpdateAirTemperatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAirTemperatureRequest.ProtoReflect.Descriptor instead.
func (*UpdateAirTemperatureRequest) GetName ¶
func (x *UpdateAirTemperatureRequest) GetName() string
func (*UpdateAirTemperatureRequest) GetState ¶
func (x *UpdateAirTemperatureRequest) GetState() *AirTemperature
func (*UpdateAirTemperatureRequest) GetUpdateMask ¶
func (x *UpdateAirTemperatureRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAirTemperatureRequest) ProtoMessage ¶
func (*UpdateAirTemperatureRequest) ProtoMessage()
func (*UpdateAirTemperatureRequest) ProtoReflect ¶
func (x *UpdateAirTemperatureRequest) ProtoReflect() protoreflect.Message
func (*UpdateAirTemperatureRequest) Reset ¶
func (x *UpdateAirTemperatureRequest) Reset()
func (*UpdateAirTemperatureRequest) String ¶
func (x *UpdateAirTemperatureRequest) String() string
type UpdateBookingRequest ¶
type UpdateBookingRequest struct { // The name of the bookable (e.g. the resource name) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new value of the booking to use, make sure id is set Booking *Booking `protobuf:"bytes,2,opt,name=booking,proto3" json:"booking,omitempty"` // Which fields in the booking to update, any unsupported fields will be ignored, check the return value UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateBookingRequest) Descriptor
deprecated
func (*UpdateBookingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBookingRequest.ProtoReflect.Descriptor instead.
func (*UpdateBookingRequest) GetBooking ¶
func (x *UpdateBookingRequest) GetBooking() *Booking
func (*UpdateBookingRequest) GetName ¶
func (x *UpdateBookingRequest) GetName() string
func (*UpdateBookingRequest) GetUpdateMask ¶
func (x *UpdateBookingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBookingRequest) ProtoMessage ¶
func (*UpdateBookingRequest) ProtoMessage()
func (*UpdateBookingRequest) ProtoReflect ¶
func (x *UpdateBookingRequest) ProtoReflect() protoreflect.Message
func (*UpdateBookingRequest) Reset ¶
func (x *UpdateBookingRequest) Reset()
func (*UpdateBookingRequest) String ¶
func (x *UpdateBookingRequest) String() string
type UpdateBookingResponse ¶
type UpdateBookingResponse struct { // The new value of the booking Booking *Booking `protobuf:"bytes,1,opt,name=booking,proto3" json:"booking,omitempty"` // contains filtered or unexported fields }
func (*UpdateBookingResponse) Descriptor
deprecated
func (*UpdateBookingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBookingResponse.ProtoReflect.Descriptor instead.
func (*UpdateBookingResponse) GetBooking ¶
func (x *UpdateBookingResponse) GetBooking() *Booking
func (*UpdateBookingResponse) ProtoMessage ¶
func (*UpdateBookingResponse) ProtoMessage()
func (*UpdateBookingResponse) ProtoReflect ¶
func (x *UpdateBookingResponse) ProtoReflect() protoreflect.Message
func (*UpdateBookingResponse) Reset ¶
func (x *UpdateBookingResponse) Reset()
func (*UpdateBookingResponse) String ¶
func (x *UpdateBookingResponse) String() string
type UpdateBrightnessRequest ¶
type UpdateBrightnessRequest struct { // The name of the device to update Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new value for the brightness. Supply ramp to transition Brightness *Brightness `protobuf:"bytes,2,opt,name=brightness,proto3" json:"brightness,omitempty"` // if true, then the values in the brightness represent deltas from the current value and not absolute values Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // The state fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update the value of a brightness
func (*UpdateBrightnessRequest) Descriptor
deprecated
func (*UpdateBrightnessRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBrightnessRequest.ProtoReflect.Descriptor instead.
func (*UpdateBrightnessRequest) GetBrightness ¶
func (x *UpdateBrightnessRequest) GetBrightness() *Brightness
func (*UpdateBrightnessRequest) GetDelta ¶
func (x *UpdateBrightnessRequest) GetDelta() bool
func (*UpdateBrightnessRequest) GetName ¶
func (x *UpdateBrightnessRequest) GetName() string
func (*UpdateBrightnessRequest) GetUpdateMask ¶
func (x *UpdateBrightnessRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBrightnessRequest) ProtoMessage ¶
func (*UpdateBrightnessRequest) ProtoMessage()
func (*UpdateBrightnessRequest) ProtoReflect ¶
func (x *UpdateBrightnessRequest) ProtoReflect() protoreflect.Message
func (*UpdateBrightnessRequest) Reset ¶
func (x *UpdateBrightnessRequest) Reset()
func (*UpdateBrightnessRequest) String ¶
func (x *UpdateBrightnessRequest) String() string
type 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 UpdateCountRequest ¶
type UpdateCountRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count *Count `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // if true the added and removed properties of count should be treated as a change not an absolute value. Delta bool `protobuf:"varint,4,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
func (*UpdateCountRequest) Descriptor
deprecated
func (*UpdateCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCountRequest.ProtoReflect.Descriptor instead.
func (*UpdateCountRequest) GetCount ¶
func (x *UpdateCountRequest) GetCount() *Count
func (*UpdateCountRequest) GetDelta ¶
func (x *UpdateCountRequest) GetDelta() bool
func (*UpdateCountRequest) GetName ¶
func (x *UpdateCountRequest) GetName() string
func (*UpdateCountRequest) GetUpdateMask ¶
func (x *UpdateCountRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCountRequest) ProtoMessage ¶
func (*UpdateCountRequest) ProtoMessage()
func (*UpdateCountRequest) ProtoReflect ¶
func (x *UpdateCountRequest) ProtoReflect() protoreflect.Message
func (*UpdateCountRequest) Reset ¶
func (x *UpdateCountRequest) Reset()
func (*UpdateCountRequest) String ¶
func (x *UpdateCountRequest) String() string
type UpdateEmergencyRequest ¶
type UpdateEmergencyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Emergency *Emergency `protobuf:"bytes,2,opt,name=emergency,proto3" json:"emergency,omitempty"` // The fields relative to state we intend to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateEmergencyRequest) Descriptor
deprecated
func (*UpdateEmergencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEmergencyRequest.ProtoReflect.Descriptor instead.
func (*UpdateEmergencyRequest) GetEmergency ¶
func (x *UpdateEmergencyRequest) GetEmergency() *Emergency
func (*UpdateEmergencyRequest) GetName ¶
func (x *UpdateEmergencyRequest) GetName() string
func (*UpdateEmergencyRequest) GetUpdateMask ¶
func (x *UpdateEmergencyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEmergencyRequest) ProtoMessage ¶
func (*UpdateEmergencyRequest) ProtoMessage()
func (*UpdateEmergencyRequest) ProtoReflect ¶
func (x *UpdateEmergencyRequest) ProtoReflect() protoreflect.Message
func (*UpdateEmergencyRequest) Reset ¶
func (x *UpdateEmergencyRequest) Reset()
func (*UpdateEmergencyRequest) String ¶
func (x *UpdateEmergencyRequest) String() string
type UpdateExtensionRequest ¶
type UpdateExtensionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Extension *Extension `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateExtensionRequest) Descriptor
deprecated
func (*UpdateExtensionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateExtensionRequest.ProtoReflect.Descriptor instead.
func (*UpdateExtensionRequest) GetExtension ¶
func (x *UpdateExtensionRequest) GetExtension() *Extension
func (*UpdateExtensionRequest) GetName ¶
func (x *UpdateExtensionRequest) GetName() string
func (*UpdateExtensionRequest) GetUpdateMask ¶
func (x *UpdateExtensionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateExtensionRequest) ProtoMessage ¶
func (*UpdateExtensionRequest) ProtoMessage()
func (*UpdateExtensionRequest) ProtoReflect ¶
func (x *UpdateExtensionRequest) ProtoReflect() protoreflect.Message
func (*UpdateExtensionRequest) Reset ¶
func (x *UpdateExtensionRequest) Reset()
func (*UpdateExtensionRequest) String ¶
func (x *UpdateExtensionRequest) String() string
type UpdateFanSpeedRequest ¶
type UpdateFanSpeedRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new fan speed. FanSpeed *FanSpeed `protobuf:"bytes,2,opt,name=fan_speed,json=fanSpeed,proto3" json:"fan_speed,omitempty"` // Fields to fetch relative to the FanSpeed type UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Values in fan_speed are relative to their current values. // FanSpeed.preset cannot be directly set relatively, use preset_index instead to adjust the selected preset index. Relative bool `protobuf:"varint,4,opt,name=relative,proto3" json:"relative,omitempty"` // contains filtered or unexported fields }
func (*UpdateFanSpeedRequest) Descriptor
deprecated
func (*UpdateFanSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFanSpeedRequest.ProtoReflect.Descriptor instead.
func (*UpdateFanSpeedRequest) GetFanSpeed ¶
func (x *UpdateFanSpeedRequest) GetFanSpeed() *FanSpeed
func (*UpdateFanSpeedRequest) GetName ¶
func (x *UpdateFanSpeedRequest) GetName() string
func (*UpdateFanSpeedRequest) GetRelative ¶
func (x *UpdateFanSpeedRequest) GetRelative() bool
func (*UpdateFanSpeedRequest) GetUpdateMask ¶
func (x *UpdateFanSpeedRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFanSpeedRequest) ProtoMessage ¶
func (*UpdateFanSpeedRequest) ProtoMessage()
func (*UpdateFanSpeedRequest) ProtoReflect ¶
func (x *UpdateFanSpeedRequest) ProtoReflect() protoreflect.Message
func (*UpdateFanSpeedRequest) Reset ¶
func (x *UpdateFanSpeedRequest) Reset()
func (*UpdateFanSpeedRequest) String ¶
func (x *UpdateFanSpeedRequest) String() string
type UpdateHailRequest ¶
type UpdateHailRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New hail properties. // Id must be set. Hail *Hail `protobuf:"bytes,2,opt,name=hail,proto3" json:"hail,omitempty"` // A list of fields to update relative to the Hail type. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateHailRequest) Descriptor
deprecated
func (*UpdateHailRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHailRequest.ProtoReflect.Descriptor instead.
func (*UpdateHailRequest) GetHail ¶
func (x *UpdateHailRequest) GetHail() *Hail
func (*UpdateHailRequest) GetName ¶
func (x *UpdateHailRequest) GetName() string
func (*UpdateHailRequest) GetUpdateMask ¶
func (x *UpdateHailRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateHailRequest) ProtoMessage ¶
func (*UpdateHailRequest) ProtoMessage()
func (*UpdateHailRequest) ProtoReflect ¶
func (x *UpdateHailRequest) ProtoReflect() protoreflect.Message
func (*UpdateHailRequest) Reset ¶
func (x *UpdateHailRequest) Reset()
func (*UpdateHailRequest) String ¶
func (x *UpdateHailRequest) String() string
type UpdateInputRequest ¶
type UpdateInputRequest struct { // The name of the device to update Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new input value Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` // the fields we are intending to update. Paths are relative to the input not this request UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update the current input
func (*UpdateInputRequest) Descriptor
deprecated
func (*UpdateInputRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInputRequest.ProtoReflect.Descriptor instead.
func (*UpdateInputRequest) GetInput ¶
func (x *UpdateInputRequest) GetInput() *Input
func (*UpdateInputRequest) GetName ¶
func (x *UpdateInputRequest) GetName() string
func (*UpdateInputRequest) GetUpdateMask ¶
func (x *UpdateInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInputRequest) ProtoMessage ¶
func (*UpdateInputRequest) ProtoMessage()
func (*UpdateInputRequest) ProtoReflect ¶
func (x *UpdateInputRequest) ProtoReflect() protoreflect.Message
func (*UpdateInputRequest) Reset ¶
func (x *UpdateInputRequest) Reset()
func (*UpdateInputRequest) String ¶
func (x *UpdateInputRequest) String() string
type UpdateLockUnlockRequest ¶
type UpdateLockUnlockRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new value LockUnlock *LockUnlock `protobuf:"bytes,2,opt,name=lock_unlock,json=lockUnlock,proto3" json:"lock_unlock,omitempty"` // Fields to fetch relative to the LockUnlock type UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateLockUnlockRequest) Descriptor
deprecated
func (*UpdateLockUnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLockUnlockRequest.ProtoReflect.Descriptor instead.
func (*UpdateLockUnlockRequest) GetLockUnlock ¶
func (x *UpdateLockUnlockRequest) GetLockUnlock() *LockUnlock
func (*UpdateLockUnlockRequest) GetName ¶
func (x *UpdateLockUnlockRequest) GetName() string
func (*UpdateLockUnlockRequest) GetUpdateMask ¶
func (x *UpdateLockUnlockRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateLockUnlockRequest) ProtoMessage ¶
func (*UpdateLockUnlockRequest) ProtoMessage()
func (*UpdateLockUnlockRequest) ProtoReflect ¶
func (x *UpdateLockUnlockRequest) ProtoReflect() protoreflect.Message
func (*UpdateLockUnlockRequest) Reset ¶
func (x *UpdateLockUnlockRequest) Reset()
func (*UpdateLockUnlockRequest) String ¶
func (x *UpdateLockUnlockRequest) String() string
type UpdateMicrophoneGainRequest ¶
type UpdateMicrophoneGainRequest struct { // Name of the device to update the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The updated gain value Gain *types.AudioLevel `protobuf:"bytes,2,opt,name=gain,proto3" json:"gain,omitempty"` // Only supported for AudioLevel.gain. Update the value relative to the current value. Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // The fields we intend to update relative to the AudioLevel type UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateMicrophoneGainRequest) Descriptor
deprecated
func (*UpdateMicrophoneGainRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMicrophoneGainRequest.ProtoReflect.Descriptor instead.
func (*UpdateMicrophoneGainRequest) GetDelta ¶
func (x *UpdateMicrophoneGainRequest) GetDelta() bool
func (*UpdateMicrophoneGainRequest) GetGain ¶
func (x *UpdateMicrophoneGainRequest) GetGain() *types.AudioLevel
func (*UpdateMicrophoneGainRequest) GetName ¶
func (x *UpdateMicrophoneGainRequest) GetName() string
func (*UpdateMicrophoneGainRequest) GetUpdateMask ¶
func (x *UpdateMicrophoneGainRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMicrophoneGainRequest) ProtoMessage ¶
func (*UpdateMicrophoneGainRequest) ProtoMessage()
func (*UpdateMicrophoneGainRequest) ProtoReflect ¶
func (x *UpdateMicrophoneGainRequest) ProtoReflect() protoreflect.Message
func (*UpdateMicrophoneGainRequest) Reset ¶
func (x *UpdateMicrophoneGainRequest) Reset()
func (*UpdateMicrophoneGainRequest) String ¶
func (x *UpdateMicrophoneGainRequest) String() string
type UpdateModeValuesRequest ¶
type UpdateModeValuesRequest struct { // Name of the device to fetch the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new mode values. ModeValues *ModeValues `protobuf:"bytes,2,opt,name=mode_values,json=modeValues,proto3" json:"mode_values,omitempty"` // Relative changes to the current mode values. // If a mode name is specified in both mode_values and relative, and the adjustment in relative is non-zero, relative adjustments win. Relative *ModeValuesRelative `protobuf:"bytes,3,opt,name=relative,proto3" json:"relative,omitempty"` // Fields to update relative to the ModeValues and ModeAdjustments type. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateModeValuesRequest) Descriptor
deprecated
func (*UpdateModeValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModeValuesRequest.ProtoReflect.Descriptor instead.
func (*UpdateModeValuesRequest) GetModeValues ¶
func (x *UpdateModeValuesRequest) GetModeValues() *ModeValues
func (*UpdateModeValuesRequest) GetName ¶
func (x *UpdateModeValuesRequest) GetName() string
func (*UpdateModeValuesRequest) GetRelative ¶
func (x *UpdateModeValuesRequest) GetRelative() *ModeValuesRelative
func (*UpdateModeValuesRequest) GetUpdateMask ¶
func (x *UpdateModeValuesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateModeValuesRequest) ProtoMessage ¶
func (*UpdateModeValuesRequest) ProtoMessage()
func (*UpdateModeValuesRequest) ProtoReflect ¶
func (x *UpdateModeValuesRequest) ProtoReflect() protoreflect.Message
func (*UpdateModeValuesRequest) Reset ¶
func (x *UpdateModeValuesRequest) Reset()
func (*UpdateModeValuesRequest) String ¶
func (x *UpdateModeValuesRequest) String() string
type UpdateOnOffRequest ¶
type UpdateOnOffRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` OnOff *OnOff `protobuf:"bytes,2,opt,name=on_off,json=onOff,proto3" json:"on_off,omitempty"` // The state fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateOnOffRequest) Descriptor
deprecated
func (*UpdateOnOffRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOnOffRequest.ProtoReflect.Descriptor instead.
func (*UpdateOnOffRequest) GetName ¶
func (x *UpdateOnOffRequest) GetName() string
func (*UpdateOnOffRequest) GetOnOff ¶
func (x *UpdateOnOffRequest) GetOnOff() *OnOff
func (*UpdateOnOffRequest) GetUpdateMask ¶
func (x *UpdateOnOffRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateOnOffRequest) ProtoMessage ¶
func (*UpdateOnOffRequest) ProtoMessage()
func (*UpdateOnOffRequest) ProtoReflect ¶
func (x *UpdateOnOffRequest) ProtoReflect() protoreflect.Message
func (*UpdateOnOffRequest) Reset ¶
func (x *UpdateOnOffRequest) Reset()
func (*UpdateOnOffRequest) String ¶
func (x *UpdateOnOffRequest) String() string
type UpdateOpenClosePositionsRequest ¶
type UpdateOpenClosePositionsRequest struct { // the name of the device to update the states for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target states for each directional element of the device. If you don't want to change an open direction don't // include it in the states list. States *OpenClosePositions `protobuf:"bytes,2,opt,name=states,proto3" json:"states,omitempty"` // indicate whether the state change is a delta or absolute value Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // The state fields to update UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateOpenClosePositionsRequest) Descriptor
deprecated
func (*UpdateOpenClosePositionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOpenClosePositionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateOpenClosePositionsRequest) GetDelta ¶
func (x *UpdateOpenClosePositionsRequest) GetDelta() bool
func (*UpdateOpenClosePositionsRequest) GetName ¶
func (x *UpdateOpenClosePositionsRequest) GetName() string
func (*UpdateOpenClosePositionsRequest) GetStates ¶
func (x *UpdateOpenClosePositionsRequest) GetStates() *OpenClosePositions
func (*UpdateOpenClosePositionsRequest) GetUpdateMask ¶
func (x *UpdateOpenClosePositionsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateOpenClosePositionsRequest) ProtoMessage ¶
func (*UpdateOpenClosePositionsRequest) ProtoMessage()
func (*UpdateOpenClosePositionsRequest) ProtoReflect ¶
func (x *UpdateOpenClosePositionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateOpenClosePositionsRequest) Reset ¶
func (x *UpdateOpenClosePositionsRequest) Reset()
func (*UpdateOpenClosePositionsRequest) String ¶
func (x *UpdateOpenClosePositionsRequest) String() string
type UpdatePressedStateRequest ¶
type UpdatePressedStateRequest 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"` PressedState *PressedState `protobuf:"bytes,3,opt,name=pressed_state,json=pressedState,proto3" json:"pressed_state,omitempty"` // contains filtered or unexported fields }
func (*UpdatePressedStateRequest) Descriptor
deprecated
func (*UpdatePressedStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePressedStateRequest.ProtoReflect.Descriptor instead.
func (*UpdatePressedStateRequest) GetName ¶
func (x *UpdatePressedStateRequest) GetName() string
func (*UpdatePressedStateRequest) GetPressedState ¶
func (x *UpdatePressedStateRequest) GetPressedState() *PressedState
func (*UpdatePressedStateRequest) GetUpdateMask ¶
func (x *UpdatePressedStateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePressedStateRequest) ProtoMessage ¶
func (*UpdatePressedStateRequest) ProtoMessage()
func (*UpdatePressedStateRequest) ProtoReflect ¶
func (x *UpdatePressedStateRequest) ProtoReflect() protoreflect.Message
func (*UpdatePressedStateRequest) Reset ¶
func (x *UpdatePressedStateRequest) Reset()
func (*UpdatePressedStateRequest) String ¶
func (x *UpdatePressedStateRequest) String() string
type UpdatePtzRequest ¶
type UpdatePtzRequest struct { // the name of the device to update the state of Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new state State *Ptz `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // The fields we are intending to update relative to the Ptz UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePtzRequest) Descriptor
deprecated
func (*UpdatePtzRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePtzRequest.ProtoReflect.Descriptor instead.
func (*UpdatePtzRequest) GetName ¶
func (x *UpdatePtzRequest) GetName() string
func (*UpdatePtzRequest) GetState ¶
func (x *UpdatePtzRequest) GetState() *Ptz
func (*UpdatePtzRequest) GetUpdateMask ¶
func (x *UpdatePtzRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePtzRequest) ProtoMessage ¶
func (*UpdatePtzRequest) ProtoMessage()
func (*UpdatePtzRequest) ProtoReflect ¶
func (x *UpdatePtzRequest) ProtoReflect() protoreflect.Message
func (*UpdatePtzRequest) Reset ¶
func (x *UpdatePtzRequest) Reset()
func (*UpdatePtzRequest) String ¶
func (x *UpdatePtzRequest) String() string
type UpdatePublicationRequest ¶
type UpdatePublicationRequest struct { // The name of the device Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The publication to update. Publication *Publication `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` // Fields to update relative to the Publication type UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If present, the update will fail if the version on the server does not match this version. // Populate with the latest known version on the client to avoid concurrent updates overriding each other // transparently. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*UpdatePublicationRequest) Descriptor
deprecated
func (*UpdatePublicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePublicationRequest.ProtoReflect.Descriptor instead.
func (*UpdatePublicationRequest) GetName ¶
func (x *UpdatePublicationRequest) GetName() string
func (*UpdatePublicationRequest) GetPublication ¶
func (x *UpdatePublicationRequest) GetPublication() *Publication
func (*UpdatePublicationRequest) GetUpdateMask ¶
func (x *UpdatePublicationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePublicationRequest) GetVersion ¶
func (x *UpdatePublicationRequest) GetVersion() string
func (*UpdatePublicationRequest) ProtoMessage ¶
func (*UpdatePublicationRequest) ProtoMessage()
func (*UpdatePublicationRequest) ProtoReflect ¶
func (x *UpdatePublicationRequest) ProtoReflect() protoreflect.Message
func (*UpdatePublicationRequest) Reset ¶
func (x *UpdatePublicationRequest) Reset()
func (*UpdatePublicationRequest) String ¶
func (x *UpdatePublicationRequest) String() string
type UpdateSpeakerVolumeRequest ¶
type UpdateSpeakerVolumeRequest struct { // Name of the device to update the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The updated volume value Volume *types.AudioLevel `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"` // Only supported for AudioLevel.gain. Update the value relative to the current value. Delta bool `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // The fields we intend to update relative to the AudioLevel type UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSpeakerVolumeRequest) Descriptor
deprecated
func (*UpdateSpeakerVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSpeakerVolumeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSpeakerVolumeRequest) GetDelta ¶
func (x *UpdateSpeakerVolumeRequest) GetDelta() bool
func (*UpdateSpeakerVolumeRequest) GetName ¶
func (x *UpdateSpeakerVolumeRequest) GetName() string
func (*UpdateSpeakerVolumeRequest) GetUpdateMask ¶
func (x *UpdateSpeakerVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSpeakerVolumeRequest) GetVolume ¶
func (x *UpdateSpeakerVolumeRequest) GetVolume() *types.AudioLevel
func (*UpdateSpeakerVolumeRequest) ProtoMessage ¶
func (*UpdateSpeakerVolumeRequest) ProtoMessage()
func (*UpdateSpeakerVolumeRequest) ProtoReflect ¶
func (x *UpdateSpeakerVolumeRequest) ProtoReflect() protoreflect.Message
func (*UpdateSpeakerVolumeRequest) Reset ¶
func (x *UpdateSpeakerVolumeRequest) Reset()
func (*UpdateSpeakerVolumeRequest) String ¶
func (x *UpdateSpeakerVolumeRequest) String() string
type UpdateStockRequest ¶
type UpdateStockRequest struct { // Name of the device to update the state for Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New quantities for the consumable stock. Stock *Consumable_Stock `protobuf:"bytes,2,opt,name=stock,proto3" json:"stock,omitempty"` // Fields to update relative to the Consumable.Stock type. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // If true, stock adjustments are relative to their current values. Relative bool `protobuf:"varint,4,opt,name=relative,proto3" json:"relative,omitempty"` // contains filtered or unexported fields }
func (*UpdateStockRequest) Descriptor
deprecated
func (*UpdateStockRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStockRequest.ProtoReflect.Descriptor instead.
func (*UpdateStockRequest) GetName ¶
func (x *UpdateStockRequest) GetName() string
func (*UpdateStockRequest) GetRelative ¶
func (x *UpdateStockRequest) GetRelative() bool
func (*UpdateStockRequest) GetStock ¶
func (x *UpdateStockRequest) GetStock() *Consumable_Stock
func (*UpdateStockRequest) GetUpdateMask ¶
func (x *UpdateStockRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateStockRequest) ProtoMessage ¶
func (*UpdateStockRequest) ProtoMessage()
func (*UpdateStockRequest) ProtoReflect ¶
func (x *UpdateStockRequest) ProtoReflect() protoreflect.Message
func (*UpdateStockRequest) Reset ¶
func (x *UpdateStockRequest) Reset()
func (*UpdateStockRequest) String ¶
func (x *UpdateStockRequest) String() string
type 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 VendingApiClient ¶
type VendingApiClient interface { // List the consumables available from this device. // This has no information on stock, only descriptive information about the physical item. ListConsumables(ctx context.Context, in *ListConsumablesRequest, opts ...grpc.CallOption) (*ListConsumablesResponse, error) // Subscribe to change in consumables available from this device. PullConsumables(ctx context.Context, in *PullConsumablesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullConsumablesResponse], error) // Get the current stock levels for a consumable. // If the consumable is unknown will return NotFound. // If the consumable is out of stock, returns a Stock with a zero remaining quantity. GetStock(ctx context.Context, in *GetStockRequest, opts ...grpc.CallOption) (*Consumable_Stock, error) // Update the quantity of a consumable in the device. // // This is unlikely to actually create physical consumables out of thin air, but is useful if the device doesn't have // internal sensors monitoring the physical quantity of its consumables. For example to let a cookie dispenser know // that it was refilled with 100 new tasty cookies. UpdateStock(ctx context.Context, in *UpdateStockRequest, opts ...grpc.CallOption) (*Consumable_Stock, error) // Subscribe to changes in the stock levels for a consumable. PullStock(ctx context.Context, in *PullStockRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullStockResponse], error) // List the stock for each consumable in the device. // The device should return zero-quantity stock for consumables that are out-of-stock. ListInventory(ctx context.Context, in *ListInventoryRequest, opts ...grpc.CallOption) (*ListInventoryResponse, error) // Subscribe to changes in consumable stock. PullInventory(ctx context.Context, in *PullInventoryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullInventoryResponse], error) // Trigger the dispensing of some quantity of consumables. // Devices should return only stock items that are mentioned in the request. Dispense(ctx context.Context, in *DispenseRequest, opts ...grpc.CallOption) (*Consumable_Stock, error) // Stop the dispensing of the mentioned consumables. // Devices should return only stock items that are mentioned in the request. StopDispense(ctx context.Context, in *StopDispenseRequest, opts ...grpc.CallOption) (*Consumable_Stock, error) }
VendingApiClient is the client API for VendingApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
VendingApi describes devices that hold a stock and can dispense their consumables on command. Applies to devices like vending machines, water taps, coffee machines, and pet food dispensers.
The VendingApi encodes two different resources, the consumables and the stock. Consumables represent information about the products that are available from this device. Stock is a measure of how many/much of a consumables is currently available. When referring to the stock of all consumables, this trait uses the term inventory.
Quantities, both available and dispensed, can be either discrete items like apples, or continuous like water. Some consumables are both discrete and continuous, you can have 0.3L or 1 cup of water.
func NewVendingApiClient ¶
func NewVendingApiClient(cc grpc.ClientConnInterface) VendingApiClient
type VendingApiServer ¶
type VendingApiServer interface { // List the consumables available from this device. // This has no information on stock, only descriptive information about the physical item. ListConsumables(context.Context, *ListConsumablesRequest) (*ListConsumablesResponse, error) // Subscribe to change in consumables available from this device. PullConsumables(*PullConsumablesRequest, grpc.ServerStreamingServer[PullConsumablesResponse]) error // Get the current stock levels for a consumable. // If the consumable is unknown will return NotFound. // If the consumable is out of stock, returns a Stock with a zero remaining quantity. GetStock(context.Context, *GetStockRequest) (*Consumable_Stock, error) // Update the quantity of a consumable in the device. // // This is unlikely to actually create physical consumables out of thin air, but is useful if the device doesn't have // internal sensors monitoring the physical quantity of its consumables. For example to let a cookie dispenser know // that it was refilled with 100 new tasty cookies. UpdateStock(context.Context, *UpdateStockRequest) (*Consumable_Stock, error) // Subscribe to changes in the stock levels for a consumable. PullStock(*PullStockRequest, grpc.ServerStreamingServer[PullStockResponse]) error // List the stock for each consumable in the device. // The device should return zero-quantity stock for consumables that are out-of-stock. ListInventory(context.Context, *ListInventoryRequest) (*ListInventoryResponse, error) // Subscribe to changes in consumable stock. PullInventory(*PullInventoryRequest, grpc.ServerStreamingServer[PullInventoryResponse]) error // Trigger the dispensing of some quantity of consumables. // Devices should return only stock items that are mentioned in the request. Dispense(context.Context, *DispenseRequest) (*Consumable_Stock, error) // Stop the dispensing of the mentioned consumables. // Devices should return only stock items that are mentioned in the request. StopDispense(context.Context, *StopDispenseRequest) (*Consumable_Stock, error) // contains filtered or unexported methods }
VendingApiServer is the server API for VendingApi service. All implementations must embed UnimplementedVendingApiServer for forward compatibility.
VendingApi describes devices that hold a stock and can dispense their consumables on command. Applies to devices like vending machines, water taps, coffee machines, and pet food dispensers.
The VendingApi encodes two different resources, the consumables and the stock. Consumables represent information about the products that are available from this device. Stock is a measure of how many/much of a consumables is currently available. When referring to the stock of all consumables, this trait uses the term inventory.
Quantities, both available and dispensed, can be either discrete items like apples, or continuous like water. Some consumables are both discrete and continuous, you can have 0.3L or 1 cup of water.
type VendingApi_PullConsumablesClient ¶
type VendingApi_PullConsumablesClient = grpc.ServerStreamingClient[PullConsumablesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingApi_PullConsumablesServer ¶
type VendingApi_PullConsumablesServer = grpc.ServerStreamingServer[PullConsumablesResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingApi_PullInventoryClient ¶
type VendingApi_PullInventoryClient = grpc.ServerStreamingClient[PullInventoryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingApi_PullInventoryServer ¶
type VendingApi_PullInventoryServer = grpc.ServerStreamingServer[PullInventoryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingApi_PullStockClient ¶
type VendingApi_PullStockClient = grpc.ServerStreamingClient[PullStockResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingApi_PullStockServer ¶
type VendingApi_PullStockServer = grpc.ServerStreamingServer[PullStockResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type VendingInfoClient ¶
type VendingInfoClient interface { }
VendingInfoClient is the client API for VendingInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVendingInfoClient ¶
func NewVendingInfoClient(cc grpc.ClientConnInterface) VendingInfoClient
type VendingInfoServer ¶
type VendingInfoServer interface {
// contains filtered or unexported methods
}
VendingInfoServer is the server API for VendingInfo service. All implementations must embed UnimplementedVendingInfoServer for forward compatibility.
type VolumeSupport ¶
type VolumeSupport struct { // How a named device supports read/write/pull apis ResourceSupport *types.ResourceSupport `protobuf:"bytes,1,opt,name=resource_support,json=resourceSupport,proto3" json:"resource_support,omitempty"` // Attributes associated with the gain property of the speaker. Note that a step value that is the same as the bounds // implies that the speaker only supports mute VolumeAttributes *types.FloatAttributes `protobuf:"bytes,2,opt,name=volume_attributes,json=volumeAttributes,proto3" json:"volume_attributes,omitempty"` // How is mute implemented by the device. Can help to customise behaviour of interfaces to the device, e.g. by // disallowing gain change when muted MuteSupport types.MuteSupport `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
VolumeSupport describes the capabilities of devices implementing this trait
func (*VolumeSupport) Descriptor
deprecated
func (*VolumeSupport) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSupport.ProtoReflect.Descriptor instead.
func (*VolumeSupport) GetMuteSupport ¶
func (x *VolumeSupport) GetMuteSupport() types.MuteSupport
func (*VolumeSupport) GetResourceSupport ¶
func (x *VolumeSupport) GetResourceSupport() *types.ResourceSupport
func (*VolumeSupport) GetVolumeAttributes ¶
func (x *VolumeSupport) GetVolumeAttributes() *types.FloatAttributes
func (*VolumeSupport) ProtoMessage ¶
func (*VolumeSupport) ProtoMessage()
func (*VolumeSupport) ProtoReflect ¶
func (x *VolumeSupport) ProtoReflect() protoreflect.Message
func (*VolumeSupport) Reset ¶
func (x *VolumeSupport) Reset()
func (*VolumeSupport) String ¶
func (x *VolumeSupport) String() string
type WasteApiClient ¶
type WasteApiClient interface { ListWasteRecords(ctx context.Context, in *ListWasteRecordsRequest, opts ...grpc.CallOption) (*ListWasteRecordsResponse, error) PullWasteRecords(ctx context.Context, in *PullWasteRecordsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PullWasteRecordsResponse], error) }
WasteApiClient is the client API for WasteApi 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.
WasteApi exposes details about units of waste that have been produced by the building
func NewWasteApiClient ¶
func NewWasteApiClient(cc grpc.ClientConnInterface) WasteApiClient
type WasteApiServer ¶
type WasteApiServer interface { ListWasteRecords(context.Context, *ListWasteRecordsRequest) (*ListWasteRecordsResponse, error) PullWasteRecords(*PullWasteRecordsRequest, grpc.ServerStreamingServer[PullWasteRecordsResponse]) error // contains filtered or unexported methods }
WasteApiServer is the server API for WasteApi service. All implementations must embed UnimplementedWasteApiServer for forward compatibility.
WasteApi exposes details about units of waste that have been produced by the building
type WasteApi_PullWasteRecordsClient ¶
type WasteApi_PullWasteRecordsClient = grpc.ServerStreamingClient[PullWasteRecordsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type WasteApi_PullWasteRecordsServer ¶
type WasteApi_PullWasteRecordsServer = grpc.ServerStreamingServer[PullWasteRecordsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type WasteInfoClient ¶
type WasteInfoClient interface {
DescribeWasteRecord(ctx context.Context, in *DescribeWasteRecordRequest, opts ...grpc.CallOption) (*WasteRecordSupport, error)
}
WasteInfoClient is the client API for WasteInfo 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 NewWasteInfoClient ¶
func NewWasteInfoClient(cc grpc.ClientConnInterface) WasteInfoClient
type WasteInfoServer ¶
type WasteInfoServer interface { DescribeWasteRecord(context.Context, *DescribeWasteRecordRequest) (*WasteRecordSupport, error) // contains filtered or unexported methods }
WasteInfoServer is the server API for WasteInfo service. All implementations must embed UnimplementedWasteInfoServer for forward compatibility.
type WasteRecord ¶
type WasteRecord struct { // The id of the waste record assigned by the external waste management system Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The time the record was created, this is not the time the waste was created RecordCreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=record_create_time,json=recordCreateTime,proto3" json:"record_create_time,omitempty"` // The weight of the waste. Use the InfoApi to find the actual unit the device uses. Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"` // The system the waste was collected from. Used for presentation not to identify the waste System string `protobuf:"bytes,4,opt,name=system,proto3" json:"system,omitempty"` DisposalMethod WasteRecord_DisposalMethod `` /* 153-byte string literal not displayed */ // Area the waste was collected from, e.g. tenant x, common area. Used for presentation not to identify the waste Area string `protobuf:"bytes,6,opt,name=area,proto3" json:"area,omitempty"` // The date/time the waste was created WasteCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=waste_create_time,json=wasteCreateTime,proto3" json:"waste_create_time,omitempty"` // The stream the waste was collected from. For example, general waste, mixed recycling etc. // Used for presentation not to identify the waste Stream string `protobuf:"bytes,8,opt,name=stream,proto3" json:"stream,omitempty"` // contains filtered or unexported fields }
WasteRecord is a record of a unit of waste produced by the building
func (*WasteRecord) Descriptor
deprecated
func (*WasteRecord) Descriptor() ([]byte, []int)
Deprecated: Use WasteRecord.ProtoReflect.Descriptor instead.
func (*WasteRecord) GetArea ¶
func (x *WasteRecord) GetArea() string
func (*WasteRecord) GetDisposalMethod ¶
func (x *WasteRecord) GetDisposalMethod() WasteRecord_DisposalMethod
func (*WasteRecord) GetId ¶
func (x *WasteRecord) GetId() string
func (*WasteRecord) GetRecordCreateTime ¶
func (x *WasteRecord) GetRecordCreateTime() *timestamppb.Timestamp
func (*WasteRecord) GetStream ¶
func (x *WasteRecord) GetStream() string
func (*WasteRecord) GetSystem ¶
func (x *WasteRecord) GetSystem() string
func (*WasteRecord) GetWasteCreateTime ¶
func (x *WasteRecord) GetWasteCreateTime() *timestamppb.Timestamp
func (*WasteRecord) GetWeight ¶
func (x *WasteRecord) GetWeight() float32
func (*WasteRecord) ProtoMessage ¶
func (*WasteRecord) ProtoMessage()
func (*WasteRecord) ProtoReflect ¶
func (x *WasteRecord) ProtoReflect() protoreflect.Message
func (*WasteRecord) Reset ¶
func (x *WasteRecord) Reset()
func (*WasteRecord) String ¶
func (x *WasteRecord) String() string
type WasteRecordSupport ¶
type WasteRecordSupport 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 weight value Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
WasteRecordSupport describes the capabilities of devices implementing this trait
func (*WasteRecordSupport) Descriptor
deprecated
func (*WasteRecordSupport) Descriptor() ([]byte, []int)
Deprecated: Use WasteRecordSupport.ProtoReflect.Descriptor instead.
func (*WasteRecordSupport) GetResourceSupport ¶
func (x *WasteRecordSupport) GetResourceSupport() *types.ResourceSupport
func (*WasteRecordSupport) GetUnit ¶
func (x *WasteRecordSupport) GetUnit() string
func (*WasteRecordSupport) ProtoMessage ¶
func (*WasteRecordSupport) ProtoMessage()
func (*WasteRecordSupport) ProtoReflect ¶
func (x *WasteRecordSupport) ProtoReflect() protoreflect.Message
func (*WasteRecordSupport) Reset ¶
func (x *WasteRecordSupport) Reset()
func (*WasteRecordSupport) String ¶
func (x *WasteRecordSupport) String() string
type WasteRecord_DisposalMethod ¶
type WasteRecord_DisposalMethod int32
Describes the disposal method of the waste. Recycled, general
const ( WasteRecord_DISPOSAL_METHOD_UNSPECIFIED WasteRecord_DisposalMethod = 0 WasteRecord_GENERAL_WASTE WasteRecord_DisposalMethod = 1 WasteRecord_MIXED_RECYCLING WasteRecord_DisposalMethod = 2 )
func (WasteRecord_DisposalMethod) Descriptor ¶
func (WasteRecord_DisposalMethod) Descriptor() protoreflect.EnumDescriptor
func (WasteRecord_DisposalMethod) Enum ¶
func (x WasteRecord_DisposalMethod) Enum() *WasteRecord_DisposalMethod
func (WasteRecord_DisposalMethod) EnumDescriptor
deprecated
func (WasteRecord_DisposalMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use WasteRecord_DisposalMethod.Descriptor instead.
func (WasteRecord_DisposalMethod) Number ¶
func (x WasteRecord_DisposalMethod) Number() protoreflect.EnumNumber
func (WasteRecord_DisposalMethod) String ¶
func (x WasteRecord_DisposalMethod) String() string
func (WasteRecord_DisposalMethod) Type ¶
func (WasteRecord_DisposalMethod) Type() protoreflect.EnumType
Source Files ¶
- access.pb.go
- access_grpc.pb.go
- air_quality_sensor.pb.go
- air_quality_sensor_grpc.pb.go
- air_temperature.pb.go
- air_temperature_grpc.pb.go
- booking.pb.go
- booking_grpc.pb.go
- brightness_sensor.pb.go
- brightness_sensor_grpc.pb.go
- channel.pb.go
- channel_grpc.pb.go
- color.pb.go
- color_grpc.pb.go
- count.pb.go
- count_grpc.pb.go
- electric.pb.go
- electric_grpc.pb.go
- emergency.pb.go
- emergency_grpc.pb.go
- energy_storage.pb.go
- energy_storage_grpc.pb.go
- enter_leave_sensor.pb.go
- enter_leave_sensor_grpc.pb.go
- extend_retract.pb.go
- extend_retract_grpc.pb.go
- fan_speed.pb.go
- fan_speed_grpc.pb.go
- hail.pb.go
- hail_grpc.pb.go
- input_select.pb.go
- input_select_grpc.pb.go
- light.pb.go
- light_grpc.pb.go
- lock_unlock.pb.go
- lock_unlock_grpc.pb.go
- metadata.pb.go
- metadata_grpc.pb.go
- meter.pb.go
- meter_grpc.pb.go
- microphone.pb.go
- microphone_grpc.pb.go
- mode.pb.go
- mode_grpc.pb.go
- motion_sensor.pb.go
- motion_sensor_grpc.pb.go
- occupancy_sensor.pb.go
- occupancy_sensor_grpc.pb.go
- on_off.pb.go
- on_off_grpc.pb.go
- open_close.pb.go
- open_close_grpc.pb.go
- parent.pb.go
- parent_grpc.pb.go
- press.pb.go
- press_grpc.pb.go
- ptz.pb.go
- ptz_grpc.pb.go
- publication.pb.go
- publication_grpc.pb.go
- speaker.pb.go
- speaker_grpc.pb.go
- temperature.pb.go
- temperature_grpc.pb.go
- vending.pb.go
- vending_grpc.pb.go
- waste.pb.go
- waste_grpc.pb.go