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 ¶
- type Checkin
- func (*Checkin) Descriptor() ([]byte, []int)
- func (m *Checkin) GetAndroidId() int64
- func (m *Checkin) GetBucketDurationMsec() int64
- func (m *Checkin) GetBucketSnapshotMsec() int64
- func (m *Checkin) GetBuildFingerprint() string
- func (m *Checkin) GetCheckin() string
- func (m *Checkin) GetDevice() string
- func (m *Checkin) GetGroups() []string
- func (m *Checkin) GetPackages() []*usagestats.PackageInfo
- func (m *Checkin) GetSystemInfo() *usagestats1.SystemInfo
- func (*Checkin) ProtoMessage()
- func (m *Checkin) Reset()
- func (m *Checkin) String() string
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) GetAndroidId ¶
func (*Checkin) GetBucketDurationMsec ¶
func (*Checkin) GetBucketSnapshotMsec ¶
func (*Checkin) GetBuildFingerprint ¶
func (*Checkin) GetCheckin ¶
func (*Checkin) GetPackages ¶
func (m *Checkin) GetPackages() []*usagestats.PackageInfo
func (*Checkin) GetSystemInfo ¶
func (m *Checkin) GetSystemInfo() *usagestats1.SystemInfo
func (*Checkin) ProtoMessage ¶
func (*Checkin) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.