checkinproto

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticate

type Authenticate struct {
	OsVersion            string   `protobuf:"bytes,1,opt,name=os_version,json=osVersion" json:"os_version,omitempty"`
	BuildVersion         string   `protobuf:"bytes,2,opt,name=build_version,json=buildVersion" json:"build_version,omitempty"`
	ProductName          string   `protobuf:"bytes,3,opt,name=product_name,json=productName" json:"product_name,omitempty"`
	SerialNumber         string   `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"`
	Imei                 string   `protobuf:"bytes,5,opt,name=imei" json:"imei,omitempty"`
	Meid                 string   `protobuf:"bytes,6,opt,name=meid" json:"meid,omitempty"`
	DeviceName           string   `protobuf:"bytes,7,opt,name=device_name,json=deviceName" json:"device_name,omitempty"`
	Challenge            []byte   `protobuf:"bytes,8,opt,name=challenge,proto3" json:"challenge,omitempty"`
	Model                string   `protobuf:"bytes,9,opt,name=model" json:"model,omitempty"`
	ModelName            string   `protobuf:"bytes,10,opt,name=model_name,json=modelName" json:"model_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Authenticate) Descriptor

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

func (*Authenticate) GetBuildVersion

func (m *Authenticate) GetBuildVersion() string

func (*Authenticate) GetChallenge

func (m *Authenticate) GetChallenge() []byte

func (*Authenticate) GetDeviceName

func (m *Authenticate) GetDeviceName() string

func (*Authenticate) GetImei

func (m *Authenticate) GetImei() string

func (*Authenticate) GetMeid

func (m *Authenticate) GetMeid() string

func (*Authenticate) GetModel

func (m *Authenticate) GetModel() string

func (*Authenticate) GetModelName

func (m *Authenticate) GetModelName() string

func (*Authenticate) GetOsVersion

func (m *Authenticate) GetOsVersion() string

func (*Authenticate) GetProductName

func (m *Authenticate) GetProductName() string

func (*Authenticate) GetSerialNumber

func (m *Authenticate) GetSerialNumber() string

func (*Authenticate) ProtoMessage

func (*Authenticate) ProtoMessage()

func (*Authenticate) Reset

func (m *Authenticate) Reset()

func (*Authenticate) String

func (m *Authenticate) String() string

func (*Authenticate) XXX_DiscardUnknown

func (m *Authenticate) XXX_DiscardUnknown()

func (*Authenticate) XXX_Marshal

func (m *Authenticate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Authenticate) XXX_Merge

func (dst *Authenticate) XXX_Merge(src proto.Message)

func (*Authenticate) XXX_Size

func (m *Authenticate) XXX_Size() int

func (*Authenticate) XXX_Unmarshal

func (m *Authenticate) XXX_Unmarshal(b []byte) error

type Command

type Command struct {
	MessageType          string        `protobuf:"bytes,1,opt,name=message_type,json=messageType" json:"message_type,omitempty"`
	Topic                string        `protobuf:"bytes,2,opt,name=topic" json:"topic,omitempty"`
	Udid                 string        `protobuf:"bytes,3,opt,name=udid" json:"udid,omitempty"`
	Authenticate         *Authenticate `protobuf:"bytes,4,opt,name=authenticate" json:"authenticate,omitempty"`
	TokenUpdate          *TokenUpdate  `protobuf:"bytes,5,opt,name=token_update,json=tokenUpdate" json:"token_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Command) Descriptor

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

func (*Command) GetAuthenticate

func (m *Command) GetAuthenticate() *Authenticate

func (*Command) GetMessageType

func (m *Command) GetMessageType() string

func (*Command) GetTokenUpdate

func (m *Command) GetTokenUpdate() *TokenUpdate

func (*Command) GetTopic

func (m *Command) GetTopic() string

func (*Command) GetUdid

func (m *Command) GetUdid() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (dst *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type Event

type Event struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Time                 int64             `protobuf:"varint,2,opt,name=time" json:"time,omitempty"`
	Command              *Command          `protobuf:"bytes,3,opt,name=command" json:"command,omitempty"`
	Raw                  []byte            `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"`
	Params               map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Event) Descriptor

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

func (*Event) GetCommand

func (m *Event) GetCommand() *Command

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetParams

func (m *Event) GetParams() map[string]string

func (*Event) GetRaw

func (m *Event) GetRaw() []byte

func (*Event) GetTime

func (m *Event) GetTime() int64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (dst *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type TokenUpdate

type TokenUpdate struct {
	Token                 []byte   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	PushMagic             string   `protobuf:"bytes,2,opt,name=push_magic,json=pushMagic" json:"push_magic,omitempty"`
	UnlockToken           []byte   `protobuf:"bytes,3,opt,name=unlock_token,json=unlockToken,proto3" json:"unlock_token,omitempty"`
	AwaitingConfiguration bool     `protobuf:"varint,4,opt,name=awaiting_configuration,json=awaitingConfiguration" json:"awaiting_configuration,omitempty"`
	UserId                string   `protobuf:"bytes,5,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	UserLongName          string   `protobuf:"bytes,6,opt,name=user_long_name,json=userLongName" json:"user_long_name,omitempty"`
	UserShortName         string   `protobuf:"bytes,7,opt,name=user_short_name,json=userShortName" json:"user_short_name,omitempty"`
	NotOnConsole          bool     `protobuf:"varint,8,opt,name=not_on_console,json=notOnConsole" json:"not_on_console,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*TokenUpdate) Descriptor

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

func (*TokenUpdate) GetAwaitingConfiguration

func (m *TokenUpdate) GetAwaitingConfiguration() bool

func (*TokenUpdate) GetNotOnConsole

func (m *TokenUpdate) GetNotOnConsole() bool

func (*TokenUpdate) GetPushMagic

func (m *TokenUpdate) GetPushMagic() string

func (*TokenUpdate) GetToken

func (m *TokenUpdate) GetToken() []byte

func (*TokenUpdate) GetUnlockToken

func (m *TokenUpdate) GetUnlockToken() []byte

func (*TokenUpdate) GetUserId

func (m *TokenUpdate) GetUserId() string

func (*TokenUpdate) GetUserLongName

func (m *TokenUpdate) GetUserLongName() string

func (*TokenUpdate) GetUserShortName

func (m *TokenUpdate) GetUserShortName() string

func (*TokenUpdate) ProtoMessage

func (*TokenUpdate) ProtoMessage()

func (*TokenUpdate) Reset

func (m *TokenUpdate) Reset()

func (*TokenUpdate) String

func (m *TokenUpdate) String() string

func (*TokenUpdate) XXX_DiscardUnknown

func (m *TokenUpdate) XXX_DiscardUnknown()

func (*TokenUpdate) XXX_Marshal

func (m *TokenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenUpdate) XXX_Merge

func (dst *TokenUpdate) XXX_Merge(src proto.Message)

func (*TokenUpdate) XXX_Size

func (m *TokenUpdate) XXX_Size() int

func (*TokenUpdate) XXX_Unmarshal

func (m *TokenUpdate) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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