595 lines
22 KiB
Go
595 lines
22 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: exercise.proto
|
|
|
|
package wechat
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
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.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type ModHardDevice struct {
|
|
HardDevice *HardDevice `protobuf:"bytes,1,opt,name=hardDevice" json:"hardDevice,omitempty"`
|
|
HardDeviceAttr *HardDeviceAttr `protobuf:"bytes,2,opt,name=hardDeviceAttr" json:"hardDeviceAttr,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModHardDevice) Reset() { *m = ModHardDevice{} }
|
|
func (m *ModHardDevice) String() string { return proto.CompactTextString(m) }
|
|
func (*ModHardDevice) ProtoMessage() {}
|
|
func (*ModHardDevice) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{0}
|
|
}
|
|
|
|
func (m *ModHardDevice) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModHardDevice.Unmarshal(m, b)
|
|
}
|
|
func (m *ModHardDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModHardDevice.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModHardDevice) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModHardDevice.Merge(m, src)
|
|
}
|
|
func (m *ModHardDevice) XXX_Size() int {
|
|
return xxx_messageInfo_ModHardDevice.Size(m)
|
|
}
|
|
func (m *ModHardDevice) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModHardDevice.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModHardDevice proto.InternalMessageInfo
|
|
|
|
func (m *ModHardDevice) GetHardDevice() *HardDevice {
|
|
if m != nil {
|
|
return m.HardDevice
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModHardDevice) GetHardDeviceAttr() *HardDeviceAttr {
|
|
if m != nil {
|
|
return m.HardDeviceAttr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HardDevice struct {
|
|
DeviceType *string `protobuf:"bytes,1,opt,name=deviceType" json:"deviceType,omitempty"`
|
|
DeviceId *string `protobuf:"bytes,2,opt,name=deviceId" json:"deviceId,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *HardDevice) Reset() { *m = HardDevice{} }
|
|
func (m *HardDevice) String() string { return proto.CompactTextString(m) }
|
|
func (*HardDevice) ProtoMessage() {}
|
|
func (*HardDevice) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{1}
|
|
}
|
|
|
|
func (m *HardDevice) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_HardDevice.Unmarshal(m, b)
|
|
}
|
|
func (m *HardDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_HardDevice.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *HardDevice) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HardDevice.Merge(m, src)
|
|
}
|
|
func (m *HardDevice) XXX_Size() int {
|
|
return xxx_messageInfo_HardDevice.Size(m)
|
|
}
|
|
func (m *HardDevice) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HardDevice.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HardDevice proto.InternalMessageInfo
|
|
|
|
func (m *HardDevice) GetDeviceType() string {
|
|
if m != nil && m.DeviceType != nil {
|
|
return *m.DeviceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *HardDevice) GetDeviceId() string {
|
|
if m != nil && m.DeviceId != nil {
|
|
return *m.DeviceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HardDeviceAttr struct {
|
|
BrandName *string `protobuf:"bytes,1,opt,name=brandName" json:"brandName,omitempty"`
|
|
AuthKey *string `protobuf:"bytes,2,opt,name=authKey" json:"authKey,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *HardDeviceAttr) Reset() { *m = HardDeviceAttr{} }
|
|
func (m *HardDeviceAttr) String() string { return proto.CompactTextString(m) }
|
|
func (*HardDeviceAttr) ProtoMessage() {}
|
|
func (*HardDeviceAttr) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{2}
|
|
}
|
|
|
|
func (m *HardDeviceAttr) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_HardDeviceAttr.Unmarshal(m, b)
|
|
}
|
|
func (m *HardDeviceAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_HardDeviceAttr.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *HardDeviceAttr) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_HardDeviceAttr.Merge(m, src)
|
|
}
|
|
func (m *HardDeviceAttr) XXX_Size() int {
|
|
return xxx_messageInfo_HardDeviceAttr.Size(m)
|
|
}
|
|
func (m *HardDeviceAttr) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_HardDeviceAttr.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_HardDeviceAttr proto.InternalMessageInfo
|
|
|
|
func (m *HardDeviceAttr) GetBrandName() string {
|
|
if m != nil && m.BrandName != nil {
|
|
return *m.BrandName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *HardDeviceAttr) GetAuthKey() string {
|
|
if m != nil && m.AuthKey != nil {
|
|
return *m.AuthKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBoundHardDevicesRequest struct {
|
|
BaseRequest *BaseRequest `protobuf:"bytes,1,req,name=BaseRequest" json:"BaseRequest,omitempty"`
|
|
Version *uint32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesRequest) Reset() { *m = GetBoundHardDevicesRequest{} }
|
|
func (m *GetBoundHardDevicesRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetBoundHardDevicesRequest) ProtoMessage() {}
|
|
func (*GetBoundHardDevicesRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{3}
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetBoundHardDevicesRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetBoundHardDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetBoundHardDevicesRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetBoundHardDevicesRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetBoundHardDevicesRequest.Merge(m, src)
|
|
}
|
|
func (m *GetBoundHardDevicesRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetBoundHardDevicesRequest.Size(m)
|
|
}
|
|
func (m *GetBoundHardDevicesRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetBoundHardDevicesRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetBoundHardDevicesRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetBoundHardDevicesRequest) GetBaseRequest() *BaseRequest {
|
|
if m != nil {
|
|
return m.BaseRequest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesRequest) GetVersion() uint32 {
|
|
if m != nil && m.Version != nil {
|
|
return *m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetBoundHardDevicesResponse struct {
|
|
BaseResponse *BaseResponse `protobuf:"bytes,1,req,name=BaseResponse" json:"BaseResponse,omitempty"`
|
|
Count *uint32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
|
|
DeviceList []*ModHardDevice `protobuf:"bytes,5,rep,name=deviceList" json:"deviceList,omitempty"`
|
|
Version *uint32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"`
|
|
CountinueFlag *uint32 `protobuf:"varint,7,opt,name=countinueFlag" json:"countinueFlag,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) Reset() { *m = GetBoundHardDevicesResponse{} }
|
|
func (m *GetBoundHardDevicesResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetBoundHardDevicesResponse) ProtoMessage() {}
|
|
func (*GetBoundHardDevicesResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{4}
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetBoundHardDevicesResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetBoundHardDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetBoundHardDevicesResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetBoundHardDevicesResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetBoundHardDevicesResponse.Merge(m, src)
|
|
}
|
|
func (m *GetBoundHardDevicesResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetBoundHardDevicesResponse.Size(m)
|
|
}
|
|
func (m *GetBoundHardDevicesResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetBoundHardDevicesResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetBoundHardDevicesResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetBoundHardDevicesResponse) GetBaseResponse() *BaseResponse {
|
|
if m != nil {
|
|
return m.BaseResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) GetCount() uint32 {
|
|
if m != nil && m.Count != nil {
|
|
return *m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) GetDeviceList() []*ModHardDevice {
|
|
if m != nil && m.DeviceList != nil {
|
|
return m.DeviceList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) GetVersion() uint32 {
|
|
if m != nil && m.Version != nil {
|
|
return *m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetBoundHardDevicesResponse) GetCountinueFlag() uint32 {
|
|
if m != nil && m.CountinueFlag != nil {
|
|
return *m.CountinueFlag
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UploadDeviceStepRequest struct {
|
|
BaseRequest *BaseRequest `protobuf:"bytes,1,req,name=BaseRequest" json:"BaseRequest,omitempty"`
|
|
DeviceID *string `protobuf:"bytes,2,opt,name=deviceID" json:"deviceID,omitempty"`
|
|
DeviceType *string `protobuf:"bytes,3,opt,name=deviceType" json:"deviceType,omitempty"`
|
|
FromTime *uint32 `protobuf:"varint,4,opt,name=fromTime" json:"fromTime,omitempty"`
|
|
ToTime *uint32 `protobuf:"varint,5,opt,name=toTime" json:"toTime,omitempty"`
|
|
StepCount *uint32 `protobuf:"varint,6,opt,name=stepCount" json:"stepCount,omitempty"`
|
|
TimeZone *string `protobuf:"bytes,7,opt,name=timeZone" json:"timeZone,omitempty"`
|
|
Bundleid *string `protobuf:"bytes,8,opt,name=bundleid" json:"bundleid,omitempty"`
|
|
Appname *string `protobuf:"bytes,9,opt,name=appname" json:"appname,omitempty"`
|
|
M7StepCount *uint32 `protobuf:"varint,10,opt,name=m7StepCount" json:"m7StepCount,omitempty"`
|
|
PhoneModel *uint32 `protobuf:"varint,11,opt,name=phoneModel" json:"phoneModel,omitempty"`
|
|
DeviceInfo *SportDeviceInfo `protobuf:"bytes,12,opt,name=deviceInfo" json:"deviceInfo,omitempty"`
|
|
HkStepCount *uint32 `protobuf:"varint,13,opt,name=hkStepCount" json:"hkStepCount,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) Reset() { *m = UploadDeviceStepRequest{} }
|
|
func (m *UploadDeviceStepRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*UploadDeviceStepRequest) ProtoMessage() {}
|
|
func (*UploadDeviceStepRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{5}
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UploadDeviceStepRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *UploadDeviceStepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UploadDeviceStepRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UploadDeviceStepRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UploadDeviceStepRequest.Merge(m, src)
|
|
}
|
|
func (m *UploadDeviceStepRequest) XXX_Size() int {
|
|
return xxx_messageInfo_UploadDeviceStepRequest.Size(m)
|
|
}
|
|
func (m *UploadDeviceStepRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UploadDeviceStepRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UploadDeviceStepRequest proto.InternalMessageInfo
|
|
|
|
func (m *UploadDeviceStepRequest) GetBaseRequest() *BaseRequest {
|
|
if m != nil {
|
|
return m.BaseRequest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetDeviceID() string {
|
|
if m != nil && m.DeviceID != nil {
|
|
return *m.DeviceID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetDeviceType() string {
|
|
if m != nil && m.DeviceType != nil {
|
|
return *m.DeviceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetFromTime() uint32 {
|
|
if m != nil && m.FromTime != nil {
|
|
return *m.FromTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetToTime() uint32 {
|
|
if m != nil && m.ToTime != nil {
|
|
return *m.ToTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetStepCount() uint32 {
|
|
if m != nil && m.StepCount != nil {
|
|
return *m.StepCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetTimeZone() string {
|
|
if m != nil && m.TimeZone != nil {
|
|
return *m.TimeZone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetBundleid() string {
|
|
if m != nil && m.Bundleid != nil {
|
|
return *m.Bundleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetAppname() string {
|
|
if m != nil && m.Appname != nil {
|
|
return *m.Appname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetM7StepCount() uint32 {
|
|
if m != nil && m.M7StepCount != nil {
|
|
return *m.M7StepCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetPhoneModel() uint32 {
|
|
if m != nil && m.PhoneModel != nil {
|
|
return *m.PhoneModel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetDeviceInfo() *SportDeviceInfo {
|
|
if m != nil {
|
|
return m.DeviceInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UploadDeviceStepRequest) GetHkStepCount() uint32 {
|
|
if m != nil && m.HkStepCount != nil {
|
|
return *m.HkStepCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UploadDeviceStepResponse struct {
|
|
BaseResponse *BaseResponse `protobuf:"bytes,1,req,name=BaseResponse" json:"BaseResponse,omitempty"`
|
|
DeviceInfo *SportDeviceInfo `protobuf:"bytes,12,opt,name=deviceInfo" json:"deviceInfo,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UploadDeviceStepResponse) Reset() { *m = UploadDeviceStepResponse{} }
|
|
func (m *UploadDeviceStepResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*UploadDeviceStepResponse) ProtoMessage() {}
|
|
func (*UploadDeviceStepResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{4}
|
|
}
|
|
|
|
func (m *UploadDeviceStepResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GUploadDeviceStepResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *UploadDeviceStepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GUploadDeviceStepResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UploadDeviceStepResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GUploadDeviceStepResponse.Merge(m, src)
|
|
}
|
|
func (m *UploadDeviceStepResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GUploadDeviceStepResponse.Size(m)
|
|
}
|
|
func (m *UploadDeviceStepResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GUploadDeviceStepResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GUploadDeviceStepResponse proto.InternalMessageInfo
|
|
|
|
func (m *UploadDeviceStepResponse) GetBaseResponse() *BaseResponse {
|
|
if m != nil {
|
|
return m.BaseResponse
|
|
}
|
|
return nil
|
|
}
|
|
func (m *UploadDeviceStepResponse) GetDeviceInfo() *SportDeviceInfo {
|
|
if m != nil {
|
|
return m.DeviceInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//
|
|
|
|
type SportDeviceInfo struct {
|
|
Bundleid *string `protobuf:"bytes,1,opt,name=bundleid" json:"bundleid,omitempty"`
|
|
Appname *string `protobuf:"bytes,2,opt,name=appname" json:"appname,omitempty"`
|
|
StepCount *uint32 `protobuf:"varint,3,opt,name=stepCount" json:"stepCount,omitempty"`
|
|
IsAppleWatch *bool `protobuf:"varint,4,opt,name=isAppleWatch" json:"isAppleWatch,omitempty"`
|
|
IsWhiteList *bool `protobuf:"varint,5,opt,name=isWhiteList" json:"isWhiteList,omitempty"`
|
|
IsLocalIphone *bool `protobuf:"varint,6,opt,name=isLocalIphone" json:"isLocalIphone,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SportDeviceInfo) Reset() { *m = SportDeviceInfo{} }
|
|
func (m *SportDeviceInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*SportDeviceInfo) ProtoMessage() {}
|
|
func (*SportDeviceInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_072c1ef9e72c0732, []int{6}
|
|
}
|
|
|
|
func (m *SportDeviceInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SportDeviceInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *SportDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SportDeviceInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SportDeviceInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SportDeviceInfo.Merge(m, src)
|
|
}
|
|
func (m *SportDeviceInfo) XXX_Size() int {
|
|
return xxx_messageInfo_SportDeviceInfo.Size(m)
|
|
}
|
|
func (m *SportDeviceInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SportDeviceInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SportDeviceInfo proto.InternalMessageInfo
|
|
|
|
func (m *SportDeviceInfo) GetBundleid() string {
|
|
if m != nil && m.Bundleid != nil {
|
|
return *m.Bundleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SportDeviceInfo) GetAppname() string {
|
|
if m != nil && m.Appname != nil {
|
|
return *m.Appname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SportDeviceInfo) GetStepCount() uint32 {
|
|
if m != nil && m.StepCount != nil {
|
|
return *m.StepCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *SportDeviceInfo) GetIsAppleWatch() bool {
|
|
if m != nil && m.IsAppleWatch != nil {
|
|
return *m.IsAppleWatch
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SportDeviceInfo) GetIsWhiteList() bool {
|
|
if m != nil && m.IsWhiteList != nil {
|
|
return *m.IsWhiteList
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *SportDeviceInfo) GetIsLocalIphone() bool {
|
|
if m != nil && m.IsLocalIphone != nil {
|
|
return *m.IsLocalIphone
|
|
}
|
|
return false
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ModHardDevice)(nil), "wechat_proto.ModHardDevice")
|
|
proto.RegisterType((*HardDevice)(nil), "wechat_proto.HardDevice")
|
|
proto.RegisterType((*HardDeviceAttr)(nil), "wechat_proto.HardDeviceAttr")
|
|
proto.RegisterType((*GetBoundHardDevicesRequest)(nil), "wechat_proto.GetBoundHardDevicesRequest")
|
|
proto.RegisterType((*GetBoundHardDevicesResponse)(nil), "wechat_proto.GetBoundHardDevicesResponse")
|
|
proto.RegisterType((*UploadDeviceStepRequest)(nil), "wechat_proto.UploadDeviceStepRequest")
|
|
proto.RegisterType((*SportDeviceInfo)(nil), "wechat_proto.SportDeviceInfo")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("exercise.proto", fileDescriptor_072c1ef9e72c0732) }
|
|
|
|
var fileDescriptor_072c1ef9e72c0732 = []byte{
|
|
// 571 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
|
|
0x10, 0x95, 0x1b, 0xda, 0x26, 0xe3, 0xa4, 0x48, 0x2b, 0x04, 0x26, 0x2d, 0x28, 0xb2, 0x38, 0xf4,
|
|
0x14, 0xa4, 0x5c, 0x40, 0xaa, 0x40, 0x6a, 0x88, 0x20, 0x11, 0x2d, 0x87, 0x4d, 0x51, 0xa5, 0x5e,
|
|
0x90, 0x6b, 0x4f, 0xf1, 0x0a, 0xc7, 0xbb, 0x78, 0xd7, 0x85, 0x7e, 0x05, 0xdf, 0xc6, 0x91, 0xbf,
|
|
0xe0, 0x13, 0x90, 0x77, 0xed, 0x78, 0x37, 0x4a, 0x6f, 0xdc, 0xf2, 0x66, 0xde, 0xce, 0x9b, 0x79,
|
|
0x7e, 0x81, 0x03, 0xfc, 0x89, 0x45, 0xcc, 0x24, 0x8e, 0x45, 0xc1, 0x15, 0x27, 0xfd, 0x1f, 0x18,
|
|
0xa7, 0x91, 0xfa, 0xa2, 0xd1, 0xb0, 0x46, 0xa6, 0x17, 0xfe, 0xf2, 0x60, 0x70, 0xce, 0x93, 0x79,
|
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