Documentation ¶
Overview ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func RegisterDMMSServer(s *grpc.Server, srv DMMSServer)
- type AddDeviceRequest
- func (*AddDeviceRequest) Descriptor() ([]byte, []int)
- func (m *AddDeviceRequest) GetDevice() *Device
- func (m *AddDeviceRequest) GetUserID() string
- func (*AddDeviceRequest) ProtoMessage()
- func (m *AddDeviceRequest) Reset()
- func (m *AddDeviceRequest) String() string
- func (m *AddDeviceRequest) XXX_DiscardUnknown()
- func (m *AddDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddDeviceRequest) XXX_Merge(src proto.Message)
- func (m *AddDeviceRequest) XXX_Size() int
- func (m *AddDeviceRequest) XXX_Unmarshal(b []byte) error
- type AddDeviceResponse
- func (*AddDeviceResponse) Descriptor() ([]byte, []int)
- func (m *AddDeviceResponse) GetDevice() *Device
- func (*AddDeviceResponse) ProtoMessage()
- func (m *AddDeviceResponse) Reset()
- func (m *AddDeviceResponse) String() string
- func (m *AddDeviceResponse) XXX_DiscardUnknown()
- func (m *AddDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddDeviceResponse) XXX_Merge(src proto.Message)
- func (m *AddDeviceResponse) XXX_Size() int
- func (m *AddDeviceResponse) XXX_Unmarshal(b []byte) error
- type Client
- type CreateDeviceModelRequest
- func (*CreateDeviceModelRequest) Descriptor() ([]byte, []int)
- func (m *CreateDeviceModelRequest) GetDeviceModel() *DeviceModel
- func (m *CreateDeviceModelRequest) GetUserID() string
- func (*CreateDeviceModelRequest) ProtoMessage()
- func (m *CreateDeviceModelRequest) Reset()
- func (m *CreateDeviceModelRequest) String() string
- func (m *CreateDeviceModelRequest) XXX_DiscardUnknown()
- func (m *CreateDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateDeviceModelRequest) XXX_Merge(src proto.Message)
- func (m *CreateDeviceModelRequest) XXX_Size() int
- func (m *CreateDeviceModelRequest) XXX_Unmarshal(b []byte) error
- type CreateDeviceModelResponse
- func (*CreateDeviceModelResponse) Descriptor() ([]byte, []int)
- func (m *CreateDeviceModelResponse) GetDeviceModel() *DeviceModel
- func (*CreateDeviceModelResponse) ProtoMessage()
- func (m *CreateDeviceModelResponse) Reset()
- func (m *CreateDeviceModelResponse) String() string
- func (m *CreateDeviceModelResponse) XXX_DiscardUnknown()
- func (m *CreateDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateDeviceModelResponse) XXX_Merge(src proto.Message)
- func (m *CreateDeviceModelResponse) XXX_Size() int
- func (m *CreateDeviceModelResponse) XXX_Unmarshal(b []byte) error
- type DMMSClient
- type DMMSServer
- type DataModel
- func (*DataModel) Descriptor() ([]byte, []int)
- func (m *DataModel) GetDataModelFields() []*DataModelField
- func (m *DataModel) GetDomain() string
- func (m *DataModel) GetID() string
- func (m *DataModel) GetName() string
- func (*DataModel) ProtoMessage()
- func (m *DataModel) Reset()
- func (m *DataModel) String() string
- func (m *DataModel) XXX_DiscardUnknown()
- func (m *DataModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DataModel) XXX_Merge(src proto.Message)
- func (m *DataModel) XXX_Size() int
- func (m *DataModel) XXX_Unmarshal(b []byte) error
- type DataModelField
- func (*DataModelField) Descriptor() ([]byte, []int)
- func (m *DataModelField) GetDefaultValue() string
- func (m *DataModelField) GetKey() string
- func (m *DataModelField) GetType() string
- func (m *DataModelField) GetValue() string
- func (*DataModelField) ProtoMessage()
- func (m *DataModelField) Reset()
- func (m *DataModelField) String() string
- func (m *DataModelField) XXX_DiscardUnknown()
- func (m *DataModelField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DataModelField) XXX_Merge(src proto.Message)
- func (m *DataModelField) XXX_Size() int
- func (m *DataModelField) XXX_Unmarshal(b []byte) error
- type DeleteDeviceModelRequest
- func (*DeleteDeviceModelRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDeviceModelRequest) GetDeviceModelID() string
- func (m *DeleteDeviceModelRequest) GetUserID() string
- func (*DeleteDeviceModelRequest) ProtoMessage()
- func (m *DeleteDeviceModelRequest) Reset()
- func (m *DeleteDeviceModelRequest) String() string
- func (m *DeleteDeviceModelRequest) XXX_DiscardUnknown()
- func (m *DeleteDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDeviceModelRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceModelRequest) XXX_Size() int
- func (m *DeleteDeviceModelRequest) XXX_Unmarshal(b []byte) error
- type DeleteDeviceModelResponse
- func (*DeleteDeviceModelResponse) Descriptor() ([]byte, []int)
- func (*DeleteDeviceModelResponse) ProtoMessage()
- func (m *DeleteDeviceModelResponse) Reset()
- func (m *DeleteDeviceModelResponse) String() string
- func (m *DeleteDeviceModelResponse) XXX_DiscardUnknown()
- func (m *DeleteDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDeviceModelResponse) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceModelResponse) XXX_Size() int
- func (m *DeleteDeviceModelResponse) XXX_Unmarshal(b []byte) error
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDeviceRequest) GetDeviceID() string
- func (m *DeleteDeviceRequest) GetUserID() string
- func (*DeleteDeviceRequest) ProtoMessage()
- func (m *DeleteDeviceRequest) Reset()
- func (m *DeleteDeviceRequest) String() string
- func (m *DeleteDeviceRequest) XXX_DiscardUnknown()
- func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDeviceRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceRequest) XXX_Size() int
- func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error
- type DeleteDeviceResponse
- func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)
- func (*DeleteDeviceResponse) ProtoMessage()
- func (m *DeleteDeviceResponse) Reset()
- func (m *DeleteDeviceResponse) String() string
- func (m *DeleteDeviceResponse) XXX_DiscardUnknown()
- func (m *DeleteDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDeviceResponse) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceResponse) XXX_Size() int
- func (m *DeleteDeviceResponse) XXX_Unmarshal(b []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetCreatedAt() *timestamp.Timestamp
- func (m *Device) GetDescription() string
- func (m *Device) GetID() string
- func (m *Device) GetLastUpdatedAt() *timestamp.Timestamp
- func (m *Device) GetModelID() string
- func (m *Device) GetName() string
- func (m *Device) GetProjectID() string
- func (m *Device) GetStatus() string
- func (m *Device) GetUserID() string
- func (m *Device) GetValues() []*DataModel
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) String() string
- func (m *Device) XXX_DiscardUnknown()
- func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Device) XXX_Merge(src proto.Message)
- func (m *Device) XXX_Size() int
- func (m *Device) XXX_Unmarshal(b []byte) error
- type DeviceMessage
- func (*DeviceMessage) Descriptor() ([]byte, []int)
- func (m *DeviceMessage) GetDeviceID() string
- func (m *DeviceMessage) GetEndpoint() string
- func (m *DeviceMessage) GetPayload() []byte
- func (m *DeviceMessage) GetUserID() string
- func (*DeviceMessage) ProtoMessage()
- func (m *DeviceMessage) Reset()
- func (m *DeviceMessage) String() string
- func (m *DeviceMessage) XXX_DiscardUnknown()
- func (m *DeviceMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeviceMessage) XXX_Merge(src proto.Message)
- func (m *DeviceMessage) XXX_Size() int
- func (m *DeviceMessage) XXX_Unmarshal(b []byte) error
- type DeviceMetrics
- func (*DeviceMetrics) Descriptor() ([]byte, []int)
- func (m *DeviceMetrics) GetDeviceID() string
- func (m *DeviceMetrics) GetMetrics() map[string]int32
- func (m *DeviceMetrics) GetUserID() string
- func (*DeviceMetrics) ProtoMessage()
- func (m *DeviceMetrics) Reset()
- func (m *DeviceMetrics) String() string
- func (m *DeviceMetrics) XXX_DiscardUnknown()
- func (m *DeviceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeviceMetrics) XXX_Merge(src proto.Message)
- func (m *DeviceMetrics) XXX_Size() int
- func (m *DeviceMetrics) XXX_Unmarshal(b []byte) error
- type DeviceModel
- func (*DeviceModel) Descriptor() ([]byte, []int)
- func (m *DeviceModel) GetChildModels() []string
- func (m *DeviceModel) GetCreatedAt() *timestamp.Timestamp
- func (m *DeviceModel) GetDataModels() []*DataModel
- func (m *DeviceModel) GetDescription() string
- func (m *DeviceModel) GetDomain() string
- func (m *DeviceModel) GetEndpoints() []*Endpoint
- func (m *DeviceModel) GetID() string
- func (m *DeviceModel) GetIcon() string
- func (m *DeviceModel) GetIsCompound() bool
- func (m *DeviceModel) GetIsLogical() bool
- func (m *DeviceModel) GetLastUpdatedAt() *timestamp.Timestamp
- func (m *DeviceModel) GetName() string
- func (m *DeviceModel) GetUserID() string
- func (m *DeviceModel) GetVersion() string
- func (*DeviceModel) ProtoMessage()
- func (m *DeviceModel) Reset()
- func (m *DeviceModel) String() string
- func (m *DeviceModel) XXX_DiscardUnknown()
- func (m *DeviceModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeviceModel) XXX_Merge(src proto.Message)
- func (m *DeviceModel) XXX_Size() int
- func (m *DeviceModel) XXX_Unmarshal(b []byte) error
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) GetFormat() string
- func (m *Endpoint) GetModels() map[string]string
- func (m *Endpoint) GetPath() string
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) String() string
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type GetDeviceLogRequest
- func (*GetDeviceLogRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceLogRequest) GetDeviceID() string
- func (m *GetDeviceLogRequest) GetSince() *timestamp.Timestamp
- func (m *GetDeviceLogRequest) GetUserID() string
- func (*GetDeviceLogRequest) ProtoMessage()
- func (m *GetDeviceLogRequest) Reset()
- func (m *GetDeviceLogRequest) String() string
- func (m *GetDeviceLogRequest) XXX_DiscardUnknown()
- func (m *GetDeviceLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceLogRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceLogRequest) XXX_Size() int
- func (m *GetDeviceLogRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceLogResponse
- func (*GetDeviceLogResponse) Descriptor() ([]byte, []int)
- func (*GetDeviceLogResponse) ProtoMessage()
- func (m *GetDeviceLogResponse) Reset()
- func (m *GetDeviceLogResponse) String() string
- func (m *GetDeviceLogResponse) XXX_DiscardUnknown()
- func (m *GetDeviceLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceLogResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceLogResponse) XXX_Size() int
- func (m *GetDeviceLogResponse) XXX_Unmarshal(b []byte) error
- type GetDeviceMetricsRequest
- func (*GetDeviceMetricsRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceMetricsRequest) GetDeviceID() string
- func (m *GetDeviceMetricsRequest) GetUserID() string
- func (*GetDeviceMetricsRequest) ProtoMessage()
- func (m *GetDeviceMetricsRequest) Reset()
- func (m *GetDeviceMetricsRequest) String() string
- func (m *GetDeviceMetricsRequest) XXX_DiscardUnknown()
- func (m *GetDeviceMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceMetricsRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceMetricsRequest) XXX_Size() int
- func (m *GetDeviceMetricsRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceMetricsResponse
- func (*GetDeviceMetricsResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceMetricsResponse) GetDeviceMetrics() *DeviceMetrics
- func (*GetDeviceMetricsResponse) ProtoMessage()
- func (m *GetDeviceMetricsResponse) Reset()
- func (m *GetDeviceMetricsResponse) String() string
- func (m *GetDeviceMetricsResponse) XXX_DiscardUnknown()
- func (m *GetDeviceMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceMetricsResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceMetricsResponse) XXX_Size() int
- func (m *GetDeviceMetricsResponse) XXX_Unmarshal(b []byte) error
- type GetDeviceModelRequest
- func (*GetDeviceModelRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelRequest) GetDeviceModelID() string
- func (m *GetDeviceModelRequest) GetUserID() string
- func (*GetDeviceModelRequest) ProtoMessage()
- func (m *GetDeviceModelRequest) Reset()
- func (m *GetDeviceModelRequest) String() string
- func (m *GetDeviceModelRequest) XXX_DiscardUnknown()
- func (m *GetDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelRequest) XXX_Size() int
- func (m *GetDeviceModelRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceModelResponse
- func (*GetDeviceModelResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelResponse) GetDeviceModel() *DeviceModel
- func (*GetDeviceModelResponse) ProtoMessage()
- func (m *GetDeviceModelResponse) Reset()
- func (m *GetDeviceModelResponse) String() string
- func (m *GetDeviceModelResponse) XXX_DiscardUnknown()
- func (m *GetDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelResponse) XXX_Size() int
- func (m *GetDeviceModelResponse) XXX_Unmarshal(b []byte) error
- type GetDeviceModelWithNameRequest
- func (*GetDeviceModelWithNameRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelWithNameRequest) GetDeviceModelName() string
- func (m *GetDeviceModelWithNameRequest) GetUserID() string
- func (*GetDeviceModelWithNameRequest) ProtoMessage()
- func (m *GetDeviceModelWithNameRequest) Reset()
- func (m *GetDeviceModelWithNameRequest) String() string
- func (m *GetDeviceModelWithNameRequest) XXX_DiscardUnknown()
- func (m *GetDeviceModelWithNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelWithNameRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelWithNameRequest) XXX_Size() int
- func (m *GetDeviceModelWithNameRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceModelWithNameResponse
- func (*GetDeviceModelWithNameResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelWithNameResponse) GetDeviceModel() *DeviceModel
- func (*GetDeviceModelWithNameResponse) ProtoMessage()
- func (m *GetDeviceModelWithNameResponse) Reset()
- func (m *GetDeviceModelWithNameResponse) String() string
- func (m *GetDeviceModelWithNameResponse) XXX_DiscardUnknown()
- func (m *GetDeviceModelWithNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelWithNameResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelWithNameResponse) XXX_Size() int
- func (m *GetDeviceModelWithNameResponse) XXX_Unmarshal(b []byte) error
- type GetDeviceModelsRequest
- func (*GetDeviceModelsRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelsRequest) GetUserID() string
- func (*GetDeviceModelsRequest) ProtoMessage()
- func (m *GetDeviceModelsRequest) Reset()
- func (m *GetDeviceModelsRequest) String() string
- func (m *GetDeviceModelsRequest) XXX_DiscardUnknown()
- func (m *GetDeviceModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelsRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelsRequest) XXX_Size() int
- func (m *GetDeviceModelsRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceModelsResponse
- func (*GetDeviceModelsResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceModelsResponse) GetDeviceModels() []*DeviceModel
- func (*GetDeviceModelsResponse) ProtoMessage()
- func (m *GetDeviceModelsResponse) Reset()
- func (m *GetDeviceModelsResponse) String() string
- func (m *GetDeviceModelsResponse) XXX_DiscardUnknown()
- func (m *GetDeviceModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceModelsResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceModelsResponse) XXX_Size() int
- func (m *GetDeviceModelsResponse) XXX_Unmarshal(b []byte) error
- type GetDeviceRequest
- func (*GetDeviceRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceRequest) GetDeviceID() string
- func (m *GetDeviceRequest) GetUserID() string
- func (*GetDeviceRequest) ProtoMessage()
- func (m *GetDeviceRequest) Reset()
- func (m *GetDeviceRequest) String() string
- func (m *GetDeviceRequest) XXX_DiscardUnknown()
- func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceRequest) XXX_Size() int
- func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceResponse
- func (*GetDeviceResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceResponse) GetDevice() *Device
- func (*GetDeviceResponse) ProtoMessage()
- func (m *GetDeviceResponse) Reset()
- func (m *GetDeviceResponse) String() string
- func (m *GetDeviceResponse) XXX_DiscardUnknown()
- func (m *GetDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDeviceResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceResponse) XXX_Size() int
- func (m *GetDeviceResponse) XXX_Unmarshal(b []byte) error
- type GetDevicesRequest
- func (*GetDevicesRequest) Descriptor() ([]byte, []int)
- func (m *GetDevicesRequest) GetDeviceIDs() []string
- func (m *GetDevicesRequest) GetUserID() string
- func (*GetDevicesRequest) ProtoMessage()
- func (m *GetDevicesRequest) Reset()
- func (m *GetDevicesRequest) String() string
- func (m *GetDevicesRequest) XXX_DiscardUnknown()
- func (m *GetDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDevicesRequest) XXX_Merge(src proto.Message)
- func (m *GetDevicesRequest) XXX_Size() int
- func (m *GetDevicesRequest) XXX_Unmarshal(b []byte) error
- type GetDevicesResponse
- func (*GetDevicesResponse) Descriptor() ([]byte, []int)
- func (m *GetDevicesResponse) GetDevices() []*Device
- func (*GetDevicesResponse) ProtoMessage()
- func (m *GetDevicesResponse) Reset()
- func (m *GetDevicesResponse) String() string
- func (m *GetDevicesResponse) XXX_DiscardUnknown()
- func (m *GetDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetDevicesResponse) XXX_Merge(src proto.Message)
- func (m *GetDevicesResponse) XXX_Size() int
- func (m *GetDevicesResponse) XXX_Unmarshal(b []byte) error
- type PostDeviceMessageRequest
- func (*PostDeviceMessageRequest) Descriptor() ([]byte, []int)
- func (m *PostDeviceMessageRequest) GetDeviceID() string
- func (m *PostDeviceMessageRequest) GetDeviceMessage() *DeviceMessage
- func (m *PostDeviceMessageRequest) GetUserID() string
- func (*PostDeviceMessageRequest) ProtoMessage()
- func (m *PostDeviceMessageRequest) Reset()
- func (m *PostDeviceMessageRequest) String() string
- func (m *PostDeviceMessageRequest) XXX_DiscardUnknown()
- func (m *PostDeviceMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PostDeviceMessageRequest) XXX_Merge(src proto.Message)
- func (m *PostDeviceMessageRequest) XXX_Size() int
- func (m *PostDeviceMessageRequest) XXX_Unmarshal(b []byte) error
- type PostDeviceMessageResponse
- func (*PostDeviceMessageResponse) Descriptor() ([]byte, []int)
- func (*PostDeviceMessageResponse) ProtoMessage()
- func (m *PostDeviceMessageResponse) Reset()
- func (m *PostDeviceMessageResponse) String() string
- func (m *PostDeviceMessageResponse) XXX_DiscardUnknown()
- func (m *PostDeviceMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PostDeviceMessageResponse) XXX_Merge(src proto.Message)
- func (m *PostDeviceMessageResponse) XXX_Size() int
- func (m *PostDeviceMessageResponse) XXX_Unmarshal(b []byte) error
- type SetDeviceStatusRequest
- func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)
- func (m *SetDeviceStatusRequest) GetDeviceID() string
- func (m *SetDeviceStatusRequest) GetStatus() string
- func (m *SetDeviceStatusRequest) GetUserID() string
- func (*SetDeviceStatusRequest) ProtoMessage()
- func (m *SetDeviceStatusRequest) Reset()
- func (m *SetDeviceStatusRequest) String() string
- func (m *SetDeviceStatusRequest) XXX_DiscardUnknown()
- func (m *SetDeviceStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetDeviceStatusRequest) XXX_Merge(src proto.Message)
- func (m *SetDeviceStatusRequest) XXX_Size() int
- func (m *SetDeviceStatusRequest) XXX_Unmarshal(b []byte) error
- type SetDeviceStatusResponse
- func (*SetDeviceStatusResponse) Descriptor() ([]byte, []int)
- func (*SetDeviceStatusResponse) ProtoMessage()
- func (m *SetDeviceStatusResponse) Reset()
- func (m *SetDeviceStatusResponse) String() string
- func (m *SetDeviceStatusResponse) XXX_DiscardUnknown()
- func (m *SetDeviceStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetDeviceStatusResponse) XXX_Merge(src proto.Message)
- func (m *SetDeviceStatusResponse) XXX_Size() int
- func (m *SetDeviceStatusResponse) XXX_Unmarshal(b []byte) error
- type UpdateDeviceModelRequest
- func (*UpdateDeviceModelRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceModelRequest) GetDeviceModel() *DeviceModel
- func (m *UpdateDeviceModelRequest) GetDeviceModelID() string
- func (m *UpdateDeviceModelRequest) GetUserID() string
- func (*UpdateDeviceModelRequest) ProtoMessage()
- func (m *UpdateDeviceModelRequest) Reset()
- func (m *UpdateDeviceModelRequest) String() string
- func (m *UpdateDeviceModelRequest) XXX_DiscardUnknown()
- func (m *UpdateDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateDeviceModelRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceModelRequest) XXX_Size() int
- func (m *UpdateDeviceModelRequest) XXX_Unmarshal(b []byte) error
- type UpdateDeviceModelResponse
- func (*UpdateDeviceModelResponse) Descriptor() ([]byte, []int)
- func (*UpdateDeviceModelResponse) ProtoMessage()
- func (m *UpdateDeviceModelResponse) Reset()
- func (m *UpdateDeviceModelResponse) String() string
- func (m *UpdateDeviceModelResponse) XXX_DiscardUnknown()
- func (m *UpdateDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateDeviceModelResponse) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceModelResponse) XXX_Size() int
- func (m *UpdateDeviceModelResponse) XXX_Unmarshal(b []byte) error
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceRequest) GetDevice() *Device
- func (m *UpdateDeviceRequest) GetUserID() string
- func (*UpdateDeviceRequest) ProtoMessage()
- func (m *UpdateDeviceRequest) Reset()
- func (m *UpdateDeviceRequest) String() string
- func (m *UpdateDeviceRequest) XXX_DiscardUnknown()
- func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateDeviceRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceRequest) XXX_Size() int
- func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error
- type UpdateDeviceResponse
- func (*UpdateDeviceResponse) Descriptor() ([]byte, []int)
- func (*UpdateDeviceResponse) ProtoMessage()
- func (m *UpdateDeviceResponse) Reset()
- func (m *UpdateDeviceResponse) String() string
- func (m *UpdateDeviceResponse) XXX_DiscardUnknown()
- func (m *UpdateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateDeviceResponse) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceResponse) XXX_Size() int
- func (m *UpdateDeviceResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const ( DefaultPort = 30010 ServiceName = "dmms" )
Variables ¶
var ( // LbsV1LocalAddress exposes the local address that is used if we run with DNS disabled V1LocalAddress = fmt.Sprintf(":%d", DefaultPort) )
Functions ¶
func RegisterDMMSServer ¶
func RegisterDMMSServer(s *grpc.Server, srv DMMSServer)
Types ¶
type AddDeviceRequest ¶
type AddDeviceRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` Device *Device `protobuf:"bytes,2,opt,name=device" json:"device,omitempty", bson:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Device apis
func (*AddDeviceRequest) Descriptor ¶
func (*AddDeviceRequest) Descriptor() ([]byte, []int)
func (*AddDeviceRequest) GetDevice ¶
func (m *AddDeviceRequest) GetDevice() *Device
func (*AddDeviceRequest) GetUserID ¶
func (m *AddDeviceRequest) GetUserID() string
func (*AddDeviceRequest) ProtoMessage ¶
func (*AddDeviceRequest) ProtoMessage()
func (*AddDeviceRequest) Reset ¶
func (m *AddDeviceRequest) Reset()
func (*AddDeviceRequest) String ¶
func (m *AddDeviceRequest) String() string
func (*AddDeviceRequest) XXX_DiscardUnknown ¶
func (m *AddDeviceRequest) XXX_DiscardUnknown()
func (*AddDeviceRequest) XXX_Marshal ¶
func (m *AddDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddDeviceRequest) XXX_Merge ¶
func (dst *AddDeviceRequest) XXX_Merge(src proto.Message)
func (*AddDeviceRequest) XXX_Size ¶
func (m *AddDeviceRequest) XXX_Size() int
func (*AddDeviceRequest) XXX_Unmarshal ¶
func (m *AddDeviceRequest) XXX_Unmarshal(b []byte) error
type AddDeviceResponse ¶
type AddDeviceResponse struct { Device *Device `protobuf:"bytes,1,opt,name=device" json:"device,omitempty", bson:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddDeviceResponse) Descriptor ¶
func (*AddDeviceResponse) Descriptor() ([]byte, []int)
func (*AddDeviceResponse) GetDevice ¶
func (m *AddDeviceResponse) GetDevice() *Device
func (*AddDeviceResponse) ProtoMessage ¶
func (*AddDeviceResponse) ProtoMessage()
func (*AddDeviceResponse) Reset ¶
func (m *AddDeviceResponse) Reset()
func (*AddDeviceResponse) String ¶
func (m *AddDeviceResponse) String() string
func (*AddDeviceResponse) XXX_DiscardUnknown ¶
func (m *AddDeviceResponse) XXX_DiscardUnknown()
func (*AddDeviceResponse) XXX_Marshal ¶
func (m *AddDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddDeviceResponse) XXX_Merge ¶
func (dst *AddDeviceResponse) XXX_Merge(src proto.Message)
func (*AddDeviceResponse) XXX_Size ¶
func (m *AddDeviceResponse) XXX_Size() int
func (*AddDeviceResponse) XXX_Unmarshal ¶
func (m *AddDeviceResponse) XXX_Unmarshal(b []byte) error
type Client ¶
type Client interface { DeviceManager() DMMSClient Close() error }
Client is a client interface for interacting with the tuning service.
func NewClient ¶
NewClient create a new load-balanced client to talk to the Tuning service. If the dns_server config option is set to 'disabled', it will default to the pre-defined LocalPort of the service.
func NewWithAddress ¶
NewWithAddress create a new load-balanced client to talk to the Tuning service. If the dns_server config option is set to 'disabled', it will default to the pre-defined LocalPort of the service.
type CreateDeviceModelRequest ¶
type CreateDeviceModelRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceModel *DeviceModel `protobuf:"bytes,2,opt,name=device_model,json=deviceModel" json:"device_model,omitempty", bson:"device_model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Device Model apis
func (*CreateDeviceModelRequest) Descriptor ¶
func (*CreateDeviceModelRequest) Descriptor() ([]byte, []int)
func (*CreateDeviceModelRequest) GetDeviceModel ¶
func (m *CreateDeviceModelRequest) GetDeviceModel() *DeviceModel
func (*CreateDeviceModelRequest) GetUserID ¶
func (m *CreateDeviceModelRequest) GetUserID() string
func (*CreateDeviceModelRequest) ProtoMessage ¶
func (*CreateDeviceModelRequest) ProtoMessage()
func (*CreateDeviceModelRequest) Reset ¶
func (m *CreateDeviceModelRequest) Reset()
func (*CreateDeviceModelRequest) String ¶
func (m *CreateDeviceModelRequest) String() string
func (*CreateDeviceModelRequest) XXX_DiscardUnknown ¶
func (m *CreateDeviceModelRequest) XXX_DiscardUnknown()
func (*CreateDeviceModelRequest) XXX_Marshal ¶
func (m *CreateDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeviceModelRequest) XXX_Merge ¶
func (dst *CreateDeviceModelRequest) XXX_Merge(src proto.Message)
func (*CreateDeviceModelRequest) XXX_Size ¶
func (m *CreateDeviceModelRequest) XXX_Size() int
func (*CreateDeviceModelRequest) XXX_Unmarshal ¶
func (m *CreateDeviceModelRequest) XXX_Unmarshal(b []byte) error
type CreateDeviceModelResponse ¶
type CreateDeviceModelResponse struct { DeviceModel *DeviceModel `protobuf:"bytes,1,opt,name=device_model,json=deviceModel" json:"device_model,omitempty", bson:"device_model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateDeviceModelResponse) Descriptor ¶
func (*CreateDeviceModelResponse) Descriptor() ([]byte, []int)
func (*CreateDeviceModelResponse) GetDeviceModel ¶
func (m *CreateDeviceModelResponse) GetDeviceModel() *DeviceModel
func (*CreateDeviceModelResponse) ProtoMessage ¶
func (*CreateDeviceModelResponse) ProtoMessage()
func (*CreateDeviceModelResponse) Reset ¶
func (m *CreateDeviceModelResponse) Reset()
func (*CreateDeviceModelResponse) String ¶
func (m *CreateDeviceModelResponse) String() string
func (*CreateDeviceModelResponse) XXX_DiscardUnknown ¶
func (m *CreateDeviceModelResponse) XXX_DiscardUnknown()
func (*CreateDeviceModelResponse) XXX_Marshal ¶
func (m *CreateDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeviceModelResponse) XXX_Merge ¶
func (dst *CreateDeviceModelResponse) XXX_Merge(src proto.Message)
func (*CreateDeviceModelResponse) XXX_Size ¶
func (m *CreateDeviceModelResponse) XXX_Size() int
func (*CreateDeviceModelResponse) XXX_Unmarshal ¶
func (m *CreateDeviceModelResponse) XXX_Unmarshal(b []byte) error
type DMMSClient ¶
type DMMSClient interface { // DeviceModel CreateDeviceModel(ctx context.Context, in *CreateDeviceModelRequest, opts ...grpc.CallOption) (*CreateDeviceModelResponse, error) GetDeviceModel(ctx context.Context, in *GetDeviceModelRequest, opts ...grpc.CallOption) (*GetDeviceModelResponse, error) GetDeviceModelWithName(ctx context.Context, in *GetDeviceModelWithNameRequest, opts ...grpc.CallOption) (*GetDeviceModelWithNameResponse, error) DeleteDeviceModel(ctx context.Context, in *DeleteDeviceModelRequest, opts ...grpc.CallOption) (*DeleteDeviceModelResponse, error) UpdateDeviceModel(ctx context.Context, in *UpdateDeviceModelRequest, opts ...grpc.CallOption) (*UpdateDeviceModelResponse, error) GetDeviceModels(ctx context.Context, in *GetDeviceModelsRequest, opts ...grpc.CallOption) (*GetDeviceModelsResponse, error) // Device Management AddDevice(ctx context.Context, in *AddDeviceRequest, opts ...grpc.CallOption) (*AddDeviceResponse, error) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error) UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*UpdateDeviceResponse, error) GetDevices(ctx context.Context, in *GetDevicesRequest, opts ...grpc.CallOption) (*GetDevicesResponse, error) DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error) SetDeviceStatus(ctx context.Context, in *SetDeviceStatusRequest, opts ...grpc.CallOption) (*SetDeviceStatusResponse, error) GetDeviceLog(ctx context.Context, in *GetDeviceLogRequest, opts ...grpc.CallOption) (*GetDeviceLogResponse, error) GetDeviceMetrics(ctx context.Context, in *GetDeviceMetricsRequest, opts ...grpc.CallOption) (*GetDeviceMetricsResponse, error) PostDeviceMessage(ctx context.Context, in *PostDeviceMessageRequest, opts ...grpc.CallOption) (*PostDeviceMessageResponse, error) }
DMMSClient is the client API for DMMS service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDMMSClient ¶
func NewDMMSClient(cc *grpc.ClientConn) DMMSClient
type DMMSServer ¶
type DMMSServer interface { // DeviceModel CreateDeviceModel(context.Context, *CreateDeviceModelRequest) (*CreateDeviceModelResponse, error) GetDeviceModel(context.Context, *GetDeviceModelRequest) (*GetDeviceModelResponse, error) GetDeviceModelWithName(context.Context, *GetDeviceModelWithNameRequest) (*GetDeviceModelWithNameResponse, error) DeleteDeviceModel(context.Context, *DeleteDeviceModelRequest) (*DeleteDeviceModelResponse, error) UpdateDeviceModel(context.Context, *UpdateDeviceModelRequest) (*UpdateDeviceModelResponse, error) GetDeviceModels(context.Context, *GetDeviceModelsRequest) (*GetDeviceModelsResponse, error) // Device Management AddDevice(context.Context, *AddDeviceRequest) (*AddDeviceResponse, error) GetDevice(context.Context, *GetDeviceRequest) (*GetDeviceResponse, error) UpdateDevice(context.Context, *UpdateDeviceRequest) (*UpdateDeviceResponse, error) GetDevices(context.Context, *GetDevicesRequest) (*GetDevicesResponse, error) DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceResponse, error) SetDeviceStatus(context.Context, *SetDeviceStatusRequest) (*SetDeviceStatusResponse, error) GetDeviceLog(context.Context, *GetDeviceLogRequest) (*GetDeviceLogResponse, error) GetDeviceMetrics(context.Context, *GetDeviceMetricsRequest) (*GetDeviceMetricsResponse, error) PostDeviceMessage(context.Context, *PostDeviceMessageRequest) (*PostDeviceMessageResponse, error) }
DMMSServer is the server API for DMMS service.
type DataModel ¶
type DataModel struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty", bson:"name,omitempty"` ID string `protobuf:"bytes,2,opt,name=ID" json:"ID,omitempty", bson:"ID,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain" json:"domain,omitempty", bson:"domain,omitempty"` DataModelFields []*DataModelField `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DataModel) Descriptor ¶
func (*DataModel) GetDataModelFields ¶
func (m *DataModel) GetDataModelFields() []*DataModelField
func (*DataModel) ProtoMessage ¶
func (*DataModel) ProtoMessage()
func (*DataModel) XXX_DiscardUnknown ¶
func (m *DataModel) XXX_DiscardUnknown()
func (*DataModel) XXX_Marshal ¶
func (*DataModel) XXX_Unmarshal ¶
type DataModelField ¶
type DataModelField struct { Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty", bson:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty", bson:"value,omitempty"` Type string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty", bson:"type,omitempty"` DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue" json:"default_value,omitempty", bson:"default_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DataModelField) Descriptor ¶
func (*DataModelField) Descriptor() ([]byte, []int)
func (*DataModelField) GetDefaultValue ¶
func (m *DataModelField) GetDefaultValue() string
func (*DataModelField) GetKey ¶
func (m *DataModelField) GetKey() string
func (*DataModelField) GetType ¶
func (m *DataModelField) GetType() string
func (*DataModelField) GetValue ¶
func (m *DataModelField) GetValue() string
func (*DataModelField) ProtoMessage ¶
func (*DataModelField) ProtoMessage()
func (*DataModelField) Reset ¶
func (m *DataModelField) Reset()
func (*DataModelField) String ¶
func (m *DataModelField) String() string
func (*DataModelField) XXX_DiscardUnknown ¶
func (m *DataModelField) XXX_DiscardUnknown()
func (*DataModelField) XXX_Marshal ¶
func (m *DataModelField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataModelField) XXX_Merge ¶
func (dst *DataModelField) XXX_Merge(src proto.Message)
func (*DataModelField) XXX_Size ¶
func (m *DataModelField) XXX_Size() int
func (*DataModelField) XXX_Unmarshal ¶
func (m *DataModelField) XXX_Unmarshal(b []byte) error
type DeleteDeviceModelRequest ¶
type DeleteDeviceModelRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceModelID string `protobuf:"bytes,2,opt,name=deviceModelID" json:"deviceModelID,omitempty", bson:"deviceModelID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDeviceModelRequest) Descriptor ¶
func (*DeleteDeviceModelRequest) Descriptor() ([]byte, []int)
func (*DeleteDeviceModelRequest) GetDeviceModelID ¶
func (m *DeleteDeviceModelRequest) GetDeviceModelID() string
func (*DeleteDeviceModelRequest) GetUserID ¶
func (m *DeleteDeviceModelRequest) GetUserID() string
func (*DeleteDeviceModelRequest) ProtoMessage ¶
func (*DeleteDeviceModelRequest) ProtoMessage()
func (*DeleteDeviceModelRequest) Reset ¶
func (m *DeleteDeviceModelRequest) Reset()
func (*DeleteDeviceModelRequest) String ¶
func (m *DeleteDeviceModelRequest) String() string
func (*DeleteDeviceModelRequest) XXX_DiscardUnknown ¶
func (m *DeleteDeviceModelRequest) XXX_DiscardUnknown()
func (*DeleteDeviceModelRequest) XXX_Marshal ¶
func (m *DeleteDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceModelRequest) XXX_Merge ¶
func (dst *DeleteDeviceModelRequest) XXX_Merge(src proto.Message)
func (*DeleteDeviceModelRequest) XXX_Size ¶
func (m *DeleteDeviceModelRequest) XXX_Size() int
func (*DeleteDeviceModelRequest) XXX_Unmarshal ¶
func (m *DeleteDeviceModelRequest) XXX_Unmarshal(b []byte) error
type DeleteDeviceModelResponse ¶
type DeleteDeviceModelResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDeviceModelResponse) Descriptor ¶
func (*DeleteDeviceModelResponse) Descriptor() ([]byte, []int)
func (*DeleteDeviceModelResponse) ProtoMessage ¶
func (*DeleteDeviceModelResponse) ProtoMessage()
func (*DeleteDeviceModelResponse) Reset ¶
func (m *DeleteDeviceModelResponse) Reset()
func (*DeleteDeviceModelResponse) String ¶
func (m *DeleteDeviceModelResponse) String() string
func (*DeleteDeviceModelResponse) XXX_DiscardUnknown ¶
func (m *DeleteDeviceModelResponse) XXX_DiscardUnknown()
func (*DeleteDeviceModelResponse) XXX_Marshal ¶
func (m *DeleteDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceModelResponse) XXX_Merge ¶
func (dst *DeleteDeviceModelResponse) XXX_Merge(src proto.Message)
func (*DeleteDeviceModelResponse) XXX_Size ¶
func (m *DeleteDeviceModelResponse) XXX_Size() int
func (*DeleteDeviceModelResponse) XXX_Unmarshal ¶
func (m *DeleteDeviceModelResponse) XXX_Unmarshal(b []byte) error
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDeviceRequest) Descriptor ¶
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
func (*DeleteDeviceRequest) GetDeviceID ¶
func (m *DeleteDeviceRequest) GetDeviceID() string
func (*DeleteDeviceRequest) GetUserID ¶
func (m *DeleteDeviceRequest) GetUserID() string
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) Reset ¶
func (m *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) String ¶
func (m *DeleteDeviceRequest) String() string
func (*DeleteDeviceRequest) XXX_DiscardUnknown ¶
func (m *DeleteDeviceRequest) XXX_DiscardUnknown()
func (*DeleteDeviceRequest) XXX_Marshal ¶
func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceRequest) XXX_Merge ¶
func (dst *DeleteDeviceRequest) XXX_Merge(src proto.Message)
func (*DeleteDeviceRequest) XXX_Size ¶
func (m *DeleteDeviceRequest) XXX_Size() int
func (*DeleteDeviceRequest) XXX_Unmarshal ¶
func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDeviceResponse) Descriptor ¶
func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)
func (*DeleteDeviceResponse) ProtoMessage ¶
func (*DeleteDeviceResponse) ProtoMessage()
func (*DeleteDeviceResponse) Reset ¶
func (m *DeleteDeviceResponse) Reset()
func (*DeleteDeviceResponse) String ¶
func (m *DeleteDeviceResponse) String() string
func (*DeleteDeviceResponse) XXX_DiscardUnknown ¶
func (m *DeleteDeviceResponse) XXX_DiscardUnknown()
func (*DeleteDeviceResponse) XXX_Marshal ¶
func (m *DeleteDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceResponse) XXX_Merge ¶
func (dst *DeleteDeviceResponse) XXX_Merge(src proto.Message)
func (*DeleteDeviceResponse) XXX_Size ¶
func (m *DeleteDeviceResponse) XXX_Size() int
func (*DeleteDeviceResponse) XXX_Unmarshal ¶
func (m *DeleteDeviceResponse) XXX_Unmarshal(b []byte) error
type Device ¶
type Device struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty", bson:"ID,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty", bson:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty", bson:"description,omitempty"` Status string `protobuf:"bytes,5,opt,name=status" json:"status,omitempty", bson:"status,omitempty"` UserID string `protobuf:"bytes,6,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` ProjectID string `protobuf:"bytes,7,opt,name=projectID" json:"projectID,omitempty", bson:"projectID,omitempty"` ModelID string `protobuf:"bytes,8,opt,name=modelID" json:"modelID,omitempty", bson:"modelID,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt" json:"created_at,omitempty", bson:"created_at,omitempty"` LastUpdatedAt *timestamp.Timestamp `` /* 130-byte string literal not displayed */ Values []*DataModel `protobuf:"bytes,11,rep,name=values" json:"values,omitempty", bson:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Device) Descriptor ¶
func (*Device) GetCreatedAt ¶
func (*Device) GetDescription ¶
func (*Device) GetLastUpdatedAt ¶
func (*Device) GetModelID ¶
func (*Device) GetProjectID ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) XXX_DiscardUnknown ¶
func (m *Device) XXX_DiscardUnknown()
func (*Device) XXX_Marshal ¶
func (*Device) XXX_Unmarshal ¶
type DeviceMessage ¶
type DeviceMessage struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint" json:"endpoint,omitempty", bson:"endpoint,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty", bson:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceMessage) Descriptor ¶
func (*DeviceMessage) Descriptor() ([]byte, []int)
func (*DeviceMessage) GetDeviceID ¶
func (m *DeviceMessage) GetDeviceID() string
func (*DeviceMessage) GetEndpoint ¶
func (m *DeviceMessage) GetEndpoint() string
func (*DeviceMessage) GetPayload ¶
func (m *DeviceMessage) GetPayload() []byte
func (*DeviceMessage) GetUserID ¶
func (m *DeviceMessage) GetUserID() string
func (*DeviceMessage) ProtoMessage ¶
func (*DeviceMessage) ProtoMessage()
func (*DeviceMessage) Reset ¶
func (m *DeviceMessage) Reset()
func (*DeviceMessage) String ¶
func (m *DeviceMessage) String() string
func (*DeviceMessage) XXX_DiscardUnknown ¶
func (m *DeviceMessage) XXX_DiscardUnknown()
func (*DeviceMessage) XXX_Marshal ¶
func (m *DeviceMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceMessage) XXX_Merge ¶
func (dst *DeviceMessage) XXX_Merge(src proto.Message)
func (*DeviceMessage) XXX_Size ¶
func (m *DeviceMessage) XXX_Size() int
func (*DeviceMessage) XXX_Unmarshal ¶
func (m *DeviceMessage) XXX_Unmarshal(b []byte) error
type DeviceMetrics ¶
type DeviceMetrics struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` Metrics map[string]int32 `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceMetrics) Descriptor ¶
func (*DeviceMetrics) Descriptor() ([]byte, []int)
func (*DeviceMetrics) GetDeviceID ¶
func (m *DeviceMetrics) GetDeviceID() string
func (*DeviceMetrics) GetMetrics ¶
func (m *DeviceMetrics) GetMetrics() map[string]int32
func (*DeviceMetrics) GetUserID ¶
func (m *DeviceMetrics) GetUserID() string
func (*DeviceMetrics) ProtoMessage ¶
func (*DeviceMetrics) ProtoMessage()
func (*DeviceMetrics) Reset ¶
func (m *DeviceMetrics) Reset()
func (*DeviceMetrics) String ¶
func (m *DeviceMetrics) String() string
func (*DeviceMetrics) XXX_DiscardUnknown ¶
func (m *DeviceMetrics) XXX_DiscardUnknown()
func (*DeviceMetrics) XXX_Marshal ¶
func (m *DeviceMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceMetrics) XXX_Merge ¶
func (dst *DeviceMetrics) XXX_Merge(src proto.Message)
func (*DeviceMetrics) XXX_Size ¶
func (m *DeviceMetrics) XXX_Size() int
func (*DeviceMetrics) XXX_Unmarshal ¶
func (m *DeviceMetrics) XXX_Unmarshal(b []byte) error
type DeviceModel ¶
type DeviceModel struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty", bson:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty", bson:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty", bson:"description,omitempty"` Domain string `protobuf:"bytes,4,opt,name=domain" json:"domain,omitempty", bson:"domain,omitempty"` Version string `protobuf:"bytes,5,opt,name=version" json:"version,omitempty", bson:"version,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,6,rep,name=endpoints" json:"endpoints,omitempty", bson:"endpoints,omitempty"` DataModels []*DataModel `protobuf:"bytes,7,rep,name=dataModels" json:"dataModels,omitempty", bson:"dataModels,omitempty"` IsLogical bool `protobuf:"varint,8,opt,name=isLogical" json:"isLogical,omitempty", bson:"isLogical,omitempty"` IsCompound bool `protobuf:"varint,9,opt,name=isCompound" json:"isCompound,omitempty", bson:"isCompound,omitempty"` ChildModels []string `protobuf:"bytes,10,rep,name=ChildModels" json:"ChildModels,omitempty", bson:"ChildModels,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt" json:"created_at,omitempty", bson:"created_at,omitempty"` LastUpdatedAt *timestamp.Timestamp `` /* 130-byte string literal not displayed */ UserID string `protobuf:"bytes,13,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` Icon string `protobuf:"bytes,14,opt,name=Icon" json:"Icon,omitempty", bson:"Icon,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceModel) Descriptor ¶
func (*DeviceModel) Descriptor() ([]byte, []int)
func (*DeviceModel) GetChildModels ¶
func (m *DeviceModel) GetChildModels() []string
func (*DeviceModel) GetCreatedAt ¶
func (m *DeviceModel) GetCreatedAt() *timestamp.Timestamp
func (*DeviceModel) GetDataModels ¶
func (m *DeviceModel) GetDataModels() []*DataModel
func (*DeviceModel) GetDescription ¶
func (m *DeviceModel) GetDescription() string
func (*DeviceModel) GetDomain ¶
func (m *DeviceModel) GetDomain() string
func (*DeviceModel) GetEndpoints ¶
func (m *DeviceModel) GetEndpoints() []*Endpoint
func (*DeviceModel) GetID ¶
func (m *DeviceModel) GetID() string
func (*DeviceModel) GetIcon ¶
func (m *DeviceModel) GetIcon() string
func (*DeviceModel) GetIsCompound ¶
func (m *DeviceModel) GetIsCompound() bool
func (*DeviceModel) GetIsLogical ¶
func (m *DeviceModel) GetIsLogical() bool
func (*DeviceModel) GetLastUpdatedAt ¶
func (m *DeviceModel) GetLastUpdatedAt() *timestamp.Timestamp
func (*DeviceModel) GetName ¶
func (m *DeviceModel) GetName() string
func (*DeviceModel) GetUserID ¶
func (m *DeviceModel) GetUserID() string
func (*DeviceModel) GetVersion ¶
func (m *DeviceModel) GetVersion() string
func (*DeviceModel) ProtoMessage ¶
func (*DeviceModel) ProtoMessage()
func (*DeviceModel) Reset ¶
func (m *DeviceModel) Reset()
func (*DeviceModel) String ¶
func (m *DeviceModel) String() string
func (*DeviceModel) XXX_DiscardUnknown ¶
func (m *DeviceModel) XXX_DiscardUnknown()
func (*DeviceModel) XXX_Marshal ¶
func (m *DeviceModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceModel) XXX_Merge ¶
func (dst *DeviceModel) XXX_Merge(src proto.Message)
func (*DeviceModel) XXX_Size ¶
func (m *DeviceModel) XXX_Size() int
func (*DeviceModel) XXX_Unmarshal ¶
func (m *DeviceModel) XXX_Unmarshal(b []byte) error
type Endpoint ¶
type Endpoint struct { Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty", bson:"path,omitempty"` Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty", bson:"format,omitempty"` Models map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Endpoint) Descriptor ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type GetDeviceLogRequest ¶
type GetDeviceLogRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` Since *timestamp.Timestamp `protobuf:"bytes,3,opt,name=since" json:"since,omitempty", bson:"since,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceLogRequest) Descriptor ¶
func (*GetDeviceLogRequest) Descriptor() ([]byte, []int)
func (*GetDeviceLogRequest) GetDeviceID ¶
func (m *GetDeviceLogRequest) GetDeviceID() string
func (*GetDeviceLogRequest) GetSince ¶
func (m *GetDeviceLogRequest) GetSince() *timestamp.Timestamp
func (*GetDeviceLogRequest) GetUserID ¶
func (m *GetDeviceLogRequest) GetUserID() string
func (*GetDeviceLogRequest) ProtoMessage ¶
func (*GetDeviceLogRequest) ProtoMessage()
func (*GetDeviceLogRequest) Reset ¶
func (m *GetDeviceLogRequest) Reset()
func (*GetDeviceLogRequest) String ¶
func (m *GetDeviceLogRequest) String() string
func (*GetDeviceLogRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceLogRequest) XXX_DiscardUnknown()
func (*GetDeviceLogRequest) XXX_Marshal ¶
func (m *GetDeviceLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceLogRequest) XXX_Merge ¶
func (dst *GetDeviceLogRequest) XXX_Merge(src proto.Message)
func (*GetDeviceLogRequest) XXX_Size ¶
func (m *GetDeviceLogRequest) XXX_Size() int
func (*GetDeviceLogRequest) XXX_Unmarshal ¶
func (m *GetDeviceLogRequest) XXX_Unmarshal(b []byte) error
type GetDeviceLogResponse ¶
type GetDeviceLogResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceLogResponse) Descriptor ¶
func (*GetDeviceLogResponse) Descriptor() ([]byte, []int)
func (*GetDeviceLogResponse) ProtoMessage ¶
func (*GetDeviceLogResponse) ProtoMessage()
func (*GetDeviceLogResponse) Reset ¶
func (m *GetDeviceLogResponse) Reset()
func (*GetDeviceLogResponse) String ¶
func (m *GetDeviceLogResponse) String() string
func (*GetDeviceLogResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceLogResponse) XXX_DiscardUnknown()
func (*GetDeviceLogResponse) XXX_Marshal ¶
func (m *GetDeviceLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceLogResponse) XXX_Merge ¶
func (dst *GetDeviceLogResponse) XXX_Merge(src proto.Message)
func (*GetDeviceLogResponse) XXX_Size ¶
func (m *GetDeviceLogResponse) XXX_Size() int
func (*GetDeviceLogResponse) XXX_Unmarshal ¶
func (m *GetDeviceLogResponse) XXX_Unmarshal(b []byte) error
type GetDeviceMetricsRequest ¶
type GetDeviceMetricsRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceMetricsRequest) Descriptor ¶
func (*GetDeviceMetricsRequest) Descriptor() ([]byte, []int)
func (*GetDeviceMetricsRequest) GetDeviceID ¶
func (m *GetDeviceMetricsRequest) GetDeviceID() string
func (*GetDeviceMetricsRequest) GetUserID ¶
func (m *GetDeviceMetricsRequest) GetUserID() string
func (*GetDeviceMetricsRequest) ProtoMessage ¶
func (*GetDeviceMetricsRequest) ProtoMessage()
func (*GetDeviceMetricsRequest) Reset ¶
func (m *GetDeviceMetricsRequest) Reset()
func (*GetDeviceMetricsRequest) String ¶
func (m *GetDeviceMetricsRequest) String() string
func (*GetDeviceMetricsRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceMetricsRequest) XXX_DiscardUnknown()
func (*GetDeviceMetricsRequest) XXX_Marshal ¶
func (m *GetDeviceMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceMetricsRequest) XXX_Merge ¶
func (dst *GetDeviceMetricsRequest) XXX_Merge(src proto.Message)
func (*GetDeviceMetricsRequest) XXX_Size ¶
func (m *GetDeviceMetricsRequest) XXX_Size() int
func (*GetDeviceMetricsRequest) XXX_Unmarshal ¶
func (m *GetDeviceMetricsRequest) XXX_Unmarshal(b []byte) error
type GetDeviceMetricsResponse ¶
type GetDeviceMetricsResponse struct { DeviceMetrics *DeviceMetrics `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceMetricsResponse) Descriptor ¶
func (*GetDeviceMetricsResponse) Descriptor() ([]byte, []int)
func (*GetDeviceMetricsResponse) GetDeviceMetrics ¶
func (m *GetDeviceMetricsResponse) GetDeviceMetrics() *DeviceMetrics
func (*GetDeviceMetricsResponse) ProtoMessage ¶
func (*GetDeviceMetricsResponse) ProtoMessage()
func (*GetDeviceMetricsResponse) Reset ¶
func (m *GetDeviceMetricsResponse) Reset()
func (*GetDeviceMetricsResponse) String ¶
func (m *GetDeviceMetricsResponse) String() string
func (*GetDeviceMetricsResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceMetricsResponse) XXX_DiscardUnknown()
func (*GetDeviceMetricsResponse) XXX_Marshal ¶
func (m *GetDeviceMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceMetricsResponse) XXX_Merge ¶
func (dst *GetDeviceMetricsResponse) XXX_Merge(src proto.Message)
func (*GetDeviceMetricsResponse) XXX_Size ¶
func (m *GetDeviceMetricsResponse) XXX_Size() int
func (*GetDeviceMetricsResponse) XXX_Unmarshal ¶
func (m *GetDeviceMetricsResponse) XXX_Unmarshal(b []byte) error
type GetDeviceModelRequest ¶
type GetDeviceModelRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceModelID string `protobuf:"bytes,2,opt,name=deviceModelID" json:"deviceModelID,omitempty", bson:"deviceModelID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelRequest) Descriptor ¶
func (*GetDeviceModelRequest) Descriptor() ([]byte, []int)
func (*GetDeviceModelRequest) GetDeviceModelID ¶
func (m *GetDeviceModelRequest) GetDeviceModelID() string
func (*GetDeviceModelRequest) GetUserID ¶
func (m *GetDeviceModelRequest) GetUserID() string
func (*GetDeviceModelRequest) ProtoMessage ¶
func (*GetDeviceModelRequest) ProtoMessage()
func (*GetDeviceModelRequest) Reset ¶
func (m *GetDeviceModelRequest) Reset()
func (*GetDeviceModelRequest) String ¶
func (m *GetDeviceModelRequest) String() string
func (*GetDeviceModelRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceModelRequest) XXX_DiscardUnknown()
func (*GetDeviceModelRequest) XXX_Marshal ¶
func (m *GetDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelRequest) XXX_Merge ¶
func (dst *GetDeviceModelRequest) XXX_Merge(src proto.Message)
func (*GetDeviceModelRequest) XXX_Size ¶
func (m *GetDeviceModelRequest) XXX_Size() int
func (*GetDeviceModelRequest) XXX_Unmarshal ¶
func (m *GetDeviceModelRequest) XXX_Unmarshal(b []byte) error
type GetDeviceModelResponse ¶
type GetDeviceModelResponse struct { DeviceModel *DeviceModel `protobuf:"bytes,1,opt,name=device_model,json=deviceModel" json:"device_model,omitempty", bson:"device_model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelResponse) Descriptor ¶
func (*GetDeviceModelResponse) Descriptor() ([]byte, []int)
func (*GetDeviceModelResponse) GetDeviceModel ¶
func (m *GetDeviceModelResponse) GetDeviceModel() *DeviceModel
func (*GetDeviceModelResponse) ProtoMessage ¶
func (*GetDeviceModelResponse) ProtoMessage()
func (*GetDeviceModelResponse) Reset ¶
func (m *GetDeviceModelResponse) Reset()
func (*GetDeviceModelResponse) String ¶
func (m *GetDeviceModelResponse) String() string
func (*GetDeviceModelResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceModelResponse) XXX_DiscardUnknown()
func (*GetDeviceModelResponse) XXX_Marshal ¶
func (m *GetDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelResponse) XXX_Merge ¶
func (dst *GetDeviceModelResponse) XXX_Merge(src proto.Message)
func (*GetDeviceModelResponse) XXX_Size ¶
func (m *GetDeviceModelResponse) XXX_Size() int
func (*GetDeviceModelResponse) XXX_Unmarshal ¶
func (m *GetDeviceModelResponse) XXX_Unmarshal(b []byte) error
type GetDeviceModelWithNameRequest ¶
type GetDeviceModelWithNameRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceModelName string `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelWithNameRequest) Descriptor ¶
func (*GetDeviceModelWithNameRequest) Descriptor() ([]byte, []int)
func (*GetDeviceModelWithNameRequest) GetDeviceModelName ¶
func (m *GetDeviceModelWithNameRequest) GetDeviceModelName() string
func (*GetDeviceModelWithNameRequest) GetUserID ¶
func (m *GetDeviceModelWithNameRequest) GetUserID() string
func (*GetDeviceModelWithNameRequest) ProtoMessage ¶
func (*GetDeviceModelWithNameRequest) ProtoMessage()
func (*GetDeviceModelWithNameRequest) Reset ¶
func (m *GetDeviceModelWithNameRequest) Reset()
func (*GetDeviceModelWithNameRequest) String ¶
func (m *GetDeviceModelWithNameRequest) String() string
func (*GetDeviceModelWithNameRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceModelWithNameRequest) XXX_DiscardUnknown()
func (*GetDeviceModelWithNameRequest) XXX_Marshal ¶
func (m *GetDeviceModelWithNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelWithNameRequest) XXX_Merge ¶
func (dst *GetDeviceModelWithNameRequest) XXX_Merge(src proto.Message)
func (*GetDeviceModelWithNameRequest) XXX_Size ¶
func (m *GetDeviceModelWithNameRequest) XXX_Size() int
func (*GetDeviceModelWithNameRequest) XXX_Unmarshal ¶
func (m *GetDeviceModelWithNameRequest) XXX_Unmarshal(b []byte) error
type GetDeviceModelWithNameResponse ¶
type GetDeviceModelWithNameResponse struct { DeviceModel *DeviceModel `protobuf:"bytes,1,opt,name=device_model,json=deviceModel" json:"device_model,omitempty", bson:"device_model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelWithNameResponse) Descriptor ¶
func (*GetDeviceModelWithNameResponse) Descriptor() ([]byte, []int)
func (*GetDeviceModelWithNameResponse) GetDeviceModel ¶
func (m *GetDeviceModelWithNameResponse) GetDeviceModel() *DeviceModel
func (*GetDeviceModelWithNameResponse) ProtoMessage ¶
func (*GetDeviceModelWithNameResponse) ProtoMessage()
func (*GetDeviceModelWithNameResponse) Reset ¶
func (m *GetDeviceModelWithNameResponse) Reset()
func (*GetDeviceModelWithNameResponse) String ¶
func (m *GetDeviceModelWithNameResponse) String() string
func (*GetDeviceModelWithNameResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceModelWithNameResponse) XXX_DiscardUnknown()
func (*GetDeviceModelWithNameResponse) XXX_Marshal ¶
func (m *GetDeviceModelWithNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelWithNameResponse) XXX_Merge ¶
func (dst *GetDeviceModelWithNameResponse) XXX_Merge(src proto.Message)
func (*GetDeviceModelWithNameResponse) XXX_Size ¶
func (m *GetDeviceModelWithNameResponse) XXX_Size() int
func (*GetDeviceModelWithNameResponse) XXX_Unmarshal ¶
func (m *GetDeviceModelWithNameResponse) XXX_Unmarshal(b []byte) error
type GetDeviceModelsRequest ¶
type GetDeviceModelsRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelsRequest) Descriptor ¶
func (*GetDeviceModelsRequest) Descriptor() ([]byte, []int)
func (*GetDeviceModelsRequest) GetUserID ¶
func (m *GetDeviceModelsRequest) GetUserID() string
func (*GetDeviceModelsRequest) ProtoMessage ¶
func (*GetDeviceModelsRequest) ProtoMessage()
func (*GetDeviceModelsRequest) Reset ¶
func (m *GetDeviceModelsRequest) Reset()
func (*GetDeviceModelsRequest) String ¶
func (m *GetDeviceModelsRequest) String() string
func (*GetDeviceModelsRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceModelsRequest) XXX_DiscardUnknown()
func (*GetDeviceModelsRequest) XXX_Marshal ¶
func (m *GetDeviceModelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelsRequest) XXX_Merge ¶
func (dst *GetDeviceModelsRequest) XXX_Merge(src proto.Message)
func (*GetDeviceModelsRequest) XXX_Size ¶
func (m *GetDeviceModelsRequest) XXX_Size() int
func (*GetDeviceModelsRequest) XXX_Unmarshal ¶
func (m *GetDeviceModelsRequest) XXX_Unmarshal(b []byte) error
type GetDeviceModelsResponse ¶
type GetDeviceModelsResponse struct { DeviceModels []*DeviceModel `protobuf:"bytes,1,rep,name=device_models,json=deviceModels" json:"device_models,omitempty", bson:"device_models,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceModelsResponse) Descriptor ¶
func (*GetDeviceModelsResponse) Descriptor() ([]byte, []int)
func (*GetDeviceModelsResponse) GetDeviceModels ¶
func (m *GetDeviceModelsResponse) GetDeviceModels() []*DeviceModel
func (*GetDeviceModelsResponse) ProtoMessage ¶
func (*GetDeviceModelsResponse) ProtoMessage()
func (*GetDeviceModelsResponse) Reset ¶
func (m *GetDeviceModelsResponse) Reset()
func (*GetDeviceModelsResponse) String ¶
func (m *GetDeviceModelsResponse) String() string
func (*GetDeviceModelsResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceModelsResponse) XXX_DiscardUnknown()
func (*GetDeviceModelsResponse) XXX_Marshal ¶
func (m *GetDeviceModelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceModelsResponse) XXX_Merge ¶
func (dst *GetDeviceModelsResponse) XXX_Merge(src proto.Message)
func (*GetDeviceModelsResponse) XXX_Size ¶
func (m *GetDeviceModelsResponse) XXX_Size() int
func (*GetDeviceModelsResponse) XXX_Unmarshal ¶
func (m *GetDeviceModelsResponse) XXX_Unmarshal(b []byte) error
type GetDeviceRequest ¶
type GetDeviceRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceRequest) Descriptor ¶
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
func (*GetDeviceRequest) GetDeviceID ¶
func (m *GetDeviceRequest) GetDeviceID() string
func (*GetDeviceRequest) GetUserID ¶
func (m *GetDeviceRequest) GetUserID() string
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) Reset ¶
func (m *GetDeviceRequest) Reset()
func (*GetDeviceRequest) String ¶
func (m *GetDeviceRequest) String() string
func (*GetDeviceRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceRequest) XXX_DiscardUnknown()
func (*GetDeviceRequest) XXX_Marshal ¶
func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceRequest) XXX_Merge ¶
func (dst *GetDeviceRequest) XXX_Merge(src proto.Message)
func (*GetDeviceRequest) XXX_Size ¶
func (m *GetDeviceRequest) XXX_Size() int
func (*GetDeviceRequest) XXX_Unmarshal ¶
func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error
type GetDeviceResponse ¶
type GetDeviceResponse struct { Device *Device `protobuf:"bytes,1,opt,name=device" json:"device,omitempty", bson:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceResponse) Descriptor ¶
func (*GetDeviceResponse) Descriptor() ([]byte, []int)
func (*GetDeviceResponse) GetDevice ¶
func (m *GetDeviceResponse) GetDevice() *Device
func (*GetDeviceResponse) ProtoMessage ¶
func (*GetDeviceResponse) ProtoMessage()
func (*GetDeviceResponse) Reset ¶
func (m *GetDeviceResponse) Reset()
func (*GetDeviceResponse) String ¶
func (m *GetDeviceResponse) String() string
func (*GetDeviceResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceResponse) XXX_DiscardUnknown()
func (*GetDeviceResponse) XXX_Marshal ¶
func (m *GetDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceResponse) XXX_Merge ¶
func (dst *GetDeviceResponse) XXX_Merge(src proto.Message)
func (*GetDeviceResponse) XXX_Size ¶
func (m *GetDeviceResponse) XXX_Size() int
func (*GetDeviceResponse) XXX_Unmarshal ¶
func (m *GetDeviceResponse) XXX_Unmarshal(b []byte) error
type GetDevicesRequest ¶
type GetDevicesRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceIDs []string `protobuf:"bytes,2,rep,name=deviceIDs" json:"deviceIDs,omitempty", bson:"deviceIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDevicesRequest) Descriptor ¶
func (*GetDevicesRequest) Descriptor() ([]byte, []int)
func (*GetDevicesRequest) GetDeviceIDs ¶
func (m *GetDevicesRequest) GetDeviceIDs() []string
func (*GetDevicesRequest) GetUserID ¶
func (m *GetDevicesRequest) GetUserID() string
func (*GetDevicesRequest) ProtoMessage ¶
func (*GetDevicesRequest) ProtoMessage()
func (*GetDevicesRequest) Reset ¶
func (m *GetDevicesRequest) Reset()
func (*GetDevicesRequest) String ¶
func (m *GetDevicesRequest) String() string
func (*GetDevicesRequest) XXX_DiscardUnknown ¶
func (m *GetDevicesRequest) XXX_DiscardUnknown()
func (*GetDevicesRequest) XXX_Marshal ¶
func (m *GetDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDevicesRequest) XXX_Merge ¶
func (dst *GetDevicesRequest) XXX_Merge(src proto.Message)
func (*GetDevicesRequest) XXX_Size ¶
func (m *GetDevicesRequest) XXX_Size() int
func (*GetDevicesRequest) XXX_Unmarshal ¶
func (m *GetDevicesRequest) XXX_Unmarshal(b []byte) error
type GetDevicesResponse ¶
type GetDevicesResponse struct { Devices []*Device `protobuf:"bytes,1,rep,name=devices" json:"devices,omitempty", bson:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDevicesResponse) Descriptor ¶
func (*GetDevicesResponse) Descriptor() ([]byte, []int)
func (*GetDevicesResponse) GetDevices ¶
func (m *GetDevicesResponse) GetDevices() []*Device
func (*GetDevicesResponse) ProtoMessage ¶
func (*GetDevicesResponse) ProtoMessage()
func (*GetDevicesResponse) Reset ¶
func (m *GetDevicesResponse) Reset()
func (*GetDevicesResponse) String ¶
func (m *GetDevicesResponse) String() string
func (*GetDevicesResponse) XXX_DiscardUnknown ¶
func (m *GetDevicesResponse) XXX_DiscardUnknown()
func (*GetDevicesResponse) XXX_Marshal ¶
func (m *GetDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDevicesResponse) XXX_Merge ¶
func (dst *GetDevicesResponse) XXX_Merge(src proto.Message)
func (*GetDevicesResponse) XXX_Size ¶
func (m *GetDevicesResponse) XXX_Size() int
func (*GetDevicesResponse) XXX_Unmarshal ¶
func (m *GetDevicesResponse) XXX_Unmarshal(b []byte) error
type PostDeviceMessageRequest ¶
type PostDeviceMessageRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` DeviceMessage *DeviceMessage `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostDeviceMessageRequest) Descriptor ¶
func (*PostDeviceMessageRequest) Descriptor() ([]byte, []int)
func (*PostDeviceMessageRequest) GetDeviceID ¶
func (m *PostDeviceMessageRequest) GetDeviceID() string
func (*PostDeviceMessageRequest) GetDeviceMessage ¶
func (m *PostDeviceMessageRequest) GetDeviceMessage() *DeviceMessage
func (*PostDeviceMessageRequest) GetUserID ¶
func (m *PostDeviceMessageRequest) GetUserID() string
func (*PostDeviceMessageRequest) ProtoMessage ¶
func (*PostDeviceMessageRequest) ProtoMessage()
func (*PostDeviceMessageRequest) Reset ¶
func (m *PostDeviceMessageRequest) Reset()
func (*PostDeviceMessageRequest) String ¶
func (m *PostDeviceMessageRequest) String() string
func (*PostDeviceMessageRequest) XXX_DiscardUnknown ¶
func (m *PostDeviceMessageRequest) XXX_DiscardUnknown()
func (*PostDeviceMessageRequest) XXX_Marshal ¶
func (m *PostDeviceMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostDeviceMessageRequest) XXX_Merge ¶
func (dst *PostDeviceMessageRequest) XXX_Merge(src proto.Message)
func (*PostDeviceMessageRequest) XXX_Size ¶
func (m *PostDeviceMessageRequest) XXX_Size() int
func (*PostDeviceMessageRequest) XXX_Unmarshal ¶
func (m *PostDeviceMessageRequest) XXX_Unmarshal(b []byte) error
type PostDeviceMessageResponse ¶
type PostDeviceMessageResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PostDeviceMessageResponse) Descriptor ¶
func (*PostDeviceMessageResponse) Descriptor() ([]byte, []int)
func (*PostDeviceMessageResponse) ProtoMessage ¶
func (*PostDeviceMessageResponse) ProtoMessage()
func (*PostDeviceMessageResponse) Reset ¶
func (m *PostDeviceMessageResponse) Reset()
func (*PostDeviceMessageResponse) String ¶
func (m *PostDeviceMessageResponse) String() string
func (*PostDeviceMessageResponse) XXX_DiscardUnknown ¶
func (m *PostDeviceMessageResponse) XXX_DiscardUnknown()
func (*PostDeviceMessageResponse) XXX_Marshal ¶
func (m *PostDeviceMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostDeviceMessageResponse) XXX_Merge ¶
func (dst *PostDeviceMessageResponse) XXX_Merge(src proto.Message)
func (*PostDeviceMessageResponse) XXX_Size ¶
func (m *PostDeviceMessageResponse) XXX_Size() int
func (*PostDeviceMessageResponse) XXX_Unmarshal ¶
func (m *PostDeviceMessageResponse) XXX_Unmarshal(b []byte) error
type SetDeviceStatusRequest ¶
type SetDeviceStatusRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceID string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty", bson:"deviceID,omitempty"` Status string `protobuf:"bytes,3,opt,name=status" json:"status,omitempty", bson:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetDeviceStatusRequest) Descriptor ¶
func (*SetDeviceStatusRequest) Descriptor() ([]byte, []int)
func (*SetDeviceStatusRequest) GetDeviceID ¶
func (m *SetDeviceStatusRequest) GetDeviceID() string
func (*SetDeviceStatusRequest) GetStatus ¶
func (m *SetDeviceStatusRequest) GetStatus() string
func (*SetDeviceStatusRequest) GetUserID ¶
func (m *SetDeviceStatusRequest) GetUserID() string
func (*SetDeviceStatusRequest) ProtoMessage ¶
func (*SetDeviceStatusRequest) ProtoMessage()
func (*SetDeviceStatusRequest) Reset ¶
func (m *SetDeviceStatusRequest) Reset()
func (*SetDeviceStatusRequest) String ¶
func (m *SetDeviceStatusRequest) String() string
func (*SetDeviceStatusRequest) XXX_DiscardUnknown ¶
func (m *SetDeviceStatusRequest) XXX_DiscardUnknown()
func (*SetDeviceStatusRequest) XXX_Marshal ¶
func (m *SetDeviceStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetDeviceStatusRequest) XXX_Merge ¶
func (dst *SetDeviceStatusRequest) XXX_Merge(src proto.Message)
func (*SetDeviceStatusRequest) XXX_Size ¶
func (m *SetDeviceStatusRequest) XXX_Size() int
func (*SetDeviceStatusRequest) XXX_Unmarshal ¶
func (m *SetDeviceStatusRequest) XXX_Unmarshal(b []byte) error
type SetDeviceStatusResponse ¶
type SetDeviceStatusResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetDeviceStatusResponse) Descriptor ¶
func (*SetDeviceStatusResponse) Descriptor() ([]byte, []int)
func (*SetDeviceStatusResponse) ProtoMessage ¶
func (*SetDeviceStatusResponse) ProtoMessage()
func (*SetDeviceStatusResponse) Reset ¶
func (m *SetDeviceStatusResponse) Reset()
func (*SetDeviceStatusResponse) String ¶
func (m *SetDeviceStatusResponse) String() string
func (*SetDeviceStatusResponse) XXX_DiscardUnknown ¶
func (m *SetDeviceStatusResponse) XXX_DiscardUnknown()
func (*SetDeviceStatusResponse) XXX_Marshal ¶
func (m *SetDeviceStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetDeviceStatusResponse) XXX_Merge ¶
func (dst *SetDeviceStatusResponse) XXX_Merge(src proto.Message)
func (*SetDeviceStatusResponse) XXX_Size ¶
func (m *SetDeviceStatusResponse) XXX_Size() int
func (*SetDeviceStatusResponse) XXX_Unmarshal ¶
func (m *SetDeviceStatusResponse) XXX_Unmarshal(b []byte) error
type UpdateDeviceModelRequest ¶
type UpdateDeviceModelRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` DeviceModelID string `protobuf:"bytes,2,opt,name=deviceModelID" json:"deviceModelID,omitempty", bson:"deviceModelID,omitempty"` DeviceModel *DeviceModel `protobuf:"bytes,3,opt,name=device_model,json=deviceModel" json:"device_model,omitempty", bson:"device_model,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateDeviceModelRequest) Descriptor ¶
func (*UpdateDeviceModelRequest) Descriptor() ([]byte, []int)
func (*UpdateDeviceModelRequest) GetDeviceModel ¶
func (m *UpdateDeviceModelRequest) GetDeviceModel() *DeviceModel
func (*UpdateDeviceModelRequest) GetDeviceModelID ¶
func (m *UpdateDeviceModelRequest) GetDeviceModelID() string
func (*UpdateDeviceModelRequest) GetUserID ¶
func (m *UpdateDeviceModelRequest) GetUserID() string
func (*UpdateDeviceModelRequest) ProtoMessage ¶
func (*UpdateDeviceModelRequest) ProtoMessage()
func (*UpdateDeviceModelRequest) Reset ¶
func (m *UpdateDeviceModelRequest) Reset()
func (*UpdateDeviceModelRequest) String ¶
func (m *UpdateDeviceModelRequest) String() string
func (*UpdateDeviceModelRequest) XXX_DiscardUnknown ¶
func (m *UpdateDeviceModelRequest) XXX_DiscardUnknown()
func (*UpdateDeviceModelRequest) XXX_Marshal ¶
func (m *UpdateDeviceModelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceModelRequest) XXX_Merge ¶
func (dst *UpdateDeviceModelRequest) XXX_Merge(src proto.Message)
func (*UpdateDeviceModelRequest) XXX_Size ¶
func (m *UpdateDeviceModelRequest) XXX_Size() int
func (*UpdateDeviceModelRequest) XXX_Unmarshal ¶
func (m *UpdateDeviceModelRequest) XXX_Unmarshal(b []byte) error
type UpdateDeviceModelResponse ¶
type UpdateDeviceModelResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateDeviceModelResponse) Descriptor ¶
func (*UpdateDeviceModelResponse) Descriptor() ([]byte, []int)
func (*UpdateDeviceModelResponse) ProtoMessage ¶
func (*UpdateDeviceModelResponse) ProtoMessage()
func (*UpdateDeviceModelResponse) Reset ¶
func (m *UpdateDeviceModelResponse) Reset()
func (*UpdateDeviceModelResponse) String ¶
func (m *UpdateDeviceModelResponse) String() string
func (*UpdateDeviceModelResponse) XXX_DiscardUnknown ¶
func (m *UpdateDeviceModelResponse) XXX_DiscardUnknown()
func (*UpdateDeviceModelResponse) XXX_Marshal ¶
func (m *UpdateDeviceModelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceModelResponse) XXX_Merge ¶
func (dst *UpdateDeviceModelResponse) XXX_Merge(src proto.Message)
func (*UpdateDeviceModelResponse) XXX_Size ¶
func (m *UpdateDeviceModelResponse) XXX_Size() int
func (*UpdateDeviceModelResponse) XXX_Unmarshal ¶
func (m *UpdateDeviceModelResponse) XXX_Unmarshal(b []byte) error
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty", bson:"userID,omitempty"` Device *Device `protobuf:"bytes,2,opt,name=device" json:"device,omitempty", bson:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateDeviceRequest) Descriptor ¶
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
func (*UpdateDeviceRequest) GetDevice ¶
func (m *UpdateDeviceRequest) GetDevice() *Device
func (*UpdateDeviceRequest) GetUserID ¶
func (m *UpdateDeviceRequest) GetUserID() string
func (*UpdateDeviceRequest) ProtoMessage ¶
func (*UpdateDeviceRequest) ProtoMessage()
func (*UpdateDeviceRequest) Reset ¶
func (m *UpdateDeviceRequest) Reset()
func (*UpdateDeviceRequest) String ¶
func (m *UpdateDeviceRequest) String() string
func (*UpdateDeviceRequest) XXX_DiscardUnknown ¶
func (m *UpdateDeviceRequest) XXX_DiscardUnknown()
func (*UpdateDeviceRequest) XXX_Marshal ¶
func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceRequest) XXX_Merge ¶
func (dst *UpdateDeviceRequest) XXX_Merge(src proto.Message)
func (*UpdateDeviceRequest) XXX_Size ¶
func (m *UpdateDeviceRequest) XXX_Size() int
func (*UpdateDeviceRequest) XXX_Unmarshal ¶
func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error
type UpdateDeviceResponse ¶
type UpdateDeviceResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateDeviceResponse) Descriptor ¶
func (*UpdateDeviceResponse) Descriptor() ([]byte, []int)
func (*UpdateDeviceResponse) ProtoMessage ¶
func (*UpdateDeviceResponse) ProtoMessage()
func (*UpdateDeviceResponse) Reset ¶
func (m *UpdateDeviceResponse) Reset()
func (*UpdateDeviceResponse) String ¶
func (m *UpdateDeviceResponse) String() string
func (*UpdateDeviceResponse) XXX_DiscardUnknown ¶
func (m *UpdateDeviceResponse) XXX_DiscardUnknown()
func (*UpdateDeviceResponse) XXX_Marshal ¶
func (m *UpdateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceResponse) XXX_Merge ¶
func (dst *UpdateDeviceResponse) XXX_Merge(src proto.Message)
func (*UpdateDeviceResponse) XXX_Size ¶
func (m *UpdateDeviceResponse) XXX_Size() int
func (*UpdateDeviceResponse) XXX_Unmarshal ¶
func (m *UpdateDeviceResponse) XXX_Unmarshal(b []byte) error