api

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ListAppsRequest_OrderBy_name = map[int32]string{
		0: "ADDED_ID",
		1: "NAME",
	}
	ListAppsRequest_OrderBy_value = map[string]int32{
		"ADDED_ID": 0,
		"NAME":     1,
	}
)

Enum value maps for ListAppsRequest_OrderBy.

View Source
var (
	DataType_name = map[int32]string{
		0: "UNKNOWN",
		1: "LOGS",
		2: "METRICS",
		3: "TOPIC_DATA",
	}
	DataType_value = map[string]int32{
		"UNKNOWN":    0,
		"LOGS":       1,
		"METRICS":    2,
		"TOPIC_DATA": 3,
	}
)

Enum value maps for DataType.

View Source
var (
	ProcessStatus_name = map[int32]string{
		0: "PROCESS_STATUS_UNKNOWN",
		1: "PROCESS_STATUS_RUNNING",
		2: "PROCESS_STATUS_TERMINATED",
	}
	ProcessStatus_value = map[string]int32{
		"PROCESS_STATUS_UNKNOWN":    0,
		"PROCESS_STATUS_RUNNING":    1,
		"PROCESS_STATUS_TERMINATED": 2,
	}
)

Enum value maps for ProcessStatus.

View Source
var (
	ProcessGoalStatus_name = map[int32]string{
		0: "PROCESS_GOAL_STATUS_UNKNOWN",
		1: "PROCESS_GOAL_STATUS_RUNNING",
		2: "PROCESS_GOAL_STATUS_TERMINATED",
	}
	ProcessGoalStatus_value = map[string]int32{
		"PROCESS_GOAL_STATUS_UNKNOWN":    0,
		"PROCESS_GOAL_STATUS_RUNNING":    1,
		"PROCESS_GOAL_STATUS_TERMINATED": 2,
	}
)

Enum value maps for ProcessGoalStatus.

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

Enum value maps for DeviceLog_Type.

View Source
var (
	GetDevicePartitionsRequest_Mode_name = map[int32]string{
		0: "UNKNOWN",
		2: "SYSTEM",
		3: "INITIAL",
		4: "REPARTITION",
	}
	GetDevicePartitionsRequest_Mode_value = map[string]int32{
		"UNKNOWN":     0,
		"SYSTEM":      2,
		"INITIAL":     3,
		"REPARTITION": 4,
	}
)

Enum value maps for GetDevicePartitionsRequest_Mode.

View Source
var (
	HardwareEvent_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "LOGS",
		2: "METRICS",
		3: "PUBSUB",
	}
	HardwareEvent_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"LOGS":    1,
		"METRICS": 2,
		"PUBSUB":  3,
	}
)

Enum value maps for HardwareEvent_Type.

View Source
var AppService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.AppService",
	HandlerType: (*AppServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApp",
			Handler:    _AppService_CreateApp_Handler,
		},
		{
			MethodName: "GetApp",
			Handler:    _AppService_GetApp_Handler,
		},
		{
			MethodName: "GetAppFiles",
			Handler:    _AppService_GetAppFiles_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListApps",
			Handler:       _AppService_ListApps_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/app.proto",
}

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

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _Auth_Login_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _Auth_Refresh_Handler,
		},
		{
			MethodName: "ChangeOrganization",
			Handler:    _Auth_ChangeOrganization_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _Auth_Logout_Handler,
		},
		{
			MethodName: "CreateOrganization",
			Handler:    _Auth_CreateOrganization_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "toit/api/auth.proto",
}

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

View Source
var DataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.DataService",
	HandlerType: (*DataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSubscription",
			Handler:    _DataService_CreateSubscription_Handler,
		},
		{
			MethodName: "DeleteSubscription",
			Handler:    _DataService_DeleteSubscription_Handler,
		},
		{
			MethodName: "ListSubscriptions",
			Handler:    _DataService_ListSubscriptions_Handler,
		},
		{
			MethodName: "Fetch",
			Handler:    _DataService_Fetch_Handler,
		},
		{
			MethodName: "Acknowledge",
			Handler:    _DataService_Acknowledge_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Stream",
			Handler:       _DataService_Stream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/data.proto",
}

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

View Source
var DeviceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.DeviceService",
	HandlerType: (*DeviceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDevice",
			Handler:    _DeviceService_GetDevice_Handler,
		},
		{
			MethodName: "ConfigureDevice",
			Handler:    _DeviceService_ConfigureDevice_Handler,
		},
		{
			MethodName: "LookupDevices",
			Handler:    _DeviceService_LookupDevices_Handler,
		},
		{
			MethodName: "ListDevices",
			Handler:    _DeviceService_ListDevices_Handler,
		},
		{
			MethodName: "ListJobs",
			Handler:    _DeviceService_ListJobs_Handler,
		},
		{
			MethodName: "InstallJob",
			Handler:    _DeviceService_InstallJob_Handler,
		},
		{
			MethodName: "ConfigureJob",
			Handler:    _DeviceService_ConfigureJob_Handler,
		},
		{
			MethodName: "RebootDevice",
			Handler:    _DeviceService_RebootDevice_Handler,
		},
		{
			MethodName: "ReadDeviceLogs",
			Handler:    _DeviceService_ReadDeviceLogs_Handler,
		},
		{
			MethodName: "ReadDeviceEvents",
			Handler:    _DeviceService_ReadDeviceEvents_Handler,
		},
		{
			MethodName: "GetDevicePartitions",
			Handler:    _DeviceService_GetDevicePartitions_Handler,
		},
		{
			MethodName: "GetCurrentTime",
			Handler:    _DeviceService_GetCurrentTime_Handler,
		},
		{
			MethodName: "UnclaimDevice",
			Handler:    _DeviceService_UnclaimDevice_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchDeviceChanges",
			Handler:       _DeviceService_WatchDeviceChanges_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchJobChanges",
			Handler:       _DeviceService_WatchJobChanges_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "WatchSessionChanges",
			Handler:       _DeviceService_WatchSessionChanges_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/device.proto",
}

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

View Source
var DoctorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.DoctorService",
	HandlerType: (*DoctorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _DoctorService_HealthCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "toit/api/doctor.proto",
}

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

View Source
var File_toit_api_app_proto protoreflect.FileDescriptor
View Source
var File_toit_api_auth_proto protoreflect.FileDescriptor
View Source
var File_toit_api_data_proto protoreflect.FileDescriptor
View Source
var File_toit_api_device_proto protoreflect.FileDescriptor
View Source
var File_toit_api_doctor_proto protoreflect.FileDescriptor
View Source
var File_toit_api_hardware_proto protoreflect.FileDescriptor
View Source
var File_toit_api_organization_proto protoreflect.FileDescriptor
View Source
var File_toit_api_program_proto protoreflect.FileDescriptor
View Source
var File_toit_api_sdk_proto protoreflect.FileDescriptor
View Source
var File_toit_api_simulator_proto protoreflect.FileDescriptor
View Source
var File_toit_api_user_proto protoreflect.FileDescriptor
View Source
var FlashStation_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.FlashStation",
	HandlerType: (*FlashStationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ClaimHardwareIdentity",
			Handler:    _FlashStation_ClaimHardwareIdentity_Handler,
		},
		{
			MethodName: "SetHardwareIdentityInfo",
			Handler:    _FlashStation_SetHardwareIdentityInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "toit/api/hardware.proto",
}

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

View Source
var HardwareService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.HardwareService",
	HandlerType: (*HardwareServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Claim",
			Handler:    _HardwareService_Claim_Handler,
		},
		{
			MethodName: "Replace",
			Handler:    _HardwareService_Replace_Handler,
		},
		{
			MethodName: "GetActiveDeviceID",
			Handler:    _HardwareService_GetActiveDeviceID_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "HardwareEvents",
			Handler:       _HardwareService_HardwareEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/hardware.proto",
}

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

View Source
var OrganizationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.OrganizationService",
	HandlerType: (*OrganizationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUser",
			Handler:    _OrganizationService_GetUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _OrganizationService_ListUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _OrganizationService_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _OrganizationService_DeleteUser_Handler,
		},
		{
			MethodName: "CreateAPIKey",
			Handler:    _OrganizationService_CreateAPIKey_Handler,
		},
		{
			MethodName: "DeleteAPIKey",
			Handler:    _OrganizationService_DeleteAPIKey_Handler,
		},
		{
			MethodName: "GetAPIKeySecret",
			Handler:    _OrganizationService_GetAPIKeySecret_Handler,
		},
		{
			MethodName: "UpdateOrganization",
			Handler:    _OrganizationService_UpdateOrganization_Handler,
		},
		{
			MethodName: "CreateNewOrganization",
			Handler:    _OrganizationService_CreateNewOrganization_Handler,
		},
		{
			MethodName: "ClaimHardwareIdentity",
			Handler:    _OrganizationService_ClaimHardwareIdentity_Handler,
		},
		{
			MethodName: "SetHardwareIdentityInfo",
			Handler:    _OrganizationService_SetHardwareIdentityInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListAPIKeys",
			Handler:       _OrganizationService_ListAPIKeys_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/organization.proto",
}

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

View Source
var ProgramService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.ProgramService",
	HandlerType: (*ProgramServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Compile",
			Handler:    _ProgramService_Compile_Handler,
		},
		{
			MethodName: "Analyze",
			Handler:    _ProgramService_Analyze_Handler,
		},
		{
			MethodName: "SyntaxAnalyze",
			Handler:    _ProgramService_SyntaxAnalyze_Handler,
		},
		{
			MethodName: "GetProgram",
			Handler:    _ProgramService_GetProgram_Handler,
		},
		{
			MethodName: "GetCompilation",
			Handler:    _ProgramService_GetCompilation_Handler,
		},
		{
			MethodName: "LookupPrograms",
			Handler:    _ProgramService_LookupPrograms_Handler,
		},
		{
			MethodName: "DecodeSystemMessage",
			Handler:    _ProgramService_DecodeSystemMessage_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Run",
			Handler:       _ProgramService_Run_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "RunStart",
			Handler:       _ProgramService_RunStart_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeviceRun",
			Handler:       _ProgramService_DeviceRun_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/program.proto",
}

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

View Source
var SDKService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.SDKService",
	HandlerType: (*SDKServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterSDK",
			Handler:    _SDKService_RegisterSDK_Handler,
		},
		{
			MethodName: "DeregisterSDK",
			Handler:    _SDKService_DeregisterSDK_Handler,
		},
		{
			MethodName: "LookupSDK",
			Handler:    _SDKService_LookupSDK_Handler,
		},
		{
			MethodName: "ValidateModel",
			Handler:    _SDKService_ValidateModel_Handler,
		},
		{
			MethodName: "SetDefaultSDK",
			Handler:    _SDKService_SetDefaultSDK_Handler,
		},
		{
			MethodName: "DefaultSDK",
			Handler:    _SDKService_DefaultSDK_Handler,
		},
		{
			MethodName: "ListSDKs",
			Handler:    _SDKService_ListSDKs_Handler,
		},
		{
			MethodName: "GetFirmwareElf",
			Handler:    _SDKService_GetFirmwareElf_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "toit/api/sdk.proto",
}

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

View Source
var SimulatorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.SimulatorService",
	HandlerType: (*SimulatorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSimulator",
			Handler:    _SimulatorService_CreateSimulator_Handler,
		},
		{
			MethodName: "RemoveSimulator",
			Handler:    _SimulatorService_RemoveSimulator_Handler,
		},
		{
			MethodName: "ListSimulators",
			Handler:    _SimulatorService_ListSimulators_Handler,
		},
		{
			MethodName: "CreateHardwareIdentity",
			Handler:    _SimulatorService_CreateHardwareIdentity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "toit/api/simulator.proto",
}

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

View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "toit.api.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetPassword",
			Handler:    _User_SetPassword_Handler,
		},
		{
			MethodName: "InitiateResetPassword",
			Handler:    _User_InitiateResetPassword_Handler,
		},
		{
			MethodName: "ChangePasswordWithRPToken",
			Handler:    _User_ChangePasswordWithRPToken_Handler,
		},
		{
			MethodName: "GetCurrentUser",
			Handler:    _User_GetCurrentUser_Handler,
		},
		{
			MethodName: "ListOrganizations",
			Handler:    _User_ListOrganizations_Handler,
		},
		{
			MethodName: "GetOrganization",
			Handler:    _User_GetOrganization_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _User_ListUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "CreatePaymentSubscription",
			Handler:    _User_CreatePaymentSubscription_Handler,
		},
		{
			MethodName: "CancelPaymentSubscription",
			Handler:    _User_CancelPaymentSubscription_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListPaymentInvoices",
			Handler:       _User_ListPaymentInvoices_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "toit/api/user.proto",
}

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

Functions

func RegisterAppServiceServer

func RegisterAppServiceServer(s grpc.ServiceRegistrar, srv AppServiceServer)

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

func RegisterDataServiceServer

func RegisterDataServiceServer(s grpc.ServiceRegistrar, srv DataServiceServer)

func RegisterDeviceServiceServer

func RegisterDeviceServiceServer(s grpc.ServiceRegistrar, srv DeviceServiceServer)

func RegisterDoctorServiceServer

func RegisterDoctorServiceServer(s grpc.ServiceRegistrar, srv DoctorServiceServer)

func RegisterFlashStationServer

func RegisterFlashStationServer(s grpc.ServiceRegistrar, srv FlashStationServer)

func RegisterHardwareServiceServer

func RegisterHardwareServiceServer(s grpc.ServiceRegistrar, srv HardwareServiceServer)

func RegisterOrganizationServiceServer

func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)

func RegisterProgramServiceServer

func RegisterProgramServiceServer(s grpc.ServiceRegistrar, srv ProgramServiceServer)

func RegisterSDKServiceServer

func RegisterSDKServiceServer(s grpc.ServiceRegistrar, srv SDKServiceServer)

func RegisterSimulatorServiceServer

func RegisterSimulatorServiceServer(s grpc.ServiceRegistrar, srv SimulatorServiceServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type AcknowledgeRequest

type AcknowledgeRequest struct {
	Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
	MessageIds   [][]byte      `protobuf:"bytes,2,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*AcknowledgeRequest) Descriptor deprecated

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

Deprecated: Use AcknowledgeRequest.ProtoReflect.Descriptor instead.

func (*AcknowledgeRequest) GetMessageIds

func (x *AcknowledgeRequest) GetMessageIds() [][]byte

func (*AcknowledgeRequest) GetSubscription

func (x *AcknowledgeRequest) GetSubscription() *Subscription

func (*AcknowledgeRequest) ProtoMessage

func (*AcknowledgeRequest) ProtoMessage()

func (*AcknowledgeRequest) ProtoReflect

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

func (*AcknowledgeRequest) Reset

func (x *AcknowledgeRequest) Reset()

func (*AcknowledgeRequest) String

func (x *AcknowledgeRequest) String() string

type AcknowledgeResponse

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

func (*AcknowledgeResponse) Descriptor deprecated

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

Deprecated: Use AcknowledgeResponse.ProtoReflect.Descriptor instead.

func (*AcknowledgeResponse) ProtoMessage

func (*AcknowledgeResponse) ProtoMessage()

func (*AcknowledgeResponse) ProtoReflect

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

func (*AcknowledgeResponse) Reset

func (x *AcknowledgeResponse) Reset()

func (*AcknowledgeResponse) String

func (x *AcknowledgeResponse) String() string

type AnalyzeRequest

type AnalyzeRequest struct {

	// Types that are assignable to Program:
	//	*AnalyzeRequest_Source_
	//	*AnalyzeRequest_CompilationId
	Program isAnalyzeRequest_Program `protobuf_oneof:"program"`
	// contains filtered or unexported fields
}

func (*AnalyzeRequest) Descriptor deprecated

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

Deprecated: Use AnalyzeRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeRequest) GetCompilationId

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

func (*AnalyzeRequest) GetProgram

func (m *AnalyzeRequest) GetProgram() isAnalyzeRequest_Program

func (*AnalyzeRequest) GetSource

func (x *AnalyzeRequest) GetSource() *AnalyzeRequest_Source

func (*AnalyzeRequest) ProtoMessage

func (*AnalyzeRequest) ProtoMessage()

func (*AnalyzeRequest) ProtoReflect

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

func (*AnalyzeRequest) Reset

func (x *AnalyzeRequest) Reset()

func (*AnalyzeRequest) String

func (x *AnalyzeRequest) String() string

type AnalyzeRequest_CompilationId

type AnalyzeRequest_CompilationId struct {
	CompilationId []byte `protobuf:"bytes,2,opt,name=compilation_id,json=compilationId,proto3,oneof"`
}

type AnalyzeRequest_Source

type AnalyzeRequest_Source struct {
	SdkName       string            `protobuf:"bytes,1,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	EntryFilename string            `protobuf:"bytes,2,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	Sources       map[string][]byte `` /* 155-byte string literal not displayed */
	Args          []string          `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyzeRequest_Source) Descriptor deprecated

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

Deprecated: Use AnalyzeRequest_Source.ProtoReflect.Descriptor instead.

func (*AnalyzeRequest_Source) GetArgs

func (x *AnalyzeRequest_Source) GetArgs() []string

func (*AnalyzeRequest_Source) GetEntryFilename

func (x *AnalyzeRequest_Source) GetEntryFilename() string

func (*AnalyzeRequest_Source) GetSdkName

func (x *AnalyzeRequest_Source) GetSdkName() string

func (*AnalyzeRequest_Source) GetSources

func (x *AnalyzeRequest_Source) GetSources() map[string][]byte

func (*AnalyzeRequest_Source) ProtoMessage

func (*AnalyzeRequest_Source) ProtoMessage()

func (*AnalyzeRequest_Source) ProtoReflect

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

func (*AnalyzeRequest_Source) Reset

func (x *AnalyzeRequest_Source) Reset()

func (*AnalyzeRequest_Source) String

func (x *AnalyzeRequest_Source) String() string

type AnalyzeRequest_Source_

type AnalyzeRequest_Source_ struct {
	Source *AnalyzeRequest_Source `protobuf:"bytes,1,opt,name=source,proto3,oneof"`
}

type AnalyzeResponse

type AnalyzeResponse struct {
	Stderr   []byte                    `protobuf:"bytes,1,opt,name=stderr,proto3" json:"stderr,omitempty"`
	Features *AnalyzeResponse_Features `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyzeResponse) Descriptor deprecated

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

Deprecated: Use AnalyzeResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeResponse) GetFeatures

func (x *AnalyzeResponse) GetFeatures() *AnalyzeResponse_Features

func (*AnalyzeResponse) GetStderr

func (x *AnalyzeResponse) GetStderr() []byte

func (*AnalyzeResponse) ProtoMessage

func (*AnalyzeResponse) ProtoMessage()

func (*AnalyzeResponse) ProtoReflect

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

func (*AnalyzeResponse) Reset

func (x *AnalyzeResponse) Reset()

func (*AnalyzeResponse) String

func (x *AnalyzeResponse) String() string

type AnalyzeResponse_Features

type AnalyzeResponse_Features struct {
	Gps                 bool     `protobuf:"varint,1,opt,name=gps,proto3" json:"gps,omitempty"`
	PubsubSubscriptions []string `protobuf:"bytes,2,rep,name=pubsub_subscriptions,json=pubsubSubscriptions,proto3" json:"pubsub_subscriptions,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyzeResponse_Features) Descriptor deprecated

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

Deprecated: Use AnalyzeResponse_Features.ProtoReflect.Descriptor instead.

func (*AnalyzeResponse_Features) GetGps

func (x *AnalyzeResponse_Features) GetGps() bool

func (*AnalyzeResponse_Features) GetPubsubSubscriptions

func (x *AnalyzeResponse_Features) GetPubsubSubscriptions() []string

func (*AnalyzeResponse_Features) ProtoMessage

func (*AnalyzeResponse_Features) ProtoMessage()

func (*AnalyzeResponse_Features) ProtoReflect

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

func (*AnalyzeResponse_Features) Reset

func (x *AnalyzeResponse_Features) Reset()

func (*AnalyzeResponse_Features) String

func (x *AnalyzeResponse_Features) String() string

type AppServiceClient

type AppServiceClient interface {
	CreateApp(ctx context.Context, in *CreateAppRequest, opts ...grpc.CallOption) (*CreateAppResponse, error)
	GetApp(ctx context.Context, in *GetAppRequest, opts ...grpc.CallOption) (*GetAppResponse, error)
	GetAppFiles(ctx context.Context, in *GetAppFilesRequest, opts ...grpc.CallOption) (*GetAppFilesResponse, error)
	ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (AppService_ListAppsClient, error)
}

AppServiceClient is the client API for AppService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAppServiceClient

func NewAppServiceClient(cc grpc.ClientConnInterface) AppServiceClient

type AppServiceServer

type AppServiceServer interface {
	CreateApp(context.Context, *CreateAppRequest) (*CreateAppResponse, error)
	GetApp(context.Context, *GetAppRequest) (*GetAppResponse, error)
	GetAppFiles(context.Context, *GetAppFilesRequest) (*GetAppFilesResponse, error)
	ListApps(*ListAppsRequest, AppService_ListAppsServer) error
	// contains filtered or unexported methods
}

AppServiceServer is the server API for AppService service. All implementations must embed UnimplementedAppServiceServer for forward compatibility

type AppService_ListAppsClient

type AppService_ListAppsClient interface {
	Recv() (*ListAppsResponse, error)
	grpc.ClientStream
}

type AppService_ListAppsServer

type AppService_ListAppsServer interface {
	Send(*ListAppsResponse) error
	grpc.ServerStream
}

type AuthClient

type AuthClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	ChangeOrganization(ctx context.Context, in *ChangeOrganizationRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error)
}

AuthClient is the client API for Auth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthResponse

type AuthResponse struct {
	AccessToken  []byte               `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	TokenType    string               `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	ExpiresIn    *durationpb.Duration `protobuf:"bytes,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	RefreshToken []byte               `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthResponse) Descriptor deprecated

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

Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.

func (*AuthResponse) GetAccessToken

func (x *AuthResponse) GetAccessToken() []byte

func (*AuthResponse) GetExpiresIn

func (x *AuthResponse) GetExpiresIn() *durationpb.Duration

func (*AuthResponse) GetRefreshToken

func (x *AuthResponse) GetRefreshToken() []byte

func (*AuthResponse) GetTokenType

func (x *AuthResponse) GetTokenType() string

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) ProtoReflect

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

func (*AuthResponse) Reset

func (x *AuthResponse) Reset()

func (*AuthResponse) String

func (x *AuthResponse) String() string

type AuthServer

type AuthServer interface {
	Login(context.Context, *LoginRequest) (*AuthResponse, error)
	Refresh(context.Context, *RefreshRequest) (*AuthResponse, error)
	ChangeOrganization(context.Context, *ChangeOrganizationRequest) (*AuthResponse, error)
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
	// contains filtered or unexported methods
}

AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility

type CancelPaymentSubscriptionRequest

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

func (*CancelPaymentSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use CancelPaymentSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CancelPaymentSubscriptionRequest) ProtoMessage

func (*CancelPaymentSubscriptionRequest) ProtoMessage()

func (*CancelPaymentSubscriptionRequest) ProtoReflect

func (*CancelPaymentSubscriptionRequest) Reset

func (*CancelPaymentSubscriptionRequest) String

type CancelPaymentSubscriptionResponse

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

func (*CancelPaymentSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use CancelPaymentSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*CancelPaymentSubscriptionResponse) ProtoMessage

func (*CancelPaymentSubscriptionResponse) ProtoMessage()

func (*CancelPaymentSubscriptionResponse) ProtoReflect

func (*CancelPaymentSubscriptionResponse) Reset

func (*CancelPaymentSubscriptionResponse) String

type ChangeOrganizationRequest

type ChangeOrganizationRequest struct {
	OrganizationId []byte `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	RefreshToken   []byte `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // optional
	// contains filtered or unexported fields
}

func (*ChangeOrganizationRequest) Descriptor deprecated

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

Deprecated: Use ChangeOrganizationRequest.ProtoReflect.Descriptor instead.

func (*ChangeOrganizationRequest) GetOrganizationId

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

func (*ChangeOrganizationRequest) GetRefreshToken

func (x *ChangeOrganizationRequest) GetRefreshToken() []byte

func (*ChangeOrganizationRequest) ProtoMessage

func (*ChangeOrganizationRequest) ProtoMessage()

func (*ChangeOrganizationRequest) ProtoReflect

func (*ChangeOrganizationRequest) Reset

func (x *ChangeOrganizationRequest) Reset()

func (*ChangeOrganizationRequest) String

func (x *ChangeOrganizationRequest) String() string

type ChangePasswordWithRPTokenRequest

type ChangePasswordWithRPTokenRequest struct {
	Token       string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordWithRPTokenRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordWithRPTokenRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordWithRPTokenRequest) GetNewPassword

func (x *ChangePasswordWithRPTokenRequest) GetNewPassword() string

func (*ChangePasswordWithRPTokenRequest) GetToken

func (*ChangePasswordWithRPTokenRequest) ProtoMessage

func (*ChangePasswordWithRPTokenRequest) ProtoMessage()

func (*ChangePasswordWithRPTokenRequest) ProtoReflect

func (*ChangePasswordWithRPTokenRequest) Reset

func (*ChangePasswordWithRPTokenRequest) String

type ChangePasswordWithRPTokenResponse

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

func (*ChangePasswordWithRPTokenResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordWithRPTokenResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordWithRPTokenResponse) ProtoMessage

func (*ChangePasswordWithRPTokenResponse) ProtoMessage()

func (*ChangePasswordWithRPTokenResponse) ProtoReflect

func (*ChangePasswordWithRPTokenResponse) Reset

func (*ChangePasswordWithRPTokenResponse) String

