Documentation ¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetAcknowledged() int64
- func (x *Command) GetCreatedAt() int64
- func (x *Command) GetFailureMessage() []byte
- func (x *Command) GetLastSentAt() int64
- func (x *Command) GetLastStatus() string
- func (x *Command) GetPayload() []byte
- func (x *Command) GetTimesSent() int64
- func (x *Command) GetUuid() string
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type DeviceCommand
- func (*DeviceCommand) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCommand) GetCommands() []*Command
- func (x *DeviceCommand) GetCompleted() []*Command
- func (x *DeviceCommand) GetDeviceUdid() string
- func (x *DeviceCommand) GetFailed() []*Command
- func (x *DeviceCommand) GetNotNow() []*Command
- func (*DeviceCommand) ProtoMessage()
- func (x *DeviceCommand) ProtoReflect() protoreflect.Message
- func (x *DeviceCommand) Reset()
- func (x *DeviceCommand) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_device_command_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LastSentAt int64 `protobuf:"varint,4,opt,name=last_sent_at,json=lastSentAt,proto3" json:"last_sent_at,omitempty"` Acknowledged int64 `protobuf:"varint,5,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"` TimesSent int64 `protobuf:"varint,6,opt,name=times_sent,json=timesSent,proto3" json:"times_sent,omitempty"` LastStatus string `protobuf:"bytes,7,opt,name=last_status,json=lastStatus,proto3" json:"last_status,omitempty"` FailureMessage []byte `protobuf:"bytes,8,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetAcknowledged ¶
func (*Command) GetCreatedAt ¶
func (*Command) GetFailureMessage ¶
func (*Command) GetLastSentAt ¶
func (*Command) GetLastStatus ¶
func (*Command) GetPayload ¶
func (*Command) GetTimesSent ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶ added in v1.9.0
func (x *Command) ProtoReflect() protoreflect.Message
type DeviceCommand ¶
type DeviceCommand struct { DeviceUdid string `protobuf:"bytes,1,opt,name=device_udid,json=deviceUdid,proto3" json:"device_udid,omitempty"` Commands []*Command `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` Completed []*Command `protobuf:"bytes,3,rep,name=completed,proto3" json:"completed,omitempty"` Failed []*Command `protobuf:"bytes,4,rep,name=failed,proto3" json:"failed,omitempty"` NotNow []*Command `protobuf:"bytes,5,rep,name=not_now,json=notNow,proto3" json:"not_now,omitempty"` // contains filtered or unexported fields }
func (*DeviceCommand) Descriptor
deprecated
func (*DeviceCommand) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCommand.ProtoReflect.Descriptor instead.
func (*DeviceCommand) GetCommands ¶
func (x *DeviceCommand) GetCommands() []*Command
func (*DeviceCommand) GetCompleted ¶
func (x *DeviceCommand) GetCompleted() []*Command
func (*DeviceCommand) GetDeviceUdid ¶
func (x *DeviceCommand) GetDeviceUdid() string
func (*DeviceCommand) GetFailed ¶
func (x *DeviceCommand) GetFailed() []*Command
func (*DeviceCommand) GetNotNow ¶
func (x *DeviceCommand) GetNotNow() []*Command
func (*DeviceCommand) ProtoMessage ¶
func (*DeviceCommand) ProtoMessage()
func (*DeviceCommand) ProtoReflect ¶ added in v1.9.0
func (x *DeviceCommand) ProtoReflect() protoreflect.Message
func (*DeviceCommand) Reset ¶
func (x *DeviceCommand) Reset()
func (*DeviceCommand) String ¶
func (x *DeviceCommand) String() string
Click to show internal directories.
Click to hide internal directories.