model

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MetricsData_Level_name = map[int32]string{
		0:  "DEBUG_LEVEL",
		5:  "INFO_LEVEL",
		10: "CRITICAL_LEVEL",
	}
	MetricsData_Level_value = map[string]int32{
		"DEBUG_LEVEL":    0,
		"INFO_LEVEL":     5,
		"CRITICAL_LEVEL": 10,
	}
)

Enum value maps for MetricsData_Level.

View Source
var (
	LogData_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "PRINT",
		2: "PROCESS_START",
		3: "PROCESS_STOP",
		4: "STACK_TRACE",
		5: "BOOT",
		6: "SHUTDOWN",
	}
	LogData_Type_value = map[string]int32{
		"UNKNOWN":       0,
		"PRINT":         1,
		"PROCESS_START": 2,
		"PROCESS_STOP":  3,
		"STACK_TRACE":   4,
		"BOOT":          5,
		"SHUTDOWN":      6,
	}
)

Enum value maps for LogData_Type.

View Source
var (
	LogData_Level_name = map[int32]string{
		0: "PRINT_LEVEL",
		1: "DEBUG_LEVEL",
		2: "INFO_LEVEL",
		3: "WARN_LEVEL",
		4: "ERROR_LEVEL",
		5: "FATAL_LEVEL",
	}
	LogData_Level_value = map[string]int32{
		"PRINT_LEVEL": 0,
		"DEBUG_LEVEL": 1,
		"INFO_LEVEL":  2,
		"WARN_LEVEL":  3,
		"ERROR_LEVEL": 4,
		"FATAL_LEVEL": 5,
	}
)

Enum value maps for LogData_Level.

View Source
var (
	DeviceConnectionType_name = map[int32]string{
		0: "DEVICE_CONNECTION_TYPE_UNKNOWN",
		1: "DEVICE_CONNECTION_TYPE_WIFI",
		2: "DEVICE_CONNECTION_TYPE_NBIOT",
		3: "DEVICE_CONNECTION_TYPE_OS",
		4: "DEVICE_CONNECTION_TYPE_ETHERNET",
	}
	DeviceConnectionType_value = map[string]int32{
		"DEVICE_CONNECTION_TYPE_UNKNOWN":  0,
		"DEVICE_CONNECTION_TYPE_WIFI":     1,
		"DEVICE_CONNECTION_TYPE_NBIOT":    2,
		"DEVICE_CONNECTION_TYPE_OS":       3,
		"DEVICE_CONNECTION_TYPE_ETHERNET": 4,
	}
)

Enum value maps for DeviceConnectionType.

View Source
var (
	DeviceChangeType_name = map[int32]string{
		0: "DEVICE_CHANGE_UNKNOWN",
		1: "DEVICE_CHANGE_ADDED",
		2: "DEVICE_CHANGE_DELETED",
		3: "DEVICE_CHANGE_CHANGED",
		4: "DEVICE_CHANGE_HEARTBEAT",
		5: "DEVICE_CHANGE_CONNECTED",
		6: "DEVICE_CHANGE_DISCONNECTED",
	}
	DeviceChangeType_value = map[string]int32{
		"DEVICE_CHANGE_UNKNOWN":      0,
		"DEVICE_CHANGE_ADDED":        1,
		"DEVICE_CHANGE_DELETED":      2,
		"DEVICE_CHANGE_CHANGED":      3,
		"DEVICE_CHANGE_HEARTBEAT":    4,
		"DEVICE_CHANGE_CONNECTED":    5,
		"DEVICE_CHANGE_DISCONNECTED": 6,
	}
)

Enum value maps for DeviceChangeType.

View Source
var (
	DeviceSessionChangeType_name = map[int32]string{
		0: "UNKNOWN_TYPE",
		1: "CONNECTED",
		2: "DISCONNECTED",
	}
	DeviceSessionChangeType_value = map[string]int32{
		"UNKNOWN_TYPE": 0,
		"CONNECTED":    1,
		"DISCONNECTED": 2,
	}
)

Enum value maps for DeviceSessionChangeType.

View Source
var (
	DeviceAction_name = map[int32]string{
		0:  "DEVICE_ACTION_UNKNOWN",
		1:  "DEVICE_ACTION_NOP",
		2:  "DEVICE_ACTION_REBOOT",
		3:  "DEVICE_ACTION_NEW_EPOCH",
		4:  "DEVICE_ACTION_REPORT_CONFIG",
		5:  "DEVICE_ACTION_FACTORY_PROMOTE",
		6:  "DEVICE_ACTION_UPDATE_CONFIG",
		7:  "DEVICE_ACTION_UPDATE_FIRMWARE",
		8:  "DEVICE_ACTION_FACTORY_RESET",
		9:  "DEVICE_ACTION_RECONCILE",
		10: "DEVICE_ACTION_UPDATE_PARTIAL_FIRMWARE",
		11: "DEVICE_ACTION_REPORT_MODULES",
		12: "DEVICE_ACTION_UPDATE_MODULE_CELLULAR",
	}
	DeviceAction_value = map[string]int32{
		"DEVICE_ACTION_UNKNOWN":                 0,
		"DEVICE_ACTION_NOP":                     1,
		"DEVICE_ACTION_REBOOT":                  2,
		"DEVICE_ACTION_NEW_EPOCH":               3,
		"DEVICE_ACTION_REPORT_CONFIG":           4,
		"DEVICE_ACTION_FACTORY_PROMOTE":         5,
		"DEVICE_ACTION_UPDATE_CONFIG":           6,
		"DEVICE_ACTION_UPDATE_FIRMWARE":         7,
		"DEVICE_ACTION_FACTORY_RESET":           8,
		"DEVICE_ACTION_RECONCILE":               9,
		"DEVICE_ACTION_UPDATE_PARTIAL_FIRMWARE": 10,
		"DEVICE_ACTION_REPORT_MODULES":          11,
		"DEVICE_ACTION_UPDATE_MODULE_CELLULAR":  12,
	}
)

Enum value maps for DeviceAction.

View Source
var (
	DeviceModuleType_name = map[int32]string{
		0: "Unknown",
		1: "Cellular",
	}
	DeviceModuleType_value = map[string]int32{
		"Unknown":  0,
		"Cellular": 1,
	}
)

Enum value maps for DeviceModuleType.

View Source
var (
	CellularSetting_Rat_name = map[int32]string{
		0: "RAT_UNKNOWN",
		1: "RAT_LTE_M",
		2: "RAT_NB_IOT",
		3: "RAT_GSM",
	}
	CellularSetting_Rat_value = map[string]int32{
		"RAT_UNKNOWN": 0,
		"RAT_LTE_M":   1,
		"RAT_NB_IOT":  2,
		"RAT_GSM":     3,
	}
)

Enum value maps for CellularSetting_Rat.

View Source
var (
	DeviceEvent_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "CONFIG_CHANGE",
		2: "STATUS_CHANGE",
		3: "NEXT_ACTION",
		4: "DEVICE_ACTION",
		5: "QUEUE_OVERFLOW",
		6: "REQUEST_FILE",
	}
	DeviceEvent_Type_value = map[string]int32{
		"UNKNOWN":        0,
		"CONFIG_CHANGE":  1,
		"STATUS_CHANGE":  2,
		"NEXT_ACTION":    3,
		"DEVICE_ACTION":  4,
		"QUEUE_OVERFLOW": 5,
		"REQUEST_FILE":   6,
	}
)

Enum value maps for DeviceEvent_Type.

View Source
var (
	DeviceEvent_Info_Value_Primitive_Type_name = map[int32]string{
		0: "INVALID",
		1: "JSON",
		2: "STRING",
	}
	DeviceEvent_Info_Value_Primitive_Type_value = map[string]int32{
		"INVALID": 0,
		"JSON":    1,
		"STRING":  2,
	}
)

Enum value maps for DeviceEvent_Info_Value_Primitive_Type.

View Source
var (
	JobGoalState_name = map[int32]string{
		0: "JOB_GOAL_STATE_UNKNOWN",
		1: "JOB_GOAL_STATE_INSTALL",
		2: "JOB_GOAL_STATE_UNINSTALL",
	}
	JobGoalState_value = map[string]int32{
		"JOB_GOAL_STATE_UNKNOWN":   0,
		"JOB_GOAL_STATE_INSTALL":   1,
		"JOB_GOAL_STATE_UNINSTALL": 2,
	}
)

Enum value maps for JobGoalState.

View Source
var (
	JobFileType_name = map[int32]string{
		0: "JOB_FILE_TYPE_UNKNOWN",
		1: "JOB_FILE_TYPE_SYSTEM",
	}
	JobFileType_value = map[string]int32{
		"JOB_FILE_TYPE_UNKNOWN": 0,
		"JOB_FILE_TYPE_SYSTEM":  1,
	}
)

Enum value maps for JobFileType.

View Source
var (
	JobState_name = map[int32]string{
		0: "JOB_STATE_UNKNOWN",
		1: "JOB_STATE_UNINSTALLED",
		2: "JOB_STATE_INSTALLING",
		3: "JOB_STATE_INSTALLED",
		4: "JOB_STATE_FAILED",
	}
	JobState_value = map[string]int32{
		"JOB_STATE_UNKNOWN":     0,
		"JOB_STATE_UNINSTALLED": 1,
		"JOB_STATE_INSTALLING":  2,
		"JOB_STATE_INSTALLED":   3,
		"JOB_STATE_FAILED":      4,
	}
)

Enum value maps for JobState.

View Source
var (
	JobChangeType_name = map[int32]string{
		0: "JOB_CHANGE_UNKNOWN",
		1: "JOB_CHANGE_ADDED",
		2: "JOB_CHANGE_DELETED",
		3: "JOB_CHANGE_CHANGED",
	}
	JobChangeType_value = map[string]int32{
		"JOB_CHANGE_UNKNOWN": 0,
		"JOB_CHANGE_ADDED":   1,
		"JOB_CHANGE_DELETED": 2,
		"JOB_CHANGE_CHANGED": 3,
	}
)

Enum value maps for JobChangeType.

View Source
var (
	GPIOTrigger_Pin_Level_name = map[int32]string{
		0: "HIGH",
		1: "LOW",
	}
	GPIOTrigger_Pin_Level_value = map[string]int32{
		"HIGH": 0,
		"LOW":  1,
	}
)

Enum value maps for GPIOTrigger_Pin_Level.

View Source
var (
	Tier_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "FREE",
		2: "PAID",
	}
	Tier_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"FREE":    1,
		"PAID":    2,
	}
)

Enum value maps for Tier_Type.

View Source
var (
	Customer_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "PERSON",
		2: "ORGANIZATION",
	}
	Customer_Type_value = map[string]int32{
		"UNKNOWN":      0,
		"PERSON":       1,
		"ORGANIZATION": 2,
	}
)

Enum value maps for Customer_Type.

View Source
var (
	ReleaseLevel_Type_name = map[int32]string{
		0:   "UNKNOWN",
		10:  "RELEASED",
		20:  "BETA",
		30:  "ALPHA",
		40:  "EDGE",
		50:  "LATEST",
		255: "ALL",
	}
	ReleaseLevel_Type_value = map[string]int32{
		"UNKNOWN":  0,
		"RELEASED": 10,
		"BETA":     20,
		"ALPHA":    30,
		"EDGE":     40,
		"LATEST":   50,
		"ALL":      255,
	}
)

Enum value maps for ReleaseLevel_Type.

View Source
var File_toit_model_app_proto protoreflect.FileDescriptor
View Source
var File_toit_model_data_proto protoreflect.FileDescriptor
View Source
var File_toit_model_device_proto protoreflect.FileDescriptor
View Source
var File_toit_model_job_proto protoreflect.FileDescriptor
View Source
var File_toit_model_organization_proto protoreflect.FileDescriptor
View Source
var File_toit_model_program_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	Id             []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrganizationId []byte                 `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name           string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKey) Descriptor deprecated

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

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetCreatedAt

func (x *APIKey) GetCreatedAt() *timestamppb.Timestamp

func (*APIKey) GetId

func (x *APIKey) GetId() []byte

func (*APIKey) GetName

func (x *APIKey) GetName() string

func (*APIKey) GetOrganizationId

func (x *APIKey) GetOrganizationId() []byte

func (*APIKey) ProtoMessage

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect

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

func (*APIKey) Reset

func (x *APIKey) Reset()

func (*APIKey) String

func (x *APIKey) String() string

type App

type App struct {
	AppId     []byte                 `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                 `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Revision  uint64                 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
	SourceId  []byte                 `protobuf:"bytes,5,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	Jobs      map[string]*JobSpec    `` /* 149-byte string literal not displayed */
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy []byte                 `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetAppId

func (x *App) GetAppId() []byte

func (*App) GetCreatedAt

func (x *App) GetCreatedAt() *timestamppb.Timestamp

func (*App) GetCreatedBy

func (x *App) GetCreatedBy() []byte

func (*App) GetJobs

func (x *App) GetJobs() map[string]*JobSpec

func (*App) GetName

func (x *App) GetName() string

func (*App) GetNamespace

func (x *App) GetNamespace() string

func (*App) GetRevision

func (x *App) GetRevision() uint64

func (*App) GetSourceId

func (x *App) GetSourceId() []byte

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type ButtonTrigger

type ButtonTrigger struct {
	Buttons []string `protobuf:"bytes,1,rep,name=buttons,proto3" json:"buttons,omitempty"`
	// contains filtered or unexported fields
}

func (*ButtonTrigger) Descriptor deprecated

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

Deprecated: Use ButtonTrigger.ProtoReflect.Descriptor instead.

func (*ButtonTrigger) GetButtons

func (x *ButtonTrigger) GetButtons() []string

func (*ButtonTrigger) ProtoMessage

func (*ButtonTrigger) ProtoMessage()

func (*ButtonTrigger) ProtoReflect

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

func (*ButtonTrigger) Reset

func (x *ButtonTrigger) Reset()

func (*ButtonTrigger) String

func (x *ButtonTrigger) String() string

type CellularSetting added in v0.12.0

type CellularSetting struct {
	Apn      string                `protobuf:"bytes,1,opt,name=apn,proto3" json:"apn,omitempty"`
	Bands    []int64               `protobuf:"varint,2,rep,packed,name=bands,proto3" json:"bands,omitempty"`
	Operator string                `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	Pin      string                `protobuf:"bytes,4,opt,name=pin,proto3" json:"pin,omitempty"`
	Rats     []CellularSetting_Rat `protobuf:"varint,5,rep,packed,name=rats,proto3,enum=toit.model.CellularSetting_Rat" json:"rats,omitempty"`
	// contains filtered or unexported fields
}

func (*CellularSetting) Descriptor deprecated added in v0.12.0

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

Deprecated: Use CellularSetting.ProtoReflect.Descriptor instead.

func (*CellularSetting) GetApn added in v0.12.0

func (x *CellularSetting) GetApn() string

func (*CellularSetting) GetBands added in v0.12.0

func (x *CellularSetting) GetBands() []int64

func (*CellularSetting) GetOperator added in v0.12.0

func (x *CellularSetting) GetOperator() string

func (*CellularSetting) GetPin added in v0.12.0

func (x *CellularSetting) GetPin() string

func (*CellularSetting) GetRats added in v0.12.0

func (x *CellularSetting) GetRats() []CellularSetting_Rat

func (*CellularSetting) ProtoMessage added in v0.12.0

func (*CellularSetting) ProtoMessage()

func (*CellularSetting) ProtoReflect added in v0.12.0

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

func (*CellularSetting) Reset added in v0.12.0

func (x *CellularSetting) Reset()

