Documentation
¶
Index ¶
- Constants
- Variables
- type AndroidCheckinProto
- func (*AndroidCheckinProto) Descriptor() ([]byte, []int)deprecated
- func (x *AndroidCheckinProto) GetCellOperator() string
- func (x *AndroidCheckinProto) GetChromeBuild() *ChromeBuildProto
- func (x *AndroidCheckinProto) GetLastCheckinMsec() int64
- func (x *AndroidCheckinProto) GetRoaming() string
- func (x *AndroidCheckinProto) GetSimOperator() string
- func (x *AndroidCheckinProto) GetType() DeviceType
- func (x *AndroidCheckinProto) GetUserNumber() int32
- func (*AndroidCheckinProto) ProtoMessage()
- func (x *AndroidCheckinProto) ProtoReflect() protoreflect.Message
- func (x *AndroidCheckinProto) Reset()
- func (x *AndroidCheckinProto) String() string
- type AndroidCheckinRequest
- func (*AndroidCheckinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AndroidCheckinRequest) GetAccountCookie() []string
- func (x *AndroidCheckinRequest) GetCheckin() *AndroidCheckinProto
- func (x *AndroidCheckinRequest) GetDesiredBuild() string
- func (x *AndroidCheckinRequest) GetDigest() string
- func (x *AndroidCheckinRequest) GetEsn() string
- func (x *AndroidCheckinRequest) GetFragment() int32
- func (x *AndroidCheckinRequest) GetId() int64
- func (x *AndroidCheckinRequest) GetImei() string
- func (x *AndroidCheckinRequest) GetLocale() string
- func (x *AndroidCheckinRequest) GetLoggingId() int64
- func (x *AndroidCheckinRequest) GetMacAddr() []string
- func (x *AndroidCheckinRequest) GetMacAddrType() []string
- func (x *AndroidCheckinRequest) GetMarketCheckin() string
- func (x *AndroidCheckinRequest) GetMeid() string
- func (x *AndroidCheckinRequest) GetOtaCert() []string
- func (x *AndroidCheckinRequest) GetSecurityToken() uint64
- func (x *AndroidCheckinRequest) GetSerialNumber() string
- func (x *AndroidCheckinRequest) GetTimeZone() string
- func (x *AndroidCheckinRequest) GetUserName() string
- func (x *AndroidCheckinRequest) GetUserSerialNumber() int32
- func (x *AndroidCheckinRequest) GetVersion() int32
- func (*AndroidCheckinRequest) ProtoMessage()
- func (x *AndroidCheckinRequest) ProtoReflect() protoreflect.Message
- func (x *AndroidCheckinRequest) Reset()
- func (x *AndroidCheckinRequest) String() string
- type AndroidCheckinResponse
- func (*AndroidCheckinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AndroidCheckinResponse) GetAndroidId() uint64
- func (x *AndroidCheckinResponse) GetDeleteSetting() []string
- func (x *AndroidCheckinResponse) GetDigest() string
- func (x *AndroidCheckinResponse) GetMarketOk() bool
- func (x *AndroidCheckinResponse) GetSecurityToken() uint64
- func (x *AndroidCheckinResponse) GetSetting() []*GservicesSetting
- func (x *AndroidCheckinResponse) GetSettingsDiff() bool
- func (x *AndroidCheckinResponse) GetStatsOk() bool
- func (x *AndroidCheckinResponse) GetTimeMsec() int64
- func (x *AndroidCheckinResponse) GetVersionInfo() string
- func (*AndroidCheckinResponse) ProtoMessage()
- func (x *AndroidCheckinResponse) ProtoReflect() protoreflect.Message
- func (x *AndroidCheckinResponse) Reset()
- func (x *AndroidCheckinResponse) String() string
- type ChromeBuildProto
- func (*ChromeBuildProto) Descriptor() ([]byte, []int)deprecated
- func (x *ChromeBuildProto) GetChannel() ChromeBuildProto_Channel
- func (x *ChromeBuildProto) GetChromeVersion() string
- func (x *ChromeBuildProto) GetPlatform() ChromeBuildProto_Platform
- func (*ChromeBuildProto) ProtoMessage()
- func (x *ChromeBuildProto) ProtoReflect() protoreflect.Message
- func (x *ChromeBuildProto) Reset()
- func (x *ChromeBuildProto) String() string
- type ChromeBuildProto_Channel
- func (ChromeBuildProto_Channel) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeBuildProto_Channel) Enum() *ChromeBuildProto_Channel
- func (ChromeBuildProto_Channel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeBuildProto_Channel) Number() protoreflect.EnumNumber
- func (x ChromeBuildProto_Channel) String() string
- func (ChromeBuildProto_Channel) Type() protoreflect.EnumType
- func (x *ChromeBuildProto_Channel) UnmarshalJSON(b []byte) errordeprecated
- type ChromeBuildProto_Platform
- func (ChromeBuildProto_Platform) Descriptor() protoreflect.EnumDescriptor
- func (x ChromeBuildProto_Platform) Enum() *ChromeBuildProto_Platform
- func (ChromeBuildProto_Platform) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChromeBuildProto_Platform) Number() protoreflect.EnumNumber
- func (x ChromeBuildProto_Platform) String() string
- func (ChromeBuildProto_Platform) Type() protoreflect.EnumType
- func (x *ChromeBuildProto_Platform) UnmarshalJSON(b []byte) errordeprecated
- type DeviceType
- func (DeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceType) Enum() *DeviceType
- func (DeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceType) Number() protoreflect.EnumNumber
- func (x DeviceType) String() string
- func (DeviceType) Type() protoreflect.EnumType
- func (x *DeviceType) UnmarshalJSON(b []byte) errordeprecated
- type GservicesSetting
- func (*GservicesSetting) Descriptor() ([]byte, []int)deprecated
- func (x *GservicesSetting) GetName() []byte
- func (x *GservicesSetting) GetValue() []byte
- func (*GservicesSetting) ProtoMessage()
- func (x *GservicesSetting) ProtoReflect() protoreflect.Message
- func (x *GservicesSetting) Reset()
- func (x *GservicesSetting) String() string
Constants ¶
const (
Default_AndroidCheckinProto_Type = DeviceType_DEVICE_ANDROID_OS
)
Default values for AndroidCheckinProto fields.
Variables ¶
var ( DeviceType_name = map[int32]string{ 1: "DEVICE_ANDROID_OS", 2: "DEVICE_IOS_OS", 3: "DEVICE_CHROME_BROWSER", 4: "DEVICE_CHROME_OS", } DeviceType_value = map[string]int32{ "DEVICE_ANDROID_OS": 1, "DEVICE_IOS_OS": 2, "DEVICE_CHROME_BROWSER": 3, "DEVICE_CHROME_OS": 4, } )
Enum value maps for DeviceType.
var ( ChromeBuildProto_Platform_name = map[int32]string{ 1: "PLATFORM_WIN", 2: "PLATFORM_MAC", 3: "PLATFORM_LINUX", 4: "PLATFORM_CROS", 5: "PLATFORM_IOS", 6: "PLATFORM_ANDROID", } ChromeBuildProto_Platform_value = map[string]int32{ "PLATFORM_WIN": 1, "PLATFORM_MAC": 2, "PLATFORM_LINUX": 3, "PLATFORM_CROS": 4, "PLATFORM_IOS": 5, "PLATFORM_ANDROID": 6, } )
Enum value maps for ChromeBuildProto_Platform.
var ( ChromeBuildProto_Channel_name = map[int32]string{ 1: "CHANNEL_STABLE", 2: "CHANNEL_BETA", 3: "CHANNEL_DEV", 4: "CHANNEL_CANARY", 5: "CHANNEL_UNKNOWN", } ChromeBuildProto_Channel_value = map[string]int32{ "CHANNEL_STABLE": 1, "CHANNEL_BETA": 2, "CHANNEL_DEV": 3, "CHANNEL_CANARY": 4, "CHANNEL_UNKNOWN": 5, } )
Enum value maps for ChromeBuildProto_Channel.
var File_android_checkin_proto protoreflect.FileDescriptor
var File_checkin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AndroidCheckinProto ¶
type AndroidCheckinProto struct { // Miliseconds since the Unix epoch of the device's last successful checkin. LastCheckinMsec *int64 `protobuf:"varint,2,opt,name=last_checkin_msec,json=lastCheckinMsec" json:"last_checkin_msec,omitempty"` // The current MCC+MNC of the mobile device's current cell. CellOperator *string `protobuf:"bytes,6,opt,name=cell_operator,json=cellOperator" json:"cell_operator,omitempty"` // The MCC+MNC of the SIM card (different from operator if the // device is roaming, for instance). SimOperator *string `protobuf:"bytes,7,opt,name=sim_operator,json=simOperator" json:"sim_operator,omitempty"` // The device's current roaming state (reported starting in eclair builds). // Currently one of "{,not}mobile-{,not}roaming", if it is present at all. Roaming *string `protobuf:"bytes,8,opt,name=roaming" json:"roaming,omitempty"` // For devices supporting multiple user profiles (which may be // supported starting in jellybean), the ordinal number of the // profile that is checking in. This is 0 for the primary profile // (which can't be changed without wiping the device), and 1,2,3,... // for additional profiles (which can be added and deleted freely). UserNumber *int32 `protobuf:"varint,9,opt,name=user_number,json=userNumber" json:"user_number,omitempty"` // Class of device. Indicates the type of build proto // (IosBuildProto/ChromeBuildProto/AndroidBuildProto) // That is included in this proto Type *DeviceType `protobuf:"varint,12,opt,name=type,enum=checkin_proto.DeviceType,def=1" json:"type,omitempty"` // For devices running MCS on Chrome, build-specific characteristics // of the browser. There are no hardware aspects (except for ChromeOS). // This will only be populated for Chrome builds/ChromeOS devices ChromeBuild *ChromeBuildProto `protobuf:"bytes,13,opt,name=chrome_build,json=chromeBuild" json:"chrome_build,omitempty"` // contains filtered or unexported fields }
Information sent by the device in a "checkin" request.
func (*AndroidCheckinProto) Descriptor
deprecated
func (*AndroidCheckinProto) Descriptor() ([]byte, []int)
Deprecated: Use AndroidCheckinProto.ProtoReflect.Descriptor instead.
func (*AndroidCheckinProto) GetCellOperator ¶
func (x *AndroidCheckinProto) GetCellOperator() string
func (*AndroidCheckinProto) GetChromeBuild ¶
func (x *AndroidCheckinProto) GetChromeBuild() *ChromeBuildProto
func (*AndroidCheckinProto) GetLastCheckinMsec ¶
func (x *AndroidCheckinProto) GetLastCheckinMsec() int64
func (*AndroidCheckinProto) GetRoaming ¶
func (x *AndroidCheckinProto) GetRoaming() string
func (*AndroidCheckinProto) GetSimOperator ¶
func (x *AndroidCheckinProto) GetSimOperator() string
func (*AndroidCheckinProto) GetType ¶
func (x *AndroidCheckinProto) GetType() DeviceType
func (*AndroidCheckinProto) GetUserNumber ¶
func (x *AndroidCheckinProto) GetUserNumber() int32
func (*AndroidCheckinProto) ProtoMessage ¶
func (*AndroidCheckinProto) ProtoMessage()
func (*AndroidCheckinProto) ProtoReflect ¶
func (x *AndroidCheckinProto) ProtoReflect() protoreflect.Message
func (*AndroidCheckinProto) Reset ¶
func (x *AndroidCheckinProto) Reset()
func (*AndroidCheckinProto) String ¶
func (x *AndroidCheckinProto) String() string
type AndroidCheckinRequest ¶
type AndroidCheckinRequest struct { // IMEI (used by GSM phones) is sent and stored as 15 decimal // digits; the 15th is a check digit. Imei *string `protobuf:"bytes,1,opt,name=imei" json:"imei,omitempty"` // IMEI, reported but not logged. // MEID (used by CDMA phones) is sent and stored as 14 hexadecimal // digits (no check digit). Meid *string `protobuf:"bytes,10,opt,name=meid" json:"meid,omitempty"` // MEID, reported but not logged. // MAC address (used by non-phone devices). 12 hexadecimal digits; // no separators (eg "0016E6513AC2", not "00:16:E6:51:3A:C2"). MacAddr []string `protobuf:"bytes,9,rep,name=mac_addr,json=macAddr" json:"mac_addr,omitempty"` // MAC address, reported but not logged. // An array parallel to mac_addr, describing the type of interface. // Currently accepted values: "wifi", "ethernet", "bluetooth". If // not present, "wifi" is assumed. MacAddrType []string `protobuf:"bytes,19,rep,name=mac_addr_type,json=macAddrType" json:"mac_addr_type,omitempty"` // Serial number (a manufacturer-defined unique hardware // identifier). Alphanumeric, case-insensitive. SerialNumber *string `protobuf:"bytes,16,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"` // Older CDMA networks use an ESN (8 hex digits) instead of an MEID. Esn *string `protobuf:"bytes,17,opt,name=esn" json:"esn,omitempty"` // ESN, reported but not logged Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"` // Android device ID, not logged LoggingId *int64 `protobuf:"varint,7,opt,name=logging_id,json=loggingId" json:"logging_id,omitempty"` // Pseudonymous logging ID for Sawmill Digest *string `protobuf:"bytes,3,opt,name=digest" json:"digest,omitempty"` // Digest of device provisioning, not logged. Locale *string `protobuf:"bytes,6,opt,name=locale" json:"locale,omitempty"` // Current locale in standard (xx_XX) format Checkin *AndroidCheckinProto `protobuf:"bytes,4,req,name=checkin" json:"checkin,omitempty"` // DEPRECATED, see AndroidCheckinProto.requested_group DesiredBuild *string `protobuf:"bytes,5,opt,name=desired_build,json=desiredBuild" json:"desired_build,omitempty"` // Blob of data from the Market app to be passed to Market API server MarketCheckin *string `protobuf:"bytes,8,opt,name=market_checkin,json=marketCheckin" json:"market_checkin,omitempty"` // SID cookies of any google accounts stored on the phone. Not logged. AccountCookie []string `protobuf:"bytes,11,rep,name=account_cookie,json=accountCookie" json:"account_cookie,omitempty"` // Time zone. Not currently logged. TimeZone *string `protobuf:"bytes,12,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"` // Security token used to validate the checkin request. // Required for android IDs issued to Froyo+ devices, not for legacy IDs. SecurityToken *uint64 `protobuf:"fixed64,13,opt,name=security_token,json=securityToken" json:"security_token,omitempty"` // Version of checkin protocol. // // There are currently two versions: // // - version field missing: android IDs are assigned based on // hardware identifiers. unsecured in the sense that you can // "unregister" someone's phone by sending a registration request // with their IMEI/MEID/MAC. // // - version=2: android IDs are assigned randomly. The device is // sent a security token that must be included in all future // checkins for that android id. // // - version=3: same as version 2, but the 'fragment' field is // provided, and the device understands incremental updates to the // gservices table (ie, only returning the keys whose values have // changed.) // // (version=1 was skipped to avoid confusion with the "missing" // version field that is effectively version 1.) Version *int32 `protobuf:"varint,14,opt,name=version" json:"version,omitempty"` // OTA certs accepted by device (base-64 SHA-1 of cert files). Not // logged. OtaCert []string `protobuf:"bytes,15,rep,name=ota_cert,json=otaCert" json:"ota_cert,omitempty"` // A single CheckinTask on the device may lead to multiple checkin // requests if there is too much log data to upload in a single // request. For version 3 and up, this field will be filled in with // the number of the request, starting with 0. Fragment *int32 `protobuf:"varint,20,opt,name=fragment" json:"fragment,omitempty"` // For devices supporting multiple users, the name of the current // profile (they all check in independently, just as if they were // multiple physical devices). This may not be set, even if the // device is using multiuser. (checkin.user_number should be set to // the ordinal of the user.) UserName *string `protobuf:"bytes,21,opt,name=user_name,json=userName" json:"user_name,omitempty"` // For devices supporting multiple user profiles, the serial number // for the user checking in. Not logged. May not be set, even if // the device supportes multiuser. checkin.user_number is the // ordinal of the user (0, 1, 2, ...), which may be reused if users // are deleted and re-created. user_serial_number is never reused // (unless the device is wiped). UserSerialNumber *int32 `protobuf:"varint,22,opt,name=user_serial_number,json=userSerialNumber" json:"user_serial_number,omitempty"` // contains filtered or unexported fields }
Devices send this every few hours to tell us how they're doing.
func (*AndroidCheckinRequest) Descriptor
deprecated
func (*AndroidCheckinRequest) Descriptor() ([]byte, []int)
Deprecated: Use AndroidCheckinRequest.ProtoReflect.Descriptor instead.
func (*AndroidCheckinRequest) GetAccountCookie ¶
func (x *AndroidCheckinRequest) GetAccountCookie() []string
func (*AndroidCheckinRequest) GetCheckin ¶
func (x *AndroidCheckinRequest) GetCheckin() *AndroidCheckinProto
func (*AndroidCheckinRequest) GetDesiredBuild ¶
func (x *AndroidCheckinRequest) GetDesiredBuild() string
func (*AndroidCheckinRequest) GetDigest ¶
func (x *AndroidCheckinRequest) GetDigest() string
func (*AndroidCheckinRequest) GetEsn ¶
func (x *AndroidCheckinRequest) GetEsn() string
func (*AndroidCheckinRequest) GetFragment ¶
func (x *AndroidCheckinRequest) GetFragment() int32
func (*AndroidCheckinRequest) GetId ¶
func (x *AndroidCheckinRequest) GetId() int64
func (*AndroidCheckinRequest) GetImei ¶
func (x *AndroidCheckinRequest) GetImei() string
func (*AndroidCheckinRequest) GetLocale ¶
func (x *AndroidCheckinRequest) GetLocale() string
func (*AndroidCheckinRequest) GetLoggingId ¶
func (x *AndroidCheckinRequest) GetLoggingId() int64
func (*AndroidCheckinRequest) GetMacAddr ¶
func (x *AndroidCheckinRequest) GetMacAddr() []string
func (*AndroidCheckinRequest) GetMacAddrType ¶
func (x *AndroidCheckinRequest) GetMacAddrType() []string
func (*AndroidCheckinRequest) GetMarketCheckin ¶
func (x *AndroidCheckinRequest) GetMarketCheckin() string
func (*AndroidCheckinRequest) GetMeid ¶
func (x *AndroidCheckinRequest) GetMeid() string
func (*AndroidCheckinRequest) GetOtaCert ¶
func (x *AndroidCheckinRequest) GetOtaCert() []string
func (*AndroidCheckinRequest) GetSecurityToken ¶
func (x *AndroidCheckinRequest) GetSecurityToken() uint64
func (*AndroidCheckinRequest) GetSerialNumber ¶
func (x *AndroidCheckinRequest) GetSerialNumber() string
func (*AndroidCheckinRequest) GetTimeZone ¶
func (x *AndroidCheckinRequest) GetTimeZone() string
func (*AndroidCheckinRequest) GetUserName ¶
func (x *AndroidCheckinRequest) GetUserName() string
func (*AndroidCheckinRequest) GetUserSerialNumber ¶
func (x *AndroidCheckinRequest) GetUserSerialNumber() int32
func (*AndroidCheckinRequest) GetVersion ¶
func (x *AndroidCheckinRequest) GetVersion() int32
func (*AndroidCheckinRequest) ProtoMessage ¶
func (*AndroidCheckinRequest) ProtoMessage()
func (*AndroidCheckinRequest) ProtoReflect ¶
func (x *AndroidCheckinRequest) ProtoReflect() protoreflect.Message
func (*AndroidCheckinRequest) Reset ¶
func (x *AndroidCheckinRequest) Reset()
func (*AndroidCheckinRequest) String ¶
func (x *AndroidCheckinRequest) String() string
type AndroidCheckinResponse ¶
type AndroidCheckinResponse struct { StatsOk *bool `protobuf:"varint,1,req,name=stats_ok,json=statsOk" json:"stats_ok,omitempty"` // Whether statistics were recorded properly. TimeMsec *int64 `protobuf:"varint,3,opt,name=time_msec,json=timeMsec" json:"time_msec,omitempty"` // Time of day from server (Java epoch). // Provisioning is sent if the request included an obsolete digest. // // For version <= 2, 'digest' contains the digest that should be // sent back to the server on the next checkin, and 'setting' // contains the entire gservices table (which replaces the entire // current table on the device). // // for version >= 3, 'digest' will be absent. If 'settings_diff' // is false, then 'setting' contains the entire table, as in version // 2. If 'settings_diff' is true, then 'delete_setting' contains // the keys to delete, and 'setting' contains only keys to be added // or for which the value has changed. All other keys in the // current table should be left untouched. If 'settings_diff' is // absent, don't touch the existing gservices table. Digest *string `protobuf:"bytes,4,opt,name=digest" json:"digest,omitempty"` SettingsDiff *bool `protobuf:"varint,9,opt,name=settings_diff,json=settingsDiff" json:"settings_diff,omitempty"` DeleteSetting []string `protobuf:"bytes,10,rep,name=delete_setting,json=deleteSetting" json:"delete_setting,omitempty"` Setting []*GservicesSetting `protobuf:"bytes,5,rep,name=setting" json:"setting,omitempty"` MarketOk *bool `protobuf:"varint,6,opt,name=market_ok,json=marketOk" json:"market_ok,omitempty"` // If Market got the market_checkin data OK. AndroidId *uint64 `protobuf:"fixed64,7,opt,name=android_id,json=androidId" json:"android_id,omitempty"` // From the request, or newly assigned SecurityToken *uint64 `protobuf:"fixed64,8,opt,name=security_token,json=securityToken" json:"security_token,omitempty"` // The associated security token VersionInfo *string `protobuf:"bytes,11,opt,name=version_info,json=versionInfo" json:"version_info,omitempty"` // NEXT TAG: 12 // contains filtered or unexported fields }
The response to the device.
func (*AndroidCheckinResponse) Descriptor
deprecated
func (*AndroidCheckinResponse) Descriptor() ([]byte, []int)
Deprecated: Use AndroidCheckinResponse.ProtoReflect.Descriptor instead.
func (*AndroidCheckinResponse) GetAndroidId ¶
func (x *AndroidCheckinResponse) GetAndroidId() uint64
func (*AndroidCheckinResponse) GetDeleteSetting ¶
func (x *AndroidCheckinResponse) GetDeleteSetting() []string
func (*AndroidCheckinResponse) GetDigest ¶
func (x *AndroidCheckinResponse) GetDigest() string
func (*AndroidCheckinResponse) GetMarketOk ¶
func (x *AndroidCheckinResponse) GetMarketOk() bool
func (*AndroidCheckinResponse) GetSecurityToken ¶
func (x *AndroidCheckinResponse) GetSecurityToken() uint64
func (*AndroidCheckinResponse) GetSetting ¶
func (x *AndroidCheckinResponse) GetSetting() []*GservicesSetting
func (*AndroidCheckinResponse) GetSettingsDiff ¶
func (x *AndroidCheckinResponse) GetSettingsDiff() bool
func (*AndroidCheckinResponse) GetStatsOk ¶
func (x *AndroidCheckinResponse) GetStatsOk() bool
func (*AndroidCheckinResponse) GetTimeMsec ¶
func (x *AndroidCheckinResponse) GetTimeMsec() int64
func (*AndroidCheckinResponse) GetVersionInfo ¶
func (x *AndroidCheckinResponse) GetVersionInfo() string
func (*AndroidCheckinResponse) ProtoMessage ¶
func (*AndroidCheckinResponse) ProtoMessage()
func (*AndroidCheckinResponse) ProtoReflect ¶
func (x *AndroidCheckinResponse) ProtoReflect() protoreflect.Message
func (*AndroidCheckinResponse) Reset ¶
func (x *AndroidCheckinResponse) Reset()
func (*AndroidCheckinResponse) String ¶
func (x *AndroidCheckinResponse) String() string
type ChromeBuildProto ¶
type ChromeBuildProto struct { // The platform of the device. Platform *ChromeBuildProto_Platform `protobuf:"varint,1,opt,name=platform,enum=checkin_proto.ChromeBuildProto_Platform" json:"platform,omitempty"` // The Chrome instance's version. ChromeVersion *string `protobuf:"bytes,2,opt,name=chrome_version,json=chromeVersion" json:"chrome_version,omitempty"` // The Channel (build type) of Chrome. Channel *ChromeBuildProto_Channel `protobuf:"varint,3,opt,name=channel,enum=checkin_proto.ChromeBuildProto_Channel" json:"channel,omitempty"` // contains filtered or unexported fields }
Build characteristics unique to the Chrome browser, and Chrome OS
func (*ChromeBuildProto) Descriptor
deprecated
func (*ChromeBuildProto) Descriptor() ([]byte, []int)
Deprecated: Use ChromeBuildProto.ProtoReflect.Descriptor instead.
func (*ChromeBuildProto) GetChannel ¶
func (x *ChromeBuildProto) GetChannel() ChromeBuildProto_Channel
func (*ChromeBuildProto) GetChromeVersion ¶
func (x *ChromeBuildProto) GetChromeVersion() string
func (*ChromeBuildProto) GetPlatform ¶
func (x *ChromeBuildProto) GetPlatform() ChromeBuildProto_Platform
func (*ChromeBuildProto) ProtoMessage ¶
func (*ChromeBuildProto) ProtoMessage()
func (*ChromeBuildProto) ProtoReflect ¶
func (x *ChromeBuildProto) ProtoReflect() protoreflect.Message
func (*ChromeBuildProto) Reset ¶
func (x *ChromeBuildProto) Reset()
func (*ChromeBuildProto) String ¶
func (x *ChromeBuildProto) String() string
type ChromeBuildProto_Channel ¶
type ChromeBuildProto_Channel int32
const ( ChromeBuildProto_CHANNEL_STABLE ChromeBuildProto_Channel = 1 ChromeBuildProto_CHANNEL_BETA ChromeBuildProto_Channel = 2 ChromeBuildProto_CHANNEL_DEV ChromeBuildProto_Channel = 3 ChromeBuildProto_CHANNEL_CANARY ChromeBuildProto_Channel = 4 ChromeBuildProto_CHANNEL_UNKNOWN ChromeBuildProto_Channel = 5 // for tip of tree or custom builds )
func (ChromeBuildProto_Channel) Descriptor ¶
func (ChromeBuildProto_Channel) Descriptor() protoreflect.EnumDescriptor
func (ChromeBuildProto_Channel) Enum ¶
func (x ChromeBuildProto_Channel) Enum() *ChromeBuildProto_Channel
func (ChromeBuildProto_Channel) EnumDescriptor
deprecated
func (ChromeBuildProto_Channel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeBuildProto_Channel.Descriptor instead.
func (ChromeBuildProto_Channel) Number ¶
func (x ChromeBuildProto_Channel) Number() protoreflect.EnumNumber
func (ChromeBuildProto_Channel) String ¶
func (x ChromeBuildProto_Channel) String() string
func (ChromeBuildProto_Channel) Type ¶
func (ChromeBuildProto_Channel) Type() protoreflect.EnumType
func (*ChromeBuildProto_Channel) UnmarshalJSON
deprecated
func (x *ChromeBuildProto_Channel) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ChromeBuildProto_Platform ¶
type ChromeBuildProto_Platform int32
const ( ChromeBuildProto_PLATFORM_WIN ChromeBuildProto_Platform = 1 ChromeBuildProto_PLATFORM_MAC ChromeBuildProto_Platform = 2 ChromeBuildProto_PLATFORM_LINUX ChromeBuildProto_Platform = 3 ChromeBuildProto_PLATFORM_CROS ChromeBuildProto_Platform = 4 ChromeBuildProto_PLATFORM_IOS ChromeBuildProto_Platform = 5 // Just a placeholder. Likely don't need it due to the presence of the // Android GCM on phone/tablet devices. ChromeBuildProto_PLATFORM_ANDROID ChromeBuildProto_Platform = 6 )
func (ChromeBuildProto_Platform) Descriptor ¶
func (ChromeBuildProto_Platform) Descriptor() protoreflect.EnumDescriptor
func (ChromeBuildProto_Platform) Enum ¶
func (x ChromeBuildProto_Platform) Enum() *ChromeBuildProto_Platform
func (ChromeBuildProto_Platform) EnumDescriptor
deprecated
func (ChromeBuildProto_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChromeBuildProto_Platform.Descriptor instead.
func (ChromeBuildProto_Platform) Number ¶
func (x ChromeBuildProto_Platform) Number() protoreflect.EnumNumber
func (ChromeBuildProto_Platform) String ¶
func (x ChromeBuildProto_Platform) String() string
func (ChromeBuildProto_Platform) Type ¶
func (ChromeBuildProto_Platform) Type() protoreflect.EnumType
func (*ChromeBuildProto_Platform) UnmarshalJSON
deprecated
func (x *ChromeBuildProto_Platform) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DeviceType ¶
type DeviceType int32
enum values correspond to the type of device. Used in the AndroidCheckinProto and Device proto.
const ( // Android Device DeviceType_DEVICE_ANDROID_OS DeviceType = 1 // Apple IOS device DeviceType_DEVICE_IOS_OS DeviceType = 2 // Chrome browser - Not Chrome OS. No hardware records. DeviceType_DEVICE_CHROME_BROWSER DeviceType = 3 // Chrome OS DeviceType_DEVICE_CHROME_OS DeviceType = 4 )
func (DeviceType) Descriptor ¶
func (DeviceType) Descriptor() protoreflect.EnumDescriptor
func (DeviceType) Enum ¶
func (x DeviceType) Enum() *DeviceType
func (DeviceType) EnumDescriptor
deprecated
func (DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceType.Descriptor instead.
func (DeviceType) Number ¶
func (x DeviceType) Number() protoreflect.EnumNumber
func (DeviceType) String ¶
func (x DeviceType) String() string
func (DeviceType) Type ¶
func (DeviceType) Type() protoreflect.EnumType
func (*DeviceType) UnmarshalJSON
deprecated
func (x *DeviceType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type GservicesSetting ¶
type GservicesSetting struct { Name []byte `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
A concrete name/value pair sent to the device's Gservices database.
func (*GservicesSetting) Descriptor
deprecated
func (*GservicesSetting) Descriptor() ([]byte, []int)
Deprecated: Use GservicesSetting.ProtoReflect.Descriptor instead.
func (*GservicesSetting) GetName ¶
func (x *GservicesSetting) GetName() []byte
func (*GservicesSetting) GetValue ¶
func (x *GservicesSetting) GetValue() []byte
func (*GservicesSetting) ProtoMessage ¶
func (*GservicesSetting) ProtoMessage()
func (*GservicesSetting) ProtoReflect ¶
func (x *GservicesSetting) ProtoReflect() protoreflect.Message
func (*GservicesSetting) Reset ¶
func (x *GservicesSetting) Reset()
func (*GservicesSetting) String ¶
func (x *GservicesSetting) String() string