v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

app/service/main/push/api/grpc/v1/api.proto

It has these top-level messages:

ModelReport
AddReportRequest
AddReportReply
DelReportRequest
DelReportReply
DelInvalidReportsRequest
DelInvalidReportsReply
AddReportCacheRequest
AddReportCacheReply
AddUserReportCacheRequest
AddUserReportCacheReply
AddTokenCacheRequest
AddTokenCacheReply
AddTokensCacheRequest
AddTokensCacheReply
AddCallbackRequest
AddCallbackReply
CallbackExtra
AddMidProgressRequest
AddMidProgressReply
SettingRequest
SettingReply
SetSettingRequest
SetSettingReply

Index

Constants

View Source
const AppID = "push.service"

AppID .

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterPushServer

func RegisterPushServer(s *grpc.Server, srv PushServer)

Types

type AddCallbackReply

type AddCallbackReply struct {
}

func (*AddCallbackReply) Descriptor

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

func (*AddCallbackReply) Marshal

func (m *AddCallbackReply) Marshal() (dAtA []byte, err error)

func (*AddCallbackReply) MarshalTo

func (m *AddCallbackReply) MarshalTo(dAtA []byte) (int, error)

func (*AddCallbackReply) ProtoMessage

func (*AddCallbackReply) ProtoMessage()

func (*AddCallbackReply) Reset

func (m *AddCallbackReply) Reset()

func (*AddCallbackReply) Size

func (m *AddCallbackReply) Size() (n int)

func (*AddCallbackReply) String

func (m *AddCallbackReply) String() string

func (*AddCallbackReply) Unmarshal

func (m *AddCallbackReply) Unmarshal(dAtA []byte) error

type AddCallbackRequest

type AddCallbackRequest struct {
	Task     string         `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
	APP      int64          `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"`
	Platform int32          `protobuf:"varint,3,opt,name=platform,proto3" json:"platform,omitempty"`
	Mid      int64          `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"`
	Pid      int32          `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"`
	Token    string         `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"`
	Buvid    string         `protobuf:"bytes,7,opt,name=buvid,proto3" json:"buvid,omitempty"`
	Click    int32          `protobuf:"varint,8,opt,name=click,proto3" json:"click,omitempty"`
	Extra    *CallbackExtra `protobuf:"bytes,9,opt,name=extra" json:"extra,omitempty"`
}

func (*AddCallbackRequest) Descriptor

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

func (*AddCallbackRequest) GetAPP

func (m *AddCallbackRequest) GetAPP() int64

func (*AddCallbackRequest) GetBuvid

func (m *AddCallbackRequest) GetBuvid() string

func (*AddCallbackRequest) GetClick

func (m *AddCallbackRequest) GetClick() int32

func (*AddCallbackRequest) GetExtra

func (m *AddCallbackRequest) GetExtra() *CallbackExtra

func (*AddCallbackRequest) GetMid

func (m *AddCallbackRequest) GetMid() int64

func (*AddCallbackRequest) GetPid

func (m *AddCallbackRequest) GetPid() int32

func (*AddCallbackRequest) GetPlatform

func (m *AddCallbackRequest) GetPlatform() int32

func (*AddCallbackRequest) GetTask

func (m *AddCallbackRequest) GetTask() string

func (*AddCallbackRequest) GetToken

func (m *AddCallbackRequest) GetToken() string

func (*AddCallbackRequest) Marshal

func (m *AddCallbackRequest) Marshal() (dAtA []byte, err error)

func (*AddCallbackRequest) MarshalTo

func (m *AddCallbackRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddCallbackRequest) ProtoMessage

func (*AddCallbackRequest) ProtoMessage()

func (*AddCallbackRequest) Reset

func (m *AddCallbackRequest) Reset()

func (*AddCallbackRequest) Size

func (m *AddCallbackRequest) Size() (n int)

func (*AddCallbackRequest) String

func (m *AddCallbackRequest) String() string

func (*AddCallbackRequest) Unmarshal

func (m *AddCallbackRequest) Unmarshal(dAtA []byte) error

type AddMidProgressReply