func (*CellularSetting) String added in v0.12.0

func (x *CellularSetting) String() string

type CellularSetting_Rat added in v0.12.0

type CellularSetting_Rat int32
const (
	CellularSetting_RAT_UNKNOWN CellularSetting_Rat = 0
	CellularSetting_RAT_LTE_M   CellularSetting_Rat = 1
	CellularSetting_RAT_NB_IOT  CellularSetting_Rat = 2
	CellularSetting_RAT_GSM     CellularSetting_Rat = 3
)

func (CellularSetting_Rat) Descriptor added in v0.12.0

func (CellularSetting_Rat) Enum added in v0.12.0

func (CellularSetting_Rat) EnumDescriptor deprecated added in v0.12.0

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

Deprecated: Use CellularSetting_Rat.Descriptor instead.

func (CellularSetting_Rat) Number added in v0.12.0

func (CellularSetting_Rat) String added in v0.12.0

func (x CellularSetting_Rat) String() string

func (CellularSetting_Rat) Type added in v0.12.0

type Compilation

type Compilation struct {
	Id             []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Sdk            string                 `protobuf:"bytes,2,opt,name=sdk,proto3" json:"sdk,omitempty"`
	Arguments      []string               `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
	ProgramId      []byte                 `protobuf:"bytes,4,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"`
	Program        *Program               `protobuf:"bytes,5,opt,name=program,proto3" json:"program,omitempty"`
	Result         *CompilationResult     `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	OrganizationId []byte                 `protobuf:"bytes,8,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	CreatorId      []byte                 `protobuf:"bytes,9,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Compilation) Descriptor deprecated

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

Deprecated: Use Compilation.ProtoReflect.Descriptor instead.

func (*Compilation) GetArguments

func (x *Compilation) GetArguments() []string

func (*Compilation) GetCreatedAt

func (x *Compilation) GetCreatedAt() *timestamppb.Timestamp

func (*Compilation) GetCreatorId

func (x *Compilation) GetCreatorId() []byte

func (*Compilation) GetId

func (x *Compilation) GetId() []byte

func (*Compilation) GetOrganizationId

func (x *Compilation) GetOrganizationId() []byte

func (*Compilation) GetProgram

func (x *Compilation) GetProgram() *Program

func (*Compilation) GetProgramId

func (x *Compilation) GetProgramId() []byte

func (*Compilation) GetResult

func (x *Compilation) GetResult() *CompilationResult

func (*Compilation) GetSdk

func (x *Compilation) GetSdk() string

func (*Compilation) ProtoMessage

func (*Compilation) ProtoMessage()

func (*Compilation) ProtoReflect

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

func (*Compilation) Reset

func (x *Compilation) Reset()

func (*Compilation) String

func (x *Compilation) String() string

type CompilationInfo

type CompilationInfo struct {
	ProgramId []byte `protobuf:"bytes,1,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"`
	Sdk       string `protobuf:"bytes,2,opt,name=sdk,proto3" json:"sdk,omitempty"`
	CreatorId []byte `protobuf:"bytes,3,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompilationInfo) Descriptor deprecated

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

Deprecated: Use CompilationInfo.ProtoReflect.Descriptor instead.

func (*CompilationInfo) GetCreatorId

func (x *CompilationInfo) GetCreatorId() []byte

func (*CompilationInfo) GetProgramId

func (x *CompilationInfo) GetProgramId() []byte

func (*CompilationInfo) GetSdk

func (x *CompilationInfo) GetSdk() string

func (*CompilationInfo) ProtoMessage

func (*CompilationInfo) ProtoMessage()

func (*CompilationInfo) ProtoReflect

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

func (*CompilationInfo) Reset

func (x *CompilationInfo) Reset()

func (*CompilationInfo) String

func (x *CompilationInfo) String() string

type CompilationResult

type CompilationResult struct {
	Error            string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	SnapshotOut      []byte `protobuf:"bytes,2,opt,name=snapshot_out,json=snapshotOut,proto3" json:"snapshot_out,omitempty"`
	SnapshotErr      []byte `protobuf:"bytes,3,opt,name=snapshot_err,json=snapshotErr,proto3" json:"snapshot_err,omitempty"`
	SnapshotExitcode int32  `protobuf:"varint,4,opt,name=snapshot_exitcode,json=snapshotExitcode,proto3" json:"snapshot_exitcode,omitempty"`
	ImageOut         []byte `protobuf:"bytes,5,opt,name=image_out,json=imageOut,proto3" json:"image_out,omitempty"`
	ImageErr         []byte `protobuf:"bytes,6,opt,name=image_err,json=imageErr,proto3" json:"image_err,omitempty"`
	ImageExitcode    int32  `protobuf:"varint,7,opt,name=image_exitcode,json=imageExitcode,proto3" json:"image_exitcode,omitempty"`
	// contains filtered or unexported fields
}

func (*CompilationResult) Descriptor deprecated

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

Deprecated: Use CompilationResult.ProtoReflect.Descriptor instead.

func (*CompilationResult) GetError

func (x *CompilationResult) GetError() string

func (*CompilationResult) GetImageErr

func (x *CompilationResult) GetImageErr() []byte

func (*CompilationResult) GetImageExitcode

func (x *CompilationResult) GetImageExitcode() int32

func (*CompilationResult) GetImageOut

func (x *CompilationResult) GetImageOut() []byte

func (*CompilationResult) GetSnapshotErr

func (x *CompilationResult) GetSnapshotErr() []byte

func (*CompilationResult) GetSnapshotExitcode

func (x *CompilationResult) GetSnapshotExitcode() int32

func (*CompilationResult) GetSnapshotOut

func (x *CompilationResult) GetSnapshotOut() []byte

func (*CompilationResult) ProtoMessage

func (*CompilationResult) ProtoMessage()

func (*CompilationResult) ProtoReflect

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

func (*CompilationResult) Reset

func (x *CompilationResult) Reset()

func (*CompilationResult) String

func (x *CompilationResult) String() string

type ConnectionSetting

type ConnectionSetting struct {

	// This is essentially a one-of but that is not supported when using ubjson
	// encoding as done between the device and the console.
	Wifi     *WifiSetting     `protobuf:"bytes,1,opt,name=wifi,proto3" json:"wifi,omitempty"`
	Nbiot    *CellularSetting `protobuf:"bytes,2,opt,name=nbiot,proto3" json:"nbiot,omitempty"`
	Ethernet *EthernetSetting `protobuf:"bytes,3,opt,name=ethernet,proto3" json:"ethernet,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionSetting) Descriptor deprecated

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

Deprecated: Use ConnectionSetting.ProtoReflect.Descriptor instead.

func (*ConnectionSetting) GetEthernet added in v0.12.0

func (x *ConnectionSetting) GetEthernet() *EthernetSetting

func (*ConnectionSetting) GetNbiot

func (x *ConnectionSetting) GetNbiot() *CellularSetting

func (*ConnectionSetting) GetWifi

func (x *ConnectionSetting) GetWifi() *WifiSetting

func (*ConnectionSetting) ProtoMessage

func (*ConnectionSetting) ProtoMessage()

func (*ConnectionSetting) ProtoReflect

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

func (*ConnectionSetting) Reset

func (x *ConnectionSetting) Reset()

func (*ConnectionSetting) String

func (x *ConnectionSetting) String() string

type CounterMetricData

type CounterMetricData struct {

	// name_index references the name in the names list in MetricsData.
	NameIndex uint32 `protobuf:"varint,1,opt,name=name_index,json=nameIndex,proto3" json:"name_index,omitempty"`
	Count     int64  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// Deprecated: Do not use.
	Mean float64 `protobuf:"fixed64,3,opt,name=mean,proto3" json:"mean,omitempty"`
	// Deprecated: Do not use.
	Stdev float64           `protobuf:"fixed64,4,opt,name=stdev,proto3" json:"stdev,omitempty"`
	Tags  map[uint32]uint32 `` /* 151-byte string literal not displayed */
	Level MetricsData_Level `protobuf:"varint,6,opt,name=level,proto3,enum=toit.model.MetricsData_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*CounterMetricData) Descriptor deprecated

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

Deprecated: Use CounterMetricData.ProtoReflect.Descriptor instead.

func (*CounterMetricData) GetCount

func (x *CounterMetricData) GetCount() int64

func (*CounterMetricData) GetLevel

func (x *CounterMetricData) GetLevel() MetricsData_Level

func (*CounterMetricData) GetMean deprecated

func (x *CounterMetricData) GetMean() float64

Deprecated: Do not use.

func (*CounterMetricData) GetNameIndex

func (x *CounterMetricData) GetNameIndex() uint32

func (*CounterMetricData) GetStdev deprecated

func (x *CounterMetricData) GetStdev() float64

Deprecated: Do not use.

func (*CounterMetricData) GetTags

func (x *CounterMetricData) GetTags() map[uint32]uint32

func (*CounterMetricData) ProtoMessage

func (*CounterMetricData) ProtoMessage()

func (*CounterMetricData) ProtoReflect

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

func (*CounterMetricData) Reset

func (x *CounterMetricData) Reset()

func (*CounterMetricData) String

func (x *CounterMetricData) String() string

type CronSchedule

type CronSchedule struct {
	Second     int64                  `protobuf:"fixed64,1,opt,name=second,proto3" json:"second,omitempty"`
	Minute     int64                  `protobuf:"fixed64,2,opt,name=minute,proto3" json:"minute,omitempty"`
	Hour       int64                  `protobuf:"fixed64,3,opt,name=hour,proto3" json:"hour,omitempty"`
	DayOfMonth int64                  `protobuf:"fixed64,4,opt,name=day_of_month,json=dayOfMonth,proto3" json:"day_of_month,omitempty"`
	Month      int64                  `protobuf:"fixed64,5,opt,name=month,proto3" json:"month,omitempty"`
	DayOfWeek  int64                  `protobuf:"fixed64,6,opt,name=day_of_week,json=dayOfWeek,proto3" json:"day_of_week,omitempty"`
	ValidFrom  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"`
	ValidTo    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=valid_to,json=validTo,proto3" json:"valid_to,omitempty"`
	// contains filtered or unexported fields
}

func (*CronSchedule) Descriptor deprecated

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

Deprecated: Use CronSchedule.ProtoReflect.Descriptor instead.

func (*CronSchedule) GetDayOfMonth

func (x *CronSchedule) GetDayOfMonth() int64

func (*CronSchedule) GetDayOfWeek

func (x *CronSchedule) GetDayOfWeek() int64

func (*CronSchedule) GetHour

func (x *CronSchedule) GetHour() int64

func (*CronSchedule) GetMinute

func (x *CronSchedule) GetMinute() int64

func (*CronSchedule) GetMonth

func (x *CronSchedule) GetMonth() int64

func (*CronSchedule) GetSecond

func (x *CronSchedule) GetSecond() int64

func (*CronSchedule) GetValidFrom

func (x *CronSchedule) GetValidFrom() *timestamppb.Timestamp

func (*CronSchedule) GetValidTo

func (x *CronSchedule) GetValidTo() *timestamppb.Timestamp

func (*CronSchedule) ProtoMessage

func (*CronSchedule) ProtoMessage()

func (*CronSchedule) ProtoReflect

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

func (*CronSchedule) Reset

func (x *CronSchedule) Reset()

func (*CronSchedule) String

func (x *CronSchedule) String() string

type CronSpec

type CronSpec struct {
	CronString string          `protobuf:"bytes,1,opt,name=cron_string,json=cronString,proto3" json:"cron_string,omitempty"`
	Schedules  []*CronSchedule `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

func (*CronSpec) Descriptor deprecated

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

Deprecated: Use CronSpec.ProtoReflect.Descriptor instead.

func (*CronSpec) GetCronString

func (x *CronSpec) GetCronString() string

func (*CronSpec) GetSchedules

func (x *CronSpec) GetSchedules() []*CronSchedule

func (*CronSpec) ProtoMessage

func (*CronSpec) ProtoMessage()

func (*CronSpec) ProtoReflect

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

func (*CronSpec) Reset

func (x *CronSpec) Reset()

func (*CronSpec) String

func (x *CronSpec) String() string

type CronTrigger

type CronTrigger struct {
	Specs []*CronSpec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"`
	// contains filtered or unexported fields
}

func (*CronTrigger) Descriptor deprecated

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

Deprecated: Use CronTrigger.ProtoReflect.Descriptor instead.

func (*CronTrigger) GetSpecs

func (x *CronTrigger) GetSpecs() []*CronSpec

func (*CronTrigger) ProtoMessage

func (*CronTrigger) ProtoMessage()

func (*CronTrigger) ProtoReflect

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

func (*CronTrigger) Reset

func (x *CronTrigger) Reset()

func (*CronTrigger) String

func (x *CronTrigger) String() string

type Customer

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

func (*Customer) Descriptor deprecated

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

Deprecated: Use Customer.ProtoReflect.Descriptor instead.

func (*Customer) ProtoMessage

func (*Customer) ProtoMessage()

func (*Customer) ProtoReflect

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

func (*Customer) Reset

func (x *Customer) Reset()

func (*Customer) String

func (x *Customer) String() string

type Customer_Type

type Customer_Type int32
const (
	Customer_UNKNOWN      Customer_Type = 0
	Customer_PERSON       Customer_Type = 1
	Customer_ORGANIZATION Customer_Type = 2
)

func (Customer_Type) Descriptor

func (Customer_Type) Enum

func (x Customer_Type) Enum() *Customer_Type

func (Customer_Type) EnumDescriptor deprecated

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

Deprecated: Use Customer_Type.Descriptor instead.

func (Customer_Type) Number

func (Customer_Type) String

func (x Customer_Type) String() string

func (Customer_Type) Type

type DeviceAction

type DeviceAction int32
const (
	DeviceAction_DEVICE_ACTION_UNKNOWN                 DeviceAction = 0
	DeviceAction_DEVICE_ACTION_NOP                     DeviceAction = 1
	DeviceAction_DEVICE_ACTION_REBOOT                  DeviceAction = 2
	DeviceAction_DEVICE_ACTION_NEW_EPOCH               DeviceAction = 3
	DeviceAction_DEVICE_ACTION_REPORT_CONFIG           DeviceAction = 4
	DeviceAction_DEVICE_ACTION_FACTORY_PROMOTE         DeviceAction = 5
	DeviceAction_DEVICE_ACTION_UPDATE_CONFIG           DeviceAction = 6
	DeviceAction_DEVICE_ACTION_UPDATE_FIRMWARE         DeviceAction = 7
	DeviceAction_DEVICE_ACTION_FACTORY_RESET           DeviceAction = 8
	DeviceAction_DEVICE_ACTION_RECONCILE               DeviceAction = 9
	DeviceAction_DEVICE_ACTION_UPDATE_PARTIAL_FIRMWARE DeviceAction = 10
	DeviceAction_DEVICE_ACTION_REPORT_MODULES          DeviceAction = 11
	DeviceAction_DEVICE_ACTION_UPDATE_MODULE_CELLULAR  DeviceAction = 12
)

func (DeviceAction) Descriptor

func (DeviceAction) Enum

func (x DeviceAction) Enum() *DeviceAction

func (DeviceAction) EnumDescriptor deprecated

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

Deprecated: Use DeviceAction.Descriptor instead.

func (DeviceAction) Number

func (DeviceAction) String

func (x DeviceAction) String() string

func (DeviceAction) Type

type DeviceBootStatus

type DeviceBootStatus struct {
	LastBoot        *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_boot,json=lastBoot,proto3" json:"last_boot,omitempty"`
	InFactory       bool                   `protobuf:"varint,2,opt,name=in_factory,json=inFactory,proto3" json:"in_factory,omitempty"`
	LastFactoryBoot *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_factory_boot,json=lastFactoryBoot,proto3" json:"last_factory_boot,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceBootStatus) Descriptor deprecated

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

Deprecated: Use DeviceBootStatus.ProtoReflect.Descriptor instead.

func (*DeviceBootStatus) GetInFactory

func (x *DeviceBootStatus) GetInFactory() bool

func (*DeviceBootStatus) GetLastBoot

func (x *DeviceBootStatus) GetLastBoot() *timestamppb.Timestamp

func (*DeviceBootStatus) GetLastFactoryBoot

func (x *DeviceBootStatus) GetLastFactoryBoot() *timestamppb.Timestamp

func (*DeviceBootStatus) ProtoMessage

func (*DeviceBootStatus) ProtoMessage()

func (*DeviceBootStatus) ProtoReflect

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

func (*DeviceBootStatus) Reset

func (x *DeviceBootStatus) Reset()

func (*DeviceBootStatus) String

func (x *DeviceBootStatus) String() string

type DeviceBrokerSettings

type DeviceBrokerSettings struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int64  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Cn   string `protobuf:"bytes,3,opt,name=cn,proto3" json:"cn,omitempty"`
	// Deprecated: Do not use.
	Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceBrokerSettings) Descriptor deprecated

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

Deprecated: Use DeviceBrokerSettings.ProtoReflect.Descriptor instead.

func (*DeviceBrokerSettings) GetCn

func (x *DeviceBrokerSettings) GetCn() string

func (*DeviceBrokerSettings) GetHost

func (x *DeviceBrokerSettings) GetHost() string

func (*DeviceBrokerSettings) GetPort

func (x *DeviceBrokerSettings) GetPort() int64

func (*DeviceBrokerSettings) GetProtocol deprecated

func (x *DeviceBrokerSettings) GetProtocol() string

Deprecated: Do not use.

func (*DeviceBrokerSettings) ProtoMessage

func (*DeviceBrokerSettings) ProtoMessage()

func (*DeviceBrokerSettings) ProtoReflect

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

func (*DeviceBrokerSettings) Reset

func (x *DeviceBrokerSettings) Reset()

func (*DeviceBrokerSettings) String

func (x *DeviceBrokerSettings) String() string

type DeviceChangeType

type DeviceChangeType int32
const (
	DeviceChangeType_DEVICE_CHANGE_UNKNOWN DeviceChangeType = 0
	DeviceChangeType_DEVICE_CHANGE_ADDED   DeviceChangeType = 1
	DeviceChangeType_DEVICE_CHANGE_DELETED DeviceChangeType = 2
	DeviceChangeType_DEVICE_CHANGE_CHANGED DeviceChangeType = 3
	// Deprecated: Do not use.
	DeviceChangeType_DEVICE_CHANGE_HEARTBEAT    DeviceChangeType = 4
	DeviceChangeType_DEVICE_CHANGE_CONNECTED    DeviceChangeType = 5
	DeviceChangeType_DEVICE_CHANGE_DISCONNECTED DeviceChangeType = 6
)

func (DeviceChangeType) Descriptor

func (DeviceChangeType) Enum

func (DeviceChangeType) EnumDescriptor deprecated

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

Deprecated: Use DeviceChangeType.Descriptor instead.

func (DeviceChangeType) Number

func (DeviceChangeType) String

func (x DeviceChangeType) String() string

func (DeviceChangeType) Type

type DeviceConfig

type DeviceConfig struct {
	Name          string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	StartedAfter  *timestamppb.Timestamp    `protobuf:"bytes,2,opt,name=started_after,json=startedAfter,proto3" json:"started_after,omitempty"`
	Sdk           string                    `protobuf:"bytes,3,opt,name=sdk,proto3" json:"sdk,omitempty"`
	Broker        *DeviceBrokerSettings     `protobuf:"bytes,4,opt,name=broker,proto3" json:"broker,omitempty"`
	Connection    *DeviceConnectionSettings `protobuf:"bytes,5,opt,name=connection,proto3" json:"connection,omitempty"`
	Model         string                    `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
	FactoryAfter  *timestamppb.Timestamp    `protobuf:"bytes,7,opt,name=factory_after,json=factoryAfter,proto3" json:"factory_after,omitempty"`
	Runtime       *DeviceRuntimeSettings    `protobuf:"bytes,8,opt,name=runtime,proto3" json:"runtime,omitempty"`
	Modules       *DeviceModulesConfig      `protobuf:"bytes,9,opt,name=modules,proto3" json:"modules,omitempty"`
	ModelSettings *DeviceModelSettings      `protobuf:"bytes,10,opt,name=model_settings,json=modelSettings,proto3" json:"model_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceConfig) Descriptor deprecated

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

Deprecated: Use DeviceConfig.ProtoReflect.Descriptor instead.

func (*DeviceConfig) GetBroker

func (x *DeviceConfig) GetBroker() *DeviceBrokerSettings

func (*DeviceConfig) GetConnection

func (x *DeviceConfig) GetConnection() *DeviceConnectionSettings

func (*DeviceConfig) GetFactoryAfter

func (x *DeviceConfig) GetFactoryAfter() *timestamppb.Timestamp

func (*DeviceConfig) GetModel

func (x *DeviceConfig) GetModel() string

func (*DeviceConfig) GetModelSettings

func (x *DeviceConfig) GetModelSettings() *DeviceModelSettings

func (*DeviceConfig) GetModules

func (x *DeviceConfig) GetModules() *DeviceModulesConfig

func (*DeviceConfig) GetName

func (x *DeviceConfig) GetName() string

func (*DeviceConfig) GetRuntime

func (x *DeviceConfig) GetRuntime() *DeviceRuntimeSettings

func (*DeviceConfig) GetSdk

func (x *DeviceConfig) GetSdk() string

func (*DeviceConfig) GetStartedAfter

func (x *DeviceConfig) GetStartedAfter() *timestamppb.Timestamp

func (*DeviceConfig) ProtoMessage

func (*DeviceConfig) ProtoMessage()

func (*DeviceConfig) ProtoReflect

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

func (*DeviceConfig) Reset

func (x *DeviceConfig) Reset()

func (*DeviceConfig) String

func (x *DeviceConfig) String() string

type DeviceConnectionSettings

type DeviceConnectionSettings struct {
	MaxOffline  *durationpb.Duration `protobuf:"bytes,1,opt,name=max_offline,json=maxOffline,proto3" json:"max_offline,omitempty"`
	Connections []*ConnectionSetting `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"`
	// Must be between 0-100
	EventQueueThreshold uint32 `protobuf:"varint,3,opt,name=event_queue_threshold,json=eventQueueThreshold,proto3" json:"event_queue_threshold,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceConnectionSettings) Descriptor deprecated

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

Deprecated: Use DeviceConnectionSettings.ProtoReflect.Descriptor instead.

func (*DeviceConnectionSettings) GetConnections

func (x *DeviceConnectionSettings) GetConnections() []*ConnectionSetting

func (*DeviceConnectionSettings) GetEventQueueThreshold

func (x *DeviceConnectionSettings) GetEventQueueThreshold() uint32

func (*DeviceConnectionSettings) GetMaxOffline

func (x *DeviceConnectionSettings) GetMaxOffline() *durationpb.Duration

func (*DeviceConnectionSettings) ProtoMessage

func (*DeviceConnectionSettings) ProtoMessage()

func (*DeviceConnectionSettings) ProtoReflect

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

func (*DeviceConnectionSettings) Reset

func (x *DeviceConnectionSettings) Reset()

func (*DeviceConnectionSettings) String

func (x *DeviceConnectionSettings) String() string

type DeviceConnectionStatus

type DeviceConnectionStatus struct {
	Index int64                `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Type  DeviceConnectionType `protobuf:"varint,2,opt,name=type,proto3,enum=toit.model.DeviceConnectionType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceConnectionStatus) Descriptor deprecated

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

Deprecated: Use DeviceConnectionStatus.ProtoReflect.Descriptor instead.

func (*DeviceConnectionStatus) GetIndex

func (x *DeviceConnectionStatus) GetIndex() int64

func (*DeviceConnectionStatus) GetType

func (*DeviceConnectionStatus) ProtoMessage

func (*DeviceConnectionStatus) ProtoMessage()

func (*DeviceConnectionStatus) ProtoReflect

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

func (*DeviceConnectionStatus) Reset

func (x *DeviceConnectionStatus) Reset()

func (*DeviceConnectionStatus) String

func (x *DeviceConnectionStatus) String() string

type DeviceConnectionType

type DeviceConnectionType int32
const (
	DeviceConnectionType_DEVICE_CONNECTION_TYPE_UNKNOWN  DeviceConnectionType = 0
	DeviceConnectionType_DEVICE_CONNECTION_TYPE_WIFI     DeviceConnectionType = 1
	DeviceConnectionType_DEVICE_CONNECTION_TYPE_NBIOT    DeviceConnectionType = 2
	DeviceConnectionType_DEVICE_CONNECTION_TYPE_OS       DeviceConnectionType = 3
	DeviceConnectionType_DEVICE_CONNECTION_TYPE_ETHERNET DeviceConnectionType = 4
)

func (DeviceConnectionType) Descriptor

func (DeviceConnectionType) Enum

func (DeviceConnectionType) EnumDescriptor deprecated

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

Deprecated: Use DeviceConnectionType.Descriptor instead.

func (DeviceConnectionType) Number

func (DeviceConnectionType) String

func (x DeviceConnectionType) String() string

func (DeviceConnectionType) Type

type DeviceEvent

type DeviceEvent struct {
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Together with the device_id, it globally identifies the event. Device
	// events can be sorted, and will always be returned in increasing order.
	EventId     []byte                 `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	Created     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Type        DeviceEvent_Type       `protobuf:"varint,4,opt,name=type,proto3,enum=toit.model.DeviceEvent_Type" json:"type,omitempty"`
	Msg         string                 `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
	Data        []byte                 `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	Initiater   *DeviceEvent_Initiater `protobuf:"bytes,7,opt,name=initiater,proto3" json:"initiater,omitempty"`
	Information []*DeviceEvent_Info    `protobuf:"bytes,8,rep,name=information,proto3" json:"information,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent) Descriptor deprecated

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

Deprecated: Use DeviceEvent.ProtoReflect.Descriptor instead.

func (*DeviceEvent) GetCreated

func (x *DeviceEvent) GetCreated() *timestamppb.Timestamp

func (*DeviceEvent) GetData

func (x *DeviceEvent) GetData() []byte

func (*DeviceEvent) GetDeviceId

func (x *DeviceEvent) GetDeviceId() []byte

func (*DeviceEvent) GetEventId

func (x *DeviceEvent) GetEventId() []byte

func (*DeviceEvent) GetInformation

func (x *DeviceEvent) GetInformation() []*DeviceEvent_Info

func (*DeviceEvent) GetInitiater

func (x *DeviceEvent) GetInitiater() *DeviceEvent_Initiater

func (*DeviceEvent) GetMsg

func (x *DeviceEvent) GetMsg() string

func (*DeviceEvent) GetType

func (x *DeviceEvent) GetType() DeviceEvent_Type

func (*DeviceEvent) ProtoMessage

func (*DeviceEvent) ProtoMessage()

func (*DeviceEvent) ProtoReflect

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

func (*DeviceEvent) Reset

func (x *DeviceEvent) Reset()

func (*DeviceEvent) String

func (x *DeviceEvent) String() string

type DeviceEvent_Info

type DeviceEvent_Info struct {
	Key   string                  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *DeviceEvent_Info_Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Info) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Info.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Info) GetKey

func (x *DeviceEvent_Info) GetKey() string

func (*DeviceEvent_Info) GetValue

func (*DeviceEvent_Info) ProtoMessage

func (*DeviceEvent_Info) ProtoMessage()

func (*DeviceEvent_Info) ProtoReflect

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

func (*DeviceEvent_Info) Reset

func (x *DeviceEvent_Info) Reset()

func (*DeviceEvent_Info) String

func (x *DeviceEvent_Info) String() string

type DeviceEvent_Info_Value

type DeviceEvent_Info_Value struct {

	// Types that are assignable to Value:
	//	*DeviceEvent_Info_Value_Primitive_
	//	*DeviceEvent_Info_Value_Diff_
	//	*DeviceEvent_Info_Value_Error_
	Value isDeviceEvent_Info_Value_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Info_Value) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Info_Value.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Info_Value) GetDiff

func (*DeviceEvent_Info_Value) GetError

func (*DeviceEvent_Info_Value) GetPrimitive

func (*DeviceEvent_Info_Value) GetValue

func (m *DeviceEvent_Info_Value) GetValue() isDeviceEvent_Info_Value_Value

func (*DeviceEvent_Info_Value) ProtoMessage

func (*DeviceEvent_Info_Value) ProtoMessage()

func (*DeviceEvent_Info_Value) ProtoReflect

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

func (*DeviceEvent_Info_Value) Reset

func (x *DeviceEvent_Info_Value) Reset()

func (*DeviceEvent_Info_Value) String

func (x *DeviceEvent_Info_Value) String() string

type DeviceEvent_Info_Value_Diff

type DeviceEvent_Info_Value_Diff struct {
	From *DeviceEvent_Info_Value_Primitive `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *DeviceEvent_Info_Value_Primitive `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Info_Value_Diff) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Info_Value_Diff.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Info_Value_Diff) GetFrom

func (*DeviceEvent_Info_Value_Diff) GetTo

func (*DeviceEvent_Info_Value_Diff) ProtoMessage

func (*DeviceEvent_Info_Value_Diff) ProtoMessage()

func (*DeviceEvent_Info_Value_Diff) ProtoReflect

func (*DeviceEvent_Info_Value_Diff) Reset

func (x *DeviceEvent_Info_Value_Diff) Reset()

func (*DeviceEvent_Info_Value_Diff) String

func (x *DeviceEvent_Info_Value_Diff) String() string

type DeviceEvent_Info_Value_Diff_

type DeviceEvent_Info_Value_Diff_ struct {
	Diff *DeviceEvent_Info_Value_Diff `protobuf:"bytes,2,opt,name=diff,proto3,oneof"`
}

type DeviceEvent_Info_Value_Error

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

func (*DeviceEvent_Info_Value_Error) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Info_Value_Error.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Info_Value_Error) GetError

func (x *DeviceEvent_Info_Value_Error) GetError() string

func (*DeviceEvent_Info_Value_Error) ProtoMessage

func (*DeviceEvent_Info_Value_Error) ProtoMessage()

func (*DeviceEvent_Info_Value_Error) ProtoReflect

func (*DeviceEvent_Info_Value_Error) Reset

func (x *DeviceEvent_Info_Value_Error) Reset()

func (*DeviceEvent_Info_Value_Error) String

type DeviceEvent_Info_Value_Error_

type DeviceEvent_Info_Value_Error_ struct {
	Error *DeviceEvent_Info_Value_Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type DeviceEvent_Info_Value_Primitive

type DeviceEvent_Info_Value_Primitive struct {
	Type  DeviceEvent_Info_Value_Primitive_Type `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.DeviceEvent_Info_Value_Primitive_Type" json:"type,omitempty"`
	Value []byte                                `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Info_Value_Primitive) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Info_Value_Primitive.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Info_Value_Primitive) GetType

func (*DeviceEvent_Info_Value_Primitive) GetValue

func (x *DeviceEvent_Info_Value_Primitive) GetValue() []byte

func (*DeviceEvent_Info_Value_Primitive) ProtoMessage

func (*DeviceEvent_Info_Value_Primitive) ProtoMessage()

func (*DeviceEvent_Info_Value_Primitive) ProtoReflect

func (*DeviceEvent_Info_Value_Primitive) Reset

func (*DeviceEvent_Info_Value_Primitive) String

type DeviceEvent_Info_Value_Primitive_

type DeviceEvent_Info_Value_Primitive_ struct {
	Primitive *DeviceEvent_Info_Value_Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}

type DeviceEvent_Info_Value_Primitive_Type

type DeviceEvent_Info_Value_Primitive_Type int32
const (
	DeviceEvent_Info_Value_Primitive_INVALID DeviceEvent_Info_Value_Primitive_Type = 0
	DeviceEvent_Info_Value_Primitive_JSON    DeviceEvent_Info_Value_Primitive_Type = 1
	DeviceEvent_Info_Value_Primitive_STRING  DeviceEvent_Info_Value_Primitive_Type = 2
)

func (DeviceEvent_Info_Value_Primitive_Type) Descriptor

func (DeviceEvent_Info_Value_Primitive_Type) Enum

func (DeviceEvent_Info_Value_Primitive_Type) EnumDescriptor deprecated

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

Deprecated: Use DeviceEvent_Info_Value_Primitive_Type.Descriptor instead.

func (DeviceEvent_Info_Value_Primitive_Type) Number

func (DeviceEvent_Info_Value_Primitive_Type) String

func (DeviceEvent_Info_Value_Primitive_Type) Type

type DeviceEvent_Initiater

type DeviceEvent_Initiater struct {

	// Types that are assignable to Initiater:
	//	*DeviceEvent_Initiater_Device_
	//	*DeviceEvent_Initiater_Console_
	//	*DeviceEvent_Initiater_User_
	Initiater isDeviceEvent_Initiater_Initiater `protobuf_oneof:"initiater"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Initiater) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Initiater.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Initiater) GetConsole

func (*DeviceEvent_Initiater) GetDevice

func (*DeviceEvent_Initiater) GetInitiater

func (m *DeviceEvent_Initiater) GetInitiater() isDeviceEvent_Initiater_Initiater

func (*DeviceEvent_Initiater) GetUser

func (*DeviceEvent_Initiater) ProtoMessage

func (*DeviceEvent_Initiater) ProtoMessage()

func (*DeviceEvent_Initiater) ProtoReflect

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

func (*DeviceEvent_Initiater) Reset

func (x *DeviceEvent_Initiater) Reset()

func (*DeviceEvent_Initiater) String

func (x *DeviceEvent_Initiater) String() string

type DeviceEvent_Initiater_Console

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

func (*DeviceEvent_Initiater_Console) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Initiater_Console.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Initiater_Console) ProtoMessage