type ClaimHardwareIdentityRequest

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

func (*ClaimHardwareIdentityRequest) Descriptor deprecated

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

Deprecated: Use ClaimHardwareIdentityRequest.ProtoReflect.Descriptor instead.

func (*ClaimHardwareIdentityRequest) GetFlashStationSecret

func (x *ClaimHardwareIdentityRequest) GetFlashStationSecret() string

func (*ClaimHardwareIdentityRequest) ProtoMessage

func (*ClaimHardwareIdentityRequest) ProtoMessage()

func (*ClaimHardwareIdentityRequest) ProtoReflect

func (*ClaimHardwareIdentityRequest) Reset

func (x *ClaimHardwareIdentityRequest) Reset()

func (*ClaimHardwareIdentityRequest) String

type ClaimHardwareIdentityResponse

type ClaimHardwareIdentityResponse struct {
	HardwareIdentity *model.HardwareIdentity `protobuf:"bytes,1,opt,name=hardware_identity,json=hardwareIdentity,proto3" json:"hardware_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimHardwareIdentityResponse) Descriptor deprecated

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

Deprecated: Use ClaimHardwareIdentityResponse.ProtoReflect.Descriptor instead.

func (*ClaimHardwareIdentityResponse) GetHardwareIdentity

func (x *ClaimHardwareIdentityResponse) GetHardwareIdentity() *model.HardwareIdentity

func (*ClaimHardwareIdentityResponse) ProtoMessage

func (*ClaimHardwareIdentityResponse) ProtoMessage()

func (*ClaimHardwareIdentityResponse) ProtoReflect

func (*ClaimHardwareIdentityResponse) Reset

func (x *ClaimHardwareIdentityResponse) Reset()

func (*ClaimHardwareIdentityResponse) String

type ClaimRequest

type ClaimRequest struct {
	HardwareId     []byte `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	InitDeviceName string `protobuf:"bytes,2,opt,name=init_device_name,json=initDeviceName,proto3" json:"init_device_name,omitempty"`
	// Optional to set. Default is the current org for the user.
	OrganizationId []byte `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimRequest) Descriptor deprecated

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

Deprecated: Use ClaimRequest.ProtoReflect.Descriptor instead.

func (*ClaimRequest) GetHardwareId

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

func (*ClaimRequest) GetInitDeviceName

func (x *ClaimRequest) GetInitDeviceName() string

func (*ClaimRequest) GetOrganizationId

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

func (*ClaimRequest) ProtoMessage

func (*ClaimRequest) ProtoMessage()

func (*ClaimRequest) ProtoReflect

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

func (*ClaimRequest) Reset

func (x *ClaimRequest) Reset()

func (*ClaimRequest) String

func (x *ClaimRequest) String() string

type ClaimResponse

type ClaimResponse struct {
	HardwareInfo   *model.HardwareInfo `protobuf:"bytes,1,opt,name=hardware_info,json=hardwareInfo,proto3" json:"hardware_info,omitempty"`
	DeviceId       []byte              `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	DeviceName     string              `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	OrganizationId []byte              `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ClaimResponse) Descriptor deprecated

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

Deprecated: Use ClaimResponse.ProtoReflect.Descriptor instead.

func (*ClaimResponse) GetDeviceId

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

func (*ClaimResponse) GetDeviceName

func (x *ClaimResponse) GetDeviceName() string

func (*ClaimResponse) GetHardwareInfo

func (x *ClaimResponse) GetHardwareInfo() *model.HardwareInfo

func (*ClaimResponse) GetOrganizationId

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

func (*ClaimResponse) ProtoMessage

func (*ClaimResponse) ProtoMessage()

func (*ClaimResponse) ProtoReflect

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

func (*ClaimResponse) Reset

func (x *ClaimResponse) Reset()

func (*ClaimResponse) String

func (x *ClaimResponse) String() string

type CompileRequest

type CompileRequest struct {
	ProgramName string `protobuf:"bytes,1,opt,name=program_name,json=programName,proto3" json:"program_name,omitempty"`
	SdkName     string `protobuf:"bytes,2,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	// Deprecated: Do not use.
	EntryFilename string `protobuf:"bytes,3,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	// Deprecated: Do not use.
	Sources map[string][]byte `` /* 155-byte string literal not displayed */
	Args    []string          `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	Source  *ProgramSource    `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*CompileRequest) Descriptor deprecated

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

Deprecated: Use CompileRequest.ProtoReflect.Descriptor instead.

func (*CompileRequest) GetArgs

func (x *CompileRequest) GetArgs() []string

func (*CompileRequest) GetEntryFilename deprecated

func (x *CompileRequest) GetEntryFilename() string

Deprecated: Do not use.

func (*CompileRequest) GetProgramName

func (x *CompileRequest) GetProgramName() string

func (*CompileRequest) GetSdkName

func (x *CompileRequest) GetSdkName() string

func (*CompileRequest) GetSource

func (x *CompileRequest) GetSource() *ProgramSource

func (*CompileRequest) GetSources deprecated

func (x *CompileRequest) GetSources() map[string][]byte

Deprecated: Do not use.

func (*CompileRequest) ProtoMessage

func (*CompileRequest) ProtoMessage()

func (*CompileRequest) ProtoReflect

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

func (*CompileRequest) Reset

func (x *CompileRequest) Reset()

func (*CompileRequest) String

func (x *CompileRequest) String() string

type CompileResponse

type CompileResponse struct {
	Compilation *model.Compilation `protobuf:"bytes,1,opt,name=compilation,proto3" json:"compilation,omitempty"`
	// contains filtered or unexported fields
}

func (*CompileResponse) Descriptor deprecated

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

Deprecated: Use CompileResponse.ProtoReflect.Descriptor instead.

func (*CompileResponse) GetCompilation

func (x *CompileResponse) GetCompilation() *model.Compilation

func (*CompileResponse) ProtoMessage

func (*CompileResponse) ProtoMessage()

func (*CompileResponse) ProtoReflect

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

func (*CompileResponse) Reset

func (x *CompileResponse) Reset()

func (*CompileResponse) String

func (x *CompileResponse) String() string

type ConfigChange

type ConfigChange struct {

	// Types that are assignable to Config:
	//	*ConfigChange_Sdk
	//	*ConfigChange_Name_
	//	*ConfigChange_SdkModel
	//	*ConfigChange_Broker_
	//	*ConfigChange_MaxOffline_
	//	*ConfigChange_Connections_
	//	*ConfigChange_Reboot_
	//	*ConfigChange_FactoryReset_
	//	*ConfigChange_EventQueueThreshold_
	//	*ConfigChange_LoggingLevel_
	//	*ConfigChange_MetricsLevel_
	//	*ConfigChange_ReportModules_
	//	*ConfigChange_UpdateModule_
	Config isConfigChange_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*ConfigChange) Descriptor deprecated

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

Deprecated: Use ConfigChange.ProtoReflect.Descriptor instead.

func (*ConfigChange) GetBroker

func (x *ConfigChange) GetBroker() *ConfigChange_Broker

func (*ConfigChange) GetConfig

func (m *ConfigChange) GetConfig() isConfigChange_Config

func (*ConfigChange) GetConnections

func (x *ConfigChange) GetConnections() *ConfigChange_Connections

func (*ConfigChange) GetEventQueueThreshold

func (x *ConfigChange) GetEventQueueThreshold() *ConfigChange_EventQueueThreshold

func (*ConfigChange) GetFactoryReset

func (x *ConfigChange) GetFactoryReset() *ConfigChange_FactoryReset

func (*ConfigChange) GetLoggingLevel

func (x *ConfigChange) GetLoggingLevel() *ConfigChange_LoggingLevel

func (*ConfigChange) GetMaxOffline

func (x *ConfigChange) GetMaxOffline() *ConfigChange_MaxOffline

func (*ConfigChange) GetMetricsLevel

func (x *ConfigChange) GetMetricsLevel() *ConfigChange_MetricsLevel

func (*ConfigChange) GetName

func (x *ConfigChange) GetName() *ConfigChange_Name

func (*ConfigChange) GetReboot

func (x *ConfigChange) GetReboot() *ConfigChange_Reboot

func (*ConfigChange) GetReportModules

func (x *ConfigChange) GetReportModules() *ConfigChange_ReportModules

func (*ConfigChange) GetSdk

func (x *ConfigChange) GetSdk() *ConfigChange_SDK

func (*ConfigChange) GetSdkModel

func (x *ConfigChange) GetSdkModel() *ConfigChange_SDKModel

func (*ConfigChange) GetUpdateModule

func (x *ConfigChange) GetUpdateModule() *ConfigChange_UpdateModule

func (*ConfigChange) ProtoMessage

func (*ConfigChange) ProtoMessage()

func (*ConfigChange) ProtoReflect

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

func (*ConfigChange) Reset

func (x *ConfigChange) Reset()

func (*ConfigChange) String

func (x *ConfigChange) String() string

type ConfigChange_Broker

type ConfigChange_Broker struct {
	BrokerSettings *model.DeviceBrokerSettings `protobuf:"bytes,1,opt,name=broker_settings,json=brokerSettings,proto3" json:"broker_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChange_Broker) Descriptor deprecated

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

Deprecated: Use ConfigChange_Broker.ProtoReflect.Descriptor instead.

func (*ConfigChange_Broker) GetBrokerSettings

func (x *ConfigChange_Broker) GetBrokerSettings() *model.DeviceBrokerSettings

func (*ConfigChange_Broker) ProtoMessage

func (*ConfigChange_Broker) ProtoMessage()

func (*ConfigChange_Broker) ProtoReflect

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

func (*ConfigChange_Broker) Reset

func (x *ConfigChange_Broker) Reset()

func (*ConfigChange_Broker) String

func (x *ConfigChange_Broker) String() string

type ConfigChange_Broker_

type ConfigChange_Broker_ struct {
	Broker *ConfigChange_Broker `protobuf:"bytes,4,opt,name=broker,proto3,oneof"`
}

type ConfigChange_Connections

type ConfigChange_Connections struct {
	Connections []*model.ConnectionSetting `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChange_Connections) Descriptor deprecated

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

Deprecated: Use ConfigChange_Connections.ProtoReflect.Descriptor instead.

func (*ConfigChange_Connections) GetConnections

func (x *ConfigChange_Connections) GetConnections() []*model.ConnectionSetting

func (*ConfigChange_Connections) ProtoMessage

func (*ConfigChange_Connections) ProtoMessage()

func (*ConfigChange_Connections) ProtoReflect

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

func (*ConfigChange_Connections) Reset

func (x *ConfigChange_Connections) Reset()

func (*ConfigChange_Connections) String

func (x *ConfigChange_Connections) String() string

type ConfigChange_Connections_

type ConfigChange_Connections_ struct {
	Connections *ConfigChange_Connections `protobuf:"bytes,6,opt,name=connections,proto3,oneof"`
}

type ConfigChange_EventQueueThreshold

type ConfigChange_EventQueueThreshold struct {
	Threshold uint32 `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChange_EventQueueThreshold) Descriptor deprecated

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

Deprecated: Use ConfigChange_EventQueueThreshold.ProtoReflect.Descriptor instead.

func (*ConfigChange_EventQueueThreshold) GetThreshold

func (x *ConfigChange_EventQueueThreshold) GetThreshold() uint32

func (*ConfigChange_EventQueueThreshold) ProtoMessage

func (*ConfigChange_EventQueueThreshold) ProtoMessage()

func (*ConfigChange_EventQueueThreshold) ProtoReflect

func (*ConfigChange_EventQueueThreshold) Reset

func (*ConfigChange_EventQueueThreshold) String

type ConfigChange_EventQueueThreshold_

type ConfigChange_EventQueueThreshold_ struct {
	EventQueueThreshold *ConfigChange_EventQueueThreshold `protobuf:"bytes,11,opt,name=event_queue_threshold,json=eventQueueThreshold,proto3,oneof"`
}

type ConfigChange_FactoryReset

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

func (*ConfigChange_FactoryReset) Descriptor deprecated

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

Deprecated: Use ConfigChange_FactoryReset.ProtoReflect.Descriptor instead.

func (*ConfigChange_FactoryReset) ProtoMessage

func (*ConfigChange_FactoryReset) ProtoMessage()

func (*ConfigChange_FactoryReset) ProtoReflect

func (*ConfigChange_FactoryReset) Reset

func (x *ConfigChange_FactoryReset) Reset()

func (*ConfigChange_FactoryReset) String

func (x *ConfigChange_FactoryReset) String() string

type ConfigChange_FactoryReset_

type ConfigChange_FactoryReset_ struct {
	FactoryReset *ConfigChange_FactoryReset `protobuf:"bytes,10,opt,name=factory_reset,json=factoryReset,proto3,oneof"`
}

type ConfigChange_LoggingLevel

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

func (*ConfigChange_LoggingLevel) Descriptor deprecated

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

Deprecated: Use ConfigChange_LoggingLevel.ProtoReflect.Descriptor instead.

func (*ConfigChange_LoggingLevel) GetLevel

func (*ConfigChange_LoggingLevel) ProtoMessage

func (*ConfigChange_LoggingLevel) ProtoMessage()

func (*ConfigChange_LoggingLevel) ProtoReflect

func (*ConfigChange_LoggingLevel) Reset

func (x *ConfigChange_LoggingLevel) Reset()

func (*ConfigChange_LoggingLevel) String

func (x *ConfigChange_LoggingLevel) String() string

type ConfigChange_LoggingLevel_

type ConfigChange_LoggingLevel_ struct {
	LoggingLevel *ConfigChange_LoggingLevel `protobuf:"bytes,12,opt,name=logging_level,json=loggingLevel,proto3,oneof"`
}

type ConfigChange_MaxOffline

type ConfigChange_MaxOffline struct {
	MaxOffline *durationpb.Duration `protobuf:"bytes,1,opt,name=max_offline,json=maxOffline,proto3" json:"max_offline,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChange_MaxOffline) Descriptor deprecated

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

Deprecated: Use ConfigChange_MaxOffline.ProtoReflect.Descriptor instead.

func (*ConfigChange_MaxOffline) GetMaxOffline

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

func (*ConfigChange_MaxOffline) ProtoMessage

func (*ConfigChange_MaxOffline) ProtoMessage()

func (*ConfigChange_MaxOffline) ProtoReflect

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

func (*ConfigChange_MaxOffline) Reset

func (x *ConfigChange_MaxOffline) Reset()

func (*ConfigChange_MaxOffline) String

func (x *ConfigChange_MaxOffline) String() string

type ConfigChange_MaxOffline_

type ConfigChange_MaxOffline_ struct {
	MaxOffline *ConfigChange_MaxOffline `protobuf:"bytes,5,opt,name=max_offline,json=maxOffline,proto3,oneof"`
}

type ConfigChange_MetricsLevel

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

func (*ConfigChange_MetricsLevel) Descriptor deprecated

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

Deprecated: Use ConfigChange_MetricsLevel.ProtoReflect.Descriptor instead.

func (*ConfigChange_MetricsLevel) GetLevel

func (*ConfigChange_MetricsLevel) ProtoMessage

func (*ConfigChange_MetricsLevel) ProtoMessage()

func (*ConfigChange_MetricsLevel) ProtoReflect

func (*ConfigChange_MetricsLevel) Reset

func (x *ConfigChange_MetricsLevel) Reset()

func (*ConfigChange_MetricsLevel) String

func (x *ConfigChange_MetricsLevel) String() string

type ConfigChange_MetricsLevel_

type ConfigChange_MetricsLevel_ struct {
	MetricsLevel *ConfigChange_MetricsLevel `protobuf:"bytes,13,opt,name=metrics_level,json=metricsLevel,proto3,oneof"`
}

type ConfigChange_Name

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

func (*ConfigChange_Name) Descriptor deprecated

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

Deprecated: Use ConfigChange_Name.ProtoReflect.Descriptor instead.

func (*ConfigChange_Name) GetName

func (x *ConfigChange_Name) GetName() string

func (*ConfigChange_Name) ProtoMessage

func (*ConfigChange_Name) ProtoMessage()

func (*ConfigChange_Name) ProtoReflect

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

func (*ConfigChange_Name) Reset

func (x *ConfigChange_Name) Reset()

func (*ConfigChange_Name) String

func (x *ConfigChange_Name) String() string

type ConfigChange_Name_

type ConfigChange_Name_ struct {
	Name *ConfigChange_Name `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}

type ConfigChange_Reboot

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

func (*ConfigChange_Reboot) Descriptor deprecated

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

Deprecated: Use ConfigChange_Reboot.ProtoReflect.Descriptor instead.

func (*ConfigChange_Reboot) ProtoMessage

func (*ConfigChange_Reboot) ProtoMessage()

func (*ConfigChange_Reboot) ProtoReflect

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

func (*ConfigChange_Reboot) Reset

func (x *ConfigChange_Reboot) Reset()

func (*ConfigChange_Reboot) String

func (x *ConfigChange_Reboot) String() string

type ConfigChange_Reboot_

type ConfigChange_Reboot_ struct {
	Reboot *ConfigChange_Reboot `protobuf:"bytes,9,opt,name=reboot,proto3,oneof"`
}

type ConfigChange_ReportModules

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

func (*ConfigChange_ReportModules) Descriptor deprecated

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

Deprecated: Use ConfigChange_ReportModules.ProtoReflect.Descriptor instead.

func (*ConfigChange_ReportModules) ProtoMessage

func (*ConfigChange_ReportModules) ProtoMessage()

func (*ConfigChange_ReportModules) ProtoReflect

func (*ConfigChange_ReportModules) Reset

func (x *ConfigChange_ReportModules) Reset()

func (*ConfigChange_ReportModules) String

func (x *ConfigChange_ReportModules) String() string

type ConfigChange_ReportModules_

type ConfigChange_ReportModules_ struct {
	ReportModules *ConfigChange_ReportModules `protobuf:"bytes,14,opt,name=report_modules,json=reportModules,proto3,oneof"`
}

type ConfigChange_SDK

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

func (*ConfigChange_SDK) Descriptor deprecated

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

Deprecated: Use ConfigChange_SDK.ProtoReflect.Descriptor instead.

func (*ConfigChange_SDK) GetVersion

func (x *ConfigChange_SDK) GetVersion() string

func (*ConfigChange_SDK) ProtoMessage

func (*ConfigChange_SDK) ProtoMessage()

func (*ConfigChange_SDK) ProtoReflect

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

func (*ConfigChange_SDK) Reset

func (x *ConfigChange_SDK) Reset()

func (*ConfigChange_SDK) String

func (x *ConfigChange_SDK) String() string

type ConfigChange_SDKModel

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

func (*ConfigChange_SDKModel) Descriptor deprecated

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

Deprecated: Use ConfigChange_SDKModel.ProtoReflect.Descriptor instead.

func (*ConfigChange_SDKModel) GetModel

func (x *ConfigChange_SDKModel) GetModel() string

func (*ConfigChange_SDKModel) ProtoMessage

func (*ConfigChange_SDKModel) ProtoMessage()

func (*ConfigChange_SDKModel) ProtoReflect

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

func (*ConfigChange_SDKModel) Reset

func (x *ConfigChange_SDKModel) Reset()

func (*ConfigChange_SDKModel) String

func (x *ConfigChange_SDKModel) String() string

type ConfigChange_Sdk

type ConfigChange_Sdk struct {
	Sdk *ConfigChange_SDK `protobuf:"bytes,1,opt,name=sdk,proto3,oneof"`
}

type ConfigChange_SdkModel

type ConfigChange_SdkModel struct {
	SdkModel *ConfigChange_SDKModel `protobuf:"bytes,3,opt,name=sdk_model,json=sdkModel,proto3,oneof"`
}

type ConfigChange_UpdateModule

type ConfigChange_UpdateModule struct {
	Type    model.DeviceModuleType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.DeviceModuleType" json:"type,omitempty"`
	Model   string                 `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	Version string                 `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChange_UpdateModule) Descriptor deprecated

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

Deprecated: Use ConfigChange_UpdateModule.ProtoReflect.Descriptor instead.

func (*ConfigChange_UpdateModule) GetModel

func (x *ConfigChange_UpdateModule) GetModel() string

func (*ConfigChange_UpdateModule) GetType

func (*ConfigChange_UpdateModule) GetVersion

func (x *ConfigChange_UpdateModule) GetVersion() string

func (*ConfigChange_UpdateModule) ProtoMessage

func (*ConfigChange_UpdateModule) ProtoMessage()

func (*ConfigChange_UpdateModule) ProtoReflect

func (*ConfigChange_UpdateModule) Reset

func (x *ConfigChange_UpdateModule) Reset()

func (*ConfigChange_UpdateModule) String

func (x *ConfigChange_UpdateModule) String() string

type ConfigChange_UpdateModule_

type ConfigChange_UpdateModule_ struct {
	UpdateModule *ConfigChange_UpdateModule `protobuf:"bytes,15,opt,name=update_module,json=updateModule,proto3,oneof"`
}

type ConfigureDeviceRequest

type ConfigureDeviceRequest struct {
	DeviceId      []byte          `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	ConfigChanges []*ConfigChange `protobuf:"bytes,8,rep,name=config_changes,json=configChanges,proto3" json:"config_changes,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureDeviceRequest) Descriptor deprecated

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

Deprecated: Use ConfigureDeviceRequest.ProtoReflect.Descriptor instead.

func (*ConfigureDeviceRequest) GetConfigChanges

func (x *ConfigureDeviceRequest) GetConfigChanges() []*ConfigChange

func (*ConfigureDeviceRequest) GetDeviceId

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

func (*ConfigureDeviceRequest) ProtoMessage

func (*ConfigureDeviceRequest) ProtoMessage()

func (*ConfigureDeviceRequest) ProtoReflect

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

func (*ConfigureDeviceRequest) Reset

func (x *ConfigureDeviceRequest) Reset()

func (*ConfigureDeviceRequest) String

func (x *ConfigureDeviceRequest) String() string

type ConfigureDeviceResponse

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

func (*ConfigureDeviceResponse) Descriptor deprecated

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

Deprecated: Use ConfigureDeviceResponse.ProtoReflect.Descriptor instead.

func (*ConfigureDeviceResponse) ProtoMessage

func (*ConfigureDeviceResponse) ProtoMessage()

func (*ConfigureDeviceResponse) ProtoReflect

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

func (*ConfigureDeviceResponse) Reset

func (x *ConfigureDeviceResponse) Reset()

func (*ConfigureDeviceResponse) String

func (x *ConfigureDeviceResponse) String() string

type ConfigureJobRequest

type ConfigureJobRequest struct {
	DeviceId  []byte             `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	JobId     []byte             `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	GoalState model.JobGoalState `protobuf:"varint,3,opt,name=goal_state,json=goalState,proto3,enum=toit.model.JobGoalState" json:"goal_state,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigureJobRequest) Descriptor deprecated

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

Deprecated: Use ConfigureJobRequest.ProtoReflect.Descriptor instead.

func (*ConfigureJobRequest) GetDeviceId

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

func (*ConfigureJobRequest) GetGoalState

func (x *ConfigureJobRequest) GetGoalState() model.JobGoalState

func (*ConfigureJobRequest) GetJobId

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

func (*ConfigureJobRequest) ProtoMessage

func (*ConfigureJobRequest) ProtoMessage()

func (*ConfigureJobRequest) ProtoReflect

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

func (*ConfigureJobRequest) Reset

func (x *ConfigureJobRequest) Reset()

func (*ConfigureJobRequest) String

func (x *ConfigureJobRequest) String() string

type ConfigureJobResponse

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

func (*ConfigureJobResponse) Descriptor deprecated

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

Deprecated: Use ConfigureJobResponse.ProtoReflect.Descriptor instead.

func (*ConfigureJobResponse) ProtoMessage

func (*ConfigureJobResponse) ProtoMessage()

func (*ConfigureJobResponse) ProtoReflect

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

func (*ConfigureJobResponse) Reset

func (x *ConfigureJobResponse) Reset()

func (*ConfigureJobResponse) String

func (x *ConfigureJobResponse) String() string

type ConnectionSettings

type ConnectionSettings struct {
	Connections []*model.ConnectionSetting `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionSettings) Descriptor deprecated

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

Deprecated: Use ConnectionSettings.ProtoReflect.Descriptor instead.

func (*ConnectionSettings) GetConnections

func (x *ConnectionSettings) GetConnections() []*model.ConnectionSetting

func (*ConnectionSettings) ProtoMessage

func (*ConnectionSettings) ProtoMessage()

func (*ConnectionSettings) ProtoReflect

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

func (*ConnectionSettings) Reset

func (x *ConnectionSettings) Reset()

func (*ConnectionSettings) String

func (x *ConnectionSettings) String() string

type CreateAPIKeyRequest

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

func (*CreateAPIKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyRequest) GetName

func (x *CreateAPIKeyRequest) GetName() string

func (*CreateAPIKeyRequest) ProtoMessage

func (*CreateAPIKeyRequest) ProtoMessage()

func (*CreateAPIKeyRequest) ProtoReflect

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

func (*CreateAPIKeyRequest) Reset

func (x *CreateAPIKeyRequest) Reset()

func (*CreateAPIKeyRequest) String

func (x *CreateAPIKeyRequest) String() string

type CreateAPIKeyResponse

type CreateAPIKeyResponse struct {
	ApiKey *model.APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyResponse) GetApiKey

func (x *CreateAPIKeyResponse) GetApiKey() *model.APIKey

func (*CreateAPIKeyResponse) ProtoMessage

func (*CreateAPIKeyResponse) ProtoMessage()

func (*CreateAPIKeyResponse) ProtoReflect

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

func (*CreateAPIKeyResponse) Reset

func (x *CreateAPIKeyResponse) Reset()

func (*CreateAPIKeyResponse) String

func (x *CreateAPIKeyResponse) String() string

type CreateAppRequest

type CreateAppRequest struct {
	Name      string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                    `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Revision  uint64                    `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
	Jobs      map[string]*model.JobSpec `` /* 149-byte string literal not displayed */
	// Types that are assignable to Source:
	//	*CreateAppRequest_Files_
	//	*CreateAppRequest_Bundle
	Source isCreateAppRequest_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*CreateAppRequest) Descriptor deprecated

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

Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.

func (*CreateAppRequest) GetBundle

func (x *CreateAppRequest) GetBundle() []byte

func (*CreateAppRequest) GetFiles

func (*CreateAppRequest) GetJobs

func (x *CreateAppRequest) GetJobs() map[string]*model.JobSpec

func (*CreateAppRequest) GetName

func (x *CreateAppRequest) GetName() string

func (*CreateAppRequest) GetNamespace

func (x *CreateAppRequest) GetNamespace() string

func (*CreateAppRequest) GetRevision

func (x *CreateAppRequest) GetRevision() uint64

func (*CreateAppRequest) GetSource

func (m *CreateAppRequest) GetSource() isCreateAppRequest_Source

func (*CreateAppRequest) ProtoMessage

func (*CreateAppRequest) ProtoMessage()

func (*CreateAppRequest) ProtoReflect

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

func (*CreateAppRequest) Reset

func (x *CreateAppRequest) Reset()

func (*CreateAppRequest) String

func (x *CreateAppRequest) String() string

type CreateAppRequest_Bundle

type CreateAppRequest_Bundle struct {
	Bundle []byte `protobuf:"bytes,7,opt,name=bundle,proto3,oneof"`
}

type CreateAppRequest_Files

type CreateAppRequest_Files struct {
	Files map[string][]byte `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateAppRequest_Files) Descriptor deprecated

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

Deprecated: Use CreateAppRequest_Files.ProtoReflect.Descriptor instead.

func (*CreateAppRequest_Files) GetFiles

func (x *CreateAppRequest_Files) GetFiles() map[string][]byte

func (*CreateAppRequest_Files) ProtoMessage

func (*CreateAppRequest_Files) ProtoMessage()

func (*CreateAppRequest_Files) ProtoReflect

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

func (*CreateAppRequest_Files) Reset

func (x *CreateAppRequest_Files) Reset()

func (*CreateAppRequest_Files) String

func (x *CreateAppRequest_Files) String() string

type CreateAppRequest_Files_

type CreateAppRequest_Files_ struct {
	Files *CreateAppRequest_Files `protobuf:"bytes,6,opt,name=files,proto3,oneof"`
}

type CreateAppResponse

type CreateAppResponse struct {
	AppId []byte `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppResponse) Descriptor deprecated

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

Deprecated: Use CreateAppResponse.ProtoReflect.Descriptor instead.

func (*CreateAppResponse) GetAppId

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

func (*CreateAppResponse) ProtoMessage

func (*CreateAppResponse) ProtoMessage()

func (*CreateAppResponse) ProtoReflect

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

func (*CreateAppResponse) Reset

func (x *CreateAppResponse) Reset()

func (*CreateAppResponse) String

func (x *CreateAppResponse) String() string

type CreateHardwareIdentityRequest

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

func (*CreateHardwareIdentityRequest) Descriptor deprecated

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

Deprecated: Use CreateHardwareIdentityRequest.ProtoReflect.Descriptor instead.

func (*CreateHardwareIdentityRequest) ProtoMessage

func (*CreateHardwareIdentityRequest) ProtoMessage()

func (*CreateHardwareIdentityRequest) ProtoReflect

func (*CreateHardwareIdentityRequest) Reset

func (x *CreateHardwareIdentityRequest) Reset()

func (*CreateHardwareIdentityRequest) String

type CreateHardwareIdentityResponse

type CreateHardwareIdentityResponse struct {
	Identity *model.HardwareIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHardwareIdentityResponse) Descriptor deprecated

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

Deprecated: Use CreateHardwareIdentityResponse.ProtoReflect.Descriptor instead.

func (*CreateHardwareIdentityResponse) GetIdentity

func (*CreateHardwareIdentityResponse) ProtoMessage

func (*CreateHardwareIdentityResponse) ProtoMessage()

func (*CreateHardwareIdentityResponse) ProtoReflect

func (*CreateHardwareIdentityResponse) Reset

func (x *CreateHardwareIdentityResponse) Reset()

func (*CreateHardwareIdentityResponse) String

type CreateNewOrganizationRequest

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

func (*CreateNewOrganizationRequest) Descriptor deprecated

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

Deprecated: Use CreateNewOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateNewOrganizationRequest) GetEmail

func (x *CreateNewOrganizationRequest) GetEmail() string

func (*CreateNewOrganizationRequest) GetName

func (x *CreateNewOrganizationRequest) GetName() string

func (*CreateNewOrganizationRequest) ProtoMessage

func (*CreateNewOrganizationRequest) ProtoMessage()

func (*CreateNewOrganizationRequest) ProtoReflect

func (*CreateNewOrganizationRequest) Reset

func (x *CreateNewOrganizationRequest) Reset()

func (*CreateNewOrganizationRequest) String

type CreateNewOrganizationResponse

type CreateNewOrganizationResponse struct {
	OrganizationId []byte `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNewOrganizationResponse) Descriptor deprecated

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

Deprecated: Use CreateNewOrganizationResponse.ProtoReflect.Descriptor instead.

func (*CreateNewOrganizationResponse) GetOrganizationId

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

func (*CreateNewOrganizationResponse) ProtoMessage

func (*CreateNewOrganizationResponse) ProtoMessage()

func (*CreateNewOrganizationResponse) ProtoReflect

func (*CreateNewOrganizationResponse) Reset

func (x *CreateNewOrganizationResponse) Reset()

func (*CreateNewOrganizationResponse) String

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	Organization *CreateOrganizationRequest_Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	User         *CreateOrganizationRequest_User         `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationRequest) Descriptor deprecated

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

Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest) GetOrganization