type AddMidProgressReply struct {
}

func (*AddMidProgressReply) Descriptor

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

func (*AddMidProgressReply) Marshal

func (m *AddMidProgressReply) Marshal() (dAtA []byte, err error)

func (*AddMidProgressReply) MarshalTo

func (m *AddMidProgressReply) MarshalTo(dAtA []byte) (int, error)

func (*AddMidProgressReply) ProtoMessage

func (*AddMidProgressReply) ProtoMessage()

func (*AddMidProgressReply) Reset

func (m *AddMidProgressReply) Reset()

func (*AddMidProgressReply) Size

func (m *AddMidProgressReply) Size() (n int)

func (*AddMidProgressReply) String

func (m *AddMidProgressReply) String() string

func (*AddMidProgressReply) Unmarshal

func (m *AddMidProgressReply) Unmarshal(dAtA []byte) error

type AddMidProgressRequest

type AddMidProgressRequest struct {
	Task     string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
	MidTotal int64  `protobuf:"varint,2,opt,name=mid_total,json=midTotal,proto3" json:"mid_total,omitempty"`
	MidValid int64  `protobuf:"varint,3,opt,name=mid_valid,json=midValid,proto3" json:"mid_valid,omitempty"`
}

func (*AddMidProgressRequest) Descriptor

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

func (*AddMidProgressRequest) GetMidTotal

func (m *AddMidProgressRequest) GetMidTotal() int64

func (*AddMidProgressRequest) GetMidValid

func (m *AddMidProgressRequest) GetMidValid() int64

func (*AddMidProgressRequest) GetTask

func (m *AddMidProgressRequest) GetTask() string

func (*AddMidProgressRequest) Marshal

func (m *AddMidProgressRequest) Marshal() (dAtA []byte, err error)

func (*AddMidProgressRequest) MarshalTo

func (m *AddMidProgressRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddMidProgressRequest) ProtoMessage

func (*AddMidProgressRequest) ProtoMessage()

func (*AddMidProgressRequest) Reset

func (m *AddMidProgressRequest) Reset()

func (*AddMidProgressRequest) Size

func (m *AddMidProgressRequest) Size() (n int)

func (*AddMidProgressRequest) String

func (m *AddMidProgressRequest) String() string

func (*AddMidProgressRequest) Unmarshal

func (m *AddMidProgressRequest) Unmarshal(dAtA []byte) error

type AddReportCacheReply

type AddReportCacheReply struct {
}

func (*AddReportCacheReply) Descriptor

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

func (*AddReportCacheReply) Marshal

func (m *AddReportCacheReply) Marshal() (dAtA []byte, err error)

func (*AddReportCacheReply) MarshalTo

func (m *AddReportCacheReply) MarshalTo(dAtA []byte) (int, error)

func (*AddReportCacheReply) ProtoMessage

func (*AddReportCacheReply) ProtoMessage()

func (*AddReportCacheReply) Reset

func (m *AddReportCacheReply) Reset()

func (*AddReportCacheReply) Size

func (m *AddReportCacheReply) Size() (n int)

func (*AddReportCacheReply) String

func (m *AddReportCacheReply) String() string

func (*AddReportCacheReply) Unmarshal

func (m *AddReportCacheReply) Unmarshal(dAtA []byte) error

type AddReportCacheRequest

type AddReportCacheRequest struct {
	Report *ModelReport `protobuf:"bytes,1,opt,name=report" json:"report,omitempty"`
}

func (*AddReportCacheRequest) Descriptor

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

func (*AddReportCacheRequest) GetReport

func (m *AddReportCacheRequest) GetReport() *ModelReport

func (*AddReportCacheRequest) Marshal

func (m *AddReportCacheRequest) Marshal() (dAtA []byte, err error)

func (*AddReportCacheRequest) MarshalTo

func (m *AddReportCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddReportCacheRequest) ProtoMessage

func (*AddReportCacheRequest) ProtoMessage()

func (*AddReportCacheRequest) Reset

func (m *AddReportCacheRequest) Reset()

func (*AddReportCacheRequest) Size

