// Code generated by protoc-gen-go. DO NOT EDIT. // source: device_command.proto /* 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 */ package devicecommandproto import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 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 (m *Command) Reset() { *m = Command{} } func (m *Command) String() string { return proto.CompactTextString(m) } func (*Command) ProtoMessage() {} func (*Command) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } func (m *Command) GetUuid() string { if m != nil { return m.Uuid } return "" } func (m *Command) GetPayload() []byte { if m != nil { return m.Payload } return nil } func (m *Command) GetCreatedAt() int64 { if m != nil { return m.CreatedAt } return 0 } func (m *Command) GetLastSentAt() int64 { if m != nil { return m.LastSentAt } return 0 } func (m *Command) GetAcknowledged() int64 { if m != nil { return m.Acknowledged } return 0 } func (m *Command) GetTimesSent() int64 { if m != nil { return m.TimesSent } return 0 } func (m *Command) GetLastStatus() string { if m != nil { return m.LastStatus } return "" } func (m *Command) GetFailureMessage() []byte { if m != nil { return m.FailureMessage } return nil } 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 (m *DeviceCommand) Reset() { *m = DeviceCommand{} } func (m *DeviceCommand) String() string { return proto.CompactTextString(m) } func (*DeviceCommand) ProtoMessage() {} func (*DeviceCommand) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } func (m *DeviceCommand) GetDeviceUdid() string { if m != nil { return m.DeviceUdid } return "" } func (m *DeviceCommand) GetCommands() []*Command { if m != nil { return m.Commands } return nil } func (m *DeviceCommand) GetCompleted() []*Command { if m != nil { return m.Completed } return nil } func (m *DeviceCommand) GetFailed() []*Command { if m != nil { return m.Failed } return nil } func (m *DeviceCommand) GetNotNow() []*Command { if m != nil { return m.NotNow } return nil } func init() { proto.RegisterType((*Command)(nil), "devicecommandproto.Command") proto.RegisterType((*DeviceCommand)(nil), "devicecommandproto.DeviceCommand") } func init() { proto.RegisterFile("device_command.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ // 324 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xeb, 0x40, 0x10, 0xc7, 0x49, 0xd2, 0x36, 0xed, 0xb4, 0xef, 0x3d, 0x18, 0xde, 0x61, 0xe1, 0xf1, 0x68, 0xe8, 0xc5, 0x9c, 0x7a, 0xb0, 0x82, 0x78, 0x2c, 0x7a, 0xd5, 0x43, 0xc4, 0x73, 0x58, 0xb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