func (*CreateOrganizationRequest) GetUser

func (*CreateOrganizationRequest) ProtoMessage

func (*CreateOrganizationRequest) ProtoMessage()

func (*CreateOrganizationRequest) ProtoReflect

func (*CreateOrganizationRequest) Reset

func (x *CreateOrganizationRequest) Reset()

func (*CreateOrganizationRequest) String

func (x *CreateOrganizationRequest) String() string

type CreateOrganizationRequest_Organization

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

func (*CreateOrganizationRequest_Organization) Descriptor deprecated

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

Deprecated: Use CreateOrganizationRequest_Organization.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest_Organization) GetEmail

func (*CreateOrganizationRequest_Organization) GetName

func (*CreateOrganizationRequest_Organization) ProtoMessage

func (*CreateOrganizationRequest_Organization) ProtoReflect

func (*CreateOrganizationRequest_Organization) Reset

func (*CreateOrganizationRequest_Organization) String

type CreateOrganizationRequest_User

type CreateOrganizationRequest_User struct {
	Email      string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Newsletter bool   `protobuf:"varint,3,opt,name=newsletter,proto3" json:"newsletter,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationRequest_User) Descriptor deprecated

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

Deprecated: Use CreateOrganizationRequest_User.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest_User) GetEmail

func (x *CreateOrganizationRequest_User) GetEmail() string

func (*CreateOrganizationRequest_User) GetName

func (*CreateOrganizationRequest_User) GetNewsletter added in v0.12.0

func (x *CreateOrganizationRequest_User) GetNewsletter() bool

func (*CreateOrganizationRequest_User) ProtoMessage

func (*CreateOrganizationRequest_User) ProtoMessage()

func (*CreateOrganizationRequest_User) ProtoReflect

func (*CreateOrganizationRequest_User) Reset

func (x *CreateOrganizationRequest_User) Reset()

func (*CreateOrganizationRequest_User) String

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	OrganizationId []byte `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationResponse) Descriptor deprecated

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

Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.

func (*CreateOrganizationResponse) GetOrganizationId

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

func (*CreateOrganizationResponse) ProtoMessage

func (*CreateOrganizationResponse) ProtoMessage()

func (*CreateOrganizationResponse) ProtoReflect

func (*CreateOrganizationResponse) Reset

func (x *CreateOrganizationResponse) Reset()

func (*CreateOrganizationResponse) String

func (x *CreateOrganizationResponse) String() string

type CreatePaymentSubscriptionRequest

type CreatePaymentSubscriptionRequest struct {
	BillingEmail    string `protobuf:"bytes,1,opt,name=billing_email,json=billingEmail,proto3" json:"billing_email,omitempty"` // Not used
	CardHolderName  string `protobuf:"bytes,2,opt,name=card_holder_name,json=cardHolderName,proto3" json:"card_holder_name,omitempty"`
	CardCvc         int32  `protobuf:"varint,3,opt,name=card_cvc,json=cardCvc,proto3" json:"card_cvc,omitempty"`
	CardExpiryMonth int32  `protobuf:"varint,4,opt,name=card_expiry_month,json=cardExpiryMonth,proto3" json:"card_expiry_month,omitempty"`
	CardExpiryYear  int32  `protobuf:"varint,5,opt,name=card_expiry_year,json=cardExpiryYear,proto3" json:"card_expiry_year,omitempty"`
	CardNumber      uint64 `protobuf:"varint,6,opt,name=card_number,json=cardNumber,proto3" json:"card_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePaymentSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use CreatePaymentSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CreatePaymentSubscriptionRequest) GetBillingEmail

func (x *CreatePaymentSubscriptionRequest) GetBillingEmail() string

func (*CreatePaymentSubscriptionRequest) GetCardCvc

func (x *CreatePaymentSubscriptionRequest) GetCardCvc() int32

func (*CreatePaymentSubscriptionRequest) GetCardExpiryMonth

func (x *CreatePaymentSubscriptionRequest) GetCardExpiryMonth() int32

func (*CreatePaymentSubscriptionRequest) GetCardExpiryYear

func (x *CreatePaymentSubscriptionRequest) GetCardExpiryYear() int32

func (*CreatePaymentSubscriptionRequest) GetCardHolderName

func (x *CreatePaymentSubscriptionRequest) GetCardHolderName() string

func (*CreatePaymentSubscriptionRequest) GetCardNumber

func (x *CreatePaymentSubscriptionRequest) GetCardNumber() uint64

func (*CreatePaymentSubscriptionRequest) ProtoMessage

func (*CreatePaymentSubscriptionRequest) ProtoMessage()

func (*CreatePaymentSubscriptionRequest) ProtoReflect

func (*CreatePaymentSubscriptionRequest) Reset

func (*CreatePaymentSubscriptionRequest) String

type CreatePaymentSubscriptionResponse

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

func (*CreatePaymentSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use CreatePaymentSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*CreatePaymentSubscriptionResponse) ProtoMessage

func (*CreatePaymentSubscriptionResponse) ProtoMessage()

func (*CreatePaymentSubscriptionResponse) ProtoReflect

func (*CreatePaymentSubscriptionResponse) Reset

func (*CreatePaymentSubscriptionResponse) String

type CreateSimulatorRequest

type CreateSimulatorRequest struct {
	SdkName    string                  `protobuf:"bytes,1,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	Identity   *model.HardwareIdentity `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	DeviceName string                  `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSimulatorRequest) Descriptor deprecated

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

Deprecated: Use CreateSimulatorRequest.ProtoReflect.Descriptor instead.

func (*CreateSimulatorRequest) GetDeviceName

func (x *CreateSimulatorRequest) GetDeviceName() string

func (*CreateSimulatorRequest) GetIdentity

func (x *CreateSimulatorRequest) GetIdentity() *model.HardwareIdentity

func (*CreateSimulatorRequest) GetSdkName

func (x *CreateSimulatorRequest) GetSdkName() string

func (*CreateSimulatorRequest) ProtoMessage

func (*CreateSimulatorRequest) ProtoMessage()

func (*CreateSimulatorRequest) ProtoReflect

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

func (*CreateSimulatorRequest) Reset

func (x *CreateSimulatorRequest) Reset()

func (*CreateSimulatorRequest) String

func (x *CreateSimulatorRequest) String() string

type CreateSimulatorResponse

type CreateSimulatorResponse struct {
	SimulatorId []byte `protobuf:"bytes,1,opt,name=simulator_id,json=simulatorId,proto3" json:"simulator_id,omitempty"`
	HardwareId  []byte `protobuf:"bytes,2,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	DeviceId    []byte `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	DeviceName  string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSimulatorResponse) Descriptor deprecated

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

Deprecated: Use CreateSimulatorResponse.ProtoReflect.Descriptor instead.

func (*CreateSimulatorResponse) GetDeviceId

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

func (*CreateSimulatorResponse) GetDeviceName

func (x *CreateSimulatorResponse) GetDeviceName() string

func (*CreateSimulatorResponse) GetHardwareId

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

func (*CreateSimulatorResponse) GetSimulatorId

func (x *CreateSimulatorResponse) GetSimulatorId() []byte

func (*CreateSimulatorResponse) ProtoMessage

func (*CreateSimulatorResponse) ProtoMessage()

func (*CreateSimulatorResponse) ProtoReflect

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

func (*CreateSimulatorResponse) Reset

func (x *CreateSimulatorResponse) Reset()

func (*CreateSimulatorResponse) String

func (x *CreateSimulatorResponse) String() string

type CreateSubscriptionRequest

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

func (*CreateSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use CreateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionRequest) GetSubscription

func (x *CreateSubscriptionRequest) GetSubscription() *Subscription

func (*CreateSubscriptionRequest) ProtoMessage

func (*CreateSubscriptionRequest) ProtoMessage()

func (*CreateSubscriptionRequest) ProtoReflect

func (*CreateSubscriptionRequest) Reset

func (x *CreateSubscriptionRequest) Reset()

func (*CreateSubscriptionRequest) String

func (x *CreateSubscriptionRequest) String() string

type CreateSubscriptionResponse

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

func (*CreateSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use CreateSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionResponse) ProtoMessage

func (*CreateSubscriptionResponse) ProtoMessage()

func (*CreateSubscriptionResponse) ProtoReflect

func (*CreateSubscriptionResponse) Reset

func (x *CreateSubscriptionResponse) Reset()

func (*CreateSubscriptionResponse) String

func (x *CreateSubscriptionResponse) String() string

type CreateUserRequest

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

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *model.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *model.User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type Data

type Data struct {
	Type       DataType               `protobuf:"varint,1,opt,name=type,proto3,enum=toit.api.DataType" json:"type,omitempty"`
	HardwareId []byte                 `protobuf:"bytes,2,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	DeviceId   []byte                 `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	EventId    []byte                 `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	JobId      []byte                 `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Received   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=received,proto3" json:"received,omitempty"`
	Created    *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"`
	// Depending on the type.
	Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetCreated

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

func (*Data) GetData

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

func (*Data) GetDeviceId

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

func (*Data) GetEventId

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

func (*Data) GetHardwareId

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

func (*Data) GetJobId

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

func (*Data) GetReceived

func (x *Data) GetReceived() *timestamppb.Timestamp

func (*Data) GetType

func (x *Data) GetType() DataType

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DataServiceClient

DataServiceClient is the client API for DataService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DataServiceServer

DataServiceServer is the server API for DataService service. All implementations must embed UnimplementedDataServiceServer for forward compatibility

type DataService_StreamClient

type DataService_StreamClient interface {
	Recv() (*StreamResponse, error)
	grpc.ClientStream
}

type DataService_StreamServer

type DataService_StreamServer interface {
	Send(*StreamResponse) error
	grpc.ServerStream
}

type DataType

type DataType int32
const (
	DataType_UNKNOWN    DataType = 0
	DataType_LOGS       DataType = 1 // data is encoded protobuf as model.LogData
	DataType_METRICS    DataType = 2 // data is encoded protobuf as model.MetricsData
	DataType_TOPIC_DATA DataType = 3 // data is encoded protobuf as model.TopicData
)

func (DataType) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

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

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

type DecodeSystemMessageRequest

type DecodeSystemMessageRequest struct {
	Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Deprecated: Do not use.
	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeSystemMessageRequest) Descriptor deprecated

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

Deprecated: Use DecodeSystemMessageRequest.ProtoReflect.Descriptor instead.

func (*DecodeSystemMessageRequest) GetMessage

func (x *DecodeSystemMessageRequest) GetMessage() []byte

func (*DecodeSystemMessageRequest) GetModel deprecated

func (x *DecodeSystemMessageRequest) GetModel() string

Deprecated: Do not use.

func (*DecodeSystemMessageRequest) ProtoMessage

func (*DecodeSystemMessageRequest) ProtoMessage()

func (*DecodeSystemMessageRequest) ProtoReflect

func (*DecodeSystemMessageRequest) Reset

func (x *DecodeSystemMessageRequest) Reset()

func (*DecodeSystemMessageRequest) String

func (x *DecodeSystemMessageRequest) String() string

type DecodeSystemMessageResponse

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

func (*DecodeSystemMessageResponse) Descriptor deprecated

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

Deprecated: Use DecodeSystemMessageResponse.ProtoReflect.Descriptor instead.

func (*DecodeSystemMessageResponse) GetMessage

func (x *DecodeSystemMessageResponse) GetMessage() string

func (*DecodeSystemMessageResponse) ProtoMessage

func (*DecodeSystemMessageResponse) ProtoMessage()

func (*DecodeSystemMessageResponse) ProtoReflect

func (*DecodeSystemMessageResponse) Reset

func (x *DecodeSystemMessageResponse) Reset()

func (*DecodeSystemMessageResponse) String

func (x *DecodeSystemMessageResponse) String() string

type DefaultSDKRequest

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

func (*DefaultSDKRequest) Descriptor deprecated

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

Deprecated: Use DefaultSDKRequest.ProtoReflect.Descriptor instead.

func (*DefaultSDKRequest) ProtoMessage

func (*DefaultSDKRequest) ProtoMessage()

func (*DefaultSDKRequest) ProtoReflect

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

func (*DefaultSDKRequest) Reset

func (x *DefaultSDKRequest) Reset()

func (*DefaultSDKRequest) String

func (x *DefaultSDKRequest) String() string

type DefaultSDKResponse

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

func (*DefaultSDKResponse) Descriptor deprecated

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

Deprecated: Use DefaultSDKResponse.ProtoReflect.Descriptor instead.

func (*DefaultSDKResponse) GetName

func (x *DefaultSDKResponse) GetName() string

func (*DefaultSDKResponse) ProtoMessage

func (*DefaultSDKResponse) ProtoMessage()

func (*DefaultSDKResponse) ProtoReflect

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

func (*DefaultSDKResponse) Reset

func (x *DefaultSDKResponse) Reset()

func (*DefaultSDKResponse) String

func (x *DefaultSDKResponse) String() string

type DeleteAPIKeyRequest

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

func (*DeleteAPIKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyRequest) GetId

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

func (*DeleteAPIKeyRequest) ProtoMessage

func (*DeleteAPIKeyRequest) ProtoMessage()

func (*DeleteAPIKeyRequest) ProtoReflect

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

func (*DeleteAPIKeyRequest) Reset

func (x *DeleteAPIKeyRequest) Reset()

func (*DeleteAPIKeyRequest) String

func (x *DeleteAPIKeyRequest) String() string

type DeleteAPIKeyResponse

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

func (*DeleteAPIKeyResponse) Descriptor deprecated

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

Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteAPIKeyResponse) ProtoMessage

func (*DeleteAPIKeyResponse) ProtoMessage()

func (*DeleteAPIKeyResponse) ProtoReflect

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

func (*DeleteAPIKeyResponse) Reset

func (x *DeleteAPIKeyResponse) Reset()

func (*DeleteAPIKeyResponse) String

func (x *DeleteAPIKeyResponse) String() string

type DeleteSubscriptionRequest

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

func (*DeleteSubscriptionRequest) Descriptor deprecated

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

Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscriptionRequest) GetSubscription

func (x *DeleteSubscriptionRequest) GetSubscription() *Subscription

func (*DeleteSubscriptionRequest) ProtoMessage

func (*DeleteSubscriptionRequest) ProtoMessage()

func (*DeleteSubscriptionRequest) ProtoReflect

func (*DeleteSubscriptionRequest) Reset

func (x *DeleteSubscriptionRequest) Reset()

func (*DeleteSubscriptionRequest) String

func (x *DeleteSubscriptionRequest) String() string

type DeleteSubscriptionResponse

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

func (*DeleteSubscriptionResponse) Descriptor deprecated

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

Deprecated: Use DeleteSubscriptionResponse.ProtoReflect.Descriptor instead.

func (*DeleteSubscriptionResponse) ProtoMessage

func (*DeleteSubscriptionResponse) ProtoMessage()

func (*DeleteSubscriptionResponse) ProtoReflect

func (*DeleteSubscriptionResponse) Reset

func (x *DeleteSubscriptionResponse) Reset()

func (*DeleteSubscriptionResponse) String

func (x *DeleteSubscriptionResponse) String() string

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetEmail

func (x *DeleteUserRequest) GetEmail() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type DeregisterSDKRequest

type DeregisterSDKRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CheckExists bool   `protobuf:"varint,2,opt,name=check_exists,json=checkExists,proto3" json:"check_exists,omitempty"`
	// contains filtered or unexported fields
}

func (*DeregisterSDKRequest) Descriptor deprecated

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

Deprecated: Use DeregisterSDKRequest.ProtoReflect.Descriptor instead.

func (*DeregisterSDKRequest) GetCheckExists

func (x *DeregisterSDKRequest) GetCheckExists() bool

func (*DeregisterSDKRequest) GetName

func (x *DeregisterSDKRequest) GetName() string

func (*DeregisterSDKRequest) ProtoMessage

func (*DeregisterSDKRequest) ProtoMessage()

func (*DeregisterSDKRequest) ProtoReflect

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

func (*DeregisterSDKRequest) Reset

func (x *DeregisterSDKRequest) Reset()

func (*DeregisterSDKRequest) String

func (x *DeregisterSDKRequest) String() string

type DeregisterSDKResponse

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

func (*DeregisterSDKResponse) Descriptor deprecated

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

Deprecated: Use DeregisterSDKResponse.ProtoReflect.Descriptor instead.

func (*DeregisterSDKResponse) ProtoMessage

func (*DeregisterSDKResponse) ProtoMessage()

func (*DeregisterSDKResponse) ProtoReflect

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

func (*DeregisterSDKResponse) Reset

func (x *DeregisterSDKResponse) Reset()

func (*DeregisterSDKResponse) String

func (x *DeregisterSDKResponse) String() string

type Device

type Device struct {
	Id           []byte              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	HardwareId   []byte              `protobuf:"bytes,5,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	HardwareFqdn string              `protobuf:"bytes,6,opt,name=hardware_fqdn,json=hardwareFqdn,proto3" json:"hardware_fqdn,omitempty"`
	Config       *model.DeviceConfig `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
	Status       *model.DeviceStatus `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	IsSimulator  bool                `protobuf:"varint,9,opt,name=is_simulator,json=isSimulator,proto3" json:"is_simulator,omitempty"`
	NextAction   model.DeviceAction  `protobuf:"varint,10,opt,name=next_action,json=nextAction,proto3,enum=toit.model.DeviceAction" json:"next_action,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetConfig

func (x *Device) GetConfig() *model.DeviceConfig

func (*Device) GetHardwareFqdn

func (x *Device) GetHardwareFqdn() string

func (*Device) GetHardwareId

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

func (*Device) GetId

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

func (*Device) GetIsSimulator

func (x *Device) GetIsSimulator() bool

func (*Device) GetNextAction

func (x *Device) GetNextAction() model.DeviceAction

func (*Device) GetStatus

func (x *Device) GetStatus() *model.DeviceStatus

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceLog

type DeviceLog 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. 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"`
	JobId    []byte                 `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Received *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=received,proto3" json:"received,omitempty"`
	Type     DeviceLog_Type         `protobuf:"varint,5,opt,name=type,proto3,enum=toit.api.DeviceLog_Type" json:"type,omitempty"`
	Msg      string                 `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
	Data     []byte                 `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	Created  *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceLog) Descriptor deprecated

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

Deprecated: Use DeviceLog.ProtoReflect.Descriptor instead.

func (*DeviceLog) GetCreated

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

func (*DeviceLog) GetData

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

func (*DeviceLog) GetDeviceId

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

func (*DeviceLog) GetEventId

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

func (*DeviceLog) GetJobId

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

func (*DeviceLog) GetMsg

func (x *DeviceLog) GetMsg() string

func (*DeviceLog) GetReceived

func (x *DeviceLog) GetReceived() *timestamppb.Timestamp

func (*DeviceLog) GetType

func (x *DeviceLog) GetType() DeviceLog_Type

func (*DeviceLog) ProtoMessage

func (*DeviceLog) ProtoMessage()

func (*DeviceLog) ProtoReflect

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

func (*DeviceLog) Reset

func (x *DeviceLog) Reset()

func (*DeviceLog) String

func (x *DeviceLog) String() string

type DeviceLog_Type

type DeviceLog_Type int32
const (
	DeviceLog_UNKNOWN       DeviceLog_Type = 0
	DeviceLog_MESSAGE       DeviceLog_Type = 1
	DeviceLog_PROCESS_START DeviceLog_Type = 2
	DeviceLog_PROCESS_STOP  DeviceLog_Type = 3
	DeviceLog_STACK_TRACE   DeviceLog_Type = 4
	DeviceLog_BOOT          DeviceLog_Type = 5
	DeviceLog_SHUTDOWN      DeviceLog_Type = 6
)

func (DeviceLog_Type) Descriptor

func (DeviceLog_Type) Enum

func (x DeviceLog_Type) Enum() *DeviceLog_Type