func (*DeviceEvent_Initiater_Console) ProtoMessage()

func (*DeviceEvent_Initiater_Console) ProtoReflect

func (*DeviceEvent_Initiater_Console) Reset

func (x *DeviceEvent_Initiater_Console) Reset()

func (*DeviceEvent_Initiater_Console) String

type DeviceEvent_Initiater_Console_

type DeviceEvent_Initiater_Console_ struct {
	Console *DeviceEvent_Initiater_Console `protobuf:"bytes,2,opt,name=console,proto3,oneof"`
}

type DeviceEvent_Initiater_Device

type DeviceEvent_Initiater_Device struct {
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Initiater_Device) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Initiater_Device.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Initiater_Device) GetDeviceId

func (x *DeviceEvent_Initiater_Device) GetDeviceId() []byte

func (*DeviceEvent_Initiater_Device) ProtoMessage

func (*DeviceEvent_Initiater_Device) ProtoMessage()

func (*DeviceEvent_Initiater_Device) ProtoReflect

func (*DeviceEvent_Initiater_Device) Reset

func (x *DeviceEvent_Initiater_Device) Reset()

func (*DeviceEvent_Initiater_Device) String

type DeviceEvent_Initiater_Device_

type DeviceEvent_Initiater_Device_ struct {
	Device *DeviceEvent_Initiater_Device `protobuf:"bytes,1,opt,name=device,proto3,oneof"`
}