func (m *AddReportCacheRequest) Size() (n int)

func (*AddReportCacheRequest) String

func (m *AddReportCacheRequest) String() string

func (*AddReportCacheRequest) Unmarshal

func (m *AddReportCacheRequest) Unmarshal(dAtA []byte) error

type AddReportReply

type AddReportReply struct {
}

func (*AddReportReply) Descriptor

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

func (*AddReportReply) Marshal

func (m *AddReportReply) Marshal() (dAtA []byte, err error)

func (*AddReportReply) MarshalTo

func (m *AddReportReply) MarshalTo(dAtA []byte) (int, error)

func (*AddReportReply) ProtoMessage

func (*AddReportReply) ProtoMessage()

func (*AddReportReply) Reset

func (m *AddReportReply) Reset()

func (*AddReportReply) Size

func (m *AddReportReply) Size() (n int)

func (*AddReportReply) String

func (m *AddReportReply) String() string

func (*AddReportReply) Unmarshal

func (m *AddReportReply) Unmarshal(dAtA []byte) error

type AddReportRequest

type AddReportRequest struct {
	Report *ModelReport `protobuf:"bytes,1,opt,name=report" json:"report,omitempty"`
}

func (*AddReportRequest) Descriptor

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

func (*AddReportRequest) GetReport

func (m *AddReportRequest) GetReport() *ModelReport

func (*AddReportRequest) Marshal

func (m *AddReportRequest) Marshal() (dAtA []byte, err error)

func (*AddReportRequest) MarshalTo

func (m *AddReportRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddReportRequest) ProtoMessage

func (*AddReportRequest) ProtoMessage()

func (*AddReportRequest) Reset

func (m *AddReportRequest) Reset()

func (*AddReportRequest) Size

func (m *AddReportRequest) Size() (n int)

func (*AddReportRequest) String

func (m *AddReportRequest) String() string

func (*AddReportRequest) Unmarshal

func (m *AddReportRequest) Unmarshal(dAtA []byte) error

type AddTokenCacheReply

type AddTokenCacheReply struct {
}

func (*AddTokenCacheReply) Descriptor

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

func (*AddTokenCacheReply) Marshal

func (m *AddTokenCacheReply) Marshal() (dAtA []byte, err error)

func (*AddTokenCacheReply) MarshalTo

func (m *AddTokenCacheReply) MarshalTo(dAtA []byte) (int, error)

func (*AddTokenCacheReply) ProtoMessage

func (*AddTokenCacheReply) ProtoMessage()

func (*AddTokenCacheReply) Reset

func (m *AddTokenCacheReply) Reset()

func (*AddTokenCacheReply) Size

func (m *AddTokenCacheReply) Size() (n int)

func (*AddTokenCacheReply) String

func (m *AddTokenCacheReply) String() string

func (*AddTokenCacheReply) Unmarshal

func (m *AddTokenCacheReply) Unmarshal(dAtA []byte) error

type AddTokenCacheRequest

type AddTokenCacheRequest struct {
	Report *ModelReport `protobuf:"bytes,1,opt,name=report" json:"report,omitempty"`
}

func (*AddTokenCacheRequest) Descriptor

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

func (*AddTokenCacheRequest) GetReport

func (m *AddTokenCacheRequest) GetReport() *ModelReport

func (*AddTokenCacheRequest) Marshal

func (m *AddTokenCacheRequest) Marshal() (dAtA []byte, err error)

func (*AddTokenCacheRequest) MarshalTo

func (m *AddTokenCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddTokenCacheRequest) ProtoMessage

func (*AddTokenCacheRequest) ProtoMessage()

func (*AddTokenCacheRequest) Reset

func (m *AddTokenCacheRequest) Reset()

func (*AddTokenCacheRequest) Size

func (m *AddTokenCacheRequest) Size() (n int)

func (*AddTokenCacheRequest) String

func (m *AddTokenCacheRequest) String() string

func (*AddTokenCacheRequest) Unmarshal

func (m *AddTokenCacheRequest) Unmarshal(dAtA []byte) error

type AddTokensCacheReply

type AddTokensCacheReply struct {
}

func (*AddTokensCacheReply) Descriptor

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

func (*AddTokensCacheReply) Marshal

func (m *AddTokensCacheReply) Marshal() (dAtA []byte, err error)

func (*AddTokensCacheReply) MarshalTo

func (m *AddTokensCacheReply) MarshalTo(dAtA []byte) (int, error)

func (*AddTokensCacheReply) ProtoMessage

func (*AddTokensCacheReply) ProtoMessage()

func (*AddTokensCacheReply) Reset

func (m *AddTokensCacheReply) Reset()

func (*AddTokensCacheReply) Size

func (m *AddTokensCacheReply) Size() (n int)

func (*AddTokensCacheReply) String

func (m *AddTokensCacheReply) String() string

func (*AddTokensCacheReply) Unmarshal

func (m *AddTokensCacheReply) Unmarshal(dAtA []byte) error

type AddTokensCacheRequest

type AddTokensCacheRequest struct {
	Reports []*ModelReport `protobuf:"bytes,2,rep,name=reports" json:"reports,omitempty"`
}

func (*AddTokensCacheRequest) Descriptor

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

func (*AddTokensCacheRequest) GetReports

func (m *AddTokensCacheRequest) GetReports() []*ModelReport

func (*AddTokensCacheRequest) Marshal

func (m *AddTokensCacheRequest) Marshal() (dAtA []byte, err error)

func (*AddTokensCacheRequest) MarshalTo

func (m *AddTokensCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddTokensCacheRequest) ProtoMessage

func (*AddTokensCacheRequest) ProtoMessage()

func (*AddTokensCacheRequest) Reset

func (m *AddTokensCacheRequest) Reset()

func (*AddTokensCacheRequest) Size

func (m *AddTokensCacheRequest) Size() (n int)

func (*AddTokensCacheRequest) String

func (m *AddTokensCacheRequest) String() string

func (*AddTokensCacheRequest) Unmarshal

func (m *AddTokensCacheRequest) Unmarshal(dAtA []byte) error

type AddUserReportCacheReply

type AddUserReportCacheReply struct {
}

func (*AddUserReportCacheReply) Descriptor

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

func (*AddUserReportCacheReply) Marshal

func (m *AddUserReportCacheReply) Marshal() (dAtA []byte, err error)

func (*AddUserReportCacheReply) MarshalTo

func (m *AddUserReportCacheReply) MarshalTo(dAtA []byte) (int, error)

func (*AddUserReportCacheReply) ProtoMessage

func (*AddUserReportCacheReply) ProtoMessage()

func (*AddUserReportCacheReply) Reset

func (m *AddUserReportCacheReply) Reset()

func (*AddUserReportCacheReply) Size

func (m *AddUserReportCacheReply) Size() (n int)

func (*AddUserReportCacheReply) String

func (m *AddUserReportCacheReply) String() string

func (*AddUserReportCacheReply) Unmarshal

func (m *AddUserReportCacheReply) Unmarshal(dAtA []byte) error

type AddUserReportCacheRequest

type AddUserReportCacheRequest struct {
	Mid     int64          `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	Reports []*ModelReport `protobuf:"bytes,2,rep,name=reports" json:"reports,omitempty"`
}

func (*AddUserReportCacheRequest) Descriptor

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

func (*AddUserReportCacheRequest) GetMid

func (m *AddUserReportCacheRequest) GetMid() int64

func (*AddUserReportCacheRequest) GetReports

func (m *AddUserReportCacheRequest) GetReports() []*ModelReport

func (*AddUserReportCacheRequest) Marshal

func (m *AddUserReportCacheRequest) Marshal() (dAtA []byte, err error)

func (*AddUserReportCacheRequest) MarshalTo

func (m *AddUserReportCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddUserReportCacheRequest) ProtoMessage

func (*AddUserReportCacheRequest) ProtoMessage()

func (*AddUserReportCacheRequest) Reset

func (m *AddUserReportCacheRequest) Reset()

func (*AddUserReportCacheRequest) Size

func (m *AddUserReportCacheRequest) Size() (n int)

func (*AddUserReportCacheRequest) String

func (m *AddUserReportCacheRequest) String() string

func (*AddUserReportCacheRequest) Unmarshal

func (m *AddUserReportCacheRequest) Unmarshal(dAtA []byte) error

type CallbackExtra

type CallbackExtra struct {
	Status  int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty" json:"st`
	Channel int32 `protobuf:"varint,2,opt,name=channel,proto3" json:"channel,omitempty" json:"chan"`
}

func (*CallbackExtra) Descriptor

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

func (*CallbackExtra) GetChannel

func (m *CallbackExtra) GetChannel() int32

func (*CallbackExtra) GetStatus

func (m *CallbackExtra) GetStatus() int32

func (*CallbackExtra) Marshal

func (m *CallbackExtra) Marshal() (dAtA []byte, err error)

func (*CallbackExtra) MarshalTo

func (m *CallbackExtra) MarshalTo(dAtA []byte) (int, error)

func (*CallbackExtra) ProtoMessage

func (*CallbackExtra) ProtoMessage()

func (*CallbackExtra) Reset

func (m *CallbackExtra) Reset()

func (*CallbackExtra) Size

func (m *CallbackExtra) Size() (n int)

func (*CallbackExtra) String

func (m *CallbackExtra) String() string

func (*CallbackExtra) Unmarshal

func (m *CallbackExtra) Unmarshal(dAtA []byte) error

type DelInvalidReportsReply

type DelInvalidReportsReply struct {
}

func (*DelInvalidReportsReply) Descriptor

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

func (*DelInvalidReportsReply) Marshal

func (m *DelInvalidReportsReply) Marshal() (dAtA []byte, err error)

func (*DelInvalidReportsReply) MarshalTo

func (m *DelInvalidReportsReply) MarshalTo(dAtA []byte) (int, error)

func (*DelInvalidReportsReply) ProtoMessage

func (*DelInvalidReportsReply) ProtoMessage()

func (*DelInvalidReportsReply) Reset

func (m *DelInvalidReportsReply) Reset()

func (*DelInvalidReportsReply) Size

func (m *DelInvalidReportsReply) Size() (n int)

func (*DelInvalidReportsReply) String

func (m *DelInvalidReportsReply) String() string

func (*DelInvalidReportsReply) Unmarshal

func (m *DelInvalidReportsReply) Unmarshal(dAtA []byte) error

type DelInvalidReportsRequest

type DelInvalidReportsRequest struct {
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
}

func (*DelInvalidReportsRequest) Descriptor

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

func (*DelInvalidReportsRequest) GetType

func (m *DelInvalidReportsRequest) GetType() int32

func (*DelInvalidReportsRequest) Marshal

func (m *DelInvalidReportsRequest) Marshal() (dAtA []byte, err error)

func (*DelInvalidReportsRequest) MarshalTo

func (m *DelInvalidReportsRequest) MarshalTo(dAtA []byte) (int, error)

func (*DelInvalidReportsRequest) ProtoMessage

func (*DelInvalidReportsRequest) ProtoMessage()

func (*DelInvalidReportsRequest) Reset

func (m *DelInvalidReportsRequest) Reset()

func (*DelInvalidReportsRequest) Size

func (m *DelInvalidReportsRequest) Size() (n int)

func (*DelInvalidReportsRequest) String

func (m *DelInvalidReportsRequest) String() string

func (*DelInvalidReportsRequest) Unmarshal

func (m *DelInvalidReportsRequest) Unmarshal(dAtA []byte) error

type DelReportReply

type DelReportReply struct {
}

func (*DelReportReply) Descriptor

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

func (*DelReportReply) Marshal

func (m *DelReportReply) Marshal() (dAtA []byte, err error)

func (*DelReportReply) MarshalTo

func (m *DelReportReply) MarshalTo(dAtA []byte) (int, error)

func (*DelReportReply) ProtoMessage

func (*DelReportReply) ProtoMessage()

func (*DelReportReply) Reset

func (m *DelReportReply) Reset()

func (*DelReportReply) Size

func (m *DelReportReply) Size() (n int)

func (*DelReportReply) String

func (m *DelReportReply) String() string

func (*DelReportReply) Unmarshal

func (m *DelReportReply) Unmarshal(dAtA []byte) error

type DelReportRequest

type DelReportRequest struct {
	APPID       int32  `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	Mid         int64  `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	DeviceToken string `protobuf:"bytes,3,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"`
}

func (*DelReportRequest) Descriptor

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

func (*DelReportRequest) GetAPPID

func (m *DelReportRequest) GetAPPID() int32

func (*DelReportRequest) GetDeviceToken

func (m *DelReportRequest) GetDeviceToken() string

func (*DelReportRequest) GetMid

func (m *DelReportRequest) GetMid() int64

func (*DelReportRequest) Marshal

func (m *DelReportRequest) Marshal() (dAtA []byte, err error)

func (*DelReportRequest) MarshalTo

func (m *DelReportRequest) MarshalTo(dAtA []byte) (int, error)

func (*DelReportRequest) ProtoMessage

func (*DelReportRequest) ProtoMessage()

func (*DelReportRequest) Reset

func (m *DelReportRequest) Reset()

func (*DelReportRequest) Size

func (m *DelReportRequest) Size() (n int)

func (*DelReportRequest) String

func (m *DelReportRequest) String() string

func (*DelReportRequest) Unmarshal

func (m *DelReportRequest) Unmarshal(dAtA []byte) error

type ModelReport

type ModelReport struct {
	ID           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	APPID        int32  `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	PlatformID   int32  `protobuf:"varint,3,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"`
	Mid          int64  `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"`
	Buvid        string `protobuf:"bytes,5,opt,name=buvid,proto3" json:"buvid,omitempty"`
	DeviceToken  string `protobuf:"bytes,6,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"`
	Build        int32  `protobuf:"varint,7,opt,name=build,proto3" json:"build,omitempty"`
	TimeZone     int32  `protobuf:"varint,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	NotifySwitch int32  `protobuf:"varint,9,opt,name=notify_switch,json=notifySwitch,proto3" json:"notify_switch,omitempty"`
	DeviceBrand  string `protobuf:"bytes,10,opt,name=device_brand,json=deviceBrand,proto3" json:"device_brand,omitempty"`
	DeviceModel  string `protobuf:"bytes,11,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
	OSVersion    string `protobuf:"bytes,12,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
	Extra        string `protobuf:"bytes,13,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*ModelReport) Descriptor

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

func (*ModelReport) GetAPPID

func (m *ModelReport) GetAPPID() int32

func (*ModelReport) GetBuild

func (m *ModelReport) GetBuild() int32

func (*ModelReport) GetBuvid

func (m *ModelReport) GetBuvid() string

func (*ModelReport) GetDeviceBrand

func (m *ModelReport) GetDeviceBrand() string

func (*ModelReport) GetDeviceModel

func (m *ModelReport) GetDeviceModel() string

func (*ModelReport) GetDeviceToken

func (m *ModelReport) GetDeviceToken() string

func (*ModelReport) GetExtra

func (m *ModelReport) GetExtra() string

func (*ModelReport) GetID

func (m *ModelReport) GetID() int64

func (*ModelReport) GetMid

func (m *ModelReport) GetMid() int64

func (*ModelReport) GetNotifySwitch

func (m *ModelReport) GetNotifySwitch() int32

func (*ModelReport) GetOSVersion

func (m *ModelReport) GetOSVersion() string

func (*ModelReport) GetPlatformID

func (m *ModelReport) GetPlatformID() int32

func (*ModelReport) GetTimeZone

func (m *ModelReport) GetTimeZone() int32

func (*ModelReport) Marshal

func (m *ModelReport) Marshal() (dAtA []byte, err error)

func (*ModelReport) MarshalTo

func (m *ModelReport) MarshalTo(dAtA []byte) (int, error)

func (*ModelReport) ProtoMessage

func (*ModelReport) ProtoMessage()

func (*ModelReport) Reset

func (m *ModelReport) Reset()

func (*ModelReport) Size

func (m *ModelReport) Size() (n int)

func (*ModelReport) String

func (m *ModelReport) String() string

func (*ModelReport) Unmarshal

func (m *ModelReport) Unmarshal(dAtA []byte) error

type PushClient

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (PushClient, error)

NewClient new grpc client

func NewPushClient

func NewPushClient(cc *grpc.ClientConn) PushClient

type SetSettingReply

type SetSettingReply struct {
}

func (*SetSettingReply) Descriptor

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

func (*SetSettingReply) Marshal

func (m *SetSettingReply) Marshal() (dAtA []byte, err error)

func (*SetSettingReply) MarshalTo

func (m *SetSettingReply) MarshalTo(dAtA []byte) (int, error)

func (*SetSettingReply) ProtoMessage

func (*SetSettingReply) ProtoMessage()

func (*SetSettingReply) Reset

func (m *SetSettingReply) Reset()

func (*SetSettingReply) Size

func (m *SetSettingReply) Size() (n int)

func (*SetSettingReply) String

func (m *SetSettingReply) String() string

func (*SetSettingReply) Unmarshal

func (m *SetSettingReply) Unmarshal(dAtA []byte) error

type SetSettingRequest

type SetSettingRequest struct {
	Mid   int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	Type  int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
}

func (*SetSettingRequest) Descriptor

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

func (*SetSettingRequest) GetMid

func (m *SetSettingRequest) GetMid() int64

func (*SetSettingRequest) GetType

func (m *SetSettingRequest) GetType() int32

func (*SetSettingRequest) GetValue

func (m *SetSettingRequest) GetValue() int32

func (*SetSettingRequest) Marshal

func (m *SetSettingRequest) Marshal() (dAtA []byte, err error)

func (*SetSettingRequest) MarshalTo

func (m *SetSettingRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetSettingRequest) ProtoMessage

func (*SetSettingRequest) ProtoMessage()

func (*SetSettingRequest) Reset

func (m *SetSettingRequest) Reset()

func (*SetSettingRequest) Size

func (m *SetSettingRequest) Size() (n int)

func (*SetSettingRequest) String

func (m *SetSettingRequest) String() string

func (*SetSettingRequest) Unmarshal

func (m *SetSettingRequest) Unmarshal(dAtA []byte) error

type SettingReply

type SettingReply struct {
	Settings map[int32]int32 `` /* 152-byte string literal not displayed */
}

func (*SettingReply) Descriptor

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

func (*SettingReply) GetSettings

func (m *SettingReply) GetSettings() map[int32]int32

func (*SettingReply) Marshal

func (m *SettingReply) Marshal() (dAtA []byte, err error)

func (*SettingReply) MarshalTo

func (m *SettingReply) MarshalTo(dAtA []byte) (int, error)

func (*SettingReply) ProtoMessage

func (*SettingReply) ProtoMessage()

func (*SettingReply) Reset

func (m *SettingReply) Reset()

func (*SettingReply) Size

func (m *SettingReply) Size() (n int)

func (*SettingReply) String

func (m *SettingReply) String() string

func (*SettingReply) Unmarshal

func (m *SettingReply) Unmarshal(dAtA []byte) error

type SettingRequest

type SettingRequest struct {
	Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
}

func (*SettingRequest) Descriptor

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

func (*SettingRequest) GetMid

func (m *SettingRequest) GetMid() int64

func (*SettingRequest) Marshal

func (m *SettingRequest) Marshal() (dAtA []byte, err error)

func (*SettingRequest) MarshalTo

func (m *SettingRequest) MarshalTo(dAtA []byte) (int, error)

func (*SettingRequest) ProtoMessage

func (*SettingRequest) ProtoMessage()

func (*SettingRequest) Reset

func (m *SettingRequest) Reset()

func (*SettingRequest) Size

func (m *SettingRequest) Size() (n int)

func (*SettingRequest) String

func (m *SettingRequest) String() string

func (*SettingRequest) Unmarshal

func (m *SettingRequest) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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