func (DeviceLog_Type) EnumDescriptor deprecated

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

Deprecated: Use DeviceLog_Type.Descriptor instead.

func (DeviceLog_Type) Number

func (DeviceLog_Type) String

func (x DeviceLog_Type) String() string

func (DeviceLog_Type) Type

type DeviceRunRequest

type DeviceRunRequest struct {
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Deprecated: Do not use.
	EntryFilename string `protobuf:"bytes,3,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	// Deprecated: Do not use.
	Sources map[string][]byte `` /* 155-byte string literal not displayed */
	Args    []string          `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	// Deprecated: Do not use.
	Install bool           `protobuf:"varint,6,opt,name=install,proto3" json:"install,omitempty"`
	Source  *ProgramSource `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceRunRequest) Descriptor deprecated

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

Deprecated: Use DeviceRunRequest.ProtoReflect.Descriptor instead.

func (*DeviceRunRequest) GetArgs

func (x *DeviceRunRequest) GetArgs() []string

func (*DeviceRunRequest) GetDeviceId

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

func (*DeviceRunRequest) GetEntryFilename deprecated

func (x *DeviceRunRequest) GetEntryFilename() string

Deprecated: Do not use.

func (*DeviceRunRequest) GetInstall deprecated

func (x *DeviceRunRequest) GetInstall() bool

Deprecated: Do not use.

func (*DeviceRunRequest) GetSource

func (x *DeviceRunRequest) GetSource() *ProgramSource

func (*DeviceRunRequest) GetSources deprecated

func (x *DeviceRunRequest) GetSources() map[string][]byte

Deprecated: Do not use.

func (*DeviceRunRequest) ProtoMessage

func (*DeviceRunRequest) ProtoMessage()

func (*DeviceRunRequest) ProtoReflect

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

func (*DeviceRunRequest) Reset

func (x *DeviceRunRequest) Reset()

func (*DeviceRunRequest) String

func (x *DeviceRunRequest) String() string

type DeviceRunResponse

type DeviceRunResponse struct {

	// Types that are assignable to Response:
	//	*DeviceRunResponse_Out
	//	*DeviceRunResponse_Err
	//	*DeviceRunResponse_Exit
	Response isDeviceRunResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*DeviceRunResponse) Descriptor deprecated

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

Deprecated: Use DeviceRunResponse.ProtoReflect.Descriptor instead.

func (*DeviceRunResponse) GetErr

func (x *DeviceRunResponse) GetErr() []byte

func (*DeviceRunResponse) GetExit

func (x *DeviceRunResponse) GetExit() int64

func (*DeviceRunResponse) GetOut

func (x *DeviceRunResponse) GetOut() []byte

func (*DeviceRunResponse) GetResponse

func (m *DeviceRunResponse) GetResponse() isDeviceRunResponse_Response

func (*DeviceRunResponse) ProtoMessage

func (*DeviceRunResponse) ProtoMessage()

func (*DeviceRunResponse) ProtoReflect

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

func (*DeviceRunResponse) Reset

func (x *DeviceRunResponse) Reset()

func (*DeviceRunResponse) String

func (x *DeviceRunResponse) String() string

type DeviceRunResponse_Err

type DeviceRunResponse_Err struct {
	Err []byte `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}

type DeviceRunResponse_Exit

type DeviceRunResponse_Exit struct {
	Exit int64 `protobuf:"varint,3,opt,name=exit,proto3,oneof"`
}

type DeviceRunResponse_Out

type DeviceRunResponse_Out struct {
	Out []byte `protobuf:"bytes,1,opt,name=out,proto3,oneof"`
}

type DeviceServiceClient

type DeviceServiceClient interface {
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error)
	ConfigureDevice(ctx context.Context, in *ConfigureDeviceRequest, opts ...grpc.CallOption) (*ConfigureDeviceResponse, error)
	LookupDevices(ctx context.Context, in *LookupDevicesRequest, opts ...grpc.CallOption) (*LookupDevicesResponse, error)
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
	InstallJob(ctx context.Context, in *InstallJobRequest, opts ...grpc.CallOption) (*InstallJobResponse, error)
	ConfigureJob(ctx context.Context, in *ConfigureJobRequest, opts ...grpc.CallOption) (*ConfigureJobResponse, error)
	// Deprecated: Do not use.
	RebootDevice(ctx context.Context, in *RebootDeviceRequest, opts ...grpc.CallOption) (*RebootDeviceResponse, error)
	ReadDeviceLogs(ctx context.Context, in *ReadDeviceLogsRequest, opts ...grpc.CallOption) (*ReadDeviceLogsResponse, error)
	ReadDeviceEvents(ctx context.Context, in *ReadDeviceEventsRequest, opts ...grpc.CallOption) (*ReadDeviceEventsResponse, error)
	GetDevicePartitions(ctx context.Context, in *GetDevicePartitionsRequest, opts ...grpc.CallOption) (*GetDevicePartitionsResponse, error)
	WatchDeviceChanges(ctx context.Context, in *WatchDeviceChangesRequest, opts ...grpc.CallOption) (DeviceService_WatchDeviceChangesClient, error)
	WatchJobChanges(ctx context.Context, in *WatchJobChangesRequest, opts ...grpc.CallOption) (DeviceService_WatchJobChangesClient, error)
	WatchSessionChanges(ctx context.Context, in *WatchSessionChangesRequest, opts ...grpc.CallOption) (DeviceService_WatchSessionChangesClient, error)
	GetCurrentTime(ctx context.Context, in *GetCurrentTimeRequest, opts ...grpc.CallOption) (*GetCurrentTimeResponse, error)
	UnclaimDevice(ctx context.Context, in *UnclaimDeviceRequest, opts ...grpc.CallOption) (*UnclaimDeviceResponse, error)
}

DeviceServiceClient is the client API for DeviceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DeviceServiceServer

DeviceServiceServer is the server API for DeviceService service. All implementations must embed UnimplementedDeviceServiceServer for forward compatibility

type DeviceService_WatchDeviceChangesClient

type DeviceService_WatchDeviceChangesClient interface {
	Recv() (*WatchDeviceChangesResponse, error)
	grpc.ClientStream
}

type DeviceService_WatchDeviceChangesServer

type DeviceService_WatchDeviceChangesServer interface {
	Send(*WatchDeviceChangesResponse) error
	grpc.ServerStream
}

type DeviceService_WatchJobChangesClient

type DeviceService_WatchJobChangesClient interface {
	Recv() (*WatchJobChangesResponse, error)
	grpc.ClientStream
}

type DeviceService_WatchJobChangesServer

type DeviceService_WatchJobChangesServer interface {
	Send(*WatchJobChangesResponse) error
	grpc.ServerStream
}

type DeviceService_WatchSessionChangesClient

type DeviceService_WatchSessionChangesClient interface {
	Recv() (*WatchSessionChangesResponse, error)
	grpc.ClientStream
}

type DeviceService_WatchSessionChangesServer

type DeviceService_WatchSessionChangesServer interface {
	Send(*WatchSessionChangesResponse) error
	grpc.ServerStream
}

type DoctorServiceClient

type DoctorServiceClient interface {
	HealthCheck(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
}

DoctorServiceClient is the client API for DoctorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DoctorServiceServer

type DoctorServiceServer interface {
	HealthCheck(context.Context, *HealthRequest) (*HealthResponse, error)
	// contains filtered or unexported methods
}

DoctorServiceServer is the server API for DoctorService service. All implementations must embed UnimplementedDoctorServiceServer for forward compatibility

type FetchRequest

type FetchRequest struct {
	Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
	Limit        int32         `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchRequest) Descriptor deprecated

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

Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.

func (*FetchRequest) GetLimit

func (x *FetchRequest) GetLimit() int32

func (*FetchRequest) GetSubscription

func (x *FetchRequest) GetSubscription() *Subscription

func (*FetchRequest) ProtoMessage

func (*FetchRequest) ProtoMessage()

func (*FetchRequest) ProtoReflect

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

func (*FetchRequest) Reset

func (x *FetchRequest) Reset()

func (*FetchRequest) String

func (x *FetchRequest) String() string

type FetchResponse

type FetchResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchResponse) Descriptor deprecated

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

Deprecated: Use FetchResponse.ProtoReflect.Descriptor instead.

func (*FetchResponse) GetMessages

func (x *FetchResponse) GetMessages() []*Message

func (*FetchResponse) ProtoMessage

func (*FetchResponse) ProtoMessage()

func (*FetchResponse) ProtoReflect

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

func (*FetchResponse) Reset

func (x *FetchResponse) Reset()

func (*FetchResponse) String

func (x *FetchResponse) String() string

type FlashStationClient

type FlashStationClient interface {
	ClaimHardwareIdentity(ctx context.Context, in *ClaimHardwareIdentityRequest, opts ...grpc.CallOption) (*ClaimHardwareIdentityResponse, error)
	SetHardwareIdentityInfo(ctx context.Context, in *SetHardwareIdentityInfoRequest, opts ...grpc.CallOption) (*SetHardwareIdentityInfoResponse, error)
}

FlashStationClient is the client API for FlashStation service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FlashStationServer

type FlashStationServer interface {
	ClaimHardwareIdentity(context.Context, *ClaimHardwareIdentityRequest) (*ClaimHardwareIdentityResponse, error)
	SetHardwareIdentityInfo(context.Context, *SetHardwareIdentityInfoRequest) (*SetHardwareIdentityInfoResponse, error)
	// contains filtered or unexported methods
}

FlashStationServer is the server API for FlashStation service. All implementations must embed UnimplementedFlashStationServer for forward compatibility

type GetAPIKeySecretRequest

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

func (*GetAPIKeySecretRequest) Descriptor deprecated

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

Deprecated: Use GetAPIKeySecretRequest.ProtoReflect.Descriptor instead.

func (*GetAPIKeySecretRequest) GetId

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

func (*GetAPIKeySecretRequest) ProtoMessage

func (*GetAPIKeySecretRequest) ProtoMessage()

func (*GetAPIKeySecretRequest) ProtoReflect

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

func (*GetAPIKeySecretRequest) Reset

func (x *GetAPIKeySecretRequest) Reset()

func (*GetAPIKeySecretRequest) String

func (x *GetAPIKeySecretRequest) String() string

type GetAPIKeySecretResponse

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

func (*GetAPIKeySecretResponse) Descriptor deprecated

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

Deprecated: Use GetAPIKeySecretResponse.ProtoReflect.Descriptor instead.

func (*GetAPIKeySecretResponse) GetSecret

func (x *GetAPIKeySecretResponse) GetSecret() string

func (*GetAPIKeySecretResponse) ProtoMessage

func (*GetAPIKeySecretResponse) ProtoMessage()

func (*GetAPIKeySecretResponse) ProtoReflect

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

func (*GetAPIKeySecretResponse) Reset

func (x *GetAPIKeySecretResponse) Reset()

func (*GetAPIKeySecretResponse) String

func (x *GetAPIKeySecretResponse) String() string

type GetActiveDeviceIDRequest

type GetActiveDeviceIDRequest struct {
	HardwareId []byte `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveDeviceIDRequest) Descriptor deprecated

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

Deprecated: Use GetActiveDeviceIDRequest.ProtoReflect.Descriptor instead.

func (*GetActiveDeviceIDRequest) GetHardwareId

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

func (*GetActiveDeviceIDRequest) ProtoMessage

func (*GetActiveDeviceIDRequest) ProtoMessage()

func (*GetActiveDeviceIDRequest) ProtoReflect

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

func (*GetActiveDeviceIDRequest) Reset

func (x *GetActiveDeviceIDRequest) Reset()

func (*GetActiveDeviceIDRequest) String

func (x *GetActiveDeviceIDRequest) String() string

type GetActiveDeviceIDResponse

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

func (*GetActiveDeviceIDResponse) Descriptor deprecated

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

Deprecated: Use GetActiveDeviceIDResponse.ProtoReflect.Descriptor instead.

func (*GetActiveDeviceIDResponse) GetDeviceId

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

func (*GetActiveDeviceIDResponse) ProtoMessage

func (*GetActiveDeviceIDResponse) ProtoMessage()

func (*GetActiveDeviceIDResponse) ProtoReflect

func (*GetActiveDeviceIDResponse) Reset

func (x *GetActiveDeviceIDResponse) Reset()

func (*GetActiveDeviceIDResponse) String

func (x *GetActiveDeviceIDResponse) String() string

type GetAppFilesRequest

type GetAppFilesRequest struct {
	AppId []byte `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// if revision is zero will give the latest.
	Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// If path ends with '/', the request is for a directory.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppFilesRequest) Descriptor deprecated

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

Deprecated: Use GetAppFilesRequest.ProtoReflect.Descriptor instead.

func (*GetAppFilesRequest) GetAppId

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

func (*GetAppFilesRequest) GetPath

func (x *GetAppFilesRequest) GetPath() string

func (*GetAppFilesRequest) GetRevision

func (x *GetAppFilesRequest) GetRevision() uint64

func (*GetAppFilesRequest) ProtoMessage

func (*GetAppFilesRequest) ProtoMessage()

func (*GetAppFilesRequest) ProtoReflect

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

func (*GetAppFilesRequest) Reset

func (x *GetAppFilesRequest) Reset()

func (*GetAppFilesRequest) String

func (x *GetAppFilesRequest) String() string

type GetAppFilesResponse

type GetAppFilesResponse struct {

	// Types that are assignable to Result:
	//	*GetAppFilesResponse_Directory_
	//	*GetAppFilesResponse_FileContent
	Result isGetAppFilesResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*GetAppFilesResponse) Descriptor deprecated

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

Deprecated: Use GetAppFilesResponse.ProtoReflect.Descriptor instead.

func (*GetAppFilesResponse) GetDirectory

func (*GetAppFilesResponse) GetFileContent

func (x *GetAppFilesResponse) GetFileContent() []byte

func (*GetAppFilesResponse) GetResult

func (m *GetAppFilesResponse) GetResult() isGetAppFilesResponse_Result

func (*GetAppFilesResponse) ProtoMessage

func (*GetAppFilesResponse) ProtoMessage()

func (*GetAppFilesResponse) ProtoReflect

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

func (*GetAppFilesResponse) Reset

func (x *GetAppFilesResponse) Reset()

func (*GetAppFilesResponse) String

func (x *GetAppFilesResponse) String() string

type GetAppFilesResponse_Directory

type GetAppFilesResponse_Directory struct {
	Entries []*GetAppFilesResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppFilesResponse_Directory) Descriptor deprecated

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

Deprecated: Use GetAppFilesResponse_Directory.ProtoReflect.Descriptor instead.

func (*GetAppFilesResponse_Directory) GetEntries

func (*GetAppFilesResponse_Directory) ProtoMessage

func (*GetAppFilesResponse_Directory) ProtoMessage()

func (*GetAppFilesResponse_Directory) ProtoReflect

func (*GetAppFilesResponse_Directory) Reset

func (x *GetAppFilesResponse_Directory) Reset()

func (*GetAppFilesResponse_Directory) String

type GetAppFilesResponse_Directory_

type GetAppFilesResponse_Directory_ struct {
	Directory *GetAppFilesResponse_Directory `protobuf:"bytes,1,opt,name=directory,proto3,oneof"`
}

type GetAppFilesResponse_Entry

type GetAppFilesResponse_Entry struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// content_type only set if not a directory
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppFilesResponse_Entry) Descriptor deprecated

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

Deprecated: Use GetAppFilesResponse_Entry.ProtoReflect.Descriptor instead.

func (*GetAppFilesResponse_Entry) GetContentType

func (x *GetAppFilesResponse_Entry) GetContentType() string

func (*GetAppFilesResponse_Entry) GetName

func (x *GetAppFilesResponse_Entry) GetName() string

func (*GetAppFilesResponse_Entry) ProtoMessage

func (*GetAppFilesResponse_Entry) ProtoMessage()

func (*GetAppFilesResponse_Entry) ProtoReflect

func (*GetAppFilesResponse_Entry) Reset

func (x *GetAppFilesResponse_Entry) Reset()

func (*GetAppFilesResponse_Entry) String

func (x *GetAppFilesResponse_Entry) String() string

type GetAppFilesResponse_FileContent

type GetAppFilesResponse_FileContent struct {
	FileContent []byte `protobuf:"bytes,2,opt,name=file_content,json=fileContent,proto3,oneof"`
}

type GetAppRequest

type GetAppRequest struct {
	AppId []byte `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// if revision is zero will give the latest.
	Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppRequest) Descriptor deprecated

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

Deprecated: Use GetAppRequest.ProtoReflect.Descriptor instead.

func (*GetAppRequest) GetAppId

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

func (*GetAppRequest) GetRevision

func (x *GetAppRequest) GetRevision() uint64

func (*GetAppRequest) ProtoMessage

func (*GetAppRequest) ProtoMessage()

func (*GetAppRequest) ProtoReflect

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

func (*GetAppRequest) Reset

func (x *GetAppRequest) Reset()

func (*GetAppRequest) String

func (x *GetAppRequest) String() string

type GetAppResponse

type GetAppResponse struct {
	App *model.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppResponse) Descriptor deprecated

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

Deprecated: Use GetAppResponse.ProtoReflect.Descriptor instead.

func (*GetAppResponse) GetApp

func (x *GetAppResponse) GetApp() *model.App

func (*GetAppResponse) ProtoMessage

func (*GetAppResponse) ProtoMessage()

func (*GetAppResponse) ProtoReflect

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

func (*GetAppResponse) Reset

func (x *GetAppResponse) Reset()

func (*GetAppResponse) String

func (x *GetAppResponse) String() string

type GetCompilationRequest

type GetCompilationRequest struct {
	CompilationId []byte `protobuf:"bytes,1,opt,name=compilation_id,json=compilationId,proto3" json:"compilation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompilationRequest) Descriptor deprecated

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

Deprecated: Use GetCompilationRequest.ProtoReflect.Descriptor instead.

func (*GetCompilationRequest) GetCompilationId

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

func (*GetCompilationRequest) ProtoMessage

func (*GetCompilationRequest) ProtoMessage()

func (*GetCompilationRequest) ProtoReflect

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

func (*GetCompilationRequest) Reset

func (x *GetCompilationRequest) Reset()

func (*GetCompilationRequest) String

func (x *GetCompilationRequest) String() string

type GetCompilationResponse

type GetCompilationResponse struct {
	Compilation *model.Compilation `protobuf:"bytes,1,opt,name=compilation,proto3" json:"compilation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCompilationResponse) Descriptor deprecated

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

Deprecated: Use GetCompilationResponse.ProtoReflect.Descriptor instead.

func (*GetCompilationResponse) GetCompilation

func (x *GetCompilationResponse) GetCompilation() *model.Compilation

func (*GetCompilationResponse) ProtoMessage

func (*GetCompilationResponse) ProtoMessage()

func (*GetCompilationResponse) ProtoReflect

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

func (*GetCompilationResponse) Reset

func (x *GetCompilationResponse) Reset()

func (*GetCompilationResponse) String

func (x *GetCompilationResponse) String() string

type GetCurrentTimeRequest

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

func (*GetCurrentTimeRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentTimeRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentTimeRequest) ProtoMessage

func (*GetCurrentTimeRequest) ProtoMessage()

func (*GetCurrentTimeRequest) ProtoReflect

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

func (*GetCurrentTimeRequest) Reset

func (x *GetCurrentTimeRequest) Reset()

func (*GetCurrentTimeRequest) String

func (x *GetCurrentTimeRequest) String() string

type GetCurrentTimeResponse

type GetCurrentTimeResponse struct {
	CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentTimeResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentTimeResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentTimeResponse) GetCurrentTime

func (x *GetCurrentTimeResponse) GetCurrentTime() *timestamppb.Timestamp

func (*GetCurrentTimeResponse) ProtoMessage

func (*GetCurrentTimeResponse) ProtoMessage()

func (*GetCurrentTimeResponse) ProtoReflect

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

func (*GetCurrentTimeResponse) Reset

func (x *GetCurrentTimeResponse) Reset()

func (*GetCurrentTimeResponse) String

func (x *GetCurrentTimeResponse) String() string

type GetCurrentUserRequest

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

func (*GetCurrentUserRequest) Descriptor deprecated

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

Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.

func (*GetCurrentUserRequest) ProtoMessage

func (*GetCurrentUserRequest) ProtoMessage()

func (*GetCurrentUserRequest) ProtoReflect

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

func (*GetCurrentUserRequest) Reset

func (x *GetCurrentUserRequest) Reset()

func (*GetCurrentUserRequest) String

func (x *GetCurrentUserRequest) String() string

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	User         *model.User         `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Organization *model.Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCurrentUserResponse) Descriptor deprecated

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

Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead.

func (*GetCurrentUserResponse) GetOrganization

func (x *GetCurrentUserResponse) GetOrganization() *model.Organization

func (*GetCurrentUserResponse) GetUser

func (x *GetCurrentUserResponse) GetUser() *model.User

func (*GetCurrentUserResponse) ProtoMessage

func (*GetCurrentUserResponse) ProtoMessage()

func (*GetCurrentUserResponse) ProtoReflect

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

func (*GetCurrentUserResponse) Reset

func (x *GetCurrentUserResponse) Reset()

func (*GetCurrentUserResponse) String

func (x *GetCurrentUserResponse) String() string

type GetDevicePartitionsRequest

type GetDevicePartitionsRequest struct {
	SdkName          string                          `protobuf:"bytes,1,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	Mode             GetDevicePartitionsRequest_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=toit.api.GetDevicePartitionsRequest_Mode" json:"mode,omitempty"`
	Properties       map[string]string               `` /* 161-byte string literal not displayed */
	HardwareIdentity *model.HardwareIdentity         `protobuf:"bytes,4,opt,name=hardware_identity,json=hardwareIdentity,proto3" json:"hardware_identity,omitempty"`
	Model            string                          `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	Qrcode           []byte                          `protobuf:"bytes,6,opt,name=qrcode,proto3" json:"qrcode,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDevicePartitionsRequest) Descriptor deprecated

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

Deprecated: Use GetDevicePartitionsRequest.ProtoReflect.Descriptor instead.

func (*GetDevicePartitionsRequest) GetHardwareIdentity

func (x *GetDevicePartitionsRequest) GetHardwareIdentity() *model.HardwareIdentity

func (*GetDevicePartitionsRequest) GetMode

func (*GetDevicePartitionsRequest) GetModel

func (x *GetDevicePartitionsRequest) GetModel() string

func (*GetDevicePartitionsRequest) GetProperties

func (x *GetDevicePartitionsRequest) GetProperties() map[string]string

func (*GetDevicePartitionsRequest) GetQrcode

func (x *GetDevicePartitionsRequest) GetQrcode() []byte

func (*GetDevicePartitionsRequest) GetSdkName

func (x *GetDevicePartitionsRequest) GetSdkName() string

func (*GetDevicePartitionsRequest) ProtoMessage

func (*GetDevicePartitionsRequest) ProtoMessage()

func (*GetDevicePartitionsRequest) ProtoReflect

func (*GetDevicePartitionsRequest) Reset

func (x *GetDevicePartitionsRequest) Reset()

func (*GetDevicePartitionsRequest) String

func (x *GetDevicePartitionsRequest) String() string

type GetDevicePartitionsRequest_Mode

type GetDevicePartitionsRequest_Mode int32
const (
	GetDevicePartitionsRequest_UNKNOWN     GetDevicePartitionsRequest_Mode = 0
	GetDevicePartitionsRequest_SYSTEM      GetDevicePartitionsRequest_Mode = 2
	GetDevicePartitionsRequest_INITIAL     GetDevicePartitionsRequest_Mode = 3
	GetDevicePartitionsRequest_REPARTITION GetDevicePartitionsRequest_Mode = 4
)

func (GetDevicePartitionsRequest_Mode) Descriptor

func (GetDevicePartitionsRequest_Mode) Enum

func (GetDevicePartitionsRequest_Mode) EnumDescriptor deprecated

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

Deprecated: Use GetDevicePartitionsRequest_Mode.Descriptor instead.

func (GetDevicePartitionsRequest_Mode) Number

func (GetDevicePartitionsRequest_Mode) String

func (GetDevicePartitionsRequest_Mode) Type

type GetDevicePartitionsResponse

type GetDevicePartitionsResponse struct {
	Partitions []*GetDevicePartitionsResponse_Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
	DeviceId   []byte                                   `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDevicePartitionsResponse) Descriptor deprecated

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

Deprecated: Use GetDevicePartitionsResponse.ProtoReflect.Descriptor instead.

func (*GetDevicePartitionsResponse) GetDeviceId

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

func (*GetDevicePartitionsResponse) GetPartitions

func (*GetDevicePartitionsResponse) ProtoMessage

func (*GetDevicePartitionsResponse) ProtoMessage()

func (*GetDevicePartitionsResponse) ProtoReflect

func (*GetDevicePartitionsResponse) Reset

func (x *GetDevicePartitionsResponse) Reset()

func (*GetDevicePartitionsResponse) String

func (x *GetDevicePartitionsResponse) String() string

type GetDevicePartitionsResponse_Partition

type GetDevicePartitionsResponse_Partition struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Data   []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDevicePartitionsResponse_Partition) Descriptor deprecated

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

Deprecated: Use GetDevicePartitionsResponse_Partition.ProtoReflect.Descriptor instead.

func (*GetDevicePartitionsResponse_Partition) GetData

func (*GetDevicePartitionsResponse_Partition) GetName

func (*GetDevicePartitionsResponse_Partition) GetOffset

func (*GetDevicePartitionsResponse_Partition) ProtoMessage

func (*GetDevicePartitionsResponse_Partition) ProtoMessage()

func (*GetDevicePartitionsResponse_Partition) ProtoReflect