type DeviceEvent_Initiater_User

type DeviceEvent_Initiater_User struct {
	UserId []byte `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceEvent_Initiater_User) Descriptor deprecated

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

Deprecated: Use DeviceEvent_Initiater_User.ProtoReflect.Descriptor instead.

func (*DeviceEvent_Initiater_User) GetUserId

func (x *DeviceEvent_Initiater_User) GetUserId() []byte

func (*DeviceEvent_Initiater_User) ProtoMessage

func (*DeviceEvent_Initiater_User) ProtoMessage()

func (*DeviceEvent_Initiater_User) ProtoReflect

func (*DeviceEvent_Initiater_User) Reset

func (x *DeviceEvent_Initiater_User) Reset()

func (*DeviceEvent_Initiater_User) String

func (x *DeviceEvent_Initiater_User) String() string

type DeviceEvent_Initiater_User_

type DeviceEvent_Initiater_User_ struct {
	User *DeviceEvent_Initiater_User `protobuf:"bytes,3,opt,name=user,proto3,oneof"`
}

type DeviceEvent_Type

type DeviceEvent_Type int32
const (
	DeviceEvent_UNKNOWN        DeviceEvent_Type = 0
	DeviceEvent_CONFIG_CHANGE  DeviceEvent_Type = 1
	DeviceEvent_STATUS_CHANGE  DeviceEvent_Type = 2
	DeviceEvent_NEXT_ACTION    DeviceEvent_Type = 3
	DeviceEvent_DEVICE_ACTION  DeviceEvent_Type = 4
	DeviceEvent_QUEUE_OVERFLOW DeviceEvent_Type = 5
	DeviceEvent_REQUEST_FILE   DeviceEvent_Type = 6
)

func (DeviceEvent_Type) Descriptor

func (DeviceEvent_Type) Enum

func (DeviceEvent_Type) EnumDescriptor deprecated

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

Deprecated: Use DeviceEvent_Type.Descriptor instead.

func (DeviceEvent_Type) Number

func (DeviceEvent_Type) String

func (x DeviceEvent_Type) String() string

func (DeviceEvent_Type) Type

type DeviceHealth

type DeviceHealth struct {
	Power        *DeviceHealth_Power        `protobuf:"bytes,1,opt,name=power,proto3" json:"power,omitempty"`
	BatteryCurve *DeviceHealth_BatteryCurve `protobuf:"bytes,2,opt,name=battery_curve,json=batteryCurve,proto3" json:"battery_curve,omitempty"`
	Connectivity *DeviceHealth_Connectivity `protobuf:"bytes,3,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceHealth) Descriptor deprecated

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

Deprecated: Use DeviceHealth.ProtoReflect.Descriptor instead.

func (*DeviceHealth) GetBatteryCurve

func (x *DeviceHealth) GetBatteryCurve() *DeviceHealth_BatteryCurve

func (*DeviceHealth) GetConnectivity

func (x *DeviceHealth) GetConnectivity() *DeviceHealth_Connectivity

func (*DeviceHealth) GetPower

func (x *DeviceHealth) GetPower() *DeviceHealth_Power

func (*DeviceHealth) ProtoMessage

func (*DeviceHealth) ProtoMessage()

func (*DeviceHealth) ProtoReflect

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

func (*DeviceHealth) Reset

func (x *DeviceHealth) Reset()

func (*DeviceHealth) String

func (x *DeviceHealth) String() string

type DeviceHealth_BatteryCurve

type DeviceHealth_BatteryCurve struct {
	Slope       float64                `protobuf:"fixed64,1,opt,name=slope,proto3" json:"slope,omitempty"`
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceHealth_BatteryCurve) Descriptor deprecated

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

Deprecated: Use DeviceHealth_BatteryCurve.ProtoReflect.Descriptor instead.

func (*DeviceHealth_BatteryCurve) GetLastUpdated

func (x *DeviceHealth_BatteryCurve) GetLastUpdated() *timestamppb.Timestamp

func (*DeviceHealth_BatteryCurve) GetSlope

func (x *DeviceHealth_BatteryCurve) GetSlope() float64

func (*DeviceHealth_BatteryCurve) ProtoMessage

func (*DeviceHealth_BatteryCurve) ProtoMessage()

func (*DeviceHealth_BatteryCurve) ProtoReflect

func (*DeviceHealth_BatteryCurve) Reset

func (x *DeviceHealth_BatteryCurve) Reset()

func (*DeviceHealth_BatteryCurve) String

func (x *DeviceHealth_BatteryCurve) String() string

type DeviceHealth_Connectivity

type DeviceHealth_Connectivity struct {
	LastSeen  *timestamppb.Timestamp               `protobuf:"bytes,1,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	Connected bool                                 `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
	Checkins  []*DeviceHealth_Connectivity_Checkin `protobuf:"bytes,3,rep,name=checkins,proto3" json:"checkins,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceHealth_Connectivity) Descriptor deprecated

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

Deprecated: Use DeviceHealth_Connectivity.ProtoReflect.Descriptor instead.

func (*DeviceHealth_Connectivity) GetCheckins

func (*DeviceHealth_Connectivity) GetConnected

func (x *DeviceHealth_Connectivity) GetConnected() bool

func (*DeviceHealth_Connectivity) GetLastSeen

func (*DeviceHealth_Connectivity) ProtoMessage

func (*DeviceHealth_Connectivity) ProtoMessage()

func (*DeviceHealth_Connectivity) ProtoReflect

func (*DeviceHealth_Connectivity) Reset

func (x *DeviceHealth_Connectivity) Reset()

func (*DeviceHealth_Connectivity) String

func (x *DeviceHealth_Connectivity) String() string

type DeviceHealth_Connectivity_Checkin

type DeviceHealth_Connectivity_Checkin struct {
	Missed bool `protobuf:"varint,1,opt,name=missed,proto3" json:"missed,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceHealth_Connectivity_Checkin) Descriptor deprecated

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

Deprecated: Use DeviceHealth_Connectivity_Checkin.ProtoReflect.Descriptor instead.

func (*DeviceHealth_Connectivity_Checkin) GetMissed

func (x *DeviceHealth_Connectivity_Checkin) GetMissed() bool

func (*DeviceHealth_Connectivity_Checkin) ProtoMessage

func (*DeviceHealth_Connectivity_Checkin) ProtoMessage()

func (*DeviceHealth_Connectivity_Checkin) ProtoReflect

func (*DeviceHealth_Connectivity_Checkin) Reset

func (*DeviceHealth_Connectivity_Checkin) String

type DeviceHealth_Power

type DeviceHealth_Power struct {
	Value       *DeviceHealth_Power_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	LastUpdated *timestamppb.Timestamp    `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceHealth_Power) Descriptor deprecated

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

Deprecated: Use DeviceHealth_Power.ProtoReflect.Descriptor instead.

func (*DeviceHealth_Power) GetLastUpdated

func (x *DeviceHealth_Power) GetLastUpdated() *timestamppb.Timestamp

func (*DeviceHealth_Power) GetValue

func (*DeviceHealth_Power) ProtoMessage

func (*DeviceHealth_Power) ProtoMessage()

func (*DeviceHealth_Power) ProtoReflect

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

func (*DeviceHealth_Power) Reset

func (x *DeviceHealth_Power) Reset()

func (*DeviceHealth_Power) String

func (x *DeviceHealth_Power) String() string

type DeviceHealth_Power_Value

type DeviceHealth_Power_Value struct {

	// Types that are assignable to Power:
	//	*DeviceHealth_Power_Value_Battery
	//	*DeviceHealth_Power_Value_Pluggedin
	Power isDeviceHealth_Power_Value_Power `protobuf_oneof:"power"`
	// contains filtered or unexported fields
}

func (*DeviceHealth_Power_Value) Descriptor deprecated

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

Deprecated: Use DeviceHealth_Power_Value.ProtoReflect.Descriptor instead.

func (*DeviceHealth_Power_Value) GetBattery

func (x *DeviceHealth_Power_Value) GetBattery() float64

func (*DeviceHealth_Power_Value) GetPluggedin

func (x *DeviceHealth_Power_Value) GetPluggedin() *emptypb.Empty

func (*DeviceHealth_Power_Value) GetPower

func (m *DeviceHealth_Power_Value) GetPower() isDeviceHealth_Power_Value_Power

func (*DeviceHealth_Power_Value) ProtoMessage

func (*DeviceHealth_Power_Value) ProtoMessage()

func (*DeviceHealth_Power_Value) ProtoReflect

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

func (*DeviceHealth_Power_Value) Reset

func (x *DeviceHealth_Power_Value) Reset()

func (*DeviceHealth_Power_Value) String

func (x *DeviceHealth_Power_Value) String() string

type DeviceHealth_Power_Value_Battery

type DeviceHealth_Power_Value_Battery struct {
	Battery float64 `protobuf:"fixed64,1,opt,name=battery,proto3,oneof"`
}

type DeviceHealth_Power_Value_Pluggedin

type DeviceHealth_Power_Value_Pluggedin struct {
	Pluggedin *emptypb.Empty `protobuf:"bytes,2,opt,name=pluggedin,proto3,oneof"`
}

type DeviceModelSettings

type DeviceModelSettings struct {
	Parameters map[string]int32 `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceModelSettings) Descriptor deprecated

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

Deprecated: Use DeviceModelSettings.ProtoReflect.Descriptor instead.

func (*DeviceModelSettings) GetParameters

func (x *DeviceModelSettings) GetParameters() map[string]int32

func (*DeviceModelSettings) ProtoMessage

func (*DeviceModelSettings) ProtoMessage()

func (*DeviceModelSettings) ProtoReflect

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

func (*DeviceModelSettings) Reset

func (x *DeviceModelSettings) Reset()

func (*DeviceModelSettings) String

func (x *DeviceModelSettings) String() string

type DeviceModule

type DeviceModule struct {
	Model   string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModule) Descriptor deprecated

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

Deprecated: Use DeviceModule.ProtoReflect.Descriptor instead.

func (*DeviceModule) GetModel

func (x *DeviceModule) GetModel() string

func (*DeviceModule) GetVersion

func (x *DeviceModule) GetVersion() string

func (*DeviceModule) ProtoMessage

func (*DeviceModule) ProtoMessage()

func (*DeviceModule) ProtoReflect

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

func (*DeviceModule) Reset

func (x *DeviceModule) Reset()

func (*DeviceModule) String

func (x *DeviceModule) String() string

type DeviceModuleType

type DeviceModuleType int32
const (
	DeviceModuleType_Unknown  DeviceModuleType = 0
	DeviceModuleType_Cellular DeviceModuleType = 1
)

func (DeviceModuleType) Descriptor

func (DeviceModuleType) Enum

func (DeviceModuleType) EnumDescriptor deprecated

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

Deprecated: Use DeviceModuleType.Descriptor instead.

func (DeviceModuleType) Number

func (DeviceModuleType) String

func (x DeviceModuleType) String() string

func (DeviceModuleType) Type

type DeviceModules

type DeviceModules struct {
	Cellular *DeviceModule `protobuf:"bytes,1,opt,name=cellular,proto3" json:"cellular,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModules) Descriptor deprecated

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

Deprecated: Use DeviceModules.ProtoReflect.Descriptor instead.

func (*DeviceModules) GetCellular

func (x *DeviceModules) GetCellular() *DeviceModule

func (*DeviceModules) ProtoMessage

func (*DeviceModules) ProtoMessage()

func (*DeviceModules) ProtoReflect

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

func (*DeviceModules) Reset

func (x *DeviceModules) Reset()

func (*DeviceModules) String

func (x *DeviceModules) String() string

type DeviceModulesConfig

type DeviceModulesConfig struct {
	SyncRequested *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sync_requested,json=syncRequested,proto3" json:"sync_requested,omitempty"`
	Modules       *DeviceModules         `protobuf:"bytes,2,opt,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModulesConfig) Descriptor deprecated

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

Deprecated: Use DeviceModulesConfig.ProtoReflect.Descriptor instead.

func (*DeviceModulesConfig) GetModules

func (x *DeviceModulesConfig) GetModules() *DeviceModules

func (*DeviceModulesConfig) GetSyncRequested

func (x *DeviceModulesConfig) GetSyncRequested() *timestamppb.Timestamp

func (*DeviceModulesConfig) ProtoMessage

func (*DeviceModulesConfig) ProtoMessage()

func (*DeviceModulesConfig) ProtoReflect

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

func (*DeviceModulesConfig) Reset

func (x *DeviceModulesConfig) Reset()

func (*DeviceModulesConfig) String

func (x *DeviceModulesConfig) String() string

type DeviceModulesStatus

type DeviceModulesStatus struct {
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	Modules     *DeviceModules         `protobuf:"bytes,2,opt,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceModulesStatus) Descriptor deprecated

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

Deprecated: Use DeviceModulesStatus.ProtoReflect.Descriptor instead.

func (*DeviceModulesStatus) GetLastUpdated

func (x *DeviceModulesStatus) GetLastUpdated() *timestamppb.Timestamp

func (*DeviceModulesStatus) GetModules

func (x *DeviceModulesStatus) GetModules() *DeviceModules

func (*DeviceModulesStatus) ProtoMessage

func (*DeviceModulesStatus) ProtoMessage()

func (*DeviceModulesStatus) ProtoReflect

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

func (*DeviceModulesStatus) Reset

func (x *DeviceModulesStatus) Reset()

func (*DeviceModulesStatus) String

func (x *DeviceModulesStatus) String() string

type DeviceRuntimeSettings

type DeviceRuntimeSettings struct {
	Logging *LoggingSettings `protobuf:"bytes,1,opt,name=logging,proto3" json:"logging,omitempty"`
	Metrics *MetricsSettings `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceRuntimeSettings) Descriptor deprecated

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

Deprecated: Use DeviceRuntimeSettings.ProtoReflect.Descriptor instead.

func (*DeviceRuntimeSettings) GetLogging

func (x *DeviceRuntimeSettings) GetLogging() *LoggingSettings

func (*DeviceRuntimeSettings) GetMetrics

func (x *DeviceRuntimeSettings) GetMetrics() *MetricsSettings

func (*DeviceRuntimeSettings) ProtoMessage

func (*DeviceRuntimeSettings) ProtoMessage()

func (*DeviceRuntimeSettings) ProtoReflect

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

func (*DeviceRuntimeSettings) Reset

func (x *DeviceRuntimeSettings) Reset()

func (*DeviceRuntimeSettings) String

func (x *DeviceRuntimeSettings) String() string

type DeviceSessionChangeType

type DeviceSessionChangeType int32
const (
	DeviceSessionChangeType_UNKNOWN_TYPE DeviceSessionChangeType = 0
	DeviceSessionChangeType_CONNECTED    DeviceSessionChangeType = 1
	DeviceSessionChangeType_DISCONNECTED DeviceSessionChangeType = 2
)

func (DeviceSessionChangeType) Descriptor

func (DeviceSessionChangeType) Enum

func (DeviceSessionChangeType) EnumDescriptor deprecated

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

Deprecated: Use DeviceSessionChangeType.Descriptor instead.

func (DeviceSessionChangeType) Number

func (DeviceSessionChangeType) String

func (x DeviceSessionChangeType) String() string

func (DeviceSessionChangeType) Type

type DeviceStatus

type DeviceStatus struct {

	// Deprecated: Do not use.
	Revision       int64                   `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	Epoch          []byte                  `protobuf:"bytes,6,opt,name=epoch,proto3" json:"epoch,omitempty"`
	StateRevision  int64                   `protobuf:"varint,5,opt,name=state_revision,json=stateRevision,proto3" json:"state_revision,omitempty"`
	Updated        *timestamppb.Timestamp  `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	ConfigRevision int64                   `protobuf:"varint,3,opt,name=config_revision,json=configRevision,proto3" json:"config_revision,omitempty"`
	Sdk            string                  `protobuf:"bytes,4,opt,name=sdk,proto3" json:"sdk,omitempty"`
	Model          string                  `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
	Config         *DeviceConfig           `protobuf:"bytes,8,opt,name=config,proto3" json:"config,omitempty"`
	Connected      bool                    `protobuf:"varint,9,opt,name=connected,proto3" json:"connected,omitempty"`
	Boot           *DeviceBootStatus       `protobuf:"bytes,10,opt,name=boot,proto3" json:"boot,omitempty"`
	Health         *DeviceHealth           `protobuf:"bytes,11,opt,name=health,proto3" json:"health,omitempty"`
	Connection     *DeviceConnectionStatus `protobuf:"bytes,12,opt,name=connection,proto3" json:"connection,omitempty"`
	Modules        *DeviceModulesStatus    `protobuf:"bytes,13,opt,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceStatus) Descriptor deprecated

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

Deprecated: Use DeviceStatus.ProtoReflect.Descriptor instead.

func (*DeviceStatus) GetBoot

func (x *DeviceStatus) GetBoot() *DeviceBootStatus

func (*DeviceStatus) GetConfig

func (x *DeviceStatus) GetConfig() *DeviceConfig

func (*DeviceStatus) GetConfigRevision

func (x *DeviceStatus) GetConfigRevision() int64

func (*DeviceStatus) GetConnected

func (x *DeviceStatus) GetConnected() bool

func (*DeviceStatus) GetConnection

func (x *DeviceStatus) GetConnection() *DeviceConnectionStatus

func (*DeviceStatus) GetEpoch

func (x *DeviceStatus) GetEpoch() []byte

func (*DeviceStatus) GetHealth

func (x *DeviceStatus) GetHealth() *DeviceHealth

func (*DeviceStatus) GetModel

func (x *DeviceStatus) GetModel() string

func (*DeviceStatus) GetModules

func (x *DeviceStatus) GetModules() *DeviceModulesStatus

func (*DeviceStatus) GetRevision deprecated

func (x *DeviceStatus) GetRevision() int64

Deprecated: Do not use.

func (*DeviceStatus) GetSdk

func (x *DeviceStatus) GetSdk() string

func (*DeviceStatus) GetStateRevision

func (x *DeviceStatus) GetStateRevision() int64

func (*DeviceStatus) GetUpdated

func (x *DeviceStatus) GetUpdated() *timestamppb.Timestamp

func (*DeviceStatus) ProtoMessage

func (*DeviceStatus) ProtoMessage()

func (*DeviceStatus) ProtoReflect

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

func (*DeviceStatus) Reset

func (x *DeviceStatus) Reset()

func (*DeviceStatus) String

func (x *DeviceStatus) String() string

type EthernetSetting added in v0.12.0

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

func (*EthernetSetting) Descriptor deprecated added in v0.12.0

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

Deprecated: Use EthernetSetting.ProtoReflect.Descriptor instead.

func (*EthernetSetting) ProtoMessage added in v0.12.0

func (*EthernetSetting) ProtoMessage()

func (*EthernetSetting) ProtoReflect added in v0.12.0

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

func (*EthernetSetting) Reset added in v0.12.0

func (x *EthernetSetting) Reset()

func (*EthernetSetting) String added in v0.12.0

func (x *EthernetSetting) String() string

type GPIOTrigger added in v0.12.0

type GPIOTrigger struct {
	Pins []*GPIOTrigger_Pin `protobuf:"bytes,1,rep,name=pins,proto3" json:"pins,omitempty"`
	// contains filtered or unexported fields
}

func (*GPIOTrigger) Descriptor deprecated added in v0.12.0

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

Deprecated: Use GPIOTrigger.ProtoReflect.Descriptor instead.

func (*GPIOTrigger) GetPins added in v0.12.0

func (x *GPIOTrigger) GetPins() []*GPIOTrigger_Pin

func (*GPIOTrigger) ProtoMessage added in v0.12.0

func (*GPIOTrigger) ProtoMessage()

func (*GPIOTrigger) ProtoReflect added in v0.12.0

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

func (*GPIOTrigger) Reset added in v0.12.0

func (x *GPIOTrigger) Reset()

func (*GPIOTrigger) String added in v0.12.0

func (x *GPIOTrigger) String() string

type GPIOTrigger_Pin added in v0.12.0

type GPIOTrigger_Pin struct {
	Level GPIOTrigger_Pin_Level `protobuf:"varint,1,opt,name=level,proto3,enum=toit.model.GPIOTrigger_Pin_Level" json:"level,omitempty"`
	Num   uint32                `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*GPIOTrigger_Pin) Descriptor deprecated added in v0.12.0

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

Deprecated: Use GPIOTrigger_Pin.ProtoReflect.Descriptor instead.

func (*GPIOTrigger_Pin) GetLevel added in v0.12.0

func (x *GPIOTrigger_Pin) GetLevel() GPIOTrigger_Pin_Level

func (*GPIOTrigger_Pin) GetNum added in v0.12.0

func (x *GPIOTrigger_Pin) GetNum() uint32

func (*GPIOTrigger_Pin) ProtoMessage added in v0.12.0

func (*GPIOTrigger_Pin) ProtoMessage()

func (*GPIOTrigger_Pin) ProtoReflect added in v0.12.0

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

func (*GPIOTrigger_Pin) Reset added in v0.12.0

func (x *GPIOTrigger_Pin) Reset()

func (*GPIOTrigger_Pin) String added in v0.12.0

func (x *GPIOTrigger_Pin) String() string

type GPIOTrigger_Pin_Level added in v0.12.0

type GPIOTrigger_Pin_Level int32
const (
	GPIOTrigger_Pin_HIGH GPIOTrigger_Pin_Level = 0
	GPIOTrigger_Pin_LOW  GPIOTrigger_Pin_Level = 1
)

func (GPIOTrigger_Pin_Level) Descriptor added in v0.12.0

func (GPIOTrigger_Pin_Level) Enum added in v0.12.0

func (GPIOTrigger_Pin_Level) EnumDescriptor deprecated added in v0.12.0

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

Deprecated: Use GPIOTrigger_Pin_Level.Descriptor instead.

func (GPIOTrigger_Pin_Level) Number added in v0.12.0

func (GPIOTrigger_Pin_Level) String added in v0.12.0

func (x GPIOTrigger_Pin_Level) String() string

func (GPIOTrigger_Pin_Level) Type added in v0.12.0

type GPSFeature

type GPSFeature struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GPSFeature) Descriptor deprecated

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

Deprecated: Use GPSFeature.ProtoReflect.Descriptor instead.

func (*GPSFeature) GetEnabled

func (x *GPSFeature) GetEnabled() bool

func (*GPSFeature) ProtoMessage

func (*GPSFeature) ProtoMessage()

func (*GPSFeature) ProtoReflect

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

func (*GPSFeature) Reset

func (x *GPSFeature) Reset()

func (*GPSFeature) String

func (x *GPSFeature) String() string

type GuageMetricData

type GuageMetricData struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// name_index references the name in the names list in MetricsData.
	NameIndex uint32 `protobuf:"varint,2,opt,name=name_index,json=nameIndex,proto3" json:"name_index,omitempty"`
	// Deprecated: Do not use.
	Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Tags    map[uint32]uint32      `` /* 151-byte string literal not displayed */
	Level   MetricsData_Level      `protobuf:"varint,5,opt,name=level,proto3,enum=toit.model.MetricsData_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*GuageMetricData) Descriptor deprecated

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

Deprecated: Use GuageMetricData.ProtoReflect.Descriptor instead.

func (*GuageMetricData) GetCreated deprecated

func (x *GuageMetricData) GetCreated() *timestamppb.Timestamp

Deprecated: Do not use.

func (*GuageMetricData) GetLevel

func (x *GuageMetricData) GetLevel() MetricsData_Level

func (*GuageMetricData) GetNameIndex

func (x *GuageMetricData) GetNameIndex() uint32

func (*GuageMetricData) GetTags

func (x *GuageMetricData) GetTags() map[uint32]uint32

func (*GuageMetricData) GetValue

func (x *GuageMetricData) GetValue() float64

func (*GuageMetricData) ProtoMessage

func (*GuageMetricData) ProtoMessage()

func (*GuageMetricData) ProtoReflect

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

func (*GuageMetricData) Reset

func (x *GuageMetricData) Reset()

func (*GuageMetricData) String

func (x *GuageMetricData) String() string

type HardwareIdentity

type HardwareIdentity struct {
	HardwareId     []byte `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	SequenceNumber int64  `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	Batch          string `protobuf:"bytes,3,opt,name=batch,proto3" json:"batch,omitempty"`
	PrivateKey     []byte `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	Certificate    []byte `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareIdentity) Descriptor deprecated

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

Deprecated: Use HardwareIdentity.ProtoReflect.Descriptor instead.

func (*HardwareIdentity) GetBatch

func (x *HardwareIdentity) GetBatch() string

func (*HardwareIdentity) GetCertificate

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

func (*HardwareIdentity) GetHardwareId

func (x *HardwareIdentity) GetHardwareId() []byte

func (*HardwareIdentity) GetPrivateKey

func (x *HardwareIdentity) GetPrivateKey() []byte

func (*HardwareIdentity) GetSequenceNumber

func (x *HardwareIdentity) GetSequenceNumber() int64

func (*HardwareIdentity) ProtoMessage

func (*HardwareIdentity) ProtoMessage()

func (*HardwareIdentity) ProtoReflect

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

func (*HardwareIdentity) Reset

func (x *HardwareIdentity) Reset()

func (*HardwareIdentity) String

func (x *HardwareIdentity) String() string

type HardwareIdentityInfo

type HardwareIdentityInfo struct {
	FactorySdkVersion  string `protobuf:"bytes,1,opt,name=factory_sdk_version,json=factorySdkVersion,proto3" json:"factory_sdk_version,omitempty"`
	FlashedBy          []byte `protobuf:"bytes,2,opt,name=flashed_by,json=flashedBy,proto3" json:"flashed_by,omitempty"`
	Iccid              string `protobuf:"bytes,3,opt,name=iccid,proto3" json:"iccid,omitempty"`
	ChipId             string `protobuf:"bytes,4,opt,name=chip_id,json=chipId,proto3" json:"chip_id,omitempty"`
	FactoryDeviceModel string `protobuf:"bytes,5,opt,name=factory_device_model,json=factoryDeviceModel,proto3" json:"factory_device_model,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareIdentityInfo) Descriptor deprecated

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

Deprecated: Use HardwareIdentityInfo.ProtoReflect.Descriptor instead.

func (*HardwareIdentityInfo) GetChipId

func (x *HardwareIdentityInfo) GetChipId() string

func (*HardwareIdentityInfo) GetFactoryDeviceModel

func (x *HardwareIdentityInfo) GetFactoryDeviceModel() string

func (*HardwareIdentityInfo) GetFactorySdkVersion

func (x *HardwareIdentityInfo) GetFactorySdkVersion() string

func (*HardwareIdentityInfo) GetFlashedBy

func (x *HardwareIdentityInfo) GetFlashedBy() []byte

func (*HardwareIdentityInfo) GetIccid

func (x *HardwareIdentityInfo) GetIccid() string

func (*HardwareIdentityInfo) ProtoMessage

func (*HardwareIdentityInfo) ProtoMessage()

func (*HardwareIdentityInfo) ProtoReflect

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

func (*HardwareIdentityInfo) Reset

func (x *HardwareIdentityInfo) Reset()

func (*HardwareIdentityInfo) String

func (x *HardwareIdentityInfo) String() string

type HardwareInfo

type HardwareInfo struct {
	HardwareId     []byte `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	HardwareFqdn   string `protobuf:"bytes,2,opt,name=hardware_fqdn,json=hardwareFqdn,proto3" json:"hardware_fqdn,omitempty"`
	OrganizationId []byte `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareInfo) Descriptor deprecated

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

Deprecated: Use HardwareInfo.ProtoReflect.Descriptor instead.

func (*HardwareInfo) GetHardwareFqdn

func (x *HardwareInfo) GetHardwareFqdn() string

func (*HardwareInfo) GetHardwareId

func (x *HardwareInfo) GetHardwareId() []byte

func (*HardwareInfo) GetOrganizationId

func (x *HardwareInfo) GetOrganizationId() []byte

func (*HardwareInfo) ProtoMessage

func (*HardwareInfo) ProtoMessage()

func (*HardwareInfo) ProtoReflect

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

func (*HardwareInfo) Reset

func (x *HardwareInfo) Reset()

func (*HardwareInfo) String

func (x *HardwareInfo) String() string

type HardwareToDeviceInfo

type HardwareToDeviceInfo struct {
	HardwareId []byte                 `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	DeviceId   []byte                 `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Bound      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=bound,proto3" json:"bound,omitempty"`
	Unbound    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=unbound,proto3" json:"unbound,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareToDeviceInfo) Descriptor deprecated

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

Deprecated: Use HardwareToDeviceInfo.ProtoReflect.Descriptor instead.

func (*HardwareToDeviceInfo) GetBound

func (*HardwareToDeviceInfo) GetDeviceId

func (x *HardwareToDeviceInfo) GetDeviceId() []byte

func (*HardwareToDeviceInfo) GetHardwareId

func (x *HardwareToDeviceInfo) GetHardwareId() []byte

func (*HardwareToDeviceInfo) GetUnbound

func (x *HardwareToDeviceInfo) GetUnbound() *timestamppb.Timestamp

func (*HardwareToDeviceInfo) ProtoMessage

func (*HardwareToDeviceInfo) ProtoMessage()

func (*HardwareToDeviceInfo) ProtoReflect

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

func (*HardwareToDeviceInfo) Reset

func (x *HardwareToDeviceInfo) Reset()

func (*HardwareToDeviceInfo) String

func (x *HardwareToDeviceInfo) String() string

type HistogramMetricData

type HistogramMetricData struct {

	// name_index references the name in the names list in MetricsData.
	NameIndex uint32             `protobuf:"varint,1,opt,name=name_index,json=nameIndex,proto3" json:"name_index,omitempty"`
	Values    map[uint32]float64 `` /* 156-byte string literal not displayed */
	Tags      map[uint32]uint32  `` /* 151-byte string literal not displayed */
	Level     MetricsData_Level  `protobuf:"varint,4,opt,name=level,proto3,enum=toit.model.MetricsData_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*HistogramMetricData) Descriptor deprecated

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

Deprecated: Use HistogramMetricData.ProtoReflect.Descriptor instead.

func (*HistogramMetricData) GetLevel

func (x *HistogramMetricData) GetLevel() MetricsData_Level

func (*HistogramMetricData) GetNameIndex

func (x *HistogramMetricData) GetNameIndex() uint32

func (*HistogramMetricData) GetTags

func (x *HistogramMetricData) GetTags() map[uint32]uint32

func (*HistogramMetricData) GetValues

func (x *HistogramMetricData) GetValues() map[uint32]float64

func (*HistogramMetricData) ProtoMessage

func (*HistogramMetricData) ProtoMessage()

func (*HistogramMetricData) ProtoReflect

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

func (*HistogramMetricData) Reset

func (x *HistogramMetricData) Reset()

func (*HistogramMetricData) String

func (x *HistogramMetricData) String() string

type IntervalTrigger

type IntervalTrigger struct {
	Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*IntervalTrigger) Descriptor deprecated

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

Deprecated: Use IntervalTrigger.ProtoReflect.Descriptor instead.

func (*IntervalTrigger) GetInterval

func (x *IntervalTrigger) GetInterval() *durationpb.Duration

func (*IntervalTrigger) ProtoMessage

func (*IntervalTrigger) ProtoMessage()

func (*IntervalTrigger) ProtoReflect

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

func (*IntervalTrigger) Reset

func (x *IntervalTrigger) Reset()

func (*IntervalTrigger) String

func (x *IntervalTrigger) String() string

type JobChangeType

type JobChangeType int32
const (
	JobChangeType_JOB_CHANGE_UNKNOWN JobChangeType = 0
	JobChangeType_JOB_CHANGE_ADDED   JobChangeType = 1
	JobChangeType_JOB_CHANGE_DELETED JobChangeType = 2
	JobChangeType_JOB_CHANGE_CHANGED JobChangeType = 3
)

func (JobChangeType) Descriptor

func (JobChangeType) Enum

func (x JobChangeType) Enum() *JobChangeType

func (JobChangeType) EnumDescriptor deprecated

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

Deprecated: Use JobChangeType.Descriptor instead.

func (JobChangeType) Number

func (JobChangeType) String

func (x JobChangeType) String() string

func (JobChangeType) Type

type JobConfig

type JobConfig struct {
	JobId           []byte                 `protobuf:"bytes,8,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Name            string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CompilationId   []byte                 `protobuf:"bytes,2,opt,name=compilation_id,json=compilationId,proto3" json:"compilation_id,omitempty"`
	GoalState       JobGoalState           `protobuf:"varint,3,opt,name=goal_state,json=goalState,proto3,enum=toit.model.JobGoalState" json:"goal_state,omitempty"`
	Resources       *JobResources          `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	Triggers        *JobTriggers           `protobuf:"bytes,5,opt,name=triggers,proto3" json:"triggers,omitempty"`
	Created         *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
	Updated         *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated,proto3" json:"updated,omitempty"`
	CompilationInfo *CompilationInfo       `protobuf:"bytes,10,opt,name=compilation_info,json=compilationInfo,proto3" json:"compilation_info,omitempty"`
	Pubsub          *JobPubSub             `protobuf:"bytes,11,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
	Files           []*JobFile             `protobuf:"bytes,12,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*JobConfig) Descriptor deprecated

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

Deprecated: Use JobConfig.ProtoReflect.Descriptor instead.

func (*JobConfig) GetCompilationId

func (x *JobConfig) GetCompilationId() []byte

func (*JobConfig) GetCompilationInfo

func (x *JobConfig) GetCompilationInfo() *CompilationInfo

func (*JobConfig) GetCreated

func (x *JobConfig) GetCreated() *timestamppb.Timestamp

func (*JobConfig) GetFiles

func (x *JobConfig) GetFiles() []*JobFile

func (*JobConfig) GetGoalState

func (x *JobConfig) GetGoalState() JobGoalState

func (*JobConfig) GetJobId

func (x *JobConfig) GetJobId() []byte

func (*JobConfig) GetName

func (x *JobConfig) GetName() string

func (*JobConfig) GetPubsub

func (x *JobConfig) GetPubsub() *JobPubSub

func (*JobConfig) GetResources

func (x *JobConfig) GetResources() *JobResources

func (*JobConfig) GetTriggers

func (x *JobConfig) GetTriggers() *JobTriggers

func (*JobConfig) GetUpdated

func (x *JobConfig) GetUpdated() *timestamppb.Timestamp

func (*JobConfig) ProtoMessage

func (*JobConfig) ProtoMessage()

func (*JobConfig) ProtoReflect

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

func (*JobConfig) Reset

func (x *JobConfig) Reset()

func (*JobConfig) String

func (x *JobConfig) String() string

type JobFeatures

type JobFeatures struct {
	Gps *GPSFeature `protobuf:"bytes,1,opt,name=gps,proto3" json:"gps,omitempty"`
	// contains filtered or unexported fields
}

func (*JobFeatures) Descriptor deprecated

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

Deprecated: Use JobFeatures.ProtoReflect.Descriptor instead.

func (*JobFeatures) GetGps

func (x *JobFeatures) GetGps() *GPSFeature

func (*JobFeatures) ProtoMessage

func (*JobFeatures) ProtoMessage()

func (*JobFeatures) ProtoReflect

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

func (*JobFeatures) Reset

func (x *JobFeatures) Reset()

func (*JobFeatures) String

func (x *JobFeatures) String() string

type JobFile

type JobFile struct {
	Type JobFileType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.JobFileType" json:"type,omitempty"`
	Path string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*JobFile) Descriptor deprecated

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

Deprecated: Use JobFile.ProtoReflect.Descriptor instead.

func (*JobFile) GetPath

func (x *JobFile) GetPath() string

func (*JobFile) GetType

func (x *JobFile) GetType() JobFileType

func (*JobFile) ProtoMessage

func (*JobFile) ProtoMessage()

func (*JobFile) ProtoReflect

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

func (*JobFile) Reset

func (x *JobFile) Reset()

func (*JobFile) String

func (x *JobFile) String() string

type JobFileType

type JobFileType int32
const (
	JobFileType_JOB_FILE_TYPE_UNKNOWN JobFileType = 0
	JobFileType_JOB_FILE_TYPE_SYSTEM  JobFileType = 1
)

func (JobFileType) Descriptor

func (JobFileType) Enum

func (x JobFileType) Enum() *JobFileType

func (JobFileType) EnumDescriptor deprecated

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

Deprecated: Use JobFileType.Descriptor instead.

func (JobFileType) Number

func (x JobFileType) Number() protoreflect.EnumNumber

func (JobFileType) String

func (x JobFileType) String() string

func (JobFileType) Type

type JobGoalState

type JobGoalState int32
const (
	JobGoalState_JOB_GOAL_STATE_UNKNOWN   JobGoalState = 0
	JobGoalState_JOB_GOAL_STATE_INSTALL   JobGoalState = 1
	JobGoalState_JOB_GOAL_STATE_UNINSTALL JobGoalState = 2
)

func (JobGoalState) Descriptor

func (JobGoalState) Enum

func (x JobGoalState) Enum() *JobGoalState

func (JobGoalState) EnumDescriptor deprecated

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

Deprecated: Use JobGoalState.Descriptor instead.

func (JobGoalState) Number

func (JobGoalState) String

func (x JobGoalState) String() string

func (JobGoalState) Type

type JobInfo

type JobInfo struct {
	Config *JobConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Status *JobStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*JobInfo) Descriptor deprecated

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

Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.

func (*JobInfo) GetConfig

func (x *JobInfo) GetConfig() *JobConfig

func (*JobInfo) GetStatus

func (x *JobInfo) GetStatus() *JobStatus

func (*JobInfo) ProtoMessage

func (*JobInfo) ProtoMessage()

func (*JobInfo) ProtoReflect

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

func (*JobInfo) Reset

func (x *JobInfo) Reset()

func (*JobInfo) String

func (x *JobInfo) String() string

type JobPubSub

type JobPubSub struct {
	Subscriptions []*JobPubSub_Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	// contains filtered or unexported fields
}

func (*JobPubSub) Descriptor deprecated

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

Deprecated: Use JobPubSub.ProtoReflect.Descriptor instead.

func (*JobPubSub) GetSubscriptions

func (x *JobPubSub) GetSubscriptions() []*JobPubSub_Subscription

func (*JobPubSub) ProtoMessage

func (*JobPubSub) ProtoMessage()

func (*JobPubSub) ProtoReflect

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

func (*JobPubSub) Reset

func (x *JobPubSub) Reset()

func (*JobPubSub) String

func (x *JobPubSub) String() string

type JobPubSub_Subscription

type JobPubSub_Subscription struct {
	Topic *pubsub.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Id    []byte        `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*JobPubSub_Subscription) Descriptor deprecated

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

Deprecated: Use JobPubSub_Subscription.ProtoReflect.Descriptor instead.

func (*JobPubSub_Subscription) GetId

func (x *JobPubSub_Subscription) GetId() []byte

func (*JobPubSub_Subscription) GetTopic

func (x *JobPubSub_Subscription) GetTopic() *pubsub.Topic

func (*JobPubSub_Subscription) ProtoMessage

func (*JobPubSub_Subscription) ProtoMessage()

func (*JobPubSub_Subscription) ProtoReflect

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

func (*JobPubSub_Subscription) Reset

func (x *JobPubSub_Subscription) Reset()

func (*JobPubSub_Subscription) String

func (x *JobPubSub_Subscription) String() string

type JobResources

type JobResources struct {
	Memory   *MemoryResource `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"`
	Features *JobFeatures    `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*JobResources) Descriptor deprecated

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

Deprecated: Use JobResources.ProtoReflect.Descriptor instead.

func (*JobResources) GetFeatures

func (x *JobResources) GetFeatures() *JobFeatures

func (*JobResources) GetMemory

func (x *JobResources) GetMemory() *MemoryResource

func (*JobResources) ProtoMessage

func (*JobResources) ProtoMessage()

func (*JobResources) ProtoReflect

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

func (*JobResources) Reset

func (x *JobResources) Reset()

func (*JobResources) String

func (x *JobResources) String() string

type JobSpec

type JobSpec struct {
	Name       string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Entrypoint string          `protobuf:"bytes,2,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Resources  *JobResources   `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	Triggers   *JobTriggers    `protobuf:"bytes,4,opt,name=triggers,proto3" json:"triggers,omitempty"`
	Pubsub     *JobSpec_PubSub `protobuf:"bytes,5,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
	Files      []*JobFile      `protobuf:"bytes,6,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*JobSpec) Descriptor deprecated

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

Deprecated: Use JobSpec.ProtoReflect.Descriptor instead.

func (*JobSpec) GetEntrypoint

func (x *JobSpec) GetEntrypoint() string

func (*JobSpec) GetFiles

func (x *JobSpec) GetFiles() []*JobFile

func (*JobSpec) GetName

func (x *JobSpec) GetName() string

func (*JobSpec) GetPubsub

func (x *JobSpec) GetPubsub() *JobSpec_PubSub

func (*JobSpec) GetResources

func (x *JobSpec) GetResources() *JobResources

func (*JobSpec) GetTriggers

func (x *JobSpec) GetTriggers() *JobTriggers

func (*JobSpec) ProtoMessage

func (*JobSpec) ProtoMessage()

func (*JobSpec) ProtoReflect

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

func (*JobSpec) Reset

func (x *JobSpec) Reset()

func (*JobSpec) String

func (x *JobSpec) String() string

type JobSpec_PubSub

type JobSpec_PubSub struct {
	Subscriptions []*pubsub.Topic `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	// contains filtered or unexported fields
}

func (*JobSpec_PubSub) Descriptor deprecated

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

Deprecated: Use JobSpec_PubSub.ProtoReflect.Descriptor instead.

func (*JobSpec_PubSub) GetSubscriptions

func (x *JobSpec_PubSub) GetSubscriptions() []*pubsub.Topic

func (*JobSpec_PubSub) ProtoMessage

func (*JobSpec_PubSub) ProtoMessage()

func (*JobSpec_PubSub) ProtoReflect

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

func (*JobSpec_PubSub) Reset

func (x *JobSpec_PubSub) Reset()

func (*JobSpec_PubSub) String

func (x *JobSpec_PubSub) String() string

type JobState

type JobState int32
const (
	JobState_JOB_STATE_UNKNOWN     JobState = 0
	JobState_JOB_STATE_UNINSTALLED JobState = 1
	JobState_JOB_STATE_INSTALLING  JobState = 2
	JobState_JOB_STATE_INSTALLED   JobState = 3
	JobState_JOB_STATE_FAILED      JobState = 4
)

func (JobState) Descriptor

func (JobState) Descriptor() protoreflect.EnumDescriptor

func (JobState) Enum

func (x JobState) Enum() *JobState

func (JobState) EnumDescriptor deprecated

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

Deprecated: Use JobState.Descriptor instead.

func (JobState) Number

func (x JobState) Number() protoreflect.EnumNumber

func (JobState) String

func (x JobState) String() string

func (JobState) Type

type JobStatus

type JobStatus struct {
	JobId   []byte                 `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	State   JobState               `protobuf:"varint,1,opt,name=state,proto3,enum=toit.model.JobState" json:"state,omitempty"`
	Updated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*JobStatus) Descriptor deprecated

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

Deprecated: Use JobStatus.ProtoReflect.Descriptor instead.

func (*JobStatus) GetJobId

func (x *JobStatus) GetJobId() []byte

func (*JobStatus) GetState

func (x *JobStatus) GetState() JobState

func (*JobStatus) GetUpdated

func (x *JobStatus) GetUpdated() *timestamppb.Timestamp

func (*JobStatus) ProtoMessage

func (*JobStatus) ProtoMessage()

func (*JobStatus) ProtoReflect

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

func (*JobStatus) Reset

func (x *JobStatus) Reset()

func (*JobStatus) String

func (x *JobStatus) String() string

type JobTriggers

type JobTriggers struct {
	OnInstall *OnInstallTrigger `protobuf:"bytes,1,opt,name=on_install,json=onInstall,proto3" json:"on_install,omitempty"`
	OnBoot    *OnBootTrigger    `protobuf:"bytes,2,opt,name=on_boot,json=onBoot,proto3" json:"on_boot,omitempty"`
	Interval  *IntervalTrigger  `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
	Cron      *CronTrigger      `protobuf:"bytes,4,opt,name=cron,proto3" json:"cron,omitempty"`
	// Deprecated: Do not use.
	Movement *MovementTrigger `protobuf:"bytes,5,opt,name=movement,proto3" json:"movement,omitempty"`
	// Deprecated: Do not use.
	Button  *ButtonTrigger  `protobuf:"bytes,6,opt,name=button,proto3" json:"button,omitempty"`
	Network *NetworkTrigger `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
	Pubsub  *PubSubTrigger  `protobuf:"bytes,8,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
	Gpio    *GPIOTrigger    `protobuf:"bytes,9,opt,name=gpio,proto3" json:"gpio,omitempty"`
	// contains filtered or unexported fields
}

func (*JobTriggers) Descriptor deprecated

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

Deprecated: Use JobTriggers.ProtoReflect.Descriptor instead.

func (*JobTriggers) GetButton deprecated

func (x *JobTriggers) GetButton() *ButtonTrigger

Deprecated: Do not use.

func (*JobTriggers) GetCron

func (x *JobTriggers) GetCron() *CronTrigger

func (*JobTriggers) GetGpio added in v0.12.0

func (x *JobTriggers) GetGpio() *GPIOTrigger

func (*JobTriggers) GetInterval

func (x *JobTriggers) GetInterval() *IntervalTrigger

func (*JobTriggers) GetMovement deprecated

func (x *JobTriggers) GetMovement() *MovementTrigger

Deprecated: Do not use.

func (*JobTriggers) GetNetwork

func (x *JobTriggers) GetNetwork() *NetworkTrigger

func (*JobTriggers) GetOnBoot

func (x *JobTriggers) GetOnBoot() *OnBootTrigger

func (*JobTriggers) GetOnInstall

func (x *JobTriggers) GetOnInstall() *OnInstallTrigger

func (*JobTriggers) GetPubsub

func (x *JobTriggers) GetPubsub() *PubSubTrigger

func (*JobTriggers) ProtoMessage

func (*JobTriggers) ProtoMessage()

func (*JobTriggers) ProtoReflect

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

func (*JobTriggers) Reset

func (x *JobTriggers) Reset()

func (*JobTriggers) String

func (x *JobTriggers) String() string

type LogData

type LogData struct {
	Type    LogData_Type               `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.LogData_Type" json:"type,omitempty"`
	Data    []byte                     `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Message string                     `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Level   LogData_Level              `protobuf:"varint,4,opt,name=level,proto3,enum=toit.model.LogData_Level" json:"level,omitempty"`
	Names   []string                   `protobuf:"bytes,5,rep,name=names,proto3" json:"names,omitempty"`
	Tags    map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogData) Descriptor deprecated

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

Deprecated: Use LogData.ProtoReflect.Descriptor instead.

func (*LogData) GetData

func (x *LogData) GetData() []byte

func (*LogData) GetLevel

func (x *LogData) GetLevel() LogData_Level

func (*LogData) GetMessage

func (x *LogData) GetMessage() string

func (*LogData) GetNames

func (x *LogData) GetNames() []string

func (*LogData) GetTags

func (x *LogData) GetTags() map[string]*structpb.Value

func (*LogData) GetType

func (x *LogData) GetType() LogData_Type

func (*LogData) ProtoMessage

func (*LogData) ProtoMessage()

func (*LogData) ProtoReflect

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

func (*LogData) Reset

func (x *LogData) Reset()

func (*LogData) String

func (x *LogData) String() string

type LogData_Level

type LogData_Level int32
const (
	LogData_PRINT_LEVEL LogData_Level = 0
	LogData_DEBUG_LEVEL LogData_Level = 1
	LogData_INFO_LEVEL  LogData_Level = 2
	LogData_WARN_LEVEL  LogData_Level = 3
	LogData_ERROR_LEVEL LogData_Level = 4
	LogData_FATAL_LEVEL LogData_Level = 5
)

func (LogData_Level) Descriptor

func (LogData_Level) Enum

func (x LogData_Level) Enum() *LogData_Level

func (LogData_Level) EnumDescriptor deprecated

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

Deprecated: Use LogData_Level.Descriptor instead.

func (LogData_Level) Number

func (LogData_Level) String

func (x LogData_Level) String() string

func (LogData_Level) Type

type LogData_Type

type LogData_Type int32
const (
	LogData_UNKNOWN       LogData_Type = 0
	LogData_PRINT         LogData_Type = 1
	LogData_PROCESS_START LogData_Type = 2
	LogData_PROCESS_STOP  LogData_Type = 3
	LogData_STACK_TRACE   LogData_Type = 4
	LogData_BOOT          LogData_Type = 5
	LogData_SHUTDOWN      LogData_Type = 6
)

func (LogData_Type) Descriptor

func (LogData_Type) Enum

func (x LogData_Type) Enum() *LogData_Type

func (LogData_Type) EnumDescriptor deprecated

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

Deprecated: Use LogData_Type.Descriptor instead.

func (LogData_Type) Number

func (LogData_Type) String

func (x LogData_Type) String() string

func (LogData_Type) Type

type LoggingSettings

type LoggingSettings struct {
	Level LogData_Level `protobuf:"varint,1,opt,name=level,proto3,enum=toit.model.LogData_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*LoggingSettings) Descriptor deprecated

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

Deprecated: Use LoggingSettings.ProtoReflect.Descriptor instead.

func (*LoggingSettings) GetLevel

func (x *LoggingSettings) GetLevel() LogData_Level

func (*LoggingSettings) ProtoMessage

func (*LoggingSettings) ProtoMessage()

func (*LoggingSettings) ProtoReflect

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

func (*LoggingSettings) Reset

func (x *LoggingSettings) Reset()

func (*LoggingSettings) String

func (x *LoggingSettings) String() string

type MemoryResource

type MemoryResource struct {
	Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryResource) Descriptor deprecated

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

Deprecated: Use MemoryResource.ProtoReflect.Descriptor instead.

func (*MemoryResource) GetMemory

func (x *MemoryResource) GetMemory() int64

func (*MemoryResource) ProtoMessage

func (*MemoryResource) ProtoMessage()

func (*MemoryResource) ProtoReflect

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

func (*MemoryResource) Reset

func (x *MemoryResource) Reset()

func (*MemoryResource) String

func (x *MemoryResource) String() string

type MetricsData

type MetricsData struct {
	Names    [][]byte             `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Gauges   []*GuageMetricData   `protobuf:"bytes,2,rep,name=gauges,proto3" json:"gauges,omitempty"`
	Counters []*CounterMetricData `protobuf:"bytes,3,rep,name=counters,proto3" json:"counters,omitempty"`
	// Deprecated: Do not use.
	Plots      []*PlotMetricData      `protobuf:"bytes,4,rep,name=plots,proto3" json:"plots,omitempty"`
	Histograms []*HistogramMetricData `protobuf:"bytes,5,rep,name=histograms,proto3" json:"histograms,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsData) Descriptor deprecated

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

Deprecated: Use MetricsData.ProtoReflect.Descriptor instead.

func (*MetricsData) GetCounters

func (x *MetricsData) GetCounters() []*CounterMetricData

func (*MetricsData) GetGauges

func (x *MetricsData) GetGauges() []*GuageMetricData

func (*MetricsData) GetHistograms

func (x *MetricsData) GetHistograms() []*HistogramMetricData

func (*MetricsData) GetNames

func (x *MetricsData) GetNames() [][]byte

func (*MetricsData) GetPlots deprecated

func (x *MetricsData) GetPlots() []*PlotMetricData

Deprecated: Do not use.

func (*MetricsData) ProtoMessage

func (*MetricsData) ProtoMessage()

func (*MetricsData) ProtoReflect

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

func (*MetricsData) Reset

func (x *MetricsData) Reset()

func (*MetricsData) String

func (x *MetricsData) String() string

type MetricsData_Level

type MetricsData_Level int32
const (
	MetricsData_DEBUG_LEVEL    MetricsData_Level = 0
	MetricsData_INFO_LEVEL     MetricsData_Level = 5
	MetricsData_CRITICAL_LEVEL MetricsData_Level = 10
)

func (MetricsData_Level) Descriptor

func (MetricsData_Level) Enum

func (MetricsData_Level) EnumDescriptor deprecated

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

Deprecated: Use MetricsData_Level.Descriptor instead.

func (MetricsData_Level) Number

func (MetricsData_Level) String

func (x MetricsData_Level) String() string

func (MetricsData_Level) Type

type MetricsSettings

type MetricsSettings struct {
	Level MetricsData_Level `protobuf:"varint,1,opt,name=level,proto3,enum=toit.model.MetricsData_Level" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsSettings) Descriptor deprecated

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

Deprecated: Use MetricsSettings.ProtoReflect.Descriptor instead.

func (*MetricsSettings) GetLevel

func (x *MetricsSettings) GetLevel() MetricsData_Level

func (*MetricsSettings) ProtoMessage

func (*MetricsSettings) ProtoMessage()

func (*MetricsSettings) ProtoReflect

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

func (*MetricsSettings) Reset

func (x *MetricsSettings) Reset()

func (*MetricsSettings) String

func (x *MetricsSettings) String() string

type MovementTrigger

type MovementTrigger struct {
	Shaken bool `protobuf:"varint,1,opt,name=shaken,proto3" json:"shaken,omitempty"`
	// contains filtered or unexported fields
}

func (*MovementTrigger) Descriptor deprecated

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

Deprecated: Use MovementTrigger.ProtoReflect.Descriptor instead.

func (*MovementTrigger) GetShaken

func (x *MovementTrigger) GetShaken() bool

func (*MovementTrigger) ProtoMessage

func (*MovementTrigger) ProtoMessage()

func (*MovementTrigger) ProtoReflect

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

func (*MovementTrigger) Reset

func (x *MovementTrigger) Reset()

func (*MovementTrigger) String

func (x *MovementTrigger) String() string

type NetworkTrigger

type NetworkTrigger struct {
	Connected bool `protobuf:"varint,1,opt,name=connected,proto3" json:"connected,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkTrigger) Descriptor deprecated

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

Deprecated: Use NetworkTrigger.ProtoReflect.Descriptor instead.

func (*NetworkTrigger) GetConnected

func (x *NetworkTrigger) GetConnected() bool

func (*NetworkTrigger) ProtoMessage

func (*NetworkTrigger) ProtoMessage()

func (*NetworkTrigger) ProtoReflect

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

func (*NetworkTrigger) Reset

func (x *NetworkTrigger) Reset()

func (*NetworkTrigger) String

func (x *NetworkTrigger) String() string

type OnBootTrigger

type OnBootTrigger struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*OnBootTrigger) Descriptor deprecated

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

Deprecated: Use OnBootTrigger.ProtoReflect.Descriptor instead.

func (*OnBootTrigger) GetEnabled

func (x *OnBootTrigger) GetEnabled() bool

func (*OnBootTrigger) ProtoMessage

func (*OnBootTrigger) ProtoMessage()

func (*OnBootTrigger) ProtoReflect

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

func (*OnBootTrigger) Reset

func (x *OnBootTrigger) Reset()

func (*OnBootTrigger) String

func (x *OnBootTrigger) String() string

type OnInstallTrigger

type OnInstallTrigger struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*OnInstallTrigger) Descriptor deprecated

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

Deprecated: Use OnInstallTrigger.ProtoReflect.Descriptor instead.

func (*OnInstallTrigger) GetEnabled

func (x *OnInstallTrigger) GetEnabled() bool

func (*OnInstallTrigger) ProtoMessage

func (*OnInstallTrigger) ProtoMessage()

func (*OnInstallTrigger) ProtoReflect

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

func (*OnInstallTrigger) Reset

func (x *OnInstallTrigger) Reset()

func (*OnInstallTrigger) String

func (x *OnInstallTrigger) String() string

type Organization

type Organization struct {
	Id             []byte          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DefaultSdk     string          `protobuf:"bytes,3,opt,name=default_sdk,json=defaultSdk,proto3" json:"default_sdk,omitempty"`
	Email          string          `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	City           string          `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
	Country        string          `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	PhoneNumber    string          `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	CvrNumber      string          `protobuf:"bytes,8,opt,name=cvr_number,json=cvrNumber,proto3" json:"cvr_number,omitempty"` // Not used
	Tier           Tier_Type       `protobuf:"varint,9,opt,name=tier,proto3,enum=toit.model.Tier_Type" json:"tier,omitempty"`
	PaymentDetails *PaymentDetails `protobuf:"bytes,10,opt,name=payment_details,json=paymentDetails,proto3" json:"payment_details,omitempty"`
	AddressLine    string          `protobuf:"bytes,11,opt,name=address_line,json=addressLine,proto3" json:"address_line,omitempty"`
	PostalCode     string          `protobuf:"bytes,12,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	VatNumber      string          `protobuf:"bytes,13,opt,name=vat_number,json=vatNumber,proto3" json:"vat_number,omitempty"`
	VatCountryCode string          `protobuf:"bytes,14,opt,name=vat_country_code,json=vatCountryCode,proto3" json:"vat_country_code,omitempty"`
	Customer       Customer_Type   `protobuf:"varint,15,opt,name=customer,proto3,enum=toit.model.Customer_Type" json:"customer,omitempty"`
	HwidQuota      uint64          `protobuf:"varint,16,opt,name=hwid_quota,json=hwidQuota,proto3" json:"hwid_quota,omitempty"`
	// contains filtered or unexported fields
}

func (*Organization) Descriptor deprecated

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

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetAddressLine

func (x *Organization) GetAddressLine() string

func (*Organization) GetCity

func (x *Organization) GetCity() string

func (*Organization) GetCountry

func (x *Organization) GetCountry() string

func (*Organization) GetCustomer

func (x *Organization) GetCustomer() Customer_Type

func (*Organization) GetCvrNumber

func (x *Organization) GetCvrNumber() string

func (*Organization) GetDefaultSdk

func (x *Organization) GetDefaultSdk() string

func (*Organization) GetEmail

func (x *Organization) GetEmail() string

func (*Organization) GetHwidQuota

func (x *Organization) GetHwidQuota() uint64

func (*Organization) GetId

func (x *Organization) GetId() []byte

func (*Organization) GetName

func (x *Organization) GetName() string

func (*Organization) GetPaymentDetails

func (x *Organization) GetPaymentDetails() *PaymentDetails

func (*Organization) GetPhoneNumber

func (x *Organization) GetPhoneNumber() string

func (*Organization) GetPostalCode

func (x *Organization) GetPostalCode() string

func (*Organization) GetTier

func (x *Organization) GetTier() Tier_Type

func (*Organization) GetVatCountryCode

func (x *Organization) GetVatCountryCode() string

func (*Organization) GetVatNumber

func (x *Organization) GetVatNumber() string

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

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

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

type PaymentDetails

type PaymentDetails struct {
	Last4       string `protobuf:"bytes,1,opt,name=last4,proto3" json:"last4,omitempty"`
	Expiry      string `protobuf:"bytes,2,opt,name=expiry,proto3" json:"expiry,omitempty"` // Not used
	ExpiryMonth string `protobuf:"bytes,3,opt,name=expiry_month,json=expiryMonth,proto3" json:"expiry_month,omitempty"`
	ExpiryYear  string `protobuf:"bytes,4,opt,name=expiry_year,json=expiryYear,proto3" json:"expiry_year,omitempty"`
	Brand       string `protobuf:"bytes,5,opt,name=brand,proto3" json:"brand,omitempty"`
	CountryCode string `protobuf:"bytes,6,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	CvcCheck    string `protobuf:"bytes,7,opt,name=cvc_check,json=cvcCheck,proto3" json:"cvc_check,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentDetails) Descriptor deprecated

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

Deprecated: Use PaymentDetails.ProtoReflect.Descriptor instead.

func (*PaymentDetails) GetBrand

func (x *PaymentDetails) GetBrand() string

func (*PaymentDetails) GetCountryCode

func (x *PaymentDetails) GetCountryCode() string

func (*PaymentDetails) GetCvcCheck

func (x *PaymentDetails) GetCvcCheck() string

func (*PaymentDetails) GetExpiry

func (x *PaymentDetails) GetExpiry() string

func (*PaymentDetails) GetExpiryMonth

func (x *PaymentDetails) GetExpiryMonth() string

func (*PaymentDetails) GetExpiryYear

func (x *PaymentDetails) GetExpiryYear() string

func (*PaymentDetails) GetLast4

func (x *PaymentDetails) GetLast4() string

func (*PaymentDetails) ProtoMessage

func (*PaymentDetails) ProtoMessage()

func (*PaymentDetails) ProtoReflect

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

func (*PaymentDetails) Reset

func (x *PaymentDetails) Reset()

func (*PaymentDetails) String

func (x *PaymentDetails) String() string

type PlotMetricData deprecated

type PlotMetricData struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	// name_index references the name in the names list in MetricsData.
	NameIndex uint32                 `protobuf:"varint,2,opt,name=name_index,json=nameIndex,proto3" json:"name_index,omitempty"`
	Created   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Tags      map[uint32]uint32      `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*PlotMetricData) Descriptor deprecated

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

Deprecated: Use PlotMetricData.ProtoReflect.Descriptor instead.

func (*PlotMetricData) GetCreated

func (x *PlotMetricData) GetCreated() *timestamppb.Timestamp

func (*PlotMetricData) GetNameIndex

func (x *PlotMetricData) GetNameIndex() uint32

func (*PlotMetricData) GetTags

func (x *PlotMetricData) GetTags() map[uint32]uint32

func (*PlotMetricData) GetValue

func (x *PlotMetricData) GetValue() float64

func (*PlotMetricData) ProtoMessage

func (*PlotMetricData) ProtoMessage()

func (*PlotMetricData) ProtoReflect

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

func (*PlotMetricData) Reset

func (x *PlotMetricData) Reset()

func (*PlotMetricData) String

func (x *PlotMetricData) String() string

type Program

type Program struct {
	Id             []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Temporary      bool                   `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	SourceId       []byte                 `protobuf:"bytes,5,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
	Source         *Source                `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	OrganizationId []byte                 `protobuf:"bytes,7,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	CreatorId      []byte                 `protobuf:"bytes,8,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Program) Descriptor deprecated

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

Deprecated: Use Program.ProtoReflect.Descriptor instead.

func (*Program) GetCreatedAt

func (x *Program) GetCreatedAt() *timestamppb.Timestamp

func (*Program) GetCreatorId

func (x *Program) GetCreatorId() []byte

func (*Program) GetId

func (x *Program) GetId() []byte

func (*Program) GetName

func (x *Program) GetName() string

func (*Program) GetOrganizationId

func (x *Program) GetOrganizationId() []byte

func (*Program) GetSource

func (x *Program) GetSource() *Source

func (*Program) GetSourceId

func (x *Program) GetSourceId() []byte

func (*Program) GetTemporary

func (x *Program) GetTemporary() bool

func (*Program) ProtoMessage

func (*Program) ProtoMessage()

func (*Program) ProtoReflect

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

func (*Program) Reset

func (x *Program) Reset()

func (*Program) String

func (x *Program) String() string

type PubSubTrigger

type PubSubTrigger struct {
	Topics []*pubsub.Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
	// contains filtered or unexported fields
}

func (*PubSubTrigger) Descriptor deprecated

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

Deprecated: Use PubSubTrigger.ProtoReflect.Descriptor instead.

func (*PubSubTrigger) GetTopics

func (x *PubSubTrigger) GetTopics() []*pubsub.Topic

func (*PubSubTrigger) ProtoMessage

func (*PubSubTrigger) ProtoMessage()

func (*PubSubTrigger) ProtoReflect

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

func (*PubSubTrigger) Reset

func (x *PubSubTrigger) Reset()

func (*PubSubTrigger) String

func (x *PubSubTrigger) String() string

type ReleaseLevel

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

func (*ReleaseLevel) Descriptor deprecated

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

Deprecated: Use ReleaseLevel.ProtoReflect.Descriptor instead.

func (*ReleaseLevel) ProtoMessage

func (*ReleaseLevel) ProtoMessage()

func (*ReleaseLevel) ProtoReflect

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

func (*ReleaseLevel) Reset

func (x *ReleaseLevel) Reset()

func (*ReleaseLevel) String

func (x *ReleaseLevel) String() string

type ReleaseLevel_Type

type ReleaseLevel_Type int32
const (
	ReleaseLevel_UNKNOWN  ReleaseLevel_Type = 0
	ReleaseLevel_RELEASED ReleaseLevel_Type = 10
	ReleaseLevel_BETA     ReleaseLevel_Type = 20
	ReleaseLevel_ALPHA    ReleaseLevel_Type = 30
	ReleaseLevel_EDGE     ReleaseLevel_Type = 40
	ReleaseLevel_LATEST   ReleaseLevel_Type = 50
	ReleaseLevel_ALL      ReleaseLevel_Type = 255
)

func (ReleaseLevel_Type) Descriptor

func (ReleaseLevel_Type) Enum

func (ReleaseLevel_Type) EnumDescriptor deprecated

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

Deprecated: Use ReleaseLevel_Type.Descriptor instead.

func (ReleaseLevel_Type) Number

func (ReleaseLevel_Type) String

func (x ReleaseLevel_Type) String() string

func (ReleaseLevel_Type) Type

type SDK

type SDK struct {
	Name         string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version      string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy    string                 `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Settings     map[string]string      `` /* 157-byte string literal not displayed */
	Models       []string               `protobuf:"bytes,6,rep,name=models,proto3" json:"models,omitempty"`
	ReleaseLevel ReleaseLevel_Type      `` /* 132-byte string literal not displayed */
	Deprecated   bool                   `protobuf:"varint,8,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// contains filtered or unexported fields
}

func (*SDK) Descriptor deprecated

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

Deprecated: Use SDK.ProtoReflect.Descriptor instead.

func (*SDK) GetCreatedAt

func (x *SDK) GetCreatedAt() *timestamppb.Timestamp

func (*SDK) GetCreatedBy

func (x *SDK) GetCreatedBy() string

func (*SDK) GetDeprecated

func (x *SDK) GetDeprecated() bool

func (*SDK) GetModels

func (x *SDK) GetModels() []string

func (*SDK) GetName

func (x *SDK) GetName() string

func (*SDK) GetReleaseLevel

func (x *SDK) GetReleaseLevel() ReleaseLevel_Type

func (*SDK) GetSettings

func (x *SDK) GetSettings() map[string]string

func (*SDK) GetVersion

func (x *SDK) GetVersion() string

func (*SDK) ProtoMessage

func (*SDK) ProtoMessage()

func (*SDK) ProtoReflect

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

func (*SDK) Reset

func (x *SDK) Reset()

func (*SDK) String

func (x *SDK) String() string

type Source

type Source struct {
	Id             []byte                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	OrganizationId []byte                 `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	CreatorId      []byte                 `protobuf:"bytes,5,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetCreatedAt

func (x *Source) GetCreatedAt() *timestamppb.Timestamp

func (*Source) GetCreatorId

func (x *Source) GetCreatorId() []byte

func (*Source) GetId

func (x *Source) GetId() []byte

func (*Source) GetOrganizationId

func (x *Source) GetOrganizationId() []byte

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type Tier

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

func (*Tier) Descriptor deprecated

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

Deprecated: Use Tier.ProtoReflect.Descriptor instead.

func (*Tier) ProtoMessage

func (*Tier) ProtoMessage()

func (*Tier) ProtoReflect

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

func (*Tier) Reset

func (x *Tier) Reset()

func (*Tier) String

func (x *Tier) String() string

type Tier_Type

type Tier_Type int32
const (
	Tier_UNKNOWN Tier_Type = 0
	Tier_FREE    Tier_Type = 1
	Tier_PAID    Tier_Type = 2
)

func (Tier_Type) Descriptor

func (Tier_Type) Descriptor() protoreflect.EnumDescriptor

func (Tier_Type) Enum

func (x Tier_Type) Enum() *Tier_Type

func (Tier_Type) EnumDescriptor deprecated

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

Deprecated: Use Tier_Type.Descriptor instead.

func (Tier_Type) Number

func (x Tier_Type) Number() protoreflect.EnumNumber

func (Tier_Type) String

func (x Tier_Type) String() string

func (Tier_Type) Type

type TopicData

type TopicData struct {
	Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Data  []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*TopicData) Descriptor deprecated

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

Deprecated: Use TopicData.ProtoReflect.Descriptor instead.

func (*TopicData) GetData

func (x *TopicData) GetData() []byte

func (*TopicData) GetTopic

func (x *TopicData) GetTopic() string

func (*TopicData) ProtoMessage

func (*TopicData) ProtoMessage()

func (*TopicData) ProtoReflect

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

func (*TopicData) Reset

func (x *TopicData) Reset()

func (*TopicData) String

func (x *TopicData) String() string

type User

type User struct {
	Id             []byte         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrganizationId []byte         `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Email          string         `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Name           string         `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Settings       *User_Settings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"`
	Role           string         `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
	State          *User_State    `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() []byte

func (*User) GetName

func (x *User) GetName() string

func (*User) GetOrganizationId

func (x *User) GetOrganizationId() []byte

func (*User) GetRole added in v0.12.0

func (x *User) GetRole() string

func (*User) GetSettings

func (x *User) GetSettings() *User_Settings

func (*User) GetState added in v0.12.0

func (x *User) GetState() *User_State

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type User_Settings

type User_Settings struct {
	WelcomeClosed bool `protobuf:"varint,1,opt,name=welcome_closed,json=welcomeClosed,proto3" json:"welcome_closed,omitempty"`
	Newsletter    bool `protobuf:"varint,2,opt,name=newsletter,proto3" json:"newsletter,omitempty"`
	// contains filtered or unexported fields
}

func (*User_Settings) Descriptor deprecated

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

Deprecated: Use User_Settings.ProtoReflect.Descriptor instead.

func (*User_Settings) GetNewsletter

func (x *User_Settings) GetNewsletter() bool

func (*User_Settings) GetWelcomeClosed

func (x *User_Settings) GetWelcomeClosed() bool

func (*User_Settings) ProtoMessage

func (*User_Settings) ProtoMessage()

func (*User_Settings) ProtoReflect

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

func (*User_Settings) Reset

func (x *User_Settings) Reset()

func (*User_Settings) String

func (x *User_Settings) String() string

type User_State added in v0.12.0

type User_State struct {
	CliInstalledAt          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=cli_installed_at,json=cliInstalledAt,proto3" json:"cli_installed_at,omitempty"`
	VscodeExtInstalledAt    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=vscode_ext_installed_at,json=vscodeExtInstalledAt,proto3" json:"vscode_ext_installed_at,omitempty"`
	QuestionnaireAnsweredAt *timestamppb.Timestamp `` /* 132-byte string literal not displayed */
	DeployedAppAt           *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deployed_app_at,json=deployedAppAt,proto3" json:"deployed_app_at,omitempty"`
	RanCodeAt               *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ran_code_at,json=ranCodeAt,proto3" json:"ran_code_at,omitempty"`
	ClaimedDeviceAt         *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=claimed_device_at,json=claimedDeviceAt,proto3" json:"claimed_device_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User_State) Descriptor deprecated added in v0.12.0

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

Deprecated: Use User_State.ProtoReflect.Descriptor instead.

func (*User_State) GetClaimedDeviceAt added in v0.12.0

func (x *User_State) GetClaimedDeviceAt() *timestamppb.Timestamp

func (*User_State) GetCliInstalledAt added in v0.12.0

func (x *User_State) GetCliInstalledAt() *timestamppb.Timestamp

func (*User_State) GetDeployedAppAt added in v0.12.0

func (x *User_State) GetDeployedAppAt() *timestamppb.Timestamp

func (*User_State) GetQuestionnaireAnsweredAt added in v0.12.0

func (x *User_State) GetQuestionnaireAnsweredAt() *timestamppb.Timestamp

func (*User_State) GetRanCodeAt added in v0.12.0

func (x *User_State) GetRanCodeAt() *timestamppb.Timestamp

func (*User_State) GetVscodeExtInstalledAt added in v0.12.0

func (x *User_State) GetVscodeExtInstalledAt() *timestamppb.Timestamp

func (*User_State) ProtoMessage added in v0.12.0

func (*User_State) ProtoMessage()

func (*User_State) ProtoReflect added in v0.12.0

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

func (*User_State) Reset added in v0.12.0

func (x *User_State) Reset()

func (*User_State) String added in v0.12.0

func (x *User_State) String() string

type WifiSetting

type WifiSetting struct {
	Ssid     string `protobuf:"bytes,1,opt,name=ssid,proto3" json:"ssid,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiSetting) Descriptor deprecated

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

Deprecated: Use WifiSetting.ProtoReflect.Descriptor instead.

func (*WifiSetting) GetPassword

func (x *WifiSetting) GetPassword() string

func (*WifiSetting) GetSsid

func (x *WifiSetting) GetSsid() string

func (*WifiSetting) ProtoMessage

func (*WifiSetting) ProtoMessage()

func (*WifiSetting) ProtoReflect

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

func (*WifiSetting) Reset

func (x *WifiSetting) Reset()

func (*WifiSetting) String

func (x *WifiSetting) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL