session

package
v0.0.0-...-d2356ba Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package session is a generated protocol buffer package.

It is generated from these files:

github.com/google/battery-historian/pb/session_proto/session.proto

It has these top-level messages:

Checkin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkin

type Checkin struct {
	AndroidId *int64 `protobuf:"varint,1,opt,name=android_id" json:"android_id,omitempty"`
	// Build fingerprint
	BuildFingerprint *string `protobuf:"bytes,2,opt,name=build_fingerprint" json:"build_fingerprint,omitempty"`
	// Device
	Device *string `protobuf:"bytes,3,opt,name=device" json:"device,omitempty"`
	// Timestamp of measurement
	BucketSnapshotMsec *int64 `protobuf:"varint,4,opt,name=bucket_snapshot_msec" json:"bucket_snapshot_msec,omitempty"`
	// Duration of the collection
	BucketDurationMsec *int64 `protobuf:"varint,5,opt,name=bucket_duration_msec" json:"bucket_duration_msec,omitempty"`
	// Checkin
	Checkin *string `protobuf:"bytes,6,opt,name=checkin" json:"checkin,omitempty"`
	// Installed packages
	Packages []*usagestats.PackageInfo `protobuf:"bytes,7,rep,name=packages" json:"packages,omitempty"`
	// Checkin/OTA groups for the device
	//    e.g. auto.droidfood, auto.googlefood.lmp
	Groups []string `protobuf:"bytes,10,rep,name=groups" json:"groups,omitempty"`
	// System info uploaded directly from the device.
	SystemInfo       *usagestats1.SystemInfo `protobuf:"bytes,8,opt,name=system_info" json:"system_info,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

Aggregated checkin stats that we will use to compute deltas.

func (*Checkin) Descriptor

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

func (*Checkin) GetAndroidId

func (m *Checkin) GetAndroidId() int64

func (*Checkin) GetBucketDurationMsec

func (m *Checkin) GetBucketDurationMsec() int64

func (*Checkin) GetBucketSnapshotMsec

func (m *Checkin) GetBucketSnapshotMsec() int64

func (*Checkin) GetBuildFingerprint

func (m *Checkin) GetBuildFingerprint() string

func (*Checkin) GetCheckin

func (m *Checkin) GetCheckin() string

func (*Checkin) GetDevice

func (m *Checkin) GetDevice() string

func (*Checkin) GetGroups

func (m *Checkin) GetGroups() []string

func (*Checkin) GetPackages

func (m *Checkin) GetPackages() []*usagestats.PackageInfo

func (*Checkin) GetSystemInfo

func (m *Checkin) GetSystemInfo() *usagestats1.SystemInfo

func (*Checkin) ProtoMessage

func (*Checkin) ProtoMessage()

func (*Checkin) Reset

func (m *Checkin) Reset()

func (*Checkin) String

func (m *Checkin) String() string

Jump to

Keyboard shortcuts

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