func (*GetDevicePartitionsResponse_Partition) Reset

func (*GetDevicePartitionsResponse_Partition) String

type GetDeviceRequest

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

func (*GetDeviceRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetDeviceId

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

func (*GetDeviceRequest) GetHardwareId

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

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

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

func (*GetDeviceRequest) Reset

func (x *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String

func (x *GetDeviceRequest) String() string

type GetDeviceResponse

type GetDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// Deprecated: Do not use.
	Jobs []*Job `protobuf:"bytes,2,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceResponse) GetDevice

func (x *GetDeviceResponse) GetDevice() *Device

func (*GetDeviceResponse) GetJobs deprecated

func (x *GetDeviceResponse) GetJobs() []*Job

Deprecated: Do not use.

func (*GetDeviceResponse) ProtoMessage

func (*GetDeviceResponse) ProtoMessage()

func (*GetDeviceResponse) ProtoReflect

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

func (*GetDeviceResponse) Reset

func (x *GetDeviceResponse) Reset()

func (*GetDeviceResponse) String

func (x *GetDeviceResponse) String() string

type GetFirmwareElfRequest

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

func (*GetFirmwareElfRequest) Descriptor deprecated

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

Deprecated: Use GetFirmwareElfRequest.ProtoReflect.Descriptor instead.

func (*GetFirmwareElfRequest) GetModel

func (x *GetFirmwareElfRequest) GetModel() string

func (*GetFirmwareElfRequest) GetName

func (x *GetFirmwareElfRequest) GetName() string

func (*GetFirmwareElfRequest) ProtoMessage

func (*GetFirmwareElfRequest) ProtoMessage()

func (*GetFirmwareElfRequest) ProtoReflect

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

func (*GetFirmwareElfRequest) Reset

func (x *GetFirmwareElfRequest) Reset()

func (*GetFirmwareElfRequest) String

func (x *GetFirmwareElfRequest) String() string

type GetFirmwareElfResponse

type GetFirmwareElfResponse struct {
	Checksum []byte `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	File     []byte `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFirmwareElfResponse) Descriptor deprecated

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

Deprecated: Use GetFirmwareElfResponse.ProtoReflect.Descriptor instead.

func (*GetFirmwareElfResponse) GetChecksum

func (x *GetFirmwareElfResponse) GetChecksum() []byte

func (*GetFirmwareElfResponse) GetFile

func (x *GetFirmwareElfResponse) GetFile() []byte

func (*GetFirmwareElfResponse) ProtoMessage

func (*GetFirmwareElfResponse) ProtoMessage()

func (*GetFirmwareElfResponse) ProtoReflect

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

func (*GetFirmwareElfResponse) Reset

func (x *GetFirmwareElfResponse) Reset()

func (*GetFirmwareElfResponse) String

func (x *GetFirmwareElfResponse) String() string

type GetOrganizationRequest

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

func (*GetOrganizationRequest) Descriptor deprecated

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

Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationRequest) GetId

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

func (*GetOrganizationRequest) ProtoMessage

func (*GetOrganizationRequest) ProtoMessage()

func (*GetOrganizationRequest) ProtoReflect

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

func (*GetOrganizationRequest) Reset

func (x *GetOrganizationRequest) Reset()

func (*GetOrganizationRequest) String

func (x *GetOrganizationRequest) String() string

type GetOrganizationResponse

type GetOrganizationResponse struct {
	Organization *model.Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationResponse) Descriptor deprecated

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

Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationResponse) GetOrganization

func (x *GetOrganizationResponse) GetOrganization() *model.Organization

func (*GetOrganizationResponse) ProtoMessage

func (*GetOrganizationResponse) ProtoMessage()

func (*GetOrganizationResponse) ProtoReflect

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

func (*GetOrganizationResponse) Reset

func (x *GetOrganizationResponse) Reset()

func (*GetOrganizationResponse) String

func (x *GetOrganizationResponse) String() string

type GetProgramRequest

type GetProgramRequest struct {
	ProgramId []byte `protobuf:"bytes,1,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProgramRequest) Descriptor deprecated

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

Deprecated: Use GetProgramRequest.ProtoReflect.Descriptor instead.

func (*GetProgramRequest) GetProgramId

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

func (*GetProgramRequest) ProtoMessage

func (*GetProgramRequest) ProtoMessage()

func (*GetProgramRequest) ProtoReflect

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

func (*GetProgramRequest) Reset

func (x *GetProgramRequest) Reset()

func (*GetProgramRequest) String

func (x *GetProgramRequest) String() string

type GetProgramResponse

type GetProgramResponse struct {
	Program *model.Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProgramResponse) Descriptor deprecated

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

Deprecated: Use GetProgramResponse.ProtoReflect.Descriptor instead.

func (*GetProgramResponse) GetProgram

func (x *GetProgramResponse) GetProgram() *model.Program

func (*GetProgramResponse) ProtoMessage

func (*GetProgramResponse) ProtoMessage()

func (*GetProgramResponse) ProtoReflect

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

func (*GetProgramResponse) Reset

func (x *GetProgramResponse) Reset()

func (*GetProgramResponse) String

func (x *GetProgramResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	Id    []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetEmail

func (x *GetUserRequest) GetEmail() string

func (*GetUserRequest) GetId

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

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *model.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *model.User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type HardwareEvent

type HardwareEvent struct {
	HardwareId     []byte                 `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	EventId        []byte                 `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	Type           HardwareEvent_Type     `protobuf:"varint,3,opt,name=type,proto3,enum=toit.api.HardwareEvent_Type" json:"type,omitempty"`
	JobId          []byte                 `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Received       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=received,proto3" json:"received,omitempty"`
	Created        *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
	DeviceId       []byte                 `protobuf:"bytes,7,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	OrganizationId []byte                 `protobuf:"bytes,8,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Types that are assignable to Data:
	//	*HardwareEvent_Log
	//	*HardwareEvent_Metrics
	//	*HardwareEvent_Pubsub
	Data isHardwareEvent_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*HardwareEvent) Descriptor deprecated

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

Deprecated: Use HardwareEvent.ProtoReflect.Descriptor instead.

func (*HardwareEvent) GetCreated

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

func (*HardwareEvent) GetData

func (m *HardwareEvent) GetData() isHardwareEvent_Data

func (*HardwareEvent) GetDeviceId

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

func (*HardwareEvent) GetEventId

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

func (*HardwareEvent) GetHardwareId

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

func (*HardwareEvent) GetJobId

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

func (*HardwareEvent) GetLog

func (x *HardwareEvent) GetLog() *model.LogData

func (*HardwareEvent) GetMetrics

func (x *HardwareEvent) GetMetrics() *model.MetricsData

func (*HardwareEvent) GetOrganizationId

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

func (*HardwareEvent) GetPubsub

func (x *HardwareEvent) GetPubsub() *pubsub.Message

func (*HardwareEvent) GetReceived

func (x *HardwareEvent) GetReceived() *timestamppb.Timestamp

func (*HardwareEvent) GetType

func (x *HardwareEvent) GetType() HardwareEvent_Type

func (*HardwareEvent) ProtoMessage

func (*HardwareEvent) ProtoMessage()

func (*HardwareEvent) ProtoReflect

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

func (*HardwareEvent) Reset

func (x *HardwareEvent) Reset()

func (*HardwareEvent) String

func (x *HardwareEvent) String() string

type HardwareEvent_Log

type HardwareEvent_Log struct {
	Log *model.LogData `protobuf:"bytes,9,opt,name=log,proto3,oneof"`
}

type HardwareEvent_Metrics

type HardwareEvent_Metrics struct {
	Metrics *model.MetricsData `protobuf:"bytes,10,opt,name=metrics,proto3,oneof"`
}

type HardwareEvent_Pubsub

type HardwareEvent_Pubsub struct {
	Pubsub *pubsub.Message `protobuf:"bytes,11,opt,name=pubsub,proto3,oneof"`
}

type HardwareEvent_Type

type HardwareEvent_Type int32
const (
	HardwareEvent_UNKNOWN HardwareEvent_Type = 0
	HardwareEvent_LOGS    HardwareEvent_Type = 1
	HardwareEvent_METRICS HardwareEvent_Type = 2
	HardwareEvent_PUBSUB  HardwareEvent_Type = 3
)

func (HardwareEvent_Type) Descriptor

func (HardwareEvent_Type) Enum

func (HardwareEvent_Type) EnumDescriptor deprecated

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

Deprecated: Use HardwareEvent_Type.Descriptor instead.

func (HardwareEvent_Type) Number

func (HardwareEvent_Type) String

func (x HardwareEvent_Type) String() string

func (HardwareEvent_Type) Type

type HardwareEventsRequest

type HardwareEventsRequest struct {
	HardwareId []byte             `protobuf:"bytes,1,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	JobId      []byte             `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Type       HardwareEvent_Type `protobuf:"varint,3,opt,name=type,proto3,enum=toit.api.HardwareEvent_Type" json:"type,omitempty"`
	Limit      uint64             `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Reverse    bool               `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// Where to stream from, exclusive. Empty returns all historic logs.
	//
	// Types that are assignable to Offset:
	//	*HardwareEventsRequest_Id
	//	*HardwareEventsRequest_Ts
	Offset isHardwareEventsRequest_Offset `protobuf_oneof:"offset"`
	// contains filtered or unexported fields
}

func (*HardwareEventsRequest) Descriptor deprecated

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

Deprecated: Use HardwareEventsRequest.ProtoReflect.Descriptor instead.

func (*HardwareEventsRequest) GetHardwareId

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

func (*HardwareEventsRequest) GetId

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

func (*HardwareEventsRequest) GetJobId

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

func (*HardwareEventsRequest) GetLimit

func (x *HardwareEventsRequest) GetLimit() uint64

func (*HardwareEventsRequest) GetOffset

func (m *HardwareEventsRequest) GetOffset() isHardwareEventsRequest_Offset

func (*HardwareEventsRequest) GetReverse

func (x *HardwareEventsRequest) GetReverse() bool

func (*HardwareEventsRequest) GetTs

func (*HardwareEventsRequest) GetType

func (*HardwareEventsRequest) ProtoMessage

func (*HardwareEventsRequest) ProtoMessage()

func (*HardwareEventsRequest) ProtoReflect

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

func (*HardwareEventsRequest) Reset

func (x *HardwareEventsRequest) Reset()

func (*HardwareEventsRequest) String

func (x *HardwareEventsRequest) String() string

type HardwareEventsRequest_Id

type HardwareEventsRequest_Id struct {
	Id []byte `protobuf:"bytes,6,opt,name=id,proto3,oneof"`
}

type HardwareEventsRequest_Ts

type HardwareEventsRequest_Ts struct {
	Ts *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ts,proto3,oneof"`
}

type HardwareEventsResponse

type HardwareEventsResponse struct {
	Event *HardwareEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareEventsResponse) Descriptor deprecated

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

Deprecated: Use HardwareEventsResponse.ProtoReflect.Descriptor instead.

func (*HardwareEventsResponse) GetEvent

func (x *HardwareEventsResponse) GetEvent() *HardwareEvent

func (*HardwareEventsResponse) ProtoMessage

func (*HardwareEventsResponse) ProtoMessage()

func (*HardwareEventsResponse) ProtoReflect

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

func (*HardwareEventsResponse) Reset

func (x *HardwareEventsResponse) Reset()

func (*HardwareEventsResponse) String

func (x *HardwareEventsResponse) String() string

type HardwareServiceClient

type HardwareServiceClient interface {
	Claim(ctx context.Context, in *ClaimRequest, opts ...grpc.CallOption) (*ClaimResponse, error)
	Replace(ctx context.Context, in *ReplaceRequest, opts ...grpc.CallOption) (*ReplaceResponse, error)
	GetActiveDeviceID(ctx context.Context, in *GetActiveDeviceIDRequest, opts ...grpc.CallOption) (*GetActiveDeviceIDResponse, error)
	// Debug endpoints only available on local console
	HardwareEvents(ctx context.Context, in *HardwareEventsRequest, opts ...grpc.CallOption) (HardwareService_HardwareEventsClient, error)
}

HardwareServiceClient is the client API for HardwareService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type HardwareServiceServer

type HardwareServiceServer interface {
	Claim(context.Context, *ClaimRequest) (*ClaimResponse, error)
	Replace(context.Context, *ReplaceRequest) (*ReplaceResponse, error)
	GetActiveDeviceID(context.Context, *GetActiveDeviceIDRequest) (*GetActiveDeviceIDResponse, error)
	// Debug endpoints only available on local console
	HardwareEvents(*HardwareEventsRequest, HardwareService_HardwareEventsServer) error
	// contains filtered or unexported methods
}

HardwareServiceServer is the server API for HardwareService service. All implementations must embed UnimplementedHardwareServiceServer for forward compatibility

type HardwareService_HardwareEventsClient

type HardwareService_HardwareEventsClient interface {
	Recv() (*HardwareEventsResponse, error)
	grpc.ClientStream
}

type HardwareService_HardwareEventsServer

type HardwareService_HardwareEventsServer interface {
	Send(*HardwareEventsResponse) error
	grpc.ServerStream
}

type HealthRequest

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

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

type HealthResponse struct {
	Beaver bool `protobuf:"varint,2,opt,name=beaver,proto3" json:"beaver,omitempty"`
	Grass  bool `protobuf:"varint,3,opt,name=grass,proto3" json:"grass,omitempty"`
	Oak    bool `protobuf:"varint,4,opt,name=oak,proto3" json:"oak,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetBeaver

func (x *HealthResponse) GetBeaver() bool

func (*HealthResponse) GetGrass

func (x *HealthResponse) GetGrass() bool

func (*HealthResponse) GetOak

func (x *HealthResponse) GetOak() bool

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

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

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type InitiateResetPasswordRequest

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

func (*InitiateResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use InitiateResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*InitiateResetPasswordRequest) GetEmail

func (x *InitiateResetPasswordRequest) GetEmail() string

func (*InitiateResetPasswordRequest) ProtoMessage

func (*InitiateResetPasswordRequest) ProtoMessage()

func (*InitiateResetPasswordRequest) ProtoReflect

func (*InitiateResetPasswordRequest) Reset

func (x *InitiateResetPasswordRequest) Reset()

func (*InitiateResetPasswordRequest) String

type InitiateResetPasswordResponse

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

func (*InitiateResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use InitiateResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*InitiateResetPasswordResponse) ProtoMessage

func (*InitiateResetPasswordResponse) ProtoMessage()

func (*InitiateResetPasswordResponse) ProtoReflect

func (*InitiateResetPasswordResponse) Reset

func (x *InitiateResetPasswordResponse) Reset()

func (*InitiateResetPasswordResponse) String

type InstallJobRequest

type InstallJobRequest struct {
	DeviceId []byte           `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Config   *model.JobConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallJobRequest) Descriptor deprecated

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

Deprecated: Use InstallJobRequest.ProtoReflect.Descriptor instead.

func (*InstallJobRequest) GetConfig

func (x *InstallJobRequest) GetConfig() *model.JobConfig

func (*InstallJobRequest) GetDeviceId

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

func (*InstallJobRequest) ProtoMessage

func (*InstallJobRequest) ProtoMessage()

func (*InstallJobRequest) ProtoReflect

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

func (*InstallJobRequest) Reset

func (x *InstallJobRequest) Reset()

func (*InstallJobRequest) String

func (x *InstallJobRequest) String() string

type InstallJobResponse

type InstallJobResponse struct {
	JobId []byte `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallJobResponse) Descriptor deprecated

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

Deprecated: Use InstallJobResponse.ProtoReflect.Descriptor instead.

func (*InstallJobResponse) GetJobId

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

func (*InstallJobResponse) ProtoMessage

func (*InstallJobResponse) ProtoMessage()

func (*InstallJobResponse) ProtoReflect

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

func (*InstallJobResponse) Reset

func (x *InstallJobResponse) Reset()

func (*InstallJobResponse) String

func (x *InstallJobResponse) String() string

type Invoice

type Invoice struct {
	InvoiceId     string                 `protobuf:"bytes,1,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
	InvoiceNumber string                 `protobuf:"bytes,2,opt,name=invoice_number,json=invoiceNumber,proto3" json:"invoice_number,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	PdfUrl        string                 `protobuf:"bytes,4,opt,name=pdf_url,json=pdfUrl,proto3" json:"pdf_url,omitempty"`
	Status        string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	DueDate       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"`
	ReceiptPdfUrl string                 `protobuf:"bytes,7,opt,name=receipt_pdf_url,json=receiptPdfUrl,proto3" json:"receipt_pdf_url,omitempty"`
	AmountPaid    int64                  `protobuf:"varint,8,opt,name=amount_paid,json=amountPaid,proto3" json:"amount_paid,omitempty"`
	// contains filtered or unexported fields
}

func (*Invoice) Descriptor deprecated

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

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetAmountPaid

func (x *Invoice) GetAmountPaid() int64

func (*Invoice) GetCreatedAt

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

func (*Invoice) GetDueDate

func (x *Invoice) GetDueDate() *timestamppb.Timestamp

func (*Invoice) GetInvoiceId

func (x *Invoice) GetInvoiceId() string

func (*Invoice) GetInvoiceNumber

func (x *Invoice) GetInvoiceNumber() string

func (*Invoice) GetPdfUrl

func (x *Invoice) GetPdfUrl() string

func (*Invoice) GetReceiptPdfUrl

func (x *Invoice) GetReceiptPdfUrl() string

func (*Invoice) GetStatus

func (x *Invoice) GetStatus() string

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

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

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

type Job

type Job struct {
	Id     []byte           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Config *model.JobConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Status *model.JobStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Job) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetConfig

func (x *Job) GetConfig() *model.JobConfig

func (*Job) GetId

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

func (*Job) GetStatus

func (x *Job) GetStatus() *model.JobStatus

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type ListAPIKeysRequest

type ListAPIKeysRequest struct {
	Offset    []byte `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	OrderDesc bool   `protobuf:"varint,4,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysRequest) Descriptor deprecated

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

Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListAPIKeysRequest) GetLimit

func (x *ListAPIKeysRequest) GetLimit() int64

func (*ListAPIKeysRequest) GetOffset

func (x *ListAPIKeysRequest) GetOffset() []byte

func (*ListAPIKeysRequest) GetOrderBy

func (x *ListAPIKeysRequest) GetOrderBy() string

func (*ListAPIKeysRequest) GetOrderDesc

func (x *ListAPIKeysRequest) GetOrderDesc() bool

func (*ListAPIKeysRequest) ProtoMessage

func (*ListAPIKeysRequest) ProtoMessage()

func (*ListAPIKeysRequest) ProtoReflect

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

func (*ListAPIKeysRequest) Reset

func (x *ListAPIKeysRequest) Reset()

func (*ListAPIKeysRequest) String

func (x *ListAPIKeysRequest) String() string

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	ApiKey *model.APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	Offset []byte        `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysResponse) Descriptor deprecated

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

Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.

func (*ListAPIKeysResponse) GetApiKey

func (x *ListAPIKeysResponse) GetApiKey() *model.APIKey

func (*ListAPIKeysResponse) GetOffset

func (x *ListAPIKeysResponse) GetOffset() []byte

func (*ListAPIKeysResponse) ProtoMessage

func (*ListAPIKeysResponse) ProtoMessage()

func (*ListAPIKeysResponse) ProtoReflect

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

func (*ListAPIKeysResponse) Reset

func (x *ListAPIKeysResponse) Reset()

func (*ListAPIKeysResponse) String

func (x *ListAPIKeysResponse) String() string

type ListAppsFilter

type ListAppsFilter struct {
	NamePrefix      string `protobuf:"bytes,1,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	Latest          bool   `protobuf:"varint,2,opt,name=latest,proto3" json:"latest,omitempty"`
	NamespacePrefix string `protobuf:"bytes,3,opt,name=namespace_prefix,json=namespacePrefix,proto3" json:"namespace_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsFilter) Descriptor deprecated

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

Deprecated: Use ListAppsFilter.ProtoReflect.Descriptor instead.

func (*ListAppsFilter) GetLatest

func (x *ListAppsFilter) GetLatest() bool

func (*ListAppsFilter) GetNamePrefix

func (x *ListAppsFilter) GetNamePrefix() string

func (*ListAppsFilter) GetNamespacePrefix

func (x *ListAppsFilter) GetNamespacePrefix() string

func (*ListAppsFilter) ProtoMessage

func (*ListAppsFilter) ProtoMessage()

func (*ListAppsFilter) ProtoReflect

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

func (*ListAppsFilter) Reset

func (x *ListAppsFilter) Reset()

func (*ListAppsFilter) String

func (x *ListAppsFilter) String() string

type ListAppsRequest

type ListAppsRequest struct {
	Offset    []byte                  `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64                   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   ListAppsRequest_OrderBy `protobuf:"varint,3,opt,name=order_by,json=orderBy,proto3,enum=toit.api.ListAppsRequest_OrderBy" json:"order_by,omitempty"`
	OrderDesc bool                    `protobuf:"varint,4,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	Filter    *ListAppsFilter         `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsRequest) Descriptor deprecated

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

Deprecated: Use ListAppsRequest.ProtoReflect.Descriptor instead.

func (*ListAppsRequest) GetFilter

func (x *ListAppsRequest) GetFilter() *ListAppsFilter

func (*ListAppsRequest) GetLimit

func (x *ListAppsRequest) GetLimit() int64

func (*ListAppsRequest) GetOffset

func (x *ListAppsRequest) GetOffset() []byte

func (*ListAppsRequest) GetOrderBy

func (x *ListAppsRequest) GetOrderBy() ListAppsRequest_OrderBy

func (*ListAppsRequest) GetOrderDesc

func (x *ListAppsRequest) GetOrderDesc() bool

func (*ListAppsRequest) ProtoMessage

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) ProtoReflect

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

func (*ListAppsRequest) Reset

func (x *ListAppsRequest) Reset()

func (*ListAppsRequest) String

func (x *ListAppsRequest) String() string

type ListAppsRequest_OrderBy

type ListAppsRequest_OrderBy int32
const (
	ListAppsRequest_ADDED_ID ListAppsRequest_OrderBy = 0
	ListAppsRequest_NAME     ListAppsRequest_OrderBy = 1
)

func (ListAppsRequest_OrderBy) Descriptor

func (ListAppsRequest_OrderBy) Enum

func (ListAppsRequest_OrderBy) EnumDescriptor deprecated

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

Deprecated: Use ListAppsRequest_OrderBy.Descriptor instead.

func (ListAppsRequest_OrderBy) Number

func (ListAppsRequest_OrderBy) String

func (x ListAppsRequest_OrderBy) String() string

func (ListAppsRequest_OrderBy) Type

type ListAppsResponse

type ListAppsResponse struct {
	App    *model.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	Offset []byte     `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsResponse) Descriptor deprecated

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

Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.

func (*ListAppsResponse) GetApp

func (x *ListAppsResponse) GetApp() *model.App

func (*ListAppsResponse) GetOffset

func (x *ListAppsResponse) GetOffset() []byte

func (*ListAppsResponse) ProtoMessage

func (*ListAppsResponse) ProtoMessage()

func (*ListAppsResponse) ProtoReflect

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

func (*ListAppsResponse) Reset

func (x *ListAppsResponse) Reset()

func (*ListAppsResponse) String

func (x *ListAppsResponse) String() string

type ListDevicesFilter

type ListDevicesFilter struct {
	LastUpdated    *durationpb.Duration `protobuf:"bytes,1,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	OnlySimulators bool                 `protobuf:"varint,2,opt,name=only_simulators,json=onlySimulators,proto3" json:"only_simulators,omitempty"`
	NamePrefix     string               `protobuf:"bytes,3,opt,name=name_prefix,json=namePrefix,proto3" json:"name_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesFilter) Descriptor deprecated

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

Deprecated: Use ListDevicesFilter.ProtoReflect.Descriptor instead.

func (*ListDevicesFilter) GetLastUpdated

func (x *ListDevicesFilter) GetLastUpdated() *durationpb.Duration

func (*ListDevicesFilter) GetNamePrefix

func (x *ListDevicesFilter) GetNamePrefix() string

func (*ListDevicesFilter) GetOnlySimulators

func (x *ListDevicesFilter) GetOnlySimulators() bool

func (*ListDevicesFilter) ProtoMessage

func (*ListDevicesFilter) ProtoMessage()

func (*ListDevicesFilter) ProtoReflect

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

func (*ListDevicesFilter) Reset

func (x *ListDevicesFilter) Reset()

func (*ListDevicesFilter) String

func (x *ListDevicesFilter) String() string

type ListDevicesRequest

type ListDevicesRequest struct {
	Offset    []byte             `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64              `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   string             `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	OrderDesc bool               `protobuf:"varint,4,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	Filter    *ListDevicesFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetFilter

func (x *ListDevicesRequest) GetFilter() *ListDevicesFilter

func (*ListDevicesRequest) GetLimit

func (x *ListDevicesRequest) GetLimit() int64

func (*ListDevicesRequest) GetOffset

func (x *ListDevicesRequest) GetOffset() []byte

func (*ListDevicesRequest) GetOrderBy

func (x *ListDevicesRequest) GetOrderBy() string

func (*ListDevicesRequest) GetOrderDesc

func (x *ListDevicesRequest) GetOrderDesc() bool

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	Offset  []byte    `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesResponse) Descriptor deprecated

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

Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetDevices

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

func (*ListDevicesResponse) GetOffset

func (x *ListDevicesResponse) GetOffset() []byte

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (x *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (x *ListDevicesResponse) String() string

type ListJobsFilter

type ListJobsFilter struct {
	DeviceId   []byte               `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	States     []model.JobState     `protobuf:"varint,2,rep,packed,name=states,proto3,enum=toit.model.JobState" json:"states,omitempty"`
	Goalstates []model.JobGoalState `protobuf:"varint,3,rep,packed,name=goalstates,proto3,enum=toit.model.JobGoalState" json:"goalstates,omitempty"`
	JobId      []byte               `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobsFilter) Descriptor deprecated

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

Deprecated: Use ListJobsFilter.ProtoReflect.Descriptor instead.

func (*ListJobsFilter) GetDeviceId

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

func (*ListJobsFilter) GetGoalstates

func (x *ListJobsFilter) GetGoalstates() []model.JobGoalState

func (*ListJobsFilter) GetJobId

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

func (*ListJobsFilter) GetStates

func (x *ListJobsFilter) GetStates() []model.JobState

func (*ListJobsFilter) ProtoMessage

func (*ListJobsFilter) ProtoMessage()

func (*ListJobsFilter) ProtoReflect

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

func (*ListJobsFilter) Reset

func (x *ListJobsFilter) Reset()

func (*ListJobsFilter) String

func (x *ListJobsFilter) String() string

type ListJobsRequest

type ListJobsRequest struct {
	Offset    []byte          `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64           `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   string          `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	OrderDesc bool            `protobuf:"varint,4,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	Filter    *ListJobsFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobsRequest) Descriptor deprecated

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

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetFilter

func (x *ListJobsRequest) GetFilter() *ListJobsFilter

func (*ListJobsRequest) GetLimit

func (x *ListJobsRequest) GetLimit() int64

func (*ListJobsRequest) GetOffset

func (x *ListJobsRequest) GetOffset() []byte

func (*ListJobsRequest) GetOrderBy

func (x *ListJobsRequest) GetOrderBy() string

func (*ListJobsRequest) GetOrderDesc

func (x *ListJobsRequest) GetOrderDesc() bool

func (*ListJobsRequest) ProtoMessage

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect

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

func (*ListJobsRequest) Reset

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String

func (x *ListJobsRequest) String() string

type ListJobsResponse

type ListJobsResponse struct {
	Jobs   []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	Offset []byte `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListJobsResponse) Descriptor deprecated

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

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs

func (x *ListJobsResponse) GetJobs() []*Job

func (*ListJobsResponse) GetOffset

func (x *ListJobsResponse) GetOffset() []byte

func (*ListJobsResponse) ProtoMessage

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect

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

func (*ListJobsResponse) Reset

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String

func (x *ListJobsResponse) String() string

type ListOrganizationsRequest

type ListOrganizationsRequest struct {
	UserId    []byte `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Offset    []byte `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	OrderDesc bool   `protobuf:"varint,5,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsRequest) Descriptor deprecated

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

Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationsRequest) GetLimit

func (x *ListOrganizationsRequest) GetLimit() int64

func (*ListOrganizationsRequest) GetOffset

func (x *ListOrganizationsRequest) GetOffset() []byte

func (*ListOrganizationsRequest) GetOrderBy

func (x *ListOrganizationsRequest) GetOrderBy() string

func (*ListOrganizationsRequest) GetOrderDesc

func (x *ListOrganizationsRequest) GetOrderDesc() bool

func (*ListOrganizationsRequest) GetUserId

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

func (*ListOrganizationsRequest) ProtoMessage

func (*ListOrganizationsRequest) ProtoMessage()

func (*ListOrganizationsRequest) ProtoReflect

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

func (*ListOrganizationsRequest) Reset

func (x *ListOrganizationsRequest) Reset()

func (*ListOrganizationsRequest) String

func (x *ListOrganizationsRequest) String() string

type ListOrganizationsResponse

type ListOrganizationsResponse struct {
	Organizations []*model.Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	Offset        []byte                `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsResponse) Descriptor deprecated

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

Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationsResponse) GetOffset

func (x *ListOrganizationsResponse) GetOffset() []byte

func (*ListOrganizationsResponse) GetOrganizations

func (x *ListOrganizationsResponse) GetOrganizations() []*model.Organization

func (*ListOrganizationsResponse) ProtoMessage

func (*ListOrganizationsResponse) ProtoMessage()

func (*ListOrganizationsResponse) ProtoReflect

func (*ListOrganizationsResponse) Reset

func (x *ListOrganizationsResponse) Reset()

func (*ListOrganizationsResponse) String

func (x *ListOrganizationsResponse) String() string

type ListPaymentInvoicesRequest

type ListPaymentInvoicesRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset []byte `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` // If set with an invoice ID, the returned list will start after that invoice ID.
	// contains filtered or unexported fields
}

func (*ListPaymentInvoicesRequest) Descriptor deprecated

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

Deprecated: Use ListPaymentInvoicesRequest.ProtoReflect.Descriptor instead.

func (*ListPaymentInvoicesRequest) GetLimit

func (x *ListPaymentInvoicesRequest) GetLimit() int64

func (*ListPaymentInvoicesRequest) GetOffset

func (x *ListPaymentInvoicesRequest) GetOffset() []byte

func (*ListPaymentInvoicesRequest) ProtoMessage

func (*ListPaymentInvoicesRequest) ProtoMessage()

func (*ListPaymentInvoicesRequest) ProtoReflect

func (*ListPaymentInvoicesRequest) Reset

func (x *ListPaymentInvoicesRequest) Reset()

func (*ListPaymentInvoicesRequest) String

func (x *ListPaymentInvoicesRequest) String() string

type ListPaymentInvoicesResponse

type ListPaymentInvoicesResponse struct {
	Invoices *Invoice `protobuf:"bytes,1,opt,name=invoices,proto3" json:"invoices,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPaymentInvoicesResponse) Descriptor deprecated

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

Deprecated: Use ListPaymentInvoicesResponse.ProtoReflect.Descriptor instead.

func (*ListPaymentInvoicesResponse) GetInvoices

func (x *ListPaymentInvoicesResponse) GetInvoices() *Invoice

func (*ListPaymentInvoicesResponse) ProtoMessage

func (*ListPaymentInvoicesResponse) ProtoMessage()

func (*ListPaymentInvoicesResponse) ProtoReflect

func (*ListPaymentInvoicesResponse) Reset

func (x *ListPaymentInvoicesResponse) Reset()

func (*ListPaymentInvoicesResponse) String

func (x *ListPaymentInvoicesResponse) String() string

type ListSDKsRequest

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

func (*ListSDKsRequest) Descriptor deprecated

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

Deprecated: Use ListSDKsRequest.ProtoReflect.Descriptor instead.

func (*ListSDKsRequest) ProtoMessage

func (*ListSDKsRequest) ProtoMessage()

func (*ListSDKsRequest) ProtoReflect

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

func (*ListSDKsRequest) Reset

func (x *ListSDKsRequest) Reset()

func (*ListSDKsRequest) String

func (x *ListSDKsRequest) String() string

type ListSDKsResponse

type ListSDKsResponse struct {
	Sdks []*model.SDK `protobuf:"bytes,1,rep,name=sdks,proto3" json:"sdks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSDKsResponse) Descriptor deprecated

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

Deprecated: Use ListSDKsResponse.ProtoReflect.Descriptor instead.

func (*ListSDKsResponse) GetSdks

func (x *ListSDKsResponse) GetSdks() []*model.SDK

func (*ListSDKsResponse) ProtoMessage

func (*ListSDKsResponse) ProtoMessage()

func (*ListSDKsResponse) ProtoReflect

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

func (*ListSDKsResponse) Reset

func (x *ListSDKsResponse) Reset()

func (*ListSDKsResponse) String

func (x *ListSDKsResponse) String() string

type ListSimulatorsRequest

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

func (*ListSimulatorsRequest) Descriptor deprecated

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

Deprecated: Use ListSimulatorsRequest.ProtoReflect.Descriptor instead.

func (*ListSimulatorsRequest) ProtoMessage

func (*ListSimulatorsRequest) ProtoMessage()

func (*ListSimulatorsRequest) ProtoReflect

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

func (*ListSimulatorsRequest) Reset

func (x *ListSimulatorsRequest) Reset()

func (*ListSimulatorsRequest) String

func (x *ListSimulatorsRequest) String() string

type ListSimulatorsResponse

type ListSimulatorsResponse struct {
	SimulatorIds [][]byte `protobuf:"bytes,1,rep,name=simulator_ids,json=simulatorIds,proto3" json:"simulator_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSimulatorsResponse) Descriptor deprecated

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

Deprecated: Use ListSimulatorsResponse.ProtoReflect.Descriptor instead.

func (*ListSimulatorsResponse) GetSimulatorIds

func (x *ListSimulatorsResponse) GetSimulatorIds() [][]byte

func (*ListSimulatorsResponse) ProtoMessage

func (*ListSimulatorsResponse) ProtoMessage()

func (*ListSimulatorsResponse) ProtoReflect

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

func (*ListSimulatorsResponse) Reset

func (x *ListSimulatorsResponse) Reset()

func (*ListSimulatorsResponse) String

func (x *ListSimulatorsResponse) String() string

type ListSubscriptionsRequest

type ListSubscriptionsRequest struct {
	Type   DataType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.api.DataType" json:"type,omitempty"`
	Offset []byte   `protobuf:"bytes,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSubscriptionsRequest) Descriptor deprecated

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

Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsRequest) GetOffset

func (x *ListSubscriptionsRequest) GetOffset() []byte

func (*ListSubscriptionsRequest) GetType

func (x *ListSubscriptionsRequest) GetType() DataType

func (*ListSubscriptionsRequest) ProtoMessage

func (*ListSubscriptionsRequest) ProtoMessage()

func (*ListSubscriptionsRequest) ProtoReflect

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

func (*ListSubscriptionsRequest) Reset

func (x *ListSubscriptionsRequest) Reset()

func (*ListSubscriptionsRequest) String

func (x *ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse

type ListSubscriptionsResponse struct {
	Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
	NextOffset    []byte          `protobuf:"bytes,2,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSubscriptionsResponse) Descriptor deprecated

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

Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsResponse) GetNextOffset

func (x *ListSubscriptionsResponse) GetNextOffset() []byte

func (*ListSubscriptionsResponse) GetSubscriptions

func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription

func (*ListSubscriptionsResponse) ProtoMessage

func (*ListSubscriptionsResponse) ProtoMessage()

func (*ListSubscriptionsResponse) ProtoReflect

func (*ListSubscriptionsResponse) Reset

func (x *ListSubscriptionsResponse) Reset()

func (*ListSubscriptionsResponse) String

func (x *ListSubscriptionsResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {
	Offset    []byte `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderBy   string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	OrderDesc bool   `protobuf:"varint,4,opt,name=order_desc,json=orderDesc,proto3" json:"order_desc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetLimit

func (x *ListUsersRequest) GetLimit() int64

func (*ListUsersRequest) GetOffset

func (x *ListUsersRequest) GetOffset() []byte

func (*ListUsersRequest) GetOrderBy

func (x *ListUsersRequest) GetOrderBy() string

func (*ListUsersRequest) GetOrderDesc

func (x *ListUsersRequest) GetOrderDesc() bool

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users  []*model.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Offset []byte        `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetOffset

func (x *ListUsersResponse) GetOffset() []byte

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*model.User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LoginRequest

type LoginRequest struct {
	Username       string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password       string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Remember       bool   `protobuf:"varint,3,opt,name=remember,proto3" json:"remember,omitempty"`
	OrganizationId []byte `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // optional
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetOrganizationId

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

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetRemember

func (x *LoginRequest) GetRemember() bool

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LogoutRequest

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

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

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

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type LookupDevicesRequest

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

func (*LookupDevicesRequest) Descriptor deprecated

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

Deprecated: Use LookupDevicesRequest.ProtoReflect.Descriptor instead.

func (*LookupDevicesRequest) GetDeviceName

func (x *LookupDevicesRequest) GetDeviceName() string

func (*LookupDevicesRequest) ProtoMessage

func (*LookupDevicesRequest) ProtoMessage()

func (*LookupDevicesRequest) ProtoReflect

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

func (*LookupDevicesRequest) Reset

func (x *LookupDevicesRequest) Reset()

func (*LookupDevicesRequest) String

func (x *LookupDevicesRequest) String() string

type LookupDevicesResponse

type LookupDevicesResponse struct {
	DeviceIds [][]byte `protobuf:"bytes,1,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupDevicesResponse) Descriptor deprecated

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

Deprecated: Use LookupDevicesResponse.ProtoReflect.Descriptor instead.

func (*LookupDevicesResponse) GetDeviceIds

func (x *LookupDevicesResponse) GetDeviceIds() [][]byte

func (*LookupDevicesResponse) ProtoMessage

func (*LookupDevicesResponse) ProtoMessage()

func (*LookupDevicesResponse) ProtoReflect

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

func (*LookupDevicesResponse) Reset

func (x *LookupDevicesResponse) Reset()

func (*LookupDevicesResponse) String

func (x *LookupDevicesResponse) String() string

type LookupProgramsRequest

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

func (*LookupProgramsRequest) Descriptor deprecated

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

Deprecated: Use LookupProgramsRequest.ProtoReflect.Descriptor instead.

func (*LookupProgramsRequest) GetProgramName

func (x *LookupProgramsRequest) GetProgramName() string

func (*LookupProgramsRequest) ProtoMessage

func (*LookupProgramsRequest) ProtoMessage()

func (*LookupProgramsRequest) ProtoReflect

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

func (*LookupProgramsRequest) Reset

func (x *LookupProgramsRequest) Reset()

func (*LookupProgramsRequest) String

func (x *LookupProgramsRequest) String() string

type LookupProgramsResponse

type LookupProgramsResponse struct {
	ProgramIds [][]byte `protobuf:"bytes,1,rep,name=program_ids,json=programIds,proto3" json:"program_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupProgramsResponse) Descriptor deprecated

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

Deprecated: Use LookupProgramsResponse.ProtoReflect.Descriptor instead.

func (*LookupProgramsResponse) GetProgramIds

func (x *LookupProgramsResponse) GetProgramIds() [][]byte

func (*LookupProgramsResponse) ProtoMessage

func (*LookupProgramsResponse) ProtoMessage()

func (*LookupProgramsResponse) ProtoReflect

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

func (*LookupProgramsResponse) Reset

func (x *LookupProgramsResponse) Reset()

func (*LookupProgramsResponse) String

func (x *LookupProgramsResponse) String() string

type LookupSDKRequest

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

func (*LookupSDKRequest) Descriptor deprecated

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

Deprecated: Use LookupSDKRequest.ProtoReflect.Descriptor instead.

func (*LookupSDKRequest) GetName

func (x *LookupSDKRequest) GetName() string

func (*LookupSDKRequest) ProtoMessage

func (*LookupSDKRequest) ProtoMessage()

func (*LookupSDKRequest) ProtoReflect

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

func (*LookupSDKRequest) Reset

func (x *LookupSDKRequest) Reset()

func (*LookupSDKRequest) String

func (x *LookupSDKRequest) String() string

type LookupSDKResponse

type LookupSDKResponse struct {

	// Deprecated: Do not use.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated: Do not use.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Deprecated: Do not use.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Deprecated: Do not use.
	CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Deprecated: Do not use.
	Settings map[string]string `` /* 157-byte string literal not displayed */
	// Deprecated: Do not use.
	Models []string   `protobuf:"bytes,6,rep,name=models,proto3" json:"models,omitempty"`
	Sdk    *model.SDK `protobuf:"bytes,7,opt,name=sdk,proto3" json:"sdk,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupSDKResponse) Descriptor deprecated

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

Deprecated: Use LookupSDKResponse.ProtoReflect.Descriptor instead.

func (*LookupSDKResponse) GetCreatedAt deprecated

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

Deprecated: Do not use.

func (*LookupSDKResponse) GetCreatedBy deprecated

func (x *LookupSDKResponse) GetCreatedBy() string

Deprecated: Do not use.

func (*LookupSDKResponse) GetModels deprecated

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

Deprecated: Do not use.

func (*LookupSDKResponse) GetName deprecated

func (x *LookupSDKResponse) GetName() string

Deprecated: Do not use.

func (*LookupSDKResponse) GetSdk

func (x *LookupSDKResponse) GetSdk() *model.SDK

func (*LookupSDKResponse) GetSettings deprecated

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

Deprecated: Do not use.

func (*LookupSDKResponse) GetVersion deprecated

func (x *LookupSDKResponse) GetVersion() string

Deprecated: Do not use.

func (*LookupSDKResponse) ProtoMessage

func (*LookupSDKResponse) ProtoMessage()

func (*LookupSDKResponse) ProtoReflect

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

func (*LookupSDKResponse) Reset

func (x *LookupSDKResponse) Reset()

func (*LookupSDKResponse) String

func (x *LookupSDKResponse) String() string

type Message

type Message struct {
	Id      []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Message *Data  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetId

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

func (*Message) GetMessage

func (x *Message) GetMessage() *Data

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type OrganizationChange

type OrganizationChange struct {

	// Types that are assignable to Change:
	//	*OrganizationChange_City
	//	*OrganizationChange_Country
	//	*OrganizationChange_PhoneNumber
	//	*OrganizationChange_CvrNumber
	//	*OrganizationChange_Name
	//	*OrganizationChange_Email
	//	*OrganizationChange_VatNumber
	//	*OrganizationChange_VatCountryCode
	//	*OrganizationChange_AddressLine
	//	*OrganizationChange_PostalCode
	//	*OrganizationChange_Customer
	Change isOrganizationChange_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

func (*OrganizationChange) Descriptor deprecated

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

Deprecated: Use OrganizationChange.ProtoReflect.Descriptor instead.

func (*OrganizationChange) GetAddressLine

func (x *OrganizationChange) GetAddressLine() string

func (*OrganizationChange) GetChange

func (m *OrganizationChange) GetChange() isOrganizationChange_Change

func (*OrganizationChange) GetCity

func (x *OrganizationChange) GetCity() string

func (*OrganizationChange) GetCountry

func (x *OrganizationChange) GetCountry() string

func (*OrganizationChange) GetCustomer

func (x *OrganizationChange) GetCustomer() model.Customer_Type

func (*OrganizationChange) GetCvrNumber

func (x *OrganizationChange) GetCvrNumber() string

func (*OrganizationChange) GetEmail

func (x *OrganizationChange) GetEmail() string

func (*OrganizationChange) GetName

func (x *OrganizationChange) GetName() string

func (*OrganizationChange) GetPhoneNumber

func (x *OrganizationChange) GetPhoneNumber() string

func (*OrganizationChange) GetPostalCode

func (x *OrganizationChange) GetPostalCode() string

func (*OrganizationChange) GetVatCountryCode

func (x *OrganizationChange) GetVatCountryCode() string

func (*OrganizationChange) GetVatNumber

func (x *OrganizationChange) GetVatNumber() string

func (*OrganizationChange) ProtoMessage

func (*OrganizationChange) ProtoMessage()

func (*OrganizationChange) ProtoReflect

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

func (*OrganizationChange) Reset

func (x *OrganizationChange) Reset()

func (*OrganizationChange) String

func (x *OrganizationChange) String() string

type OrganizationChange_AddressLine

type OrganizationChange_AddressLine struct {
	AddressLine string `protobuf:"bytes,9,opt,name=address_line,json=addressLine,proto3,oneof"`
}

type OrganizationChange_City

type OrganizationChange_City struct {
	City string `protobuf:"bytes,1,opt,name=city,proto3,oneof"`
}

type OrganizationChange_Country

type OrganizationChange_Country struct {
	Country string `protobuf:"bytes,2,opt,name=country,proto3,oneof"`
}

type OrganizationChange_Customer

type OrganizationChange_Customer struct {
	Customer model.Customer_Type `protobuf:"varint,11,opt,name=customer,proto3,enum=toit.model.Customer_Type,oneof"`
}

type OrganizationChange_CvrNumber

type OrganizationChange_CvrNumber struct {
	CvrNumber string `protobuf:"bytes,4,opt,name=cvr_number,json=cvrNumber,proto3,oneof"` // Not used
}

type OrganizationChange_Email

type OrganizationChange_Email struct {
	Email string `protobuf:"bytes,6,opt,name=email,proto3,oneof"`
}

type OrganizationChange_Name

type OrganizationChange_Name struct {
	Name string `protobuf:"bytes,5,opt,name=name,proto3,oneof"`
}

type OrganizationChange_PhoneNumber

type OrganizationChange_PhoneNumber struct {
	PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}

type OrganizationChange_PostalCode

type OrganizationChange_PostalCode struct {
	PostalCode string `protobuf:"bytes,10,opt,name=postal_code,json=postalCode,proto3,oneof"`
}

type OrganizationChange_VatCountryCode

type OrganizationChange_VatCountryCode struct {
	VatCountryCode string `protobuf:"bytes,8,opt,name=vat_country_code,json=vatCountryCode,proto3,oneof"`
}

type OrganizationChange_VatNumber

type OrganizationChange_VatNumber struct {
	VatNumber string `protobuf:"bytes,7,opt,name=vat_number,json=vatNumber,proto3,oneof"`
}

type OrganizationServiceClient

type OrganizationServiceClient interface {
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error)
	ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (OrganizationService_ListAPIKeysClient, error)
	DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error)
	GetAPIKeySecret(ctx context.Context, in *GetAPIKeySecretRequest, opts ...grpc.CallOption) (*GetAPIKeySecretResponse, error)
	UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*UpdateOrganizationResponse, error)
	CreateNewOrganization(ctx context.Context, in *CreateNewOrganizationRequest, opts ...grpc.CallOption) (*CreateNewOrganizationResponse, error)
	ClaimHardwareIdentity(ctx context.Context, in *ClaimHardwareIdentityRequest, opts ...grpc.CallOption) (*ClaimHardwareIdentityResponse, error)
	SetHardwareIdentityInfo(ctx context.Context, in *SetHardwareIdentityInfoRequest, opts ...grpc.CallOption) (*SetHardwareIdentityInfoResponse, error)
}

OrganizationServiceClient is the client API for OrganizationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OrganizationServiceServer

OrganizationServiceServer is the server API for OrganizationService service. All implementations must embed UnimplementedOrganizationServiceServer for forward compatibility

type OrganizationService_ListAPIKeysClient

type OrganizationService_ListAPIKeysClient interface {
	Recv() (*ListAPIKeysResponse, error)
	grpc.ClientStream
}

type OrganizationService_ListAPIKeysServer

type OrganizationService_ListAPIKeysServer interface {
	Send(*ListAPIKeysResponse) error
	grpc.ServerStream
}

type ProcessGoalStatus

type ProcessGoalStatus int32
const (
	ProcessGoalStatus_PROCESS_GOAL_STATUS_UNKNOWN    ProcessGoalStatus = 0
	ProcessGoalStatus_PROCESS_GOAL_STATUS_RUNNING    ProcessGoalStatus = 1
	ProcessGoalStatus_PROCESS_GOAL_STATUS_TERMINATED ProcessGoalStatus = 2
)

func (ProcessGoalStatus) Descriptor

func (ProcessGoalStatus) Enum

func (ProcessGoalStatus) EnumDescriptor deprecated

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

Deprecated: Use ProcessGoalStatus.Descriptor instead.

func (ProcessGoalStatus) Number

func (ProcessGoalStatus) String

func (x ProcessGoalStatus) String() string

func (ProcessGoalStatus) Type

type ProcessStatus

type ProcessStatus int32
const (
	ProcessStatus_PROCESS_STATUS_UNKNOWN    ProcessStatus = 0
	ProcessStatus_PROCESS_STATUS_RUNNING    ProcessStatus = 1
	ProcessStatus_PROCESS_STATUS_TERMINATED ProcessStatus = 2
)

func (ProcessStatus) Descriptor

func (ProcessStatus) Enum

func (x ProcessStatus) Enum() *ProcessStatus

func (ProcessStatus) EnumDescriptor deprecated

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

Deprecated: Use ProcessStatus.Descriptor instead.

func (ProcessStatus) Number

func (ProcessStatus) String

func (x ProcessStatus) String() string

func (ProcessStatus) Type

type ProgramServiceClient

ProgramServiceClient is the client API for ProgramService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProgramServiceServer

ProgramServiceServer is the server API for ProgramService service. All implementations must embed UnimplementedProgramServiceServer for forward compatibility

type ProgramService_DeviceRunClient

type ProgramService_DeviceRunClient interface {
	Recv() (*DeviceRunResponse, error)
	grpc.ClientStream
}

type ProgramService_DeviceRunServer

type ProgramService_DeviceRunServer interface {
	Send(*DeviceRunResponse) error
	grpc.ServerStream
}

type ProgramService_RunClient

type ProgramService_RunClient interface {
	Send(*RunRequest) error
	Recv() (*RunResponse, error)
	grpc.ClientStream
}

type ProgramService_RunServer

type ProgramService_RunServer interface {
	Send(*RunResponse) error
	Recv() (*RunRequest, error)
	grpc.ServerStream
}

type ProgramService_RunStartClient

type ProgramService_RunStartClient interface {
	Recv() (*RunResponse, error)
	grpc.ClientStream
}

type ProgramService_RunStartServer

type ProgramService_RunStartServer interface {
	Send(*RunResponse) error
	grpc.ServerStream
}

type ProgramSource

type ProgramSource struct {

	// Types that are assignable to Source:
	//	*ProgramSource_Files_
	//	*ProgramSource_Bundle_
	Source isProgramSource_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

func (*ProgramSource) Descriptor deprecated

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

Deprecated: Use ProgramSource.ProtoReflect.Descriptor instead.

func (*ProgramSource) GetBundle

func (x *ProgramSource) GetBundle() *ProgramSource_Bundle

func (*ProgramSource) GetFiles

func (x *ProgramSource) GetFiles() *ProgramSource_Files

func (*ProgramSource) GetSource

func (m *ProgramSource) GetSource() isProgramSource_Source

func (*ProgramSource) ProtoMessage

func (*ProgramSource) ProtoMessage()

func (*ProgramSource) ProtoReflect

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

func (*ProgramSource) Reset

func (x *ProgramSource) Reset()

func (*ProgramSource) String

func (x *ProgramSource) String() string

type ProgramSource_Bundle

type ProgramSource_Bundle struct {
	Bundle []byte `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramSource_Bundle) Descriptor deprecated

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

Deprecated: Use ProgramSource_Bundle.ProtoReflect.Descriptor instead.

func (*ProgramSource_Bundle) GetBundle

func (x *ProgramSource_Bundle) GetBundle() []byte

func (*ProgramSource_Bundle) ProtoMessage

func (*ProgramSource_Bundle) ProtoMessage()

func (*ProgramSource_Bundle) ProtoReflect

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

func (*ProgramSource_Bundle) Reset

func (x *ProgramSource_Bundle) Reset()

func (*ProgramSource_Bundle) String

func (x *ProgramSource_Bundle) String() string

type ProgramSource_Bundle_

type ProgramSource_Bundle_ struct {
	Bundle *ProgramSource_Bundle `protobuf:"bytes,2,opt,name=bundle,proto3,oneof"`
}

type ProgramSource_Files

type ProgramSource_Files struct {
	EntryFilename string            `protobuf:"bytes,1,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	Files         map[string][]byte `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProgramSource_Files) Descriptor deprecated

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

Deprecated: Use ProgramSource_Files.ProtoReflect.Descriptor instead.

func (*ProgramSource_Files) GetEntryFilename

func (x *ProgramSource_Files) GetEntryFilename() string

func (*ProgramSource_Files) GetFiles

func (x *ProgramSource_Files) GetFiles() map[string][]byte

func (*ProgramSource_Files) ProtoMessage

func (*ProgramSource_Files) ProtoMessage()

func (*ProgramSource_Files) ProtoReflect

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

func (*ProgramSource_Files) Reset

func (x *ProgramSource_Files) Reset()

func (*ProgramSource_Files) String

func (x *ProgramSource_Files) String() string

type ProgramSource_Files_

type ProgramSource_Files_ struct {
	Files *ProgramSource_Files `protobuf:"bytes,1,opt,name=files,proto3,oneof"`
}

type ReadDeviceEventsRequest

type ReadDeviceEventsRequest struct {
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Where to stream from, exclusive. Empty returns all historic logs.
	//
	// Types that are assignable to Offset:
	//	*ReadDeviceEventsRequest_Id
	//	*ReadDeviceEventsRequest_Ts
	Offset  isReadDeviceEventsRequest_Offset `protobuf_oneof:"offset"`
	Limit   uint64                           `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Reverse bool                             `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDeviceEventsRequest) Descriptor deprecated

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

Deprecated: Use ReadDeviceEventsRequest.ProtoReflect.Descriptor instead.

func (*ReadDeviceEventsRequest) GetDeviceId

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

func (*ReadDeviceEventsRequest) GetId

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

func (*ReadDeviceEventsRequest) GetLimit

func (x *ReadDeviceEventsRequest) GetLimit() uint64

func (*ReadDeviceEventsRequest) GetOffset

func (m *ReadDeviceEventsRequest) GetOffset() isReadDeviceEventsRequest_Offset

func (*ReadDeviceEventsRequest) GetReverse

func (x *ReadDeviceEventsRequest) GetReverse() bool

func (*ReadDeviceEventsRequest) GetTs

func (*ReadDeviceEventsRequest) ProtoMessage

func (*ReadDeviceEventsRequest) ProtoMessage()

func (*ReadDeviceEventsRequest) ProtoReflect

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

func (*ReadDeviceEventsRequest) Reset

func (x *ReadDeviceEventsRequest) Reset()

func (*ReadDeviceEventsRequest) String

func (x *ReadDeviceEventsRequest) String() string

type ReadDeviceEventsRequest_Id

type ReadDeviceEventsRequest_Id struct {
	Id []byte `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}

type ReadDeviceEventsRequest_Ts

type ReadDeviceEventsRequest_Ts struct {
	Ts *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3,oneof"`
}

type ReadDeviceEventsResponse

type ReadDeviceEventsResponse struct {
	Events []*model.DeviceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDeviceEventsResponse) Descriptor deprecated

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

Deprecated: Use ReadDeviceEventsResponse.ProtoReflect.Descriptor instead.

func (*ReadDeviceEventsResponse) GetEvents

func (x *ReadDeviceEventsResponse) GetEvents() []*model.DeviceEvent

func (*ReadDeviceEventsResponse) ProtoMessage

func (*ReadDeviceEventsResponse) ProtoMessage()

func (*ReadDeviceEventsResponse) ProtoReflect

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

func (*ReadDeviceEventsResponse) Reset

func (x *ReadDeviceEventsResponse) Reset()

func (*ReadDeviceEventsResponse) String

func (x *ReadDeviceEventsResponse) String() string

type ReadDeviceLogsRequest

type ReadDeviceLogsRequest struct {
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Where to stream from, exclusive. Empty returns all historic logs.
	//
	// Types that are assignable to Offset:
	//	*ReadDeviceLogsRequest_Id
	//	*ReadDeviceLogsRequest_Ts
	Offset       isReadDeviceLogsRequest_Offset `protobuf_oneof:"offset"`
	Limit        uint64                         `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	Reverse      bool                           `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
	FilterJobIds [][]byte                       `protobuf:"bytes,6,rep,name=filter_job_ids,json=filterJobIds,proto3" json:"filter_job_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDeviceLogsRequest) Descriptor deprecated

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

Deprecated: Use ReadDeviceLogsRequest.ProtoReflect.Descriptor instead.

func (*ReadDeviceLogsRequest) GetDeviceId

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

func (*ReadDeviceLogsRequest) GetFilterJobIds

func (x *ReadDeviceLogsRequest) GetFilterJobIds() [][]byte

func (*ReadDeviceLogsRequest) GetId

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

func (*ReadDeviceLogsRequest) GetLimit

func (x *ReadDeviceLogsRequest) GetLimit() uint64

func (*ReadDeviceLogsRequest) GetOffset

func (m *ReadDeviceLogsRequest) GetOffset() isReadDeviceLogsRequest_Offset

func (*ReadDeviceLogsRequest) GetReverse

func (x *ReadDeviceLogsRequest) GetReverse() bool

func (*ReadDeviceLogsRequest) GetTs

func (*ReadDeviceLogsRequest) ProtoMessage

func (*ReadDeviceLogsRequest) ProtoMessage()

func (*ReadDeviceLogsRequest) ProtoReflect

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

func (*ReadDeviceLogsRequest) Reset

func (x *ReadDeviceLogsRequest) Reset()

func (*ReadDeviceLogsRequest) String

func (x *ReadDeviceLogsRequest) String() string

type ReadDeviceLogsRequest_Id

type ReadDeviceLogsRequest_Id struct {
	Id []byte `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}

type ReadDeviceLogsRequest_Ts

type ReadDeviceLogsRequest_Ts struct {
	Ts *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3,oneof"`
}

type ReadDeviceLogsResponse

type ReadDeviceLogsResponse struct {
	Logs []*DeviceLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDeviceLogsResponse) Descriptor deprecated

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

Deprecated: Use ReadDeviceLogsResponse.ProtoReflect.Descriptor instead.

func (*ReadDeviceLogsResponse) GetLogs

func (x *ReadDeviceLogsResponse) GetLogs() []*DeviceLog

func (*ReadDeviceLogsResponse) ProtoMessage

func (*ReadDeviceLogsResponse) ProtoMessage()

func (*ReadDeviceLogsResponse) ProtoReflect

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

func (*ReadDeviceLogsResponse) Reset

func (x *ReadDeviceLogsResponse) Reset()

func (*ReadDeviceLogsResponse) String

func (x *ReadDeviceLogsResponse) String() string

type RebootDeviceRequest

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

func (*RebootDeviceRequest) Descriptor deprecated

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

Deprecated: Use RebootDeviceRequest.ProtoReflect.Descriptor instead.

func (*RebootDeviceRequest) GetDeviceId

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

func (*RebootDeviceRequest) ProtoMessage

func (*RebootDeviceRequest) ProtoMessage()

func (*RebootDeviceRequest) ProtoReflect

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

func (*RebootDeviceRequest) Reset

func (x *RebootDeviceRequest) Reset()

func (*RebootDeviceRequest) String

func (x *RebootDeviceRequest) String() string

type RebootDeviceResponse

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

func (*RebootDeviceResponse) Descriptor deprecated

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

Deprecated: Use RebootDeviceResponse.ProtoReflect.Descriptor instead.

func (*RebootDeviceResponse) ProtoMessage

func (*RebootDeviceResponse) ProtoMessage()

func (*RebootDeviceResponse) ProtoReflect

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

func (*RebootDeviceResponse) Reset

func (x *RebootDeviceResponse) Reset()

func (*RebootDeviceResponse) String

func (x *RebootDeviceResponse) String() string

type RefreshRequest

type RefreshRequest struct {
	RefreshToken []byte `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshRequest) Descriptor deprecated

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

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) GetRefreshToken

func (x *RefreshRequest) GetRefreshToken() []byte

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

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

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

type RegisterSDKRequest

type RegisterSDKRequest struct {
	Sdk         []byte `protobuf:"bytes,1,opt,name=sdk,proto3" json:"sdk,omitempty"`
	KeepDefault bool   `protobuf:"varint,2,opt,name=keep_default,json=keepDefault,proto3" json:"keep_default,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterSDKRequest) Descriptor deprecated

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

Deprecated: Use RegisterSDKRequest.ProtoReflect.Descriptor instead.

func (*RegisterSDKRequest) GetKeepDefault

func (x *RegisterSDKRequest) GetKeepDefault() bool

func (*RegisterSDKRequest) GetSdk

func (x *RegisterSDKRequest) GetSdk() []byte

func (*RegisterSDKRequest) ProtoMessage

func (*RegisterSDKRequest) ProtoMessage()

func (*RegisterSDKRequest) ProtoReflect

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

func (*RegisterSDKRequest) Reset

func (x *RegisterSDKRequest) Reset()

func (*RegisterSDKRequest) String

func (x *RegisterSDKRequest) String() string

type RegisterSDKResponse

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

func (*RegisterSDKResponse) Descriptor deprecated

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

Deprecated: Use RegisterSDKResponse.ProtoReflect.Descriptor instead.

func (*RegisterSDKResponse) GetName

func (x *RegisterSDKResponse) GetName() string

func (*RegisterSDKResponse) ProtoMessage

func (*RegisterSDKResponse) ProtoMessage()

func (*RegisterSDKResponse) ProtoReflect

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

func (*RegisterSDKResponse) Reset

func (x *RegisterSDKResponse) Reset()

func (*RegisterSDKResponse) String

func (x *RegisterSDKResponse) String() string

type RemoveSimulatorRequest

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

func (*RemoveSimulatorRequest) Descriptor deprecated

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

Deprecated: Use RemoveSimulatorRequest.ProtoReflect.Descriptor instead.

func (*RemoveSimulatorRequest) GetDeviceId

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

func (*RemoveSimulatorRequest) GetSimulatorId

func (x *RemoveSimulatorRequest) GetSimulatorId() []byte

func (*RemoveSimulatorRequest) ProtoMessage

func (*RemoveSimulatorRequest) ProtoMessage()

func (*RemoveSimulatorRequest) ProtoReflect

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

func (*RemoveSimulatorRequest) Reset

func (x *RemoveSimulatorRequest) Reset()

func (*RemoveSimulatorRequest) String

func (x *RemoveSimulatorRequest) String() string

type RemoveSimulatorResponse

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

func (*RemoveSimulatorResponse) Descriptor deprecated

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

Deprecated: Use RemoveSimulatorResponse.ProtoReflect.Descriptor instead.

func (*RemoveSimulatorResponse) ProtoMessage

func (*RemoveSimulatorResponse) ProtoMessage()

func (*RemoveSimulatorResponse) ProtoReflect

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

func (*RemoveSimulatorResponse) Reset

func (x *RemoveSimulatorResponse) Reset()

func (*RemoveSimulatorResponse) String

func (x *RemoveSimulatorResponse) String() string

type ReplaceRequest

type ReplaceRequest struct {
	NewHardwareId     []byte `protobuf:"bytes,1,opt,name=new_hardware_id,json=newHardwareId,proto3" json:"new_hardware_id,omitempty"`
	CurrentHardwareId []byte `protobuf:"bytes,2,opt,name=current_hardware_id,json=currentHardwareId,proto3" json:"current_hardware_id,omitempty"`
	// The ID of the device to replace.
	DeviceId []byte `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Optional to set. Default is the current org for the user.
	OrganizationId []byte `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceRequest) Descriptor deprecated

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

Deprecated: Use ReplaceRequest.ProtoReflect.Descriptor instead.

func (*ReplaceRequest) GetCurrentHardwareId

func (x *ReplaceRequest) GetCurrentHardwareId() []byte

func (*ReplaceRequest) GetDeviceId

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

func (*ReplaceRequest) GetNewHardwareId

func (x *ReplaceRequest) GetNewHardwareId() []byte

func (*ReplaceRequest) GetOrganizationId

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

func (*ReplaceRequest) ProtoMessage

func (*ReplaceRequest) ProtoMessage()

func (*ReplaceRequest) ProtoReflect

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

func (*ReplaceRequest) Reset

func (x *ReplaceRequest) Reset()

func (*ReplaceRequest) String

func (x *ReplaceRequest) String() string

type ReplaceResponse

type ReplaceResponse struct {
	HardwareInfo   *model.HardwareInfo `protobuf:"bytes,1,opt,name=hardware_info,json=hardwareInfo,proto3" json:"hardware_info,omitempty"`
	OrganizationId []byte              `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceResponse) Descriptor deprecated

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

Deprecated: Use ReplaceResponse.ProtoReflect.Descriptor instead.

func (*ReplaceResponse) GetHardwareInfo

func (x *ReplaceResponse) GetHardwareInfo() *model.HardwareInfo

func (*ReplaceResponse) GetOrganizationId

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

func (*ReplaceResponse) ProtoMessage

func (*ReplaceResponse) ProtoMessage()

func (*ReplaceResponse) ProtoReflect

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

func (*ReplaceResponse) Reset

func (x *ReplaceResponse) Reset()

func (*ReplaceResponse) String

func (x *ReplaceResponse) String() string

type RunInput

type RunInput struct {
	Input []byte `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*RunInput) Descriptor deprecated

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

Deprecated: Use RunInput.ProtoReflect.Descriptor instead.

func (*RunInput) GetInput

func (x *RunInput) GetInput() []byte

func (*RunInput) ProtoMessage

func (*RunInput) ProtoMessage()

func (*RunInput) ProtoReflect

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

func (*RunInput) Reset

func (x *RunInput) Reset()

func (*RunInput) String

func (x *RunInput) String() string

type RunRequest

type RunRequest struct {

	// Types that are assignable to Payload:
	//	*RunRequest_Start
	//	*RunRequest_Input
	Payload isRunRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetInput

func (x *RunRequest) GetInput() *RunInput

func (*RunRequest) GetPayload

func (m *RunRequest) GetPayload() isRunRequest_Payload

func (*RunRequest) GetStart

func (x *RunRequest) GetStart() *RunStart

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

type RunRequest_Input

type RunRequest_Input struct {
	Input *RunInput `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}

type RunRequest_Start

type RunRequest_Start struct {
	Start *RunStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type RunResponse

type RunResponse struct {

	// Types that are assignable to Response:
	//	*RunResponse_Out
	//	*RunResponse_Err
	//	*RunResponse_Exit
	Response isRunResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*RunResponse) Descriptor deprecated

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) GetErr

func (x *RunResponse) GetErr() []byte

func (*RunResponse) GetExit

func (x *RunResponse) GetExit() int64

func (*RunResponse) GetOut

func (x *RunResponse) GetOut() []byte

func (*RunResponse) GetResponse

func (m *RunResponse) GetResponse() isRunResponse_Response

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect

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

func (*RunResponse) Reset

func (x *RunResponse) Reset()

func (*RunResponse) String

func (x *RunResponse) String() string

type RunResponse_Err

type RunResponse_Err struct {
	Err []byte `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}

type RunResponse_Exit

type RunResponse_Exit struct {
	Exit int64 `protobuf:"varint,3,opt,name=exit,proto3,oneof"`
}

type RunResponse_Out

type RunResponse_Out struct {
	Out []byte `protobuf:"bytes,1,opt,name=out,proto3,oneof"`
}

type RunStart

type RunStart struct {
	SdkName string `protobuf:"bytes,1,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	// Deprecated: Do not use.
	EntryFilename string `protobuf:"bytes,2,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	// Deprecated: Do not use.
	Sources map[string][]byte `` /* 155-byte string literal not displayed */
	Args    []string          `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Source  *ProgramSource    `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*RunStart) Descriptor deprecated

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

Deprecated: Use RunStart.ProtoReflect.Descriptor instead.

func (*RunStart) GetArgs

func (x *RunStart) GetArgs() []string

func (*RunStart) GetEntryFilename deprecated

func (x *RunStart) GetEntryFilename() string

Deprecated: Do not use.

func (*RunStart) GetSdkName

func (x *RunStart) GetSdkName() string

func (*RunStart) GetSource

func (x *RunStart) GetSource() *ProgramSource

func (*RunStart) GetSources deprecated

func (x *RunStart) GetSources() map[string][]byte

Deprecated: Do not use.

func (*RunStart) ProtoMessage

func (*RunStart) ProtoMessage()

func (*RunStart) ProtoReflect

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

func (*RunStart) Reset

func (x *RunStart) Reset()

func (*RunStart) String

func (x *RunStart) String() string

type RunStartRequest

type RunStartRequest struct {
	SdkName string `protobuf:"bytes,1,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	// Deprecated: Do not use.
	EntryFilename string `protobuf:"bytes,2,opt,name=entry_filename,json=entryFilename,proto3" json:"entry_filename,omitempty"`
	// Deprecated: Do not use.
	Sources map[string][]byte `` /* 155-byte string literal not displayed */
	Args    []string          `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Source  *ProgramSource    `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*RunStartRequest) Descriptor deprecated

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

Deprecated: Use RunStartRequest.ProtoReflect.Descriptor instead.

func (*RunStartRequest) GetArgs

func (x *RunStartRequest) GetArgs() []string

func (*RunStartRequest) GetEntryFilename deprecated

func (x *RunStartRequest) GetEntryFilename() string

Deprecated: Do not use.

func (*RunStartRequest) GetSdkName

func (x *RunStartRequest) GetSdkName() string

func (*RunStartRequest) GetSource

func (x *RunStartRequest) GetSource() *ProgramSource

func (*RunStartRequest) GetSources deprecated

func (x *RunStartRequest) GetSources() map[string][]byte

Deprecated: Do not use.

func (*RunStartRequest) ProtoMessage

func (*RunStartRequest) ProtoMessage()

func (*RunStartRequest) ProtoReflect

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

func (*RunStartRequest) Reset

func (x *RunStartRequest) Reset()

func (*RunStartRequest) String

func (x *RunStartRequest) String() string

type SDKServiceClient

type SDKServiceClient interface {
	RegisterSDK(ctx context.Context, in *RegisterSDKRequest, opts ...grpc.CallOption) (*RegisterSDKResponse, error)
	DeregisterSDK(ctx context.Context, in *DeregisterSDKRequest, opts ...grpc.CallOption) (*DeregisterSDKResponse, error)
	LookupSDK(ctx context.Context, in *LookupSDKRequest, opts ...grpc.CallOption) (*LookupSDKResponse, error)
	ValidateModel(ctx context.Context, in *ValidateModelRequest, opts ...grpc.CallOption) (*ValidateModelResponse, error)
	SetDefaultSDK(ctx context.Context, in *SetDefaultSDKRequest, opts ...grpc.CallOption) (*SetDefaultSDKResponse, error)
	DefaultSDK(ctx context.Context, in *DefaultSDKRequest, opts ...grpc.CallOption) (*DefaultSDKResponse, error)
	ListSDKs(ctx context.Context, in *ListSDKsRequest, opts ...grpc.CallOption) (*ListSDKsResponse, error)
	// Only available on local consoles for debug purposes.
	GetFirmwareElf(ctx context.Context, in *GetFirmwareElfRequest, opts ...grpc.CallOption) (*GetFirmwareElfResponse, error)
}

SDKServiceClient is the client API for SDKService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSDKServiceClient

func NewSDKServiceClient(cc grpc.ClientConnInterface) SDKServiceClient

type SDKServiceServer

type SDKServiceServer interface {
	RegisterSDK(context.Context, *RegisterSDKRequest) (*RegisterSDKResponse, error)
	DeregisterSDK(context.Context, *DeregisterSDKRequest) (*DeregisterSDKResponse, error)
	LookupSDK(context.Context, *LookupSDKRequest) (*LookupSDKResponse, error)
	ValidateModel(context.Context, *ValidateModelRequest) (*ValidateModelResponse, error)
	SetDefaultSDK(context.Context, *SetDefaultSDKRequest) (*SetDefaultSDKResponse, error)
	DefaultSDK(context.Context, *DefaultSDKRequest) (*DefaultSDKResponse, error)
	ListSDKs(context.Context, *ListSDKsRequest) (*ListSDKsResponse, error)
	// Only available on local consoles for debug purposes.
	GetFirmwareElf(context.Context, *GetFirmwareElfRequest) (*GetFirmwareElfResponse, error)
	// contains filtered or unexported methods
}

SDKServiceServer is the server API for SDKService service. All implementations must embed UnimplementedSDKServiceServer for forward compatibility

type SetDefaultSDKRequest

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

func (*SetDefaultSDKRequest) Descriptor deprecated

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

Deprecated: Use SetDefaultSDKRequest.ProtoReflect.Descriptor instead.

func (*SetDefaultSDKRequest) GetName

func (x *SetDefaultSDKRequest) GetName() string

func (*SetDefaultSDKRequest) ProtoMessage

func (*SetDefaultSDKRequest) ProtoMessage()

func (*SetDefaultSDKRequest) ProtoReflect

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

func (*SetDefaultSDKRequest) Reset

func (x *SetDefaultSDKRequest) Reset()

func (*SetDefaultSDKRequest) String

func (x *SetDefaultSDKRequest) String() string

type SetDefaultSDKResponse

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

func (*SetDefaultSDKResponse) Descriptor deprecated

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

Deprecated: Use SetDefaultSDKResponse.ProtoReflect.Descriptor instead.

func (*SetDefaultSDKResponse) ProtoMessage

func (*SetDefaultSDKResponse) ProtoMessage()

func (*SetDefaultSDKResponse) ProtoReflect

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

func (*SetDefaultSDKResponse) Reset

func (x *SetDefaultSDKResponse) Reset()

func (*SetDefaultSDKResponse) String

func (x *SetDefaultSDKResponse) String() string

type SetHardwareIdentityInfoRequest

type SetHardwareIdentityInfoRequest struct {
	FlashStationSecret string                      `protobuf:"bytes,1,opt,name=flash_station_secret,json=flashStationSecret,proto3" json:"flash_station_secret,omitempty"`
	HardwareId         []byte                      `protobuf:"bytes,2,opt,name=hardware_id,json=hardwareId,proto3" json:"hardware_id,omitempty"`
	Info               *model.HardwareIdentityInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*SetHardwareIdentityInfoRequest) Descriptor deprecated

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

Deprecated: Use SetHardwareIdentityInfoRequest.ProtoReflect.Descriptor instead.

func (*SetHardwareIdentityInfoRequest) GetFlashStationSecret

func (x *SetHardwareIdentityInfoRequest) GetFlashStationSecret() string

func (*SetHardwareIdentityInfoRequest) GetHardwareId

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

func (*SetHardwareIdentityInfoRequest) GetInfo

func (*SetHardwareIdentityInfoRequest) ProtoMessage

func (*SetHardwareIdentityInfoRequest) ProtoMessage()

func (*SetHardwareIdentityInfoRequest) ProtoReflect

func (*SetHardwareIdentityInfoRequest) Reset

func (x *SetHardwareIdentityInfoRequest) Reset()

func (*SetHardwareIdentityInfoRequest) String

type SetHardwareIdentityInfoResponse

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

func (*SetHardwareIdentityInfoResponse) Descriptor deprecated

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

Deprecated: Use SetHardwareIdentityInfoResponse.ProtoReflect.Descriptor instead.

func (*SetHardwareIdentityInfoResponse) ProtoMessage

func (*SetHardwareIdentityInfoResponse) ProtoMessage()

func (*SetHardwareIdentityInfoResponse) ProtoReflect

func (*SetHardwareIdentityInfoResponse) Reset

func (*SetHardwareIdentityInfoResponse) String

type SetPasswordRequest

type SetPasswordRequest struct {
	OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPasswordRequest) Descriptor deprecated

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

Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetPasswordRequest) GetNewPassword

func (x *SetPasswordRequest) GetNewPassword() string

func (*SetPasswordRequest) GetOldPassword

func (x *SetPasswordRequest) GetOldPassword() string

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) ProtoReflect

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

func (*SetPasswordRequest) Reset

func (x *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (x *SetPasswordRequest) String() string

type SetPasswordResponse

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

func (*SetPasswordResponse) Descriptor deprecated

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

Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.

func (*SetPasswordResponse) ProtoMessage

func (*SetPasswordResponse) ProtoMessage()

func (*SetPasswordResponse) ProtoReflect

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

func (*SetPasswordResponse) Reset

func (x *SetPasswordResponse) Reset()

func (*SetPasswordResponse) String

func (x *SetPasswordResponse) String() string

type SimulatorServiceClient

type SimulatorServiceClient interface {
	CreateSimulator(ctx context.Context, in *CreateSimulatorRequest, opts ...grpc.CallOption) (*CreateSimulatorResponse, error)
	RemoveSimulator(ctx context.Context, in *RemoveSimulatorRequest, opts ...grpc.CallOption) (*RemoveSimulatorResponse, error)
	ListSimulators(ctx context.Context, in *ListSimulatorsRequest, opts ...grpc.CallOption) (*ListSimulatorsResponse, error)
	CreateHardwareIdentity(ctx context.Context, in *CreateHardwareIdentityRequest, opts ...grpc.CallOption) (*CreateHardwareIdentityResponse, error)
}

SimulatorServiceClient is the client API for SimulatorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SimulatorServiceServer

type SimulatorServiceServer interface {
	CreateSimulator(context.Context, *CreateSimulatorRequest) (*CreateSimulatorResponse, error)
	RemoveSimulator(context.Context, *RemoveSimulatorRequest) (*RemoveSimulatorResponse, error)
	ListSimulators(context.Context, *ListSimulatorsRequest) (*ListSimulatorsResponse, error)
	CreateHardwareIdentity(context.Context, *CreateHardwareIdentityRequest) (*CreateHardwareIdentityResponse, error)
	// contains filtered or unexported methods
}

SimulatorServiceServer is the server API for SimulatorService service. All implementations must embed UnimplementedSimulatorServiceServer for forward compatibility

type StreamRequest

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

func (*StreamRequest) Descriptor deprecated

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

Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.

func (*StreamRequest) GetSubscription

func (x *StreamRequest) GetSubscription() *Subscription

func (*StreamRequest) ProtoMessage

func (*StreamRequest) ProtoMessage()

func (*StreamRequest) ProtoReflect

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

func (*StreamRequest) Reset

func (x *StreamRequest) Reset()

func (*StreamRequest) String

func (x *StreamRequest) String() string

type StreamResponse

type StreamResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamResponse) Descriptor deprecated

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

Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.

func (*StreamResponse) GetMessages

func (x *StreamResponse) GetMessages() []*Message

func (*StreamResponse) ProtoMessage

func (*StreamResponse) ProtoMessage()

func (*StreamResponse) ProtoReflect

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

func (*StreamResponse) Reset

func (x *StreamResponse) Reset()

func (*StreamResponse) String

func (x *StreamResponse) String() string

type Subscription

type Subscription struct {
	Type DataType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.api.DataType" json:"type,omitempty"`
	Name string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A subscription must be unique pair of type and name where the name is choosen on creation. Name must be letters, numbers, dashes (-), periods (.), underscores (_), tildes (~), percents (%) or plus signs (+).

func (*Subscription) Descriptor deprecated

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

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetName

func (x *Subscription) GetName() string

func (*Subscription) GetType

func (x *Subscription) GetType() DataType

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

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

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type SyntaxAnalyzeRequest

type SyntaxAnalyzeRequest struct {
	EntryFile string            `protobuf:"bytes,1,opt,name=entry_file,json=entryFile,proto3" json:"entry_file,omitempty"`
	SdkName   string            `protobuf:"bytes,2,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
	Sources   map[string][]byte `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SyntaxAnalyzeRequest) Descriptor deprecated

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

Deprecated: Use SyntaxAnalyzeRequest.ProtoReflect.Descriptor instead.

func (*SyntaxAnalyzeRequest) GetEntryFile

func (x *SyntaxAnalyzeRequest) GetEntryFile() string

func (*SyntaxAnalyzeRequest) GetSdkName

func (x *SyntaxAnalyzeRequest) GetSdkName() string

func (*SyntaxAnalyzeRequest) GetSources

func (x *SyntaxAnalyzeRequest) GetSources() map[string][]byte

func (*SyntaxAnalyzeRequest) ProtoMessage

func (*SyntaxAnalyzeRequest) ProtoMessage()

func (*SyntaxAnalyzeRequest) ProtoReflect

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

func (*SyntaxAnalyzeRequest) Reset

func (x *SyntaxAnalyzeRequest) Reset()

func (*SyntaxAnalyzeRequest) String

func (x *SyntaxAnalyzeRequest) String() string

type SyntaxAnalyzeResponse

type SyntaxAnalyzeResponse struct {
	Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*SyntaxAnalyzeResponse) Descriptor deprecated

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

Deprecated: Use SyntaxAnalyzeResponse.ProtoReflect.Descriptor instead.

func (*SyntaxAnalyzeResponse) GetResponse

func (x *SyntaxAnalyzeResponse) GetResponse() []byte

func (*SyntaxAnalyzeResponse) ProtoMessage

func (*SyntaxAnalyzeResponse) ProtoMessage()

func (*SyntaxAnalyzeResponse) ProtoReflect

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

func (*SyntaxAnalyzeResponse) Reset

func (x *SyntaxAnalyzeResponse) Reset()

func (*SyntaxAnalyzeResponse) String

func (x *SyntaxAnalyzeResponse) String() string

type UnclaimDeviceRequest

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

func (*UnclaimDeviceRequest) Descriptor deprecated

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

Deprecated: Use UnclaimDeviceRequest.ProtoReflect.Descriptor instead.

func (*UnclaimDeviceRequest) GetDeviceId

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

func (*UnclaimDeviceRequest) ProtoMessage

func (*UnclaimDeviceRequest) ProtoMessage()

func (*UnclaimDeviceRequest) ProtoReflect

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

func (*UnclaimDeviceRequest) Reset

func (x *UnclaimDeviceRequest) Reset()

func (*UnclaimDeviceRequest) String

func (x *UnclaimDeviceRequest) String() string

type UnclaimDeviceResponse

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

func (*UnclaimDeviceResponse) Descriptor deprecated

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

Deprecated: Use UnclaimDeviceResponse.ProtoReflect.Descriptor instead.

func (*UnclaimDeviceResponse) ProtoMessage

func (*UnclaimDeviceResponse) ProtoMessage()

func (*UnclaimDeviceResponse) ProtoReflect

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

func (*UnclaimDeviceResponse) Reset

func (x *UnclaimDeviceResponse) Reset()

func (*UnclaimDeviceResponse) String

func (x *UnclaimDeviceResponse) String() string

type UnimplementedAppServiceServer

type UnimplementedAppServiceServer struct {
}

UnimplementedAppServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppServiceServer) CreateApp

func (UnimplementedAppServiceServer) GetApp

func (UnimplementedAppServiceServer) GetAppFiles

func (UnimplementedAppServiceServer) ListApps

type UnimplementedAuthServer

type UnimplementedAuthServer struct {
}

UnimplementedAuthServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServer) ChangeOrganization

func (UnimplementedAuthServer) Login

func (UnimplementedAuthServer) Logout

func (UnimplementedAuthServer) Refresh

type UnimplementedDataServiceServer

type UnimplementedDataServiceServer struct {
}

UnimplementedDataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDataServiceServer) Acknowledge

func (UnimplementedDataServiceServer) CreateSubscription

func (UnimplementedDataServiceServer) DeleteSubscription

func (UnimplementedDataServiceServer) Fetch

func (UnimplementedDataServiceServer) ListSubscriptions

func (UnimplementedDataServiceServer) Stream

type UnimplementedDeviceServiceServer

type UnimplementedDeviceServiceServer struct {
}

UnimplementedDeviceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDeviceServiceServer) ConfigureDevice

func (UnimplementedDeviceServiceServer) ConfigureJob

func (UnimplementedDeviceServiceServer) GetCurrentTime

func (UnimplementedDeviceServiceServer) GetDevice

func (UnimplementedDeviceServiceServer) InstallJob

func (UnimplementedDeviceServiceServer) ListDevices

func (UnimplementedDeviceServiceServer) ListJobs

func (UnimplementedDeviceServiceServer) LookupDevices

func (UnimplementedDeviceServiceServer) ReadDeviceEvents

func (UnimplementedDeviceServiceServer) ReadDeviceLogs

func (UnimplementedDeviceServiceServer) RebootDevice

func (UnimplementedDeviceServiceServer) UnclaimDevice

type UnimplementedDoctorServiceServer

type UnimplementedDoctorServiceServer struct {
}

UnimplementedDoctorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDoctorServiceServer) HealthCheck

type UnimplementedFlashStationServer

type UnimplementedFlashStationServer struct {
}

UnimplementedFlashStationServer must be embedded to have forward compatible implementations.

type UnimplementedHardwareServiceServer

type UnimplementedHardwareServiceServer struct {
}

UnimplementedHardwareServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHardwareServiceServer) Claim

func (UnimplementedHardwareServiceServer) GetActiveDeviceID

func (UnimplementedHardwareServiceServer) Replace

type UnimplementedOrganizationServiceServer

type UnimplementedOrganizationServiceServer struct {
}

UnimplementedOrganizationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServiceServer) CreateAPIKey

func (UnimplementedOrganizationServiceServer) CreateUser

func (UnimplementedOrganizationServiceServer) DeleteAPIKey

func (UnimplementedOrganizationServiceServer) DeleteUser

func (UnimplementedOrganizationServiceServer) GetAPIKeySecret

func (UnimplementedOrganizationServiceServer) GetUser

func (UnimplementedOrganizationServiceServer) ListAPIKeys

func (UnimplementedOrganizationServiceServer) ListUsers

func (UnimplementedOrganizationServiceServer) UpdateOrganization

type UnimplementedProgramServiceServer

type UnimplementedProgramServiceServer struct {
}

UnimplementedProgramServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProgramServiceServer) Analyze

func (UnimplementedProgramServiceServer) Compile

func (UnimplementedProgramServiceServer) DecodeSystemMessage

func (UnimplementedProgramServiceServer) DeviceRun

func (UnimplementedProgramServiceServer) GetCompilation

func (UnimplementedProgramServiceServer) GetProgram

func (UnimplementedProgramServiceServer) LookupPrograms

func (UnimplementedProgramServiceServer) Run

func (UnimplementedProgramServiceServer) RunStart

func (UnimplementedProgramServiceServer) SyntaxAnalyze

type UnimplementedSDKServiceServer

type UnimplementedSDKServiceServer struct {
}

UnimplementedSDKServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSDKServiceServer) DefaultSDK

func (UnimplementedSDKServiceServer) DeregisterSDK

func (UnimplementedSDKServiceServer) GetFirmwareElf

func (UnimplementedSDKServiceServer) ListSDKs

func (UnimplementedSDKServiceServer) LookupSDK

func (UnimplementedSDKServiceServer) RegisterSDK

func (UnimplementedSDKServiceServer) SetDefaultSDK

func (UnimplementedSDKServiceServer) ValidateModel

type UnimplementedSimulatorServiceServer

type UnimplementedSimulatorServiceServer struct {
}

UnimplementedSimulatorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSimulatorServiceServer) CreateSimulator

func (UnimplementedSimulatorServiceServer) ListSimulators

func (UnimplementedSimulatorServiceServer) RemoveSimulator

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) CreateUser

