devicecommandproto

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package devicecommandproto is a generated protocol buffer package.

It is generated from these files:

device_command.proto

It has these top-level messages:

Command
DeviceCommand

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Uuid           string `protobuf:"bytes,1,opt,name=uuid" 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" json:"created_at,omitempty"`
	LastSentAt     int64  `protobuf:"varint,4,opt,name=last_sent_at,json=lastSentAt" json:"last_sent_at,omitempty"`
	Acknowledged   int64  `protobuf:"varint,5,opt,name=acknowledged" json:"acknowledged,omitempty"`
	TimesSent      int64  `protobuf:"varint,6,opt,name=times_sent,json=timesSent" json:"times_sent,omitempty"`
	LastStatus     string `protobuf:"bytes,7,opt,name=last_status,json=lastStatus" json:"last_status,omitempty"`
	FailureMessage []byte `protobuf:"bytes,8,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
}

func (*Command) Descriptor

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

func (*Command) GetAcknowledged

func (m *Command) GetAcknowledged() int64

func (*Command) GetCreatedAt

func (m *Command) GetCreatedAt() int64

func (*Command) GetFailureMessage

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

func (*Command) GetLastSentAt

func (m *Command) GetLastSentAt() int64

func (*Command) GetLastStatus

func (m *Command) GetLastStatus() string

func (*Command) GetPayload

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

func (*Command) GetTimesSent

func (m *Command) GetTimesSent() int64

func (*Command) GetUuid

func (m *Command) GetUuid() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

type DeviceCommand

type DeviceCommand struct {
	DeviceUdid string     `protobuf:"bytes,1,opt,name=device_udid,json=deviceUdid" json:"device_udid,omitempty"`
	Commands   []*Command `protobuf:"bytes,2,rep,name=commands" json:"commands,omitempty"`
	Completed  []*Command `protobuf:"bytes,3,rep,name=completed" json:"completed,omitempty"`
	Failed     []*Command `protobuf:"bytes,4,rep,name=failed" json:"failed,omitempty"`
	NotNow     []*Command `protobuf:"bytes,5,rep,name=not_now,json=notNow" json:"not_now,omitempty"`
}

func (*DeviceCommand) Descriptor

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

func (*DeviceCommand) GetCommands

func (m *DeviceCommand) GetCommands() []*Command

func (*DeviceCommand) GetCompleted

func (m *DeviceCommand) GetCompleted() []*Command

func (*DeviceCommand) GetDeviceUdid

func (m *DeviceCommand) GetDeviceUdid() string

func (*DeviceCommand) GetFailed

func (m *DeviceCommand) GetFailed() []*Command

func (*DeviceCommand) GetNotNow

func (m *DeviceCommand) GetNotNow() []*Command

func (*DeviceCommand) ProtoMessage

func (*DeviceCommand) ProtoMessage()

func (*DeviceCommand) Reset

func (m *DeviceCommand) Reset()

func (*DeviceCommand) String

func (m *DeviceCommand) String() string

Jump to

Keyboard shortcuts

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