devicecommandproto

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetAcknowledged

func (x *Command) GetAcknowledged() int64

func (*Command) GetCreatedAt

func (x *Command) GetCreatedAt() int64

func (*Command) GetFailureMessage

func (x *Command) GetFailureMessage() []byte

func (*Command) GetLastSentAt

func (x *Command) GetLastSentAt() int64

func (*Command) GetLastStatus

func (x *Command) GetLastStatus() string

func (*Command) GetPayload

func (x *Command) GetPayload() []byte

func (*Command) GetTimesSent

func (x *Command) GetTimesSent() int64

func (*Command) GetUuid

func (x *Command) GetUuid() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect added in v1.9.0

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

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

Jump to

Keyboard shortcuts

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