func (UnimplementedUserServer) GetCurrentUser

func (UnimplementedUserServer) GetOrganization

func (UnimplementedUserServer) ListUsers

func (UnimplementedUserServer) SetPassword

func (UnimplementedUserServer) UpdateUser

type UnsafeAppServiceServer

type UnsafeAppServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAppServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServiceServer will result in compilation errors.

type UnsafeAuthServer

type UnsafeAuthServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.

type UnsafeDataServiceServer

type UnsafeDataServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataServiceServer will result in compilation errors.

type UnsafeDeviceServiceServer

type UnsafeDeviceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDeviceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceServiceServer will result in compilation errors.

type UnsafeDoctorServiceServer

type UnsafeDoctorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDoctorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DoctorServiceServer will result in compilation errors.

type UnsafeFlashStationServer

type UnsafeFlashStationServer interface {
	// contains filtered or unexported methods
}

UnsafeFlashStationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlashStationServer will result in compilation errors.

type UnsafeHardwareServiceServer

type UnsafeHardwareServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHardwareServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HardwareServiceServer will result in compilation errors.

type UnsafeOrganizationServiceServer

type UnsafeOrganizationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.

type UnsafeProgramServiceServer

type UnsafeProgramServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProgramServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProgramServiceServer will result in compilation errors.

type UnsafeSDKServiceServer

type UnsafeSDKServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSDKServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SDKServiceServer will result in compilation errors.

type UnsafeSimulatorServiceServer

type UnsafeSimulatorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSimulatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SimulatorServiceServer will result in compilation errors.

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {
	Changes []*OrganizationChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrganizationRequest) Descriptor deprecated

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

Deprecated: Use UpdateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationRequest) GetChanges

func (x *UpdateOrganizationRequest) GetChanges() []*OrganizationChange

func (*UpdateOrganizationRequest) ProtoMessage

func (*UpdateOrganizationRequest) ProtoMessage()

func (*UpdateOrganizationRequest) ProtoReflect

func (*UpdateOrganizationRequest) Reset

func (x *UpdateOrganizationRequest) Reset()

func (*UpdateOrganizationRequest) String

func (x *UpdateOrganizationRequest) String() string

type UpdateOrganizationResponse

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

func (*UpdateOrganizationResponse) Descriptor deprecated

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

Deprecated: Use UpdateOrganizationResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationResponse) ProtoMessage

func (*UpdateOrganizationResponse) ProtoMessage()

func (*UpdateOrganizationResponse) ProtoReflect

func (*UpdateOrganizationResponse) Reset

func (x *UpdateOrganizationResponse) Reset()

func (*UpdateOrganizationResponse) String

func (x *UpdateOrganizationResponse) String() string

type UpdateUserRequest

type UpdateUserRequest struct {
	Changes []*UserChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetChanges

func (x *UpdateUserRequest) GetChanges() []*UserChange

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

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

func (*UpdateUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

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

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UserChange

type UserChange struct {

	// Types that are assignable to Change:
	//	*UserChange_SetSettingsWelcomeClosed
	//	*UserChange_SetSettingsNewsletter
	//	*UserChange_Role
	//	*UserChange_Name
	//	*UserChange_QuestionnaireAnsweredAt
	Change isUserChange_Change `protobuf_oneof:"change"`
	// contains filtered or unexported fields
}

func (*UserChange) Descriptor deprecated

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

Deprecated: Use UserChange.ProtoReflect.Descriptor instead.

func (*UserChange) GetChange

func (m *UserChange) GetChange() isUserChange_Change

func (*UserChange) GetName added in v0.12.0

func (x *UserChange) GetName() string

func (*UserChange) GetQuestionnaireAnsweredAt added in v0.12.0

func (x *UserChange) GetQuestionnaireAnsweredAt() *emptypb.Empty

func (*UserChange) GetRole added in v0.12.0

func (x *UserChange) GetRole() string

func (*UserChange) GetSetSettingsNewsletter

func (x *UserChange) GetSetSettingsNewsletter() bool

func (*UserChange) GetSetSettingsWelcomeClosed

func (x *UserChange) GetSetSettingsWelcomeClosed() bool

func (*UserChange) ProtoMessage

func (*UserChange) ProtoMessage()

func (*UserChange) ProtoReflect

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

func (*UserChange) Reset

func (x *UserChange) Reset()

func (*UserChange) String

func (x *UserChange) String() string

type UserChange_Name added in v0.12.0

type UserChange_Name struct {
	Name string `protobuf:"bytes,4,opt,name=name,proto3,oneof"`
}

type UserChange_QuestionnaireAnsweredAt added in v0.12.0

type UserChange_QuestionnaireAnsweredAt struct {
	QuestionnaireAnsweredAt *emptypb.Empty `protobuf:"bytes,5,opt,name=questionnaire_answered_at,json=questionnaireAnsweredAt,proto3,oneof"`
}

type UserChange_Role added in v0.12.0

type UserChange_Role struct {
	Role string `protobuf:"bytes,3,opt,name=role,proto3,oneof"`
}

type UserChange_SetSettingsNewsletter

type UserChange_SetSettingsNewsletter struct {
	SetSettingsNewsletter bool `protobuf:"varint,2,opt,name=set_settings_newsletter,json=setSettingsNewsletter,proto3,oneof"`
}

type UserChange_SetSettingsWelcomeClosed

type UserChange_SetSettingsWelcomeClosed struct {
	SetSettingsWelcomeClosed bool `protobuf:"varint,1,opt,name=set_settings_welcome_closed,json=setSettingsWelcomeClosed,proto3,oneof"`
}

type UserClient

type UserClient interface {
	SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error)
	InitiateResetPassword(ctx context.Context, in *InitiateResetPasswordRequest, opts ...grpc.CallOption) (*InitiateResetPasswordResponse, error)
	ChangePasswordWithRPToken(ctx context.Context, in *ChangePasswordWithRPTokenRequest, opts ...grpc.CallOption) (*ChangePasswordWithRPTokenResponse, error)
	GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserResponse, error)
	ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*ListOrganizationsResponse, error)
	GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error)
	// Deprecated: Do not use.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Deprecated: Do not use.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	CreatePaymentSubscription(ctx context.Context, in *CreatePaymentSubscriptionRequest, opts ...grpc.CallOption) (*CreatePaymentSubscriptionResponse, error)
	ListPaymentInvoices(ctx context.Context, in *ListPaymentInvoicesRequest, opts ...grpc.CallOption) (User_ListPaymentInvoicesClient, error)
	CancelPaymentSubscription(ctx context.Context, in *CancelPaymentSubscriptionRequest, opts ...grpc.CallOption) (*CancelPaymentSubscriptionResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserServer

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

type User_ListPaymentInvoicesClient

type User_ListPaymentInvoicesClient interface {
	Recv() (*ListPaymentInvoicesResponse, error)
	grpc.ClientStream
}

type User_ListPaymentInvoicesServer

type User_ListPaymentInvoicesServer interface {
	Send(*ListPaymentInvoicesResponse) error
	grpc.ServerStream
}

type ValidateModelRequest

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

func (*ValidateModelRequest) Descriptor deprecated

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

Deprecated: Use ValidateModelRequest.ProtoReflect.Descriptor instead.

func (*ValidateModelRequest) GetModel

func (x *ValidateModelRequest) GetModel() string

func (*ValidateModelRequest) GetName

func (x *ValidateModelRequest) GetName() string

func (*ValidateModelRequest) ProtoMessage

func (*ValidateModelRequest) ProtoMessage()

func (*ValidateModelRequest) ProtoReflect

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

func (*ValidateModelRequest) Reset

func (x *ValidateModelRequest) Reset()

func (*ValidateModelRequest) String

func (x *ValidateModelRequest) String() string

type ValidateModelResponse

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

func (*ValidateModelResponse) Descriptor deprecated

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

Deprecated: Use ValidateModelResponse.ProtoReflect.Descriptor instead.

func (*ValidateModelResponse) ProtoMessage

func (*ValidateModelResponse) ProtoMessage()

func (*ValidateModelResponse) ProtoReflect

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

func (*ValidateModelResponse) Reset

func (x *ValidateModelResponse) Reset()

func (*ValidateModelResponse) String

func (x *ValidateModelResponse) String() string

type WatchDeviceChangesRequest

type WatchDeviceChangesRequest struct {

	// Optional to listen on changes for a single device.
	DeviceId      []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	WatchRevision int64  `protobuf:"varint,2,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchDeviceChangesRequest) Descriptor deprecated

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

Deprecated: Use WatchDeviceChangesRequest.ProtoReflect.Descriptor instead.

func (*WatchDeviceChangesRequest) GetDeviceId

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

func (*WatchDeviceChangesRequest) GetWatchRevision

func (x *WatchDeviceChangesRequest) GetWatchRevision() int64

func (*WatchDeviceChangesRequest) ProtoMessage

func (*WatchDeviceChangesRequest) ProtoMessage()

func (*WatchDeviceChangesRequest) ProtoReflect

func (*WatchDeviceChangesRequest) Reset

func (x *WatchDeviceChangesRequest) Reset()

func (*WatchDeviceChangesRequest) String

func (x *WatchDeviceChangesRequest) String() string

type WatchDeviceChangesResponse

type WatchDeviceChangesResponse struct {
	Type          model.DeviceChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.DeviceChangeType" json:"type,omitempty"`
	DeviceId      []byte                 `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	WatchRevision int64                  `protobuf:"varint,3,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	LastConnected *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_connected,json=lastConnected,proto3" json:"last_connected,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchDeviceChangesResponse) Descriptor deprecated

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

Deprecated: Use WatchDeviceChangesResponse.ProtoReflect.Descriptor instead.

func (*WatchDeviceChangesResponse) GetDeviceId

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

func (*WatchDeviceChangesResponse) GetLastConnected

func (x *WatchDeviceChangesResponse) GetLastConnected() *timestamppb.Timestamp

func (*WatchDeviceChangesResponse) GetType

func (*WatchDeviceChangesResponse) GetWatchRevision

func (x *WatchDeviceChangesResponse) GetWatchRevision() int64

func (*WatchDeviceChangesResponse) ProtoMessage

func (*WatchDeviceChangesResponse) ProtoMessage()

func (*WatchDeviceChangesResponse) ProtoReflect

func (*WatchDeviceChangesResponse) Reset

func (x *WatchDeviceChangesResponse) Reset()

func (*WatchDeviceChangesResponse) String

func (x *WatchDeviceChangesResponse) String() string

type WatchJobChangesRequest

type WatchJobChangesRequest struct {

	// Optional to listen on changes for a single device.
	DeviceId []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Optional to listen on changes for a single job.
	JobId         []byte `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	WatchRevision int64  `protobuf:"varint,3,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchJobChangesRequest) Descriptor deprecated

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

Deprecated: Use WatchJobChangesRequest.ProtoReflect.Descriptor instead.

func (*WatchJobChangesRequest) GetDeviceId

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

func (*WatchJobChangesRequest) GetJobId

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

func (*WatchJobChangesRequest) GetWatchRevision

func (x *WatchJobChangesRequest) GetWatchRevision() int64

func (*WatchJobChangesRequest) ProtoMessage

func (*WatchJobChangesRequest) ProtoMessage()

func (*WatchJobChangesRequest) ProtoReflect

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

func (*WatchJobChangesRequest) Reset

func (x *WatchJobChangesRequest) Reset()

func (*WatchJobChangesRequest) String

func (x *WatchJobChangesRequest) String() string

type WatchJobChangesResponse

type WatchJobChangesResponse struct {
	Type          model.JobChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.JobChangeType" json:"type,omitempty"`
	JobId         []byte              `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	WatchRevision int64               `protobuf:"varint,3,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	DeviceId      []byte              `protobuf:"bytes,4,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchJobChangesResponse) Descriptor deprecated

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

Deprecated: Use WatchJobChangesResponse.ProtoReflect.Descriptor instead.

func (*WatchJobChangesResponse) GetDeviceId

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

func (*WatchJobChangesResponse) GetJobId

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

func (*WatchJobChangesResponse) GetType

func (*WatchJobChangesResponse) GetWatchRevision

func (x *WatchJobChangesResponse) GetWatchRevision() int64

func (*WatchJobChangesResponse) ProtoMessage

func (*WatchJobChangesResponse) ProtoMessage()

func (*WatchJobChangesResponse) ProtoReflect

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

func (*WatchJobChangesResponse) Reset

func (x *WatchJobChangesResponse) Reset()

func (*WatchJobChangesResponse) String

func (x *WatchJobChangesResponse) String() string

type WatchSessionChangesRequest

type WatchSessionChangesRequest struct {

	// Optional to listen on session changes for a single device.
	DeviceId      []byte `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	WatchRevision int64  `protobuf:"varint,2,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchSessionChangesRequest) Descriptor deprecated

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

Deprecated: Use WatchSessionChangesRequest.ProtoReflect.Descriptor instead.

func (*WatchSessionChangesRequest) GetDeviceId

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

func (*WatchSessionChangesRequest) GetWatchRevision

func (x *WatchSessionChangesRequest) GetWatchRevision() int64

func (*WatchSessionChangesRequest) ProtoMessage

func (*WatchSessionChangesRequest) ProtoMessage()

func (*WatchSessionChangesRequest) ProtoReflect

func (*WatchSessionChangesRequest) Reset

func (x *WatchSessionChangesRequest) Reset()

func (*WatchSessionChangesRequest) String

func (x *WatchSessionChangesRequest) String() string

type WatchSessionChangesResponse

type WatchSessionChangesResponse struct {
	Type          model.DeviceSessionChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=toit.model.DeviceSessionChangeType" json:"type,omitempty"`
	DeviceId      []byte                        `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	WatchRevision int64                         `protobuf:"varint,3,opt,name=watch_revision,json=watchRevision,proto3" json:"watch_revision,omitempty"`
	// Will be set if the type is DeviceSessionChangeTypeConnected
	LastConnected *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_connected,json=lastConnected,proto3" json:"last_connected,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchSessionChangesResponse) Descriptor deprecated

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

Deprecated: Use WatchSessionChangesResponse.ProtoReflect.Descriptor instead.

func (*WatchSessionChangesResponse) GetDeviceId

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

func (*WatchSessionChangesResponse) GetLastConnected

func (x *WatchSessionChangesResponse) GetLastConnected() *timestamppb.Timestamp

func (*WatchSessionChangesResponse) GetType

func (*WatchSessionChangesResponse) GetWatchRevision

func (x *WatchSessionChangesResponse) GetWatchRevision() int64

func (*WatchSessionChangesResponse) ProtoMessage

func (*WatchSessionChangesResponse) ProtoMessage()

func (*WatchSessionChangesResponse) ProtoReflect

func (*WatchSessionChangesResponse) Reset

func (x *WatchSessionChangesResponse) Reset()

func (*WatchSessionChangesResponse) String

func (x *WatchSessionChangesResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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