sync_pb

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Default_NigoriSpecifics_PassphraseType                      = int32(1)
	Default_NigoriSpecifics_CustomPassphraseKeyDerivationMethod = int32(0)
)

Default values for NigoriSpecifics fields.

View Source
const (
	Default_SessionWindow_SelectedTabIndex = int32(-1)
	Default_SessionWindow_BrowserType      = SessionWindow_TYPE_TABBED
)

Default values for SessionWindow fields.

View Source
const (
	Default_SessionTab_TabId                  = int32(-1)
	Default_SessionTab_TabVisualIndex         = int32(-1)
	Default_SessionTab_CurrentNavigationIndex = int32(-1)
	Default_SessionTab_Pinned                 = bool(false)
)

Default values for SessionTab fields.

View Source
const (
	Default_TabNavigation_PageTransition        = SyncEnums_LINK
	Default_TabNavigation_BlockedState          = TabNavigation_STATE_ALLOWED
	Default_TabNavigation_CorrectReferrerPolicy = int32(1)
)

Default values for TabNavigation fields.

View Source
const (
	Default_SyncEntity_Deleted = bool(false)
	Default_SyncEntity_Folder  = bool(false)
)

Default values for SyncEntity fields.

View Source
const (
	Default_GetUpdatesMessage_FetchFolders                = bool(true)
	Default_GetUpdatesMessage_Streaming                   = bool(false)
	Default_GetUpdatesMessage_NeedEncryptionKey           = bool(false)
	Default_GetUpdatesMessage_CreateMobileBookmarksFolder = bool(false)
	Default_GetUpdatesMessage_IsRetry                     = bool(false)
)

Default values for GetUpdatesMessage fields.

View Source
const (
	Default_ClientToServerMessage_ProtocolVersion     = int32(52)
	Default_ClientToServerMessage_SyncProblemDetected = bool(false)
)

Default values for ClientToServerMessage fields.

View Source
const (
	Default_ClientToServerResponse_Error_ErrorType = SyncEnums_UNKNOWN
	Default_ClientToServerResponse_Error_Action    = SyncEnums_UNKNOWN_ACTION
)

Default values for ClientToServerResponse_Error fields.

View Source
const (
	Default_ClientToServerResponse_ErrorCode = SyncEnums_UNKNOWN
)

Default values for ClientToServerResponse fields.

View Source
const (
	Default_EntityMetadata_ServerVersion = int64(-1)
)

Default values for EntityMetadata fields.

View Source
const (
	Default_ExperimentStatusResponse_PollIntervalSeconds = int32(3600)
)

Default values for ExperimentStatusResponse fields.

View Source
const (
	Default_FaviconSyncFlags_FaviconSyncLimit = int32(200)
)

Default values for FaviconSyncFlags fields.

View Source
const (
	Default_GarbageCollectionDirective_Type = GarbageCollectionDirective_UNKNOWN
)

Default values for GarbageCollectionDirective fields.

View Source
const (
	Default_HistoryStatusResponse_MinPollIntervalSeconds = int32(3600)
)

Default values for HistoryStatusResponse fields.

View Source
const (
	Default_ManagedUserSharedSettingSpecifics_Acknowledged = bool(false)
)

Default values for ManagedUserSharedSettingSpecifics fields.

View Source
const (
	Default_ManagedUserSpecifics_Acknowledged = bool(false)
)

Default values for ManagedUserSpecifics fields.

View Source
const (
	Default_NigoriModel_PassphraseType = NigoriSpecifics_UNKNOWN
)

Default values for NigoriModel fields.

View Source
const (
	Default_PrinterPPDReference_Autoconf = bool(false)
)

Default values for PrinterPPDReference fields.

View Source
const (
	Default_SessionSpecifics_TabNodeId = int32(-1)
)

Default values for SessionSpecifics fields.

Variables

View Source
var (
	AppListSpecifics_AppListItemType_name = map[int32]string{
		1: "TYPE_APP",
		2: "TYPE_REMOVE_DEFAULT_APP",
		3: "TYPE_FOLDER",
		4: "TYPE_OBSOLETE_URL",
		5: "TYPE_PAGE_BREAK",
	}
	AppListSpecifics_AppListItemType_value = map[string]int32{
		"TYPE_APP":                1,
		"TYPE_REMOVE_DEFAULT_APP": 2,
		"TYPE_FOLDER":             3,
		"TYPE_OBSOLETE_URL":       4,
		"TYPE_PAGE_BREAK":         5,
	}
)

Enum value maps for AppListSpecifics_AppListItemType.

View Source
var (
	AppSpecifics_LaunchType_name = map[int32]string{
		0: "PINNED",
		1: "REGULAR",
		2: "FULLSCREEN",
		3: "WINDOW",
	}
	AppSpecifics_LaunchType_value = map[string]int32{
		"PINNED":     0,
		"REGULAR":    1,
		"FULLSCREEN": 2,
		"WINDOW":     3,
	}
)

Enum value maps for AppSpecifics_LaunchType.

View Source
var (
	CardIssuer_Issuer_name = map[int32]string{
		0: "ISSUER_UNKNOWN",
		1: "GOOGLE",
	}
	CardIssuer_Issuer_value = map[string]int32{
		"ISSUER_UNKNOWN": 0,
		"GOOGLE":         1,
	}
)

Enum value maps for CardIssuer_Issuer.

View Source
var (
	WalletMaskedCreditCard_WalletCardStatus_name = map[int32]string{
		0: "VALID",
		1: "EXPIRED",
	}
	WalletMaskedCreditCard_WalletCardStatus_value = map[string]int32{
		"VALID":   0,
		"EXPIRED": 1,
	}
)

Enum value maps for WalletMaskedCreditCard_WalletCardStatus.

View Source
var (
	WalletMaskedCreditCard_WalletCardType_name = map[int32]string{
		0: "UNKNOWN",
		1: "AMEX",
		2: "DISCOVER",
		3: "JCB",
		4: "MAESTRO",
		5: "MASTER_CARD",
		6: "SOLO",
		7: "SWITCH",
		8: "VISA",
		9: "UNIONPAY",
	}
	WalletMaskedCreditCard_WalletCardType_value = map[string]int32{
		"UNKNOWN":     0,
		"AMEX":        1,
		"DISCOVER":    2,
		"JCB":         3,
		"MAESTRO":     4,
		"MASTER_CARD": 5,
		"SOLO":        6,
		"SWITCH":      7,
		"VISA":        8,
		"UNIONPAY":    9,
	}
)

Enum value maps for WalletMaskedCreditCard_WalletCardType.

View Source
var (
	AutofillWalletSpecifics_WalletInfoType_name = map[int32]string{
		0: "UNKNOWN",
		1: "MASKED_CREDIT_CARD",
		2: "POSTAL_ADDRESS",
		3: "CUSTOMER_DATA",
		4: "CREDIT_CARD_CLOUD_TOKEN_DATA",
	}
	AutofillWalletSpecifics_WalletInfoType_value = map[string]int32{
		"UNKNOWN":                      0,
		"MASKED_CREDIT_CARD":           1,
		"POSTAL_ADDRESS":               2,
		"CUSTOMER_DATA":                3,
		"CREDIT_CARD_CLOUD_TOKEN_DATA": 4,
	}
)

Enum value maps for AutofillWalletSpecifics_WalletInfoType.

View Source
var (
	WalletMetadataSpecifics_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "CARD",
		2: "ADDRESS",
	}
	WalletMetadataSpecifics_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"CARD":    1,
		"ADDRESS": 2,
	}
)

Enum value maps for WalletMetadataSpecifics_Type.

View Source
var (
	SharingSpecificFields_EnabledFeatures_name = map[int32]string{
		0: "UNKNOWN",
		1: "CLICK_TO_CALL_VAPID",
		2: "SHARED_CLIPBOARD_VAPID",
		3: "SMS_FETCHER",
		4: "REMOTE_COPY",
		5: "PEER_CONNECTION",
		6: "DISCOVERY",
		7: "CLICK_TO_CALL_V2",
		8: "SHARED_CLIPBOARD_V2",
	}
	SharingSpecificFields_EnabledFeatures_value = map[string]int32{
		"UNKNOWN":                0,
		"CLICK_TO_CALL_VAPID":    1,
		"SHARED_CLIPBOARD_VAPID": 2,
		"SMS_FETCHER":            3,
		"REMOTE_COPY":            4,
		"PEER_CONNECTION":        5,
		"DISCOVERY":              6,
		"CLICK_TO_CALL_V2":       7,
		"SHARED_CLIPBOARD_V2":    8,
	}
)

Enum value maps for SharingSpecificFields_EnabledFeatures.

View Source
var (
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation_name = map[int32]string{
		0: "REPORTING_POPULATION_UNSPECIFIED",
		1: "NONE",
		2: "EXTENDED_REPORTING",
		3: "SCOUT",
	}
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation_value = map[string]int32{
		"REPORTING_POPULATION_UNSPECIFIED": 0,
		"NONE":                             1,
		"EXTENDED_REPORTING":               2,
		"SCOUT":                            3,
	}
)

Enum value maps for GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation.

View Source
var (
	GaiaPasswordReuse_PasswordReuseLookup_LookupResult_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "WHITELIST_HIT",
		2: "CACHE_HIT",
		3: "REQUEST_SUCCESS",
		4: "REQUEST_FAILURE",
		5: "URL_UNSUPPORTED",
		6: "ENTERPRISE_WHITELIST_HIT",
		7: "TURNED_OFF_BY_POLICY",
	}
	GaiaPasswordReuse_PasswordReuseLookup_LookupResult_value = map[string]int32{
		"UNSPECIFIED":              0,
		"WHITELIST_HIT":            1,
		"CACHE_HIT":                2,
		"REQUEST_SUCCESS":          3,
		"REQUEST_FAILURE":          4,
		"URL_UNSUPPORTED":          5,
		"ENTERPRISE_WHITELIST_HIT": 6,
		"TURNED_OFF_BY_POLICY":     7,
	}
)

Enum value maps for GaiaPasswordReuse_PasswordReuseLookup_LookupResult.

View Source
var (
	GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict_name = map[int32]string{
		0: "VERDICT_UNSPECIFIED",
		1: "SAFE",
		2: "LOW_REPUTATION",
		3: "PHISHING",
	}
	GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict_value = map[string]int32{
		"VERDICT_UNSPECIFIED": 0,
		"SAFE":                1,
		"LOW_REPUTATION":      2,
		"PHISHING":            3,
	}
)

Enum value maps for GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict.

View Source
var (
	GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "WARNING_ACTION_TAKEN",
		2: "WARNING_ACTION_IGNORED",
		3: "WARNING_UI_IGNORED",
		4: "WARNING_ACTION_TAKEN_ON_SETTINGS",
	}
	GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult_value = map[string]int32{
		"UNSPECIFIED":                      0,
		"WARNING_ACTION_TAKEN":             1,
		"WARNING_ACTION_IGNORED":           2,
		"WARNING_UI_IGNORED":               3,
		"WARNING_ACTION_TAKEN_ON_SETTINGS": 4,
	}
)

Enum value maps for GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult.

View Source
var (
	GaiaPasswordReuse_PasswordCaptured_EventTrigger_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "USER_LOGGED_IN",
		2: "EXPIRED_28D_TIMER",
	}
	GaiaPasswordReuse_PasswordCaptured_EventTrigger_value = map[string]int32{
		"UNSPECIFIED":       0,
		"USER_LOGGED_IN":    1,
		"EXPIRED_28D_TIMER": 2,
	}
)

Enum value maps for GaiaPasswordReuse_PasswordCaptured_EventTrigger.

View Source
var (
	GetUpdatesCallerInfo_GetUpdatesSource_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "FIRST_UPDATE",
		2:  "LOCAL",
		3:  "NOTIFICATION",
		4:  "PERIODIC",
		5:  "SYNC_CYCLE_CONTINUATION",
		7:  "NEWLY_SUPPORTED_DATATYPE",
		8:  "MIGRATION",
		9:  "NEW_CLIENT",
		10: "RECONFIGURATION",
		11: "DATATYPE_REFRESH",
		13: "RETRY",
		14: "PROGRAMMATIC",
	}
	GetUpdatesCallerInfo_GetUpdatesSource_value = map[string]int32{
		"UNKNOWN":                  0,
		"FIRST_UPDATE":             1,
		"LOCAL":                    2,
		"NOTIFICATION":             3,
		"PERIODIC":                 4,
		"SYNC_CYCLE_CONTINUATION":  5,
		"NEWLY_SUPPORTED_DATATYPE": 7,
		"MIGRATION":                8,
		"NEW_CLIENT":               9,
		"RECONFIGURATION":          10,
		"DATATYPE_REFRESH":         11,
		"RETRY":                    13,
		"PROGRAMMATIC":             14,
	}
)

Enum value maps for GetUpdatesCallerInfo_GetUpdatesSource.

View Source
var (
	LoopbackServerEntity_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "BOOKMARK",
		2: "PERMANENT",
		3: "TOMBSTONE",
		4: "UNIQUE",
	}
	LoopbackServerEntity_Type_value = map[string]int32{
		"UNKNOWN":   0,
		"BOOKMARK":  1,
		"PERMANENT": 2,
		"TOMBSTONE": 3,
		"UNIQUE":    4,
	}
)

Enum value maps for LoopbackServerEntity_Type.

View Source
var (
	NigoriSpecifics_PassphraseType_name = map[int32]string{
		0: "UNKNOWN",
		1: "IMPLICIT_PASSPHRASE",
		2: "KEYSTORE_PASSPHRASE",
		3: "FROZEN_IMPLICIT_PASSPHRASE",
		4: "CUSTOM_PASSPHRASE",
		5: "TRUSTED_VAULT_PASSPHRASE",
	}
	NigoriSpecifics_PassphraseType_value = map[string]int32{
		"UNKNOWN":                    0,
		"IMPLICIT_PASSPHRASE":        1,
		"KEYSTORE_PASSPHRASE":        2,
		"FROZEN_IMPLICIT_PASSPHRASE": 3,
		"CUSTOM_PASSPHRASE":          4,
		"TRUSTED_VAULT_PASSPHRASE":   5,
	}
)

Enum value maps for NigoriSpecifics_PassphraseType.

View Source
var (
	NigoriSpecifics_KeyDerivationMethod_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "PBKDF2_HMAC_SHA1_1003",
		2: "SCRYPT_8192_8_11",
	}
	NigoriSpecifics_KeyDerivationMethod_value = map[string]int32{
		"UNSPECIFIED":           0,
		"PBKDF2_HMAC_SHA1_1003": 1,
		"SCRYPT_8192_8_11":      2,
	}
)

Enum value maps for NigoriSpecifics_KeyDerivationMethod.

View Source
var (
	ReadingListSpecifics_ReadingListEntryStatus_name = map[int32]string{
		0: "UNREAD",
		1: "READ",
		2: "UNSEEN",
	}
	ReadingListSpecifics_ReadingListEntryStatus_value = map[string]int32{
		"UNREAD": 0,
		"READ":   1,
		"UNSEEN": 2,
	}
)

Enum value maps for ReadingListSpecifics_ReadingListEntryStatus.

View Source
var (
	SessionWindow_BrowserType_name = map[int32]string{
		1: "TYPE_TABBED",
		2: "TYPE_POPUP",
		3: "TYPE_CUSTOM_TAB",
	}
	SessionWindow_BrowserType_value = map[string]int32{
		"TYPE_TABBED":     1,
		"TYPE_POPUP":      2,
		"TYPE_CUSTOM_TAB": 3,
	}
)

Enum value maps for SessionWindow_BrowserType.

View Source
var (
	SessionTab_FaviconType_name = map[int32]string{
		1: "TYPE_WEB_FAVICON",
	}
	SessionTab_FaviconType_value = map[string]int32{
		"TYPE_WEB_FAVICON": 1,
	}
)

Enum value maps for SessionTab_FaviconType.

View Source
var (
	TabNavigation_BlockedState_name = map[int32]string{
		1: "STATE_ALLOWED",
		2: "STATE_BLOCKED",
	}
	TabNavigation_BlockedState_value = map[string]int32{
		"STATE_ALLOWED": 1,
		"STATE_BLOCKED": 2,
	}
)

Enum value maps for TabNavigation_BlockedState.

View Source
var (
	TabNavigation_PasswordState_name = map[int32]string{
		0: "PASSWORD_STATE_UNKNOWN",
		1: "NO_PASSWORD_FIELD",
		2: "HAS_PASSWORD_FIELD",
	}
	TabNavigation_PasswordState_value = map[string]int32{
		"PASSWORD_STATE_UNKNOWN": 0,
		"NO_PASSWORD_FIELD":      1,
		"HAS_PASSWORD_FIELD":     2,
	}
)

Enum value maps for TabNavigation_PasswordState.

View Source
var (
	SharingMessageCommitError_ErrorCode_name = map[int32]string{
		0:  "NONE",
		1:  "INVALID_ARGUMENT",
		2:  "NOT_FOUND",
		3:  "INTERNAL",
		4:  "UNAVAILABLE",
		5:  "RESOURCE_EXHAUSTED",
		6:  "UNAUTHENTICATED",
		7:  "PERMISSION_DENIED",
		8:  "SYNC_TURNED_OFF",
		9:  "SYNC_NETWORK_ERROR",
		10: "SYNC_SERVER_ERROR",
		11: "SYNC_TIMEOUT",
	}
	SharingMessageCommitError_ErrorCode_value = map[string]int32{
		"NONE":               0,
		"INVALID_ARGUMENT":   1,
		"NOT_FOUND":          2,
		"INTERNAL":           3,
		"UNAVAILABLE":        4,
		"RESOURCE_EXHAUSTED": 5,
		"UNAUTHENTICATED":    6,
		"PERMISSION_DENIED":  7,
		"SYNC_TURNED_OFF":    8,
		"SYNC_NETWORK_ERROR": 9,
		"SYNC_SERVER_ERROR":  10,
		"SYNC_TIMEOUT":       11,
	}
)

Enum value maps for SharingMessageCommitError_ErrorCode.

View Source
var (
	GarbageCollectionDirective_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "VERSION_WATERMARK",
		2: "AGE_WATERMARK",
		3: "DEPRECATED_MAX_ITEM_COUNT",
	}
	GarbageCollectionDirective_Type_value = map[string]int32{
		"UNKNOWN":                   0,
		"VERSION_WATERMARK":         1,
		"AGE_WATERMARK":             2,
		"DEPRECATED_MAX_ITEM_COUNT": 3,
	}
)

Enum value maps for GarbageCollectionDirective_Type.

View Source
var (
	ClientToServerMessage_Contents_name = map[int32]string{
		1: "COMMIT",
		2: "GET_UPDATES",
		3: "DEPRECATED_3",
		4: "DEPRECATED_4",
		5: "CLEAR_SERVER_DATA",
	}
	ClientToServerMessage_Contents_value = map[string]int32{
		"COMMIT":            1,
		"GET_UPDATES":       2,
		"DEPRECATED_3":      3,
		"DEPRECATED_4":      4,
		"CLEAR_SERVER_DATA": 5,
	}
)

Enum value maps for ClientToServerMessage_Contents.

View Source
var (
	CommitResponse_ResponseType_name = map[int32]string{
		1: "SUCCESS",
		2: "CONFLICT",
		3: "RETRY",
		4: "INVALID_MESSAGE",
		5: "OVER_QUOTA",
		6: "TRANSIENT_ERROR",
	}
	CommitResponse_ResponseType_value = map[string]int32{
		"SUCCESS":         1,
		"CONFLICT":        2,
		"RETRY":           3,
		"INVALID_MESSAGE": 4,
		"OVER_QUOTA":      5,
		"TRANSIENT_ERROR": 6,
	}
)

Enum value maps for CommitResponse_ResponseType.

View Source
var (
	SyncEnums_SingletonDebugEventType_name = map[int32]string{
		1:  "CONNECTION_STATUS_CHANGE",
		2:  "UPDATED_TOKEN",
		3:  "PASSPHRASE_REQUIRED",
		4:  "PASSPHRASE_ACCEPTED",
		5:  "INITIALIZATION_COMPLETE",
		6:  "STOP_SYNCING_PERMANENTLY",
		7:  "ENCRYPTION_COMPLETE",
		8:  "ACTIONABLE_ERROR",
		9:  "ENCRYPTED_TYPES_CHANGED",
		10: "PASSPHRASE_TYPE_CHANGED",
		11: "KEYSTORE_TOKEN_UPDATED",
		12: "CONFIGURE_COMPLETE",
		13: "BOOTSTRAP_TOKEN_UPDATED",
		14: "TRUSTED_VAULT_KEY_REQUIRED",
		15: "TRUSTED_VAULT_KEY_ACCEPTED",
	}
	SyncEnums_SingletonDebugEventType_value = map[string]int32{
		"CONNECTION_STATUS_CHANGE":   1,
		"UPDATED_TOKEN":              2,
		"PASSPHRASE_REQUIRED":        3,
		"PASSPHRASE_ACCEPTED":        4,
		"INITIALIZATION_COMPLETE":    5,
		"STOP_SYNCING_PERMANENTLY":   6,
		"ENCRYPTION_COMPLETE":        7,
		"ACTIONABLE_ERROR":           8,
		"ENCRYPTED_TYPES_CHANGED":    9,
		"PASSPHRASE_TYPE_CHANGED":    10,
		"KEYSTORE_TOKEN_UPDATED":     11,
		"CONFIGURE_COMPLETE":         12,
		"BOOTSTRAP_TOKEN_UPDATED":    13,
		"TRUSTED_VAULT_KEY_REQUIRED": 14,
		"TRUSTED_VAULT_KEY_ACCEPTED": 15,
	}
)

Enum value maps for SyncEnums_SingletonDebugEventType.

View Source
var (
	SyncEnums_PageTransition_name = map[int32]string{
		0:  "LINK",
		1:  "TYPED",
		2:  "AUTO_BOOKMARK",
		3:  "AUTO_SUBFRAME",
		4:  "MANUAL_SUBFRAME",
		5:  "GENERATED",
		6:  "AUTO_TOPLEVEL",
		7:  "FORM_SUBMIT",
		8:  "RELOAD",
		9:  "KEYWORD",
		10: "KEYWORD_GENERATED",
	}
	SyncEnums_PageTransition_value = map[string]int32{
		"LINK":              0,
		"TYPED":             1,
		"AUTO_BOOKMARK":     2,
		"AUTO_SUBFRAME":     3,
		"MANUAL_SUBFRAME":   4,
		"GENERATED":         5,
		"AUTO_TOPLEVEL":     6,
		"FORM_SUBMIT":       7,
		"RELOAD":            8,
		"KEYWORD":           9,
		"KEYWORD_GENERATED": 10,
	}
)

Enum value maps for SyncEnums_PageTransition.

View Source
var (
	SyncEnums_PageTransitionRedirectType_name = map[int32]string{
		1: "CLIENT_REDIRECT",
		2: "SERVER_REDIRECT",
	}
	SyncEnums_PageTransitionRedirectType_value = map[string]int32{
		"CLIENT_REDIRECT": 1,
		"SERVER_REDIRECT": 2,
	}
)

Enum value maps for SyncEnums_PageTransitionRedirectType.

View Source
var (
	SyncEnums_ErrorType_name = map[int32]string{
		0:   "SUCCESS",
		1:   "DEPRECATED_ACCESS_DENIED",
		2:   "NOT_MY_BIRTHDAY",
		3:   "THROTTLED",
		4:   "DEPRECATED_AUTH_EXPIRED",
		5:   "DEPRECATED_USER_NOT_ACTIVATED",
		6:   "DEPRECATED_AUTH_INVALID",
		7:   "CLEAR_PENDING",
		8:   "TRANSIENT_ERROR",
		9:   "MIGRATION_DONE",
		10:  "DISABLED_BY_ADMIN",
		11:  "DEPRECATED_USER_ROLLBACK",
		12:  "PARTIAL_FAILURE",
		13:  "CLIENT_DATA_OBSOLETE",
		100: "UNKNOWN",
	}
	SyncEnums_ErrorType_value = map[string]int32{
		"SUCCESS":                       0,
		"DEPRECATED_ACCESS_DENIED":      1,
		"NOT_MY_BIRTHDAY":               2,
		"THROTTLED":                     3,
		"DEPRECATED_AUTH_EXPIRED":       4,
		"DEPRECATED_USER_NOT_ACTIVATED": 5,
		"DEPRECATED_AUTH_INVALID":       6,
		"CLEAR_PENDING":                 7,
		"TRANSIENT_ERROR":               8,
		"MIGRATION_DONE":                9,
		"DISABLED_BY_ADMIN":             10,
		"DEPRECATED_USER_ROLLBACK":      11,
		"PARTIAL_FAILURE":               12,
		"CLIENT_DATA_OBSOLETE":          13,
		"UNKNOWN":                       100,
	}
)

Enum value maps for SyncEnums_ErrorType.

View Source
var (
	SyncEnums_Action_name = map[int32]string{
		0: "UPGRADE_CLIENT",
		1: "DEPRECATED_CLEAR_USER_DATA_AND_RESYNC",
		2: "DEPRECATED_ENABLE_SYNC_ON_ACCOUNT",
		3: "DEPRECATED_STOP_AND_RESTART_SYNC",
		4: "DEPRECATED_DISABLE_SYNC_ON_CLIENT",
		5: "UNKNOWN_ACTION",
	}
	SyncEnums_Action_value = map[string]int32{
		"UPGRADE_CLIENT":                        0,
		"DEPRECATED_CLEAR_USER_DATA_AND_RESYNC": 1,
		"DEPRECATED_ENABLE_SYNC_ON_ACCOUNT":     2,
		"DEPRECATED_STOP_AND_RESTART_SYNC":      3,
		"DEPRECATED_DISABLE_SYNC_ON_CLIENT":     4,
		"UNKNOWN_ACTION":                        5,
	}
)

Enum value maps for SyncEnums_Action.

View Source
var (
	SyncEnums_DeviceType_name = map[int32]string{
		0: "TYPE_UNSET",
		1: "TYPE_WIN",
		2: "TYPE_MAC",
		3: "TYPE_LINUX",
		4: "TYPE_CROS",
		5: "TYPE_OTHER",
		6: "TYPE_PHONE",
		7: "TYPE_TABLET",
	}
	SyncEnums_DeviceType_value = map[string]int32{
		"TYPE_UNSET":  0,
		"TYPE_WIN":    1,
		"TYPE_MAC":    2,
		"TYPE_LINUX":  3,
		"TYPE_CROS":   4,
		"TYPE_OTHER":  5,
		"TYPE_PHONE":  6,
		"TYPE_TABLET": 7,
	}
)

Enum value maps for SyncEnums_DeviceType.

View Source
var (
	SyncEnums_GetUpdatesOrigin_name = map[int32]string{
		0:  "UNKNOWN_ORIGIN",
		4:  "PERIODIC",
		7:  "NEWLY_SUPPORTED_DATATYPE",
		8:  "MIGRATION",
		9:  "NEW_CLIENT",
		10: "RECONFIGURATION",
		12: "GU_TRIGGER",
		13: "RETRY",
		14: "PROGRAMMATIC",
	}
	SyncEnums_GetUpdatesOrigin_value = map[string]int32{
		"UNKNOWN_ORIGIN":           0,
		"PERIODIC":                 4,
		"NEWLY_SUPPORTED_DATATYPE": 7,
		"MIGRATION":                8,
		"NEW_CLIENT":               9,
		"RECONFIGURATION":          10,
		"GU_TRIGGER":               12,
		"RETRY":                    13,
		"PROGRAMMATIC":             14,
	}
)

Enum value maps for SyncEnums_GetUpdatesOrigin.

View Source
var (
	UserConsentSpecifics_Feature_name = map[int32]string{
		0: "FEATURE_UNSPECIFIED",
		1: "CHROME_SYNC",
		2: "PLAY_STORE",
		3: "BACKUP_AND_RESTORE",
		4: "GOOGLE_LOCATION_SERVICE",
		5: "CHROME_UNIFIED_CONSENT",
		6: "ASSISTANT_ACTIVITY_CONTROL",
	}
	UserConsentSpecifics_Feature_value = map[string]int32{
		"FEATURE_UNSPECIFIED":        0,
		"CHROME_SYNC":                1,
		"PLAY_STORE":                 2,
		"BACKUP_AND_RESTORE":         3,
		"GOOGLE_LOCATION_SERVICE":    4,
		"CHROME_UNIFIED_CONSENT":     5,
		"ASSISTANT_ACTIVITY_CONTROL": 6,
	}
)

Enum value maps for UserConsentSpecifics_Feature.

View Source
var (
	UserConsentTypes_ConsentStatus_name = map[int32]string{
		0: "CONSENT_STATUS_UNSPECIFIED",
		1: "NOT_GIVEN",
		2: "GIVEN",
	}
	UserConsentTypes_ConsentStatus_value = map[string]int32{
		"CONSENT_STATUS_UNSPECIFIED": 0,
		"NOT_GIVEN":                  1,
		"GIVEN":                      2,
	}
)

Enum value maps for UserConsentTypes_ConsentStatus.

View Source
var (
	UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow_name = map[int32]string{
		1: "SETUP",
		2: "SETTING_CHANGE",
	}
	UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow_value = map[string]int32{
		"SETUP":          1,
		"SETTING_CHANGE": 2,
	}
)

Enum value maps for UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow.

View Source
var (
	UserEventSpecifics_Translation_Interaction_name = map[int32]string{
		0: "UNKNOWN",
		1: "ACCEPT",
		2: "DECLINE",
		3: "IGNORED",
		4: "DISMISSED",
		5: "MANUAL",
		6: "TRANSLATION_REVERTED",
		7: "AUTO_TRANSLATION_BY_PREF",
		8: "AUTO_TRANSLATION_BY_LINK",
		9: "INITIALIZATION_ERROR",
	}
	UserEventSpecifics_Translation_Interaction_value = map[string]int32{
		"UNKNOWN":                  0,
		"ACCEPT":                   1,
		"DECLINE":                  2,
		"IGNORED":                  3,
		"DISMISSED":                4,
		"MANUAL":                   5,
		"TRANSLATION_REVERTED":     6,
		"AUTO_TRANSLATION_BY_PREF": 7,
		"AUTO_TRANSLATION_BY_LINK": 8,
		"INITIALIZATION_ERROR":     9,
	}
)

Enum value maps for UserEventSpecifics_Translation_Interaction.

View Source
var (
	UserEventSpecifics_UserConsent_Feature_name = map[int32]string{
		0: "FEATURE_UNSPECIFIED",
		1: "CHROME_SYNC",
		2: "PLAY_STORE",
		3: "BACKUP_AND_RESTORE",
		4: "GOOGLE_LOCATION_SERVICE",
		5: "CHROME_UNIFIED_CONSENT",
		6: "ASSISTANT_ACTIVITY_CONTROL",
	}
	UserEventSpecifics_UserConsent_Feature_value = map[string]int32{
		"FEATURE_UNSPECIFIED":        0,
		"CHROME_SYNC":                1,
		"PLAY_STORE":                 2,
		"BACKUP_AND_RESTORE":         3,
		"GOOGLE_LOCATION_SERVICE":    4,
		"CHROME_UNIFIED_CONSENT":     5,
		"ASSISTANT_ACTIVITY_CONTROL": 6,
	}
)

Enum value maps for UserEventSpecifics_UserConsent_Feature.

View Source
var (
	UserEventSpecifics_GaiaPasswordCaptured_EventTrigger_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "USER_LOGGED_IN",
		2: "EXPIRED_28D_TIMER",
	}
	UserEventSpecifics_GaiaPasswordCaptured_EventTrigger_value = map[string]int32{
		"UNSPECIFIED":       0,
		"USER_LOGGED_IN":    1,
		"EXPIRED_28D_TIMER": 2,
	}
)

Enum value maps for UserEventSpecifics_GaiaPasswordCaptured_EventTrigger.

View Source
var (
	WebAppSpecifics_UserDisplayMode_name = map[int32]string{
		1: "BROWSER",
		3: "STANDALONE",
	}
	WebAppSpecifics_UserDisplayMode_value = map[string]int32{
		"BROWSER":    1,
		"STANDALONE": 3,
	}
)

Enum value maps for WebAppSpecifics_UserDisplayMode.

View Source
var (
	WifiConfigurationSpecifics_SecurityType_name = map[int32]string{
		0: "SECURITY_TYPE_UNSPECIFIED",
		1: "SECURITY_TYPE_NONE",
		2: "SECURITY_TYPE_WEP",
		3: "SECURITY_TYPE_PSK",
	}
	WifiConfigurationSpecifics_SecurityType_value = map[string]int32{
		"SECURITY_TYPE_UNSPECIFIED": 0,
		"SECURITY_TYPE_NONE":        1,
		"SECURITY_TYPE_WEP":         2,
		"SECURITY_TYPE_PSK":         3,
	}
)

Enum value maps for WifiConfigurationSpecifics_SecurityType.

View Source
var (
	WifiConfigurationSpecifics_AutomaticallyConnectOption_name = map[int32]string{
		0: "AUTOMATICALLY_CONNECT_UNSPECIFIED",
		1: "AUTOMATICALLY_CONNECT_DISABLED",
		2: "AUTOMATICALLY_CONNECT_ENABLED",
	}
	WifiConfigurationSpecifics_AutomaticallyConnectOption_value = map[string]int32{
		"AUTOMATICALLY_CONNECT_UNSPECIFIED": 0,
		"AUTOMATICALLY_CONNECT_DISABLED":    1,
		"AUTOMATICALLY_CONNECT_ENABLED":     2,
	}
)

Enum value maps for WifiConfigurationSpecifics_AutomaticallyConnectOption.

View Source
var (
	WifiConfigurationSpecifics_IsPreferredOption_name = map[int32]string{
		0: "IS_PREFERRED_UNSPECIFIED",
		1: "IS_PREFERRED_DISABLED",
		2: "IS_PREFERRED_ENABLED",
	}
	WifiConfigurationSpecifics_IsPreferredOption_value = map[string]int32{
		"IS_PREFERRED_UNSPECIFIED": 0,
		"IS_PREFERRED_DISABLED":    1,
		"IS_PREFERRED_ENABLED":     2,
	}
)

Enum value maps for WifiConfigurationSpecifics_IsPreferredOption.

View Source
var (
	WifiConfigurationSpecifics_MeteredOption_name = map[int32]string{
		0: "METERED_OPTION_UNSPECIFIED",
		1: "METERED_OPTION_NO",
		2: "METERED_OPTION_YES",
		3: "METERED_OPTION_AUTO",
	}
	WifiConfigurationSpecifics_MeteredOption_value = map[string]int32{
		"METERED_OPTION_UNSPECIFIED": 0,
		"METERED_OPTION_NO":          1,
		"METERED_OPTION_YES":         2,
		"METERED_OPTION_AUTO":        3,
	}
)

Enum value maps for WifiConfigurationSpecifics_MeteredOption.

View Source
var (
	WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_name = map[int32]string{
		0: "PROXY_OPTION_UNSPECIFIED",
		1: "PROXY_OPTION_DISABLED",
		2: "PROXY_OPTION_AUTOMATIC",
		3: "PROXY_OPTION_AUTODISCOVERY",
		4: "PROXY_OPTION_MANUAL",
	}
	WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_value = map[string]int32{
		"PROXY_OPTION_UNSPECIFIED":   0,
		"PROXY_OPTION_DISABLED":      1,
		"PROXY_OPTION_AUTOMATIC":     2,
		"PROXY_OPTION_AUTODISCOVERY": 3,
		"PROXY_OPTION_MANUAL":        4,
	}
)

Enum value maps for WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption.

View Source
var File_app_list_specifics_proto protoreflect.FileDescriptor
View Source
var File_app_notification_specifics_proto protoreflect.FileDescriptor
View Source
var File_app_setting_specifics_proto protoreflect.FileDescriptor
View Source
var File_app_specifics_proto protoreflect.FileDescriptor
View Source
var File_arc_package_specifics_proto protoreflect.FileDescriptor
View Source
var File_autofill_specifics_proto protoreflect.FileDescriptor
View Source
var File_bookmark_model_metadata_proto protoreflect.FileDescriptor
View Source
var File_bookmark_specifics_proto protoreflect.FileDescriptor
View Source
var File_client_commands_proto protoreflect.FileDescriptor
View Source
var File_client_debug_info_proto protoreflect.FileDescriptor
View Source
var File_device_info_specifics_proto protoreflect.FileDescriptor
View Source
var File_dictionary_specifics_proto protoreflect.FileDescriptor
View Source
var File_encryption_proto protoreflect.FileDescriptor
View Source
var File_entity_metadata_proto protoreflect.FileDescriptor
View Source
var File_experiment_status_proto protoreflect.FileDescriptor
View Source
var File_experiments_specifics_proto protoreflect.FileDescriptor
View Source
var File_extension_setting_specifics_proto protoreflect.FileDescriptor
View Source
var File_extension_specifics_proto protoreflect.FileDescriptor
View Source
var File_favicon_image_specifics_proto protoreflect.FileDescriptor
View Source
var File_favicon_tracking_specifics_proto protoreflect.FileDescriptor
View Source
var File_gaia_password_reuse_proto protoreflect.FileDescriptor
View Source
var File_get_updates_caller_info_proto protoreflect.FileDescriptor
View Source
var File_history_delete_directive_specifics_proto protoreflect.FileDescriptor
View Source
var File_history_status_proto protoreflect.FileDescriptor
View Source
var File_local_trusted_vault_proto protoreflect.FileDescriptor
View Source
var File_loopback_server_proto protoreflect.FileDescriptor
View Source
var File_managed_user_setting_specifics_proto protoreflect.FileDescriptor
View Source
var File_managed_user_shared_setting_specifics_proto protoreflect.FileDescriptor
View Source
var File_managed_user_specifics_proto protoreflect.FileDescriptor
View Source
var File_managed_user_whitelist_specifics_proto protoreflect.FileDescriptor
View Source
var File_model_type_state_proto protoreflect.FileDescriptor
View Source
var File_model_type_store_schema_descriptor_proto protoreflect.FileDescriptor
View Source
var File_nigori_local_data_proto protoreflect.FileDescriptor
View Source
var File_nigori_specifics_proto protoreflect.FileDescriptor
View Source
var File_os_preference_specifics_proto protoreflect.FileDescriptor
View Source
var File_os_priority_preference_specifics_proto protoreflect.FileDescriptor
View Source
var File_password_specifics_proto protoreflect.FileDescriptor
View Source
var File_persisted_entity_data_proto protoreflect.FileDescriptor
View Source
var File_preference_specifics_proto protoreflect.FileDescriptor
View Source
var File_printer_specifics_proto protoreflect.FileDescriptor
View Source
var File_priority_preference_specifics_proto protoreflect.FileDescriptor
View Source
var File_reading_list_specifics_proto protoreflect.FileDescriptor
View Source
var File_search_engine_specifics_proto protoreflect.FileDescriptor
View Source
var File_security_event_specifics_proto protoreflect.FileDescriptor
View Source
var File_send_tab_to_self_specifics_proto protoreflect.FileDescriptor
View Source
var File_session_specifics_proto protoreflect.FileDescriptor
View Source
var File_sharing_message_specifics_proto protoreflect.FileDescriptor
View Source
var File_sync_enums_proto protoreflect.FileDescriptor
View Source
var File_synced_notification_app_info_specifics_proto protoreflect.FileDescriptor
View Source
var File_synced_notification_specifics_proto protoreflect.FileDescriptor
View Source
var File_theme_specifics_proto protoreflect.FileDescriptor
View Source
var File_typed_url_specifics_proto protoreflect.FileDescriptor
View Source
var File_unique_position_proto protoreflect.FileDescriptor
View Source
var File_user_consent_specifics_proto protoreflect.FileDescriptor
View Source
var File_user_consent_types_proto protoreflect.FileDescriptor
View Source
var File_user_event_specifics_proto protoreflect.FileDescriptor
View Source
var File_web_app_specifics_proto protoreflect.FileDescriptor
View Source
var File_wifi_configuration_specifics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AppListSpecifics

type AppListSpecifics struct {

	// Unique identifier for the item:
	// * TYPE_FOLDER: Folder id (generated)
	// * TYPE_APP: App Id
	ItemId   *string                           `protobuf:"bytes,1,opt,name=item_id,json=itemId" json:"item_id,omitempty"`
	ItemType *AppListSpecifics_AppListItemType `protobuf:"varint,2,opt,name=item_type,json=itemType,enum=sync_pb.AppListSpecifics_AppListItemType" json:"item_type,omitempty"`
	// Item name (FOLDER).
	ItemName *string `protobuf:"bytes,3,opt,name=item_name,json=itemName" json:"item_name,omitempty"`
	// Id of the parent (folder) item.
	ParentId *string `protobuf:"bytes,4,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"`
	// Marked OBSOLETE because this is unused for the app list.
	// Which page this item will appear on in the app list.
	//
	// Deprecated: Do not use.
	OBSOLETEPageOrdinal *string `protobuf:"bytes,5,opt,name=OBSOLETE_page_ordinal,json=OBSOLETEPageOrdinal" json:"OBSOLETE_page_ordinal,omitempty"`
	// Where on a page this item will appear.
	ItemOrdinal *string `protobuf:"bytes,6,opt,name=item_ordinal,json=itemOrdinal" json:"item_ordinal,omitempty"`
	// Where on a shelf this item will appear.
	ItemPinOrdinal *string `protobuf:"bytes,7,opt,name=item_pin_ordinal,json=itemPinOrdinal" json:"item_pin_ordinal,omitempty"`
	// contains filtered or unexported fields
}

Properties of app list objects.

func (*AppListSpecifics) Descriptor deprecated

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

Deprecated: Use AppListSpecifics.ProtoReflect.Descriptor instead.

func (*AppListSpecifics) GetItemId

func (x *AppListSpecifics) GetItemId() string

func (*AppListSpecifics) GetItemName

func (x *AppListSpecifics) GetItemName() string

func (*AppListSpecifics) GetItemOrdinal

func (x *AppListSpecifics) GetItemOrdinal() string

func (*AppListSpecifics) GetItemPinOrdinal

func (x *AppListSpecifics) GetItemPinOrdinal() string

func (*AppListSpecifics) GetItemType

func (*AppListSpecifics) GetOBSOLETEPageOrdinal deprecated

func (x *AppListSpecifics) GetOBSOLETEPageOrdinal() string

Deprecated: Do not use.

func (*AppListSpecifics) GetParentId

func (x *AppListSpecifics) GetParentId() string

func (*AppListSpecifics) ProtoMessage

func (*AppListSpecifics) ProtoMessage()

func (*AppListSpecifics) ProtoReflect added in v0.1.3

func (x *AppListSpecifics) ProtoReflect() protoreflect.Message

func (*AppListSpecifics) Reset

func (x *AppListSpecifics) Reset()

func (*AppListSpecifics) String

func (x *AppListSpecifics) String() string

type AppListSpecifics_AppListItemType

type AppListSpecifics_AppListItemType int32

What type of item this is.

const (
	// An app, whether a web app, Android app, etc.
	//
	// For bookmark apps (URL shortcuts), additional information such as their
	// URLs are kept in the AppSpecifics.bookmark_app_foobar fields.
	AppListSpecifics_TYPE_APP AppListSpecifics_AppListItemType = 1
	// A request to remove any matching default installed apps.
	AppListSpecifics_TYPE_REMOVE_DEFAULT_APP AppListSpecifics_AppListItemType = 2
	// A folder containing entries whose |parent_id| matches |item_id|.
	AppListSpecifics_TYPE_FOLDER AppListSpecifics_AppListItemType = 3
	// Obsolete type, intended for URL shortcuts, that was never implemented.
	AppListSpecifics_TYPE_OBSOLETE_URL AppListSpecifics_AppListItemType = 4
	// A "page break" item (Indicate creation of a new page in app list).
	AppListSpecifics_TYPE_PAGE_BREAK AppListSpecifics_AppListItemType = 5
)

func (AppListSpecifics_AppListItemType) Descriptor added in v0.1.3

func (AppListSpecifics_AppListItemType) Enum

func (AppListSpecifics_AppListItemType) EnumDescriptor deprecated

func (AppListSpecifics_AppListItemType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AppListSpecifics_AppListItemType.Descriptor instead.

func (AppListSpecifics_AppListItemType) Number added in v0.1.3

func (AppListSpecifics_AppListItemType) String

func (AppListSpecifics_AppListItemType) Type added in v0.1.3

func (*AppListSpecifics_AppListItemType) UnmarshalJSON deprecated

func (x *AppListSpecifics_AppListItemType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AppNotification

type AppNotification struct {

	// Globally unique id. This is more robust for uniquely identifying each
	// notification and hence gives us flexibility in the future. In absence
	// of this, unique id would be (app_id, creation_timestamp_ms). But that
	// relies on creation_timestamp_ms being high resolution and is not
	// globally unique - only unique for a given user.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// Metadata, not shown directly to the user.
	// The unique App Id, as created by the webstore and used to
	// delegate messages to the applications. This is defined as 32 characters
	AppId *string `protobuf:"bytes,2,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// Timestamp when the message was created in milliseconds.
	// This is seperate from ctime as this is only set by the application.
	CreationTimestampMs *int64 `protobuf:"varint,3,opt,name=creation_timestamp_ms,json=creationTimestampMs" json:"creation_timestamp_ms,omitempty"`
	// Payload - these fields are visible to the user content is defined by the
	// app. The fields are described in:
	// chrome/browser/extensions/app_notification.h
	Title    *string `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	BodyText *string `protobuf:"bytes,5,opt,name=body_text,json=bodyText" json:"body_text,omitempty"`
	LinkUrl  *string `protobuf:"bytes,6,opt,name=link_url,json=linkUrl" json:"link_url,omitempty"`
	LinkText *string `protobuf:"bytes,7,opt,name=link_text,json=linkText" json:"link_text,omitempty"`
	// contains filtered or unexported fields
}

An App Notification, to be delivered from Chrome Apps to the Chrome browser through the Notification API.

func (*AppNotification) Descriptor deprecated

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

Deprecated: Use AppNotification.ProtoReflect.Descriptor instead.

func (*AppNotification) GetAppId

func (x *AppNotification) GetAppId() string

func (*AppNotification) GetBodyText

func (x *AppNotification) GetBodyText() string

func (*AppNotification) GetCreationTimestampMs

func (x *AppNotification) GetCreationTimestampMs() int64

func (*AppNotification) GetGuid

func (x *AppNotification) GetGuid() string

func (*AppNotification) GetLinkText

func (x *AppNotification) GetLinkText() string

func (*AppNotification) GetLinkUrl

func (x *AppNotification) GetLinkUrl() string

func (*AppNotification) GetTitle

func (x *AppNotification) GetTitle() string

func (*AppNotification) ProtoMessage

func (*AppNotification) ProtoMessage()

func (*AppNotification) ProtoReflect added in v0.1.3

func (x *AppNotification) ProtoReflect() protoreflect.Message

func (*AppNotification) Reset

func (x *AppNotification) Reset()

func (*AppNotification) String

func (x *AppNotification) String() string

type AppNotificationSettings

type AppNotificationSettings struct {

	// DEPRECATED: Use oauth_client_id below.
	// Whether or not the user has setup notifications at least once.
	// The value for this field will start out false and will be set
	// to true when the user accepts receiving notifications for the
	// first time and then it will always remain true.
	InitialSetupDone *bool `protobuf:"varint,1,opt,name=initial_setup_done,json=initialSetupDone" json:"initial_setup_done,omitempty"`
	// Whether or not the user has disabled notifications.
	Disabled *bool `protobuf:"varint,2,opt,name=disabled" json:"disabled,omitempty"`
	// OAuth2 client id to which the user granted the notification permission.
	// This field will start out empty.
	// It will be set when the user accepts receiving notifications.
	// This field is used when the user revokes the notifications permission.
	// Note that it is never cleared after it was set once. Hence, the presence
	// of this field can be used to determine if the user has setup notifications
	// at least once for the given app.
	OauthClientId *string `protobuf:"bytes,3,opt,name=oauth_client_id,json=oauthClientId" json:"oauth_client_id,omitempty"`
	// contains filtered or unexported fields
}

Settings related to push notifications for apps.

func (*AppNotificationSettings) Descriptor deprecated

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

Deprecated: Use AppNotificationSettings.ProtoReflect.Descriptor instead.

func (*AppNotificationSettings) GetDisabled

func (x *AppNotificationSettings) GetDisabled() bool

func (*AppNotificationSettings) GetInitialSetupDone

func (x *AppNotificationSettings) GetInitialSetupDone() bool

func (*AppNotificationSettings) GetOauthClientId

func (x *AppNotificationSettings) GetOauthClientId() string

func (*AppNotificationSettings) ProtoMessage

func (*AppNotificationSettings) ProtoMessage()

func (*AppNotificationSettings) ProtoReflect added in v0.1.3

func (x *AppNotificationSettings) ProtoReflect() protoreflect.Message

func (*AppNotificationSettings) Reset

func (x *AppNotificationSettings) Reset()

func (*AppNotificationSettings) String

func (x *AppNotificationSettings) String() string

type AppSettingSpecifics

type AppSettingSpecifics struct {
	ExtensionSetting *ExtensionSettingSpecifics `protobuf:"bytes,1,opt,name=extension_setting,json=extensionSetting" json:"extension_setting,omitempty"`
	// contains filtered or unexported fields
}

Properties of app setting sync objects; just an extension setting.

func (*AppSettingSpecifics) Descriptor deprecated

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

Deprecated: Use AppSettingSpecifics.ProtoReflect.Descriptor instead.

func (*AppSettingSpecifics) GetExtensionSetting

func (x *AppSettingSpecifics) GetExtensionSetting() *ExtensionSettingSpecifics

func (*AppSettingSpecifics) ProtoMessage

func (*AppSettingSpecifics) ProtoMessage()

func (*AppSettingSpecifics) ProtoReflect added in v0.1.3

func (x *AppSettingSpecifics) ProtoReflect() protoreflect.Message

func (*AppSettingSpecifics) Reset

func (x *AppSettingSpecifics) Reset()

func (*AppSettingSpecifics) String

func (x *AppSettingSpecifics) String() string

type AppSpecifics

type AppSpecifics struct {

	// Extension data.
	Extension *ExtensionSpecifics `protobuf:"bytes,1,opt,name=extension" json:"extension,omitempty"`
	// Notification settings.
	NotificationSettings *AppNotificationSettings `protobuf:"bytes,2,opt,name=notification_settings,json=notificationSettings" json:"notification_settings,omitempty"`
	// This controls where on a page this application icon will appear.
	AppLaunchOrdinal *string `protobuf:"bytes,3,opt,name=app_launch_ordinal,json=appLaunchOrdinal" json:"app_launch_ordinal,omitempty"`
	// This specifics which page the application icon will appear on in the NTP.
	// This values only provide the order within the application pages, not within
	// all of the panels in the NTP.
	PageOrdinal *string `protobuf:"bytes,4,opt,name=page_ordinal,json=pageOrdinal" json:"page_ordinal,omitempty"`
	// This describes how the extension should be launched.
	LaunchType *AppSpecifics_LaunchType `protobuf:"varint,5,opt,name=launch_type,json=launchType,enum=sync_pb.AppSpecifics_LaunchType" json:"launch_type,omitempty"`
	// This is the url of a bookmark app. If this exists, the app is a bookmark
	// app.
	BookmarkAppUrl *string `protobuf:"bytes,6,opt,name=bookmark_app_url,json=bookmarkAppUrl" json:"bookmark_app_url,omitempty"`
	// This is the description of a bookmark app.
	BookmarkAppDescription *string `protobuf:"bytes,7,opt,name=bookmark_app_description,json=bookmarkAppDescription" json:"bookmark_app_description,omitempty"`
	// This is the color to use when generating bookmark app icons. The string is
	// in #rrggbb or #rgb syntax, e.g. #d8d8d8.
	BookmarkAppIconColor *string `protobuf:"bytes,8,opt,name=bookmark_app_icon_color,json=bookmarkAppIconColor" json:"bookmark_app_icon_color,omitempty"`
	// This is information about linked icons (that is, icons that are downloaded
	// from outside the app's bundle of files.
	LinkedAppIcons []*LinkedAppIconInfo `protobuf:"bytes,9,rep,name=linked_app_icons,json=linkedAppIcons" json:"linked_app_icons,omitempty"`
	// This is the scope of the bookmark app.
	BookmarkAppScope *string `protobuf:"bytes,10,opt,name=bookmark_app_scope,json=bookmarkAppScope" json:"bookmark_app_scope,omitempty"`
	// This is the SkColor used for the browser frame for this bookmark app.
	BookmarkAppThemeColor *uint32 `protobuf:"varint,11,opt,name=bookmark_app_theme_color,json=bookmarkAppThemeColor" json:"bookmark_app_theme_color,omitempty"`
	// contains filtered or unexported fields
}

Properties of app sync objects.

For now, an app is just an extension. We keep the two data types separate for future-proofing purposes.

func (*AppSpecifics) Descriptor deprecated

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

Deprecated: Use AppSpecifics.ProtoReflect.Descriptor instead.

func (*AppSpecifics) GetAppLaunchOrdinal

func (x *AppSpecifics) GetAppLaunchOrdinal() string

func (*AppSpecifics) GetBookmarkAppDescription

func (x *AppSpecifics) GetBookmarkAppDescription() string

func (*AppSpecifics) GetBookmarkAppIconColor

func (x *AppSpecifics) GetBookmarkAppIconColor() string

func (*AppSpecifics) GetBookmarkAppScope

func (x *AppSpecifics) GetBookmarkAppScope() string

func (*AppSpecifics) GetBookmarkAppThemeColor

func (x *AppSpecifics) GetBookmarkAppThemeColor() uint32

func (*AppSpecifics) GetBookmarkAppUrl

func (x *AppSpecifics) GetBookmarkAppUrl() string

func (*AppSpecifics) GetExtension

func (x *AppSpecifics) GetExtension() *ExtensionSpecifics

func (*AppSpecifics) GetLaunchType

func (x *AppSpecifics) GetLaunchType() AppSpecifics_LaunchType

func (*AppSpecifics) GetLinkedAppIcons

func (x *AppSpecifics) GetLinkedAppIcons() []*LinkedAppIconInfo

func (*AppSpecifics) GetNotificationSettings

func (x *AppSpecifics) GetNotificationSettings() *AppNotificationSettings

func (*AppSpecifics) GetPageOrdinal

func (x *AppSpecifics) GetPageOrdinal() string

func (*AppSpecifics) ProtoMessage

func (*AppSpecifics) ProtoMessage()

func (*AppSpecifics) ProtoReflect added in v0.1.3

func (x *AppSpecifics) ProtoReflect() protoreflect.Message

func (*AppSpecifics) Reset

func (x *AppSpecifics) Reset()

func (*AppSpecifics) String

func (x *AppSpecifics) String() string

type AppSpecifics_LaunchType

type AppSpecifics_LaunchType int32

The possible launch types for an app. This enum should be kept in sync with extensions::LaunchType.

const (
	AppSpecifics_PINNED     AppSpecifics_LaunchType = 0
	AppSpecifics_REGULAR    AppSpecifics_LaunchType = 1
	AppSpecifics_FULLSCREEN AppSpecifics_LaunchType = 2
	AppSpecifics_WINDOW     AppSpecifics_LaunchType = 3
)

func (AppSpecifics_LaunchType) Descriptor added in v0.1.3

func (AppSpecifics_LaunchType) Enum

func (AppSpecifics_LaunchType) EnumDescriptor deprecated

func (AppSpecifics_LaunchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AppSpecifics_LaunchType.Descriptor instead.

func (AppSpecifics_LaunchType) Number added in v0.1.3

func (AppSpecifics_LaunchType) String

func (x AppSpecifics_LaunchType) String() string

func (AppSpecifics_LaunchType) Type added in v0.1.3

func (*AppSpecifics_LaunchType) UnmarshalJSON deprecated

func (x *AppSpecifics_LaunchType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ArcPackageSpecifics

type ArcPackageSpecifics struct {

	// Unique identifier for the item:
	// Android package name.
	PackageName *string `protobuf:"bytes,1,opt,name=package_name,json=packageName" json:"package_name,omitempty"`
	// Android package version.
	PackageVersion *int32 `protobuf:"varint,2,opt,name=package_version,json=packageVersion" json:"package_version,omitempty"`
	// Last Android id generated when Android side backups data.
	LastBackupAndroidId *int64 `protobuf:"varint,3,opt,name=last_backup_android_id,json=lastBackupAndroidId" json:"last_backup_android_id,omitempty"`
	// Last time internal value that Android side backups data.
	LastBackupTime *int64 `protobuf:"varint,4,opt,name=last_backup_time,json=lastBackupTime" json:"last_backup_time,omitempty"`
	// contains filtered or unexported fields
}

Properties of arc package objects.

func (*ArcPackageSpecifics) Descriptor deprecated

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

Deprecated: Use ArcPackageSpecifics.ProtoReflect.Descriptor instead.

func (*ArcPackageSpecifics) GetLastBackupAndroidId

func (x *ArcPackageSpecifics) GetLastBackupAndroidId() int64

func (*ArcPackageSpecifics) GetLastBackupTime

func (x *ArcPackageSpecifics) GetLastBackupTime() int64

func (*ArcPackageSpecifics) GetPackageName

func (x *ArcPackageSpecifics) GetPackageName() string

func (*ArcPackageSpecifics) GetPackageVersion

func (x *ArcPackageSpecifics) GetPackageVersion() int32

func (*ArcPackageSpecifics) ProtoMessage

func (*ArcPackageSpecifics) ProtoMessage()

func (*ArcPackageSpecifics) ProtoReflect added in v0.1.3

func (x *ArcPackageSpecifics) ProtoReflect() protoreflect.Message

func (*ArcPackageSpecifics) Reset

func (x *ArcPackageSpecifics) Reset()

func (*ArcPackageSpecifics) String

func (x *ArcPackageSpecifics) String() string

type AutofillCullingFlags

type AutofillCullingFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Whether this client should cull (delete) expired autofill entries when autofill sync is enabled.

func (*AutofillCullingFlags) Descriptor deprecated

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

Deprecated: Use AutofillCullingFlags.ProtoReflect.Descriptor instead.

func (*AutofillCullingFlags) GetEnabled

func (x *AutofillCullingFlags) GetEnabled() bool

func (*AutofillCullingFlags) ProtoMessage

func (*AutofillCullingFlags) ProtoMessage()

func (*AutofillCullingFlags) ProtoReflect added in v0.1.3

func (x *AutofillCullingFlags) ProtoReflect() protoreflect.Message

func (*AutofillCullingFlags) Reset

func (x *AutofillCullingFlags) Reset()

func (*AutofillCullingFlags) String

func (x *AutofillCullingFlags) String() string

type AutofillProfileSpecifics

type AutofillProfileSpecifics struct {
	Guid     *string `protobuf:"bytes,15,opt,name=guid" json:"guid,omitempty"`
	Origin   *string `protobuf:"bytes,16,opt,name=origin" json:"origin,omitempty"`
	UseCount *int64  `protobuf:"varint,22,opt,name=use_count,json=useCount" json:"use_count,omitempty"`
	// The time_t value of the last time this profile was used. This
	// value makes sense wrt base::Time::To/FromTimeT, which measures
	// from the Windows epoch.
	UseDate *int64 `protobuf:"varint,23,opt,name=use_date,json=useDate" json:"use_date,omitempty"`
	// Contact info.
	NameFirst    []string `protobuf:"bytes,2,rep,name=name_first,json=nameFirst" json:"name_first,omitempty"`
	NameMiddle   []string `protobuf:"bytes,3,rep,name=name_middle,json=nameMiddle" json:"name_middle,omitempty"`
	NameLast     []string `protobuf:"bytes,4,rep,name=name_last,json=nameLast" json:"name_last,omitempty"`
	NameFull     []string `protobuf:"bytes,21,rep,name=name_full,json=nameFull" json:"name_full,omitempty"`
	EmailAddress []string `protobuf:"bytes,5,rep,name=email_address,json=emailAddress" json:"email_address,omitempty"`
	CompanyName  *string  `protobuf:"bytes,6,opt,name=company_name,json=companyName" json:"company_name,omitempty"`
	// Address.
	AddressHomeLine1   *string `protobuf:"bytes,7,opt,name=address_home_line1,json=addressHomeLine1" json:"address_home_line1,omitempty"`
	AddressHomeLine2   *string `protobuf:"bytes,8,opt,name=address_home_line2,json=addressHomeLine2" json:"address_home_line2,omitempty"`
	AddressHomeCity    *string `protobuf:"bytes,9,opt,name=address_home_city,json=addressHomeCity" json:"address_home_city,omitempty"`
	AddressHomeState   *string `protobuf:"bytes,10,opt,name=address_home_state,json=addressHomeState" json:"address_home_state,omitempty"`
	AddressHomeZip     *string `protobuf:"bytes,11,opt,name=address_home_zip,json=addressHomeZip" json:"address_home_zip,omitempty"`
	AddressHomeCountry *string `protobuf:"bytes,12,opt,name=address_home_country,json=addressHomeCountry" json:"address_home_country,omitempty"`
	// Additional address fields for i18n.
	AddressHomeStreetAddress     *string `` /* 131-byte string literal not displayed */
	AddressHomeSortingCode       *string `protobuf:"bytes,18,opt,name=address_home_sorting_code,json=addressHomeSortingCode" json:"address_home_sorting_code,omitempty"`
	AddressHomeDependentLocality *string `` /* 143-byte string literal not displayed */
	AddressHomeLanguageCode      *string `` /* 128-byte string literal not displayed */
	// Phone.
	PhoneHomeWholeNumber []string `protobuf:"bytes,13,rep,name=phone_home_whole_number,json=phoneHomeWholeNumber" json:"phone_home_whole_number,omitempty"`
	// Validity bitfield.
	// Each set of two bits represents the validity state of a specific part of
	// the Autofill address. For more info please refer to autofill_profile.h.
	ValidityStateBitfield *int64 `protobuf:"varint,24,opt,name=validity_state_bitfield,json=validityStateBitfield" json:"validity_state_bitfield,omitempty"`
	// Denotes whether the validity_state_bitfield is updated according to the
	// changes in the autofill profile values.
	IsClientValidityStatesUpdated *bool `` /* 149-byte string literal not displayed */
	// Deprecated.
	//
	// Deprecated: Do not use.
	Label *string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
	// Deprecated: Do not use.
	PhoneFaxWholeNumber *string `protobuf:"bytes,14,opt,name=phone_fax_whole_number,json=phoneFaxWholeNumber" json:"phone_fax_whole_number,omitempty"`
	// contains filtered or unexported fields
}

An AutofillProfile.

func (*AutofillProfileSpecifics) Descriptor deprecated

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

Deprecated: Use AutofillProfileSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillProfileSpecifics) GetAddressHomeCity

func (x *AutofillProfileSpecifics) GetAddressHomeCity() string

func (*AutofillProfileSpecifics) GetAddressHomeCountry

func (x *AutofillProfileSpecifics) GetAddressHomeCountry() string

func (*AutofillProfileSpecifics) GetAddressHomeDependentLocality

func (x *AutofillProfileSpecifics) GetAddressHomeDependentLocality() string

func (*AutofillProfileSpecifics) GetAddressHomeLanguageCode

func (x *AutofillProfileSpecifics) GetAddressHomeLanguageCode() string

func (*AutofillProfileSpecifics) GetAddressHomeLine1

func (x *AutofillProfileSpecifics) GetAddressHomeLine1() string

func (*AutofillProfileSpecifics) GetAddressHomeLine2

func (x *AutofillProfileSpecifics) GetAddressHomeLine2() string

func (*AutofillProfileSpecifics) GetAddressHomeSortingCode

func (x *AutofillProfileSpecifics) GetAddressHomeSortingCode() string

func (*AutofillProfileSpecifics) GetAddressHomeState

func (x *AutofillProfileSpecifics) GetAddressHomeState() string

func (*AutofillProfileSpecifics) GetAddressHomeStreetAddress

func (x *AutofillProfileSpecifics) GetAddressHomeStreetAddress() string

func (*AutofillProfileSpecifics) GetAddressHomeZip

func (x *AutofillProfileSpecifics) GetAddressHomeZip() string

func (*AutofillProfileSpecifics) GetCompanyName

func (x *AutofillProfileSpecifics) GetCompanyName() string

func (*AutofillProfileSpecifics) GetEmailAddress

func (x *AutofillProfileSpecifics) GetEmailAddress() []string

func (*AutofillProfileSpecifics) GetGuid

func (x *AutofillProfileSpecifics) GetGuid() string

func (*AutofillProfileSpecifics) GetIsClientValidityStatesUpdated

func (x *AutofillProfileSpecifics) GetIsClientValidityStatesUpdated() bool

func (*AutofillProfileSpecifics) GetLabel deprecated

func (x *AutofillProfileSpecifics) GetLabel() string

Deprecated: Do not use.

func (*AutofillProfileSpecifics) GetNameFirst

func (x *AutofillProfileSpecifics) GetNameFirst() []string

func (*AutofillProfileSpecifics) GetNameFull

func (x *AutofillProfileSpecifics) GetNameFull() []string

func (*AutofillProfileSpecifics) GetNameLast

func (x *AutofillProfileSpecifics) GetNameLast() []string

func (*AutofillProfileSpecifics) GetNameMiddle

func (x *AutofillProfileSpecifics) GetNameMiddle() []string

func (*AutofillProfileSpecifics) GetOrigin

func (x *AutofillProfileSpecifics) GetOrigin() string

func (*AutofillProfileSpecifics) GetPhoneFaxWholeNumber deprecated

func (x *AutofillProfileSpecifics) GetPhoneFaxWholeNumber() string

Deprecated: Do not use.

func (*AutofillProfileSpecifics) GetPhoneHomeWholeNumber

func (x *AutofillProfileSpecifics) GetPhoneHomeWholeNumber() []string

func (*AutofillProfileSpecifics) GetUseCount

func (x *AutofillProfileSpecifics) GetUseCount() int64

func (*AutofillProfileSpecifics) GetUseDate

func (x *AutofillProfileSpecifics) GetUseDate() int64

func (*AutofillProfileSpecifics) GetValidityStateBitfield

func (x *AutofillProfileSpecifics) GetValidityStateBitfield() int64

func (*AutofillProfileSpecifics) ProtoMessage

func (*AutofillProfileSpecifics) ProtoMessage()

func (*AutofillProfileSpecifics) ProtoReflect added in v0.1.3

func (x *AutofillProfileSpecifics) ProtoReflect() protoreflect.Message

func (*AutofillProfileSpecifics) Reset

func (x *AutofillProfileSpecifics) Reset()

func (*AutofillProfileSpecifics) String

func (x *AutofillProfileSpecifics) String() string

type AutofillSpecifics

type AutofillSpecifics struct {

	// If any of these 3 fields are present, then all 3 should be, and it implies
	// that this entity represents a classic autofill object.  In this case,
	// none of the autofill++ objects below should be present.
	Name           *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value          *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	UsageTimestamp []int64 `protobuf:"varint,3,rep,name=usage_timestamp,json=usageTimestamp" json:"usage_timestamp,omitempty"`
	// An autofill++ profile object.  If present, indicates this entity
	// represents an AutofillProfile exclusively, and no other fields (such as
	// name/value or credit_card) should be present.
	Profile *AutofillProfileSpecifics `protobuf:"bytes,4,opt,name=profile" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*AutofillSpecifics) Descriptor deprecated

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

Deprecated: Use AutofillSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillSpecifics) GetName

func (x *AutofillSpecifics) GetName() string

func (*AutofillSpecifics) GetProfile

func (*AutofillSpecifics) GetUsageTimestamp

func (x *AutofillSpecifics) GetUsageTimestamp() []int64

func (*AutofillSpecifics) GetValue

func (x *AutofillSpecifics) GetValue() string

func (*AutofillSpecifics) ProtoMessage

func (*AutofillSpecifics) ProtoMessage()

func (*AutofillSpecifics) ProtoReflect added in v0.1.3

func (x *AutofillSpecifics) ProtoReflect() protoreflect.Message

func (*AutofillSpecifics) Reset

func (x *AutofillSpecifics) Reset()

func (*AutofillSpecifics) String

func (x *AutofillSpecifics) String() string

type AutofillWalletSpecifics

type AutofillWalletSpecifics struct {
	Type *AutofillWalletSpecifics_WalletInfoType `protobuf:"varint,1,opt,name=type,enum=sync_pb.AutofillWalletSpecifics_WalletInfoType" json:"type,omitempty"`
	// This field exists if and only if the "type" field equals to
	// MASKED_CREDIT_CARD.
	MaskedCard *WalletMaskedCreditCard `protobuf:"bytes,2,opt,name=masked_card,json=maskedCard" json:"masked_card,omitempty"`
	// This field exists if and only if the "type" field equals to ADDRESS.
	Address *WalletPostalAddress `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
	// This field exists if and only if the "type" field equals to CUSTOMER_DATA.
	CustomerData *PaymentsCustomerData `protobuf:"bytes,4,opt,name=customer_data,json=customerData" json:"customer_data,omitempty"`
	// This field exists if and only if the "type" field equals to
	// CREDIT_CARD_CLOUD_TOKEN_DATA.
	CloudTokenData *WalletCreditCardCloudTokenData `protobuf:"bytes,5,opt,name=cloud_token_data,json=cloudTokenData" json:"cloud_token_data,omitempty"`
	// contains filtered or unexported fields
}

func (*AutofillWalletSpecifics) Descriptor deprecated

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

Deprecated: Use AutofillWalletSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillWalletSpecifics) GetAddress

func (*AutofillWalletSpecifics) GetCloudTokenData

func (*AutofillWalletSpecifics) GetCustomerData

func (x *AutofillWalletSpecifics) GetCustomerData() *PaymentsCustomerData

func (*AutofillWalletSpecifics) GetMaskedCard

func (x *AutofillWalletSpecifics) GetMaskedCard() *WalletMaskedCreditCard

func (*AutofillWalletSpecifics) GetType

func (*AutofillWalletSpecifics) ProtoMessage

func (*AutofillWalletSpecifics) ProtoMessage()

func (*AutofillWalletSpecifics) ProtoReflect added in v0.1.3

func (x *AutofillWalletSpecifics) ProtoReflect() protoreflect.Message

func (*AutofillWalletSpecifics) Reset

func (x *AutofillWalletSpecifics) Reset()

func (*AutofillWalletSpecifics) String

func (x *AutofillWalletSpecifics) String() string

type AutofillWalletSpecifics_WalletInfoType

type AutofillWalletSpecifics_WalletInfoType int32
const (
	AutofillWalletSpecifics_UNKNOWN                      AutofillWalletSpecifics_WalletInfoType = 0
	AutofillWalletSpecifics_MASKED_CREDIT_CARD           AutofillWalletSpecifics_WalletInfoType = 1
	AutofillWalletSpecifics_POSTAL_ADDRESS               AutofillWalletSpecifics_WalletInfoType = 2
	AutofillWalletSpecifics_CUSTOMER_DATA                AutofillWalletSpecifics_WalletInfoType = 3
	AutofillWalletSpecifics_CREDIT_CARD_CLOUD_TOKEN_DATA AutofillWalletSpecifics_WalletInfoType = 4
)

func (AutofillWalletSpecifics_WalletInfoType) Descriptor added in v0.1.3

func (AutofillWalletSpecifics_WalletInfoType) Enum

func (AutofillWalletSpecifics_WalletInfoType) EnumDescriptor deprecated

func (AutofillWalletSpecifics_WalletInfoType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutofillWalletSpecifics_WalletInfoType.Descriptor instead.

func (AutofillWalletSpecifics_WalletInfoType) Number added in v0.1.3

func (AutofillWalletSpecifics_WalletInfoType) String

func (AutofillWalletSpecifics_WalletInfoType) Type added in v0.1.3

func (*AutofillWalletSpecifics_WalletInfoType) UnmarshalJSON deprecated

func (x *AutofillWalletSpecifics_WalletInfoType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BookmarkMetadata

type BookmarkMetadata struct {

	// Bookmark local id.
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Bookmarks sync metadata.
	Metadata *EntityMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Corresponds to a single bookmark id/metadata pair.

func (*BookmarkMetadata) Descriptor deprecated

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

Deprecated: Use BookmarkMetadata.ProtoReflect.Descriptor instead.

func (*BookmarkMetadata) GetId

func (x *BookmarkMetadata) GetId() int64

func (*BookmarkMetadata) GetMetadata

func (x *BookmarkMetadata) GetMetadata() *EntityMetadata

func (*BookmarkMetadata) ProtoMessage

func (*BookmarkMetadata) ProtoMessage()

func (*BookmarkMetadata) ProtoReflect added in v0.1.3

func (x *BookmarkMetadata) ProtoReflect() protoreflect.Message

func (*BookmarkMetadata) Reset

func (x *BookmarkMetadata) Reset()

func (*BookmarkMetadata) String

func (x *BookmarkMetadata) String() string

type BookmarkModelMetadata

type BookmarkModelMetadata struct {

	// Bookmark global metadata.
	ModelTypeState *ModelTypeState `protobuf:"bytes,1,opt,name=model_type_state,json=modelTypeState" json:"model_type_state,omitempty"`
	// A set of all bookmarks metadata.
	BookmarksMetadata []*BookmarkMetadata `protobuf:"bytes,2,rep,name=bookmarks_metadata,json=bookmarksMetadata" json:"bookmarks_metadata,omitempty"`
	// Indicates whether the reupload of bookmarks has been triggered such that
	// they include the full title, which means that their sequence number has
	// been increased (independently of whether the commit has succeeded or even
	// started).
	// TODO(crbug.com/1066962): remove this code when most of bookmarks are
	// reuploaded.
	BookmarksFullTitleReuploaded *bool `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Sync proto to carry the sync metadata for the bookmarks model. It is used for persisting and loading sync metadata from disk.

func (*BookmarkModelMetadata) Descriptor deprecated

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

Deprecated: Use BookmarkModelMetadata.ProtoReflect.Descriptor instead.

func (*BookmarkModelMetadata) GetBookmarksFullTitleReuploaded

func (x *BookmarkModelMetadata) GetBookmarksFullTitleReuploaded() bool

func (*BookmarkModelMetadata) GetBookmarksMetadata

func (x *BookmarkModelMetadata) GetBookmarksMetadata() []*BookmarkMetadata

func (*BookmarkModelMetadata) GetModelTypeState

func (x *BookmarkModelMetadata) GetModelTypeState() *ModelTypeState

func (*BookmarkModelMetadata) ProtoMessage

func (*BookmarkModelMetadata) ProtoMessage()

func (*BookmarkModelMetadata) ProtoReflect added in v0.1.3

func (x *BookmarkModelMetadata) ProtoReflect() protoreflect.Message

func (*BookmarkModelMetadata) Reset

func (x *BookmarkModelMetadata) Reset()

func (*BookmarkModelMetadata) String

func (x *BookmarkModelMetadata) String() string

type BookmarkSpecifics

type BookmarkSpecifics struct {
	Url     *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	Favicon []byte  `protobuf:"bytes,2,opt,name=favicon" json:"favicon,omitempty"`
	// Contains legacy title which is truncated and may contain escaped symbols.
	LegacyCanonicalizedTitle *string `` /* 128-byte string literal not displayed */
	// Corresponds to BookmarkNode::date_added() represented as microseconds since
	// the Windows epoch.
	CreationTimeUs *int64      `protobuf:"varint,4,opt,name=creation_time_us,json=creationTimeUs" json:"creation_time_us,omitempty"`
	IconUrl        *string     `protobuf:"bytes,5,opt,name=icon_url,json=iconUrl" json:"icon_url,omitempty"`
	MetaInfo       []*MetaInfo `protobuf:"bytes,6,rep,name=meta_info,json=metaInfo" json:"meta_info,omitempty"`
	// Introduced in M81, it represents a globally unique and immutable ID.
	//
	// If present, it must be the same as originator_client_item_id in lowercase,
	// unless originator client item ID is not a valid GUID. In such cases (which
	// is the case for bookmarks created before 2015), this GUID must match the
	// value inferred from the combination of originator cache GUID and
	// originator client item ID, see InferGuidForLegacyBookmark().
	//
	// If not present, the value can be safely inferred using the very same
	// methods listed above.
	Guid *string `protobuf:"bytes,10,opt,name=guid" json:"guid,omitempty"`
	// Contains full title as is. |legacy_canonicalized_title| is a prefix of
	// |full_title| with escaped symbols.
	FullTitle *string `protobuf:"bytes,11,opt,name=full_title,json=fullTitle" json:"full_title,omitempty"`
	// contains filtered or unexported fields
}

Properties of bookmark sync objects.

func (*BookmarkSpecifics) Descriptor deprecated

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

Deprecated: Use BookmarkSpecifics.ProtoReflect.Descriptor instead.

func (*BookmarkSpecifics) GetCreationTimeUs

func (x *BookmarkSpecifics) GetCreationTimeUs() int64

func (*BookmarkSpecifics) GetFavicon

func (x *BookmarkSpecifics) GetFavicon() []byte

func (*BookmarkSpecifics) GetFullTitle

func (x *BookmarkSpecifics) GetFullTitle() string

func (*BookmarkSpecifics) GetGuid

func (x *BookmarkSpecifics) GetGuid() string

func (*BookmarkSpecifics) GetIconUrl

func (x *BookmarkSpecifics) GetIconUrl() string

func (*BookmarkSpecifics) GetLegacyCanonicalizedTitle

func (x *BookmarkSpecifics) GetLegacyCanonicalizedTitle() string

func (*BookmarkSpecifics) GetMetaInfo

func (x *BookmarkSpecifics) GetMetaInfo() []*MetaInfo

func (*BookmarkSpecifics) GetUrl

func (x *BookmarkSpecifics) GetUrl() string

func (*BookmarkSpecifics) ProtoMessage

func (*BookmarkSpecifics) ProtoMessage()

func (*BookmarkSpecifics) ProtoReflect added in v0.1.3

func (x *BookmarkSpecifics) ProtoReflect() protoreflect.Message

func (*BookmarkSpecifics) Reset

func (x *BookmarkSpecifics) Reset()

func (*BookmarkSpecifics) String

func (x *BookmarkSpecifics) String() string

type CardIssuer

type CardIssuer struct {
	Issuer *CardIssuer_Issuer `protobuf:"varint,1,opt,name=issuer,enum=sync_pb.CardIssuer_Issuer" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*CardIssuer) Descriptor deprecated

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

Deprecated: Use CardIssuer.ProtoReflect.Descriptor instead.

func (*CardIssuer) GetIssuer

func (x *CardIssuer) GetIssuer() CardIssuer_Issuer

func (*CardIssuer) ProtoMessage

func (*CardIssuer) ProtoMessage()

func (*CardIssuer) ProtoReflect added in v0.1.3

func (x *CardIssuer) ProtoReflect() protoreflect.Message

func (*CardIssuer) Reset

func (x *CardIssuer) Reset()

func (*CardIssuer) String

func (x *CardIssuer) String() string

type CardIssuer_Issuer

type CardIssuer_Issuer int32
const (
	CardIssuer_ISSUER_UNKNOWN CardIssuer_Issuer = 0
	// Card where the issuer is Google.
	CardIssuer_GOOGLE CardIssuer_Issuer = 1
)

func (CardIssuer_Issuer) Descriptor added in v0.1.3

func (CardIssuer_Issuer) Enum

func (CardIssuer_Issuer) EnumDescriptor deprecated

func (CardIssuer_Issuer) EnumDescriptor() ([]byte, []int)

Deprecated: Use CardIssuer_Issuer.Descriptor instead.

func (CardIssuer_Issuer) Number added in v0.1.3

func (CardIssuer_Issuer) String

func (x CardIssuer_Issuer) String() string

func (CardIssuer_Issuer) Type added in v0.1.3

func (*CardIssuer_Issuer) UnmarshalJSON deprecated

func (x *CardIssuer_Issuer) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ChipBag

type ChipBag struct {

	// Server chips are deliberately oqaque, allowing the server
	// to encapsulate its state machine logic.
	ServerChips []byte `protobuf:"bytes,1,opt,name=server_chips,json=serverChips" json:"server_chips,omitempty"`
	// contains filtered or unexported fields
}

The client must preserve, store, and resend the chip bag with every request. The server depends on the chip bag in order to precisely choreograph a client-server state machines.

Because the client stores and sends this data on every request, the contents of the chip bag should be kept relatively small.

If the server does not return a chip bag, the client must assume that there has been no change to the chip bag. The client must resend the bag of chips it had prior on the next request.

The client must make the chip bag durable if and only if it processes the response from the server.

func (*ChipBag) Descriptor deprecated

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

Deprecated: Use ChipBag.ProtoReflect.Descriptor instead.

func (*ChipBag) GetServerChips

func (x *ChipBag) GetServerChips() []byte

func (*ChipBag) ProtoMessage

func (*ChipBag) ProtoMessage()

func (*ChipBag) ProtoReflect added in v0.1.3

func (x *ChipBag) ProtoReflect() protoreflect.Message

func (*ChipBag) Reset

func (x *ChipBag) Reset()

func (*ChipBag) String

func (x *ChipBag) String() string

type ChromiumExtensionsActivity

type ChromiumExtensionsActivity struct {

	// The human-readable ID identifying the extension responsible
	// for the traffic reported in this ChromiumExtensionsActivity.
	ExtensionId *string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId" json:"extension_id,omitempty"`
	// How many times the extension successfully invoked a write
	// operation through the bookmarks API since the last CommitMessage.
	BookmarkWritesSinceLastCommit *uint32 `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

This message contains diagnostic information used to correlate commit-related traffic with extensions-related mutations to the data models in chromium. It plays no functional role in processing this CommitMessage.

func (*ChromiumExtensionsActivity) Descriptor deprecated

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

Deprecated: Use ChromiumExtensionsActivity.ProtoReflect.Descriptor instead.

func (*ChromiumExtensionsActivity) GetBookmarkWritesSinceLastCommit

func (x *ChromiumExtensionsActivity) GetBookmarkWritesSinceLastCommit() uint32

func (*ChromiumExtensionsActivity) GetExtensionId

func (x *ChromiumExtensionsActivity) GetExtensionId() string

func (*ChromiumExtensionsActivity) ProtoMessage

func (*ChromiumExtensionsActivity) ProtoMessage()

func (*ChromiumExtensionsActivity) ProtoReflect added in v0.1.3

func (*ChromiumExtensionsActivity) Reset

func (x *ChromiumExtensionsActivity) Reset()

func (*ChromiumExtensionsActivity) String

func (x *ChromiumExtensionsActivity) String() string

type ClearServerDataMessage

type ClearServerDataMessage struct {
	// contains filtered or unexported fields
}

Message from a client asking the server to clear its data.

func (*ClearServerDataMessage) Descriptor deprecated

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

Deprecated: Use ClearServerDataMessage.ProtoReflect.Descriptor instead.

func (*ClearServerDataMessage) ProtoMessage

func (*ClearServerDataMessage) ProtoMessage()

func (*ClearServerDataMessage) ProtoReflect added in v0.1.3

func (x *ClearServerDataMessage) ProtoReflect() protoreflect.Message

func (*ClearServerDataMessage) Reset

func (x *ClearServerDataMessage) Reset()

func (*ClearServerDataMessage) String

func (x *ClearServerDataMessage) String() string

type ClearServerDataResponse

type ClearServerDataResponse struct {
	// contains filtered or unexported fields
}

Response to a ClearServerData request.

func (*ClearServerDataResponse) Descriptor deprecated

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

Deprecated: Use ClearServerDataResponse.ProtoReflect.Descriptor instead.

func (*ClearServerDataResponse) ProtoMessage

func (*ClearServerDataResponse) ProtoMessage()

func (*ClearServerDataResponse) ProtoReflect added in v0.1.3

func (x *ClearServerDataResponse) ProtoReflect() protoreflect.Message

func (*ClearServerDataResponse) Reset

func (x *ClearServerDataResponse) Reset()

func (*ClearServerDataResponse) String

func (x *ClearServerDataResponse) String() string

type ClientCommand

type ClientCommand struct {

	// Time to wait before sending any requests to the server.
	SetSyncPollInterval *int32 `protobuf:"varint,1,opt,name=set_sync_poll_interval,json=setSyncPollInterval" json:"set_sync_poll_interval,omitempty"` // in seconds
	// This has been deprecated since M75.
	//
	// Deprecated: Do not use.
	SetSyncLongPollInterval *int32 `` /* 130-byte string literal not displayed */
	MaxCommitBatchSize      *int32 `protobuf:"varint,3,opt,name=max_commit_batch_size,json=maxCommitBatchSize" json:"max_commit_batch_size,omitempty"`
	// Number of seconds to delay between a sessions action and sending a commit
	// message to the server. Can be overridden by |custom_nudge_delays|.
	SessionsCommitDelaySeconds *int32 `` /* 137-byte string literal not displayed */
	// Number of seconds to delay before the throttled client should retry.
	ThrottleDelaySeconds *int32 `protobuf:"varint,5,opt,name=throttle_delay_seconds,json=throttleDelaySeconds" json:"throttle_delay_seconds,omitempty"`
	// Maximum number of local nudges to buffer per-type.
	ClientInvalidationHintBufferSize *int32 `` /* 157-byte string literal not displayed */
	// Time to wait before issuing a retry GU.
	GuRetryDelaySeconds *int32 `protobuf:"varint,7,opt,name=gu_retry_delay_seconds,json=guRetryDelaySeconds" json:"gu_retry_delay_seconds,omitempty"`
	// A dictionary of custom nudge delays.
	// Note: if a SESSIONS value is present, this will override
	// |sessions_commit_delay_seconds|
	// New in M39.
	CustomNudgeDelays []*CustomNudgeDelay `protobuf:"bytes,8,rep,name=custom_nudge_delays,json=customNudgeDelays" json:"custom_nudge_delays,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientCommand) Descriptor deprecated

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

Deprecated: Use ClientCommand.ProtoReflect.Descriptor instead.

func (*ClientCommand) GetClientInvalidationHintBufferSize

func (x *ClientCommand) GetClientInvalidationHintBufferSize() int32

func (*ClientCommand) GetCustomNudgeDelays

func (x *ClientCommand) GetCustomNudgeDelays() []*CustomNudgeDelay

func (*ClientCommand) GetGuRetryDelaySeconds

func (x *ClientCommand) GetGuRetryDelaySeconds() int32

func (*ClientCommand) GetMaxCommitBatchSize

func (x *ClientCommand) GetMaxCommitBatchSize() int32

func (*ClientCommand) GetSessionsCommitDelaySeconds

func (x *ClientCommand) GetSessionsCommitDelaySeconds() int32

func (*ClientCommand) GetSetSyncLongPollInterval deprecated

func (x *ClientCommand) GetSetSyncLongPollInterval() int32

Deprecated: Do not use.

func (*ClientCommand) GetSetSyncPollInterval

func (x *ClientCommand) GetSetSyncPollInterval() int32

func (*ClientCommand) GetThrottleDelaySeconds

func (x *ClientCommand) GetThrottleDelaySeconds() int32

func (*ClientCommand) ProtoMessage

func (*ClientCommand) ProtoMessage()

func (*ClientCommand) ProtoReflect added in v0.1.3

func (x *ClientCommand) ProtoReflect() protoreflect.Message

func (*ClientCommand) Reset

func (x *ClientCommand) Reset()

func (*ClientCommand) String

func (x *ClientCommand) String() string

type ClientConfigParams

type ClientConfigParams struct {

	// The set of data types this client has enabled. Note that this does not
	// include proxy types, as they do not have protocol field numbers and are
	// placeholder types that implicitly enable protocol types.
	EnabledTypeIds []int32 `protobuf:"varint,1,rep,name=enabled_type_ids,json=enabledTypeIds" json:"enabled_type_ids,omitempty"`
	// Whether the PROXY_TABS proxy datatype is enabled on this client.
	TabsDatatypeEnabled *bool `protobuf:"varint,2,opt,name=tabs_datatype_enabled,json=tabsDatatypeEnabled" json:"tabs_datatype_enabled,omitempty"`
	// Whether the account(s) present in the content area's cookie jar match the
	// chrome account. If multiple accounts are present in the cookie jar, a
	// mismatch implies all of them are different from the chrome account.
	CookieJarMismatch *bool `protobuf:"varint,3,opt,name=cookie_jar_mismatch,json=cookieJarMismatch" json:"cookie_jar_mismatch,omitempty"`
	// contains filtered or unexported fields
}

Client specific configuration information.

func (*ClientConfigParams) Descriptor deprecated

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

Deprecated: Use ClientConfigParams.ProtoReflect.Descriptor instead.

func (*ClientConfigParams) GetCookieJarMismatch

func (x *ClientConfigParams) GetCookieJarMismatch() bool

func (*ClientConfigParams) GetEnabledTypeIds

func (x *ClientConfigParams) GetEnabledTypeIds() []int32

func (*ClientConfigParams) GetTabsDatatypeEnabled

func (x *ClientConfigParams) GetTabsDatatypeEnabled() bool

func (*ClientConfigParams) ProtoMessage

func (*ClientConfigParams) ProtoMessage()

func (*ClientConfigParams) ProtoReflect added in v0.1.3

func (x *ClientConfigParams) ProtoReflect() protoreflect.Message

func (*ClientConfigParams) Reset

func (x *ClientConfigParams) Reset()

func (*ClientConfigParams) String

func (x *ClientConfigParams) String() string

type ClientStatus

type ClientStatus struct {

	// Flag to indicate if the client has detected hierarchy conflcits.  The flag
	// is left unset if update application has not been attempted yet.
	//
	// The server should attempt to resolve any hierarchy conflicts when this flag
	// is set.  The client may not assume that any particular action will be
	// taken.  There is no guarantee the problem will be addressed in a reasonable
	// amount of time.
	HierarchyConflictDetected *bool `` /* 132-byte string literal not displayed */
	// Whether the client has full sync (or, sync the feature) enabled or not.
	IsSyncFeatureEnabled *bool `protobuf:"varint,2,opt,name=is_sync_feature_enabled,json=isSyncFeatureEnabled" json:"is_sync_feature_enabled,omitempty"`
	// contains filtered or unexported fields
}

Information about the syncer's state.

func (*ClientStatus) Descriptor deprecated

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

Deprecated: Use ClientStatus.ProtoReflect.Descriptor instead.

func (*ClientStatus) GetHierarchyConflictDetected

func (x *ClientStatus) GetHierarchyConflictDetected() bool

func (*ClientStatus) GetIsSyncFeatureEnabled

func (x *ClientStatus) GetIsSyncFeatureEnabled() bool

func (*ClientStatus) ProtoMessage

func (*ClientStatus) ProtoMessage()

func (*ClientStatus) ProtoReflect added in v0.1.3

func (x *ClientStatus) ProtoReflect() protoreflect.Message

func (*ClientStatus) Reset

func (x *ClientStatus) Reset()

func (*ClientStatus) String

func (x *ClientStatus) String() string

type ClientToServerMessage

type ClientToServerMessage struct {

	// |share| field is only used on the server for logging and can sometimes
	// contain empty string. It is still useful for logging username when it can't
	// be derived from access token in case of auth error.
	Share           *string `protobuf:"bytes,1,req,name=share" json:"share,omitempty"`
	ProtocolVersion *int32  `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,def=52" json:"protocol_version,omitempty"`
	// Each ClientToServerMessage contains one request defined by the
	// message_contents. Each type has a corresponding message field that will be
	// present iff the message is of that type. E.g. a commit message will have a
	// message_contents of COMMIT and its commit field will be present.
	MessageContents *ClientToServerMessage_Contents `` /* 144-byte string literal not displayed */
	Commit          *CommitMessage                  `protobuf:"bytes,4,opt,name=commit" json:"commit,omitempty"`
	GetUpdates      *GetUpdatesMessage              `protobuf:"bytes,5,opt,name=get_updates,json=getUpdates" json:"get_updates,omitempty"`
	StoreBirthday   *string                         `protobuf:"bytes,7,opt,name=store_birthday,json=storeBirthday" json:"store_birthday,omitempty"` // Opaque store ID; if it changes, duck!
	// The client sets this if it detects a sync issue. The server will tell it
	// if it should perform a refresh.
	SyncProblemDetected *bool `protobuf:"varint,8,opt,name=sync_problem_detected,json=syncProblemDetected,def=0" json:"sync_problem_detected,omitempty"`
	// Client side state information for debugging purpose.
	// This is only sent on the first getupdates of every sync cycle,
	// as an optimization to save bandwidth.
	DebugInfo *DebugInfo `protobuf:"bytes,10,opt,name=debug_info,json=debugInfo" json:"debug_info,omitempty"`
	// Per-client state for use by the server. Sent with every message sent to the
	// server.
	BagOfChips *ChipBag `protobuf:"bytes,11,opt,name=bag_of_chips,json=bagOfChips" json:"bag_of_chips,omitempty"`
	// Google API key.
	ApiKey *string `protobuf:"bytes,12,opt,name=api_key,json=apiKey" json:"api_key,omitempty"`
	// Client's self-reported state.
	// The client should set this on every message sent to the server, though its
	// member fields may often be unset.
	ClientStatus *ClientStatus `protobuf:"bytes,13,opt,name=client_status,json=clientStatus" json:"client_status,omitempty"`
	// The ID that our invalidation client used to identify itself to the server.
	// Sending the ID here allows the server to not send notifications of our own
	// changes to our invalidator.
	InvalidatorClientId *string `protobuf:"bytes,14,opt,name=invalidator_client_id,json=invalidatorClientId" json:"invalidator_client_id,omitempty"`
	// Identifies this ClientToServerMessage as a clear server data request. This
	// field is present when message_contents is CLEAR_SERVER_DATA.
	ClearServerData *ClearServerDataMessage `protobuf:"bytes,15,opt,name=clear_server_data,json=clearServerData" json:"clear_server_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientToServerMessage) Descriptor deprecated

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

Deprecated: Use ClientToServerMessage.ProtoReflect.Descriptor instead.

func (*ClientToServerMessage) GetApiKey

func (x *ClientToServerMessage) GetApiKey() string

func (*ClientToServerMessage) GetBagOfChips

func (x *ClientToServerMessage) GetBagOfChips() *ChipBag

func (*ClientToServerMessage) GetClearServerData

func (x *ClientToServerMessage) GetClearServerData() *ClearServerDataMessage

func (*ClientToServerMessage) GetClientStatus

func (x *ClientToServerMessage) GetClientStatus() *ClientStatus

func (*ClientToServerMessage) GetCommit

func (x *ClientToServerMessage) GetCommit() *CommitMessage

func (*ClientToServerMessage) GetDebugInfo

func (x *ClientToServerMessage) GetDebugInfo() *DebugInfo

func (*ClientToServerMessage) GetGetUpdates

func (x *ClientToServerMessage) GetGetUpdates() *GetUpdatesMessage

func (*ClientToServerMessage) GetInvalidatorClientId

func (x *ClientToServerMessage) GetInvalidatorClientId() string

func (*ClientToServerMessage) GetMessageContents

func (x *ClientToServerMessage) GetMessageContents() ClientToServerMessage_Contents

func (*ClientToServerMessage) GetProtocolVersion

func (x *ClientToServerMessage) GetProtocolVersion() int32

func (*ClientToServerMessage) GetShare

func (x *ClientToServerMessage) GetShare() string

func (*ClientToServerMessage) GetStoreBirthday

func (x *ClientToServerMessage) GetStoreBirthday() string

func (*ClientToServerMessage) GetSyncProblemDetected

func (x *ClientToServerMessage) GetSyncProblemDetected() bool

func (*ClientToServerMessage) ProtoMessage

func (*ClientToServerMessage) ProtoMessage()

func (*ClientToServerMessage) ProtoReflect added in v0.1.3

func (x *ClientToServerMessage) ProtoReflect() protoreflect.Message

func (*ClientToServerMessage) Reset

func (x *ClientToServerMessage) Reset()

func (*ClientToServerMessage) String

func (x *ClientToServerMessage) String() string

type ClientToServerMessage_Contents

type ClientToServerMessage_Contents int32
const (
	ClientToServerMessage_COMMIT            ClientToServerMessage_Contents = 1
	ClientToServerMessage_GET_UPDATES       ClientToServerMessage_Contents = 2
	ClientToServerMessage_DEPRECATED_3      ClientToServerMessage_Contents = 3
	ClientToServerMessage_DEPRECATED_4      ClientToServerMessage_Contents = 4
	ClientToServerMessage_CLEAR_SERVER_DATA ClientToServerMessage_Contents = 5
)

func (ClientToServerMessage_Contents) Descriptor added in v0.1.3

func (ClientToServerMessage_Contents) Enum

func (ClientToServerMessage_Contents) EnumDescriptor deprecated

func (ClientToServerMessage_Contents) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientToServerMessage_Contents.Descriptor instead.

func (ClientToServerMessage_Contents) Number added in v0.1.3

func (ClientToServerMessage_Contents) String

func (ClientToServerMessage_Contents) Type added in v0.1.3

func (*ClientToServerMessage_Contents) UnmarshalJSON deprecated

func (x *ClientToServerMessage_Contents) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ClientToServerResponse

type ClientToServerResponse struct {
	Commit     *CommitResponse     `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
	GetUpdates *GetUpdatesResponse `protobuf:"bytes,2,opt,name=get_updates,json=getUpdates" json:"get_updates,omitempty"`
	// Up until protocol_version 24, the default was SUCCESS which made it
	// impossible to add new enum values since older clients would parse any
	// out-of-range value as SUCCESS. Starting with 25, unless explicitly set,
	// the error_code will be UNKNOWN so that clients know when they're
	// out-of-date. Note also that when using protocol_version < 25,
	// TRANSIENT_ERROR is not supported. Instead, the server sends back a HTTP
	// 400 error code. This is deprecated now.
	ErrorCode    *SyncEnums_ErrorType `protobuf:"varint,4,opt,name=error_code,json=errorCode,enum=sync_pb.SyncEnums_ErrorType,def=100" json:"error_code,omitempty"`
	ErrorMessage *string              `protobuf:"bytes,5,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// Opaque store ID; if it changes, the contents of the client's cache
	// is meaningless to this server.  This happens most typically when
	// you switch from one storage backend instance (say, a test instance)
	// to another (say, the official instance).
	StoreBirthday *string        `protobuf:"bytes,6,opt,name=store_birthday,json=storeBirthday" json:"store_birthday,omitempty"`
	ClientCommand *ClientCommand `protobuf:"bytes,7,opt,name=client_command,json=clientCommand" json:"client_command,omitempty"`
	ProfilingData *ProfilingData `protobuf:"bytes,8,opt,name=profiling_data,json=profilingData" json:"profiling_data,omitempty"`
	// The data types whose storage has been migrated.  Present when the value of
	// error_code is MIGRATION_DONE.
	MigratedDataTypeId []int32                       `protobuf:"varint,12,rep,name=migrated_data_type_id,json=migratedDataTypeId" json:"migrated_data_type_id,omitempty"`
	Error              *ClientToServerResponse_Error `protobuf:"bytes,13,opt,name=error" json:"error,omitempty"`
	// The new per-client state for this client. If set, should be persisted and
	// sent with any subsequent ClientToServerMessages.
	NewBagOfChips *ChipBag `protobuf:"bytes,14,opt,name=new_bag_of_chips,json=newBagOfChips" json:"new_bag_of_chips,omitempty"`
	// Present if this ClientToServerResponse is in response to a ClearServerData
	// request.
	ClearServerData *ClearServerDataResponse `protobuf:"bytes,15,opt,name=clear_server_data,json=clearServerData" json:"clear_server_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientToServerResponse) Descriptor deprecated

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

Deprecated: Use ClientToServerResponse.ProtoReflect.Descriptor instead.

func (*ClientToServerResponse) GetClearServerData

func (x *ClientToServerResponse) GetClearServerData() *ClearServerDataResponse

func (*ClientToServerResponse) GetClientCommand

func (x *ClientToServerResponse) GetClientCommand() *ClientCommand

func (*ClientToServerResponse) GetCommit

func (x *ClientToServerResponse) GetCommit() *CommitResponse

func (*ClientToServerResponse) GetError

func (*ClientToServerResponse) GetErrorCode

func (x *ClientToServerResponse) GetErrorCode() SyncEnums_ErrorType

func (*ClientToServerResponse) GetErrorMessage

func (x *ClientToServerResponse) GetErrorMessage() string

func (*ClientToServerResponse) GetGetUpdates

func (x *ClientToServerResponse) GetGetUpdates() *GetUpdatesResponse

func (*ClientToServerResponse) GetMigratedDataTypeId

func (x *ClientToServerResponse) GetMigratedDataTypeId() []int32

func (*ClientToServerResponse) GetNewBagOfChips

func (x *ClientToServerResponse) GetNewBagOfChips() *ChipBag

func (*ClientToServerResponse) GetProfilingData

func (x *ClientToServerResponse) GetProfilingData() *ProfilingData

func (*ClientToServerResponse) GetStoreBirthday

func (x *ClientToServerResponse) GetStoreBirthday() string

func (*ClientToServerResponse) ProtoMessage

func (*ClientToServerResponse) ProtoMessage()

func (*ClientToServerResponse) ProtoReflect added in v0.1.3

func (x *ClientToServerResponse) ProtoReflect() protoreflect.Message

func (*ClientToServerResponse) Reset

func (x *ClientToServerResponse) Reset()

func (*ClientToServerResponse) String

func (x *ClientToServerResponse) String() string

type ClientToServerResponse_Error

type ClientToServerResponse_Error struct {
	ErrorType        *SyncEnums_ErrorType `protobuf:"varint,1,opt,name=error_type,json=errorType,enum=sync_pb.SyncEnums_ErrorType,def=100" json:"error_type,omitempty"`
	ErrorDescription *string              `protobuf:"bytes,2,opt,name=error_description,json=errorDescription" json:"error_description,omitempty"`
	Url              *string              `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	Action           *SyncEnums_Action    `protobuf:"varint,4,opt,name=action,enum=sync_pb.SyncEnums_Action,def=5" json:"action,omitempty"`
	// Currently meaningful if |error_type| is throttled or partial_failure.
	// In the throttled case, if this field is absent then the whole client
	// (all datatypes) is throttled.
	// In the partial_failure case, this field denotes partial failures. The
	// client should retry those datatypes with exponential backoff.
	ErrorDataTypeIds []int32 `protobuf:"varint,5,rep,name=error_data_type_ids,json=errorDataTypeIds" json:"error_data_type_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientToServerResponse_Error) Descriptor deprecated

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

Deprecated: Use ClientToServerResponse_Error.ProtoReflect.Descriptor instead.

func (*ClientToServerResponse_Error) GetAction

func (*ClientToServerResponse_Error) GetErrorDataTypeIds

func (x *ClientToServerResponse_Error) GetErrorDataTypeIds() []int32

func (*ClientToServerResponse_Error) GetErrorDescription

func (x *ClientToServerResponse_Error) GetErrorDescription() string

func (*ClientToServerResponse_Error) GetErrorType

func (*ClientToServerResponse_Error) GetUrl

func (*ClientToServerResponse_Error) ProtoMessage

func (*ClientToServerResponse_Error) ProtoMessage()

func (*ClientToServerResponse_Error) ProtoReflect added in v0.1.3

func (*ClientToServerResponse_Error) Reset

func (x *ClientToServerResponse_Error) Reset()

func (*ClientToServerResponse_Error) String

type CloudTokenData

type CloudTokenData struct {

	// Last 4-5 digits of the Cloud Primary Account Number (CPAN).
	Suffix *string `protobuf:"bytes,1,opt,name=suffix" json:"suffix,omitempty"`
	// CPAN Month number 1-12.
	ExpMonth *int32 `protobuf:"varint,2,opt,name=exp_month,json=expMonth" json:"exp_month,omitempty"`
	// CPAN Four-digit year (e.g. 2017).
	ExpYear *int32 `protobuf:"varint,3,opt,name=exp_year,json=expYear" json:"exp_year,omitempty"`
	// URL of the card art to be displayed for CPAN.
	ArtFifeUrl *string `protobuf:"bytes,4,opt,name=art_fife_url,json=artFifeUrl" json:"art_fife_url,omitempty"`
	// Opaque identifier for the cloud token associated with the payment
	// instrument.
	InstrumentToken *string `protobuf:"bytes,5,opt,name=instrument_token,json=instrumentToken" json:"instrument_token,omitempty"`
	// contains filtered or unexported fields
}

TODO(crbug.com/1020740): Deprecated, remove this once dependent change is done. Use WalletCreditCardCloudTokenData instead.

func (*CloudTokenData) Descriptor deprecated

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

Deprecated: Use CloudTokenData.ProtoReflect.Descriptor instead.

func (*CloudTokenData) GetArtFifeUrl

func (x *CloudTokenData) GetArtFifeUrl() string

func (*CloudTokenData) GetExpMonth

func (x *CloudTokenData) GetExpMonth() int32

func (*CloudTokenData) GetExpYear

func (x *CloudTokenData) GetExpYear() int32

func (*CloudTokenData) GetInstrumentToken

func (x *CloudTokenData) GetInstrumentToken() string

func (*CloudTokenData) GetSuffix

func (x *CloudTokenData) GetSuffix() string

func (*CloudTokenData) ProtoMessage

func (*CloudTokenData) ProtoMessage()

func (*CloudTokenData) ProtoReflect added in v0.1.3

func (x *CloudTokenData) ProtoReflect() protoreflect.Message

func (*CloudTokenData) Reset

func (x *CloudTokenData) Reset()

func (*CloudTokenData) String

func (x *CloudTokenData) String() string

type CommitMessage

type CommitMessage struct {
	Entries []*SyncEntity `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	// A GUID that identifies the committing sync client.  This value will be
	// returned as originator_cache_guid for any new items.
	CacheGuid          *string                       `protobuf:"bytes,2,opt,name=cache_guid,json=cacheGuid" json:"cache_guid,omitempty"`
	ExtensionsActivity []*ChromiumExtensionsActivity `protobuf:"bytes,3,rep,name=extensions_activity,json=extensionsActivity" json:"extensions_activity,omitempty"`
	// The configuration of this client at commit time. Used by the server to
	// make commit-time decisions about how to process datatypes that might
	// involve server-side interaction, and e.g require explicit user intent for
	// syncing a particular data type regardless of whether a commit for that
	// datatype is currently being sent up.
	ConfigParams *ClientConfigParams `protobuf:"bytes,4,opt,name=config_params,json=configParams" json:"config_params,omitempty"`
	// Set of optional per-client datatype contexts.
	ClientContexts []*DataTypeContext `protobuf:"bytes,5,rep,name=client_contexts,json=clientContexts" json:"client_contexts,omitempty"`
	// This field need to be 256 bytes if set. This attempts to mitigate CRIME
	// attacks when sync communicate from client to server with compression. So if
	// compression is used, this need to set a 256 random ASCII bytes. If no
	// compression, this field should not be set. The server can ignore the
	// padding.
	Padding *string `protobuf:"bytes,6,opt,name=padding" json:"padding,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitMessage) Descriptor deprecated

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

Deprecated: Use CommitMessage.ProtoReflect.Descriptor instead.

func (*CommitMessage) GetCacheGuid

func (x *CommitMessage) GetCacheGuid() string

func (*CommitMessage) GetClientContexts

func (x *CommitMessage) GetClientContexts() []*DataTypeContext

func (*CommitMessage) GetConfigParams

func (x *CommitMessage) GetConfigParams() *ClientConfigParams

func (*CommitMessage) GetEntries

func (x *CommitMessage) GetEntries() []*SyncEntity

func (*CommitMessage) GetExtensionsActivity

func (x *CommitMessage) GetExtensionsActivity() []*ChromiumExtensionsActivity

func (*CommitMessage) GetPadding

func (x *CommitMessage) GetPadding() string

func (*CommitMessage) ProtoMessage

func (*CommitMessage) ProtoMessage()

func (*CommitMessage) ProtoReflect added in v0.1.3

func (x *CommitMessage) ProtoReflect() protoreflect.Message

func (*CommitMessage) Reset

func (x *CommitMessage) Reset()

func (*CommitMessage) String

func (x *CommitMessage) String() string

type CommitResponse

type CommitResponse struct {
	Entryresponse []*CommitResponse_EntryResponse `protobuf:"group,1,rep,name=EntryResponse,json=entryresponse" json:"entryresponse,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) GetEntryresponse

func (x *CommitResponse) GetEntryresponse() []*CommitResponse_EntryResponse

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect added in v0.1.3

func (x *CommitResponse) ProtoReflect() protoreflect.Message

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) String

func (x *CommitResponse) String() string

type CommitResponse_EntryResponse

type CommitResponse_EntryResponse struct {
	ResponseType *CommitResponse_ResponseType `` /* 132-byte string literal not displayed */
	// Sync servers may also return a new ID for an existing item, indicating
	// a new entry's been created to hold the data the client's sending up.
	IdString *string `protobuf:"bytes,3,opt,name=id_string,json=idString" json:"id_string,omitempty"`
	// should be filled if our parent was assigned a new ID.
	ParentIdString *string `protobuf:"bytes,4,opt,name=parent_id_string,json=parentIdString" json:"parent_id_string,omitempty"`
	// The item's current version.
	Version *int64 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"`
	// Allows the server to move-aside an entry as it's being committed.
	// This name is the same as the name field returned within the SyncEntity
	// message in GetUpdatesResponse.
	Name *string `protobuf:"bytes,7,opt,name=name" json:"name,omitempty"`
	// This name is the same as the non_unique_name field returned within the
	// SyncEntity message in GetUpdatesResponse.
	NonUniqueName *string `protobuf:"bytes,8,opt,name=non_unique_name,json=nonUniqueName" json:"non_unique_name,omitempty"`
	ErrorMessage  *string `protobuf:"bytes,9,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// Last modification time (in java time milliseconds).  Allows the server
	// to override the client-supplied mtime during a commit operation.
	Mtime *int64 `protobuf:"varint,10,opt,name=mtime" json:"mtime,omitempty"`
	// Datatype specific error (if any).
	DatatypeSpecificError *CommitResponse_EntryResponse_DatatypeSpecificError `protobuf:"bytes,11,opt,name=datatype_specific_error,json=datatypeSpecificError" json:"datatype_specific_error,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse_EntryResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse_EntryResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse_EntryResponse) GetDatatypeSpecificError

func (*CommitResponse_EntryResponse) GetErrorMessage

func (x *CommitResponse_EntryResponse) GetErrorMessage() string

func (*CommitResponse_EntryResponse) GetIdString

func (x *CommitResponse_EntryResponse) GetIdString() string

func (*CommitResponse_EntryResponse) GetMtime

func (x *CommitResponse_EntryResponse) GetMtime() int64

func (*CommitResponse_EntryResponse) GetName

func (x *CommitResponse_EntryResponse) GetName() string

func (*CommitResponse_EntryResponse) GetNonUniqueName

func (x *CommitResponse_EntryResponse) GetNonUniqueName() string

func (*CommitResponse_EntryResponse) GetParentIdString

func (x *CommitResponse_EntryResponse) GetParentIdString() string

func (*CommitResponse_EntryResponse) GetResponseType

func (*CommitResponse_EntryResponse) GetVersion

func (x *CommitResponse_EntryResponse) GetVersion() int64

func (*CommitResponse_EntryResponse) ProtoMessage

func (*CommitResponse_EntryResponse) ProtoMessage()

func (*CommitResponse_EntryResponse) ProtoReflect added in v0.1.3

func (*CommitResponse_EntryResponse) Reset

func (x *CommitResponse_EntryResponse) Reset()

func (*CommitResponse_EntryResponse) String

type CommitResponse_EntryResponse_DatatypeSpecificError

type CommitResponse_EntryResponse_DatatypeSpecificError struct {

	// Types that are assignable to DatatypeError:
	//	*CommitResponse_EntryResponse_DatatypeSpecificError_SharingMessageError
	DatatypeError isCommitResponse_EntryResponse_DatatypeSpecificError_DatatypeError `protobuf_oneof:"datatype_error"`
	// contains filtered or unexported fields
}

func (*CommitResponse_EntryResponse_DatatypeSpecificError) Descriptor deprecated

Deprecated: Use CommitResponse_EntryResponse_DatatypeSpecificError.ProtoReflect.Descriptor instead.

func (*CommitResponse_EntryResponse_DatatypeSpecificError) GetDatatypeError

func (m *CommitResponse_EntryResponse_DatatypeSpecificError) GetDatatypeError() isCommitResponse_EntryResponse_DatatypeSpecificError_DatatypeError

func (*CommitResponse_EntryResponse_DatatypeSpecificError) GetSharingMessageError

func (*CommitResponse_EntryResponse_DatatypeSpecificError) ProtoMessage

func (*CommitResponse_EntryResponse_DatatypeSpecificError) ProtoReflect added in v0.1.3

func (*CommitResponse_EntryResponse_DatatypeSpecificError) Reset

func (*CommitResponse_EntryResponse_DatatypeSpecificError) String

type CommitResponse_EntryResponse_DatatypeSpecificError_SharingMessageError

type CommitResponse_EntryResponse_DatatypeSpecificError_SharingMessageError struct {
	SharingMessageError *SharingMessageCommitError `protobuf:"bytes,1,opt,name=sharing_message_error,json=sharingMessageError,oneof"`
}

type CommitResponse_ResponseType

type CommitResponse_ResponseType int32
const (
	CommitResponse_SUCCESS  CommitResponse_ResponseType = 1
	CommitResponse_CONFLICT CommitResponse_ResponseType = 2 // You're out of date; update and check your data
	// TODO(ncarter): What's the difference between RETRY and TRANSIENT_ERROR?
	CommitResponse_RETRY           CommitResponse_ResponseType = 3 // Someone has a conflicting, non-expired session open
	CommitResponse_INVALID_MESSAGE CommitResponse_ResponseType = 4 // What the client sent was invalid, and trying again
	// won't help.
	CommitResponse_OVER_QUOTA      CommitResponse_ResponseType = 5 // This operation would put you, or you are, over quota
	CommitResponse_TRANSIENT_ERROR CommitResponse_ResponseType = 6 // Something went wrong; try again in a bit
)

func (CommitResponse_ResponseType) Descriptor added in v0.1.3

func (CommitResponse_ResponseType) Enum

func (CommitResponse_ResponseType) EnumDescriptor deprecated

func (CommitResponse_ResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommitResponse_ResponseType.Descriptor instead.

func (CommitResponse_ResponseType) Number added in v0.1.3

func (CommitResponse_ResponseType) String

func (CommitResponse_ResponseType) Type added in v0.1.3

func (*CommitResponse_ResponseType) UnmarshalJSON deprecated

func (x *CommitResponse_ResponseType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CryptographerData

type CryptographerData struct {

	// Contains all known Nigori keys.
	KeyBag *NigoriKeyBag `protobuf:"bytes,1,opt,name=key_bag,json=keyBag" json:"key_bag,omitempty"`
	// Default key is the key, that should be used for encryption. Can be empty
	// in case we have pending keys (waiting for explicit passphrase, or client
	// didn't received keystore keys).
	DefaultKeyName *string `protobuf:"bytes,2,opt,name=default_key_name,json=defaultKeyName" json:"default_key_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CryptographerData) Descriptor deprecated

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

Deprecated: Use CryptographerData.ProtoReflect.Descriptor instead.

func (*CryptographerData) GetDefaultKeyName

func (x *CryptographerData) GetDefaultKeyName() string

func (*CryptographerData) GetKeyBag

func (x *CryptographerData) GetKeyBag() *NigoriKeyBag

func (*CryptographerData) ProtoMessage

func (*CryptographerData) ProtoMessage()

func (*CryptographerData) ProtoReflect added in v0.1.3

func (x *CryptographerData) ProtoReflect() protoreflect.Message

func (*CryptographerData) Reset

func (x *CryptographerData) Reset()

func (*CryptographerData) String

func (x *CryptographerData) String() string

type CustomNudgeDelay

type CustomNudgeDelay struct {
	DatatypeId *int32 `protobuf:"varint,1,opt,name=datatype_id,json=datatypeId" json:"datatype_id,omitempty"` // Datatype id.
	DelayMs    *int32 `protobuf:"varint,2,opt,name=delay_ms,json=delayMs" json:"delay_ms,omitempty"`          // Delay in milliseconds.
	// contains filtered or unexported fields
}

func (*CustomNudgeDelay) Descriptor deprecated

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

Deprecated: Use CustomNudgeDelay.ProtoReflect.Descriptor instead.

func (*CustomNudgeDelay) GetDatatypeId

func (x *CustomNudgeDelay) GetDatatypeId() int32

func (*CustomNudgeDelay) GetDelayMs

func (x *CustomNudgeDelay) GetDelayMs() int32

func (*CustomNudgeDelay) ProtoMessage

func (*CustomNudgeDelay) ProtoMessage()

func (*CustomNudgeDelay) ProtoReflect added in v0.1.3

func (x *CustomNudgeDelay) ProtoReflect() protoreflect.Message

func (*CustomNudgeDelay) Reset

func (x *CustomNudgeDelay) Reset()

func (*CustomNudgeDelay) String

func (x *CustomNudgeDelay) String() string

type CustomPassphraseKeyDerivationParams

type CustomPassphraseKeyDerivationParams struct {

	// Method used for deriving keys from custom passphrase.
	CustomPassphraseKeyDerivationMethod *NigoriSpecifics_KeyDerivationMethod `` /* 215-byte string literal not displayed */
	// Salt used for the derivation of the key from the custom passphrase. Should
	// be set iff custom_passphrase_key_derivation_method == SCRYPT_8192_8_11.
	CustomPassphraseKeyDerivationSalt *string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CustomPassphraseKeyDerivationParams) Descriptor deprecated

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

Deprecated: Use CustomPassphraseKeyDerivationParams.ProtoReflect.Descriptor instead.

func (*CustomPassphraseKeyDerivationParams) GetCustomPassphraseKeyDerivationMethod

func (x *CustomPassphraseKeyDerivationParams) GetCustomPassphraseKeyDerivationMethod() NigoriSpecifics_KeyDerivationMethod

func (*CustomPassphraseKeyDerivationParams) GetCustomPassphraseKeyDerivationSalt

func (x *CustomPassphraseKeyDerivationParams) GetCustomPassphraseKeyDerivationSalt() string

func (*CustomPassphraseKeyDerivationParams) ProtoMessage

func (*CustomPassphraseKeyDerivationParams) ProtoMessage()

func (*CustomPassphraseKeyDerivationParams) ProtoReflect added in v0.1.3

func (*CustomPassphraseKeyDerivationParams) Reset

func (*CustomPassphraseKeyDerivationParams) String

type DataTypeContext

type DataTypeContext struct {

	// The type this context is associated with.
	DataTypeId *int32 `protobuf:"varint,1,opt,name=data_type_id,json=dataTypeId" json:"data_type_id,omitempty"`
	// The context for the datatype.
	Context []byte `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"`
	// The version of the context.
	Version *int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

A single datatype's sync context. Allows the datatype to pass along datatype specific information with its own server backend.

func (*DataTypeContext) Descriptor deprecated

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

Deprecated: Use DataTypeContext.ProtoReflect.Descriptor instead.

func (*DataTypeContext) GetContext

func (x *DataTypeContext) GetContext() []byte

func (*DataTypeContext) GetDataTypeId

func (x *DataTypeContext) GetDataTypeId() int32

func (*DataTypeContext) GetVersion

func (x *DataTypeContext) GetVersion() int64

func (*DataTypeContext) ProtoMessage

func (*DataTypeContext) ProtoMessage()

func (*DataTypeContext) ProtoReflect added in v0.1.3

func (x *DataTypeContext) ProtoReflect() protoreflect.Message

func (*DataTypeContext) Reset

func (x *DataTypeContext) Reset()

func (*DataTypeContext) String

func (x *DataTypeContext) String() string

type DataTypeProgressMarker

type DataTypeProgressMarker struct {

	// An integer identifying the data type whose progress is tracked by this
	// marker.  The legitimate values of this field correspond to the protobuf
	// field numbers of all EntitySpecifics fields supported by the server.
	// These values are externally declared in per-datatype .proto files.
	DataTypeId *int32 `protobuf:"varint,1,opt,name=data_type_id,json=dataTypeId" json:"data_type_id,omitempty"`
	// An opaque-to-the-client sequence of bytes that the server may interpret
	// as an indicator of the client's knowledge state.  If this is empty or
	// omitted by the client, it indicates that the client is initiating a
	// a first-time sync of this datatype.  Otherwise, clients must supply a
	// value previously returned by the server in an earlier GetUpdatesResponse.
	// These values are not comparable or generable on the client.
	//
	// The opaque semantics of this field are to afford server implementations
	// some flexibility in implementing progress tracking.  For instance,
	// a server implementation built on top of a distributed storage service --
	// or multiple heterogenous such services -- might need to supply a vector
	// of totally ordered monotonic update timestamps, rather than a single
	// monotonically increasing value.  Other optimizations may also be
	// possible if the server is allowed to embed arbitrary information in
	// the progress token.
	//
	// Server implementations should keep the size of these tokens relatively
	// small, on the order of tens of bytes, and they should remain small
	// regardless of the number of items synchronized.  (A possible bad server
	// implementation would be for progress_token to contain a list of all the
	// items ever sent to the client.  Servers shouldn't do this.)
	Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	// Clients that previously downloaded updates synced using the timestamp based
	// progress tracking mechanism, but which wish to switch over to the opaque
	// token mechanism can set this field in a GetUpdatesMessage.  The server
	// will perform a get updates operation as normal from the indicated
	// timestamp, and return only an opaque progress token.
	//
	// Deprecated: Do not use.
	TimestampTokenForMigration *int64 `` /* 137-byte string literal not displayed */
	// An opaque-to-the-client string of bytes, received through a notification,
	// that the server may interpret as a hint about the location of the latest
	// version of the data for this type.
	//
	// Deprecated in M29.  We should use the repeated field version in the
	// PerClientTypeState instead.
	//
	// Deprecated: Do not use.
	NotificationHint *string `protobuf:"bytes,4,opt,name=notification_hint,json=notificationHint" json:"notification_hint,omitempty"`
	// This field will be included only in GetUpdates with origin GU_TRIGGER.
	GetUpdateTriggers *GetUpdateTriggers `protobuf:"bytes,5,opt,name=get_update_triggers,json=getUpdateTriggers" json:"get_update_triggers,omitempty"`
	// The garbage collection directive for this data type.  The client should
	// purge items locally based on this directive.  Since this directive is
	// designed to be sent from server only, the client should persist it locally
	// as needed and avoid sending it to the server.
	GcDirective *GarbageCollectionDirective `protobuf:"bytes,6,opt,name=gc_directive,json=gcDirective" json:"gc_directive,omitempty"`
	// contains filtered or unexported fields
}

func (*DataTypeProgressMarker) Descriptor deprecated

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

Deprecated: Use DataTypeProgressMarker.ProtoReflect.Descriptor instead.

func (*DataTypeProgressMarker) GetDataTypeId

func (x *DataTypeProgressMarker) GetDataTypeId() int32

func (*DataTypeProgressMarker) GetGcDirective

func (*DataTypeProgressMarker) GetGetUpdateTriggers

func (x *DataTypeProgressMarker) GetGetUpdateTriggers() *GetUpdateTriggers

func (*DataTypeProgressMarker) GetNotificationHint deprecated

func (x *DataTypeProgressMarker) GetNotificationHint() string

Deprecated: Do not use.

func (*DataTypeProgressMarker) GetTimestampTokenForMigration deprecated

func (x *DataTypeProgressMarker) GetTimestampTokenForMigration() int64

Deprecated: Do not use.

func (*DataTypeProgressMarker) GetToken

func (x *DataTypeProgressMarker) GetToken() []byte

func (*DataTypeProgressMarker) ProtoMessage

func (*DataTypeProgressMarker) ProtoMessage()

func (*DataTypeProgressMarker) ProtoReflect added in v0.1.3

func (x *DataTypeProgressMarker) ProtoReflect() protoreflect.Message

func (*DataTypeProgressMarker) Reset

func (x *DataTypeProgressMarker) Reset()

func (*DataTypeProgressMarker) String

func (x *DataTypeProgressMarker) String() string

type DatatypeAssociationStats

type DatatypeAssociationStats struct {

	// The datatype that was associated.
	DataTypeId *int32 `protobuf:"varint,1,opt,name=data_type_id,json=dataTypeId" json:"data_type_id,omitempty"`
	// The state of the world before association.
	NumLocalItemsBeforeAssociation *int32 `` /* 151-byte string literal not displayed */
	NumSyncItemsBeforeAssociation  *int32 `` /* 148-byte string literal not displayed */
	// The state of the world after association.
	NumLocalItemsAfterAssociation *int32 `` /* 148-byte string literal not displayed */
	NumSyncItemsAfterAssociation  *int32 `` /* 145-byte string literal not displayed */
	// The changes that got us from before to after. In a correctly working
	// system these should be the deltas between before and after.
	NumLocalItemsAdded    *int32 `protobuf:"varint,6,opt,name=num_local_items_added,json=numLocalItemsAdded" json:"num_local_items_added,omitempty"`
	NumLocalItemsDeleted  *int32 `protobuf:"varint,7,opt,name=num_local_items_deleted,json=numLocalItemsDeleted" json:"num_local_items_deleted,omitempty"`
	NumLocalItemsModified *int32 `protobuf:"varint,8,opt,name=num_local_items_modified,json=numLocalItemsModified" json:"num_local_items_modified,omitempty"`
	NumSyncItemsAdded     *int32 `protobuf:"varint,9,opt,name=num_sync_items_added,json=numSyncItemsAdded" json:"num_sync_items_added,omitempty"`
	NumSyncItemsDeleted   *int32 `protobuf:"varint,10,opt,name=num_sync_items_deleted,json=numSyncItemsDeleted" json:"num_sync_items_deleted,omitempty"`
	NumSyncItemsModified  *int32 `protobuf:"varint,11,opt,name=num_sync_items_modified,json=numSyncItemsModified" json:"num_sync_items_modified,omitempty"`
	// Model versions before association. Ideally local and sync model should
	// have same version if models were persisted properly in last cycle.
	// Note: currently version is only set on bookmark model.
	LocalVersionPreAssociation *int64 `` /* 138-byte string literal not displayed */
	SyncVersionPreAssociation  *int64 `` /* 135-byte string literal not displayed */
	// The data type ran into an error during model association.
	HadError *bool `protobuf:"varint,12,opt,name=had_error,json=hadError" json:"had_error,omitempty"`
	// Waiting time before downloading starts. This measures the time between
	// receiving configuration request for a set of data types to starting
	// downloading data of this type.
	DownloadWaitTimeUs *int64 `protobuf:"varint,15,opt,name=download_wait_time_us,json=downloadWaitTimeUs" json:"download_wait_time_us,omitempty"`
	// Time spent on downloading sync data for first time sync.
	// Note: This measures the time between asking backend to download data to
	//       being notified of download-ready by backend. So it consists of
	//       time on data downloading and processing at sync backend. But
	//       downloading time should dominate. It's also the total time spent on
	//       downloading data of all types in the priority group of
	//       |data_type_id| instead of just one data type.
	DownloadTimeUs *int64 `protobuf:"varint,13,opt,name=download_time_us,json=downloadTimeUs" json:"download_time_us,omitempty"`
	// Waiting time for higher priority types to finish association. This
	// measures the time between finishing downloading data to requesting
	// association manager to associate this batch of types. High priority types
	// have near zero waiting time.
	AssociationWaitTimeForHighPriorityUs *int64 `` /* 174-byte string literal not displayed */
	// Waiting time for other types with same priority during association.
	// Data type manger sends types of same priority to association manager to
	// configure as a batch. Association manager configures one type at a time.
	// This measures the time between when a type is sent to association manager
	// (among other types) to when association manager starts configuring the
	// type. Total wait time before association is
	//     |association_wait_time_for_high_priority_us| +
	//     |association_wait_time_for_same_priority_us|
	AssociationWaitTimeForSamePriorityUs *int64 `` /* 174-byte string literal not displayed */
	// Time spent on model association.
	AssociationTimeUs *int64 `protobuf:"varint,17,opt,name=association_time_us,json=associationTimeUs" json:"association_time_us,omitempty"`
	// Higher priority type that's configured before this type.
	HighPriorityTypeConfiguredBefore []int32 `` /* 158-byte string literal not displayed */
	// Same priority type that's configured before this type.
	SamePriorityTypeConfiguredBefore []int32 `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Datatype specifics statistics gathered at association time.

func (*DatatypeAssociationStats) Descriptor deprecated

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

Deprecated: Use DatatypeAssociationStats.ProtoReflect.Descriptor instead.

func (*DatatypeAssociationStats) GetAssociationTimeUs

func (x *DatatypeAssociationStats) GetAssociationTimeUs() int64

func (*DatatypeAssociationStats) GetAssociationWaitTimeForHighPriorityUs

func (x *DatatypeAssociationStats) GetAssociationWaitTimeForHighPriorityUs() int64

func (*DatatypeAssociationStats) GetAssociationWaitTimeForSamePriorityUs

func (x *DatatypeAssociationStats) GetAssociationWaitTimeForSamePriorityUs() int64

func (*DatatypeAssociationStats) GetDataTypeId

func (x *DatatypeAssociationStats) GetDataTypeId() int32

func (*DatatypeAssociationStats) GetDownloadTimeUs

func (x *DatatypeAssociationStats) GetDownloadTimeUs() int64

func (*DatatypeAssociationStats) GetDownloadWaitTimeUs

func (x *DatatypeAssociationStats) GetDownloadWaitTimeUs() int64

func (*DatatypeAssociationStats) GetHadError

func (x *DatatypeAssociationStats) GetHadError() bool

func (*DatatypeAssociationStats) GetHighPriorityTypeConfiguredBefore

func (x *DatatypeAssociationStats) GetHighPriorityTypeConfiguredBefore() []int32

func (*DatatypeAssociationStats) GetLocalVersionPreAssociation

func (x *DatatypeAssociationStats) GetLocalVersionPreAssociation() int64

func (*DatatypeAssociationStats) GetNumLocalItemsAdded

func (x *DatatypeAssociationStats) GetNumLocalItemsAdded() int32

func (*DatatypeAssociationStats) GetNumLocalItemsAfterAssociation

func (x *DatatypeAssociationStats) GetNumLocalItemsAfterAssociation() int32

func (*DatatypeAssociationStats) GetNumLocalItemsBeforeAssociation

func (x *DatatypeAssociationStats) GetNumLocalItemsBeforeAssociation() int32

func (*DatatypeAssociationStats) GetNumLocalItemsDeleted

func (x *DatatypeAssociationStats) GetNumLocalItemsDeleted() int32

func (*DatatypeAssociationStats) GetNumLocalItemsModified

func (x *DatatypeAssociationStats) GetNumLocalItemsModified() int32

func (*DatatypeAssociationStats) GetNumSyncItemsAdded

func (x *DatatypeAssociationStats) GetNumSyncItemsAdded() int32

func (*DatatypeAssociationStats) GetNumSyncItemsAfterAssociation

func (x *DatatypeAssociationStats) GetNumSyncItemsAfterAssociation() int32

func (*DatatypeAssociationStats) GetNumSyncItemsBeforeAssociation

func (x *DatatypeAssociationStats) GetNumSyncItemsBeforeAssociation() int32

func (*DatatypeAssociationStats) GetNumSyncItemsDeleted

func (x *DatatypeAssociationStats) GetNumSyncItemsDeleted() int32

func (*DatatypeAssociationStats) GetNumSyncItemsModified

func (x *DatatypeAssociationStats) GetNumSyncItemsModified() int32

func (*DatatypeAssociationStats) GetSamePriorityTypeConfiguredBefore

func (x *DatatypeAssociationStats) GetSamePriorityTypeConfiguredBefore() []int32

func (*DatatypeAssociationStats) GetSyncVersionPreAssociation

func (x *DatatypeAssociationStats) GetSyncVersionPreAssociation() int64

func (*DatatypeAssociationStats) ProtoMessage

func (*DatatypeAssociationStats) ProtoMessage()

func (*DatatypeAssociationStats) ProtoReflect added in v0.1.3

func (x *DatatypeAssociationStats) ProtoReflect() protoreflect.Message

func (*DatatypeAssociationStats) Reset

func (x *DatatypeAssociationStats) Reset()

func (*DatatypeAssociationStats) String

func (x *DatatypeAssociationStats) String() string

type DebugEventInfo

type DebugEventInfo struct {

	// Each of the following fields correspond to different kinds of events. as
	// a result, only one is set during any single DebugEventInfo.
	// A singleton event. See enum definition.
	SingletonEvent *SyncEnums_SingletonDebugEventType `` /* 144-byte string literal not displayed */
	// A sync cycle completed.
	SyncCycleCompletedEventInfo *SyncCycleCompletedEventInfo `` /* 141-byte string literal not displayed */
	// A datatype triggered a nudge.
	NudgingDatatype *int32 `protobuf:"varint,3,opt,name=nudging_datatype,json=nudgingDatatype" json:"nudging_datatype,omitempty"`
	// A notification triggered a nudge.
	DatatypesNotifiedFromServer []int32 `` /* 140-byte string literal not displayed */
	// A datatype finished model association.
	DatatypeAssociationStats *DatatypeAssociationStats `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DebugEventInfo) Descriptor deprecated

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

Deprecated: Use DebugEventInfo.ProtoReflect.Descriptor instead.

func (*DebugEventInfo) GetDatatypeAssociationStats

func (x *DebugEventInfo) GetDatatypeAssociationStats() *DatatypeAssociationStats

func (*DebugEventInfo) GetDatatypesNotifiedFromServer

func (x *DebugEventInfo) GetDatatypesNotifiedFromServer() []int32

func (*DebugEventInfo) GetNudgingDatatype

func (x *DebugEventInfo) GetNudgingDatatype() int32

func (*DebugEventInfo) GetSingletonEvent

func (x *DebugEventInfo) GetSingletonEvent() SyncEnums_SingletonDebugEventType

func (*DebugEventInfo) GetSyncCycleCompletedEventInfo

func (x *DebugEventInfo) GetSyncCycleCompletedEventInfo() *SyncCycleCompletedEventInfo

func (*DebugEventInfo) ProtoMessage

func (*DebugEventInfo) ProtoMessage()

func (*DebugEventInfo) ProtoReflect added in v0.1.3

func (x *DebugEventInfo) ProtoReflect() protoreflect.Message

func (*DebugEventInfo) Reset

func (x *DebugEventInfo) Reset()

func (*DebugEventInfo) String

func (x *DebugEventInfo) String() string

type DebugInfo

type DebugInfo struct {
	Events []*DebugEventInfo `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"`
	// Whether cryptographer is ready to encrypt and decrypt data.
	CryptographerReady *bool `protobuf:"varint,2,opt,name=cryptographer_ready,json=cryptographerReady" json:"cryptographer_ready,omitempty"`
	// Cryptographer has pending keys which indicates the correct passphrase
	// has not been provided yet.
	CryptographerHasPendingKeys *bool `` /* 140-byte string literal not displayed */
	// Indicates client has dropped some events to save bandwidth.
	EventsDropped *bool `protobuf:"varint,4,opt,name=events_dropped,json=eventsDropped" json:"events_dropped,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugInfo) Descriptor deprecated

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

Deprecated: Use DebugInfo.ProtoReflect.Descriptor instead.

func (*DebugInfo) GetCryptographerHasPendingKeys

func (x *DebugInfo) GetCryptographerHasPendingKeys() bool

func (*DebugInfo) GetCryptographerReady

func (x *DebugInfo) GetCryptographerReady() bool

func (*DebugInfo) GetEvents

func (x *DebugInfo) GetEvents() []*DebugEventInfo

func (*DebugInfo) GetEventsDropped

func (x *DebugInfo) GetEventsDropped() bool

func (*DebugInfo) ProtoMessage

func (*DebugInfo) ProtoMessage()

func (*DebugInfo) ProtoReflect added in v0.1.3

func (x *DebugInfo) ProtoReflect() protoreflect.Message

func (*DebugInfo) Reset

func (x *DebugInfo) Reset()

func (*DebugInfo) String

func (x *DebugInfo) String() string

type DeviceInfoSpecifics

type DeviceInfoSpecifics struct {

	// The cache_guid created to identify a sync client on this device.
	CacheGuid *string `protobuf:"bytes,1,opt,name=cache_guid,json=cacheGuid" json:"cache_guid,omitempty"`
	// A non-unique but human readable name to describe this client.
	ClientName *string `protobuf:"bytes,2,opt,name=client_name,json=clientName" json:"client_name,omitempty"`
	// The platform of the device.
	DeviceType *SyncEnums_DeviceType `protobuf:"varint,3,opt,name=device_type,json=deviceType,enum=sync_pb.SyncEnums_DeviceType" json:"device_type,omitempty"`
	// The UserAgent used when contacting the Chrome Sync server.
	SyncUserAgent *string `protobuf:"bytes,4,opt,name=sync_user_agent,json=syncUserAgent" json:"sync_user_agent,omitempty"`
	// The Chrome instance's version.  Updated (if necessary) on every startup.
	ChromeVersion *string `protobuf:"bytes,5,opt,name=chrome_version,json=chromeVersion" json:"chrome_version,omitempty"`
	// Last time when pre-sync data on the device was saved. The device can be
	// restored to state back to this time. In millisecond since UNIX epoch.
	// DEPRECATED in M50.
	//
	// Deprecated: Do not use.
	DeprecatedBackupTimestamp *int64 `` /* 132-byte string literal not displayed */
	// Device_id that is stable until user signs out. This device_id is used for
	// annotating login scoped refresh token.
	SigninScopedDeviceId *string `protobuf:"bytes,7,opt,name=signin_scoped_device_id,json=signinScopedDeviceId" json:"signin_scoped_device_id,omitempty"`
	// This field is updated to be the current time periodically, and is also set
	// to the current time whenever another field changes. By examining the
	// difference between this field and the current time, it should be possible
	// to reason about the inactivity of any device that was syncing at one time.
	LastUpdatedTimestamp *int64 `protobuf:"varint,8,opt,name=last_updated_timestamp,json=lastUpdatedTimestamp" json:"last_updated_timestamp,omitempty"`
	// Device info fields that are specific to a feature. This is information that
	// can not be derived from the other fields in the proto and are not general
	// enough to be used by another feature.
	FeatureFields *FeatureSpecificFields `protobuf:"bytes,9,opt,name=feature_fields,json=featureFields" json:"feature_fields,omitempty"`
	// Device specific information for Sharing feature.
	SharingFields *SharingSpecificFields `protobuf:"bytes,10,opt,name=sharing_fields,json=sharingFields" json:"sharing_fields,omitempty"`
	// Model of device.
	Model *string `protobuf:"bytes,11,opt,name=model" json:"model,omitempty"`
	// Name of device manufacturer.
	Manufacturer *string `protobuf:"bytes,12,opt,name=manufacturer" json:"manufacturer,omitempty"`
	// The interval in minutes with which |last_updated_timestamp| is updated to
	// the sync servers if online and while sync is actively running (e.g.
	// excludes backgrounded apps on Android). Introduced in M81. The legacy
	// default was 1 day.
	PulseIntervalInMinutes *int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about a device that is running a sync-enabled Chrome browser. We are mapping the per-client cache guid to more specific information about the device.

func (*DeviceInfoSpecifics) Descriptor deprecated

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

Deprecated: Use DeviceInfoSpecifics.ProtoReflect.Descriptor instead.

func (*DeviceInfoSpecifics) GetCacheGuid

func (x *DeviceInfoSpecifics) GetCacheGuid() string

func (*DeviceInfoSpecifics) GetChromeVersion

func (x *DeviceInfoSpecifics) GetChromeVersion() string

func (*DeviceInfoSpecifics) GetClientName

func (x *DeviceInfoSpecifics) GetClientName() string

func (*DeviceInfoSpecifics) GetDeprecatedBackupTimestamp deprecated

func (x *DeviceInfoSpecifics) GetDeprecatedBackupTimestamp() int64

Deprecated: Do not use.

func (*DeviceInfoSpecifics) GetDeviceType

func (x *DeviceInfoSpecifics) GetDeviceType() SyncEnums_DeviceType

func (*DeviceInfoSpecifics) GetFeatureFields

func (x *DeviceInfoSpecifics) GetFeatureFields() *FeatureSpecificFields

func (*DeviceInfoSpecifics) GetLastUpdatedTimestamp

func (x *DeviceInfoSpecifics) GetLastUpdatedTimestamp() int64

func (*DeviceInfoSpecifics) GetManufacturer

func (x *DeviceInfoSpecifics) GetManufacturer() string

func (*DeviceInfoSpecifics) GetModel

func (x *DeviceInfoSpecifics) GetModel() string

func (*DeviceInfoSpecifics) GetPulseIntervalInMinutes

func (x *DeviceInfoSpecifics) GetPulseIntervalInMinutes() int32

func (*DeviceInfoSpecifics) GetSharingFields

func (x *DeviceInfoSpecifics) GetSharingFields() *SharingSpecificFields

func (*DeviceInfoSpecifics) GetSigninScopedDeviceId

func (x *DeviceInfoSpecifics) GetSigninScopedDeviceId() string

func (*DeviceInfoSpecifics) GetSyncUserAgent

func (x *DeviceInfoSpecifics) GetSyncUserAgent() string

func (*DeviceInfoSpecifics) ProtoMessage

func (*DeviceInfoSpecifics) ProtoMessage()

func (*DeviceInfoSpecifics) ProtoReflect added in v0.1.3

func (x *DeviceInfoSpecifics) ProtoReflect() protoreflect.Message

func (*DeviceInfoSpecifics) Reset

func (x *DeviceInfoSpecifics) Reset()

func (*DeviceInfoSpecifics) String

func (x *DeviceInfoSpecifics) String() string

type DictionarySpecifics

type DictionarySpecifics struct {

	// A spelling which when typed is treated as a correctly spelled word.
	Word *string `protobuf:"bytes,1,opt,name=word" json:"word,omitempty"`
	// contains filtered or unexported fields
}

Properties of Dictionary objects.

func (*DictionarySpecifics) Descriptor deprecated

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

Deprecated: Use DictionarySpecifics.ProtoReflect.Descriptor instead.

func (*DictionarySpecifics) GetWord

func (x *DictionarySpecifics) GetWord() string

func (*DictionarySpecifics) ProtoMessage

func (*DictionarySpecifics) ProtoMessage()

func (*DictionarySpecifics) ProtoReflect added in v0.1.3

func (x *DictionarySpecifics) ProtoReflect() protoreflect.Message

func (*DictionarySpecifics) Reset

func (x *DictionarySpecifics) Reset()

func (*DictionarySpecifics) String

func (x *DictionarySpecifics) String() string

type EncryptedData

type EncryptedData struct {
	KeyName *string `protobuf:"bytes,1,opt,name=key_name,json=keyName" json:"key_name,omitempty"`
	Blob    *string `protobuf:"bytes,2,opt,name=blob" json:"blob,omitempty"`
	// contains filtered or unexported fields
}

Encrypted sync data consists of two parts: a key name and a blob. Key name is the name of the key that was used to encrypt blob and blob is encrypted data itself.

The reason we need to keep track of the key name is that a sync user can change their passphrase (and thus their encryption key) at any time. When that happens, we make a best effort to reencrypt all nodes with the new passphrase, but since we don't have transactions on the server-side, we cannot guarantee that every node will be reencrypted. As a workaround, we keep track of all keys, assign each key a name (by using that key to encrypt a well known string) and keep track of which key was used to encrypt each node.

func (*EncryptedData) Descriptor deprecated

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

Deprecated: Use EncryptedData.ProtoReflect.Descriptor instead.

func (*EncryptedData) GetBlob

func (x *EncryptedData) GetBlob() string

func (*EncryptedData) GetKeyName

func (x *EncryptedData) GetKeyName() string

func (*EncryptedData) ProtoMessage

func (*EncryptedData) ProtoMessage()

func (*EncryptedData) ProtoReflect added in v0.1.3

func (x *EncryptedData) ProtoReflect() protoreflect.Message

func (*EncryptedData) Reset

func (x *EncryptedData) Reset()

func (*EncryptedData) String

func (x *EncryptedData) String() string

type EnhancedBookmarksFlags

type EnhancedBookmarksFlags struct {
	Enabled     *bool   `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	ExtensionId *string `protobuf:"bytes,2,opt,name=extension_id,json=extensionId" json:"extension_id,omitempty"`
	// contains filtered or unexported fields
}

Flags for enabling the experimental enhanced bookmarks feature.

func (*EnhancedBookmarksFlags) Descriptor deprecated

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

Deprecated: Use EnhancedBookmarksFlags.ProtoReflect.Descriptor instead.

func (*EnhancedBookmarksFlags) GetEnabled

func (x *EnhancedBookmarksFlags) GetEnabled() bool

func (*EnhancedBookmarksFlags) GetExtensionId

func (x *EnhancedBookmarksFlags) GetExtensionId() string

func (*EnhancedBookmarksFlags) ProtoMessage

func (*EnhancedBookmarksFlags) ProtoMessage()

func (*EnhancedBookmarksFlags) ProtoReflect added in v0.1.3

func (x *EnhancedBookmarksFlags) ProtoReflect() protoreflect.Message

func (*EnhancedBookmarksFlags) Reset

func (x *EnhancedBookmarksFlags) Reset()

func (*EnhancedBookmarksFlags) String

func (x *EnhancedBookmarksFlags) String() string

type EntityMetadata

type EntityMetadata struct {

	// A hash based on the client tag and model type.
	// Used for various map lookups. Should always be available.
	// Sent to the server as SyncEntity::client_defined_unique_tag.
	ClientTagHash *string `protobuf:"bytes,1,opt,name=client_tag_hash,json=clientTagHash" json:"client_tag_hash,omitempty"`
	// The entity's server-assigned ID.
	//
	// Prior to the item's first commit, we leave this value as an empty string.
	// The initial ID for a newly created item has to meet certain uniqueness
	// requirements, and we handle those on the sync thread.
	ServerId *string `protobuf:"bytes,2,opt,name=server_id,json=serverId" json:"server_id,omitempty"`
	// Whether or not the entity is deleted.
	IsDeleted *bool `protobuf:"varint,3,opt,name=is_deleted,json=isDeleted" json:"is_deleted,omitempty"`
	// A version number used to track in-progress commits. Each local change
	// increments this number.
	SequenceNumber *int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
	// The sequence number of the last item known to be successfully committed.
	AckedSequenceNumber *int64 `protobuf:"varint,5,opt,name=acked_sequence_number,json=ackedSequenceNumber" json:"acked_sequence_number,omitempty"`
	// The server version on which this item is based.
	//
	// If there are no local changes, this is the version of the entity as we see
	// it here.
	//
	// If there are local changes, this is the version of the entity on which
	// those changes are based.
	ServerVersion *int64 `protobuf:"varint,6,opt,name=server_version,json=serverVersion,def=-1" json:"server_version,omitempty"`
	// Entity creation and modification timestamps. Assigned by the client and
	// synced by the server, though the server usually doesn't bother to inspect
	// their values. They are encoded as milliseconds since the Unix epoch.
	CreationTime     *int64 `protobuf:"varint,7,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	ModificationTime *int64 `protobuf:"varint,8,opt,name=modification_time,json=modificationTime" json:"modification_time,omitempty"`
	// A hash of the current entity specifics value. Used to detect whether
	// entity's specifics value has changed without having to keep specifics in
	// memory.
	SpecificsHash *string `protobuf:"bytes,9,opt,name=specifics_hash,json=specificsHash" json:"specifics_hash,omitempty"`
	// A hash of the last specifics known by both the client and server. Used to
	// detect when local commits and remote updates are just for encryption. This
	// value will be the empty string only in the following cases: the entity is
	// in sync with the server, has never been synced, or is deleted.
	BaseSpecificsHash *string `protobuf:"bytes,10,opt,name=base_specifics_hash,json=baseSpecificsHash" json:"base_specifics_hash,omitempty"`
	// Used for positioning entities among their siblings. Relevant only for data
	// types that support positions (e.g bookmarks). Refer to its definition in
	// unique_position.proto for more information about its internal
	// representation.
	UniquePosition *UniquePosition `protobuf:"bytes,11,opt,name=unique_position,json=uniquePosition" json:"unique_position,omitempty"`
	// contains filtered or unexported fields
}

Sync proto to store entity metadata in model type storage.

func (*EntityMetadata) Descriptor deprecated

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

Deprecated: Use EntityMetadata.ProtoReflect.Descriptor instead.

func (*EntityMetadata) GetAckedSequenceNumber

func (x *EntityMetadata) GetAckedSequenceNumber() int64

func (*EntityMetadata) GetBaseSpecificsHash

func (x *EntityMetadata) GetBaseSpecificsHash() string

func (*EntityMetadata) GetClientTagHash

func (x *EntityMetadata) GetClientTagHash() string

func (*EntityMetadata) GetCreationTime

func (x *EntityMetadata) GetCreationTime() int64

func (*EntityMetadata) GetIsDeleted

func (x *EntityMetadata) GetIsDeleted() bool

func (*EntityMetadata) GetModificationTime

func (x *EntityMetadata) GetModificationTime() int64

func (*EntityMetadata) GetSequenceNumber

func (x *EntityMetadata) GetSequenceNumber() int64

func (*EntityMetadata) GetServerId

func (x *EntityMetadata) GetServerId() string

func (*EntityMetadata) GetServerVersion

func (x *EntityMetadata) GetServerVersion() int64

func (*EntityMetadata) GetSpecificsHash

func (x *EntityMetadata) GetSpecificsHash() string

func (*EntityMetadata) GetUniquePosition

func (x *EntityMetadata) GetUniquePosition() *UniquePosition

func (*EntityMetadata) ProtoMessage

func (*EntityMetadata) ProtoMessage()

func (*EntityMetadata) ProtoReflect added in v0.1.3

func (x *EntityMetadata) ProtoReflect() protoreflect.Message

func (*EntityMetadata) Reset

func (x *EntityMetadata) Reset()

func (*EntityMetadata) String

func (x *EntityMetadata) String() string

type EntitySpecifics

type EntitySpecifics struct {

	// If a datatype is encrypted, this field will contain the encrypted
	// original EntitySpecifics. The extension for the datatype will continue
	// to exist, but contain only the default values.
	// Note that currently passwords employ their own legacy encryption scheme and
	// do not use this field.
	Encrypted *EncryptedData `protobuf:"bytes,1,opt,name=encrypted" json:"encrypted,omitempty"`
	// Types that are assignable to SpecificsVariant:
	//	*EntitySpecifics_Autofill
	//	*EntitySpecifics_Bookmark
	//	*EntitySpecifics_Preference
	//	*EntitySpecifics_TypedUrl
	//	*EntitySpecifics_Theme
	//	*EntitySpecifics_AppNotification
	//	*EntitySpecifics_Password
	//	*EntitySpecifics_Nigori
	//	*EntitySpecifics_Extension
	//	*EntitySpecifics_App
	//	*EntitySpecifics_Session
	//	*EntitySpecifics_AutofillProfile
	//	*EntitySpecifics_SearchEngine
	//	*EntitySpecifics_ExtensionSetting
	//	*EntitySpecifics_AppSetting
	//	*EntitySpecifics_HistoryDeleteDirective
	//	*EntitySpecifics_SyncedNotification
	//	*EntitySpecifics_SyncedNotificationAppInfo
	//	*EntitySpecifics_DeviceInfo
	//	*EntitySpecifics_Experiments
	//	*EntitySpecifics_PriorityPreference
	//	*EntitySpecifics_Dictionary
	//	*EntitySpecifics_FaviconTracking
	//	*EntitySpecifics_FaviconImage
	//	*EntitySpecifics_ManagedUserSetting
	//	*EntitySpecifics_ManagedUser
	//	*EntitySpecifics_ManagedUserSharedSetting
	//	*EntitySpecifics_ManagedUserWhitelist
	//	*EntitySpecifics_AppList
	//	*EntitySpecifics_AutofillWallet
	//	*EntitySpecifics_WalletMetadata
	//	*EntitySpecifics_ArcPackage
	//	*EntitySpecifics_Printer
	//	*EntitySpecifics_ReadingList
	//	*EntitySpecifics_UserEvent
	//	*EntitySpecifics_UserConsent
	//	*EntitySpecifics_SendTabToSelf
	//	*EntitySpecifics_SecurityEvent
	//	*EntitySpecifics_WebApp
	//	*EntitySpecifics_WifiConfiguration
	//	*EntitySpecifics_OsPreference
	//	*EntitySpecifics_OsPriorityPreference
	//	*EntitySpecifics_SharingMessage
	SpecificsVariant isEntitySpecifics_SpecificsVariant `protobuf_oneof:"specifics_variant"`
	// contains filtered or unexported fields
}

func (*EntitySpecifics) Descriptor deprecated

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

Deprecated: Use EntitySpecifics.ProtoReflect.Descriptor instead.

func (*EntitySpecifics) GetApp

func (x *EntitySpecifics) GetApp() *AppSpecifics

func (*EntitySpecifics) GetAppList

func (x *EntitySpecifics) GetAppList() *AppListSpecifics

func (*EntitySpecifics) GetAppNotification deprecated

func (x *EntitySpecifics) GetAppNotification() *AppNotification

Deprecated: Do not use.

func (*EntitySpecifics) GetAppSetting

func (x *EntitySpecifics) GetAppSetting() *AppSettingSpecifics

func (*EntitySpecifics) GetArcPackage

func (x *EntitySpecifics) GetArcPackage() *ArcPackageSpecifics

func (*EntitySpecifics) GetAutofill

func (x *EntitySpecifics) GetAutofill() *AutofillSpecifics

func (*EntitySpecifics) GetAutofillProfile

func (x *EntitySpecifics) GetAutofillProfile() *AutofillProfileSpecifics

func (*EntitySpecifics) GetAutofillWallet

func (x *EntitySpecifics) GetAutofillWallet() *AutofillWalletSpecifics

func (*EntitySpecifics) GetBookmark

func (x *EntitySpecifics) GetBookmark() *BookmarkSpecifics

func (*EntitySpecifics) GetDeviceInfo

func (x *EntitySpecifics) GetDeviceInfo() *DeviceInfoSpecifics

func (*EntitySpecifics) GetDictionary

func (x *EntitySpecifics) GetDictionary() *DictionarySpecifics

func (*EntitySpecifics) GetEncrypted

func (x *EntitySpecifics) GetEncrypted() *EncryptedData

func (*EntitySpecifics) GetExperiments deprecated

func (x *EntitySpecifics) GetExperiments() *ExperimentsSpecifics

Deprecated: Do not use.

func (*EntitySpecifics) GetExtension

func (x *EntitySpecifics) GetExtension() *ExtensionSpecifics

func (*EntitySpecifics) GetExtensionSetting

func (x *EntitySpecifics) GetExtensionSetting() *ExtensionSettingSpecifics

func (*EntitySpecifics) GetFaviconImage

func (x *EntitySpecifics) GetFaviconImage() *FaviconImageSpecifics

func (*EntitySpecifics) GetFaviconTracking

func (x *EntitySpecifics) GetFaviconTracking() *FaviconTrackingSpecifics

func (*EntitySpecifics) GetHistoryDeleteDirective

func (x *EntitySpecifics) GetHistoryDeleteDirective() *HistoryDeleteDirectiveSpecifics

func (*EntitySpecifics) GetManagedUser deprecated

func (x *EntitySpecifics) GetManagedUser() *ManagedUserSpecifics

Deprecated: Do not use.

func (*EntitySpecifics) GetManagedUserSetting

func (x *EntitySpecifics) GetManagedUserSetting() *ManagedUserSettingSpecifics

func (*EntitySpecifics) GetManagedUserSharedSetting deprecated

func (x *EntitySpecifics) GetManagedUserSharedSetting() *ManagedUserSharedSettingSpecifics

Deprecated: Do not use.

func (*EntitySpecifics) GetManagedUserWhitelist

func (x *EntitySpecifics) GetManagedUserWhitelist() *ManagedUserWhitelistSpecifics

func (*EntitySpecifics) GetNigori

func (x *EntitySpecifics) GetNigori() *NigoriSpecifics

func (*EntitySpecifics) GetOsPreference

func (x *EntitySpecifics) GetOsPreference() *OsPreferenceSpecifics

func (*EntitySpecifics) GetOsPriorityPreference

func (x *EntitySpecifics) GetOsPriorityPreference() *OsPriorityPreferenceSpecifics

func (*EntitySpecifics) GetPassword

func (x *EntitySpecifics) GetPassword() *PasswordSpecifics

func (*EntitySpecifics) GetPreference

func (x *EntitySpecifics) GetPreference() *PreferenceSpecifics

func (*EntitySpecifics) GetPrinter

func (x *EntitySpecifics) GetPrinter() *PrinterSpecifics

func (*EntitySpecifics) GetPriorityPreference

func (x *EntitySpecifics) GetPriorityPreference() *PriorityPreferenceSpecifics

func (*EntitySpecifics) GetReadingList

func (x *EntitySpecifics) GetReadingList() *ReadingListSpecifics

func (*EntitySpecifics) GetSearchEngine

func (x *EntitySpecifics) GetSearchEngine() *SearchEngineSpecifics

func (*EntitySpecifics) GetSecurityEvent

func (x *EntitySpecifics) GetSecurityEvent() *SecurityEventSpecifics

func (*EntitySpecifics) GetSendTabToSelf

func (x *EntitySpecifics) GetSendTabToSelf() *SendTabToSelfSpecifics

func (*EntitySpecifics) GetSession

func (x *EntitySpecifics) GetSession() *SessionSpecifics

func (*EntitySpecifics) GetSharingMessage

func (x *EntitySpecifics) GetSharingMessage() *SharingMessageSpecifics

func (*EntitySpecifics) GetSpecificsVariant

func (m *EntitySpecifics) GetSpecificsVariant() isEntitySpecifics_SpecificsVariant

func (*EntitySpecifics) GetSyncedNotification deprecated

func (x *EntitySpecifics) GetSyncedNotification() *SyncedNotificationSpecifics

Deprecated: Do not use.

func (*EntitySpecifics) GetSyncedNotificationAppInfo deprecated

func (x *EntitySpecifics) GetSyncedNotificationAppInfo() *SyncedNotificationAppInfoSpecifics

Deprecated: Do not use.

func (*EntitySpecifics) GetTheme

func (x *EntitySpecifics) GetTheme() *ThemeSpecifics

func (*EntitySpecifics) GetTypedUrl

func (x *EntitySpecifics) GetTypedUrl() *TypedUrlSpecifics

func (*EntitySpecifics) GetUserConsent

func (x *EntitySpecifics) GetUserConsent() *UserConsentSpecifics

func (*EntitySpecifics) GetUserEvent

func (x *EntitySpecifics) GetUserEvent() *UserEventSpecifics

func (*EntitySpecifics) GetWalletMetadata

func (x *EntitySpecifics) GetWalletMetadata() *WalletMetadataSpecifics

func (*EntitySpecifics) GetWebApp

func (x *EntitySpecifics) GetWebApp() *WebAppSpecifics

func (*EntitySpecifics) GetWifiConfiguration

func (x *EntitySpecifics) GetWifiConfiguration() *WifiConfigurationSpecifics

func (*EntitySpecifics) ProtoMessage

func (*EntitySpecifics) ProtoMessage()

func (*EntitySpecifics) ProtoReflect added in v0.1.3

func (x *EntitySpecifics) ProtoReflect() protoreflect.Message

func (*EntitySpecifics) Reset

func (x *EntitySpecifics) Reset()

func (*EntitySpecifics) String

func (x *EntitySpecifics) String() string

type EntitySpecifics_App

type EntitySpecifics_App struct {
	App *AppSpecifics `protobuf:"bytes,48364,opt,name=app,oneof"`
}

type EntitySpecifics_AppList

type EntitySpecifics_AppList struct {
	AppList *AppListSpecifics `protobuf:"bytes,229170,opt,name=app_list,json=appList,oneof"`
}

type EntitySpecifics_AppNotification

type EntitySpecifics_AppNotification struct {
	// TODO(crbug.com/1012648): |app_notification| isn't used by the client
	// anymore, but the server still needs it for now.
	//
	// Deprecated: Do not use.
	AppNotification *AppNotification `protobuf:"bytes,45184,opt,name=app_notification,json=appNotification,oneof"`
}

type EntitySpecifics_AppSetting

type EntitySpecifics_AppSetting struct {
	AppSetting *AppSettingSpecifics `protobuf:"bytes,103656,opt,name=app_setting,json=appSetting,oneof"`
}

type EntitySpecifics_ArcPackage

type EntitySpecifics_ArcPackage struct {
	ArcPackage *ArcPackageSpecifics `protobuf:"bytes,340906,opt,name=arc_package,json=arcPackage,oneof"`
}

type EntitySpecifics_Autofill

type EntitySpecifics_Autofill struct {
	Autofill *AutofillSpecifics `protobuf:"bytes,31729,opt,name=autofill,oneof"`
}

type EntitySpecifics_AutofillProfile

type EntitySpecifics_AutofillProfile struct {
	AutofillProfile *AutofillProfileSpecifics `protobuf:"bytes,63951,opt,name=autofill_profile,json=autofillProfile,oneof"`
}

type EntitySpecifics_AutofillWallet

type EntitySpecifics_AutofillWallet struct {
	AutofillWallet *AutofillWalletSpecifics `protobuf:"bytes,306270,opt,name=autofill_wallet,json=autofillWallet,oneof"`
}

type EntitySpecifics_Bookmark

type EntitySpecifics_Bookmark struct {
	Bookmark *BookmarkSpecifics `protobuf:"bytes,32904,opt,name=bookmark,oneof"`
}

type EntitySpecifics_DeviceInfo

type EntitySpecifics_DeviceInfo struct {
	DeviceInfo *DeviceInfoSpecifics `protobuf:"bytes,154522,opt,name=device_info,json=deviceInfo,oneof"`
}

type EntitySpecifics_Dictionary

type EntitySpecifics_Dictionary struct {
	Dictionary *DictionarySpecifics `protobuf:"bytes,170540,opt,name=dictionary,oneof"`
}

type EntitySpecifics_Experiments

type EntitySpecifics_Experiments struct {
	// TODO(crbug.com/1009361): |experiments| isn't used by the client anymore,
	// but the server still needs it for now.
	//
	// Deprecated: Do not use.
	Experiments *ExperimentsSpecifics `protobuf:"bytes,161496,opt,name=experiments,oneof"`
}

type EntitySpecifics_Extension

type EntitySpecifics_Extension struct {
	Extension *ExtensionSpecifics `protobuf:"bytes,48119,opt,name=extension,oneof"`
}

type EntitySpecifics_ExtensionSetting

type EntitySpecifics_ExtensionSetting struct {
	ExtensionSetting *ExtensionSettingSpecifics `protobuf:"bytes,96159,opt,name=extension_setting,json=extensionSetting,oneof"`
}

type EntitySpecifics_FaviconImage

type EntitySpecifics_FaviconImage struct {
	FaviconImage *FaviconImageSpecifics `protobuf:"bytes,182019,opt,name=favicon_image,json=faviconImage,oneof"`
}

type EntitySpecifics_FaviconTracking

type EntitySpecifics_FaviconTracking struct {
	FaviconTracking *FaviconTrackingSpecifics `protobuf:"bytes,181534,opt,name=favicon_tracking,json=faviconTracking,oneof"`
}

type EntitySpecifics_HistoryDeleteDirective

type EntitySpecifics_HistoryDeleteDirective struct {
	HistoryDeleteDirective *HistoryDeleteDirectiveSpecifics `protobuf:"bytes,150251,opt,name=history_delete_directive,json=historyDeleteDirective,oneof"`
}

type EntitySpecifics_ManagedUser

type EntitySpecifics_ManagedUser struct {
	// TODO(tschumann): Remove once server-side dependencies are resolved.
	//
	// Deprecated: Do not use.
	ManagedUser *ManagedUserSpecifics `protobuf:"bytes,194582,opt,name=managed_user,json=managedUser,oneof"`
}

type EntitySpecifics_ManagedUserSetting

type EntitySpecifics_ManagedUserSetting struct {
	ManagedUserSetting *ManagedUserSettingSpecifics `protobuf:"bytes,186662,opt,name=managed_user_setting,json=managedUserSetting,oneof"`
}

type EntitySpecifics_ManagedUserSharedSetting

type EntitySpecifics_ManagedUserSharedSetting struct {
	// TODO(tschumann): Remove once server-side dependencies are resolved.
	//
	// Deprecated: Do not use.
	ManagedUserSharedSetting *ManagedUserSharedSettingSpecifics `protobuf:"bytes,202026,opt,name=managed_user_shared_setting,json=managedUserSharedSetting,oneof"`
}

type EntitySpecifics_ManagedUserWhitelist

type EntitySpecifics_ManagedUserWhitelist struct {
	ManagedUserWhitelist *ManagedUserWhitelistSpecifics `protobuf:"bytes,306060,opt,name=managed_user_whitelist,json=managedUserWhitelist,oneof"`
}

type EntitySpecifics_Nigori

type EntitySpecifics_Nigori struct {
	Nigori *NigoriSpecifics `protobuf:"bytes,47745,opt,name=nigori,oneof"`
}

type EntitySpecifics_OsPreference

type EntitySpecifics_OsPreference struct {
	OsPreference *OsPreferenceSpecifics `protobuf:"bytes,702141,opt,name=os_preference,json=osPreference,oneof"`
}

type EntitySpecifics_OsPriorityPreference

type EntitySpecifics_OsPriorityPreference struct {
	OsPriorityPreference *OsPriorityPreferenceSpecifics `protobuf:"bytes,703915,opt,name=os_priority_preference,json=osPriorityPreference,oneof"`
}

type EntitySpecifics_Password

type EntitySpecifics_Password struct {
	Password *PasswordSpecifics `protobuf:"bytes,45873,opt,name=password,oneof"`
}

type EntitySpecifics_Preference

type EntitySpecifics_Preference struct {
	Preference *PreferenceSpecifics `protobuf:"bytes,37702,opt,name=preference,oneof"`
}

type EntitySpecifics_Printer

type EntitySpecifics_Printer struct {
	Printer *PrinterSpecifics `protobuf:"bytes,410745,opt,name=printer,oneof"`
}

type EntitySpecifics_PriorityPreference

type EntitySpecifics_PriorityPreference struct {
	PriorityPreference *PriorityPreferenceSpecifics `protobuf:"bytes,163425,opt,name=priority_preference,json=priorityPreference,oneof"`
}

type EntitySpecifics_ReadingList

type EntitySpecifics_ReadingList struct {
	ReadingList *ReadingListSpecifics `protobuf:"bytes,411028,opt,name=reading_list,json=readingList,oneof"`
}

type EntitySpecifics_SearchEngine

type EntitySpecifics_SearchEngine struct {
	SearchEngine *SearchEngineSpecifics `protobuf:"bytes,88610,opt,name=search_engine,json=searchEngine,oneof"`
}

type EntitySpecifics_SecurityEvent

type EntitySpecifics_SecurityEvent struct {
	SecurityEvent *SecurityEventSpecifics `protobuf:"bytes,600372,opt,name=security_event,json=securityEvent,oneof"`
}

type EntitySpecifics_SendTabToSelf

type EntitySpecifics_SendTabToSelf struct {
	SendTabToSelf *SendTabToSelfSpecifics `protobuf:"bytes,601980,opt,name=send_tab_to_self,json=sendTabToSelf,oneof"`
}

type EntitySpecifics_Session

type EntitySpecifics_Session struct {
	Session *SessionSpecifics `protobuf:"bytes,50119,opt,name=session,oneof"`
}

type EntitySpecifics_SharingMessage

type EntitySpecifics_SharingMessage struct {
	SharingMessage *SharingMessageSpecifics `protobuf:"bytes,728866,opt,name=sharing_message,json=sharingMessage,oneof"`
}

type EntitySpecifics_SyncedNotification

type EntitySpecifics_SyncedNotification struct {
	// TODO(crbug.com/1012648): |synced_notification| and
	// |synced_notification_app_info| aren't used by the client anymore, but the
	// server still needs them for now.
	//
	// Deprecated: Do not use.
	SyncedNotification *SyncedNotificationSpecifics `protobuf:"bytes,153108,opt,name=synced_notification,json=syncedNotification,oneof"`
}

type EntitySpecifics_SyncedNotificationAppInfo

type EntitySpecifics_SyncedNotificationAppInfo struct {
	// Deprecated: Do not use.
	SyncedNotificationAppInfo *SyncedNotificationAppInfoSpecifics `protobuf:"bytes,235816,opt,name=synced_notification_app_info,json=syncedNotificationAppInfo,oneof"`
}

type EntitySpecifics_Theme

type EntitySpecifics_Theme struct {
	Theme *ThemeSpecifics `protobuf:"bytes,41210,opt,name=theme,oneof"`
}

type EntitySpecifics_TypedUrl

type EntitySpecifics_TypedUrl struct {
	TypedUrl *TypedUrlSpecifics `protobuf:"bytes,40781,opt,name=typed_url,json=typedUrl,oneof"`
}

type EntitySpecifics_UserConsent

type EntitySpecifics_UserConsent struct {
	UserConsent *UserConsentSpecifics `protobuf:"bytes,556014,opt,name=user_consent,json=userConsent,oneof"`
}

type EntitySpecifics_UserEvent

type EntitySpecifics_UserEvent struct {
	UserEvent *UserEventSpecifics `protobuf:"bytes,455206,opt,name=user_event,json=userEvent,oneof"`
}

type EntitySpecifics_WalletMetadata

type EntitySpecifics_WalletMetadata struct {
	WalletMetadata *WalletMetadataSpecifics `protobuf:"bytes,330441,opt,name=wallet_metadata,json=walletMetadata,oneof"`
}

type EntitySpecifics_WebApp

type EntitySpecifics_WebApp struct {
	WebApp *WebAppSpecifics `protobuf:"bytes,673225,opt,name=web_app,json=webApp,oneof"`
}

type EntitySpecifics_WifiConfiguration

type EntitySpecifics_WifiConfiguration struct {
	WifiConfiguration *WifiConfigurationSpecifics `protobuf:"bytes,662827,opt,name=wifi_configuration,json=wifiConfiguration,oneof"`
}

type EventRequest

type EventRequest struct {
	SyncDisabled *SyncDisabledEvent `protobuf:"bytes,1,opt,name=sync_disabled,json=syncDisabled" json:"sync_disabled,omitempty"`
	// contains filtered or unexported fields
}

A message to notify the server of certain sync events. Idempotent. Send these to the /event endpoint.

func (*EventRequest) Descriptor deprecated

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

Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.

func (*EventRequest) GetSyncDisabled

func (x *EventRequest) GetSyncDisabled() *SyncDisabledEvent

func (*EventRequest) ProtoMessage

func (*EventRequest) ProtoMessage()

func (*EventRequest) ProtoReflect added in v0.1.3

func (x *EventRequest) ProtoReflect() protoreflect.Message

func (*EventRequest) Reset

func (x *EventRequest) Reset()

func (*EventRequest) String

func (x *EventRequest) String() string

type EventResponse

type EventResponse struct {
	// contains filtered or unexported fields
}

func (*EventResponse) Descriptor deprecated

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

Deprecated: Use EventResponse.ProtoReflect.Descriptor instead.

func (*EventResponse) ProtoMessage

func (*EventResponse) ProtoMessage()

func (*EventResponse) ProtoReflect added in v0.1.3

func (x *EventResponse) ProtoReflect() protoreflect.Message

func (*EventResponse) Reset

func (x *EventResponse) Reset()

func (*EventResponse) String

func (x *EventResponse) String() string

type ExperimentStatusRequest

type ExperimentStatusRequest struct {

	// Enumerates the experiments for which the status should be returned.  An
	// experiment name must be the same as one of the field names specified in
	// ExperimentsSpecifics.  See sync/protocol/experiments_specifics.proto.
	ExperimentName []string `protobuf:"bytes,1,rep,name=experiment_name,json=experimentName" json:"experiment_name,omitempty"`
	// contains filtered or unexported fields
}

This request allows an unauthenticated client to check the status of the experiments which do not require user authentication. The status of an experiment for a specific client can be determined based on the user agent string and/or the client id sent in the HTTPS POST request.

func (*ExperimentStatusRequest) Descriptor deprecated

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

Deprecated: Use ExperimentStatusRequest.ProtoReflect.Descriptor instead.

func (*ExperimentStatusRequest) GetExperimentName

func (x *ExperimentStatusRequest) GetExperimentName() []string

func (*ExperimentStatusRequest) ProtoMessage

func (*ExperimentStatusRequest) ProtoMessage()

func (*ExperimentStatusRequest) ProtoReflect added in v0.1.3

func (x *ExperimentStatusRequest) ProtoReflect() protoreflect.Message

func (*ExperimentStatusRequest) Reset

func (x *ExperimentStatusRequest) Reset()

func (*ExperimentStatusRequest) String

func (x *ExperimentStatusRequest) String() string

type ExperimentStatusResponse

type ExperimentStatusResponse struct {

	// Minimal time to wait before issuing another request.
	PollIntervalSeconds *int32 `protobuf:"varint,1,opt,name=poll_interval_seconds,json=pollIntervalSeconds,def=3600" json:"poll_interval_seconds,omitempty"`
	// The experiments that the client has asked for, with each experiment
	// containing exactly one experiment flag.  The client can inspect the
	// embedded flag to obtain the experiment status.  Note that the number of
	// experiments should be less than or equal to the number of experiment_name
	// sent in the request since it is possible that there is no experiment
	// matching an experiment_name.
	Experiment []*ExperimentsSpecifics `protobuf:"bytes,2,rep,name=experiment" json:"experiment,omitempty"`
	// contains filtered or unexported fields
}

Response to an experiment status request.

func (*ExperimentStatusResponse) Descriptor deprecated

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

Deprecated: Use ExperimentStatusResponse.ProtoReflect.Descriptor instead.

func (*ExperimentStatusResponse) GetExperiment

func (x *ExperimentStatusResponse) GetExperiment() []*ExperimentsSpecifics

func (*ExperimentStatusResponse) GetPollIntervalSeconds

func (x *ExperimentStatusResponse) GetPollIntervalSeconds() int32

func (*ExperimentStatusResponse) ProtoMessage

func (*ExperimentStatusResponse) ProtoMessage()

func (*ExperimentStatusResponse) ProtoReflect added in v0.1.3

func (x *ExperimentStatusResponse) ProtoReflect() protoreflect.Message

func (*ExperimentStatusResponse) Reset

func (x *ExperimentStatusResponse) Reset()

func (*ExperimentStatusResponse) String

func (x *ExperimentStatusResponse) String() string

type ExperimentsSpecifics

type ExperimentsSpecifics struct {
	KeystoreEncryption       *KeystoreEncryptionFlags       `protobuf:"bytes,1,opt,name=keystore_encryption,json=keystoreEncryption" json:"keystore_encryption,omitempty"`
	HistoryDeleteDirectives  *HistoryDeleteDirectives       `protobuf:"bytes,2,opt,name=history_delete_directives,json=historyDeleteDirectives" json:"history_delete_directives,omitempty"`
	AutofillCulling          *AutofillCullingFlags          `protobuf:"bytes,3,opt,name=autofill_culling,json=autofillCulling" json:"autofill_culling,omitempty"`
	FaviconSync              *FaviconSyncFlags              `protobuf:"bytes,4,opt,name=favicon_sync,json=faviconSync" json:"favicon_sync,omitempty"`
	PreCommitUpdateAvoidance *PreCommitUpdateAvoidanceFlags `` /* 130-byte string literal not displayed */
	GcmChannel               *GcmChannelFlags               `protobuf:"bytes,6,opt,name=gcm_channel,json=gcmChannel" json:"gcm_channel,omitempty"`
	// No longer used as of M43.
	ObsoleteEnhancedBookmarks *EnhancedBookmarksFlags `` /* 131-byte string literal not displayed */
	// No longer used as of M72.
	GcmInvalidations *GcmInvalidationsFlags `protobuf:"bytes,8,opt,name=gcm_invalidations,json=gcmInvalidations" json:"gcm_invalidations,omitempty"`
	// No longer used as of M51.
	ObsoleteWalletSync *WalletSyncFlags `protobuf:"bytes,9,opt,name=obsolete_wallet_sync,json=obsoleteWalletSync" json:"obsolete_wallet_sync,omitempty"`
	// contains filtered or unexported fields
}

Contains one flag or set of related flags. Each node of the experiments type will have a unique_client_tag identifying which flags it contains. By convention, the tag name should match the sub-message name.

func (*ExperimentsSpecifics) Descriptor deprecated

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

Deprecated: Use ExperimentsSpecifics.ProtoReflect.Descriptor instead.

func (*ExperimentsSpecifics) GetAutofillCulling

func (x *ExperimentsSpecifics) GetAutofillCulling() *AutofillCullingFlags

func (*ExperimentsSpecifics) GetFaviconSync

func (x *ExperimentsSpecifics) GetFaviconSync() *FaviconSyncFlags

func (*ExperimentsSpecifics) GetGcmChannel

func (x *ExperimentsSpecifics) GetGcmChannel() *GcmChannelFlags

func (*ExperimentsSpecifics) GetGcmInvalidations

func (x *ExperimentsSpecifics) GetGcmInvalidations() *GcmInvalidationsFlags

func (*ExperimentsSpecifics) GetHistoryDeleteDirectives

func (x *ExperimentsSpecifics) GetHistoryDeleteDirectives() *HistoryDeleteDirectives

func (*ExperimentsSpecifics) GetKeystoreEncryption

func (x *ExperimentsSpecifics) GetKeystoreEncryption() *KeystoreEncryptionFlags

func (*ExperimentsSpecifics) GetObsoleteEnhancedBookmarks

func (x *ExperimentsSpecifics) GetObsoleteEnhancedBookmarks() *EnhancedBookmarksFlags

func (*ExperimentsSpecifics) GetObsoleteWalletSync

func (x *ExperimentsSpecifics) GetObsoleteWalletSync() *WalletSyncFlags

func (*ExperimentsSpecifics) GetPreCommitUpdateAvoidance

func (x *ExperimentsSpecifics) GetPreCommitUpdateAvoidance() *PreCommitUpdateAvoidanceFlags

func (*ExperimentsSpecifics) ProtoMessage

func (*ExperimentsSpecifics) ProtoMessage()

func (*ExperimentsSpecifics) ProtoReflect added in v0.1.3

func (x *ExperimentsSpecifics) ProtoReflect() protoreflect.Message

func (*ExperimentsSpecifics) Reset

func (x *ExperimentsSpecifics) Reset()

func (*ExperimentsSpecifics) String

func (x *ExperimentsSpecifics) String() string

type ExtensionSettingSpecifics

type ExtensionSettingSpecifics struct {

	// Id of the extension the setting is for.
	ExtensionId *string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId" json:"extension_id,omitempty"`
	// Setting key.
	Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// Setting value serialized as JSON.
	Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Properties of extension setting sync objects.

func (*ExtensionSettingSpecifics) Descriptor deprecated

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

Deprecated: Use ExtensionSettingSpecifics.ProtoReflect.Descriptor instead.

func (*ExtensionSettingSpecifics) GetExtensionId

func (x *ExtensionSettingSpecifics) GetExtensionId() string

func (*ExtensionSettingSpecifics) GetKey

func (x *ExtensionSettingSpecifics) GetKey() string

func (*ExtensionSettingSpecifics) GetValue

func (x *ExtensionSettingSpecifics) GetValue() string

func (*ExtensionSettingSpecifics) ProtoMessage

func (*ExtensionSettingSpecifics) ProtoMessage()

func (*ExtensionSettingSpecifics) ProtoReflect added in v0.1.3

func (*ExtensionSettingSpecifics) Reset

func (x *ExtensionSettingSpecifics) Reset()

func (*ExtensionSettingSpecifics) String

func (x *ExtensionSettingSpecifics) String() string

type ExtensionSpecifics

type ExtensionSpecifics struct {

	// Globally unique id for this extension.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The known installed version.
	Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// Auto-update URL to use for this extension.  May be blank, in
	// which case the default one (i.e., the one for the Chrome
	// Extensions Gallery) is used.
	UpdateUrl *string `protobuf:"bytes,3,opt,name=update_url,json=updateUrl" json:"update_url,omitempty"`
	// Whether or not this extension is enabled.
	Enabled *bool `protobuf:"varint,4,opt,name=enabled" json:"enabled,omitempty"`
	// Whether or not this extension is enabled in incognito mode.
	IncognitoEnabled *bool `protobuf:"varint,5,opt,name=incognito_enabled,json=incognitoEnabled" json:"incognito_enabled,omitempty"`
	// The name of the extension. Used for bookmark apps.
	Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
	// Whether this extension was installed remotely, and hasn't been approved by
	// a user in chrome yet.
	RemoteInstall *bool `protobuf:"varint,7,opt,name=remote_install,json=remoteInstall" json:"remote_install,omitempty"`
	// DEPRECATED. See https://crbug.com/1014183.
	//
	// Deprecated: Do not use.
	InstalledByCustodian *bool `protobuf:"varint,8,opt,name=installed_by_custodian,json=installedByCustodian" json:"installed_by_custodian,omitempty"`
	// DEPRECATED. See https://crbug.com/839681.
	//
	// Deprecated: Do not use.
	AllUrlsEnabled *bool `protobuf:"varint,9,opt,name=all_urls_enabled,json=allUrlsEnabled" json:"all_urls_enabled,omitempty"`
	// Bitmask of the set of reasons why the extension is disabled (see
	// extensions::disable_reason::DisableReason). Only relevant when enabled ==
	// false. Note that old clients (<M45) won't set this, even when enabled is
	// false.
	DisableReasons *int32 `protobuf:"varint,10,opt,name=disable_reasons,json=disableReasons" json:"disable_reasons,omitempty"`
	// contains filtered or unexported fields
}

Properties of extension sync objects.

Merge policy: the settings for the higher version number win; in the case of a tie, server wins.

func (*ExtensionSpecifics) Descriptor deprecated

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

Deprecated: Use ExtensionSpecifics.ProtoReflect.Descriptor instead.

func (*ExtensionSpecifics) GetAllUrlsEnabled deprecated

func (x *ExtensionSpecifics) GetAllUrlsEnabled() bool

Deprecated: Do not use.

func (*ExtensionSpecifics) GetDisableReasons

func (x *ExtensionSpecifics) GetDisableReasons() int32

func (*ExtensionSpecifics) GetEnabled

func (x *ExtensionSpecifics) GetEnabled() bool

func (*ExtensionSpecifics) GetId

func (x *ExtensionSpecifics) GetId() string

func (*ExtensionSpecifics) GetIncognitoEnabled

func (x *ExtensionSpecifics) GetIncognitoEnabled() bool

func (*ExtensionSpecifics) GetInstalledByCustodian deprecated

func (x *ExtensionSpecifics) GetInstalledByCustodian() bool

Deprecated: Do not use.

func (*ExtensionSpecifics) GetName

func (x *ExtensionSpecifics) GetName() string

func (*ExtensionSpecifics) GetRemoteInstall

func (x *ExtensionSpecifics) GetRemoteInstall() bool

func (*ExtensionSpecifics) GetUpdateUrl

func (x *ExtensionSpecifics) GetUpdateUrl() string

func (*ExtensionSpecifics) GetVersion

func (x *ExtensionSpecifics) GetVersion() string

func (*ExtensionSpecifics) ProtoMessage

func (*ExtensionSpecifics) ProtoMessage()

func (*ExtensionSpecifics) ProtoReflect added in v0.1.3

func (x *ExtensionSpecifics) ProtoReflect() protoreflect.Message

func (*ExtensionSpecifics) Reset

func (x *ExtensionSpecifics) Reset()

func (*ExtensionSpecifics) String

func (x *ExtensionSpecifics) String() string

type FaviconData

type FaviconData struct {

	// The image data for the favicon (PNG encoded).
	Favicon []byte `protobuf:"bytes,1,opt,name=favicon" json:"favicon,omitempty"`
	// The favicon dimensions.
	Width  *int32 `protobuf:"varint,2,opt,name=width" json:"width,omitempty"`
	Height *int32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*FaviconData) Descriptor deprecated

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

Deprecated: Use FaviconData.ProtoReflect.Descriptor instead.

func (*FaviconData) GetFavicon

func (x *FaviconData) GetFavicon() []byte

func (*FaviconData) GetHeight

func (x *FaviconData) GetHeight() int32

func (*FaviconData) GetWidth

func (x *FaviconData) GetWidth() int32

func (*FaviconData) ProtoMessage

func (*FaviconData) ProtoMessage()

func (*FaviconData) ProtoReflect added in v0.1.3

func (x *FaviconData) ProtoReflect() protoreflect.Message

func (*FaviconData) Reset

func (x *FaviconData) Reset()

func (*FaviconData) String

func (x *FaviconData) String() string

type FaviconImageSpecifics

type FaviconImageSpecifics struct {

	// The url of the favicon image.
	FaviconUrl *string `protobuf:"bytes,1,opt,name=favicon_url,json=faviconUrl" json:"favicon_url,omitempty"`
	// A normal low-resolution web favicon (max resolution 16x16).
	FaviconWeb *FaviconData `protobuf:"bytes,2,opt,name=favicon_web,json=faviconWeb" json:"favicon_web,omitempty"`
	// A slightly higher-resolution web favicon (max resolution 32x32).
	FaviconWeb_32 *FaviconData `protobuf:"bytes,3,opt,name=favicon_web_32,json=faviconWeb32" json:"favicon_web_32,omitempty"`
	// A high-resolution touch favicon (not precomposed, max resolution 64x64).
	FaviconTouch_64 *FaviconData `protobuf:"bytes,4,opt,name=favicon_touch_64,json=faviconTouch64" json:"favicon_touch_64,omitempty"`
	// A high-resolution touch favicon (precomposed, max resolution 64x64).
	FaviconTouchPrecomposed_64 *FaviconData `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Image data for favicons. Multiple resolutions are supported.

func (*FaviconImageSpecifics) Descriptor deprecated

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

Deprecated: Use FaviconImageSpecifics.ProtoReflect.Descriptor instead.

func (*FaviconImageSpecifics) GetFaviconTouchPrecomposed_64

func (x *FaviconImageSpecifics) GetFaviconTouchPrecomposed_64() *FaviconData

func (*FaviconImageSpecifics) GetFaviconTouch_64

func (x *FaviconImageSpecifics) GetFaviconTouch_64() *FaviconData

func (*FaviconImageSpecifics) GetFaviconUrl

func (x *FaviconImageSpecifics) GetFaviconUrl() string

func (*FaviconImageSpecifics) GetFaviconWeb

func (x *FaviconImageSpecifics) GetFaviconWeb() *FaviconData

func (*FaviconImageSpecifics) GetFaviconWeb_32

func (x *FaviconImageSpecifics) GetFaviconWeb_32() *FaviconData

func (*FaviconImageSpecifics) ProtoMessage

func (*FaviconImageSpecifics) ProtoMessage()

func (*FaviconImageSpecifics) ProtoReflect added in v0.1.3

func (x *FaviconImageSpecifics) ProtoReflect() protoreflect.Message

func (*FaviconImageSpecifics) Reset

func (x *FaviconImageSpecifics) Reset()

func (*FaviconImageSpecifics) String

func (x *FaviconImageSpecifics) String() string

type FaviconSyncFlags

type FaviconSyncFlags struct {
	Enabled          *bool  `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	FaviconSyncLimit *int32 `protobuf:"varint,2,opt,name=favicon_sync_limit,json=faviconSyncLimit,def=200" json:"favicon_sync_limit,omitempty"`
	// contains filtered or unexported fields
}

Whether the favicon sync datatypes are enabled, and what parameters they should operate under.

func (*FaviconSyncFlags) Descriptor deprecated

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

Deprecated: Use FaviconSyncFlags.ProtoReflect.Descriptor instead.

func (*FaviconSyncFlags) GetEnabled

func (x *FaviconSyncFlags) GetEnabled() bool

func (*FaviconSyncFlags) GetFaviconSyncLimit

func (x *FaviconSyncFlags) GetFaviconSyncLimit() int32

func (*FaviconSyncFlags) ProtoMessage

func (*FaviconSyncFlags) ProtoMessage()

func (*FaviconSyncFlags) ProtoReflect added in v0.1.3

func (x *FaviconSyncFlags) ProtoReflect() protoreflect.Message

func (*FaviconSyncFlags) Reset

func (x *FaviconSyncFlags) Reset()

func (*FaviconSyncFlags) String

func (x *FaviconSyncFlags) String() string

type FaviconTrackingSpecifics

type FaviconTrackingSpecifics struct {

	// The url of the favicon image.
	FaviconUrl *string `protobuf:"bytes,1,opt,name=favicon_url,json=faviconUrl" json:"favicon_url,omitempty"`
	// The last time a page using this favicon was visited (in milliseconds
	// since linux epoch).
	LastVisitTimeMs *int64 `protobuf:"varint,3,opt,name=last_visit_time_ms,json=lastVisitTimeMs" json:"last_visit_time_ms,omitempty"`
	// Whether this favicon is currently bookmarked or not.
	IsBookmarked *bool `protobuf:"varint,4,opt,name=is_bookmarked,json=isBookmarked" json:"is_bookmarked,omitempty"`
	// contains filtered or unexported fields
}

Tracking info for of favicon images. These control expiration of images from sync based on recency, bookmark state, etc.

func (*FaviconTrackingSpecifics) Descriptor deprecated

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

Deprecated: Use FaviconTrackingSpecifics.ProtoReflect.Descriptor instead.

func (*FaviconTrackingSpecifics) GetFaviconUrl

func (x *FaviconTrackingSpecifics) GetFaviconUrl() string

func (*FaviconTrackingSpecifics) GetIsBookmarked

func (x *FaviconTrackingSpecifics) GetIsBookmarked() bool

func (*FaviconTrackingSpecifics) GetLastVisitTimeMs

func (x *FaviconTrackingSpecifics) GetLastVisitTimeMs() int64

func (*FaviconTrackingSpecifics) ProtoMessage

func (*FaviconTrackingSpecifics) ProtoMessage()

func (*FaviconTrackingSpecifics) ProtoReflect added in v0.1.3

func (x *FaviconTrackingSpecifics) ProtoReflect() protoreflect.Message

func (*FaviconTrackingSpecifics) Reset

func (x *FaviconTrackingSpecifics) Reset()

func (*FaviconTrackingSpecifics) String

func (x *FaviconTrackingSpecifics) String() string

type FeatureSpecificFields

type FeatureSpecificFields struct {

	// Tracks whether the SendTabToSelf feature is enabled on the device. For this
	// to be true, two things must be true: (1) The receiving side of the feature
	// must be enabled on the device (2) The user has enabled sync for this
	// feature
	SendTabToSelfReceivingEnabled *bool `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feature specific information about the device that is running a sync-enabled Chrome browser. Adding to this proto is discouraged and should only be added when the information can not be derived more generally.

func (*FeatureSpecificFields) Descriptor deprecated

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

Deprecated: Use FeatureSpecificFields.ProtoReflect.Descriptor instead.

func (*FeatureSpecificFields) GetSendTabToSelfReceivingEnabled

func (x *FeatureSpecificFields) GetSendTabToSelfReceivingEnabled() bool

func (*FeatureSpecificFields) ProtoMessage

func (*FeatureSpecificFields) ProtoMessage()

func (*FeatureSpecificFields) ProtoReflect added in v0.1.3

func (x *FeatureSpecificFields) ProtoReflect() protoreflect.Message

func (*FeatureSpecificFields) Reset

func (x *FeatureSpecificFields) Reset()

func (*FeatureSpecificFields) String

func (x *FeatureSpecificFields) String() string

type GaiaPasswordReuse

type GaiaPasswordReuse struct {
	ReuseDetected *GaiaPasswordReuse_PasswordReuseDetected `protobuf:"bytes,1,opt,name=reuse_detected,json=reuseDetected" json:"reuse_detected,omitempty"`
	// Logged when we try to detect whether the password was reused on a
	// Phishing or a Low-reputation site.
	ReuseLookup       *GaiaPasswordReuse_PasswordReuseLookup            `protobuf:"bytes,2,opt,name=reuse_lookup,json=reuseLookup" json:"reuse_lookup,omitempty"`
	DialogInteraction *GaiaPasswordReuse_PasswordReuseDialogInteraction `protobuf:"bytes,3,opt,name=dialog_interaction,json=dialogInteraction" json:"dialog_interaction,omitempty"`
	PasswordCaptured  *GaiaPasswordReuse_PasswordCaptured               `protobuf:"bytes,4,opt,name=password_captured,json=passwordCaptured" json:"password_captured,omitempty"`
	// contains filtered or unexported fields
}

User reused their GAIA password on another website.

func (*GaiaPasswordReuse) Descriptor deprecated

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

Deprecated: Use GaiaPasswordReuse.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse) GetDialogInteraction

func (*GaiaPasswordReuse) GetPasswordCaptured

func (x *GaiaPasswordReuse) GetPasswordCaptured() *GaiaPasswordReuse_PasswordCaptured

func (*GaiaPasswordReuse) GetReuseDetected

func (*GaiaPasswordReuse) GetReuseLookup

func (*GaiaPasswordReuse) ProtoMessage

func (*GaiaPasswordReuse) ProtoMessage()

func (*GaiaPasswordReuse) ProtoReflect added in v0.1.3

func (x *GaiaPasswordReuse) ProtoReflect() protoreflect.Message

func (*GaiaPasswordReuse) Reset

func (x *GaiaPasswordReuse) Reset()

func (*GaiaPasswordReuse) String

func (x *GaiaPasswordReuse) String() string

type GaiaPasswordReuse_PasswordCaptured

type GaiaPasswordReuse_PasswordCaptured struct {
	EventTrigger *GaiaPasswordReuse_PasswordCaptured_EventTrigger `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

TODO(markusheintz): Remove DEPRECATED: DO NOT USE! Logged when the user logs into Google, and at least once per 28d.

func (*GaiaPasswordReuse_PasswordCaptured) Descriptor deprecated

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

Deprecated: Use GaiaPasswordReuse_PasswordCaptured.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse_PasswordCaptured) GetEventTrigger

func (*GaiaPasswordReuse_PasswordCaptured) ProtoMessage

func (*GaiaPasswordReuse_PasswordCaptured) ProtoMessage()

func (*GaiaPasswordReuse_PasswordCaptured) ProtoReflect added in v0.1.3

func (*GaiaPasswordReuse_PasswordCaptured) Reset

func (*GaiaPasswordReuse_PasswordCaptured) String

type GaiaPasswordReuse_PasswordCaptured_EventTrigger

type GaiaPasswordReuse_PasswordCaptured_EventTrigger int32
const (
	GaiaPasswordReuse_PasswordCaptured_UNSPECIFIED GaiaPasswordReuse_PasswordCaptured_EventTrigger = 0
	// Event added because user logged in.
	GaiaPasswordReuse_PasswordCaptured_USER_LOGGED_IN GaiaPasswordReuse_PasswordCaptured_EventTrigger = 1
	// Event added because 28d timer fired.
	GaiaPasswordReuse_PasswordCaptured_EXPIRED_28D_TIMER GaiaPasswordReuse_PasswordCaptured_EventTrigger = 2
)

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) Descriptor added in v0.1.3

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) Enum

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) EnumDescriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordCaptured_EventTrigger.Descriptor instead.

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) Number added in v0.1.3

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) String

func (GaiaPasswordReuse_PasswordCaptured_EventTrigger) Type added in v0.1.3

func (*GaiaPasswordReuse_PasswordCaptured_EventTrigger) UnmarshalJSON deprecated

Deprecated: Do not use.

type GaiaPasswordReuse_PasswordReuseDetected

type GaiaPasswordReuse_PasswordReuseDetected struct {
	Status *GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Logged when we detect a password re-use event on a non-GAIA site. If the user hasn’t enabled SafeBrowsing, this will be the last event.

func (*GaiaPasswordReuse_PasswordReuseDetected) Descriptor deprecated

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

Deprecated: Use GaiaPasswordReuse_PasswordReuseDetected.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse_PasswordReuseDetected) GetStatus

func (*GaiaPasswordReuse_PasswordReuseDetected) ProtoMessage

func (*GaiaPasswordReuse_PasswordReuseDetected) ProtoReflect added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseDetected) Reset

func (*GaiaPasswordReuse_PasswordReuseDetected) String

type GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus

type GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus struct {

	// Is SafeBrowsing enabled?
	Enabled                         *bool                                                                           `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	SafeBrowsingReportingPopulation *GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation `` /* 244-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) Descriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) GetEnabled

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) GetSafeBrowsingReportingPopulation

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) ProtoMessage

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) ProtoReflect added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) Reset

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus) String

type GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation

type GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation int32

If SafeBrowsing is enabled, is the user opted-in to extended reporting or Scout?

const (
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_REPORTING_POPULATION_UNSPECIFIED GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation = 0
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_NONE                             GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation = 1
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_EXTENDED_REPORTING               GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation = 2
	GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_SCOUT                            GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation = 3
)

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) Descriptor added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) Enum

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) EnumDescriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation.Descriptor instead.

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) Number added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) String

func (GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) Type added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseDetected_SafeBrowsingStatus_ReportingPopulation) UnmarshalJSON deprecated

type GaiaPasswordReuse_PasswordReuseDialogInteraction

type GaiaPasswordReuse_PasswordReuseDialogInteraction struct {
	InteractionResult *GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

Logged when the user interacts with the warning UI shown to encourage password change if the site is Phishing or Low-reputation.

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) Descriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseDialogInteraction.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) GetInteractionResult

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) ProtoMessage

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) ProtoReflect added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) Reset

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction) String

type GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult

type GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult int32
const (
	GaiaPasswordReuse_PasswordReuseDialogInteraction_UNSPECIFIED GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult = 0
	// The user took the action suggested by the warning prompt.
	GaiaPasswordReuse_PasswordReuseDialogInteraction_WARNING_ACTION_TAKEN GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult = 1
	// The user clicked ignore in the warning prompt.
	GaiaPasswordReuse_PasswordReuseDialogInteraction_WARNING_ACTION_IGNORED GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult = 2
	// The warning UI was ignored, i.e. not interacted with by the user.
	// This could happen if the user navigates away from the page.
	GaiaPasswordReuse_PasswordReuseDialogInteraction_WARNING_UI_IGNORED GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult = 3
	// The user clicked "Change Password" on chrome://settings page.
	GaiaPasswordReuse_PasswordReuseDialogInteraction_WARNING_ACTION_TAKEN_ON_SETTINGS GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult = 4
)

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) Descriptor added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) Enum

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) EnumDescriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult.Descriptor instead.

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) Number added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) String

func (GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) Type added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseDialogInteraction_InteractionResult) UnmarshalJSON deprecated

Deprecated: Do not use.

type GaiaPasswordReuse_PasswordReuseLookup

type GaiaPasswordReuse_PasswordReuseLookup struct {
	LookupResult *GaiaPasswordReuse_PasswordReuseLookup_LookupResult      `` /* 155-byte string literal not displayed */
	Verdict      *GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict `` /* 130-byte string literal not displayed */
	// PhishGuard token that identifies the verdict on the server.
	VerdictToken []byte `protobuf:"bytes,3,opt,name=verdict_token,json=verdictToken" json:"verdict_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GaiaPasswordReuse_PasswordReuseLookup) Descriptor deprecated

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

Deprecated: Use GaiaPasswordReuse_PasswordReuseLookup.ProtoReflect.Descriptor instead.

func (*GaiaPasswordReuse_PasswordReuseLookup) GetLookupResult

func (*GaiaPasswordReuse_PasswordReuseLookup) GetVerdict

func (*GaiaPasswordReuse_PasswordReuseLookup) GetVerdictToken

func (x *GaiaPasswordReuse_PasswordReuseLookup) GetVerdictToken() []byte

func (*GaiaPasswordReuse_PasswordReuseLookup) ProtoMessage

func (*GaiaPasswordReuse_PasswordReuseLookup) ProtoMessage()

func (*GaiaPasswordReuse_PasswordReuseLookup) ProtoReflect added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseLookup) Reset

func (*GaiaPasswordReuse_PasswordReuseLookup) String

type GaiaPasswordReuse_PasswordReuseLookup_LookupResult

type GaiaPasswordReuse_PasswordReuseLookup_LookupResult int32
const (
	GaiaPasswordReuse_PasswordReuseLookup_UNSPECIFIED GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 0
	// URL did match the password reuse whitelist.
	// No further action required related to this re-use event.
	GaiaPasswordReuse_PasswordReuseLookup_WHITELIST_HIT GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 1
	// The URL exists in the client’s cache.
	// No further action required related to this re-use event.
	// This event also logs the ReputationVerdict.
	GaiaPasswordReuse_PasswordReuseLookup_CACHE_HIT GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 2
	// A valid response received from the SafeBrowsing service.
	// This event also logs the ReputationVerdict.
	GaiaPasswordReuse_PasswordReuseLookup_REQUEST_SUCCESS GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 3
	// Unable to get a valid response from the SafeBrowsing service.
	GaiaPasswordReuse_PasswordReuseLookup_REQUEST_FAILURE GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 4
	// We won't be able to compute reputation for the URL e.g. local IP
	// address, localhost, not-yet-assigned by ICANN gTLD, etc.
	GaiaPasswordReuse_PasswordReuseLookup_URL_UNSUPPORTED GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 5
	// URL did match enterprise whitelist.
	// No further action required related to this re-use event.
	GaiaPasswordReuse_PasswordReuseLookup_ENTERPRISE_WHITELIST_HIT GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 6
	// Password reuse lookup is turned off by enterprise policy.
	// No further action required related to this re-use event.
	GaiaPasswordReuse_PasswordReuseLookup_TURNED_OFF_BY_POLICY GaiaPasswordReuse_PasswordReuseLookup_LookupResult = 7
)

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) Descriptor added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) Enum

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) EnumDescriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseLookup_LookupResult.Descriptor instead.

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) Number added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) String

func (GaiaPasswordReuse_PasswordReuseLookup_LookupResult) Type added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseLookup_LookupResult) UnmarshalJSON deprecated

Deprecated: Do not use.

type GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict

type GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict int32

The following two are only present for CACHE_HIT and REQUEST_SUCCESS. The verdict received from the Reputation service. This is set only if the user has SafeBrowsing enabled and we fetch the verdict from the cache or by sending a verdict request.

const (
	GaiaPasswordReuse_PasswordReuseLookup_VERDICT_UNSPECIFIED GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict = 0
	GaiaPasswordReuse_PasswordReuseLookup_SAFE                GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict = 1
	GaiaPasswordReuse_PasswordReuseLookup_LOW_REPUTATION      GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict = 2
	GaiaPasswordReuse_PasswordReuseLookup_PHISHING            GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict = 3
)

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) Descriptor added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) Enum

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) EnumDescriptor deprecated

Deprecated: Use GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict.Descriptor instead.

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) Number added in v0.1.3

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) String

func (GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) Type added in v0.1.3

func (*GaiaPasswordReuse_PasswordReuseLookup_ReputationVerdict) UnmarshalJSON deprecated

Deprecated: Do not use.

type GarbageCollectionDirective

type GarbageCollectionDirective struct {
	Type *GarbageCollectionDirective_Type `protobuf:"varint,1,opt,name=type,enum=sync_pb.GarbageCollectionDirective_Type,def=0" json:"type,omitempty"`
	// This field specifies the watermark for the versions which should get
	// garbage collected.  The client should purge all sync entities when
	// receiving any value of this.  This is a change from previous behavior,
	// where the client would only be required to purge items older than the
	// specified watermark.
	// TODO(crbug.com/877951): Rename this to make clear that whenever it's set,
	// the client will delete ALL data, regardless of its value.
	VersionWatermark *int64 `protobuf:"varint,2,opt,name=version_watermark,json=versionWatermark" json:"version_watermark,omitempty"`
	// This field specifies the watermark in terms of age in days.  The client
	// should purge all sync entities which are older than this specific value
	// based on last modified time.
	AgeWatermarkInDays *int32 `protobuf:"varint,3,opt,name=age_watermark_in_days,json=ageWatermarkInDays" json:"age_watermark_in_days,omitempty"`
	// contains filtered or unexported fields
}

func (*GarbageCollectionDirective) Descriptor deprecated

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

Deprecated: Use GarbageCollectionDirective.ProtoReflect.Descriptor instead.

func (*GarbageCollectionDirective) GetAgeWatermarkInDays

func (x *GarbageCollectionDirective) GetAgeWatermarkInDays() int32

func (*GarbageCollectionDirective) GetType

func (*GarbageCollectionDirective) GetVersionWatermark

func (x *GarbageCollectionDirective) GetVersionWatermark() int64

func (*GarbageCollectionDirective) ProtoMessage

func (*GarbageCollectionDirective) ProtoMessage()

func (*GarbageCollectionDirective) ProtoReflect added in v0.1.3

func (*GarbageCollectionDirective) Reset

func (x *GarbageCollectionDirective) Reset()

func (*GarbageCollectionDirective) String

func (x *GarbageCollectionDirective) String() string

type GarbageCollectionDirective_Type

type GarbageCollectionDirective_Type int32
const (
	GarbageCollectionDirective_UNKNOWN           GarbageCollectionDirective_Type = 0
	GarbageCollectionDirective_VERSION_WATERMARK GarbageCollectionDirective_Type = 1
	GarbageCollectionDirective_AGE_WATERMARK     GarbageCollectionDirective_Type = 2
	// Deprecated: Do not use.
	GarbageCollectionDirective_DEPRECATED_MAX_ITEM_COUNT GarbageCollectionDirective_Type = 3
)

func (GarbageCollectionDirective_Type) Descriptor added in v0.1.3

func (GarbageCollectionDirective_Type) Enum

func (GarbageCollectionDirective_Type) EnumDescriptor deprecated

func (GarbageCollectionDirective_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GarbageCollectionDirective_Type.Descriptor instead.

func (GarbageCollectionDirective_Type) Number added in v0.1.3

func (GarbageCollectionDirective_Type) String

func (GarbageCollectionDirective_Type) Type added in v0.1.3

func (*GarbageCollectionDirective_Type) UnmarshalJSON deprecated

func (x *GarbageCollectionDirective_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GcmChannelFlags

type GcmChannelFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Flags for enabling the GCM feature.

func (*GcmChannelFlags) Descriptor deprecated

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

Deprecated: Use GcmChannelFlags.ProtoReflect.Descriptor instead.

func (*GcmChannelFlags) GetEnabled

func (x *GcmChannelFlags) GetEnabled() bool

func (*GcmChannelFlags) ProtoMessage

func (*GcmChannelFlags) ProtoMessage()

func (*GcmChannelFlags) ProtoReflect added in v0.1.3

func (x *GcmChannelFlags) ProtoReflect() protoreflect.Message

func (*GcmChannelFlags) Reset

func (x *GcmChannelFlags) Reset()

func (*GcmChannelFlags) String

func (x *GcmChannelFlags) String() string

type GcmInvalidationsFlags

type GcmInvalidationsFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Flags for enabling GCM channel for invalidations.

func (*GcmInvalidationsFlags) Descriptor deprecated

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

Deprecated: Use GcmInvalidationsFlags.ProtoReflect.Descriptor instead.

func (*GcmInvalidationsFlags) GetEnabled

func (x *GcmInvalidationsFlags) GetEnabled() bool

func (*GcmInvalidationsFlags) ProtoMessage

func (*GcmInvalidationsFlags) ProtoMessage()

func (*GcmInvalidationsFlags) ProtoReflect added in v0.1.3

func (x *GcmInvalidationsFlags) ProtoReflect() protoreflect.Message

func (*GcmInvalidationsFlags) Reset

func (x *GcmInvalidationsFlags) Reset()

func (*GcmInvalidationsFlags) String

func (x *GcmInvalidationsFlags) String() string

type GetCrashInfoRequest

type GetCrashInfoRequest struct {

	// Id of the uploaded crash.
	CrashId *string `protobuf:"bytes,1,opt,name=crash_id,json=crashId" json:"crash_id,omitempty"`
	// Time that the crash occurred.
	CrashTimeMillis *int64 `protobuf:"varint,2,opt,name=crash_time_millis,json=crashTimeMillis" json:"crash_time_millis,omitempty"`
	// contains filtered or unexported fields
}

This request allows the client to convert a specific crash identifier into more general information (e.g. hash of the crashing call stack) suitable for upload in an (authenticated) DebugInfo event.

func (*GetCrashInfoRequest) Descriptor deprecated

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

Deprecated: Use GetCrashInfoRequest.ProtoReflect.Descriptor instead.

func (*GetCrashInfoRequest) GetCrashId

func (x *GetCrashInfoRequest) GetCrashId() string

func (*GetCrashInfoRequest) GetCrashTimeMillis

func (x *GetCrashInfoRequest) GetCrashTimeMillis() int64

func (*GetCrashInfoRequest) ProtoMessage

func (*GetCrashInfoRequest) ProtoMessage()

func (*GetCrashInfoRequest) ProtoReflect added in v0.1.3

func (x *GetCrashInfoRequest) ProtoReflect() protoreflect.Message

func (*GetCrashInfoRequest) Reset

func (x *GetCrashInfoRequest) Reset()

func (*GetCrashInfoRequest) String

func (x *GetCrashInfoRequest) String() string

type GetCrashInfoResponse

type GetCrashInfoResponse struct {

	// Hash of the crashing call stack.
	StackId *string `protobuf:"bytes,1,opt,name=stack_id,json=stackId" json:"stack_id,omitempty"`
	// Time of the crash, potentially rounded to remove
	// significant bits.
	CrashTimeMillis *int64 `protobuf:"varint,2,opt,name=crash_time_millis,json=crashTimeMillis" json:"crash_time_millis,omitempty"`
	// contains filtered or unexported fields
}

Proto to be written in its entirety to the debug info log.

func (*GetCrashInfoResponse) Descriptor deprecated

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

Deprecated: Use GetCrashInfoResponse.ProtoReflect.Descriptor instead.

func (*GetCrashInfoResponse) GetCrashTimeMillis

func (x *GetCrashInfoResponse) GetCrashTimeMillis() int64

func (*GetCrashInfoResponse) GetStackId

func (x *GetCrashInfoResponse) GetStackId() string

func (*GetCrashInfoResponse) ProtoMessage

func (*GetCrashInfoResponse) ProtoMessage()

func (*GetCrashInfoResponse) ProtoReflect added in v0.1.3

func (x *GetCrashInfoResponse) ProtoReflect() protoreflect.Message

func (*GetCrashInfoResponse) Reset

func (x *GetCrashInfoResponse) Reset()

func (*GetCrashInfoResponse) String

func (x *GetCrashInfoResponse) String() string

type GetUpdateTriggers

type GetUpdateTriggers struct {

	// An opaque-to-the-client string of bytes, received through a notification,
	// that the server may interpret as a hint about the location of the latest
	// version of the data for this type.
	//
	// Note that this will eventually replace the 'optional' field of the same
	// name defined in the progress marker, but the client and server should
	// support both until it's safe to deprecate the old one.
	//
	// This field was introduced in M29.
	NotificationHint []string `protobuf:"bytes,1,rep,name=notification_hint,json=notificationHint" json:"notification_hint,omitempty"`
	// This flag is set if the client was forced to drop hints because the number
	// of queued hints exceeded its limit.  The oldest hints will be discarded
	// first.  Introduced in M29.
	ClientDroppedHints *bool `protobuf:"varint,2,opt,name=client_dropped_hints,json=clientDroppedHints" json:"client_dropped_hints,omitempty"`
	// This flag is set when the client suspects that its list of invalidation
	// hints may be incomplete.  This may be the case if:
	// - The client is syncing for the first time.
	// - The client has just restarted and it was unable to keep track of
	//   invalidations that were received prior to the restart.
	// - The client's connection to the invalidation server is currently or
	//   was recently broken.
	//
	// It's difficult to provide more details here.  This is implemented by
	// setting the flag to false whenever anything that might adversely affect
	// notifications happens (eg. a crash, restart on a platform that doesn't
	// support invalidation ack-tracking, transient invalidation error) and is
	// unset only after we've experienced one successful sync cycle while
	// notifications were enabled.
	//
	// This flag was introduced in M29.
	InvalidationsOutOfSync *bool `protobuf:"varint,3,opt,name=invalidations_out_of_sync,json=invalidationsOutOfSync" json:"invalidations_out_of_sync,omitempty"`
	// This counts the number of times the syncer has been asked to commit
	// changes for this type since the last successful sync cycle.  The number of
	// nudges may not be related to the actual number of items modified.  It
	// often correlates with the number of user actions, but that's not always
	// the case.
	// Introduced in M29.
	LocalModificationNudges *int64 `` /* 126-byte string literal not displayed */
	// This counts the number of times the syncer has been explicitly asked to
	// fetch updates for this type since the last successful sync cycle.  These
	// explicit refresh requests should be relatively rare on most platforms, and
	// associated with user actions.  For example, at the time of this writing
	// the most common (only?) source of refresh requests is when a user opens
	// the new tab page on a platform that does not support sessions
	// invalidations.
	// Introduced in M29.
	DatatypeRefreshNudges *int64 `protobuf:"varint,5,opt,name=datatype_refresh_nudges,json=datatypeRefreshNudges" json:"datatype_refresh_nudges,omitempty"`
	// This flag is set if the invalidation server reports that it may have
	// dropped some invalidations at some point.  Introduced in M33.
	ServerDroppedHints *bool `protobuf:"varint,6,opt,name=server_dropped_hints,json=serverDroppedHints" json:"server_dropped_hints,omitempty"`
	// This flag is set if this GetUpdate request is due at least in part due
	// to the fact that this type has not finished initial sync yet, and the
	// client would like to initialize itself with the server data.
	//
	// Only some types support performing an initial sync as part of a normal
	// GetUpdate request.  Many types must be in configure mode when fetching
	// initial sync data.
	//
	// Introduced in M38.
	InitialSyncInProgress *bool `protobuf:"varint,7,opt,name=initial_sync_in_progress,json=initialSyncInProgress" json:"initial_sync_in_progress,omitempty"`
	// This flag is set if this GetUpdate request is due to client receiving
	// conflict response from server, so client needs to sync and then resolve
	// conflict locally, and then commit again.
	//
	// Introduced in M42.
	SyncForResolveConflictInProgress *bool `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

This message communicates additional per-type information related to requests with origin GU_TRIGGER. This message is not relevant when any other origin value is used. Introduced in M29.

func (*GetUpdateTriggers) Descriptor deprecated

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

Deprecated: Use GetUpdateTriggers.ProtoReflect.Descriptor instead.

func (*GetUpdateTriggers) GetClientDroppedHints

func (x *GetUpdateTriggers) GetClientDroppedHints() bool

func (*GetUpdateTriggers) GetDatatypeRefreshNudges

func (x *GetUpdateTriggers) GetDatatypeRefreshNudges() int64

func (*GetUpdateTriggers) GetInitialSyncInProgress

func (x *GetUpdateTriggers) GetInitialSyncInProgress() bool

func (*GetUpdateTriggers) GetInvalidationsOutOfSync

func (x *GetUpdateTriggers) GetInvalidationsOutOfSync() bool

func (*GetUpdateTriggers) GetLocalModificationNudges

func (x *GetUpdateTriggers) GetLocalModificationNudges() int64

func (*GetUpdateTriggers) GetNotificationHint

func (x *GetUpdateTriggers) GetNotificationHint() []string

func (*GetUpdateTriggers) GetServerDroppedHints

func (x *GetUpdateTriggers) GetServerDroppedHints() bool

func (*GetUpdateTriggers) GetSyncForResolveConflictInProgress

func (x *GetUpdateTriggers) GetSyncForResolveConflictInProgress() bool

func (*GetUpdateTriggers) ProtoMessage

func (*GetUpdateTriggers) ProtoMessage()

func (*GetUpdateTriggers) ProtoReflect added in v0.1.3

func (x *GetUpdateTriggers) ProtoReflect() protoreflect.Message

func (*GetUpdateTriggers) Reset

func (x *GetUpdateTriggers) Reset()

func (*GetUpdateTriggers) String

func (x *GetUpdateTriggers) String() string

type GetUpdatesCallerInfo

type GetUpdatesCallerInfo struct {

	// Deprecated: Do not use.
	Source *GetUpdatesCallerInfo_GetUpdatesSource `protobuf:"varint,1,req,name=source,enum=sync_pb.GetUpdatesCallerInfo_GetUpdatesSource" json:"source,omitempty"`
	// True only if notifications were enabled for this GetUpdateMessage.
	// TODO(crbug.com/510165): Move this bool out of GetUpdatesCallerInfo so that
	// GetUpdatesCallerInfo can eventually be removed.
	NotificationsEnabled *bool `protobuf:"varint,2,opt,name=notifications_enabled,json=notificationsEnabled" json:"notifications_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUpdatesCallerInfo) Descriptor deprecated

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

Deprecated: Use GetUpdatesCallerInfo.ProtoReflect.Descriptor instead.

func (*GetUpdatesCallerInfo) GetNotificationsEnabled

func (x *GetUpdatesCallerInfo) GetNotificationsEnabled() bool

func (*GetUpdatesCallerInfo) GetSource deprecated

Deprecated: Do not use.

func (*GetUpdatesCallerInfo) ProtoMessage

func (*GetUpdatesCallerInfo) ProtoMessage()

func (*GetUpdatesCallerInfo) ProtoReflect added in v0.1.3

func (x *GetUpdatesCallerInfo) ProtoReflect() protoreflect.Message

func (*GetUpdatesCallerInfo) Reset

func (x *GetUpdatesCallerInfo) Reset()

func (*GetUpdatesCallerInfo) String

func (x *GetUpdatesCallerInfo) String() string

type GetUpdatesCallerInfo_GetUpdatesSource

type GetUpdatesCallerInfo_GetUpdatesSource int32

This enum was deprecated in M28. The preferred represenation of this information is now the GetUpdatesOrigin enum, which is defined in sync_enums.proto. TODO(crbug.com/510165): Remove all values except for UNKNOWN and stop filling the field once the server doesn't depend on it anymore.

const (
	GetUpdatesCallerInfo_UNKNOWN      GetUpdatesCallerInfo_GetUpdatesSource = 0 // The source was not set by the caller.
	GetUpdatesCallerInfo_FIRST_UPDATE GetUpdatesCallerInfo_GetUpdatesSource = 1 // First request after browser restart.  Not to
	// be confused with "NEW_CLIENT".
	GetUpdatesCallerInfo_LOCAL                    GetUpdatesCallerInfo_GetUpdatesSource = 2 // The source of the update was a local change.
	GetUpdatesCallerInfo_NOTIFICATION             GetUpdatesCallerInfo_GetUpdatesSource = 3 // The source of the update was a p2p notification.
	GetUpdatesCallerInfo_PERIODIC                 GetUpdatesCallerInfo_GetUpdatesSource = 4 // The source of the update was periodic polling.
	GetUpdatesCallerInfo_SYNC_CYCLE_CONTINUATION  GetUpdatesCallerInfo_GetUpdatesSource = 5 // The source of the update was a
	GetUpdatesCallerInfo_NEWLY_SUPPORTED_DATATYPE GetUpdatesCallerInfo_GetUpdatesSource = 7 // The client is in configuration mode
	// because it's syncing all datatypes, and
	// support for a new datatype was recently
	// released via a software auto-update.
	GetUpdatesCallerInfo_MIGRATION GetUpdatesCallerInfo_GetUpdatesSource = 8 // The client is in configuration mode because a
	// MIGRATION_DONE error previously returned by the
	// server necessitated resynchronization.
	GetUpdatesCallerInfo_NEW_CLIENT GetUpdatesCallerInfo_GetUpdatesSource = 9 // The client is in configuration mode because the
	// user enabled sync for the first time.  Not to be
	// confused with FIRST_UPDATE.
	GetUpdatesCallerInfo_RECONFIGURATION GetUpdatesCallerInfo_GetUpdatesSource = 10 // The client is in configuration mode because the
	// user opted to sync a different set of datatypes.
	GetUpdatesCallerInfo_DATATYPE_REFRESH GetUpdatesCallerInfo_GetUpdatesSource = 11 // A datatype has requested a refresh. This is
	// typically used when datatype's have custom
	// sync UI, e.g. sessions.
	GetUpdatesCallerInfo_RETRY        GetUpdatesCallerInfo_GetUpdatesSource = 13 // A follow-up GU to pick up updates missed by previous GU.
	GetUpdatesCallerInfo_PROGRAMMATIC GetUpdatesCallerInfo_GetUpdatesSource = 14 // The client is programmatically enabling/disabling
)

func (GetUpdatesCallerInfo_GetUpdatesSource) Descriptor added in v0.1.3

func (GetUpdatesCallerInfo_GetUpdatesSource) Enum

func (GetUpdatesCallerInfo_GetUpdatesSource) EnumDescriptor deprecated

func (GetUpdatesCallerInfo_GetUpdatesSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetUpdatesCallerInfo_GetUpdatesSource.Descriptor instead.

func (GetUpdatesCallerInfo_GetUpdatesSource) Number added in v0.1.3

func (GetUpdatesCallerInfo_GetUpdatesSource) String

func (GetUpdatesCallerInfo_GetUpdatesSource) Type added in v0.1.3

func (*GetUpdatesCallerInfo_GetUpdatesSource) UnmarshalJSON deprecated

func (x *GetUpdatesCallerInfo_GetUpdatesSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type GetUpdatesMessage

type GetUpdatesMessage struct {

	// Indicates the reason for the GetUpdatesMessage.
	// This was *mostly* deprecated in M29.  GetUpdatesOrigin is the new way to
	// encode the reason for the GetUpdates request, but some parts of the server
	// still rely on this field.  It also still contains the
	// "notifications_enabled" flag which needs to be moved elsewhere before this
	// can be fully removed. See https://crbug.com/510165.
	CallerInfo *GetUpdatesCallerInfo `protobuf:"bytes,2,opt,name=caller_info,json=callerInfo" json:"caller_info,omitempty"`
	// Indicates whether related folders should be fetched.
	FetchFolders *bool `protobuf:"varint,3,opt,name=fetch_folders,json=fetchFolders,def=1" json:"fetch_folders,omitempty"`
	// Client-requested limit on the maximum number of updates to return at once.
	// The server may opt to return fewer updates than this amount, but it should
	// not return more.
	BatchSize *int32 `protobuf:"varint,5,opt,name=batch_size,json=batchSize" json:"batch_size,omitempty"`
	// Per-datatype progress marker.  If present, the server will ignore
	// the values of requested_types and from_timestamp, using this instead.
	//
	// With the exception of certain configuration or initial sync requests, the
	// client should include one instance of this field for each enabled data
	// type.
	FromProgressMarker []*DataTypeProgressMarker `protobuf:"bytes,6,rep,name=from_progress_marker,json=fromProgressMarker" json:"from_progress_marker,omitempty"`
	// Indicates whether the response should be sent in chunks.  This may be
	// needed for devices with limited memory resources.  If true, the response
	// will include one or more ClientToServerResponses, with the frist one
	// containing GetUpdatesMetadataResponse, and the remaining ones, if any,
	// containing GetUpdatesStreamingResponse.  These ClientToServerResponses are
	// delimited by a length prefix, which is encoded as a varint.
	Streaming *bool `protobuf:"varint,7,opt,name=streaming,def=0" json:"streaming,omitempty"`
	// Whether the client needs the server to provide an encryption key for this
	// account.
	// Note: this should typically only be set on the first GetUpdates a client
	// requests. Clients are expected to persist the encryption key from then on.
	// The allowed frequency for requesting encryption keys is much lower than
	// other datatypes, so repeated usage will likely result in throttling.
	NeedEncryptionKey *bool `protobuf:"varint,8,opt,name=need_encryption_key,json=needEncryptionKey,def=0" json:"need_encryption_key,omitempty"`
	// Whether to create the mobile bookmarks folder if it's not
	// already created.  Set to true by all modern clients.
	//
	// Deprecated: Do not use.
	CreateMobileBookmarksFolder *bool `` /* 149-byte string literal not displayed */
	// This value is an updated version of the GetUpdatesCallerInfo's
	// GetUpdatesSource.  It describes the reason for the GetUpdate request.
	// Introduced in M29.
	GetUpdatesOrigin *SyncEnums_GetUpdatesOrigin `` /* 145-byte string literal not displayed */
	// Whether this GU also serves as a retry GU. Any GU that happens after
	// retry timer timeout is a retry GU effectively.
	IsRetry *bool `protobuf:"varint,10,opt,name=is_retry,json=isRetry,def=0" json:"is_retry,omitempty"`
	// Set of optional per-client datatype contexts.
	ClientContexts []*DataTypeContext `protobuf:"bytes,11,rep,name=client_contexts,json=clientContexts" json:"client_contexts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUpdatesMessage) Descriptor deprecated

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

Deprecated: Use GetUpdatesMessage.ProtoReflect.Descriptor instead.

func (*GetUpdatesMessage) GetBatchSize

func (x *GetUpdatesMessage) GetBatchSize() int32

func (*GetUpdatesMessage) GetCallerInfo

func (x *GetUpdatesMessage) GetCallerInfo() *GetUpdatesCallerInfo

func (*GetUpdatesMessage) GetClientContexts

func (x *GetUpdatesMessage) GetClientContexts() []*DataTypeContext

func (*GetUpdatesMessage) GetCreateMobileBookmarksFolder deprecated

func (x *GetUpdatesMessage) GetCreateMobileBookmarksFolder() bool

Deprecated: Do not use.

func (*GetUpdatesMessage) GetFetchFolders

func (x *GetUpdatesMessage) GetFetchFolders() bool

func (*GetUpdatesMessage) GetFromProgressMarker

func (x *GetUpdatesMessage) GetFromProgressMarker() []*DataTypeProgressMarker

func (*GetUpdatesMessage) GetGetUpdatesOrigin

func (x *GetUpdatesMessage) GetGetUpdatesOrigin() SyncEnums_GetUpdatesOrigin

func (*GetUpdatesMessage) GetIsRetry

func (x *GetUpdatesMessage) GetIsRetry() bool

func (*GetUpdatesMessage) GetNeedEncryptionKey

func (x *GetUpdatesMessage) GetNeedEncryptionKey() bool

func (*GetUpdatesMessage) GetStreaming

func (x *GetUpdatesMessage) GetStreaming() bool

func (*GetUpdatesMessage) ProtoMessage

func (*GetUpdatesMessage) ProtoMessage()

func (*GetUpdatesMessage) ProtoReflect added in v0.1.3

func (x *GetUpdatesMessage) ProtoReflect() protoreflect.Message

func (*GetUpdatesMessage) Reset

func (x *GetUpdatesMessage) Reset()

func (*GetUpdatesMessage) String

func (x *GetUpdatesMessage) String() string

type GetUpdatesResponse

type GetUpdatesResponse struct {

	// New sync entries that the client should apply.
	Entries []*SyncEntity `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	// Approximate count of changes remaining - use this for UI feedback.
	// If present and zero, this estimate is firm: the server has no changes
	// after the current batch.
	ChangesRemaining *int64 `protobuf:"varint,4,opt,name=changes_remaining,json=changesRemaining" json:"changes_remaining,omitempty"`
	// Opaque, per-datatype timestamp-like tokens.  Clients should retain and
	// persist the values returned in this field, and present them back to the
	// server to indicate the starting point for future update requests.
	//
	// This will be sent only if the client provided |from_progress_marker|
	// in the update request.
	//
	// The server may provide a new progress marker even if this is the end of
	// the batch, or if there were no new updates on the server; and the client
	// must save these.  If the server does not provide a |new_progress_marker|
	// value for a particular datatype, when the request provided a
	// |from_progress_marker| value for that datatype, the client should
	// interpret this to mean "no change from the previous state" and retain its
	// previous progress-marker value for that datatype.
	//
	// Progress markers in the context of a response will never have the
	// |timestamp_token_for_migration| field set.
	NewProgressMarker []*DataTypeProgressMarker `protobuf:"bytes,5,rep,name=new_progress_marker,json=newProgressMarker" json:"new_progress_marker,omitempty"`
	// The current encryption keys associated with this account. Will be set if
	// the GetUpdatesMessage in the request had need_encryption_key == true or
	// the server has updated the set of encryption keys (e.g. due to a key
	// rotation).
	EncryptionKeys [][]byte `protobuf:"bytes,6,rep,name=encryption_keys,json=encryptionKeys" json:"encryption_keys,omitempty"`
	// Set of optional datatype contexts server mutations.
	ContextMutations []*DataTypeContext `protobuf:"bytes,7,rep,name=context_mutations,json=contextMutations" json:"context_mutations,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUpdatesResponse) Descriptor deprecated

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

Deprecated: Use GetUpdatesResponse.ProtoReflect.Descriptor instead.

func (*GetUpdatesResponse) GetChangesRemaining

func (x *GetUpdatesResponse) GetChangesRemaining() int64

func (*GetUpdatesResponse) GetContextMutations

func (x *GetUpdatesResponse) GetContextMutations() []*DataTypeContext

func (*GetUpdatesResponse) GetEncryptionKeys

func (x *GetUpdatesResponse) GetEncryptionKeys() [][]byte

func (*GetUpdatesResponse) GetEntries

func (x *GetUpdatesResponse) GetEntries() []*SyncEntity

func (*GetUpdatesResponse) GetNewProgressMarker

func (x *GetUpdatesResponse) GetNewProgressMarker() []*DataTypeProgressMarker

func (*GetUpdatesResponse) ProtoMessage

func (*GetUpdatesResponse) ProtoMessage()

func (*GetUpdatesResponse) ProtoReflect added in v0.1.3

func (x *GetUpdatesResponse) ProtoReflect() protoreflect.Message

func (*GetUpdatesResponse) Reset

func (x *GetUpdatesResponse) Reset()

func (*GetUpdatesResponse) String

func (x *GetUpdatesResponse) String() string

type GlobalIdDirective

type GlobalIdDirective struct {

	// The global IDs of the navigations to delete.
	GlobalId []int64 `protobuf:"varint,1,rep,name=global_id,json=globalId" json:"global_id,omitempty"`
	// Time range for searching for navigations to delete. Client should delete
	// all navigations to a URL between [start_time_usec, end_time_usec]
	// if one of them matches a |global_id|.
	StartTimeUsec *int64 `protobuf:"varint,2,opt,name=start_time_usec,json=startTimeUsec" json:"start_time_usec,omitempty"`
	EndTimeUsec   *int64 `protobuf:"varint,3,opt,name=end_time_usec,json=endTimeUsec" json:"end_time_usec,omitempty"`
	// contains filtered or unexported fields
}

func (*GlobalIdDirective) Descriptor deprecated

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

Deprecated: Use GlobalIdDirective.ProtoReflect.Descriptor instead.

func (*GlobalIdDirective) GetEndTimeUsec

func (x *GlobalIdDirective) GetEndTimeUsec() int64

func (*GlobalIdDirective) GetGlobalId

func (x *GlobalIdDirective) GetGlobalId() []int64

func (*GlobalIdDirective) GetStartTimeUsec

func (x *GlobalIdDirective) GetStartTimeUsec() int64

func (*GlobalIdDirective) ProtoMessage

func (*GlobalIdDirective) ProtoMessage()

func (*GlobalIdDirective) ProtoReflect added in v0.1.3

func (x *GlobalIdDirective) ProtoReflect() protoreflect.Message

func (*GlobalIdDirective) Reset

func (x *GlobalIdDirective) Reset()

func (*GlobalIdDirective) String

func (x *GlobalIdDirective) String() string

type HistoryDeleteDirectiveSpecifics

type HistoryDeleteDirectiveSpecifics struct {

	// Exactly one of the fields below must be filled in.  Otherwise, this
	// delete directive must be ignored.
	GlobalIdDirective  *GlobalIdDirective  `protobuf:"bytes,1,opt,name=global_id_directive,json=globalIdDirective" json:"global_id_directive,omitempty"`
	TimeRangeDirective *TimeRangeDirective `protobuf:"bytes,2,opt,name=time_range_directive,json=timeRangeDirective" json:"time_range_directive,omitempty"`
	UrlDirective       *UrlDirective       `protobuf:"bytes,3,opt,name=url_directive,json=urlDirective" json:"url_directive,omitempty"`
	// contains filtered or unexported fields
}

Properties of history delete directive sync objects.

func (*HistoryDeleteDirectiveSpecifics) Descriptor deprecated

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

Deprecated: Use HistoryDeleteDirectiveSpecifics.ProtoReflect.Descriptor instead.

func (*HistoryDeleteDirectiveSpecifics) GetGlobalIdDirective

func (x *HistoryDeleteDirectiveSpecifics) GetGlobalIdDirective() *GlobalIdDirective

func (*HistoryDeleteDirectiveSpecifics) GetTimeRangeDirective

func (x *HistoryDeleteDirectiveSpecifics) GetTimeRangeDirective() *TimeRangeDirective

func (*HistoryDeleteDirectiveSpecifics) GetUrlDirective

func (x *HistoryDeleteDirectiveSpecifics) GetUrlDirective() *UrlDirective

func (*HistoryDeleteDirectiveSpecifics) ProtoMessage

func (*HistoryDeleteDirectiveSpecifics) ProtoMessage()

func (*HistoryDeleteDirectiveSpecifics) ProtoReflect added in v0.1.3

func (*HistoryDeleteDirectiveSpecifics) Reset

func (*HistoryDeleteDirectiveSpecifics) String

type HistoryDeleteDirectives

type HistoryDeleteDirectives struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Whether history delete directives are enabled.

func (*HistoryDeleteDirectives) Descriptor deprecated

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

Deprecated: Use HistoryDeleteDirectives.ProtoReflect.Descriptor instead.

func (*HistoryDeleteDirectives) GetEnabled

func (x *HistoryDeleteDirectives) GetEnabled() bool

func (*HistoryDeleteDirectives) ProtoMessage

func (*HistoryDeleteDirectives) ProtoMessage()

func (*HistoryDeleteDirectives) ProtoReflect added in v0.1.3

func (x *HistoryDeleteDirectives) ProtoReflect() protoreflect.Message

func (*HistoryDeleteDirectives) Reset

func (x *HistoryDeleteDirectives) Reset()

func (*HistoryDeleteDirectives) String

func (x *HistoryDeleteDirectives) String() string

type HistoryStatusRequest

type HistoryStatusRequest struct {
	// contains filtered or unexported fields
}

func (*HistoryStatusRequest) Descriptor deprecated

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

Deprecated: Use HistoryStatusRequest.ProtoReflect.Descriptor instead.

func (*HistoryStatusRequest) ProtoMessage

func (*HistoryStatusRequest) ProtoMessage()

func (*HistoryStatusRequest) ProtoReflect added in v0.1.3

func (x *HistoryStatusRequest) ProtoReflect() protoreflect.Message

func (*HistoryStatusRequest) Reset

func (x *HistoryStatusRequest) Reset()

func (*HistoryStatusRequest) String

func (x *HistoryStatusRequest) String() string

type HistoryStatusResponse

type HistoryStatusResponse struct {

	// Minimal time to wait before issuing another request.
	MinPollIntervalSeconds *int32 `` /* 134-byte string literal not displayed */
	// Indicates whether the history corpuses have any derived data for a user.
	HasDerivedData *bool `protobuf:"varint,2,opt,name=has_derived_data,json=hasDerivedData" json:"has_derived_data,omitempty"`
	// contains filtered or unexported fields
}

Response to a history status request.

func (*HistoryStatusResponse) Descriptor deprecated

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

Deprecated: Use HistoryStatusResponse.ProtoReflect.Descriptor instead.

func (*HistoryStatusResponse) GetHasDerivedData

func (x *HistoryStatusResponse) GetHasDerivedData() bool

func (*HistoryStatusResponse) GetMinPollIntervalSeconds

func (x *HistoryStatusResponse) GetMinPollIntervalSeconds() int32

func (*HistoryStatusResponse) ProtoMessage

func (*HistoryStatusResponse) ProtoMessage()

func (*HistoryStatusResponse) ProtoReflect added in v0.1.3

func (x *HistoryStatusResponse) ProtoReflect() protoreflect.Message

func (*HistoryStatusResponse) Reset

func (x *HistoryStatusResponse) Reset()

func (*HistoryStatusResponse) String

func (x *HistoryStatusResponse) String() string

type KeystoreEncryptionFlags

type KeystoreEncryptionFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

A flag to enable support for keystore encryption.

func (*KeystoreEncryptionFlags) Descriptor deprecated

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

Deprecated: Use KeystoreEncryptionFlags.ProtoReflect.Descriptor instead.

func (*KeystoreEncryptionFlags) GetEnabled

func (x *KeystoreEncryptionFlags) GetEnabled() bool

func (*KeystoreEncryptionFlags) ProtoMessage

func (*KeystoreEncryptionFlags) ProtoMessage()

func (*KeystoreEncryptionFlags) ProtoReflect added in v0.1.3

func (x *KeystoreEncryptionFlags) ProtoReflect() protoreflect.Message

func (*KeystoreEncryptionFlags) Reset

func (x *KeystoreEncryptionFlags) Reset()

func (*KeystoreEncryptionFlags) String

func (x *KeystoreEncryptionFlags) String() string

type LinkedAppIconInfo

type LinkedAppIconInfo struct {

	// The URL of the app icon.
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// The size of the app icon in DIPs.
	Size *uint32 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
	// contains filtered or unexported fields
}

Information about a linked app icon.

func (*LinkedAppIconInfo) Descriptor deprecated

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

Deprecated: Use LinkedAppIconInfo.ProtoReflect.Descriptor instead.

func (*LinkedAppIconInfo) GetSize

func (x *LinkedAppIconInfo) GetSize() uint32

func (*LinkedAppIconInfo) GetUrl

func (x *LinkedAppIconInfo) GetUrl() string

func (*LinkedAppIconInfo) ProtoMessage

func (*LinkedAppIconInfo) ProtoMessage()

func (*LinkedAppIconInfo) ProtoReflect added in v0.1.3

func (x *LinkedAppIconInfo) ProtoReflect() protoreflect.Message

func (*LinkedAppIconInfo) Reset

func (x *LinkedAppIconInfo) Reset()

func (*LinkedAppIconInfo) String

func (x *LinkedAppIconInfo) String() string

type LocalTrustedVault

type LocalTrustedVault struct {
	User []*LocalTrustedVaultPerUser `protobuf:"bytes,1,rep,name=user" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalTrustedVault) Descriptor deprecated

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

Deprecated: Use LocalTrustedVault.ProtoReflect.Descriptor instead.

func (*LocalTrustedVault) GetUser

func (*LocalTrustedVault) ProtoMessage

func (*LocalTrustedVault) ProtoMessage()

func (*LocalTrustedVault) ProtoReflect added in v0.1.3

func (x *LocalTrustedVault) ProtoReflect() protoreflect.Message

func (*LocalTrustedVault) Reset

func (x *LocalTrustedVault) Reset()

func (*LocalTrustedVault) String

func (x *LocalTrustedVault) String() string

type LocalTrustedVaultKey

type LocalTrustedVaultKey struct {

	// The actual key.
	KeyMaterial []byte `protobuf:"bytes,1,opt,name=key_material,json=keyMaterial" json:"key_material,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalTrustedVaultKey) Descriptor deprecated

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

Deprecated: Use LocalTrustedVaultKey.ProtoReflect.Descriptor instead.

func (*LocalTrustedVaultKey) GetKeyMaterial

func (x *LocalTrustedVaultKey) GetKeyMaterial() []byte

func (*LocalTrustedVaultKey) ProtoMessage

func (*LocalTrustedVaultKey) ProtoMessage()

func (*LocalTrustedVaultKey) ProtoReflect added in v0.1.3

func (x *LocalTrustedVaultKey) ProtoReflect() protoreflect.Message

func (*LocalTrustedVaultKey) Reset

func (x *LocalTrustedVaultKey) Reset()

func (*LocalTrustedVaultKey) String

func (x *LocalTrustedVaultKey) String() string

type LocalTrustedVaultPerUser

type LocalTrustedVaultPerUser struct {

	// User identifier.
	GaiaId []byte `protobuf:"bytes,1,opt,name=gaia_id,json=gaiaId" json:"gaia_id,omitempty"`
	// All keys known for a user.
	Key []*LocalTrustedVaultKey `protobuf:"bytes,2,rep,name=key" json:"key,omitempty"`
	// The version corresponding to the last element in |key|.
	LastKeyVersion *int32 `protobuf:"varint,3,opt,name=last_key_version,json=lastKeyVersion" json:"last_key_version,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalTrustedVaultPerUser) Descriptor deprecated

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

Deprecated: Use LocalTrustedVaultPerUser.ProtoReflect.Descriptor instead.

func (*LocalTrustedVaultPerUser) GetGaiaId

func (x *LocalTrustedVaultPerUser) GetGaiaId() []byte

func (*LocalTrustedVaultPerUser) GetKey

func (*LocalTrustedVaultPerUser) GetLastKeyVersion

func (x *LocalTrustedVaultPerUser) GetLastKeyVersion() int32

func (*LocalTrustedVaultPerUser) ProtoMessage

func (*LocalTrustedVaultPerUser) ProtoMessage()

func (*LocalTrustedVaultPerUser) ProtoReflect added in v0.1.3

func (x *LocalTrustedVaultPerUser) ProtoReflect() protoreflect.Message

func (*LocalTrustedVaultPerUser) Reset

func (x *LocalTrustedVaultPerUser) Reset()

func (*LocalTrustedVaultPerUser) String

func (x *LocalTrustedVaultPerUser) String() string

type LoopbackServerEntity

type LoopbackServerEntity struct {
	Type      *LoopbackServerEntity_Type `protobuf:"varint,1,opt,name=type,enum=sync_pb.LoopbackServerEntity_Type" json:"type,omitempty"`
	Entity    *SyncEntity                `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
	ModelType *int64                     `protobuf:"varint,3,opt,name=model_type,json=modelType" json:"model_type,omitempty"`
	// contains filtered or unexported fields
}

Serialization of the LoopbackServerEntity and its ancestors.

func (*LoopbackServerEntity) Descriptor deprecated

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

Deprecated: Use LoopbackServerEntity.ProtoReflect.Descriptor instead.

func (*LoopbackServerEntity) GetEntity

func (x *LoopbackServerEntity) GetEntity() *SyncEntity

func (*LoopbackServerEntity) GetModelType

func (x *LoopbackServerEntity) GetModelType() int64

func (*LoopbackServerEntity) GetType

func (*LoopbackServerEntity) ProtoMessage

func (*LoopbackServerEntity) ProtoMessage()

func (*LoopbackServerEntity) ProtoReflect added in v0.1.3

func (x *LoopbackServerEntity) ProtoReflect() protoreflect.Message

func (*LoopbackServerEntity) Reset

func (x *LoopbackServerEntity) Reset()

func (*LoopbackServerEntity) String

func (x *LoopbackServerEntity) String() string

type LoopbackServerEntity_Type

type LoopbackServerEntity_Type int32

Entity type mapping to one of the subclasses of LoopbackServerEntity.

const (
	LoopbackServerEntity_UNKNOWN   LoopbackServerEntity_Type = 0
	LoopbackServerEntity_BOOKMARK  LoopbackServerEntity_Type = 1
	LoopbackServerEntity_PERMANENT LoopbackServerEntity_Type = 2
	LoopbackServerEntity_TOMBSTONE LoopbackServerEntity_Type = 3
	LoopbackServerEntity_UNIQUE    LoopbackServerEntity_Type = 4
)

func (LoopbackServerEntity_Type) Descriptor added in v0.1.3

func (LoopbackServerEntity_Type) Enum

func (LoopbackServerEntity_Type) EnumDescriptor deprecated

func (LoopbackServerEntity_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoopbackServerEntity_Type.Descriptor instead.

func (LoopbackServerEntity_Type) Number added in v0.1.3

func (LoopbackServerEntity_Type) String

func (x LoopbackServerEntity_Type) String() string

func (LoopbackServerEntity_Type) Type added in v0.1.3

func (*LoopbackServerEntity_Type) UnmarshalJSON deprecated

func (x *LoopbackServerEntity_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LoopbackServerProto

type LoopbackServerProto struct {

	// The protocol buffer format version.
	Version       *int64                  `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	StoreBirthday *int64                  `protobuf:"varint,2,opt,name=store_birthday,json=storeBirthday" json:"store_birthday,omitempty"`
	Entities      []*LoopbackServerEntity `protobuf:"bytes,3,rep,name=entities" json:"entities,omitempty"`
	// All Keystore keys known to the server.
	KeystoreKeys [][]byte `protobuf:"bytes,4,rep,name=keystore_keys,json=keystoreKeys" json:"keystore_keys,omitempty"`
	// The last entity ID that was assigned to an entity.
	LastVersionAssigned *int64 `protobuf:"varint,5,opt,name=last_version_assigned,json=lastVersionAssigned" json:"last_version_assigned,omitempty"`
	// contains filtered or unexported fields
}

Contains the loopback server state.

func (*LoopbackServerProto) Descriptor deprecated

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

Deprecated: Use LoopbackServerProto.ProtoReflect.Descriptor instead.

func (*LoopbackServerProto) GetEntities

func (x *LoopbackServerProto) GetEntities() []*LoopbackServerEntity

func (*LoopbackServerProto) GetKeystoreKeys

func (x *LoopbackServerProto) GetKeystoreKeys() [][]byte

func (*LoopbackServerProto) GetLastVersionAssigned

func (x *LoopbackServerProto) GetLastVersionAssigned() int64

func (*LoopbackServerProto) GetStoreBirthday

func (x *LoopbackServerProto) GetStoreBirthday() int64

func (*LoopbackServerProto) GetVersion

func (x *LoopbackServerProto) GetVersion() int64

func (*LoopbackServerProto) ProtoMessage

func (*LoopbackServerProto) ProtoMessage()

func (*LoopbackServerProto) ProtoReflect added in v0.1.3

func (x *LoopbackServerProto) ProtoReflect() protoreflect.Message

func (*LoopbackServerProto) Reset

func (x *LoopbackServerProto) Reset()

func (*LoopbackServerProto) String

func (x *LoopbackServerProto) String() string

type ManagedUserSettingSpecifics

type ManagedUserSettingSpecifics struct {
	Name  *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Properties of managed user setting sync objects.

func (*ManagedUserSettingSpecifics) Descriptor deprecated

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

Deprecated: Use ManagedUserSettingSpecifics.ProtoReflect.Descriptor instead.

func (*ManagedUserSettingSpecifics) GetName

func (x *ManagedUserSettingSpecifics) GetName() string

func (*ManagedUserSettingSpecifics) GetValue

func (x *ManagedUserSettingSpecifics) GetValue() string

func (*ManagedUserSettingSpecifics) ProtoMessage

func (*ManagedUserSettingSpecifics) ProtoMessage()

func (*ManagedUserSettingSpecifics) ProtoReflect added in v0.1.3

func (*ManagedUserSettingSpecifics) Reset

func (x *ManagedUserSettingSpecifics) Reset()

func (*ManagedUserSettingSpecifics) String

func (x *ManagedUserSettingSpecifics) String() string

type ManagedUserSharedSettingSpecifics

type ManagedUserSharedSettingSpecifics struct {

	// The MU ID for the managed user to whom the setting applies.
	MuId *string `protobuf:"bytes,1,opt,name=mu_id,json=muId" json:"mu_id,omitempty"`
	// The key of the setting.
	Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// The setting value. The setting is a JSON encoding of an arbitrary
	// Javascript value.
	Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	// This flag is set by the server to acknowledge that it has committed a
	// change to a setting.
	Acknowledged *bool `protobuf:"varint,4,opt,name=acknowledged,def=0" json:"acknowledged,omitempty"`
	// contains filtered or unexported fields
}

Properties of managed user shared setting sync objects.

func (*ManagedUserSharedSettingSpecifics) Descriptor deprecated

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

Deprecated: Use ManagedUserSharedSettingSpecifics.ProtoReflect.Descriptor instead.

func (*ManagedUserSharedSettingSpecifics) GetAcknowledged

func (x *ManagedUserSharedSettingSpecifics) GetAcknowledged() bool

func (*ManagedUserSharedSettingSpecifics) GetKey

func (*ManagedUserSharedSettingSpecifics) GetMuId

func (*ManagedUserSharedSettingSpecifics) GetValue

func (*ManagedUserSharedSettingSpecifics) ProtoMessage

func (*ManagedUserSharedSettingSpecifics) ProtoMessage()

func (*ManagedUserSharedSettingSpecifics) ProtoReflect added in v0.1.3

func (*ManagedUserSharedSettingSpecifics) Reset

func (*ManagedUserSharedSettingSpecifics) String

type ManagedUserSpecifics

type ManagedUserSpecifics struct {

	// A randomly-generated identifier for the managed user.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The human-visible name of the managed user
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// This flag is set by the server to acknowledge that it has committed a
	// newly created managed user.
	Acknowledged *bool `protobuf:"varint,3,opt,name=acknowledged,def=0" json:"acknowledged,omitempty"`
	// Master key for managed user cryptohome.
	MasterKey *string `protobuf:"bytes,4,opt,name=master_key,json=masterKey" json:"master_key,omitempty"`
	// A string representing the index of the supervised user avatar on Chrome.
	// It has the following format:
	// "chrome-avatar-index:INDEX" where INDEX is an integer.
	ChromeAvatar *string `protobuf:"bytes,5,opt,name=chrome_avatar,json=chromeAvatar" json:"chrome_avatar,omitempty"`
	// A string representing the index of the supervised user avatar on Chrome OS.
	// It has the following format:
	// "chromeos-avatar-index:INDEX" where INDEX is an integer.
	ChromeosAvatar *string `protobuf:"bytes,6,opt,name=chromeos_avatar,json=chromeosAvatar" json:"chromeos_avatar,omitempty"`
	// Key for signing supervised user's password.
	PasswordSignatureKey *string `protobuf:"bytes,7,opt,name=password_signature_key,json=passwordSignatureKey" json:"password_signature_key,omitempty"`
	// Key for encrypting supervised user's password.
	PasswordEncryptionKey *string `protobuf:"bytes,8,opt,name=password_encryption_key,json=passwordEncryptionKey" json:"password_encryption_key,omitempty"`
	// contains filtered or unexported fields
}

Properties of managed user sync objects.

func (*ManagedUserSpecifics) Descriptor deprecated

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

Deprecated: Use ManagedUserSpecifics.ProtoReflect.Descriptor instead.

func (*ManagedUserSpecifics) GetAcknowledged

func (x *ManagedUserSpecifics) GetAcknowledged() bool

func (*ManagedUserSpecifics) GetChromeAvatar

func (x *ManagedUserSpecifics) GetChromeAvatar() string

func (*ManagedUserSpecifics) GetChromeosAvatar

func (x *ManagedUserSpecifics) GetChromeosAvatar() string

func (*ManagedUserSpecifics) GetId

func (x *ManagedUserSpecifics) GetId() string

func (*ManagedUserSpecifics) GetMasterKey

func (x *ManagedUserSpecifics) GetMasterKey() string

func (*ManagedUserSpecifics) GetName

func (x *ManagedUserSpecifics) GetName() string

func (*ManagedUserSpecifics) GetPasswordEncryptionKey

func (x *ManagedUserSpecifics) GetPasswordEncryptionKey() string

func (*ManagedUserSpecifics) GetPasswordSignatureKey

func (x *ManagedUserSpecifics) GetPasswordSignatureKey() string

func (*ManagedUserSpecifics) ProtoMessage

func (*ManagedUserSpecifics) ProtoMessage()

func (*ManagedUserSpecifics) ProtoReflect added in v0.1.3

func (x *ManagedUserSpecifics) ProtoReflect() protoreflect.Message

func (*ManagedUserSpecifics) Reset

func (x *ManagedUserSpecifics) Reset()

func (*ManagedUserSpecifics) String

func (x *ManagedUserSpecifics) String() string

type ManagedUserWhitelistSpecifics

type ManagedUserWhitelistSpecifics struct {

	// Globally unique id for this whitelist that identifies it in the Web Store.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the whitelist.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Properties of supervised user whitelist sync objects. The fields here are a subset of the fields in an ExtensionSpecifics.

func (*ManagedUserWhitelistSpecifics) Descriptor deprecated

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

Deprecated: Use ManagedUserWhitelistSpecifics.ProtoReflect.Descriptor instead.

func (*ManagedUserWhitelistSpecifics) GetId

func (*ManagedUserWhitelistSpecifics) GetName

func (*ManagedUserWhitelistSpecifics) ProtoMessage

func (*ManagedUserWhitelistSpecifics) ProtoMessage()

func (*ManagedUserWhitelistSpecifics) ProtoReflect added in v0.1.3

func (*ManagedUserWhitelistSpecifics) Reset

func (x *ManagedUserWhitelistSpecifics) Reset()

func (*ManagedUserWhitelistSpecifics) String

type MetaInfo

type MetaInfo struct {
	Key   *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Corresponds to a single meta info key/value pair for a bookmark node.

func (*MetaInfo) Descriptor deprecated

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

Deprecated: Use MetaInfo.ProtoReflect.Descriptor instead.

func (*MetaInfo) GetKey

func (x *MetaInfo) GetKey() string

func (*MetaInfo) GetValue

func (x *MetaInfo) GetValue() string

func (*MetaInfo) ProtoMessage

func (*MetaInfo) ProtoMessage()

func (*MetaInfo) ProtoReflect added in v0.1.3

func (x *MetaInfo) ProtoReflect() protoreflect.Message

func (*MetaInfo) Reset

func (x *MetaInfo) Reset()

func (*MetaInfo) String

func (x *MetaInfo) String() string

type ModelTypeState

type ModelTypeState struct {

	// The latest progress markers received from the server.
	ProgressMarker *DataTypeProgressMarker `protobuf:"bytes,1,opt,name=progress_marker,json=progressMarker" json:"progress_marker,omitempty"`
	// A data type context.  Sent to the server in every commit or update
	// request.  May be updated by either responses from the server or requests
	// made on the model thread.  The interpretation of this value may be
	// data-type specific.  Many data types ignore it.
	TypeContext *DataTypeContext `protobuf:"bytes,2,opt,name=type_context,json=typeContext" json:"type_context,omitempty"`
	// This value is set if this type's data should be encrypted on the server.
	// If this key changes, the client will need to re-commit all of its local
	// data to the server using the new encryption key.
	EncryptionKeyName *string `protobuf:"bytes,3,opt,name=encryption_key_name,json=encryptionKeyName" json:"encryption_key_name,omitempty"`
	// This flag is set to true when the first download cycle is complete.  The
	// ModelTypeProcessor should not attempt to commit any items until this
	// flag is set.
	InitialSyncDone *bool `protobuf:"varint,4,opt,name=initial_sync_done,json=initialSyncDone" json:"initial_sync_done,omitempty"`
	// A GUID that identifies the committing sync client. It's persisted within
	// the sync metadata and should be used to check the integrity of the
	// metadata. Mismatches with the guid of the running client indicates invalid
	// persisted sync metadata, because cache_guid is reset when sync is disabled,
	// and disabling sync is supposed to clear sync metadata.
	CacheGuid *string `protobuf:"bytes,5,opt,name=cache_guid,json=cacheGuid" json:"cache_guid,omitempty"`
	// Syncing account ID, representing the user.
	AuthenticatedAccountId *string `protobuf:"bytes,6,opt,name=authenticated_account_id,json=authenticatedAccountId" json:"authenticated_account_id,omitempty"`
	// contains filtered or unexported fields
}

Sync proto to store data type global metadata in model type storage.

func (*ModelTypeState) Descriptor deprecated

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

Deprecated: Use ModelTypeState.ProtoReflect.Descriptor instead.

func (*ModelTypeState) GetAuthenticatedAccountId

func (x *ModelTypeState) GetAuthenticatedAccountId() string

func (*ModelTypeState) GetCacheGuid

func (x *ModelTypeState) GetCacheGuid() string

func (*ModelTypeState) GetEncryptionKeyName

func (x *ModelTypeState) GetEncryptionKeyName() string

func (*ModelTypeState) GetInitialSyncDone

func (x *ModelTypeState) GetInitialSyncDone() bool

func (*ModelTypeState) GetProgressMarker

func (x *ModelTypeState) GetProgressMarker() *DataTypeProgressMarker

func (*ModelTypeState) GetTypeContext

func (x *ModelTypeState) GetTypeContext() *DataTypeContext

func (*ModelTypeState) ProtoMessage

func (*ModelTypeState) ProtoMessage()

func (*ModelTypeState) ProtoReflect added in v0.1.3

func (x *ModelTypeState) ProtoReflect() protoreflect.Message

func (*ModelTypeState) Reset

func (x *ModelTypeState) Reset()

func (*ModelTypeState) String

func (x *ModelTypeState) String() string

type ModelTypeStoreSchemaDescriptor

type ModelTypeStoreSchemaDescriptor struct {
	VersionNumber *int64 `protobuf:"varint,1,opt,name=version_number,json=versionNumber" json:"version_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelTypeStoreSchemaDescriptor) Descriptor deprecated

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

Deprecated: Use ModelTypeStoreSchemaDescriptor.ProtoReflect.Descriptor instead.

func (*ModelTypeStoreSchemaDescriptor) GetVersionNumber

func (x *ModelTypeStoreSchemaDescriptor) GetVersionNumber() int64

func (*ModelTypeStoreSchemaDescriptor) ProtoMessage

func (*ModelTypeStoreSchemaDescriptor) ProtoMessage()

func (*ModelTypeStoreSchemaDescriptor) ProtoReflect added in v0.1.3

func (*ModelTypeStoreSchemaDescriptor) Reset

func (x *ModelTypeStoreSchemaDescriptor) Reset()

func (*ModelTypeStoreSchemaDescriptor) String

type NavigationRedirect struct {

	// A URL that redirected while navigating to the virtual_url.
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Navigation information for a single redirection within a single navigation.

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

Deprecated: Use NavigationRedirect.ProtoReflect.Descriptor instead.

func (x *NavigationRedirect) GetUrl() string
func (*NavigationRedirect) ProtoMessage()
func (x *NavigationRedirect) ProtoReflect() protoreflect.Message
func (x *NavigationRedirect) Reset()
func (x *NavigationRedirect) String() string

type NigoriKey

type NigoriKey struct {

	// Note that M78 and before rely on the name being populated, at least for
	// the main encrypted keybag within NigoriSpecifics.
	//
	// Deprecated: Do not use.
	DeprecatedName *string `protobuf:"bytes,1,opt,name=deprecated_name,json=deprecatedName" json:"deprecated_name,omitempty"`
	// Deprecated: Do not use.
	DeprecatedUserKey []byte `protobuf:"bytes,2,opt,name=deprecated_user_key,json=deprecatedUserKey" json:"deprecated_user_key,omitempty"`
	EncryptionKey     []byte `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey" json:"encryption_key,omitempty"`
	MacKey            []byte `protobuf:"bytes,4,opt,name=mac_key,json=macKey" json:"mac_key,omitempty"`
	// contains filtered or unexported fields
}

func (*NigoriKey) Descriptor deprecated

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

Deprecated: Use NigoriKey.ProtoReflect.Descriptor instead.

func (*NigoriKey) GetDeprecatedName deprecated

func (x *NigoriKey) GetDeprecatedName() string

Deprecated: Do not use.

func (*NigoriKey) GetDeprecatedUserKey deprecated

func (x *NigoriKey) GetDeprecatedUserKey() []byte

Deprecated: Do not use.

func (*NigoriKey) GetEncryptionKey

func (x *NigoriKey) GetEncryptionKey() []byte

func (*NigoriKey) GetMacKey

func (x *NigoriKey) GetMacKey() []byte

func (*NigoriKey) ProtoMessage

func (*NigoriKey) ProtoMessage()

func (*NigoriKey) ProtoReflect added in v0.1.3

func (x *NigoriKey) ProtoReflect() protoreflect.Message

func (*NigoriKey) Reset

func (x *NigoriKey) Reset()

func (*NigoriKey) String

func (x *NigoriKey) String() string

type NigoriKeyBag

type NigoriKeyBag struct {
	Key []*NigoriKey `protobuf:"bytes,2,rep,name=key" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*NigoriKeyBag) Descriptor deprecated

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

Deprecated: Use NigoriKeyBag.ProtoReflect.Descriptor instead.

func (*NigoriKeyBag) GetKey

func (x *NigoriKeyBag) GetKey() []*NigoriKey

func (*NigoriKeyBag) ProtoMessage

func (*NigoriKeyBag) ProtoMessage()

func (*NigoriKeyBag) ProtoReflect added in v0.1.3

func (x *NigoriKeyBag) ProtoReflect() protoreflect.Message

func (*NigoriKeyBag) Reset

func (x *NigoriKeyBag) Reset()

func (*NigoriKeyBag) String

func (x *NigoriKeyBag) String() string

type NigoriLocalData

type NigoriLocalData struct {

	// Global metadata.
	ModelTypeState *ModelTypeState `protobuf:"bytes,1,opt,name=model_type_state,json=modelTypeState" json:"model_type_state,omitempty"`
	// Metadata for Nigori entity.
	EntityMetadata *EntityMetadata `protobuf:"bytes,2,opt,name=entity_metadata,json=entityMetadata" json:"entity_metadata,omitempty"`
	// Nigori model state.
	NigoriModel *NigoriModel `protobuf:"bytes,3,opt,name=nigori_model,json=nigoriModel" json:"nigori_model,omitempty"`
	// contains filtered or unexported fields
}

Sync proto to store Nigori data in storage. Proto should be encrypted with os_crypt before storing it somewhere, because it contains sensitive data ( nigori_model.cryptographer_data.key_bag and nigori_model.keystore_keys).

func (*NigoriLocalData) Descriptor deprecated

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

Deprecated: Use NigoriLocalData.ProtoReflect.Descriptor instead.

func (*NigoriLocalData) GetEntityMetadata

func (x *NigoriLocalData) GetEntityMetadata() *EntityMetadata

func (*NigoriLocalData) GetModelTypeState

func (x *NigoriLocalData) GetModelTypeState() *ModelTypeState

func (*NigoriLocalData) GetNigoriModel

func (x *NigoriLocalData) GetNigoriModel() *NigoriModel

func (*NigoriLocalData) ProtoMessage

func (*NigoriLocalData) ProtoMessage()

func (*NigoriLocalData) ProtoReflect added in v0.1.3

func (x *NigoriLocalData) ProtoReflect() protoreflect.Message

func (*NigoriLocalData) Reset

func (x *NigoriLocalData) Reset()

func (*NigoriLocalData) String

func (x *NigoriLocalData) String() string

type NigoriModel

type NigoriModel struct {

	// Represents state of the cryptographer.
	CryptographerData *CryptographerData `protobuf:"bytes,1,opt,name=cryptographer_data,json=cryptographerData" json:"cryptographer_data,omitempty"`
	// Contains the name of the key, used for encryption of
	// NigoriSpecifics.keystore_decryptor_token, should always be the name of the
	// latest keystore key. Equals to cryptographer_data.default_key_name iff it
	// is Nigori in full keystore mode (not in backward compatible keystore
	// mode).
	CurrentKeystoreKeyName *string `protobuf:"bytes,2,opt,name=current_keystore_key_name,json=currentKeystoreKeyName" json:"current_keystore_key_name,omitempty"`
	// Contains keybag in encrypted form, should be empty once we were able to
	// decrypt keybag from specifics.
	PendingKeys *EncryptedData `protobuf:"bytes,3,opt,name=pending_keys,json=pendingKeys" json:"pending_keys,omitempty"`
	// PassphraseType used for encryption. IMPLICIT_PASSPRHASE shouldn't be used
	// here.
	PassphraseType *NigoriSpecifics_PassphraseType `` /* 147-byte string literal not displayed */
	// The time (in UNIX epoch milliseconds) at which the keystore migration was
	// performed.
	KeystoreMigrationTime *int64 `protobuf:"varint,5,opt,name=keystore_migration_time,json=keystoreMigrationTime" json:"keystore_migration_time,omitempty"`
	// The time (in UNIX epoch milliseconds) at which a custom passphrase was
	// set.
	// Note: this field may not be set if the custom passphrase was applied before
	// corresponding field in NigoriSpecifics was introduced.
	CustomPassphraseTime *int64 `protobuf:"varint,6,opt,name=custom_passphrase_time,json=customPassphraseTime" json:"custom_passphrase_time,omitempty"`
	// Params used for deriving keys from custom passphrase. Should be set iff
	// |passphrase_type| is CUSTOM_PASSPHRASE.
	CustomPassphraseKeyDerivationParams *CustomPassphraseKeyDerivationParams `` /* 165-byte string literal not displayed */
	// Indicates whether we need to encrypt all encryptable user types.
	EncryptEverything *bool `protobuf:"varint,8,opt,name=encrypt_everything,json=encryptEverything" json:"encrypt_everything,omitempty"`
	// The list of encrypted UserEncryptableTypes, represented by their specifics
	// field number.
	EncryptedTypesSpecificsFieldNumber []int32 `` /* 163-byte string literal not displayed */
	// Keystore keys are used to decrypt keystore-based Nigori. Should be
	// persisted in order to not ask the keystore server for them during every
	// browser startup. Due to backward compatibility requirements keys are
	// always Base64 encoded.
	KeystoreKey []string `protobuf:"bytes,10,rep,name=keystore_key,json=keystoreKey" json:"keystore_key,omitempty"`
	// Encryptor keystore decryptor token. Used for decryption of keystore Nigori
	// in case keystore keys arrived after NigoriSpecifics.
	PendingKeystoreDecryptorToken *EncryptedData `` /* 146-byte string literal not displayed */
	// Contains the name of the latest available trusted vault key that was used
	// as the default encryption key. Resets when the client go out of pending
	// decryption state and transits to other passphrase types.
	LastDefaultTrustedVaultKeyName *string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NigoriModel) Descriptor deprecated

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

Deprecated: Use NigoriModel.ProtoReflect.Descriptor instead.

func (*NigoriModel) GetCryptographerData

func (x *NigoriModel) GetCryptographerData() *CryptographerData

func (*NigoriModel) GetCurrentKeystoreKeyName

func (x *NigoriModel) GetCurrentKeystoreKeyName() string

func (*NigoriModel) GetCustomPassphraseKeyDerivationParams

func (x *NigoriModel) GetCustomPassphraseKeyDerivationParams() *CustomPassphraseKeyDerivationParams

func (*NigoriModel) GetCustomPassphraseTime

func (x *NigoriModel) GetCustomPassphraseTime() int64

func (*NigoriModel) GetEncryptEverything

func (x *NigoriModel) GetEncryptEverything() bool

func (*NigoriModel) GetEncryptedTypesSpecificsFieldNumber

func (x *NigoriModel) GetEncryptedTypesSpecificsFieldNumber() []int32

func (*NigoriModel) GetKeystoreKey

func (x *NigoriModel) GetKeystoreKey() []string

func (*NigoriModel) GetKeystoreMigrationTime

func (x *NigoriModel) GetKeystoreMigrationTime() int64

func (*NigoriModel) GetLastDefaultTrustedVaultKeyName

func (x *NigoriModel) GetLastDefaultTrustedVaultKeyName() string

func (*NigoriModel) GetPassphraseType

func (x *NigoriModel) GetPassphraseType() NigoriSpecifics_PassphraseType

func (*NigoriModel) GetPendingKeys

func (x *NigoriModel) GetPendingKeys() *EncryptedData

func (*NigoriModel) GetPendingKeystoreDecryptorToken

func (x *NigoriModel) GetPendingKeystoreDecryptorToken() *EncryptedData

func (*NigoriModel) ProtoMessage

func (*NigoriModel) ProtoMessage()

func (*NigoriModel) ProtoReflect added in v0.1.3

func (x *NigoriModel) ProtoReflect() protoreflect.Message

func (*NigoriModel) Reset

func (x *NigoriModel) Reset()

func (*NigoriModel) String

func (x *NigoriModel) String() string

type NigoriSpecifics

type NigoriSpecifics struct {
	EncryptionKeybag *EncryptedData `protobuf:"bytes,1,opt,name=encryption_keybag,json=encryptionKeybag" json:"encryption_keybag,omitempty"`
	// Once keystore migration is performed, we have to freeze the keybag so that
	// older clients (that don't support keystore encryption) do not attempt to
	// update the keybag.
	// Previously |using_explicit_passphrase|.
	KeybagIsFrozen *bool `protobuf:"varint,2,opt,name=keybag_is_frozen,json=keybagIsFrozen" json:"keybag_is_frozen,omitempty"`
	// Booleans corresponding to whether a datatype should be encrypted.
	// Passwords and Wi-Fi configurations are always encrypted, so we don't need
	// a field here.  History delete directives need to be consumable by the
	// server, and thus can't be encrypted.
	EncryptBookmarks       *bool `protobuf:"varint,13,opt,name=encrypt_bookmarks,json=encryptBookmarks" json:"encrypt_bookmarks,omitempty"`
	EncryptPreferences     *bool `protobuf:"varint,14,opt,name=encrypt_preferences,json=encryptPreferences" json:"encrypt_preferences,omitempty"`
	EncryptAutofillProfile *bool `protobuf:"varint,15,opt,name=encrypt_autofill_profile,json=encryptAutofillProfile" json:"encrypt_autofill_profile,omitempty"`
	EncryptAutofill        *bool `protobuf:"varint,16,opt,name=encrypt_autofill,json=encryptAutofill" json:"encrypt_autofill,omitempty"`
	EncryptThemes          *bool `protobuf:"varint,17,opt,name=encrypt_themes,json=encryptThemes" json:"encrypt_themes,omitempty"`
	EncryptTypedUrls       *bool `protobuf:"varint,18,opt,name=encrypt_typed_urls,json=encryptTypedUrls" json:"encrypt_typed_urls,omitempty"`
	EncryptExtensions      *bool `protobuf:"varint,19,opt,name=encrypt_extensions,json=encryptExtensions" json:"encrypt_extensions,omitempty"`
	EncryptSessions        *bool `protobuf:"varint,20,opt,name=encrypt_sessions,json=encryptSessions" json:"encrypt_sessions,omitempty"`
	EncryptApps            *bool `protobuf:"varint,21,opt,name=encrypt_apps,json=encryptApps" json:"encrypt_apps,omitempty"`
	EncryptSearchEngines   *bool `protobuf:"varint,22,opt,name=encrypt_search_engines,json=encryptSearchEngines" json:"encrypt_search_engines,omitempty"`
	// If true, all current and future datatypes will be encrypted.
	EncryptEverything        *bool `protobuf:"varint,24,opt,name=encrypt_everything,json=encryptEverything" json:"encrypt_everything,omitempty"`
	EncryptExtensionSettings *bool `` /* 130-byte string literal not displayed */
	// Deprecated: Do not use.
	EncryptAppNotifications *bool `` /* 127-byte string literal not displayed */
	EncryptAppSettings      *bool `protobuf:"varint,27,opt,name=encrypt_app_settings,json=encryptAppSettings" json:"encrypt_app_settings,omitempty"`
	// Enable syncing favicons as part of tab sync.
	SyncTabFavicons *bool `protobuf:"varint,29,opt,name=sync_tab_favicons,json=syncTabFavicons" json:"sync_tab_favicons,omitempty"`
	// An |int| field is used instead of enum PassphraseType so we can better
	// handle unknown values coming from later versions. Prior to M77, this was an
	// enum so old clients will assume IMPLICIT_PASSPHRASE for values greater than
	// 4.
	PassphraseType *int32 `protobuf:"varint,30,opt,name=passphrase_type,json=passphraseType,def=1" json:"passphrase_type,omitempty"`
	// The keystore decryptor token blob. Encrypted with the keystore key, and
	// contains the encryption key used to decrypt |encryption_keybag|.
	// Only set if passphrase_state == KEYSTORE_PASSPHRASE.
	KeystoreDecryptorToken *EncryptedData `protobuf:"bytes,31,opt,name=keystore_decryptor_token,json=keystoreDecryptorToken" json:"keystore_decryptor_token,omitempty"`
	// The time (in epoch milliseconds) at which the keystore migration was
	// performed.
	KeystoreMigrationTime *int64 `protobuf:"varint,32,opt,name=keystore_migration_time,json=keystoreMigrationTime" json:"keystore_migration_time,omitempty"`
	// The time (in epoch milliseconds) at which a custom passphrase was set.
	// Note: this field may not be set if the custom passphrase was applied before
	// this field was introduced.
	CustomPassphraseTime *int64 `protobuf:"varint,33,opt,name=custom_passphrase_time,json=customPassphraseTime" json:"custom_passphrase_time,omitempty"`
	// Boolean corresponding to whether custom spelling dictionary should be
	// encrypted.
	EncryptDictionary *bool `protobuf:"varint,34,opt,name=encrypt_dictionary,json=encryptDictionary" json:"encrypt_dictionary,omitempty"`
	// Boolean corresponding to Whether to encrypt favicons data or not.
	EncryptFaviconImages   *bool `protobuf:"varint,35,opt,name=encrypt_favicon_images,json=encryptFaviconImages" json:"encrypt_favicon_images,omitempty"`
	EncryptFaviconTracking *bool `protobuf:"varint,36,opt,name=encrypt_favicon_tracking,json=encryptFaviconTracking" json:"encrypt_favicon_tracking,omitempty"`
	// Boolean corresponding to whether app list items should be encrypted.
	EncryptAppList *bool `protobuf:"varint,38,opt,name=encrypt_app_list,json=encryptAppList" json:"encrypt_app_list,omitempty"`
	// Boolean corresponding to whether usage count and last use date of Wallet
	// data should be encrypted.
	EncryptAutofillWalletMetadata *bool `` /* 147-byte string literal not displayed */
	// Boolean indicating whether this node was originally missing a
	// |keystore_migration_time| field value, and was fixed on the server by
	// giving the field a value.
	// THIS FIELD SHOULD ONLY BE SET BY THE SERVER.
	ServerOnlyWasMissingKeystoreMigrationTime *bool `` /* 189-byte string literal not displayed */
	// Boolean corresponding to whether arc pakcage items should be encrypted.
	EncryptArcPackage *bool `protobuf:"varint,41,opt,name=encrypt_arc_package,json=encryptArcPackage" json:"encrypt_arc_package,omitempty"`
	// Boolean corresponding to whether printer items should be encrypted.
	EncryptPrinters *bool `protobuf:"varint,42,opt,name=encrypt_printers,json=encryptPrinters" json:"encrypt_printers,omitempty"`
	// Boolean corresponding to whether reading list items should be encrypted.
	EncryptReadingList *bool `protobuf:"varint,43,opt,name=encrypt_reading_list,json=encryptReadingList" json:"encrypt_reading_list,omitempty"`
	// ID of the method used to derive the encryption key from a custom
	// passphrase. Should be set only when |passphrase_type| is CUSTOM_PASSPHRASE
	// and only based on CustomPassphraseKeyDerivationMethod. This field has been
	// added in M70. All previous versions just ignore it, attempt to use
	// PBKDF2_HMAC_SHA1_1003 and, thus, reject any passphrase if a different
	// method has been used. The default corresponds to UNSPECIFIED. An |int|
	// field is used so we can detect unknown values coming from later versions.
	CustomPassphraseKeyDerivationMethod *int32 `` /* 173-byte string literal not displayed */
	// Base64-encoded salt used for the derivation of the key from the custom
	// passphrase. Valid only if custom_passphrase_key_derivation_method ==
	// SCRYPT_8192_8_11, ignored in other cases.
	CustomPassphraseKeyDerivationSalt *string `` /* 160-byte string literal not displayed */
	// Boolean corresponding to whether send tab should be encrypted.
	EncryptSendTabToSelf *bool `protobuf:"varint,47,opt,name=encrypt_send_tab_to_self,json=encryptSendTabToSelf" json:"encrypt_send_tab_to_self,omitempty"`
	// Boolean corresponding to whether Web Apps data should be encrypted.
	EncryptWebApps *bool `protobuf:"varint,48,opt,name=encrypt_web_apps,json=encryptWebApps" json:"encrypt_web_apps,omitempty"`
	// Boolean corresponding to whether OS preferences should be encrypted.
	EncryptOsPreferences *bool `protobuf:"varint,49,opt,name=encrypt_os_preferences,json=encryptOsPreferences" json:"encrypt_os_preferences,omitempty"`
	// contains filtered or unexported fields
}

Properties of nigori sync object.

func (*NigoriSpecifics) Descriptor deprecated

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

Deprecated: Use NigoriSpecifics.ProtoReflect.Descriptor instead.

func (*NigoriSpecifics) GetCustomPassphraseKeyDerivationMethod

func (x *NigoriSpecifics) GetCustomPassphraseKeyDerivationMethod() int32

func (*NigoriSpecifics) GetCustomPassphraseKeyDerivationSalt

func (x *NigoriSpecifics) GetCustomPassphraseKeyDerivationSalt() string

func (*NigoriSpecifics) GetCustomPassphraseTime

func (x *NigoriSpecifics) GetCustomPassphraseTime() int64

func (*NigoriSpecifics) GetEncryptAppList

func (x *NigoriSpecifics) GetEncryptAppList() bool

func (*NigoriSpecifics) GetEncryptAppNotifications deprecated

func (x *NigoriSpecifics) GetEncryptAppNotifications() bool

Deprecated: Do not use.

func (*NigoriSpecifics) GetEncryptAppSettings

func (x *NigoriSpecifics) GetEncryptAppSettings() bool

func (*NigoriSpecifics) GetEncryptApps

func (x *NigoriSpecifics) GetEncryptApps() bool

func (*NigoriSpecifics) GetEncryptArcPackage

func (x *NigoriSpecifics) GetEncryptArcPackage() bool

func (*NigoriSpecifics) GetEncryptAutofill

func (x *NigoriSpecifics) GetEncryptAutofill() bool

func (*NigoriSpecifics) GetEncryptAutofillProfile

func (x *NigoriSpecifics) GetEncryptAutofillProfile() bool

func (*NigoriSpecifics) GetEncryptAutofillWalletMetadata

func (x *NigoriSpecifics) GetEncryptAutofillWalletMetadata() bool

func (*NigoriSpecifics) GetEncryptBookmarks

func (x *NigoriSpecifics) GetEncryptBookmarks() bool

func (*NigoriSpecifics) GetEncryptDictionary

func (x *NigoriSpecifics) GetEncryptDictionary() bool

func (*NigoriSpecifics) GetEncryptEverything

func (x *NigoriSpecifics) GetEncryptEverything() bool

func (*NigoriSpecifics) GetEncryptExtensionSettings

func (x *NigoriSpecifics) GetEncryptExtensionSettings() bool

func (*NigoriSpecifics) GetEncryptExtensions

func (x *NigoriSpecifics) GetEncryptExtensions() bool

func (*NigoriSpecifics) GetEncryptFaviconImages

func (x *NigoriSpecifics) GetEncryptFaviconImages() bool

func (*NigoriSpecifics) GetEncryptFaviconTracking

func (x *NigoriSpecifics) GetEncryptFaviconTracking() bool

func (*NigoriSpecifics) GetEncryptOsPreferences

func (x *NigoriSpecifics) GetEncryptOsPreferences() bool

func (*NigoriSpecifics) GetEncryptPreferences

func (x *NigoriSpecifics) GetEncryptPreferences() bool

func (*NigoriSpecifics) GetEncryptPrinters

func (x *NigoriSpecifics) GetEncryptPrinters() bool

func (*NigoriSpecifics) GetEncryptReadingList

func (x *NigoriSpecifics) GetEncryptReadingList() bool

func (*NigoriSpecifics) GetEncryptSearchEngines

func (x *NigoriSpecifics) GetEncryptSearchEngines() bool

func (*NigoriSpecifics) GetEncryptSendTabToSelf

func (x *NigoriSpecifics) GetEncryptSendTabToSelf() bool

func (*NigoriSpecifics) GetEncryptSessions

func (x *NigoriSpecifics) GetEncryptSessions() bool

func (*NigoriSpecifics) GetEncryptThemes

func (x *NigoriSpecifics) GetEncryptThemes() bool

func (*NigoriSpecifics) GetEncryptTypedUrls

func (x *NigoriSpecifics) GetEncryptTypedUrls() bool

func (*NigoriSpecifics) GetEncryptWebApps

func (x *NigoriSpecifics) GetEncryptWebApps() bool

func (*NigoriSpecifics) GetEncryptionKeybag

func (x *NigoriSpecifics) GetEncryptionKeybag() *EncryptedData

func (*NigoriSpecifics) GetKeybagIsFrozen

func (x *NigoriSpecifics) GetKeybagIsFrozen() bool

func (*NigoriSpecifics) GetKeystoreDecryptorToken

func (x *NigoriSpecifics) GetKeystoreDecryptorToken() *EncryptedData

func (*NigoriSpecifics) GetKeystoreMigrationTime

func (x *NigoriSpecifics) GetKeystoreMigrationTime() int64

func (*NigoriSpecifics) GetPassphraseType

func (x *NigoriSpecifics) GetPassphraseType() int32

func (*NigoriSpecifics) GetServerOnlyWasMissingKeystoreMigrationTime

func (x *NigoriSpecifics) GetServerOnlyWasMissingKeystoreMigrationTime() bool

func (*NigoriSpecifics) GetSyncTabFavicons

func (x *NigoriSpecifics) GetSyncTabFavicons() bool

func (*NigoriSpecifics) ProtoMessage

func (*NigoriSpecifics) ProtoMessage()

func (*NigoriSpecifics) ProtoReflect added in v0.1.3

func (x *NigoriSpecifics) ProtoReflect() protoreflect.Message

func (*NigoriSpecifics) Reset

func (x *NigoriSpecifics) Reset()

func (*NigoriSpecifics) String

func (x *NigoriSpecifics) String() string

type NigoriSpecifics_KeyDerivationMethod

type NigoriSpecifics_KeyDerivationMethod int32
const (
	// This comes from a <= M69 client, who does not know about the field
	// (but implicitly uses PBKDF2_HMAC_SHA1_1003).
	NigoriSpecifics_UNSPECIFIED NigoriSpecifics_KeyDerivationMethod = 0
	// PBKDF2-HMAC-SHA1 with 1003 iterations and constant hardcoded salt. Was
	// implicitly used in <= M69.
	NigoriSpecifics_PBKDF2_HMAC_SHA1_1003 NigoriSpecifics_KeyDerivationMethod = 1
	// scrypt with N = 2^13, r = 8, p = 11 and random salt. Was added in M70.
	NigoriSpecifics_SCRYPT_8192_8_11 NigoriSpecifics_KeyDerivationMethod = 2
)

func (NigoriSpecifics_KeyDerivationMethod) Descriptor added in v0.1.3

func (NigoriSpecifics_KeyDerivationMethod) Enum

func (NigoriSpecifics_KeyDerivationMethod) EnumDescriptor deprecated

func (NigoriSpecifics_KeyDerivationMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use NigoriSpecifics_KeyDerivationMethod.Descriptor instead.

func (NigoriSpecifics_KeyDerivationMethod) Number added in v0.1.3

func (NigoriSpecifics_KeyDerivationMethod) String

func (NigoriSpecifics_KeyDerivationMethod) Type added in v0.1.3

func (*NigoriSpecifics_KeyDerivationMethod) UnmarshalJSON deprecated

func (x *NigoriSpecifics_KeyDerivationMethod) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type NigoriSpecifics_PassphraseType

type NigoriSpecifics_PassphraseType int32

The state of the passphrase required to decrypt |encryption_keybag|.

const (
	// Proto enums should begin with an 'unknown' value for switch statements,
	// unknown fields, etc.
	NigoriSpecifics_UNKNOWN NigoriSpecifics_PassphraseType = 0
	// Gaia-based encryption passphrase. Deprecated.
	NigoriSpecifics_IMPLICIT_PASSPHRASE NigoriSpecifics_PassphraseType = 1
	// Keystore key encryption passphrase. Uses |keystore_bootstrap| to
	// decrypt |encryption_keybag|.
	NigoriSpecifics_KEYSTORE_PASSPHRASE NigoriSpecifics_PassphraseType = 2
	// Previous Gaia-based passphrase frozen and treated as a custom passphrase.
	NigoriSpecifics_FROZEN_IMPLICIT_PASSPHRASE NigoriSpecifics_PassphraseType = 3
	// User provided custom passphrase.
	NigoriSpecifics_CUSTOM_PASSPHRASE NigoriSpecifics_PassphraseType = 4
	// Encryption key provided by a trusted vault.
	NigoriSpecifics_TRUSTED_VAULT_PASSPHRASE NigoriSpecifics_PassphraseType = 5
)

func (NigoriSpecifics_PassphraseType) Descriptor added in v0.1.3

func (NigoriSpecifics_PassphraseType) Enum

func (NigoriSpecifics_PassphraseType) EnumDescriptor deprecated

func (NigoriSpecifics_PassphraseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NigoriSpecifics_PassphraseType.Descriptor instead.

func (NigoriSpecifics_PassphraseType) Number added in v0.1.3

func (NigoriSpecifics_PassphraseType) String

func (NigoriSpecifics_PassphraseType) Type added in v0.1.3

func (*NigoriSpecifics_PassphraseType) UnmarshalJSON deprecated

func (x *NigoriSpecifics_PassphraseType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type OsPreferenceSpecifics

type OsPreferenceSpecifics struct {
	Preference *PreferenceSpecifics `protobuf:"bytes,1,opt,name=preference" json:"preference,omitempty"`
	// contains filtered or unexported fields
}

Properties of a synced Chrome OS system preference. Uses PreferenceSpecifics instead of declaring name and value fields to allow more code sharing in the client (e.g. all PrefModelAssociators can operate on PreferenceSpecifics).

func (*OsPreferenceSpecifics) Descriptor deprecated

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

Deprecated: Use OsPreferenceSpecifics.ProtoReflect.Descriptor instead.

func (*OsPreferenceSpecifics) GetPreference

func (x *OsPreferenceSpecifics) GetPreference() *PreferenceSpecifics

func (*OsPreferenceSpecifics) ProtoMessage

func (*OsPreferenceSpecifics) ProtoMessage()

func (*OsPreferenceSpecifics) ProtoReflect added in v0.1.3

func (x *OsPreferenceSpecifics) ProtoReflect() protoreflect.Message

func (*OsPreferenceSpecifics) Reset

func (x *OsPreferenceSpecifics) Reset()

func (*OsPreferenceSpecifics) String

func (x *OsPreferenceSpecifics) String() string

type OsPriorityPreferenceSpecifics

type OsPriorityPreferenceSpecifics struct {
	Preference *PreferenceSpecifics `protobuf:"bytes,1,opt,name=preference" json:"preference,omitempty"`
	// contains filtered or unexported fields
}

Properties of a Chrome OS priority preference. Uses PreferenceSpecifics instead of declaring name and value fields to allow more code sharing in the client (e.g. all PrefModelAssociators can use PreferenceSpecifics).

func (*OsPriorityPreferenceSpecifics) Descriptor deprecated

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

Deprecated: Use OsPriorityPreferenceSpecifics.ProtoReflect.Descriptor instead.

func (*OsPriorityPreferenceSpecifics) GetPreference

func (*OsPriorityPreferenceSpecifics) ProtoMessage

func (*OsPriorityPreferenceSpecifics) ProtoMessage()

func (*OsPriorityPreferenceSpecifics) ProtoReflect added in v0.1.3

func (*OsPriorityPreferenceSpecifics) Reset

func (x *OsPriorityPreferenceSpecifics) Reset()

func (*OsPriorityPreferenceSpecifics) String

type PasswordSpecifics

type PasswordSpecifics struct {

	// The actual password data. Contains an encrypted PasswordSpecificsData
	// message.
	Encrypted *EncryptedData `protobuf:"bytes,1,opt,name=encrypted" json:"encrypted,omitempty"`
	// An unsynced field for use internally on the client. This field should
	// never be set in any network-based communications because it contains
	// unencrypted material.
	ClientOnlyEncryptedData *PasswordSpecificsData `` /* 127-byte string literal not displayed */
	// Password related metadata, which is sent to the server side. The field
	// should never be set for full encryption users. If encryption is enabled,
	// this field must be cleared.
	UnencryptedMetadata *PasswordSpecificsMetadata `protobuf:"bytes,3,opt,name=unencrypted_metadata,json=unencryptedMetadata" json:"unencrypted_metadata,omitempty"`
	// contains filtered or unexported fields
}

Properties of password sync objects.

func (*PasswordSpecifics) Descriptor deprecated

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

Deprecated: Use PasswordSpecifics.ProtoReflect.Descriptor instead.

func (*PasswordSpecifics) GetClientOnlyEncryptedData

func (x *PasswordSpecifics) GetClientOnlyEncryptedData() *PasswordSpecificsData

func (*PasswordSpecifics) GetEncrypted

func (x *PasswordSpecifics) GetEncrypted() *EncryptedData

func (*PasswordSpecifics) GetUnencryptedMetadata

func (x *PasswordSpecifics) GetUnencryptedMetadata() *PasswordSpecificsMetadata

func (*PasswordSpecifics) ProtoMessage

func (*PasswordSpecifics) ProtoMessage()

func (*PasswordSpecifics) ProtoReflect added in v0.1.3

func (x *PasswordSpecifics) ProtoReflect() protoreflect.Message

func (*PasswordSpecifics) Reset

func (x *PasswordSpecifics) Reset()

func (*PasswordSpecifics) String

func (x *PasswordSpecifics) String() string

type PasswordSpecificsData

type PasswordSpecificsData struct {

	// SCHEME_HTML(0), the credential represents either a parsed HTML form, or an
	// android credential or a password saved through Credential Manager API
	// (https://w3c.github.io/webappsec/specs/credentialmanagement/).
	// SCHEME_BASIC(1), basic access http authentication.
	// SCHEME_DIGEST(2), digest access authentication.
	// SCHEME_OTHER(3), another access authentication.
	Scheme *int32 `protobuf:"varint,1,opt,name=scheme" json:"scheme,omitempty"`
	// For parsed web forms and normal passwords saved through Credential Manager
	// API: url-scheme://url-host[:url-port]/
	// For Android apps (local + federated):
	//     "android://<hash of cert>@<package name>/"
	// where the hash is base64 encoded SHA512 of the app's public certificate.
	// For federated credentials:
	//     "federation://" + origin_host + "/" + federation_host
	// For proxy auth: proxy-host/auth-realm
	// For HTTP auth: url-scheme://url-host[:url-port]/auth-realm
	SignonRealm *string `protobuf:"bytes,2,opt,name=signon_realm,json=signonRealm" json:"signon_realm,omitempty"`
	// For parsed web forms and Credential Manager API:
	//     url-scheme://url-host[:url-port]/path
	// For Android: "android://<hash of cert>@<package name>/"
	// For proxy/HTTP auth: url-scheme://url-host[:url-port]/path
	Origin *string `protobuf:"bytes,3,opt,name=origin" json:"origin,omitempty"`
	// Only for web-parsed forms - the action target of the form:
	//     url-scheme://url-host[:url-port]/path
	Action *string `protobuf:"bytes,4,opt,name=action" json:"action,omitempty"`
	// Only for web-parsed forms - the name of the element containing username.
	UsernameElement *string `protobuf:"bytes,5,opt,name=username_element,json=usernameElement" json:"username_element,omitempty"`
	// For all: the username.
	// For blacklisted forms: <empty>.
	UsernameValue *string `protobuf:"bytes,6,opt,name=username_value,json=usernameValue" json:"username_value,omitempty"`
	// Only for web-parsed forms - the name of the element containing password.
	PasswordElement *string `protobuf:"bytes,7,opt,name=password_element,json=passwordElement" json:"password_element,omitempty"`
	// For all: the password.
	// For federated logins and blacklisted forms: <empty>
	PasswordValue *string `protobuf:"bytes,8,opt,name=password_value,json=passwordValue" json:"password_value,omitempty"`
	// Deprecated: http://crbug.com/413020
	// True if the credential was saved for a HTTPS session with a valid SSL cert.
	// Ignored for Android apps.
	SslValid *bool `protobuf:"varint,9,opt,name=ssl_valid,json=sslValid" json:"ssl_valid,omitempty"`
	// True for the last credential used for logging in on a given site.
	// Deprecated in M81.
	Preferred *bool `protobuf:"varint,10,opt,name=preferred" json:"preferred,omitempty"`
	// Time when the credential was created. Amount of microseconds since 1601.
	DateCreated *int64 `protobuf:"varint,11,opt,name=date_created,json=dateCreated" json:"date_created,omitempty"`
	// True, if user chose permanently not to save the credentials for the form.
	Blacklisted *bool `protobuf:"varint,12,opt,name=blacklisted" json:"blacklisted,omitempty"`
	// TYPE_MANUAL(0), user manually filled the username and the password.
	// TYPE_GENERATED(1), the credential was auto generated.
	Type *int32 `protobuf:"varint,13,opt,name=type" json:"type,omitempty"`
	// Number of times this login was used for logging in. Chrome uses this field
	// to distinguish log-in and sign-up forms.
	TimesUsed *int32 `protobuf:"varint,14,opt,name=times_used,json=timesUsed" json:"times_used,omitempty"`
	// A human readable name of the account holder. Set by CredentialManager API
	// and Android.
	DisplayName *string `protobuf:"bytes,15,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// A URL of the avatar for the credential. Set by CredentialManager API and
	// Android.
	AvatarUrl *string `protobuf:"bytes,16,opt,name=avatar_url,json=avatarUrl" json:"avatar_url,omitempty"`
	// A URL of the IdP used to verify the credential. Set by Credential Manager
	// API and Android.
	FederationUrl *string `protobuf:"bytes,17,opt,name=federation_url,json=federationUrl" json:"federation_url,omitempty"`
	// Time when the credential was last used. Amount of microseconds since 1601.
	DateLastUsed *int64 `protobuf:"varint,18,opt,name=date_last_used,json=dateLastUsed" json:"date_last_used,omitempty"`
	// contains filtered or unexported fields
}

All the strings are encoded with UTF-8. URLs are encoded in Punycode.

func (*PasswordSpecificsData) Descriptor deprecated

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

Deprecated: Use PasswordSpecificsData.ProtoReflect.Descriptor instead.

func (*PasswordSpecificsData) GetAction

func (x *PasswordSpecificsData) GetAction() string

func (*PasswordSpecificsData) GetAvatarUrl

func (x *PasswordSpecificsData) GetAvatarUrl() string

func (*PasswordSpecificsData) GetBlacklisted

func (x *PasswordSpecificsData) GetBlacklisted() bool

func (*PasswordSpecificsData) GetDateCreated

func (x *PasswordSpecificsData) GetDateCreated() int64

func (*PasswordSpecificsData) GetDateLastUsed

func (x *PasswordSpecificsData) GetDateLastUsed() int64

func (*PasswordSpecificsData) GetDisplayName

func (x *PasswordSpecificsData) GetDisplayName() string

func (*PasswordSpecificsData) GetFederationUrl

func (x *PasswordSpecificsData) GetFederationUrl() string

func (*PasswordSpecificsData) GetOrigin

func (x *PasswordSpecificsData) GetOrigin() string

func (*PasswordSpecificsData) GetPasswordElement

func (x *PasswordSpecificsData) GetPasswordElement() string

func (*PasswordSpecificsData) GetPasswordValue

func (x *PasswordSpecificsData) GetPasswordValue() string

func (*PasswordSpecificsData) GetPreferred

func (x *PasswordSpecificsData) GetPreferred() bool

func (*PasswordSpecificsData) GetScheme

func (x *PasswordSpecificsData) GetScheme() int32

func (*PasswordSpecificsData) GetSignonRealm

func (x *PasswordSpecificsData) GetSignonRealm() string

func (*PasswordSpecificsData) GetSslValid

func (x *PasswordSpecificsData) GetSslValid() bool

func (*PasswordSpecificsData) GetTimesUsed

func (x *PasswordSpecificsData) GetTimesUsed() int32

func (*PasswordSpecificsData) GetType

func (x *PasswordSpecificsData) GetType() int32

func (*PasswordSpecificsData) GetUsernameElement

func (x *PasswordSpecificsData) GetUsernameElement() string

func (*PasswordSpecificsData) GetUsernameValue

func (x *PasswordSpecificsData) GetUsernameValue() string

func (*PasswordSpecificsData) ProtoMessage

func (*PasswordSpecificsData) ProtoMessage()

func (*PasswordSpecificsData) ProtoReflect added in v0.1.3

func (x *PasswordSpecificsData) ProtoReflect() protoreflect.Message

func (*PasswordSpecificsData) Reset

func (x *PasswordSpecificsData) Reset()

func (*PasswordSpecificsData) String

func (x *PasswordSpecificsData) String() string

type PasswordSpecificsMetadata

type PasswordSpecificsMetadata struct {
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// True, if user chose permanently not to save the credentials for the form.
	// Introduced in M82.
	Blacklisted *bool `protobuf:"varint,2,opt,name=blacklisted" json:"blacklisted,omitempty"`
	// contains filtered or unexported fields
}

Contains the password specifics metadata which simplifies its lookup.

func (*PasswordSpecificsMetadata) Descriptor deprecated

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

Deprecated: Use PasswordSpecificsMetadata.ProtoReflect.Descriptor instead.

func (*PasswordSpecificsMetadata) GetBlacklisted

func (x *PasswordSpecificsMetadata) GetBlacklisted() bool

func (*PasswordSpecificsMetadata) GetUrl

func (x *PasswordSpecificsMetadata) GetUrl() string

func (*PasswordSpecificsMetadata) ProtoMessage

func (*PasswordSpecificsMetadata) ProtoMessage()

func (*PasswordSpecificsMetadata) ProtoReflect added in v0.1.3

func (*PasswordSpecificsMetadata) Reset

func (x *PasswordSpecificsMetadata) Reset()

func (*PasswordSpecificsMetadata) String

func (x *PasswordSpecificsMetadata) String() string

type PaymentsCustomerData

type PaymentsCustomerData struct {

	// The billable customer ID associated with the account.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Contains information about a Payments Customer.

func (*PaymentsCustomerData) Descriptor deprecated

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

Deprecated: Use PaymentsCustomerData.ProtoReflect.Descriptor instead.

func (*PaymentsCustomerData) GetId

func (x *PaymentsCustomerData) GetId() string

func (*PaymentsCustomerData) ProtoMessage

func (*PaymentsCustomerData) ProtoMessage()

func (*PaymentsCustomerData) ProtoReflect added in v0.1.3

func (x *PaymentsCustomerData) ProtoReflect() protoreflect.Message

func (*PaymentsCustomerData) Reset

func (x *PaymentsCustomerData) Reset()

func (*PaymentsCustomerData) String

func (x *PaymentsCustomerData) String() string

type PersistedEntityData

type PersistedEntityData struct {

	// See corresponding fields in SyncEntity for details.
	Name      *string          `protobuf:"bytes,8,opt,name=name" json:"name,omitempty"`
	Specifics *EntitySpecifics `protobuf:"bytes,21,opt,name=specifics" json:"specifics,omitempty"`
	// contains filtered or unexported fields
}

Sync proto to store entity data similar to what directory stores, used to persist data locally and never sent through the wire.

Because it's conceptually similar to SyncEntity (actual protocol) and it's unclear how big this'll grow, we've kept compatibility with SyncEntity by using the same field numbers.

func (*PersistedEntityData) Descriptor deprecated

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

Deprecated: Use PersistedEntityData.ProtoReflect.Descriptor instead.

func (*PersistedEntityData) GetName

func (x *PersistedEntityData) GetName() string

func (*PersistedEntityData) GetSpecifics

func (x *PersistedEntityData) GetSpecifics() *EntitySpecifics

func (*PersistedEntityData) ProtoMessage

func (*PersistedEntityData) ProtoMessage()

func (*PersistedEntityData) ProtoReflect added in v0.1.3

func (x *PersistedEntityData) ProtoReflect() protoreflect.Message

func (*PersistedEntityData) Reset

func (x *PersistedEntityData) Reset()

func (*PersistedEntityData) String

func (x *PersistedEntityData) String() string

type PreCommitUpdateAvoidanceFlags

type PreCommitUpdateAvoidanceFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Flags for enabling the experimental no-precommit GU feature.

func (*PreCommitUpdateAvoidanceFlags) Descriptor deprecated

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

Deprecated: Use PreCommitUpdateAvoidanceFlags.ProtoReflect.Descriptor instead.

func (*PreCommitUpdateAvoidanceFlags) GetEnabled

func (x *PreCommitUpdateAvoidanceFlags) GetEnabled() bool

func (*PreCommitUpdateAvoidanceFlags) ProtoMessage

func (*PreCommitUpdateAvoidanceFlags) ProtoMessage()

func (*PreCommitUpdateAvoidanceFlags) ProtoReflect added in v0.1.3

func (*PreCommitUpdateAvoidanceFlags) Reset

func (x *PreCommitUpdateAvoidanceFlags) Reset()

func (*PreCommitUpdateAvoidanceFlags) String

type PreferenceSpecifics

type PreferenceSpecifics struct {
	Name  *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Properties of preference sync objects.

func (*PreferenceSpecifics) Descriptor deprecated

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

Deprecated: Use PreferenceSpecifics.ProtoReflect.Descriptor instead.

func (*PreferenceSpecifics) GetName

func (x *PreferenceSpecifics) GetName() string

func (*PreferenceSpecifics) GetValue

func (x *PreferenceSpecifics) GetValue() string

func (*PreferenceSpecifics) ProtoMessage

func (*PreferenceSpecifics) ProtoMessage()

func (*PreferenceSpecifics) ProtoReflect added in v0.1.3

func (x *PreferenceSpecifics) ProtoReflect() protoreflect.Message

func (*PreferenceSpecifics) Reset

func (x *PreferenceSpecifics) Reset()

func (*PreferenceSpecifics) String

func (x *PreferenceSpecifics) String() string

type PrinterPPDReference

type PrinterPPDReference struct {

	// Url for user provided file.  Overrides other fields.
	UserSuppliedPpdUrl *string `protobuf:"bytes,1,opt,name=user_supplied_ppd_url,json=userSuppliedPpdUrl" json:"user_supplied_ppd_url,omitempty"`
	// Retired fields
	//
	// Deprecated: Do not use.
	EffectiveManufacturer *string `protobuf:"bytes,2,opt,name=effective_manufacturer,json=effectiveManufacturer" json:"effective_manufacturer,omitempty"`
	// Deprecated: Do not use.
	EffectiveModel *string `protobuf:"bytes,3,opt,name=effective_model,json=effectiveModel" json:"effective_model,omitempty"`
	// String identifying the type of printer, used to look up a ppd to drive the
	// printer.
	EffectiveMakeAndModel *string `protobuf:"bytes,4,opt,name=effective_make_and_model,json=effectiveMakeAndModel" json:"effective_make_and_model,omitempty"`
	// True if the printer should be automatically configured, false otherwise.
	Autoconf *bool `protobuf:"varint,5,opt,name=autoconf,def=0" json:"autoconf,omitempty"`
	// contains filtered or unexported fields
}

User PPD configuration

func (*PrinterPPDReference) Descriptor deprecated

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

Deprecated: Use PrinterPPDReference.ProtoReflect.Descriptor instead.

func (*PrinterPPDReference) GetAutoconf

func (x *PrinterPPDReference) GetAutoconf() bool

func (*PrinterPPDReference) GetEffectiveMakeAndModel

func (x *PrinterPPDReference) GetEffectiveMakeAndModel() string

func (*PrinterPPDReference) GetEffectiveManufacturer deprecated

func (x *PrinterPPDReference) GetEffectiveManufacturer() string

Deprecated: Do not use.

func (*PrinterPPDReference) GetEffectiveModel deprecated

func (x *PrinterPPDReference) GetEffectiveModel() string

Deprecated: Do not use.

func (*PrinterPPDReference) GetUserSuppliedPpdUrl

func (x *PrinterPPDReference) GetUserSuppliedPpdUrl() string

func (*PrinterPPDReference) ProtoMessage

func (*PrinterPPDReference) ProtoMessage()

func (*PrinterPPDReference) ProtoReflect added in v0.1.3

func (x *PrinterPPDReference) ProtoReflect() protoreflect.Message

func (*PrinterPPDReference) Reset

func (x *PrinterPPDReference) Reset()

func (*PrinterPPDReference) String

func (x *PrinterPPDReference) String() string

type PrinterSpecifics

type PrinterSpecifics struct {

	// Printer record GUID
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// User visible name.  Any string.
	DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// User visible description.  Any string.
	Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// Printer manufacturer.  Should be a known manufacturuer.
	// Deprecated in favor of make_and_model.
	//
	// Deprecated: Do not use.
	Manufacturer *string `protobuf:"bytes,4,opt,name=manufacturer" json:"manufacturer,omitempty"`
	// Printer model.  Should match a known model for the manufacturer.
	// Deprecated in favor of make_and_model.
	//
	// Deprecated: Do not use.
	Model *string `protobuf:"bytes,5,opt,name=model" json:"model,omitempty"`
	// Universal Resource Identifier for the printer on the network.  usb:// will
	// be the scheme for USB printers.  Example
	// ipp://address.example:port/queue/queue/queue.
	Uri *string `protobuf:"bytes,6,opt,name=uri" json:"uri,omitempty"`
	// Universally Unique Identifier provided by the printer.  Used for unique
	// identification of printers in a zeroconf environment.
	Uuid *string `protobuf:"bytes,7,opt,name=uuid" json:"uuid,omitempty"`
	// PPDData was deprecated in favor of PPDReference format.
	//
	// Deprecated: Do not use.
	Ppd []byte `protobuf:"bytes,8,opt,name=ppd" json:"ppd,omitempty"`
	// Structure representing the user's ppd configuration.
	PpdReference *PrinterPPDReference `protobuf:"bytes,9,opt,name=ppd_reference,json=ppdReference" json:"ppd_reference,omitempty"`
	// Timestamp when printer was last updated.
	UpdatedTimestamp *int64 `protobuf:"varint,10,opt,name=updated_timestamp,json=updatedTimestamp" json:"updated_timestamp,omitempty"`
	// The make and model of the printer in one string.  The typical arrangement
	// for this is '<make> <model>'.  This aligns with the typical formatting of
	// the IPP attribute printer-make-and-model.
	MakeAndModel *string `protobuf:"bytes,11,opt,name=make_and_model,json=makeAndModel" json:"make_and_model,omitempty"`
	// Universal Resource Identifier for the print server on the network.  This
	// will only be populated if the printer is from a print server.  Example
	// ipp://address.example:port/
	PrintServerUri *string `protobuf:"bytes,12,opt,name=print_server_uri,json=printServerUri" json:"print_server_uri,omitempty"`
	// contains filtered or unexported fields
}

func (*PrinterSpecifics) Descriptor deprecated

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

Deprecated: Use PrinterSpecifics.ProtoReflect.Descriptor instead.

func (*PrinterSpecifics) GetDescription

func (x *PrinterSpecifics) GetDescription() string

func (*PrinterSpecifics) GetDisplayName

func (x *PrinterSpecifics) GetDisplayName() string

func (*PrinterSpecifics) GetId

func (x *PrinterSpecifics) GetId() string

func (*PrinterSpecifics) GetMakeAndModel

func (x *PrinterSpecifics) GetMakeAndModel() string

func (*PrinterSpecifics) GetManufacturer deprecated

func (x *PrinterSpecifics) GetManufacturer() string

Deprecated: Do not use.

func (*PrinterSpecifics) GetModel deprecated

func (x *PrinterSpecifics) GetModel() string

Deprecated: Do not use.

func (*PrinterSpecifics) GetPpd deprecated

func (x *PrinterSpecifics) GetPpd() []byte

Deprecated: Do not use.

func (*PrinterSpecifics) GetPpdReference

func (x *PrinterSpecifics) GetPpdReference() *PrinterPPDReference

func (*PrinterSpecifics) GetPrintServerUri

func (x *PrinterSpecifics) GetPrintServerUri() string

func (*PrinterSpecifics) GetUpdatedTimestamp

func (x *PrinterSpecifics) GetUpdatedTimestamp() int64

func (*PrinterSpecifics) GetUri

func (x *PrinterSpecifics) GetUri() string

func (*PrinterSpecifics) GetUuid

func (x *PrinterSpecifics) GetUuid() string

func (*PrinterSpecifics) ProtoMessage

func (*PrinterSpecifics) ProtoMessage()

func (*PrinterSpecifics) ProtoReflect added in v0.1.3

func (x *PrinterSpecifics) ProtoReflect() protoreflect.Message

func (*PrinterSpecifics) Reset

func (x *PrinterSpecifics) Reset()

func (*PrinterSpecifics) String

func (x *PrinterSpecifics) String() string

type PriorityPreferenceSpecifics

type PriorityPreferenceSpecifics struct {
	Preference *PreferenceSpecifics `protobuf:"bytes,1,opt,name=preference" json:"preference,omitempty"`
	// contains filtered or unexported fields
}

Properties of a synced priority preference.

func (*PriorityPreferenceSpecifics) Descriptor deprecated

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

Deprecated: Use PriorityPreferenceSpecifics.ProtoReflect.Descriptor instead.

func (*PriorityPreferenceSpecifics) GetPreference

func (*PriorityPreferenceSpecifics) ProtoMessage

func (*PriorityPreferenceSpecifics) ProtoMessage()

func (*PriorityPreferenceSpecifics) ProtoReflect added in v0.1.3

func (*PriorityPreferenceSpecifics) Reset

func (x *PriorityPreferenceSpecifics) Reset()

func (*PriorityPreferenceSpecifics) String

func (x *PriorityPreferenceSpecifics) String() string

type ProfilingData

type ProfilingData struct {
	MetaDataWriteTime *int64 `protobuf:"varint,1,opt,name=meta_data_write_time,json=metaDataWriteTime" json:"meta_data_write_time,omitempty"`
	FileDataWriteTime *int64 `protobuf:"varint,2,opt,name=file_data_write_time,json=fileDataWriteTime" json:"file_data_write_time,omitempty"`
	UserLookupTime    *int64 `protobuf:"varint,3,opt,name=user_lookup_time,json=userLookupTime" json:"user_lookup_time,omitempty"`
	MetaDataReadTime  *int64 `protobuf:"varint,4,opt,name=meta_data_read_time,json=metaDataReadTime" json:"meta_data_read_time,omitempty"`
	FileDataReadTime  *int64 `protobuf:"varint,5,opt,name=file_data_read_time,json=fileDataReadTime" json:"file_data_read_time,omitempty"`
	TotalRequestTime  *int64 `protobuf:"varint,6,opt,name=total_request_time,json=totalRequestTime" json:"total_request_time,omitempty"`
	// contains filtered or unexported fields
}

Used for inspecting how long we spent performing operations in different backends. All times must be in millis.

func (*ProfilingData) Descriptor deprecated

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

Deprecated: Use ProfilingData.ProtoReflect.Descriptor instead.

func (*ProfilingData) GetFileDataReadTime

func (x *ProfilingData) GetFileDataReadTime() int64

func (*ProfilingData) GetFileDataWriteTime

func (x *ProfilingData) GetFileDataWriteTime() int64

func (*ProfilingData) GetMetaDataReadTime

func (x *ProfilingData) GetMetaDataReadTime() int64

func (*ProfilingData) GetMetaDataWriteTime

func (x *ProfilingData) GetMetaDataWriteTime() int64

func (*ProfilingData) GetTotalRequestTime

func (x *ProfilingData) GetTotalRequestTime() int64

func (*ProfilingData) GetUserLookupTime

func (x *ProfilingData) GetUserLookupTime() int64

func (*ProfilingData) ProtoMessage

func (*ProfilingData) ProtoMessage()

func (*ProfilingData) ProtoReflect added in v0.1.3

func (x *ProfilingData) ProtoReflect() protoreflect.Message

func (*ProfilingData) Reset

func (x *ProfilingData) Reset()

func (*ProfilingData) String

func (x *ProfilingData) String() string

type ReadingListSpecifics

type ReadingListSpecifics struct {
	EntryId           *string `protobuf:"bytes,1,opt,name=entry_id,json=entryId" json:"entry_id,omitempty"`
	Title             *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	Url               *string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	CreationTimeUs    *int64  `protobuf:"varint,4,opt,name=creation_time_us,json=creationTimeUs" json:"creation_time_us,omitempty"`
	UpdateTimeUs      *int64  `protobuf:"varint,5,opt,name=update_time_us,json=updateTimeUs" json:"update_time_us,omitempty"`
	FirstReadTimeUs   *int64  `protobuf:"varint,7,opt,name=first_read_time_us,json=firstReadTimeUs" json:"first_read_time_us,omitempty"`
	UpdateTitleTimeUs *int64  `protobuf:"varint,8,opt,name=update_title_time_us,json=updateTitleTimeUs" json:"update_title_time_us,omitempty"`
	// If the field is not present, it defaults to UNSEEN.
	Status *ReadingListSpecifics_ReadingListEntryStatus `protobuf:"varint,6,opt,name=status,enum=sync_pb.ReadingListSpecifics_ReadingListEntryStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Sync Reading list entry. This proto contains the fields synced for a reading list entry. It must be kept synced with the reading_list.ReadingListLocal protobuf.

func (*ReadingListSpecifics) Descriptor deprecated

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

Deprecated: Use ReadingListSpecifics.ProtoReflect.Descriptor instead.

func (*ReadingListSpecifics) GetCreationTimeUs

func (x *ReadingListSpecifics) GetCreationTimeUs() int64

func (*ReadingListSpecifics) GetEntryId

func (x *ReadingListSpecifics) GetEntryId() string

func (*ReadingListSpecifics) GetFirstReadTimeUs

func (x *ReadingListSpecifics) GetFirstReadTimeUs() int64

func (*ReadingListSpecifics) GetStatus

func (*ReadingListSpecifics) GetTitle

func (x *ReadingListSpecifics) GetTitle() string

func (*ReadingListSpecifics) GetUpdateTimeUs

func (x *ReadingListSpecifics) GetUpdateTimeUs() int64

func (*ReadingListSpecifics) GetUpdateTitleTimeUs

func (x *ReadingListSpecifics) GetUpdateTitleTimeUs() int64

func (*ReadingListSpecifics) GetUrl

func (x *ReadingListSpecifics) GetUrl() string

func (*ReadingListSpecifics) ProtoMessage

func (*ReadingListSpecifics) ProtoMessage()

func (*ReadingListSpecifics) ProtoReflect added in v0.1.3

func (x *ReadingListSpecifics) ProtoReflect() protoreflect.Message

func (*ReadingListSpecifics) Reset

func (x *ReadingListSpecifics) Reset()

func (*ReadingListSpecifics) String

func (x *ReadingListSpecifics) String() string

type ReadingListSpecifics_ReadingListEntryStatus

type ReadingListSpecifics_ReadingListEntryStatus int32
const (
	ReadingListSpecifics_UNREAD ReadingListSpecifics_ReadingListEntryStatus = 0
	ReadingListSpecifics_READ   ReadingListSpecifics_ReadingListEntryStatus = 1
	ReadingListSpecifics_UNSEEN ReadingListSpecifics_ReadingListEntryStatus = 2
)

func (ReadingListSpecifics_ReadingListEntryStatus) Descriptor added in v0.1.3

func (ReadingListSpecifics_ReadingListEntryStatus) Enum

func (ReadingListSpecifics_ReadingListEntryStatus) EnumDescriptor deprecated

func (ReadingListSpecifics_ReadingListEntryStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReadingListSpecifics_ReadingListEntryStatus.Descriptor instead.

func (ReadingListSpecifics_ReadingListEntryStatus) Number added in v0.1.3

func (ReadingListSpecifics_ReadingListEntryStatus) String

func (ReadingListSpecifics_ReadingListEntryStatus) Type added in v0.1.3

func (*ReadingListSpecifics_ReadingListEntryStatus) UnmarshalJSON deprecated

Deprecated: Do not use.

type ReplacedNavigation

type ReplacedNavigation struct {
	FirstCommittedUrl   *string                   `protobuf:"bytes,1,opt,name=first_committed_url,json=firstCommittedUrl" json:"first_committed_url,omitempty"`
	FirstTimestampMsec  *int64                    `protobuf:"varint,2,opt,name=first_timestamp_msec,json=firstTimestampMsec" json:"first_timestamp_msec,omitempty"`
	FirstPageTransition *SyncEnums_PageTransition `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Subset of TabNavigation fields representing a navigation that was later replaced in history (e.g. history.replaceState()), which allows tracking information about the original navigation prior to the first replacement.

func (*ReplacedNavigation) Descriptor deprecated

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

Deprecated: Use ReplacedNavigation.ProtoReflect.Descriptor instead.

func (*ReplacedNavigation) GetFirstCommittedUrl

func (x *ReplacedNavigation) GetFirstCommittedUrl() string

func (*ReplacedNavigation) GetFirstPageTransition

func (x *ReplacedNavigation) GetFirstPageTransition() SyncEnums_PageTransition

func (*ReplacedNavigation) GetFirstTimestampMsec

func (x *ReplacedNavigation) GetFirstTimestampMsec() int64

func (*ReplacedNavigation) ProtoMessage

func (*ReplacedNavigation) ProtoMessage()

func (*ReplacedNavigation) ProtoReflect added in v0.1.3

func (x *ReplacedNavigation) ProtoReflect() protoreflect.Message

func (*ReplacedNavigation) Reset

func (x *ReplacedNavigation) Reset()

func (*ReplacedNavigation) String

func (x *ReplacedNavigation) String() string

type SearchEngineSpecifics

type SearchEngineSpecifics struct {

	// The description of the search engine.
	ShortName *string `protobuf:"bytes,1,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
	// The search engine keyword for omnibox access.
	Keyword *string `protobuf:"bytes,2,opt,name=keyword" json:"keyword,omitempty"`
	// A URL to the favicon to show in the search engines options page.
	FaviconUrl *string `protobuf:"bytes,3,opt,name=favicon_url,json=faviconUrl" json:"favicon_url,omitempty"`
	// The actual parameterized search engine query URL.
	Url *string `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"`
	// A flag signifying whether it is safe to automatically modify this search
	// engine entry or not.
	SafeForAutoreplace *bool `protobuf:"varint,5,opt,name=safe_for_autoreplace,json=safeForAutoreplace" json:"safe_for_autoreplace,omitempty"`
	// The URL to the OSD file this search engine entry came from.
	OriginatingUrl *string `protobuf:"bytes,6,opt,name=originating_url,json=originatingUrl" json:"originating_url,omitempty"`
	// The date this search engine entry was created. A UTC timestamp with units
	// in microseconds.
	DateCreated *int64 `protobuf:"varint,7,opt,name=date_created,json=dateCreated" json:"date_created,omitempty"`
	// A list of supported input encodings.
	InputEncodings *string `protobuf:"bytes,8,opt,name=input_encodings,json=inputEncodings" json:"input_encodings,omitempty"`
	// Obsolete field. This used to represent whether or not this entry is shown
	// in the list of default search engines.
	//
	// Deprecated: Do not use.
	DeprecatedShowInDefaultList *bool `` /* 142-byte string literal not displayed */
	// The parameterized URL that provides suggestions as the user types.
	SuggestionsUrl *string `protobuf:"bytes,10,opt,name=suggestions_url,json=suggestionsUrl" json:"suggestions_url,omitempty"`
	// The ID associated with the prepopulate data this search engine comes from.
	// Set to zero if it was not prepopulated.
	PrepopulateId *int32 `protobuf:"varint,11,opt,name=prepopulate_id,json=prepopulateId" json:"prepopulate_id,omitempty"`
	// DEPRECATED: Whether to autogenerate a keyword for the search engine or not.
	// Do not write to this field in the future.  We preserve this for now so we
	// can read the field in order to migrate existing data that sets this bit.
	AutogenerateKeyword *bool `protobuf:"varint,12,opt,name=autogenerate_keyword,json=autogenerateKeyword" json:"autogenerate_keyword,omitempty"`
	// ID 13 reserved - previously used by |logo_id|, now deprecated.
	// Obsolete field. This used to represent whether or not this search engine
	// entry was created automatically by an administrator via group policy. This
	// notion no longer exists amongst synced search engines as we do not want to
	// sync managed search engines.
	// optional bool deprecated_created_by_policy = 14;
	//
	// Deprecated: Do not use.
	InstantUrl *string `protobuf:"bytes,15,opt,name=instant_url,json=instantUrl" json:"instant_url,omitempty"`
	// ID 16 reserved - previously used by |id|, now deprecated.
	// The last time this entry was modified by a user. A UTC timestamp with units
	// in microseconds.
	LastModified *int64 `protobuf:"varint,17,opt,name=last_modified,json=lastModified" json:"last_modified,omitempty"`
	// The primary identifier of this search engine entry for Sync.
	SyncGuid *string `protobuf:"bytes,18,opt,name=sync_guid,json=syncGuid" json:"sync_guid,omitempty"`
	// A list of URL patterns that can be used, in addition to |url|, to extract
	// search terms from a URL.
	AlternateUrls []string `protobuf:"bytes,19,rep,name=alternate_urls,json=alternateUrls" json:"alternate_urls,omitempty"`
	// Deprecated: Do not use.
	SearchTermsReplacementKey *string `` /* 134-byte string literal not displayed */
	// The parameterized URL that provides image results according to the image
	// content or image URL provided by user.
	ImageUrl *string `protobuf:"bytes,21,opt,name=image_url,json=imageUrl" json:"image_url,omitempty"`
	// The following post_params are comma-separated lists used to specify the
	// post parameters for the corresponding search URL.
	SearchUrlPostParams      *string `protobuf:"bytes,22,opt,name=search_url_post_params,json=searchUrlPostParams" json:"search_url_post_params,omitempty"`
	SuggestionsUrlPostParams *string `` /* 131-byte string literal not displayed */
	// Deprecated: Do not use.
	InstantUrlPostParams *string `protobuf:"bytes,24,opt,name=instant_url_post_params,json=instantUrlPostParams" json:"instant_url_post_params,omitempty"`
	ImageUrlPostParams   *string `protobuf:"bytes,25,opt,name=image_url_post_params,json=imageUrlPostParams" json:"image_url_post_params,omitempty"`
	// The parameterized URL for a search provider specified new tab page.
	NewTabUrl *string `protobuf:"bytes,26,opt,name=new_tab_url,json=newTabUrl" json:"new_tab_url,omitempty"`
	// contains filtered or unexported fields
}

Properties of custom search engine sync objects.

func (*SearchEngineSpecifics) Descriptor deprecated

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

Deprecated: Use SearchEngineSpecifics.ProtoReflect.Descriptor instead.

func (*SearchEngineSpecifics) GetAlternateUrls

func (x *SearchEngineSpecifics) GetAlternateUrls() []string

func (*SearchEngineSpecifics) GetAutogenerateKeyword

func (x *SearchEngineSpecifics) GetAutogenerateKeyword() bool

func (*SearchEngineSpecifics) GetDateCreated

func (x *SearchEngineSpecifics) GetDateCreated() int64

func (*SearchEngineSpecifics) GetDeprecatedShowInDefaultList deprecated

func (x *SearchEngineSpecifics) GetDeprecatedShowInDefaultList() bool

Deprecated: Do not use.

func (*SearchEngineSpecifics) GetFaviconUrl

func (x *SearchEngineSpecifics) GetFaviconUrl() string

func (*SearchEngineSpecifics) GetImageUrl

func (x *SearchEngineSpecifics) GetImageUrl() string

func (*SearchEngineSpecifics) GetImageUrlPostParams

func (x *SearchEngineSpecifics) GetImageUrlPostParams() string

func (*SearchEngineSpecifics) GetInputEncodings

func (x *SearchEngineSpecifics) GetInputEncodings() string

func (*SearchEngineSpecifics) GetInstantUrl deprecated

func (x *SearchEngineSpecifics) GetInstantUrl() string

Deprecated: Do not use.

func (*SearchEngineSpecifics) GetInstantUrlPostParams deprecated

func (x *SearchEngineSpecifics) GetInstantUrlPostParams() string

Deprecated: Do not use.

func (*SearchEngineSpecifics) GetKeyword

func (x *SearchEngineSpecifics) GetKeyword() string

func (*SearchEngineSpecifics) GetLastModified

func (x *SearchEngineSpecifics) GetLastModified() int64

func (*SearchEngineSpecifics) GetNewTabUrl

func (x *SearchEngineSpecifics) GetNewTabUrl() string

func (*SearchEngineSpecifics) GetOriginatingUrl

func (x *SearchEngineSpecifics) GetOriginatingUrl() string

func (*SearchEngineSpecifics) GetPrepopulateId

func (x *SearchEngineSpecifics) GetPrepopulateId() int32

func (*SearchEngineSpecifics) GetSafeForAutoreplace

func (x *SearchEngineSpecifics) GetSafeForAutoreplace() bool

func (*SearchEngineSpecifics) GetSearchTermsReplacementKey deprecated

func (x *SearchEngineSpecifics) GetSearchTermsReplacementKey() string

Deprecated: Do not use.

func (*SearchEngineSpecifics) GetSearchUrlPostParams

func (x *SearchEngineSpecifics) GetSearchUrlPostParams() string

func (*SearchEngineSpecifics) GetShortName

func (x *SearchEngineSpecifics) GetShortName() string

func (*SearchEngineSpecifics) GetSuggestionsUrl

func (x *SearchEngineSpecifics) GetSuggestionsUrl() string

func (*SearchEngineSpecifics) GetSuggestionsUrlPostParams

func (x *SearchEngineSpecifics) GetSuggestionsUrlPostParams() string

func (*SearchEngineSpecifics) GetSyncGuid

func (x *SearchEngineSpecifics) GetSyncGuid() string

func (*SearchEngineSpecifics) GetUrl

func (x *SearchEngineSpecifics) GetUrl() string

func (*SearchEngineSpecifics) ProtoMessage

func (*SearchEngineSpecifics) ProtoMessage()

func (*SearchEngineSpecifics) ProtoReflect added in v0.1.3

func (x *SearchEngineSpecifics) ProtoReflect() protoreflect.Message

func (*SearchEngineSpecifics) Reset

func (x *SearchEngineSpecifics) Reset()

func (*SearchEngineSpecifics) String

func (x *SearchEngineSpecifics) String() string

type SecurityEventSpecifics

type SecurityEventSpecifics struct {

	// The specific security event to record.
	//
	// Types that are assignable to Event:
	//	*SecurityEventSpecifics_GaiaPasswordReuseEvent
	Event isSecurityEventSpecifics_Event `protobuf_oneof:"event"`
	// Time of event, as measured by client in microseconds since Windows epoch.
	EventTimeUsec *int64 `protobuf:"varint,2,opt,name=event_time_usec,json=eventTimeUsec" json:"event_time_usec,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityEventSpecifics) Descriptor deprecated

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

Deprecated: Use SecurityEventSpecifics.ProtoReflect.Descriptor instead.

func (*SecurityEventSpecifics) GetEvent

func (m *SecurityEventSpecifics) GetEvent() isSecurityEventSpecifics_Event

func (*SecurityEventSpecifics) GetEventTimeUsec

func (x *SecurityEventSpecifics) GetEventTimeUsec() int64

func (*SecurityEventSpecifics) GetGaiaPasswordReuseEvent

func (x *SecurityEventSpecifics) GetGaiaPasswordReuseEvent() *GaiaPasswordReuse

func (*SecurityEventSpecifics) ProtoMessage

func (*SecurityEventSpecifics) ProtoMessage()

func (*SecurityEventSpecifics) ProtoReflect added in v0.1.3

func (x *SecurityEventSpecifics) ProtoReflect() protoreflect.Message

func (*SecurityEventSpecifics) Reset

func (x *SecurityEventSpecifics) Reset()

func (*SecurityEventSpecifics) String

func (x *SecurityEventSpecifics) String() string

type SecurityEventSpecifics_GaiaPasswordReuseEvent

type SecurityEventSpecifics_GaiaPasswordReuseEvent struct {
	GaiaPasswordReuseEvent *GaiaPasswordReuse `protobuf:"bytes,1,opt,name=gaia_password_reuse_event,json=gaiaPasswordReuseEvent,oneof"`
}

type SendTabToSelfSpecifics

type SendTabToSelfSpecifics struct {

	// A random unique identifier for each shared tab.
	// Required.
	Guid *string `protobuf:"bytes,5,opt,name=guid" json:"guid,omitempty"`
	// The name of the tab being shared.
	Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
	// The URL of the tab being shared.
	// Required.
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// The time the tab was shared as measured by the client in microseconds since
	// the windows epoch.
	SharedTimeUsec *int64 `protobuf:"varint,3,opt,name=shared_time_usec,json=sharedTimeUsec" json:"shared_time_usec,omitempty"`
	// The time the tab was navigated to as measured by the client in microseconds
	// since the windows epoch.
	NavigationTimeUsec *int64 `protobuf:"varint,6,opt,name=navigation_time_usec,json=navigationTimeUsec" json:"navigation_time_usec,omitempty"`
	// A non-unique but human readable name to describe this client, used in UI.
	DeviceName *string `protobuf:"bytes,4,opt,name=device_name,json=deviceName" json:"device_name,omitempty"`
	// The stable Device_id of the device that this tab was shared with.
	// Required.
	TargetDeviceSyncCacheGuid *string `` /* 135-byte string literal not displayed */
	// A boolean to designate if the shared tab been opened on the target device.
	Opened *bool `protobuf:"varint,8,opt,name=opened" json:"opened,omitempty"`
	// Whether the notification for this proto been dismissed.
	NotificationDismissed *bool `protobuf:"varint,9,opt,name=notification_dismissed,json=notificationDismissed" json:"notification_dismissed,omitempty"`
	// contains filtered or unexported fields
}

Send Tab To Self list entry. This proto contains the fields synced to send a url across devices.

func (*SendTabToSelfSpecifics) Descriptor deprecated

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

Deprecated: Use SendTabToSelfSpecifics.ProtoReflect.Descriptor instead.

func (*SendTabToSelfSpecifics) GetDeviceName

func (x *SendTabToSelfSpecifics) GetDeviceName() string

func (*SendTabToSelfSpecifics) GetGuid

func (x *SendTabToSelfSpecifics) GetGuid() string

func (*SendTabToSelfSpecifics) GetNavigationTimeUsec

func (x *SendTabToSelfSpecifics) GetNavigationTimeUsec() int64

func (*SendTabToSelfSpecifics) GetNotificationDismissed

func (x *SendTabToSelfSpecifics) GetNotificationDismissed() bool

func (*SendTabToSelfSpecifics) GetOpened

func (x *SendTabToSelfSpecifics) GetOpened() bool

func (*SendTabToSelfSpecifics) GetSharedTimeUsec

func (x *SendTabToSelfSpecifics) GetSharedTimeUsec() int64

func (*SendTabToSelfSpecifics) GetTargetDeviceSyncCacheGuid

func (x *SendTabToSelfSpecifics) GetTargetDeviceSyncCacheGuid() string

func (*SendTabToSelfSpecifics) GetTitle

func (x *SendTabToSelfSpecifics) GetTitle() string

func (*SendTabToSelfSpecifics) GetUrl

func (x *SendTabToSelfSpecifics) GetUrl() string

func (*SendTabToSelfSpecifics) ProtoMessage

func (*SendTabToSelfSpecifics) ProtoMessage()

func (*SendTabToSelfSpecifics) ProtoReflect added in v0.1.3

func (x *SendTabToSelfSpecifics) ProtoReflect() protoreflect.Message

func (*SendTabToSelfSpecifics) Reset

func (x *SendTabToSelfSpecifics) Reset()

func (*SendTabToSelfSpecifics) String

func (x *SendTabToSelfSpecifics) String() string

type SessionHeader

type SessionHeader struct {

	// Each session is composed of windows.
	Window []*SessionWindow `protobuf:"bytes,2,rep,name=window" json:"window,omitempty"`
	// A non-unique but human-readable name to describe this client.
	ClientName *string `protobuf:"bytes,3,opt,name=client_name,json=clientName" json:"client_name,omitempty"`
	// The type of device.
	DeviceType *SyncEnums_DeviceType `protobuf:"varint,4,opt,name=device_type,json=deviceType,enum=sync_pb.SyncEnums_DeviceType" json:"device_type,omitempty"`
	// contains filtered or unexported fields
}

Properties of session sync objects.

func (*SessionHeader) Descriptor deprecated

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

Deprecated: Use SessionHeader.ProtoReflect.Descriptor instead.

func (*SessionHeader) GetClientName

func (x *SessionHeader) GetClientName() string

func (*SessionHeader) GetDeviceType

func (x *SessionHeader) GetDeviceType() SyncEnums_DeviceType

func (*SessionHeader) GetWindow

func (x *SessionHeader) GetWindow() []*SessionWindow

func (*SessionHeader) ProtoMessage

func (*SessionHeader) ProtoMessage()

func (*SessionHeader) ProtoReflect added in v0.1.3

func (x *SessionHeader) ProtoReflect() protoreflect.Message

func (*SessionHeader) Reset

func (x *SessionHeader) Reset()

func (*SessionHeader) String

func (x *SessionHeader) String() string

type SessionSpecifics

type SessionSpecifics struct {

	// Unique id for the client.
	SessionTag *string        `protobuf:"bytes,1,opt,name=session_tag,json=sessionTag" json:"session_tag,omitempty"`
	Header     *SessionHeader `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"`
	Tab        *SessionTab    `protobuf:"bytes,3,opt,name=tab" json:"tab,omitempty"`
	// The local tab id used by sync. Unique across all nodes for that client.
	TabNodeId *int32 `protobuf:"varint,4,opt,name=tab_node_id,json=tabNodeId,def=-1" json:"tab_node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionSpecifics) Descriptor deprecated

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

Deprecated: Use SessionSpecifics.ProtoReflect.Descriptor instead.

func (*SessionSpecifics) GetHeader

func (x *SessionSpecifics) GetHeader() *SessionHeader

func (*SessionSpecifics) GetSessionTag

func (x *SessionSpecifics) GetSessionTag() string

func (*SessionSpecifics) GetTab

func (x *SessionSpecifics) GetTab() *SessionTab

func (*SessionSpecifics) GetTabNodeId

func (x *SessionSpecifics) GetTabNodeId() int32

func (*SessionSpecifics) ProtoMessage

func (*SessionSpecifics) ProtoMessage()

func (*SessionSpecifics) ProtoReflect added in v0.1.3

func (x *SessionSpecifics) ProtoReflect() protoreflect.Message

func (*SessionSpecifics) Reset

func (x *SessionSpecifics) Reset()

func (*SessionSpecifics) String

func (x *SessionSpecifics) String() string

type SessionTab

type SessionTab struct {

	// Unique (to the owner) id for this tab.
	TabId *int32 `protobuf:"varint,1,opt,name=tab_id,json=tabId,def=-1" json:"tab_id,omitempty"`
	// The unique id for the window this tab belongs to.
	WindowId *int32 `protobuf:"varint,2,opt,name=window_id,json=windowId" json:"window_id,omitempty"`
	// Visual index of the tab within its window. There may be gaps in these
	// values.
	TabVisualIndex *int32 `protobuf:"varint,3,opt,name=tab_visual_index,json=tabVisualIndex,def=-1" json:"tab_visual_index,omitempty"`
	// Identifies the index of the current navigation in navigations. For
	// example, if this is 2 it means the current navigation is navigations[2].
	CurrentNavigationIndex *int32 `` /* 130-byte string literal not displayed */
	// True if the tab is pinned.
	Pinned *bool `protobuf:"varint,5,opt,name=pinned,def=0" json:"pinned,omitempty"`
	// If non-empty, this tab is an app tab and this is the id of the extension.
	ExtensionAppId *string `protobuf:"bytes,6,opt,name=extension_app_id,json=extensionAppId" json:"extension_app_id,omitempty"`
	// Tabs are navigated, and the navigation data is here.
	Navigation []*TabNavigation `protobuf:"bytes,7,rep,name=navigation" json:"navigation,omitempty"`
	// The favicon for the current url the tab is displaying. Either empty
	// or a valid PNG encoded favicon.
	//
	// Deprecated: Do not use.
	Favicon []byte `protobuf:"bytes,8,opt,name=favicon" json:"favicon,omitempty"`
	// Deprecated: Do not use.
	FaviconType *SessionTab_FaviconType `protobuf:"varint,9,opt,name=favicon_type,json=faviconType,enum=sync_pb.SessionTab_FaviconType" json:"favicon_type,omitempty"`
	// The url of the actual favicon (as opposed to the page using the favicon).
	//
	// Deprecated: Do not use.
	FaviconSource *string `protobuf:"bytes,11,opt,name=favicon_source,json=faviconSource" json:"favicon_source,omitempty"`
	// Ids of the currently assigned variations which should be sent to sync.
	//
	// Deprecated: Do not use.
	VariationId []uint64 `protobuf:"varint,12,rep,name=variation_id,json=variationId" json:"variation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTab) Descriptor deprecated

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

Deprecated: Use SessionTab.ProtoReflect.Descriptor instead.

func (*SessionTab) GetCurrentNavigationIndex

func (x *SessionTab) GetCurrentNavigationIndex() int32

func (*SessionTab) GetExtensionAppId

func (x *SessionTab) GetExtensionAppId() string

func (*SessionTab) GetFavicon deprecated

func (x *SessionTab) GetFavicon() []byte

Deprecated: Do not use.

func (*SessionTab) GetFaviconSource deprecated

func (x *SessionTab) GetFaviconSource() string

Deprecated: Do not use.

func (*SessionTab) GetFaviconType deprecated

func (x *SessionTab) GetFaviconType() SessionTab_FaviconType

Deprecated: Do not use.

func (*SessionTab) GetNavigation

func (x *SessionTab) GetNavigation() []*TabNavigation

func (*SessionTab) GetPinned

func (x *SessionTab) GetPinned() bool

func (*SessionTab) GetTabId

func (x *SessionTab) GetTabId() int32

func (*SessionTab) GetTabVisualIndex

func (x *SessionTab) GetTabVisualIndex() int32

func (*SessionTab) GetVariationId deprecated

func (x *SessionTab) GetVariationId() []uint64

Deprecated: Do not use.

func (*SessionTab) GetWindowId

func (x *SessionTab) GetWindowId() int32

func (*SessionTab) ProtoMessage

func (*SessionTab) ProtoMessage()

func (*SessionTab) ProtoReflect added in v0.1.3

func (x *SessionTab) ProtoReflect() protoreflect.Message

func (*SessionTab) Reset

func (x *SessionTab) Reset()

func (*SessionTab) String

func (x *SessionTab) String() string

type SessionTab_FaviconType

type SessionTab_FaviconType int32

The type of favicon. For now only normal web favicons are supported.

const (
	SessionTab_TYPE_WEB_FAVICON SessionTab_FaviconType = 1
)

func (SessionTab_FaviconType) Descriptor added in v0.1.3

func (SessionTab_FaviconType) Enum

func (SessionTab_FaviconType) EnumDescriptor deprecated

func (SessionTab_FaviconType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SessionTab_FaviconType.Descriptor instead.

func (SessionTab_FaviconType) Number added in v0.1.3

func (SessionTab_FaviconType) String

func (x SessionTab_FaviconType) String() string

func (SessionTab_FaviconType) Type added in v0.1.3

func (*SessionTab_FaviconType) UnmarshalJSON deprecated

func (x *SessionTab_FaviconType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SessionWindow

type SessionWindow struct {

	// Unique (to the owner) id for this window.
	WindowId *int32 `protobuf:"varint,1,opt,name=window_id,json=windowId" json:"window_id,omitempty"`
	// Index of the selected tab in tabs; -1 if no tab is selected.
	SelectedTabIndex *int32                     `protobuf:"varint,2,opt,name=selected_tab_index,json=selectedTabIndex,def=-1" json:"selected_tab_index,omitempty"`
	BrowserType      *SessionWindow_BrowserType `` /* 133-byte string literal not displayed */
	// The tabs that compose a window (correspond to tab id's).
	Tab []int32 `protobuf:"varint,4,rep,name=tab" json:"tab,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionWindow) Descriptor deprecated

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

Deprecated: Use SessionWindow.ProtoReflect.Descriptor instead.

func (*SessionWindow) GetBrowserType

func (x *SessionWindow) GetBrowserType() SessionWindow_BrowserType

func (*SessionWindow) GetSelectedTabIndex

func (x *SessionWindow) GetSelectedTabIndex() int32

func (*SessionWindow) GetTab

func (x *SessionWindow) GetTab() []int32

func (*SessionWindow) GetWindowId

func (x *SessionWindow) GetWindowId() int32

func (*SessionWindow) ProtoMessage

func (*SessionWindow) ProtoMessage()

func (*SessionWindow) ProtoReflect added in v0.1.3

func (x *SessionWindow) ProtoReflect() protoreflect.Message

func (*SessionWindow) Reset

func (x *SessionWindow) Reset()

func (*SessionWindow) String

func (x *SessionWindow) String() string

type SessionWindow_BrowserType

type SessionWindow_BrowserType int32

Type of the window.

const (
	SessionWindow_TYPE_TABBED     SessionWindow_BrowserType = 1 // A normal tabbed window.
	SessionWindow_TYPE_POPUP      SessionWindow_BrowserType = 2 // A popup window.
	SessionWindow_TYPE_CUSTOM_TAB SessionWindow_BrowserType = 3 // A custom tab within an app. Not restored
)

func (SessionWindow_BrowserType) Descriptor added in v0.1.3

func (SessionWindow_BrowserType) Enum

func (SessionWindow_BrowserType) EnumDescriptor deprecated

func (SessionWindow_BrowserType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SessionWindow_BrowserType.Descriptor instead.

func (SessionWindow_BrowserType) Number added in v0.1.3

func (SessionWindow_BrowserType) String

func (x SessionWindow_BrowserType) String() string

func (SessionWindow_BrowserType) Type added in v0.1.3

func (*SessionWindow_BrowserType) UnmarshalJSON deprecated

func (x *SessionWindow_BrowserType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SharingMessageCommitError

type SharingMessageCommitError struct {
	ErrorCode *SharingMessageCommitError_ErrorCode `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used for the server to return fine grained commit errors back to the client.

func (*SharingMessageCommitError) Descriptor deprecated

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

Deprecated: Use SharingMessageCommitError.ProtoReflect.Descriptor instead.

func (*SharingMessageCommitError) GetErrorCode

func (*SharingMessageCommitError) ProtoMessage

func (*SharingMessageCommitError) ProtoMessage()

func (*SharingMessageCommitError) ProtoReflect added in v0.1.3

func (*SharingMessageCommitError) Reset

func (x *SharingMessageCommitError) Reset()

func (*SharingMessageCommitError) String

func (x *SharingMessageCommitError) String() string

type SharingMessageCommitError_ErrorCode

type SharingMessageCommitError_ErrorCode int32

This enum is used in histograms. Entries should not be renumbered and numeric values should never be reused. Also remember to update in tools/metrics/histograms/enums.xml SyncSharingMessageCommitErrorCode enum.

const (
	SharingMessageCommitError_NONE               SharingMessageCommitError_ErrorCode = 0
	SharingMessageCommitError_INVALID_ARGUMENT   SharingMessageCommitError_ErrorCode = 1
	SharingMessageCommitError_NOT_FOUND          SharingMessageCommitError_ErrorCode = 2
	SharingMessageCommitError_INTERNAL           SharingMessageCommitError_ErrorCode = 3
	SharingMessageCommitError_UNAVAILABLE        SharingMessageCommitError_ErrorCode = 4
	SharingMessageCommitError_RESOURCE_EXHAUSTED SharingMessageCommitError_ErrorCode = 5
	SharingMessageCommitError_UNAUTHENTICATED    SharingMessageCommitError_ErrorCode = 6
	SharingMessageCommitError_PERMISSION_DENIED  SharingMessageCommitError_ErrorCode = 7
	// Client-specific error codes.
	SharingMessageCommitError_SYNC_TURNED_OFF    SharingMessageCommitError_ErrorCode = 8
	SharingMessageCommitError_SYNC_NETWORK_ERROR SharingMessageCommitError_ErrorCode = 9
	// Error code for server error or unparsable server response.
	SharingMessageCommitError_SYNC_SERVER_ERROR SharingMessageCommitError_ErrorCode = 10
	// Message wasn't committed before timeout.
	SharingMessageCommitError_SYNC_TIMEOUT SharingMessageCommitError_ErrorCode = 11
)

func (SharingMessageCommitError_ErrorCode) Descriptor added in v0.1.3

func (SharingMessageCommitError_ErrorCode) Enum

func (SharingMessageCommitError_ErrorCode) EnumDescriptor deprecated

func (SharingMessageCommitError_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SharingMessageCommitError_ErrorCode.Descriptor instead.

func (SharingMessageCommitError_ErrorCode) Number added in v0.1.3

func (SharingMessageCommitError_ErrorCode) String

func (SharingMessageCommitError_ErrorCode) Type added in v0.1.3

func (*SharingMessageCommitError_ErrorCode) UnmarshalJSON deprecated

func (x *SharingMessageCommitError_ErrorCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SharingMessageSpecifics

type SharingMessageSpecifics struct {

	// Unique identifier of message.
	MessageId            *string                                       `protobuf:"bytes,1,opt,name=message_id,json=messageId" json:"message_id,omitempty"`
	ChannelConfiguration *SharingMessageSpecifics_ChannelConfiguration `protobuf:"bytes,2,opt,name=channel_configuration,json=channelConfiguration" json:"channel_configuration,omitempty"`
	// Payload encrypted using the target user keys according to WebPush
	// encryption scheme. The payload has to be a valid
	// chrome/browser/sharing/proto/sharing_message.proto serialized using
	// SerializeToString.
	Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*SharingMessageSpecifics) Descriptor deprecated

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

Deprecated: Use SharingMessageSpecifics.ProtoReflect.Descriptor instead.

func (*SharingMessageSpecifics) GetChannelConfiguration

func (*SharingMessageSpecifics) GetMessageId

func (x *SharingMessageSpecifics) GetMessageId() string

func (*SharingMessageSpecifics) GetPayload

func (x *SharingMessageSpecifics) GetPayload() []byte

func (*SharingMessageSpecifics) ProtoMessage

func (*SharingMessageSpecifics) ProtoMessage()

func (*SharingMessageSpecifics) ProtoReflect added in v0.1.3

func (x *SharingMessageSpecifics) ProtoReflect() protoreflect.Message

func (*SharingMessageSpecifics) Reset

func (x *SharingMessageSpecifics) Reset()

func (*SharingMessageSpecifics) String

func (x *SharingMessageSpecifics) String() string

type SharingMessageSpecifics_ChannelConfiguration

type SharingMessageSpecifics_ChannelConfiguration struct {

	// Types that are assignable to ChannelConfiguration:
	//	*SharingMessageSpecifics_ChannelConfiguration_Fcm
	//	*SharingMessageSpecifics_ChannelConfiguration_Server
	ChannelConfiguration isSharingMessageSpecifics_ChannelConfiguration_ChannelConfiguration `protobuf_oneof:"channel_configuration"`
	// contains filtered or unexported fields
}

func (*SharingMessageSpecifics_ChannelConfiguration) Descriptor deprecated

Deprecated: Use SharingMessageSpecifics_ChannelConfiguration.ProtoReflect.Descriptor instead.

func (*SharingMessageSpecifics_ChannelConfiguration) GetChannelConfiguration

func (m *SharingMessageSpecifics_ChannelConfiguration) GetChannelConfiguration() isSharingMessageSpecifics_ChannelConfiguration_ChannelConfiguration

func (*SharingMessageSpecifics_ChannelConfiguration) GetServer

func (*SharingMessageSpecifics_ChannelConfiguration) ProtoMessage

func (*SharingMessageSpecifics_ChannelConfiguration) ProtoReflect added in v0.1.3

func (*SharingMessageSpecifics_ChannelConfiguration) Reset

func (*SharingMessageSpecifics_ChannelConfiguration) String

type SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration

type SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration struct {

	// FCM registration token of target device.
	Token *string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
	// Time to live for a FCM message (in seconds) - if specified, the message
	// will expire based on the TTL.
	Ttl *int32 `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
	// Priority level of a FCM message. 5 = normal, 10 = high.
	Priority *int32 `protobuf:"varint,3,opt,name=priority" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) Descriptor deprecated

Deprecated: Use SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration.ProtoReflect.Descriptor instead.

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) GetPriority

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) GetToken

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) GetTtl

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) ProtoMessage

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) ProtoReflect added in v0.1.3

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) Reset

func (*SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration) String

type SharingMessageSpecifics_ChannelConfiguration_Fcm

type SharingMessageSpecifics_ChannelConfiguration_Fcm struct {
	// FCM channel configuration. Message will be delivered as a FCM message.
	Fcm *SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration `protobuf:"bytes,1,opt,name=fcm,oneof"`
}

type SharingMessageSpecifics_ChannelConfiguration_Server

type SharingMessageSpecifics_ChannelConfiguration_Server struct {
	// Opaque server channel configuration. Message will be delivered through
	// server channel.
	Server []byte `protobuf:"bytes,2,opt,name=server,oneof"`
}

type SharingSpecificFields

type SharingSpecificFields struct {

	// FCM registration token of device subscribed using VAPID key.
	// TODO(crbug.com/1012226): Deprecate when VAPID migration is over.
	VapidFcmToken *string `protobuf:"bytes,1,opt,name=vapid_fcm_token,json=vapidFcmToken" json:"vapid_fcm_token,omitempty"`
	// Public key for message encryption [RFC8291] using VAPID key.
	// TODO(crbug.com/1012226): Deprecate when VAPID migration is over.
	VapidP256Dh []byte `protobuf:"bytes,2,opt,name=vapid_p256dh,json=vapidP256dh" json:"vapid_p256dh,omitempty"`
	// Auth secret for message encryption [RFC8291] using VAPID key.
	// TODO(crbug.com/1012226): Deprecate when VAPID migration is over.
	VapidAuthSecret []byte `protobuf:"bytes,3,opt,name=vapid_auth_secret,json=vapidAuthSecret" json:"vapid_auth_secret,omitempty"`
	// A list of enabled Sharing features.
	EnabledFeatures []SharingSpecificFields_EnabledFeatures `` /* 151-byte string literal not displayed */
	// Deprecated. Use sender_id_fcm_token_v2 for new clients.
	//
	// Deprecated: Do not use.
	SenderIdFcmTokenDeprecated *string `` /* 138-byte string literal not displayed */
	// Deprecated. Use sender_id_p256dh_v2 for new clients.
	//
	// Deprecated: Do not use.
	SenderIdP256DhDeprecated []byte `` /* 130-byte string literal not displayed */
	// Deprecated. Use sender_id_auth_secret_v2 for new clients.
	//
	// Deprecated: Do not use.
	SenderIdAuthSecretDeprecated []byte `` /* 144-byte string literal not displayed */
	// FCM registration token of device subscribed using Sharing sender ID.
	SenderIdFcmTokenV2 *string `protobuf:"bytes,8,opt,name=sender_id_fcm_token_v2,json=senderIdFcmTokenV2" json:"sender_id_fcm_token_v2,omitempty"`
	// Public key for message encryption [RFC8291] using Sharing sender ID.
	SenderIdP256DhV2 []byte `protobuf:"bytes,9,opt,name=sender_id_p256dh_v2,json=senderIdP256dhV2" json:"sender_id_p256dh_v2,omitempty"`
	// Auth secret for message encryption [RFC8291] using Sharing sender ID.
	SenderIdAuthSecretV2 []byte `protobuf:"bytes,10,opt,name=sender_id_auth_secret_v2,json=senderIdAuthSecretV2" json:"sender_id_auth_secret_v2,omitempty"`
	// contains filtered or unexported fields
}

Device specific information for Sharing feature. Used to send end-to-end encrypted message through FCM to other devices.

func (*SharingSpecificFields) Descriptor deprecated

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

Deprecated: Use SharingSpecificFields.ProtoReflect.Descriptor instead.

func (*SharingSpecificFields) GetEnabledFeatures

func (*SharingSpecificFields) GetSenderIdAuthSecretDeprecated deprecated

func (x *SharingSpecificFields) GetSenderIdAuthSecretDeprecated() []byte

Deprecated: Do not use.

func (*SharingSpecificFields) GetSenderIdAuthSecretV2

func (x *SharingSpecificFields) GetSenderIdAuthSecretV2() []byte

func (*SharingSpecificFields) GetSenderIdFcmTokenDeprecated deprecated

func (x *SharingSpecificFields) GetSenderIdFcmTokenDeprecated() string

Deprecated: Do not use.

func (*SharingSpecificFields) GetSenderIdFcmTokenV2

func (x *SharingSpecificFields) GetSenderIdFcmTokenV2() string

func (*SharingSpecificFields) GetSenderIdP256DhDeprecated deprecated

func (x *SharingSpecificFields) GetSenderIdP256DhDeprecated() []byte

Deprecated: Do not use.

func (*SharingSpecificFields) GetSenderIdP256DhV2

func (x *SharingSpecificFields) GetSenderIdP256DhV2() []byte

func (*SharingSpecificFields) GetVapidAuthSecret

func (x *SharingSpecificFields) GetVapidAuthSecret() []byte

func (*SharingSpecificFields) GetVapidFcmToken

func (x *SharingSpecificFields) GetVapidFcmToken() string

func (*SharingSpecificFields) GetVapidP256Dh

func (x *SharingSpecificFields) GetVapidP256Dh() []byte

func (*SharingSpecificFields) ProtoMessage

func (*SharingSpecificFields) ProtoMessage()

func (*SharingSpecificFields) ProtoReflect added in v0.1.3

func (x *SharingSpecificFields) ProtoReflect() protoreflect.Message

func (*SharingSpecificFields) Reset

func (x *SharingSpecificFields) Reset()

func (*SharingSpecificFields) String

func (x *SharingSpecificFields) String() string

type SharingSpecificFields_EnabledFeatures

type SharingSpecificFields_EnabledFeatures int32

Enum defining available Sharing features.

const (
	SharingSpecificFields_UNKNOWN SharingSpecificFields_EnabledFeatures = 0
	// Supports Click to Call only via VAPID.
	SharingSpecificFields_CLICK_TO_CALL_VAPID SharingSpecificFields_EnabledFeatures = 1
	// Supports Shared Clipboard only via VAPID.
	SharingSpecificFields_SHARED_CLIPBOARD_VAPID SharingSpecificFields_EnabledFeatures = 2
	SharingSpecificFields_SMS_FETCHER            SharingSpecificFields_EnabledFeatures = 3
	SharingSpecificFields_REMOTE_COPY            SharingSpecificFields_EnabledFeatures = 4
	SharingSpecificFields_PEER_CONNECTION        SharingSpecificFields_EnabledFeatures = 5
	SharingSpecificFields_DISCOVERY              SharingSpecificFields_EnabledFeatures = 6
	// Suppots Click to Call via both VAPID and sender ID.
	SharingSpecificFields_CLICK_TO_CALL_V2 SharingSpecificFields_EnabledFeatures = 7
	// Suppots Shared Clipboard via both VAPID and sender ID.
	SharingSpecificFields_SHARED_CLIPBOARD_V2 SharingSpecificFields_EnabledFeatures = 8
)

func (SharingSpecificFields_EnabledFeatures) Descriptor added in v0.1.3

func (SharingSpecificFields_EnabledFeatures) Enum

func (SharingSpecificFields_EnabledFeatures) EnumDescriptor deprecated

func (SharingSpecificFields_EnabledFeatures) EnumDescriptor() ([]byte, []int)

Deprecated: Use SharingSpecificFields_EnabledFeatures.Descriptor instead.

func (SharingSpecificFields_EnabledFeatures) Number added in v0.1.3

func (SharingSpecificFields_EnabledFeatures) String

func (SharingSpecificFields_EnabledFeatures) Type added in v0.1.3

func (*SharingSpecificFields_EnabledFeatures) UnmarshalJSON deprecated

func (x *SharingSpecificFields_EnabledFeatures) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncCycleCompletedEventInfo

type SyncCycleCompletedEventInfo struct {

	// These new conflict counters replace the ones above.
	NumEncryptionConflicts *int32 `protobuf:"varint,4,opt,name=num_encryption_conflicts,json=numEncryptionConflicts" json:"num_encryption_conflicts,omitempty"`
	NumHierarchyConflicts  *int32 `protobuf:"varint,5,opt,name=num_hierarchy_conflicts,json=numHierarchyConflicts" json:"num_hierarchy_conflicts,omitempty"`
	NumSimpleConflicts     *int32 `protobuf:"varint,6,opt,name=num_simple_conflicts,json=numSimpleConflicts" json:"num_simple_conflicts,omitempty"` // No longer sent since M24.
	NumServerConflicts     *int32 `protobuf:"varint,7,opt,name=num_server_conflicts,json=numServerConflicts" json:"num_server_conflicts,omitempty"`
	// Counts to track the effective usefulness of our GetUpdate requests.
	NumUpdatesDownloaded          *int32 `protobuf:"varint,8,opt,name=num_updates_downloaded,json=numUpdatesDownloaded" json:"num_updates_downloaded,omitempty"`
	NumReflectedUpdatesDownloaded *int32 `` /* 146-byte string literal not displayed */
	// |caller_info| was mostly replaced by |get_updates_origin|; now it only
	// contains the |notifications_enabled| flag.
	CallerInfo       *GetUpdatesCallerInfo       `protobuf:"bytes,10,opt,name=caller_info,json=callerInfo" json:"caller_info,omitempty"`
	GetUpdatesOrigin *SyncEnums_GetUpdatesOrigin `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

The additional info here is from the StatusController. They get sent when the event SYNC_CYCLE_COMPLETED is sent.

func (*SyncCycleCompletedEventInfo) Descriptor deprecated

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

Deprecated: Use SyncCycleCompletedEventInfo.ProtoReflect.Descriptor instead.

func (*SyncCycleCompletedEventInfo) GetCallerInfo

func (*SyncCycleCompletedEventInfo) GetGetUpdatesOrigin

func (*SyncCycleCompletedEventInfo) GetNumEncryptionConflicts

func (x *SyncCycleCompletedEventInfo) GetNumEncryptionConflicts() int32

func (*SyncCycleCompletedEventInfo) GetNumHierarchyConflicts

func (x *SyncCycleCompletedEventInfo) GetNumHierarchyConflicts() int32

func (*SyncCycleCompletedEventInfo) GetNumReflectedUpdatesDownloaded

func (x *SyncCycleCompletedEventInfo) GetNumReflectedUpdatesDownloaded() int32

func (*SyncCycleCompletedEventInfo) GetNumServerConflicts

func (x *SyncCycleCompletedEventInfo) GetNumServerConflicts() int32

func (*SyncCycleCompletedEventInfo) GetNumSimpleConflicts

func (x *SyncCycleCompletedEventInfo) GetNumSimpleConflicts() int32

func (*SyncCycleCompletedEventInfo) GetNumUpdatesDownloaded

func (x *SyncCycleCompletedEventInfo) GetNumUpdatesDownloaded() int32

func (*SyncCycleCompletedEventInfo) ProtoMessage

func (*SyncCycleCompletedEventInfo) ProtoMessage()

func (*SyncCycleCompletedEventInfo) ProtoReflect added in v0.1.3

func (*SyncCycleCompletedEventInfo) Reset

func (x *SyncCycleCompletedEventInfo) Reset()

func (*SyncCycleCompletedEventInfo) String

func (x *SyncCycleCompletedEventInfo) String() string

type SyncDisabledEvent

type SyncDisabledEvent struct {

	// The GUID that identifies the sync client.
	CacheGuid *string `protobuf:"bytes,1,opt,name=cache_guid,json=cacheGuid" json:"cache_guid,omitempty"`
	// The store birthday that the client was using before disabling sync.
	StoreBirthday *string `protobuf:"bytes,2,opt,name=store_birthday,json=storeBirthday" json:"store_birthday,omitempty"`
	// contains filtered or unexported fields
}

A message indicating that the sync engine has been disabled on a client.

func (*SyncDisabledEvent) Descriptor deprecated

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

Deprecated: Use SyncDisabledEvent.ProtoReflect.Descriptor instead.

func (*SyncDisabledEvent) GetCacheGuid

func (x *SyncDisabledEvent) GetCacheGuid() string

func (*SyncDisabledEvent) GetStoreBirthday

func (x *SyncDisabledEvent) GetStoreBirthday() string

func (*SyncDisabledEvent) ProtoMessage

func (*SyncDisabledEvent) ProtoMessage()

func (*SyncDisabledEvent) ProtoReflect added in v0.1.3

func (x *SyncDisabledEvent) ProtoReflect() protoreflect.Message

func (*SyncDisabledEvent) Reset

func (x *SyncDisabledEvent) Reset()

func (*SyncDisabledEvent) String

func (x *SyncDisabledEvent) String() string

type SyncEntity

type SyncEntity struct {

	// This item's identifier.  In a commit of a new item, this will be a
	// client-generated ID.  If the commit succeeds, the server will generate
	// a globally unique ID and return it to the committing client in the
	// CommitResponse.EntryResponse.  In the context of a GetUpdatesResponse,
	// |id_string| is always the server generated ID.  The original
	// client-generated ID is preserved in the |originator_client_id| field.
	// Present in both GetUpdatesResponse and CommitMessage.
	IdString *string `protobuf:"bytes,1,opt,name=id_string,json=idString" json:"id_string,omitempty"`
	// An id referencing this item's parent in the hierarchy.  In a
	// CommitMessage, it is accepted for this to be a client-generated temporary
	// ID if there was a new created item with that ID appearing earlier
	// in the message.  In all other situations, it is a server ID.
	// Present in both GetUpdatesResponse and CommitMessage.
	ParentIdString *string `protobuf:"bytes,2,opt,name=parent_id_string,json=parentIdString" json:"parent_id_string,omitempty"`
	// old_parent_id is only set in commits and indicates the old server
	// parent(s) to remove. When omitted, the old parent is the same as
	// the new.
	// Present only in CommitMessage.
	OldParentId *string `protobuf:"bytes,3,opt,name=old_parent_id,json=oldParentId" json:"old_parent_id,omitempty"`
	// The version of this item -- a monotonically increasing value that is
	// maintained by for each item.  If zero in a CommitMessage, the server
	// will interpret this entity as a newly-created item and generate a
	// new server ID and an initial version number.  If nonzero in a
	// CommitMessage, this item is treated as an update to an existing item, and
	// the server will use |id_string| to locate the item.  Then, if the item's
	// current version on the server does not match |version|, the commit will
	// fail for that item.  The server will not update it, and will return
	// a result code of CONFLICT.  In a GetUpdatesResponse, |version| is
	// always positive and indentifies the revision of the item data being sent
	// to the client.
	// Present in both GetUpdatesResponse and CommitMessage.
	// WARNING: This field used to be required before M60. Any client before this
	// will fail to deserialize if this field is missing.
	Version *int64 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	// Last modification time (in java time milliseconds)
	// Present in both GetUpdatesResponse and CommitMessage.
	Mtime *int64 `protobuf:"varint,5,opt,name=mtime" json:"mtime,omitempty"`
	// Creation time.
	// Present in both GetUpdatesResponse and CommitMessage.
	Ctime *int64 `protobuf:"varint,6,opt,name=ctime" json:"ctime,omitempty"`
	// The name of this item.
	// Historical note:
	//   Since November 2010, this value is no different from non_unique_name.
	//   Before then, server implementations would maintain a unique-within-parent
	//   value separate from its base, "non-unique" value.  Clients had not
	//   depended on the uniqueness of the property since November 2009; it was
	//   removed from Chromium by http://codereview.chromium.org/371029 .
	// Present in both GetUpdatesResponse and CommitMessage.
	// WARNING: This field used to be required before M60. Any client before this
	// will fail to deserialize if this field is missing.
	Name *string `protobuf:"bytes,7,opt,name=name" json:"name,omitempty"`
	// The name of this item.  Same as |name|.
	// |non_unique_name| should take precedence over the |name| value if both
	// are supplied.  For efficiency, clients and servers should avoid setting
	// this redundant value.
	// Present in both GetUpdatesResponse and CommitMessage.
	NonUniqueName *string `protobuf:"bytes,8,opt,name=non_unique_name,json=nonUniqueName" json:"non_unique_name,omitempty"`
	// If present, this tag identifies this item as being a uniquely
	// instanced item.  The server ensures that there is never more
	// than one entity in a user's store with the same tag value.
	// This value is used to identify and find e.g. the "Google Chrome" settings
	// folder without relying on it existing at a particular path, or having
	// a particular name, in the data store.
	//
	// This variant of the tag is created by the server, so clients can't create
	// an item with a tag using this field.
	//
	// Use client_defined_unique_tag if you want to create one from the client.
	//
	// An item can't have both a client_defined_unique_tag and
	// a server_defined_unique_tag.
	//
	// Present only in GetUpdatesResponse.
	ServerDefinedUniqueTag *string `protobuf:"bytes,10,opt,name=server_defined_unique_tag,json=serverDefinedUniqueTag" json:"server_defined_unique_tag,omitempty"`
	// Supplies a numeric position for this item, relative to other items with the
	// same parent.  Deprecated in M26, though clients are still required to set
	// it.
	//
	// Present in both GetUpdatesResponse and CommitMessage.
	//
	// At one point this was used as an alternative / supplement to
	// the deprecated |insert_after_item_id|, but now it, too, has been
	// deprecated.
	//
	// In order to maintain compatibility with older clients, newer clients should
	// still set this field.  Its value should be based on the first 8 bytes of
	// this item's |unique_position|.
	//
	// Nerwer clients must also support the receipt of items that contain
	// |position_in_parent| but no |unique_position|.  They should locally convert
	// the given int64 position to a UniquePosition.
	//
	// The conversion from int64 to UniquePosition is as follows:
	// The int64 value will have its sign bit flipped then placed in big endian
	// order as the first 8 bytes of the UniquePosition.  The subsequent bytes of
	// the UniquePosition will consist of the item's unique suffix.
	//
	// Conversion from UniquePosition to int64 reverses this process: the first 8
	// bytes of the position are to be interpreted as a big endian int64 value
	// with its sign bit flipped.
	//
	// Deprecated: Do not use.
	PositionInParent *int64 `protobuf:"varint,15,opt,name=position_in_parent,json=positionInParent" json:"position_in_parent,omitempty"`
	// Contains the ID of the element (under the same parent) after which this
	// element resides. An empty string indicates that the element is the first
	// element in the parent.  This value is used during commits to specify
	// a relative position for a position change.  In the context of
	// a GetUpdatesMessage, |position_in_parent| is used instead to
	// communicate position.
	//
	// Present only in CommitMessage.
	//
	// This is deprecated.  Clients are allowed to omit this as long as they
	// include |position_in_parent| instead.
	//
	// Deprecated: Do not use.
	InsertAfterItemId *string `protobuf:"bytes,16,opt,name=insert_after_item_id,json=insertAfterItemId" json:"insert_after_item_id,omitempty"`
	// If true, indicates that this item has been (or should be) deleted.
	// Present in both GetUpdatesResponse and CommitMessage.
	Deleted *bool `protobuf:"varint,18,opt,name=deleted,def=0" json:"deleted,omitempty"`
	// A GUID that identifies the the sync client who initially committed
	// this entity.  This value corresponds to |cache_guid| in CommitMessage.
	// This field, along with |originator_client_item_id|, can be used to
	// reunite the original with its official committed version in the case
	// where a client does not receive or process the commit response for
	// some reason.
	//
	// Present only in GetUpdatesResponse.
	//
	// This field is also used in determining the unique identifier used in
	// bookmarks' unique_position field.
	OriginatorCacheGuid *string `protobuf:"bytes,19,opt,name=originator_cache_guid,json=originatorCacheGuid" json:"originator_cache_guid,omitempty"`
	// Item ID as generated by the client that initially created this entity. Used
	// exclusively for bookmarks (other datatypes use client_defined_unique_tag).
	// There are three generation of bookmarks that have populated this field
	// differently, depending on which version of the browser created the
	// bookmark:
	// 1. For bookmarks created before M44 (2015), the field got populated with an
	//    ID that is locally unique, but not globally unique (usually a negative
	//    number).
	// 2. For bookmarks created between M45 and M51, both inclusive, the field got
	//    populated with a globally unique GUID in uppercase form.
	// 3. For bookmarks created with M52 or above, the field gets populated with
	//    a globally unique GUID in lowercase form.
	//
	// Present only in GetUpdatesResponse.
	OriginatorClientItemId *string `protobuf:"bytes,20,opt,name=originator_client_item_id,json=originatorClientItemId" json:"originator_client_item_id,omitempty"`
	// Extensible container for datatype-specific data.
	// This became available in version 23 of the protocol.
	Specifics *EntitySpecifics `protobuf:"bytes,21,opt,name=specifics" json:"specifics,omitempty"`
	// Indicate whether this is a folder or not. Available in version 23+.
	Folder *bool `protobuf:"varint,22,opt,name=folder,def=0" json:"folder,omitempty"`
	// A client defined unique hash for this entity.
	// Similar to server_defined_unique_tag.
	//
	// When initially committing an entity, a client can request that the entity
	// is unique per that account. To do so, the client should specify a
	// client_defined_unique_tag. At most one entity per tag value may exist.
	// per account. The server will enforce uniqueness on this tag
	// and fail attempts to create duplicates of this tag.
	// Will be returned in any updates for this entity.
	//
	// The difference between server_defined_unique_tag and
	// client_defined_unique_tag is the creator of the entity. Server defined
	// tags are entities created by the server at account creation,
	// while client defined tags are entities created by the client at any time.
	//
	// During GetUpdates, a sync entity update will come back with ONE of:
	// a) Originator and cache id - If client committed the item as non "unique"
	// b) Server tag - If server committed the item as unique
	// c) Client tag - If client committed the item as unique
	//
	// May be present in CommitMessages for the initial creation of an entity.
	// If present in Commit updates for the entity, it will be ignored.
	//
	// Available in version 24+.
	//
	// May be returned in GetUpdatesMessage and sent up in CommitMessage.
	//
	ClientDefinedUniqueTag *string `protobuf:"bytes,23,opt,name=client_defined_unique_tag,json=clientDefinedUniqueTag" json:"client_defined_unique_tag,omitempty"`
	// This positioning system had a relatively short life.  It was made obsolete
	// by |unique_position| before either the client or server made much of an
	// attempt to support it.  In fact, no client ever read or set this field.
	//
	// Deprecated in M26.
	//
	// Deprecated: Do not use.
	OrdinalInParent []byte `protobuf:"bytes,24,opt,name=ordinal_in_parent,json=ordinalInParent" json:"ordinal_in_parent,omitempty"`
	// This is the fourth attempt at positioning.
	//
	// This field is present in both GetUpdatesResponse and CommitMessage, if the
	// item's type requires it and the client that wrote the item supports it (M26
	// or higher).  Clients must also be prepared to handle updates from clients
	// that do not set this field.
	//
	// This field will not be set for items whose type ignores positioning.
	// Clients should not attempt to read this field on the receipt of an item of
	// a type that ignores positioning.
	//
	// Refer to its definition in unique_position.proto for more information about
	// its internal representation.
	UniquePosition *UniquePosition `protobuf:"bytes,25,opt,name=unique_position,json=uniquePosition" json:"unique_position,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncEntity) Descriptor deprecated

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

Deprecated: Use SyncEntity.ProtoReflect.Descriptor instead.

func (*SyncEntity) GetClientDefinedUniqueTag

func (x *SyncEntity) GetClientDefinedUniqueTag() string

func (*SyncEntity) GetCtime

func (x *SyncEntity) GetCtime() int64

func (*SyncEntity) GetDeleted

func (x *SyncEntity) GetDeleted() bool

func (*SyncEntity) GetFolder

func (x *SyncEntity) GetFolder() bool

func (*SyncEntity) GetIdString

func (x *SyncEntity) GetIdString() string

func (*SyncEntity) GetInsertAfterItemId deprecated

func (x *SyncEntity) GetInsertAfterItemId() string

Deprecated: Do not use.

func (*SyncEntity) GetMtime

func (x *SyncEntity) GetMtime() int64

func (*SyncEntity) GetName

func (x *SyncEntity) GetName() string

func (*SyncEntity) GetNonUniqueName

func (x *SyncEntity) GetNonUniqueName() string

func (*SyncEntity) GetOldParentId

func (x *SyncEntity) GetOldParentId() string

func (*SyncEntity) GetOrdinalInParent deprecated

func (x *SyncEntity) GetOrdinalInParent() []byte

Deprecated: Do not use.

func (*SyncEntity) GetOriginatorCacheGuid

func (x *SyncEntity) GetOriginatorCacheGuid() string

func (*SyncEntity) GetOriginatorClientItemId

func (x *SyncEntity) GetOriginatorClientItemId() string

func (*SyncEntity) GetParentIdString

func (x *SyncEntity) GetParentIdString() string

func (*SyncEntity) GetPositionInParent deprecated

func (x *SyncEntity) GetPositionInParent() int64

Deprecated: Do not use.

func (*SyncEntity) GetServerDefinedUniqueTag

func (x *SyncEntity) GetServerDefinedUniqueTag() string

func (*SyncEntity) GetSpecifics

func (x *SyncEntity) GetSpecifics() *EntitySpecifics

func (*SyncEntity) GetUniquePosition

func (x *SyncEntity) GetUniquePosition() *UniquePosition

func (*SyncEntity) GetVersion

func (x *SyncEntity) GetVersion() int64

func (*SyncEntity) ProtoMessage

func (*SyncEntity) ProtoMessage()

func (*SyncEntity) ProtoReflect added in v0.1.3

func (x *SyncEntity) ProtoReflect() protoreflect.Message

func (*SyncEntity) Reset

func (x *SyncEntity) Reset()

func (*SyncEntity) String

func (x *SyncEntity) String() string

type SyncEnums

type SyncEnums struct {
	// contains filtered or unexported fields
}

func (*SyncEnums) Descriptor deprecated

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

Deprecated: Use SyncEnums.ProtoReflect.Descriptor instead.

func (*SyncEnums) ProtoMessage

func (*SyncEnums) ProtoMessage()

func (*SyncEnums) ProtoReflect added in v0.1.3

func (x *SyncEnums) ProtoReflect() protoreflect.Message

func (*SyncEnums) Reset

func (x *SyncEnums) Reset()

func (*SyncEnums) String

func (x *SyncEnums) String() string

type SyncEnums_Action

type SyncEnums_Action int32
const (
	SyncEnums_UPGRADE_CLIENT                        SyncEnums_Action = 0 // Upgrade the client to latest version.
	SyncEnums_DEPRECATED_CLEAR_USER_DATA_AND_RESYNC SyncEnums_Action = 1
	SyncEnums_DEPRECATED_ENABLE_SYNC_ON_ACCOUNT     SyncEnums_Action = 2
	SyncEnums_DEPRECATED_STOP_AND_RESTART_SYNC      SyncEnums_Action = 3
	SyncEnums_DEPRECATED_DISABLE_SYNC_ON_CLIENT     SyncEnums_Action = 4
	SyncEnums_UNKNOWN_ACTION                        SyncEnums_Action = 5 // This is the default.
)

func (SyncEnums_Action) Descriptor added in v0.1.3

func (SyncEnums_Action) Enum

func (SyncEnums_Action) EnumDescriptor deprecated

func (SyncEnums_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_Action.Descriptor instead.

func (SyncEnums_Action) Number added in v0.1.3

func (SyncEnums_Action) String

func (x SyncEnums_Action) String() string

func (SyncEnums_Action) Type added in v0.1.3

func (*SyncEnums_Action) UnmarshalJSON deprecated

func (x *SyncEnums_Action) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_DeviceType

type SyncEnums_DeviceType int32

Please keep in sync with chrome/android/java/.../ForeignSessionHelper.java

const (
	SyncEnums_TYPE_UNSET  SyncEnums_DeviceType = 0
	SyncEnums_TYPE_WIN    SyncEnums_DeviceType = 1
	SyncEnums_TYPE_MAC    SyncEnums_DeviceType = 2
	SyncEnums_TYPE_LINUX  SyncEnums_DeviceType = 3
	SyncEnums_TYPE_CROS   SyncEnums_DeviceType = 4
	SyncEnums_TYPE_OTHER  SyncEnums_DeviceType = 5
	SyncEnums_TYPE_PHONE  SyncEnums_DeviceType = 6
	SyncEnums_TYPE_TABLET SyncEnums_DeviceType = 7
)

func (SyncEnums_DeviceType) Descriptor added in v0.1.3

func (SyncEnums_DeviceType) Enum

func (SyncEnums_DeviceType) EnumDescriptor deprecated

func (SyncEnums_DeviceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_DeviceType.Descriptor instead.

func (SyncEnums_DeviceType) Number added in v0.1.3

func (SyncEnums_DeviceType) String

func (x SyncEnums_DeviceType) String() string

func (SyncEnums_DeviceType) Type added in v0.1.3

func (*SyncEnums_DeviceType) UnmarshalJSON deprecated

func (x *SyncEnums_DeviceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_ErrorType

type SyncEnums_ErrorType int32
const (
	SyncEnums_SUCCESS                  SyncEnums_ErrorType = 0
	SyncEnums_DEPRECATED_ACCESS_DENIED SyncEnums_ErrorType = 1
	SyncEnums_NOT_MY_BIRTHDAY          SyncEnums_ErrorType = 2 // Returned when the server and client disagree
	// on the store birthday.
	SyncEnums_THROTTLED SyncEnums_ErrorType = 3 // Returned when the store has exceeded the
	// allowed bandwidth utilization.
	SyncEnums_DEPRECATED_AUTH_EXPIRED       SyncEnums_ErrorType = 4
	SyncEnums_DEPRECATED_USER_NOT_ACTIVATED SyncEnums_ErrorType = 5
	SyncEnums_DEPRECATED_AUTH_INVALID       SyncEnums_ErrorType = 6
	SyncEnums_CLEAR_PENDING                 SyncEnums_ErrorType = 7 // A clear of the user data is pending (e.g.
	// initiated by privacy request).  Client should
	// come back later.
	SyncEnums_TRANSIENT_ERROR SyncEnums_ErrorType = 8 // A transient error occured (eg. backend
	// timeout). Client should try again later.
	SyncEnums_MIGRATION_DONE SyncEnums_ErrorType = 9 // Migration has finished for one or more data
	// types.  Client should clear the cache for
	// these data types only and then re-sync with
	// a server.
	SyncEnums_DISABLED_BY_ADMIN SyncEnums_ErrorType = 10 // An administrator disabled sync for this
	// domain.
	SyncEnums_DEPRECATED_USER_ROLLBACK SyncEnums_ErrorType = 11 // Deprecated in M50.
	SyncEnums_PARTIAL_FAILURE          SyncEnums_ErrorType = 12 // Return when client want to update several
	// data types, but some of them failed(e.g.
	// throttled).
	SyncEnums_CLIENT_DATA_OBSOLETE SyncEnums_ErrorType = 13 // Returned when server detects that this
	// client's data is obsolete. Client should
	// reset local data and restart syncing.
	SyncEnums_UNKNOWN SyncEnums_ErrorType = 100 // Unknown value. This should never be
)

func (SyncEnums_ErrorType) Descriptor added in v0.1.3

func (SyncEnums_ErrorType) Enum

func (SyncEnums_ErrorType) EnumDescriptor deprecated

func (SyncEnums_ErrorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_ErrorType.Descriptor instead.

func (SyncEnums_ErrorType) Number added in v0.1.3

func (SyncEnums_ErrorType) String

func (x SyncEnums_ErrorType) String() string

func (SyncEnums_ErrorType) Type added in v0.1.3

func (*SyncEnums_ErrorType) UnmarshalJSON deprecated

func (x *SyncEnums_ErrorType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_GetUpdatesOrigin

type SyncEnums_GetUpdatesOrigin int32

This is the successor to GetUpdatesSource. It merges the "normal mode" values (LOCAL, NOTIFICATION and DATATYPE_REFRESH), which were never really mutually exclusive to being with, into the GU_TRIGGER value. It also drops support for some old values that are not supported by newer clients.

Mind the gaps: Some values are intentionally unused because we want to keep the values in sync with GetUpdatesSource as much as possible. Please don't add any values < 12 unless there's a good reason for it.

Introduced in M28.

const (
	SyncEnums_UNKNOWN_ORIGIN           SyncEnums_GetUpdatesOrigin = 0 // The source was not set by the caller.
	SyncEnums_PERIODIC                 SyncEnums_GetUpdatesOrigin = 4 // The source of the update was periodic polling.
	SyncEnums_NEWLY_SUPPORTED_DATATYPE SyncEnums_GetUpdatesOrigin = 7 // The client is in configuration mode
	// because it's syncing all datatypes, and
	// support for a new datatype was recently
	// released via a software auto-update.
	SyncEnums_MIGRATION SyncEnums_GetUpdatesOrigin = 8 // The client is in configuration mode because a
	// MIGRATION_DONE error previously returned by the
	// server necessitated resynchronization.
	SyncEnums_NEW_CLIENT SyncEnums_GetUpdatesOrigin = 9 // The client is in configuration mode because the
	// user enabled sync for the first time.  Not to be
	// confused with FIRST_UPDATE.
	SyncEnums_RECONFIGURATION SyncEnums_GetUpdatesOrigin = 10 // The client is in configuration mode because the
	// user opted to sync a different set of datatypes.
	SyncEnums_GU_TRIGGER SyncEnums_GetUpdatesOrigin = 12 // The client is in 'normal' mode.  It may have several
	// reasons for requesting an update.  See the per-type
	// GetUpdateTriggers message for more details.
	SyncEnums_RETRY SyncEnums_GetUpdatesOrigin = 13 // A retry GU to pick up updates missed by last GU due to
	// replication delay, missing hints, etc.
	SyncEnums_PROGRAMMATIC SyncEnums_GetUpdatesOrigin = 14 // A GU to programmatically enable/disable a
)

func (SyncEnums_GetUpdatesOrigin) Descriptor added in v0.1.3

func (SyncEnums_GetUpdatesOrigin) Enum

func (SyncEnums_GetUpdatesOrigin) EnumDescriptor deprecated

func (SyncEnums_GetUpdatesOrigin) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_GetUpdatesOrigin.Descriptor instead.

func (SyncEnums_GetUpdatesOrigin) Number added in v0.1.3

func (SyncEnums_GetUpdatesOrigin) String

func (SyncEnums_GetUpdatesOrigin) Type added in v0.1.3

func (*SyncEnums_GetUpdatesOrigin) UnmarshalJSON deprecated

func (x *SyncEnums_GetUpdatesOrigin) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_PageTransition

type SyncEnums_PageTransition int32

Types of transitions between pages.

const (
	SyncEnums_LINK              SyncEnums_PageTransition = 0
	SyncEnums_TYPED             SyncEnums_PageTransition = 1
	SyncEnums_AUTO_BOOKMARK     SyncEnums_PageTransition = 2
	SyncEnums_AUTO_SUBFRAME     SyncEnums_PageTransition = 3
	SyncEnums_MANUAL_SUBFRAME   SyncEnums_PageTransition = 4
	SyncEnums_GENERATED         SyncEnums_PageTransition = 5
	SyncEnums_AUTO_TOPLEVEL     SyncEnums_PageTransition = 6
	SyncEnums_FORM_SUBMIT       SyncEnums_PageTransition = 7
	SyncEnums_RELOAD            SyncEnums_PageTransition = 8
	SyncEnums_KEYWORD           SyncEnums_PageTransition = 9
	SyncEnums_KEYWORD_GENERATED SyncEnums_PageTransition = 10
)

func (SyncEnums_PageTransition) Descriptor added in v0.1.3

func (SyncEnums_PageTransition) Enum

func (SyncEnums_PageTransition) EnumDescriptor deprecated

func (SyncEnums_PageTransition) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_PageTransition.Descriptor instead.

func (SyncEnums_PageTransition) Number added in v0.1.3

func (SyncEnums_PageTransition) String

func (x SyncEnums_PageTransition) String() string

func (SyncEnums_PageTransition) Type added in v0.1.3

func (*SyncEnums_PageTransition) UnmarshalJSON deprecated

func (x *SyncEnums_PageTransition) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_PageTransitionRedirectType

type SyncEnums_PageTransitionRedirectType int32

Types of redirects that triggered a transition.

const (
	SyncEnums_CLIENT_REDIRECT SyncEnums_PageTransitionRedirectType = 1
	SyncEnums_SERVER_REDIRECT SyncEnums_PageTransitionRedirectType = 2
)

func (SyncEnums_PageTransitionRedirectType) Descriptor added in v0.1.3

func (SyncEnums_PageTransitionRedirectType) Enum

func (SyncEnums_PageTransitionRedirectType) EnumDescriptor deprecated

func (SyncEnums_PageTransitionRedirectType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_PageTransitionRedirectType.Descriptor instead.

func (SyncEnums_PageTransitionRedirectType) Number added in v0.1.3

func (SyncEnums_PageTransitionRedirectType) String

func (SyncEnums_PageTransitionRedirectType) Type added in v0.1.3

func (*SyncEnums_PageTransitionRedirectType) UnmarshalJSON deprecated

func (x *SyncEnums_PageTransitionRedirectType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncEnums_SingletonDebugEventType

type SyncEnums_SingletonDebugEventType int32

These events are sent by the DebugInfo class for singleton events.

const (
	// Connection status change. Note this gets generated even during a
	// successful connection.
	SyncEnums_CONNECTION_STATUS_CHANGE SyncEnums_SingletonDebugEventType = 1
	// Client received an updated token.
	SyncEnums_UPDATED_TOKEN SyncEnums_SingletonDebugEventType = 2
	// Cryptographer needs passphrase.
	SyncEnums_PASSPHRASE_REQUIRED SyncEnums_SingletonDebugEventType = 3
	// Passphrase was accepted by cryptographer.
	SyncEnums_PASSPHRASE_ACCEPTED SyncEnums_SingletonDebugEventType = 4
	// Sync Initialization is complete.
	SyncEnums_INITIALIZATION_COMPLETE SyncEnums_SingletonDebugEventType = 5
	// Server sent stop syncing permanently. This event should never be seen by
	// the server in the absence of bugs.
	SyncEnums_STOP_SYNCING_PERMANENTLY SyncEnums_SingletonDebugEventType = 6
	// Client has finished encrypting all data.
	SyncEnums_ENCRYPTION_COMPLETE SyncEnums_SingletonDebugEventType = 7
	// Client received an actionable error.
	SyncEnums_ACTIONABLE_ERROR SyncEnums_SingletonDebugEventType = 8
	// Set of encrypted types has changed.
	SyncEnums_ENCRYPTED_TYPES_CHANGED SyncEnums_SingletonDebugEventType = 9
	// The encryption passphrase state changed.
	SyncEnums_PASSPHRASE_TYPE_CHANGED SyncEnums_SingletonDebugEventType = 10
	// A new keystore encryption token was persisted.
	SyncEnums_KEYSTORE_TOKEN_UPDATED SyncEnums_SingletonDebugEventType = 11
	// The datatype manager has finished an at least partially successful
	// configuration and is once again syncing with the server.
	SyncEnums_CONFIGURE_COMPLETE SyncEnums_SingletonDebugEventType = 12
	// A new cryptographer bootstrap token was generated.
	SyncEnums_BOOTSTRAP_TOKEN_UPDATED SyncEnums_SingletonDebugEventType = 13
	// Cryptographer needs trusted vault decryption keys.
	SyncEnums_TRUSTED_VAULT_KEY_REQUIRED SyncEnums_SingletonDebugEventType = 14
	// Cryptographer no longer needs trusted vault decryption keys.
	SyncEnums_TRUSTED_VAULT_KEY_ACCEPTED SyncEnums_SingletonDebugEventType = 15
)

func (SyncEnums_SingletonDebugEventType) Descriptor added in v0.1.3

func (SyncEnums_SingletonDebugEventType) Enum

func (SyncEnums_SingletonDebugEventType) EnumDescriptor deprecated

func (SyncEnums_SingletonDebugEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncEnums_SingletonDebugEventType.Descriptor instead.

func (SyncEnums_SingletonDebugEventType) Number added in v0.1.3

func (SyncEnums_SingletonDebugEventType) String

func (SyncEnums_SingletonDebugEventType) Type added in v0.1.3

func (*SyncEnums_SingletonDebugEventType) UnmarshalJSON deprecated

func (x *SyncEnums_SingletonDebugEventType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncedNotificationAppInfoSpecifics

type SyncedNotificationAppInfoSpecifics struct {
	// contains filtered or unexported fields
}

This message is kept around for backwards compatibility sake.

func (*SyncedNotificationAppInfoSpecifics) Descriptor deprecated

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

Deprecated: Use SyncedNotificationAppInfoSpecifics.ProtoReflect.Descriptor instead.

func (*SyncedNotificationAppInfoSpecifics) ProtoMessage

func (*SyncedNotificationAppInfoSpecifics) ProtoMessage()

func (*SyncedNotificationAppInfoSpecifics) ProtoReflect added in v0.1.3

func (*SyncedNotificationAppInfoSpecifics) Reset

func (*SyncedNotificationAppInfoSpecifics) String

type SyncedNotificationSpecifics

type SyncedNotificationSpecifics struct {
	// contains filtered or unexported fields
}

This message is kept around for backwards compatibility sake.

func (*SyncedNotificationSpecifics) Descriptor deprecated

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

Deprecated: Use SyncedNotificationSpecifics.ProtoReflect.Descriptor instead.

func (*SyncedNotificationSpecifics) ProtoMessage

func (*SyncedNotificationSpecifics) ProtoMessage()

func (*SyncedNotificationSpecifics) ProtoReflect added in v0.1.3

func (*SyncedNotificationSpecifics) Reset

func (x *SyncedNotificationSpecifics) Reset()

func (*SyncedNotificationSpecifics) String

func (x *SyncedNotificationSpecifics) String() string

type TabNavigation

type TabNavigation struct {

	// The index in the NavigationController. If this is -1, it means this
	// TabNavigation is bogus.
	// optional int32 index = 1 [default = -1];  // obsolete.
	// The virtual URL, when nonempty, will override the actual URL of the page
	// when we display it to the user.
	VirtualUrl *string `protobuf:"bytes,2,opt,name=virtual_url,json=virtualUrl" json:"virtual_url,omitempty"`
	// The referring URL, which can be empty.
	Referrer *string `protobuf:"bytes,3,opt,name=referrer" json:"referrer,omitempty"`
	// The title of the page.
	Title *string `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	// Content state is an opaque blob created by WebKit that represents the
	// state of the page. This includes form entries and scroll position for each
	// frame.
	// optional string state = 5;  // obsolete.
	// The core transition type.
	PageTransition *SyncEnums_PageTransition `` /* 141-byte string literal not displayed */
	// If this transition was triggered by a redirect, the redirect type.
	RedirectType *SyncEnums_PageTransitionRedirectType `` /* 141-byte string literal not displayed */
	// The unique navigation id (within this client).
	UniqueId *int32 `protobuf:"varint,8,opt,name=unique_id,json=uniqueId" json:"unique_id,omitempty"`
	// Timestamp for when this navigation last occurred (in client time).
	// If the user goes back/forward in history the timestamp may refresh.
	TimestampMsec *int64 `protobuf:"varint,9,opt,name=timestamp_msec,json=timestampMsec" json:"timestamp_msec,omitempty"`
	// User used the Forward or Back button to navigate among browsing history.
	NavigationForwardBack *bool `protobuf:"varint,10,opt,name=navigation_forward_back,json=navigationForwardBack" json:"navigation_forward_back,omitempty"`
	// User used the address bar to trigger this navigation.
	NavigationFromAddressBar *bool `` /* 132-byte string literal not displayed */
	// User is navigating to the home page.
	NavigationHomePage *bool `protobuf:"varint,12,opt,name=navigation_home_page,json=navigationHomePage" json:"navigation_home_page,omitempty"`
	// The beginning of a navigation chain.
	NavigationChainStart *bool `protobuf:"varint,13,opt,name=navigation_chain_start,json=navigationChainStart" json:"navigation_chain_start,omitempty"`
	// The last transition in a redirect chain.
	NavigationChainEnd *bool `protobuf:"varint,14,opt,name=navigation_chain_end,json=navigationChainEnd" json:"navigation_chain_end,omitempty"`
	// The id for this navigation, which is globally unique with high
	// probability.
	GlobalId *int64 `protobuf:"varint,15,opt,name=global_id,json=globalId" json:"global_id,omitempty"`
	// Search terms extracted from the URL.
	//
	// Deprecated: Do not use.
	SearchTerms *string `protobuf:"bytes,16,opt,name=search_terms,json=searchTerms" json:"search_terms,omitempty"`
	// The favicon url associated with this page.
	FaviconUrl *string `protobuf:"bytes,17,opt,name=favicon_url,json=faviconUrl" json:"favicon_url,omitempty"`
	// Whether access to the URL was allowed or blocked.
	BlockedState *TabNavigation_BlockedState `` /* 138-byte string literal not displayed */
	// A list of category identifiers for the URL.
	ContentPackCategories []string `protobuf:"bytes,19,rep,name=content_pack_categories,json=contentPackCategories" json:"content_pack_categories,omitempty"`
	// The status code from the last navigation.
	HttpStatusCode *int32 `protobuf:"varint,20,opt,name=http_status_code,json=httpStatusCode" json:"http_status_code,omitempty"`
	// Referrer policy. Old, broken value. Deprecated in M61.
	//
	// Deprecated: Do not use.
	ObsoleteReferrerPolicy *int32 `protobuf:"varint,21,opt,name=obsolete_referrer_policy,json=obsoleteReferrerPolicy" json:"obsolete_referrer_policy,omitempty"`
	// True if created from restored navigation entry that hasn't been loaded.
	IsRestored *bool `protobuf:"varint,22,opt,name=is_restored,json=isRestored" json:"is_restored,omitempty"`
	// The chain of redirections for this navigation, from the original URL
	// through the last URL that redirected.
	NavigationRedirect []*NavigationRedirect `protobuf:"bytes,23,rep,name=navigation_redirect,json=navigationRedirect" json:"navigation_redirect,omitempty"`
	// Normally not present.
	// The last URL traversed when different from the virtual_url.
	LastNavigationRedirectUrl *string `` /* 134-byte string literal not displayed */
	// Correct referrer policy. Valid enums are defined in
	// third_party/WebKit/public/platform/WebReferrerPolicy.h.
	CorrectReferrerPolicy *int32 `` /* 127-byte string literal not displayed */
	// Whether the Password Manager saw a password field on the page.
	PasswordState *TabNavigation_PasswordState `` /* 136-byte string literal not displayed */
	// The id for the task associated with this navigation, which is globally
	// unique with high probability.
	// Similar with global_id, but used to identify a navigation in Chrome Tasks,
	// so navigations of a page have the same task_id if one is the first visit of
	// the page, and others are its back/forward visits.
	TaskId *int64 `protobuf:"varint,27,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	// Task ids of all ancestor navigations, which can be from other tabs, from
	// root to parent. We define navigation A is parent of navigation B if page of
	// B is got by clicking a link on page of A. This relationship is used to
	// define a Chrome Task as a tree rooted by a navigation.
	AncestorTaskId []int64 `protobuf:"varint,28,rep,name=ancestor_task_id,json=ancestorTaskId" json:"ancestor_task_id,omitempty"`
	// When a history entry is replaced (e.g. history.replaceState()), this
	// contains some information about the entry prior to being replaced. Even if
	// an entry is replaced multiple times, it represents data prior to the
	// *first* replace.
	ReplacedNavigation *ReplacedNavigation `protobuf:"bytes,29,opt,name=replaced_navigation,json=replacedNavigation" json:"replaced_navigation,omitempty"`
	// The page language as determined by its textual content. An ISO 639 language
	// code (two letters, except for Chinese where a localization is necessary).
	PageLanguage *string `protobuf:"bytes,30,opt,name=page_language,json=pageLanguage" json:"page_language,omitempty"`
	// contains filtered or unexported fields
}

func (*TabNavigation) Descriptor deprecated

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

Deprecated: Use TabNavigation.ProtoReflect.Descriptor instead.

func (*TabNavigation) GetAncestorTaskId

func (x *TabNavigation) GetAncestorTaskId() []int64

func (*TabNavigation) GetBlockedState

func (x *TabNavigation) GetBlockedState() TabNavigation_BlockedState

func (*TabNavigation) GetContentPackCategories

func (x *TabNavigation) GetContentPackCategories() []string

func (*TabNavigation) GetCorrectReferrerPolicy

func (x *TabNavigation) GetCorrectReferrerPolicy() int32

func (*TabNavigation) GetFaviconUrl

func (x *TabNavigation) GetFaviconUrl() string

func (*TabNavigation) GetGlobalId

func (x *TabNavigation) GetGlobalId() int64

func (*TabNavigation) GetHttpStatusCode

func (x *TabNavigation) GetHttpStatusCode() int32

func (*TabNavigation) GetIsRestored

func (x *TabNavigation) GetIsRestored() bool

func (*TabNavigation) GetLastNavigationRedirectUrl

func (x *TabNavigation) GetLastNavigationRedirectUrl() string

func (*TabNavigation) GetNavigationChainEnd

func (x *TabNavigation) GetNavigationChainEnd() bool

func (*TabNavigation) GetNavigationChainStart

func (x *TabNavigation) GetNavigationChainStart() bool

func (*TabNavigation) GetNavigationForwardBack

func (x *TabNavigation) GetNavigationForwardBack() bool

func (*TabNavigation) GetNavigationFromAddressBar

func (x *TabNavigation) GetNavigationFromAddressBar() bool

func (*TabNavigation) GetNavigationHomePage

func (x *TabNavigation) GetNavigationHomePage() bool

func (*TabNavigation) GetNavigationRedirect

func (x *TabNavigation) GetNavigationRedirect() []*NavigationRedirect

func (*TabNavigation) GetObsoleteReferrerPolicy deprecated

func (x *TabNavigation) GetObsoleteReferrerPolicy() int32

Deprecated: Do not use.

func (*TabNavigation) GetPageLanguage

func (x *TabNavigation) GetPageLanguage() string

func (*TabNavigation) GetPageTransition

func (x *TabNavigation) GetPageTransition() SyncEnums_PageTransition

func (*TabNavigation) GetPasswordState

func (x *TabNavigation) GetPasswordState() TabNavigation_PasswordState

func (*TabNavigation) GetRedirectType

func (*TabNavigation) GetReferrer

func (x *TabNavigation) GetReferrer() string

func (*TabNavigation) GetReplacedNavigation

func (x *TabNavigation) GetReplacedNavigation() *ReplacedNavigation

func (*TabNavigation) GetSearchTerms deprecated

func (x *TabNavigation) GetSearchTerms() string

Deprecated: Do not use.

func (*TabNavigation) GetTaskId

func (x *TabNavigation) GetTaskId() int64

func (*TabNavigation) GetTimestampMsec

func (x *TabNavigation) GetTimestampMsec() int64

func (*TabNavigation) GetTitle

func (x *TabNavigation) GetTitle() string

func (*TabNavigation) GetUniqueId

func (x *TabNavigation) GetUniqueId() int32

func (*TabNavigation) GetVirtualUrl

func (x *TabNavigation) GetVirtualUrl() string

func (*TabNavigation) ProtoMessage

func (*TabNavigation) ProtoMessage()

func (*TabNavigation) ProtoReflect added in v0.1.3

func (x *TabNavigation) ProtoReflect() protoreflect.Message

func (*TabNavigation) Reset

func (x *TabNavigation) Reset()

func (*TabNavigation) String

func (x *TabNavigation) String() string

type TabNavigation_BlockedState

type TabNavigation_BlockedState int32
const (
	TabNavigation_STATE_ALLOWED TabNavigation_BlockedState = 1
	TabNavigation_STATE_BLOCKED TabNavigation_BlockedState = 2
)

func (TabNavigation_BlockedState) Descriptor added in v0.1.3

func (TabNavigation_BlockedState) Enum

func (TabNavigation_BlockedState) EnumDescriptor deprecated

func (TabNavigation_BlockedState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TabNavigation_BlockedState.Descriptor instead.

func (TabNavigation_BlockedState) Number added in v0.1.3

func (TabNavigation_BlockedState) String

func (TabNavigation_BlockedState) Type added in v0.1.3

func (*TabNavigation_BlockedState) UnmarshalJSON deprecated

func (x *TabNavigation_BlockedState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TabNavigation_PasswordState

type TabNavigation_PasswordState int32
const (
	TabNavigation_PASSWORD_STATE_UNKNOWN TabNavigation_PasswordState = 0
	TabNavigation_NO_PASSWORD_FIELD      TabNavigation_PasswordState = 1
	TabNavigation_HAS_PASSWORD_FIELD     TabNavigation_PasswordState = 2
)

func (TabNavigation_PasswordState) Descriptor added in v0.1.3

func (TabNavigation_PasswordState) Enum

func (TabNavigation_PasswordState) EnumDescriptor deprecated

func (TabNavigation_PasswordState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TabNavigation_PasswordState.Descriptor instead.

func (TabNavigation_PasswordState) Number added in v0.1.3

func (TabNavigation_PasswordState) String

func (TabNavigation_PasswordState) Type added in v0.1.3

func (*TabNavigation_PasswordState) UnmarshalJSON deprecated

func (x *TabNavigation_PasswordState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ThemeSpecifics

type ThemeSpecifics struct {

	// If set, we're using a extension and all custom_* fields should be
	// present.  If not set, and all custom_* fields should be omitted.
	UseCustomTheme *bool `protobuf:"varint,1,opt,name=use_custom_theme,json=useCustomTheme" json:"use_custom_theme,omitempty"`
	// This field is only set (i.e., not cleared) on platforms that have
	// a distinction between the system theme and the default theme, but
	// other platforms must be careful to pass through the set state (not
	// just the value) of this flag.
	//
	// If true, we use the system theme by default (i.e., when we don't use
	// a custom theme) for platforms that make a distinction between the
	// default theme and the system theme.  Has no effect if use_custom_theme
	// is set.
	UseSystemThemeByDefault *bool `` /* 130-byte string literal not displayed */
	// TODO(gayane): Migrate custom_* fields to a separate message.
	// Extension specific fields. Ignored if |autogenerated_theme| is set.
	CustomThemeName      *string `protobuf:"bytes,3,opt,name=custom_theme_name,json=customThemeName" json:"custom_theme_name,omitempty"`
	CustomThemeId        *string `protobuf:"bytes,4,opt,name=custom_theme_id,json=customThemeId" json:"custom_theme_id,omitempty"`
	CustomThemeUpdateUrl *string `protobuf:"bytes,5,opt,name=custom_theme_update_url,json=customThemeUpdateUrl" json:"custom_theme_update_url,omitempty"`
	// If set, autogenerated theme is used.
	AutogeneratedTheme *ThemeSpecifics_AutogeneratedTheme `protobuf:"bytes,6,opt,name=autogenerated_theme,json=autogeneratedTheme" json:"autogenerated_theme,omitempty"`
	// contains filtered or unexported fields
}

Properties of theme sync objects.

func (*ThemeSpecifics) Descriptor deprecated

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

Deprecated: Use ThemeSpecifics.ProtoReflect.Descriptor instead.

func (*ThemeSpecifics) GetAutogeneratedTheme

func (x *ThemeSpecifics) GetAutogeneratedTheme() *ThemeSpecifics_AutogeneratedTheme

func (*ThemeSpecifics) GetCustomThemeId

func (x *ThemeSpecifics) GetCustomThemeId() string

func (*ThemeSpecifics) GetCustomThemeName

func (x *ThemeSpecifics) GetCustomThemeName() string

func (*ThemeSpecifics) GetCustomThemeUpdateUrl

func (x *ThemeSpecifics) GetCustomThemeUpdateUrl() string

func (*ThemeSpecifics) GetUseCustomTheme

func (x *ThemeSpecifics) GetUseCustomTheme() bool

func (*ThemeSpecifics) GetUseSystemThemeByDefault

func (x *ThemeSpecifics) GetUseSystemThemeByDefault() bool

func (*ThemeSpecifics) ProtoMessage

func (*ThemeSpecifics) ProtoMessage()

func (*ThemeSpecifics) ProtoReflect added in v0.1.3

func (x *ThemeSpecifics) ProtoReflect() protoreflect.Message

func (*ThemeSpecifics) Reset

func (x *ThemeSpecifics) Reset()

func (*ThemeSpecifics) String

func (x *ThemeSpecifics) String() string

type ThemeSpecifics_AutogeneratedTheme

type ThemeSpecifics_AutogeneratedTheme struct {

	// SkColor used to autogenerate theme.
	Color *uint32 `protobuf:"varint,1,opt,name=color" json:"color,omitempty"`
	// contains filtered or unexported fields
}

func (*ThemeSpecifics_AutogeneratedTheme) Descriptor deprecated

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

Deprecated: Use ThemeSpecifics_AutogeneratedTheme.ProtoReflect.Descriptor instead.

func (*ThemeSpecifics_AutogeneratedTheme) GetColor

func (*ThemeSpecifics_AutogeneratedTheme) ProtoMessage

func (*ThemeSpecifics_AutogeneratedTheme) ProtoMessage()

func (*ThemeSpecifics_AutogeneratedTheme) ProtoReflect added in v0.1.3

func (*ThemeSpecifics_AutogeneratedTheme) Reset

func (*ThemeSpecifics_AutogeneratedTheme) String

type TimeRangeDirective

type TimeRangeDirective struct {

	// The time on or after which entries must be deleted.
	StartTimeUsec *int64 `protobuf:"varint,1,opt,name=start_time_usec,json=startTimeUsec" json:"start_time_usec,omitempty"`
	// The time on or before which entries must be deleted.
	EndTimeUsec *int64 `protobuf:"varint,2,opt,name=end_time_usec,json=endTimeUsec" json:"end_time_usec,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeRangeDirective) Descriptor deprecated

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

Deprecated: Use TimeRangeDirective.ProtoReflect.Descriptor instead.

func (*TimeRangeDirective) GetEndTimeUsec

func (x *TimeRangeDirective) GetEndTimeUsec() int64

func (*TimeRangeDirective) GetStartTimeUsec

func (x *TimeRangeDirective) GetStartTimeUsec() int64

func (*TimeRangeDirective) ProtoMessage

func (*TimeRangeDirective) ProtoMessage()

func (*TimeRangeDirective) ProtoReflect added in v0.1.3

func (x *TimeRangeDirective) ProtoReflect() protoreflect.Message

func (*TimeRangeDirective) Reset

func (x *TimeRangeDirective) Reset()

func (*TimeRangeDirective) String

func (x *TimeRangeDirective) String() string

type TypeHint

type TypeHint struct {

	// The data type this hint applied to.
	DataTypeId *int32 `protobuf:"varint,1,opt,name=data_type_id,json=dataTypeId" json:"data_type_id,omitempty"`
	// Whether or not a valid hint is provided.
	HasValidHint *bool `protobuf:"varint,2,opt,name=has_valid_hint,json=hasValidHint" json:"has_valid_hint,omitempty"`
	// contains filtered or unexported fields
}

Per-type hint information.

func (*TypeHint) Descriptor deprecated

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

Deprecated: Use TypeHint.ProtoReflect.Descriptor instead.

func (*TypeHint) GetDataTypeId

func (x *TypeHint) GetDataTypeId() int32

func (*TypeHint) GetHasValidHint

func (x *TypeHint) GetHasValidHint() bool

func (*TypeHint) ProtoMessage

func (*TypeHint) ProtoMessage()

func (*TypeHint) ProtoReflect added in v0.1.3

func (x *TypeHint) ProtoReflect() protoreflect.Message

func (*TypeHint) Reset

func (x *TypeHint) Reset()

func (*TypeHint) String

func (x *TypeHint) String() string

type TypedUrlSpecifics

type TypedUrlSpecifics struct {

	// Actual URL that was typed.
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// Title of the page corresponding to this URL.
	Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	// The number of times this URL was typed. Deprecated since we no longer sync
	// this information (it's inferred by the history code from the transition
	// type for each visit).
	// optional int32 typed_count = 3; (deprecated)
	// True if the URL should be used for auto-complete.
	Hidden *bool `protobuf:"varint,4,opt,name=hidden" json:"hidden,omitempty"`
	// The number of visits (includes page reloads).
	// repeated int64 visit = 5; (deprecated)
	// The number of explicit navigations to this URL (excludes page reloads) -
	// deprecated as we no longer sync this (history code infers this from the
	// |visits| array).
	// optional int32 visited_count = 6; (deprecated)
	// Timestamps for all visits to this URL.
	Visits []int64 `protobuf:"varint,7,rep,packed,name=visits" json:"visits,omitempty"`
	// The PageTransition::Type for each of the visits in the |visit| array. Both
	// arrays must be the same length.
	VisitTransitions []int32 `protobuf:"varint,8,rep,packed,name=visit_transitions,json=visitTransitions" json:"visit_transitions,omitempty"`
	// contains filtered or unexported fields
}

Properties of typed_url sync objects - fields correspond to similarly named fields in history::URLRow.

func (*TypedUrlSpecifics) Descriptor deprecated

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

Deprecated: Use TypedUrlSpecifics.ProtoReflect.Descriptor instead.

func (*TypedUrlSpecifics) GetHidden

func (x *TypedUrlSpecifics) GetHidden() bool

func (*TypedUrlSpecifics) GetTitle

func (x *TypedUrlSpecifics) GetTitle() string

func (*TypedUrlSpecifics) GetUrl

func (x *TypedUrlSpecifics) GetUrl() string

func (*TypedUrlSpecifics) GetVisitTransitions

func (x *TypedUrlSpecifics) GetVisitTransitions() []int32

func (*TypedUrlSpecifics) GetVisits

func (x *TypedUrlSpecifics) GetVisits() []int64

func (*TypedUrlSpecifics) ProtoMessage

func (*TypedUrlSpecifics) ProtoMessage()

func (*TypedUrlSpecifics) ProtoReflect added in v0.1.3

func (x *TypedUrlSpecifics) ProtoReflect() protoreflect.Message

func (*TypedUrlSpecifics) Reset

func (x *TypedUrlSpecifics) Reset()

func (*TypedUrlSpecifics) String

func (x *TypedUrlSpecifics) String() string

type UniquePosition

type UniquePosition struct {

	// The uncompressed string of bytes representing the position.
	//
	// Deprecated.  See history note above.
	Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	// The client may choose to write a compressed position to this field instead
	// of populating the 'value' above.  If it chooses to use compression, the
	// 'value' field above must be empty.  The position value will be compressed
	// with gzip and stored in the compressed_value field.  The position's
	// uncompressed length must be specified and written to the
	// uncompressed_length field.
	//
	// Deprecated.  See history note above.
	CompressedValue    []byte  `protobuf:"bytes,2,opt,name=compressed_value,json=compressedValue" json:"compressed_value,omitempty"`
	UncompressedLength *uint64 `protobuf:"varint,3,opt,name=uncompressed_length,json=uncompressedLength" json:"uncompressed_length,omitempty"`
	// This encoding uses compression scheme designed especially for unique
	// positions.  It has the property that X < Y precisely when Compressed(X) <
	// Compressed(Y), which is very useful when the most common operation is to
	// compare these positions against each other.  Their values may remain
	// compressed in memory.
	//
	// The compression scheme is implemented and documented in
	// sync/core_impl/base/unique_position.cc.
	//
	// As of M30, this is the preferred encoding.  Newer clients may continue to
	// populate the 'value' and 'compressed_value' fields to ensure backwards
	// compatibility, but they will always try to read from this field first.
	CustomCompressedV1 []byte `protobuf:"bytes,4,opt,name=custom_compressed_v1,json=customCompressedV1" json:"custom_compressed_v1,omitempty"`
	// contains filtered or unexported fields
}

A UniquePosition is a string of bytes.

Unique positions are unique per-item, since they are guaranteed to end with a fixed-length suffix that is unique per-item. The position string may not end with a '\0' byte.

Prior to the suffix is a series of arbitrary bytes of arbitrary length. Items under the same parent are positioned relative to each other by a lexicographic comparison of their UniquePosition values.

func (*UniquePosition) Descriptor deprecated

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

Deprecated: Use UniquePosition.ProtoReflect.Descriptor instead.

func (*UniquePosition) GetCompressedValue

func (x *UniquePosition) GetCompressedValue() []byte

func (*UniquePosition) GetCustomCompressedV1

func (x *UniquePosition) GetCustomCompressedV1() []byte

func (*UniquePosition) GetUncompressedLength

func (x *UniquePosition) GetUncompressedLength() uint64

func (*UniquePosition) GetValue

func (x *UniquePosition) GetValue() []byte

func (*UniquePosition) ProtoMessage

func (*UniquePosition) ProtoMessage()

func (*UniquePosition) ProtoReflect added in v0.1.3

func (x *UniquePosition) ProtoReflect() protoreflect.Message

func (*UniquePosition) Reset

func (x *UniquePosition) Reset()

func (*UniquePosition) String

func (x *UniquePosition) String() string

type UnknownFieldsTestA

type UnknownFieldsTestA struct {
	Foo *bool `protobuf:"varint,1,req,name=foo" json:"foo,omitempty"`
	// contains filtered or unexported fields
}

func (*UnknownFieldsTestA) Descriptor deprecated

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

Deprecated: Use UnknownFieldsTestA.ProtoReflect.Descriptor instead.

func (*UnknownFieldsTestA) GetFoo

func (x *UnknownFieldsTestA) GetFoo() bool

func (*UnknownFieldsTestA) ProtoMessage

func (*UnknownFieldsTestA) ProtoMessage()

func (*UnknownFieldsTestA) ProtoReflect added in v0.1.3

func (x *UnknownFieldsTestA) ProtoReflect() protoreflect.Message

func (*UnknownFieldsTestA) Reset

func (x *UnknownFieldsTestA) Reset()

func (*UnknownFieldsTestA) String

func (x *UnknownFieldsTestA) String() string

type UnknownFieldsTestB

type UnknownFieldsTestB struct {
	Foo *bool `protobuf:"varint,1,req,name=foo" json:"foo,omitempty"`
	Bar *bool `protobuf:"varint,2,req,name=bar" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

func (*UnknownFieldsTestB) Descriptor deprecated

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

Deprecated: Use UnknownFieldsTestB.ProtoReflect.Descriptor instead.

func (*UnknownFieldsTestB) GetBar

func (x *UnknownFieldsTestB) GetBar() bool

func (*UnknownFieldsTestB) GetFoo

func (x *UnknownFieldsTestB) GetFoo() bool

func (*UnknownFieldsTestB) ProtoMessage

func (*UnknownFieldsTestB) ProtoMessage()

func (*UnknownFieldsTestB) ProtoReflect added in v0.1.3

func (x *UnknownFieldsTestB) ProtoReflect() protoreflect.Message

func (*UnknownFieldsTestB) Reset

func (x *UnknownFieldsTestB) Reset()

func (*UnknownFieldsTestB) String

func (x *UnknownFieldsTestB) String() string

type UrlDirective

type UrlDirective struct {

	// The URL that should be removed from history.
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// The time on or before which entries must be deleted.
	// In microseconds since the Unix epoch.
	EndTimeUsec *int64 `protobuf:"varint,2,opt,name=end_time_usec,json=endTimeUsec" json:"end_time_usec,omitempty"`
	// contains filtered or unexported fields
}

func (*UrlDirective) Descriptor deprecated

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

Deprecated: Use UrlDirective.ProtoReflect.Descriptor instead.

func (*UrlDirective) GetEndTimeUsec

func (x *UrlDirective) GetEndTimeUsec() int64

func (*UrlDirective) GetUrl

func (x *UrlDirective) GetUrl() string

func (*UrlDirective) ProtoMessage

func (*UrlDirective) ProtoMessage()

func (*UrlDirective) ProtoReflect added in v0.1.3

func (x *UrlDirective) ProtoReflect() protoreflect.Message

func (*UrlDirective) Reset

func (x *UrlDirective) Reset()

func (*UrlDirective) String

func (x *UrlDirective) String() string

type UserConsentSpecifics

type UserConsentSpecifics struct {

	// The UI language Chrome is using, represented as the IETF language tag
	// defined in BCP 47. The region subtag is not included when it adds no
	// distinguishing information to the language tag (e.g. both "en-US"
	// and "fr" are correct here).
	Locale *string `protobuf:"bytes,4,opt,name=locale" json:"locale,omitempty"`
	// The local time on the client when the user consent was recorded. The time
	// as measured by client is given in microseconds since Windows epoch. This
	// is needed since user consent recording may happen when a client is
	// offline.
	ClientConsentTimeUsec *int64 `protobuf:"varint,12,opt,name=client_consent_time_usec,json=clientConsentTimeUsec" json:"client_consent_time_usec,omitempty"`
	// Types that are assignable to Consent:
	//	*UserConsentSpecifics_SyncConsent
	//	*UserConsentSpecifics_ArcBackupAndRestoreConsent
	//	*UserConsentSpecifics_ArcLocationServiceConsent
	//	*UserConsentSpecifics_ArcPlayTermsOfServiceConsent
	//	*UserConsentSpecifics_UnifiedConsent
	//	*UserConsentSpecifics_AssistantActivityControlConsent
	Consent isUserConsentSpecifics_Consent `protobuf_oneof:"consent"`
	// The account ID of the user who gave the consent. This field is used
	// by UserEventService to distinguish consents from different users,
	// as UserConsent does not get deleted when a user signs out. However,
	// it should be cleared before being sent over the wire, as the UserEvent
	// is sent over an authenticated channel, so this information would be
	// redundant.
	//
	// For semantics and usage of the |account_id| in the signin codebase,
	// see IdentityManager::GetPrimaryAccountId() or CoreAccountId.
	AccountId *string `protobuf:"bytes,6,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	// Deprecated: Do not use.
	Feature *UserConsentSpecifics_Feature `protobuf:"varint,1,opt,name=feature,enum=sync_pb.UserConsentSpecifics_Feature" json:"feature,omitempty"`
	// Ids of the strings of the consent text presented to the user.
	//
	// Deprecated: Do not use.
	DescriptionGrdIds []int32 `protobuf:"varint,2,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked when consenting.
	//
	// Deprecated: Do not use.
	ConfirmationGrdId *int32 `protobuf:"varint,3,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// Was the consent for |feature| given or not given (denied/revoked)?
	//
	// Deprecated: Do not use.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,5,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Next id: 14

func (*UserConsentSpecifics) Descriptor deprecated

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

Deprecated: Use UserConsentSpecifics.ProtoReflect.Descriptor instead.

func (*UserConsentSpecifics) GetAccountId

func (x *UserConsentSpecifics) GetAccountId() string

func (*UserConsentSpecifics) GetArcBackupAndRestoreConsent

func (x *UserConsentSpecifics) GetArcBackupAndRestoreConsent() *UserConsentTypes_ArcBackupAndRestoreConsent

func (*UserConsentSpecifics) GetArcLocationServiceConsent

func (*UserConsentSpecifics) GetArcPlayTermsOfServiceConsent

func (x *UserConsentSpecifics) GetArcPlayTermsOfServiceConsent() *UserConsentTypes_ArcPlayTermsOfServiceConsent

func (*UserConsentSpecifics) GetAssistantActivityControlConsent

func (x *UserConsentSpecifics) GetAssistantActivityControlConsent() *UserConsentTypes_AssistantActivityControlConsent

func (*UserConsentSpecifics) GetClientConsentTimeUsec

func (x *UserConsentSpecifics) GetClientConsentTimeUsec() int64

func (*UserConsentSpecifics) GetConfirmationGrdId deprecated

func (x *UserConsentSpecifics) GetConfirmationGrdId() int32

Deprecated: Do not use.

func (*UserConsentSpecifics) GetConsent

func (m *UserConsentSpecifics) GetConsent() isUserConsentSpecifics_Consent

func (*UserConsentSpecifics) GetDescriptionGrdIds deprecated

func (x *UserConsentSpecifics) GetDescriptionGrdIds() []int32

Deprecated: Do not use.

func (*UserConsentSpecifics) GetFeature deprecated

Deprecated: Do not use.

func (*UserConsentSpecifics) GetLocale

func (x *UserConsentSpecifics) GetLocale() string

func (*UserConsentSpecifics) GetStatus deprecated

Deprecated: Do not use.

func (*UserConsentSpecifics) GetSyncConsent

func (*UserConsentSpecifics) GetUnifiedConsent deprecated

func (x *UserConsentSpecifics) GetUnifiedConsent() *UserConsentTypes_UnifiedConsent

Deprecated: Do not use.

func (*UserConsentSpecifics) ProtoMessage

func (*UserConsentSpecifics) ProtoMessage()

func (*UserConsentSpecifics) ProtoReflect added in v0.1.3

func (x *UserConsentSpecifics) ProtoReflect() protoreflect.Message

func (*UserConsentSpecifics) Reset

func (x *UserConsentSpecifics) Reset()

func (*UserConsentSpecifics) String

func (x *UserConsentSpecifics) String() string

type UserConsentSpecifics_ArcBackupAndRestoreConsent

type UserConsentSpecifics_ArcBackupAndRestoreConsent struct {
	ArcBackupAndRestoreConsent *UserConsentTypes_ArcBackupAndRestoreConsent `protobuf:"bytes,8,opt,name=arc_backup_and_restore_consent,json=arcBackupAndRestoreConsent,oneof"`
}

type UserConsentSpecifics_ArcLocationServiceConsent

type UserConsentSpecifics_ArcLocationServiceConsent struct {
	ArcLocationServiceConsent *UserConsentTypes_ArcGoogleLocationServiceConsent `protobuf:"bytes,9,opt,name=arc_location_service_consent,json=arcLocationServiceConsent,oneof"`
}

type UserConsentSpecifics_ArcPlayTermsOfServiceConsent

type UserConsentSpecifics_ArcPlayTermsOfServiceConsent struct {
	ArcPlayTermsOfServiceConsent *UserConsentTypes_ArcPlayTermsOfServiceConsent `protobuf:"bytes,10,opt,name=arc_play_terms_of_service_consent,json=arcPlayTermsOfServiceConsent,oneof"`
}

type UserConsentSpecifics_AssistantActivityControlConsent

type UserConsentSpecifics_AssistantActivityControlConsent struct {
	AssistantActivityControlConsent *UserConsentTypes_AssistantActivityControlConsent `protobuf:"bytes,14,opt,name=assistant_activity_control_consent,json=assistantActivityControlConsent,oneof"`
}

type UserConsentSpecifics_Feature

type UserConsentSpecifics_Feature int32

Which feature does the consent apply to?

const (
	UserConsentSpecifics_FEATURE_UNSPECIFIED     UserConsentSpecifics_Feature = 0
	UserConsentSpecifics_CHROME_SYNC             UserConsentSpecifics_Feature = 1
	UserConsentSpecifics_PLAY_STORE              UserConsentSpecifics_Feature = 2
	UserConsentSpecifics_BACKUP_AND_RESTORE      UserConsentSpecifics_Feature = 3
	UserConsentSpecifics_GOOGLE_LOCATION_SERVICE UserConsentSpecifics_Feature = 4
	UserConsentSpecifics_CHROME_UNIFIED_CONSENT  UserConsentSpecifics_Feature = 5
	// TODO(markusheintz): ASSISTANT_ACTIVITY_CONTROL was only added for
	// compatibility with the Feature enum in UserEventSpecifics.UserConsent.
	// Delete this value once the value is deleted from the other proto.
	UserConsentSpecifics_ASSISTANT_ACTIVITY_CONTROL UserConsentSpecifics_Feature = 6
)

func (UserConsentSpecifics_Feature) Descriptor added in v0.1.3

func (UserConsentSpecifics_Feature) Enum

func (UserConsentSpecifics_Feature) EnumDescriptor deprecated

func (UserConsentSpecifics_Feature) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserConsentSpecifics_Feature.Descriptor instead.

func (UserConsentSpecifics_Feature) Number added in v0.1.3

func (UserConsentSpecifics_Feature) String

func (UserConsentSpecifics_Feature) Type added in v0.1.3

func (*UserConsentSpecifics_Feature) UnmarshalJSON deprecated

func (x *UserConsentSpecifics_Feature) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UserConsentSpecifics_SyncConsent

type UserConsentSpecifics_SyncConsent struct {
	SyncConsent *UserConsentTypes_SyncConsent `protobuf:"bytes,7,opt,name=sync_consent,json=syncConsent,oneof"`
}

type UserConsentSpecifics_UnifiedConsent

type UserConsentSpecifics_UnifiedConsent struct {
	// Deprecated: Do not use.
	UnifiedConsent *UserConsentTypes_UnifiedConsent `protobuf:"bytes,13,opt,name=unified_consent,json=unifiedConsent,oneof"`
}

type UserConsentTypes

type UserConsentTypes struct {
	// contains filtered or unexported fields
}

func (*UserConsentTypes) Descriptor deprecated

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

Deprecated: Use UserConsentTypes.ProtoReflect.Descriptor instead.

func (*UserConsentTypes) ProtoMessage

func (*UserConsentTypes) ProtoMessage()

func (*UserConsentTypes) ProtoReflect added in v0.1.3

func (x *UserConsentTypes) ProtoReflect() protoreflect.Message

func (*UserConsentTypes) Reset

func (x *UserConsentTypes) Reset()

func (*UserConsentTypes) String

func (x *UserConsentTypes) String() string

type UserConsentTypes_ArcBackupAndRestoreConsent

type UserConsentTypes_ArcBackupAndRestoreConsent struct {

	// Ids of the strings of the setting text presented to the user.
	DescriptionGrdIds []int32 `protobuf:"varint,1,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked when consenting.
	ConfirmationGrdId *int32                          `protobuf:"varint,2,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	Status            *UserConsentTypes_ConsentStatus `protobuf:"varint,3,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The user consent for the ARC Backup And Restore feature. The consent status is determined by the corresponding setting on the ARC setup dialog.

func (*UserConsentTypes_ArcBackupAndRestoreConsent) Descriptor deprecated

Deprecated: Use UserConsentTypes_ArcBackupAndRestoreConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_ArcBackupAndRestoreConsent) GetConfirmationGrdId

func (x *UserConsentTypes_ArcBackupAndRestoreConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_ArcBackupAndRestoreConsent) GetDescriptionGrdIds

func (x *UserConsentTypes_ArcBackupAndRestoreConsent) GetDescriptionGrdIds() []int32

func (*UserConsentTypes_ArcBackupAndRestoreConsent) GetStatus

func (*UserConsentTypes_ArcBackupAndRestoreConsent) ProtoMessage

func (*UserConsentTypes_ArcBackupAndRestoreConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_ArcBackupAndRestoreConsent) Reset

func (*UserConsentTypes_ArcBackupAndRestoreConsent) String

type UserConsentTypes_ArcGoogleLocationServiceConsent

type UserConsentTypes_ArcGoogleLocationServiceConsent struct {

	// Ids of the strings of the setting text presented to the user.
	DescriptionGrdIds []int32 `protobuf:"varint,1,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked when consenting.
	ConfirmationGrdId *int32                          `protobuf:"varint,2,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	Status            *UserConsentTypes_ConsentStatus `protobuf:"varint,3,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The user consent for the Google Location Service. The consent status is determined by the corresponding setting on the ARC setup dialog.

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) Descriptor deprecated

Deprecated: Use UserConsentTypes_ArcGoogleLocationServiceConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) GetConfirmationGrdId

func (x *UserConsentTypes_ArcGoogleLocationServiceConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) GetDescriptionGrdIds

func (x *UserConsentTypes_ArcGoogleLocationServiceConsent) GetDescriptionGrdIds() []int32

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) GetStatus

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) ProtoMessage

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) Reset

func (*UserConsentTypes_ArcGoogleLocationServiceConsent) String

type UserConsentTypes_ArcPlayTermsOfServiceConsent

type UserConsentTypes_ArcPlayTermsOfServiceConsent struct {

	// The length of the UTF-8 encoded string of the Play Terms of Service
	// text. The length is given in number of bytes.
	PlayTermsOfServiceTextLength *int32 `` /* 147-byte string literal not displayed */
	// The SHA1 hash of UTF-8 encoded string of the Play Terms of Service
	// displayed to the user.
	PlayTermsOfServiceHash []byte `` /* 126-byte string literal not displayed */
	// GRD Ids of the strings on the consent UI that was shown to the user.
	DescriptionGrdIds []int32 `protobuf:"varint,5,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked when consenting.
	ConfirmationGrdId *int32 `protobuf:"varint,3,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// The status of the Play Terms of Service consent. This specifies whether
	// the consent was given or not given/revoked.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,4,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// The user flow during which the consent was recorded. This is necessary in
	// order to create the correct UI context and Event for the backend.
	ConsentFlow *UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

The user consent for the Play terms of service is determined by the user action on the ARC setup dialog that presents the Play Terms of Service.

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) Descriptor deprecated

Deprecated: Use UserConsentTypes_ArcPlayTermsOfServiceConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetConfirmationGrdId

func (x *UserConsentTypes_ArcPlayTermsOfServiceConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetConsentFlow

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetDescriptionGrdIds

func (x *UserConsentTypes_ArcPlayTermsOfServiceConsent) GetDescriptionGrdIds() []int32

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetPlayTermsOfServiceHash

func (x *UserConsentTypes_ArcPlayTermsOfServiceConsent) GetPlayTermsOfServiceHash() []byte

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetPlayTermsOfServiceTextLength

func (x *UserConsentTypes_ArcPlayTermsOfServiceConsent) GetPlayTermsOfServiceTextLength() int32

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) GetStatus

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) ProtoMessage

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) Reset

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent) String

type UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow

type UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow int32

Enum describing different user flow during which the ARC Play Terms of service consent can be recorded.

const (
	// The ARC setup flow on a CROS device.
	UserConsentTypes_ArcPlayTermsOfServiceConsent_SETUP UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow = 1
	// The user flow for changing the ARC setting on a CROS device.
	UserConsentTypes_ArcPlayTermsOfServiceConsent_SETTING_CHANGE UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow = 2
)

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) Descriptor added in v0.1.3

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) Enum

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) EnumDescriptor deprecated

Deprecated: Use UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow.Descriptor instead.

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) Number added in v0.1.3

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) String

func (UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) Type added in v0.1.3

func (*UserConsentTypes_ArcPlayTermsOfServiceConsent_ConsentFlow) UnmarshalJSON deprecated

Deprecated: Do not use.

type UserConsentTypes_AssistantActivityControlConsent

type UserConsentTypes_AssistantActivityControlConsent struct {

	// An opaque token to for ui auditing, which strengthens the audit trail.
	UiAuditKey []byte `protobuf:"bytes,1,opt,name=ui_audit_key,json=uiAuditKey" json:"ui_audit_key,omitempty"`
	// The status of the Assistant activity control consent. This specifies
	// whether the consent was given or not given.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,2,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The User Consent for Assistant activity control is determined by the user action on the Assistant opt-in flow.

func (*UserConsentTypes_AssistantActivityControlConsent) Descriptor deprecated

Deprecated: Use UserConsentTypes_AssistantActivityControlConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_AssistantActivityControlConsent) GetStatus

func (*UserConsentTypes_AssistantActivityControlConsent) GetUiAuditKey

func (*UserConsentTypes_AssistantActivityControlConsent) ProtoMessage

func (*UserConsentTypes_AssistantActivityControlConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_AssistantActivityControlConsent) Reset

func (*UserConsentTypes_AssistantActivityControlConsent) String

type UserConsentTypes_ConsentStatus

type UserConsentTypes_ConsentStatus int32

The status of a particular User Consent. The status describes the state of the consent as it is: given, not_given.

const (
	// The status is unspecified e.g. because the user was not asked to
	// consent yet or an error happened or the decision was delayed.
	UserConsentTypes_CONSENT_STATUS_UNSPECIFIED UserConsentTypes_ConsentStatus = 0
	// The consent is not given. This means the user either revoked the
	// consent or did not grant it in the first place.
	UserConsentTypes_NOT_GIVEN UserConsentTypes_ConsentStatus = 1
	// The consent is given. This means the user did grant the consent.
	UserConsentTypes_GIVEN UserConsentTypes_ConsentStatus = 2
)

func (UserConsentTypes_ConsentStatus) Descriptor added in v0.1.3

func (UserConsentTypes_ConsentStatus) Enum

func (UserConsentTypes_ConsentStatus) EnumDescriptor deprecated

func (UserConsentTypes_ConsentStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserConsentTypes_ConsentStatus.Descriptor instead.

func (UserConsentTypes_ConsentStatus) Number added in v0.1.3

func (UserConsentTypes_ConsentStatus) String

func (UserConsentTypes_ConsentStatus) Type added in v0.1.3

func (*UserConsentTypes_ConsentStatus) UnmarshalJSON deprecated

func (x *UserConsentTypes_ConsentStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UserConsentTypes_SyncConsent

type UserConsentTypes_SyncConsent struct {

	// Ids of the strings of the sync consent text presented to the user.
	DescriptionGrdIds []int32 `protobuf:"varint,1,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked in order to confirm
	// and close the sync consent dialog.
	ConfirmationGrdId *int32 `protobuf:"varint,2,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// The status of the sync consent. This specifies whether the consent was
	// given or not given/revoked.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,3,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The User Consent for Chrome Sync is determined by the user action on the corresponding Sync Consent dialog.

func (*UserConsentTypes_SyncConsent) Descriptor deprecated

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

Deprecated: Use UserConsentTypes_SyncConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_SyncConsent) GetConfirmationGrdId

func (x *UserConsentTypes_SyncConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_SyncConsent) GetDescriptionGrdIds

func (x *UserConsentTypes_SyncConsent) GetDescriptionGrdIds() []int32

func (*UserConsentTypes_SyncConsent) GetStatus

func (*UserConsentTypes_SyncConsent) ProtoMessage

func (*UserConsentTypes_SyncConsent) ProtoMessage()

func (*UserConsentTypes_SyncConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_SyncConsent) Reset

func (x *UserConsentTypes_SyncConsent) Reset()

func (*UserConsentTypes_SyncConsent) String

type UserConsentTypes_UnifiedConsent

type UserConsentTypes_UnifiedConsent struct {

	// Ids of the strings of the unified Chrome consent text presented to the
	// user.
	DescriptionGrdIds []int32 `protobuf:"varint,1,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked in order to confirm
	// and close the unified Chrome consent dialog.
	ConfirmationGrdId *int32 `protobuf:"varint,2,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// The status of the unified Chrome consent. This specifies whether the
	// consent was given or not given/revoked.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,3,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The unified User Consent for Chrome is determined by the user action on the corresponding Chrome Consent dialog.

func (*UserConsentTypes_UnifiedConsent) Descriptor deprecated

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

Deprecated: Use UserConsentTypes_UnifiedConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_UnifiedConsent) GetConfirmationGrdId

func (x *UserConsentTypes_UnifiedConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_UnifiedConsent) GetDescriptionGrdIds

func (x *UserConsentTypes_UnifiedConsent) GetDescriptionGrdIds() []int32

func (*UserConsentTypes_UnifiedConsent) GetStatus

func (*UserConsentTypes_UnifiedConsent) ProtoMessage

func (*UserConsentTypes_UnifiedConsent) ProtoMessage()

func (*UserConsentTypes_UnifiedConsent) ProtoReflect added in v0.1.3

func (*UserConsentTypes_UnifiedConsent) Reset

func (*UserConsentTypes_UnifiedConsent) String

type UserEventSpecifics

type UserEventSpecifics struct {

	// Time of event, as measured by client in microseconds since Windows epoch.
	EventTimeUsec *int64 `protobuf:"varint,1,opt,name=event_time_usec,json=eventTimeUsec" json:"event_time_usec,omitempty"`
	// The |global_id| field of the associated navigation, if there is one.
	NavigationId *int64 `protobuf:"varint,2,opt,name=navigation_id,json=navigationId" json:"navigation_id,omitempty"`
	// On startup we generate a new random id to identify which FieldTrialEvents
	// other events belonged to.
	SessionId *uint64 `protobuf:"fixed64,3,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// Types that are assignable to Event:
	//	*UserEventSpecifics_TestEvent
	//	*UserEventSpecifics_LanguageDetectionEvent
	//	*UserEventSpecifics_TranslationEvent
	//	*UserEventSpecifics_UserConsent_
	//	*UserEventSpecifics_GaiaPasswordReuseEvent
	//	*UserEventSpecifics_GaiaPasswordCapturedEvent
	Event isUserEventSpecifics_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*UserEventSpecifics) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics) GetEvent

func (m *UserEventSpecifics) GetEvent() isUserEventSpecifics_Event

func (*UserEventSpecifics) GetEventTimeUsec

func (x *UserEventSpecifics) GetEventTimeUsec() int64

func (*UserEventSpecifics) GetGaiaPasswordCapturedEvent

func (x *UserEventSpecifics) GetGaiaPasswordCapturedEvent() *UserEventSpecifics_GaiaPasswordCaptured

func (*UserEventSpecifics) GetGaiaPasswordReuseEvent

func (x *UserEventSpecifics) GetGaiaPasswordReuseEvent() *GaiaPasswordReuse

func (*UserEventSpecifics) GetLanguageDetectionEvent deprecated

func (x *UserEventSpecifics) GetLanguageDetectionEvent() *UserEventSpecifics_LanguageDetection

Deprecated: Do not use.

func (*UserEventSpecifics) GetNavigationId

func (x *UserEventSpecifics) GetNavigationId() int64

func (*UserEventSpecifics) GetSessionId

func (x *UserEventSpecifics) GetSessionId() uint64

func (*UserEventSpecifics) GetTestEvent

func (x *UserEventSpecifics) GetTestEvent() *UserEventSpecifics_Test

func (*UserEventSpecifics) GetTranslationEvent deprecated

func (x *UserEventSpecifics) GetTranslationEvent() *UserEventSpecifics_Translation

Deprecated: Do not use.

func (*UserEventSpecifics) GetUserConsent deprecated

Deprecated: Do not use.

func (*UserEventSpecifics) ProtoMessage

func (*UserEventSpecifics) ProtoMessage()

func (*UserEventSpecifics) ProtoReflect added in v0.1.3

func (x *UserEventSpecifics) ProtoReflect() protoreflect.Message

func (*UserEventSpecifics) Reset

func (x *UserEventSpecifics) Reset()

func (*UserEventSpecifics) String

func (x *UserEventSpecifics) String() string

type UserEventSpecifics_GaiaPasswordCaptured

type UserEventSpecifics_GaiaPasswordCaptured struct {
	EventTrigger *UserEventSpecifics_GaiaPasswordCaptured_EventTrigger `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Logged when the user logs into Google, and at least once per 28d.

func (*UserEventSpecifics_GaiaPasswordCaptured) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics_GaiaPasswordCaptured.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_GaiaPasswordCaptured) GetEventTrigger

func (*UserEventSpecifics_GaiaPasswordCaptured) ProtoMessage

func (*UserEventSpecifics_GaiaPasswordCaptured) ProtoReflect added in v0.1.3

func (*UserEventSpecifics_GaiaPasswordCaptured) Reset

func (*UserEventSpecifics_GaiaPasswordCaptured) String

type UserEventSpecifics_GaiaPasswordCapturedEvent

type UserEventSpecifics_GaiaPasswordCapturedEvent struct {
	GaiaPasswordCapturedEvent *UserEventSpecifics_GaiaPasswordCaptured `protobuf:"bytes,15,opt,name=gaia_password_captured_event,json=gaiaPasswordCapturedEvent,oneof"`
}

type UserEventSpecifics_GaiaPasswordCaptured_EventTrigger

type UserEventSpecifics_GaiaPasswordCaptured_EventTrigger int32
const (
	UserEventSpecifics_GaiaPasswordCaptured_UNSPECIFIED UserEventSpecifics_GaiaPasswordCaptured_EventTrigger = 0
	// Event added because user logged in.
	UserEventSpecifics_GaiaPasswordCaptured_USER_LOGGED_IN UserEventSpecifics_GaiaPasswordCaptured_EventTrigger = 1
	// Event added because 28d timer fired.
	UserEventSpecifics_GaiaPasswordCaptured_EXPIRED_28D_TIMER UserEventSpecifics_GaiaPasswordCaptured_EventTrigger = 2
)

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) Descriptor added in v0.1.3

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) Enum

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) EnumDescriptor deprecated

Deprecated: Use UserEventSpecifics_GaiaPasswordCaptured_EventTrigger.Descriptor instead.

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) Number added in v0.1.3

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) String

func (UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) Type added in v0.1.3

func (*UserEventSpecifics_GaiaPasswordCaptured_EventTrigger) UnmarshalJSON deprecated

Deprecated: Do not use.

type UserEventSpecifics_GaiaPasswordReuseEvent

type UserEventSpecifics_GaiaPasswordReuseEvent struct {
	// Happens when a user types their Google account password on another site.
	GaiaPasswordReuseEvent *GaiaPasswordReuse `protobuf:"bytes,104,opt,name=gaia_password_reuse_event,json=gaiaPasswordReuseEvent,oneof"`
}

type UserEventSpecifics_LanguageDetection deprecated

type UserEventSpecifics_LanguageDetection struct {

	// Top n languages. Typically we just log the top language, but for page
	// that we're not confident about, we may log up to 3 top languages in
	// descending order.
	DetectedLanguages []*UserEventSpecifics_LanguageDetection_Language `protobuf:"bytes,1,rep,name=detected_languages,json=detectedLanguages" json:"detected_languages,omitempty"`
	// Adopted language code is the code of final determined language.
	// It will be stored only if it's different from the first detected
	// language.
	AdoptedLanguageCode *string `protobuf:"bytes,2,opt,name=adopted_language_code,json=adoptedLanguageCode" json:"adopted_language_code,omitempty"`
	// contains filtered or unexported fields
}

Language detection output.

Deprecated: Do not use.

func (*UserEventSpecifics_LanguageDetection) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics_LanguageDetection.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_LanguageDetection) GetAdoptedLanguageCode

func (x *UserEventSpecifics_LanguageDetection) GetAdoptedLanguageCode() string

func (*UserEventSpecifics_LanguageDetection) GetDetectedLanguages

func (*UserEventSpecifics_LanguageDetection) ProtoMessage

func (*UserEventSpecifics_LanguageDetection) ProtoMessage()

func (*UserEventSpecifics_LanguageDetection) ProtoReflect added in v0.1.3

func (*UserEventSpecifics_LanguageDetection) Reset

func (*UserEventSpecifics_LanguageDetection) String

type UserEventSpecifics_LanguageDetectionEvent

type UserEventSpecifics_LanguageDetectionEvent struct {
	// Deprecated: Do not use.
	LanguageDetectionEvent *UserEventSpecifics_LanguageDetection `protobuf:"bytes,10,opt,name=language_detection_event,json=languageDetectionEvent,oneof"`
}

type UserEventSpecifics_LanguageDetection_Language

type UserEventSpecifics_LanguageDetection_Language struct {

	// ISO 639 language code will be used.
	LanguageCode *string `protobuf:"bytes,1,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
	// Whether the detected language is reliable, note this is determined by
	// the CLD3.
	IsReliable *bool `protobuf:"varint,2,opt,name=is_reliable,json=isReliable" json:"is_reliable,omitempty"`
	// contains filtered or unexported fields
}

func (*UserEventSpecifics_LanguageDetection_Language) Descriptor deprecated

Deprecated: Use UserEventSpecifics_LanguageDetection_Language.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_LanguageDetection_Language) GetIsReliable

func (*UserEventSpecifics_LanguageDetection_Language) GetLanguageCode

func (*UserEventSpecifics_LanguageDetection_Language) ProtoMessage

func (*UserEventSpecifics_LanguageDetection_Language) ProtoReflect added in v0.1.3

func (*UserEventSpecifics_LanguageDetection_Language) Reset

func (*UserEventSpecifics_LanguageDetection_Language) String

type UserEventSpecifics_Test

type UserEventSpecifics_Test struct {
	// contains filtered or unexported fields
}

Used for testing and debugging EventLog system.

func (*UserEventSpecifics_Test) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics_Test.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_Test) ProtoMessage

func (*UserEventSpecifics_Test) ProtoMessage()

func (*UserEventSpecifics_Test) ProtoReflect added in v0.1.3

func (x *UserEventSpecifics_Test) ProtoReflect() protoreflect.Message

func (*UserEventSpecifics_Test) Reset

func (x *UserEventSpecifics_Test) Reset()

func (*UserEventSpecifics_Test) String

func (x *UserEventSpecifics_Test) String() string

type UserEventSpecifics_TestEvent

type UserEventSpecifics_TestEvent struct {
	TestEvent *UserEventSpecifics_Test `protobuf:"bytes,8,opt,name=test_event,json=testEvent,oneof"`
}

type UserEventSpecifics_Translation deprecated

type UserEventSpecifics_Translation struct {

	// Source language of the translation.
	FromLanguageCode *string `protobuf:"bytes,1,opt,name=from_language_code,json=fromLanguageCode" json:"from_language_code,omitempty"`
	// Target language of the translation.
	ToLanguageCode *string                                     `protobuf:"bytes,2,opt,name=to_language_code,json=toLanguageCode" json:"to_language_code,omitempty"`
	Interaction    *UserEventSpecifics_Translation_Interaction `protobuf:"varint,3,opt,name=interaction,enum=sync_pb.UserEventSpecifics_Translation_Interaction" json:"interaction,omitempty"`
	// contains filtered or unexported fields
}

User translated a page or interacted with translate suggestion.

Deprecated: Do not use.

func (*UserEventSpecifics_Translation) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics_Translation.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_Translation) GetFromLanguageCode

func (x *UserEventSpecifics_Translation) GetFromLanguageCode() string

func (*UserEventSpecifics_Translation) GetInteraction

func (*UserEventSpecifics_Translation) GetToLanguageCode

func (x *UserEventSpecifics_Translation) GetToLanguageCode() string

func (*UserEventSpecifics_Translation) ProtoMessage

func (*UserEventSpecifics_Translation) ProtoMessage()

func (*UserEventSpecifics_Translation) ProtoReflect added in v0.1.3

func (*UserEventSpecifics_Translation) Reset

func (x *UserEventSpecifics_Translation) Reset()

func (*UserEventSpecifics_Translation) String

type UserEventSpecifics_TranslationEvent

type UserEventSpecifics_TranslationEvent struct {
	// Deprecated: Do not use.
	TranslationEvent *UserEventSpecifics_Translation `protobuf:"bytes,11,opt,name=translation_event,json=translationEvent,oneof"`
}

type UserEventSpecifics_Translation_Interaction

type UserEventSpecifics_Translation_Interaction int32
const (
	UserEventSpecifics_Translation_UNKNOWN UserEventSpecifics_Translation_Interaction = 0
	UserEventSpecifics_Translation_ACCEPT  UserEventSpecifics_Translation_Interaction = 1
	UserEventSpecifics_Translation_DECLINE UserEventSpecifics_Translation_Interaction = 2
	// This happens when user scroll or click outside the UI without
	// translation.
	UserEventSpecifics_Translation_IGNORED UserEventSpecifics_Translation_Interaction = 3
	// This happens when user choose to close the translation window without
	// translation.
	UserEventSpecifics_Translation_DISMISSED UserEventSpecifics_Translation_Interaction = 4
	// User manually entered either language.
	// In this case, from_language_code and to_language_code will be user
	// chosen values.
	UserEventSpecifics_Translation_MANUAL UserEventSpecifics_Translation_Interaction = 5
	// User choose to revert the translation, in this case, from_language_code
	// and to_language_code will be previous chosen values.
	UserEventSpecifics_Translation_TRANSLATION_REVERTED UserEventSpecifics_Translation_Interaction = 6
	// Automatically triggered translation.
	// User sets always translate in user settings.
	UserEventSpecifics_Translation_AUTO_TRANSLATION_BY_PREF UserEventSpecifics_Translation_Interaction = 7
	// User navigated through a click from a translated page.
	UserEventSpecifics_Translation_AUTO_TRANSLATION_BY_LINK UserEventSpecifics_Translation_Interaction = 8
	// Failed to initialize the translate script, this can happen for iOS due
	// to CSPs.
	UserEventSpecifics_Translation_INITIALIZATION_ERROR UserEventSpecifics_Translation_Interaction = 9
)

func (UserEventSpecifics_Translation_Interaction) Descriptor added in v0.1.3

func (UserEventSpecifics_Translation_Interaction) Enum

func (UserEventSpecifics_Translation_Interaction) EnumDescriptor deprecated

func (UserEventSpecifics_Translation_Interaction) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserEventSpecifics_Translation_Interaction.Descriptor instead.

func (UserEventSpecifics_Translation_Interaction) Number added in v0.1.3

func (UserEventSpecifics_Translation_Interaction) String

func (UserEventSpecifics_Translation_Interaction) Type added in v0.1.3

func (*UserEventSpecifics_Translation_Interaction) UnmarshalJSON deprecated

Deprecated: Do not use.

type UserEventSpecifics_UserConsent deprecated

type UserEventSpecifics_UserConsent struct {

	// The UI language Chrome is using, represented as the IETF language tag
	// defined in BCP 47. The region subtag is not included when it adds no
	// distinguishing information to the language tag (e.g. both "en-US"
	// and "fr" are correct here).
	Locale *string `protobuf:"bytes,4,opt,name=locale" json:"locale,omitempty"`
	// The local time on the client when the user consent was recorded. The time
	// as measured by client is given in microseconds since Windows epoch. This
	// is needed since user consent recording may happen when a client is
	// offline.
	ClientConsentTimeUsec *int64 `protobuf:"varint,12,opt,name=client_consent_time_usec,json=clientConsentTimeUsec" json:"client_consent_time_usec,omitempty"`
	// Types that are assignable to Consent:
	//	*UserEventSpecifics_UserConsent_SyncConsent
	//	*UserEventSpecifics_UserConsent_ArcBackupAndRestoreConsent
	//	*UserEventSpecifics_UserConsent_ArcLocationServiceConsent
	//	*UserEventSpecifics_UserConsent_ArcPlayTermsOfServiceConsent
	//	*UserEventSpecifics_UserConsent_UnifiedConsent
	Consent isUserEventSpecifics_UserConsent_Consent `protobuf_oneof:"consent"`
	// Deprecated: Do not use.
	Feature *UserEventSpecifics_UserConsent_Feature `protobuf:"varint,1,opt,name=feature,enum=sync_pb.UserEventSpecifics_UserConsent_Feature" json:"feature,omitempty"`
	// Ids of the strings of the consent text presented to the user.
	//
	// Deprecated: Do not use.
	DescriptionGrdIds []int32 `protobuf:"varint,2,rep,name=description_grd_ids,json=descriptionGrdIds" json:"description_grd_ids,omitempty"`
	// Id of the string of the UI element the user clicked when consenting.
	//
	// Deprecated: Do not use.
	ConfirmationGrdId *int32 `protobuf:"varint,3,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// Was the consent for |feature| given or not given (denied/revoked)?
	//
	// Deprecated: Do not use.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,5,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

User consented to the usage of a feature or denied/revoked a consent. This is not used anymore; consents were migrated to a separate data type. The message has to stay though since the server must keep supporting legacy consent formats like this. Next id: 14

Deprecated: Do not use.

func (*UserEventSpecifics_UserConsent) Descriptor deprecated

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

Deprecated: Use UserEventSpecifics_UserConsent.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_UserConsent) GetArcBackupAndRestoreConsent

func (*UserEventSpecifics_UserConsent) GetArcLocationServiceConsent

func (*UserEventSpecifics_UserConsent) GetArcPlayTermsOfServiceConsent

func (*UserEventSpecifics_UserConsent) GetClientConsentTimeUsec

func (x *UserEventSpecifics_UserConsent) GetClientConsentTimeUsec() int64

func (*UserEventSpecifics_UserConsent) GetConfirmationGrdId deprecated

func (x *UserEventSpecifics_UserConsent) GetConfirmationGrdId() int32

Deprecated: Do not use.

func (*UserEventSpecifics_UserConsent) GetConsent

func (m *UserEventSpecifics_UserConsent) GetConsent() isUserEventSpecifics_UserConsent_Consent

func (*UserEventSpecifics_UserConsent) GetDescriptionGrdIds deprecated

func (x *UserEventSpecifics_UserConsent) GetDescriptionGrdIds() []int32

Deprecated: Do not use.

func (*UserEventSpecifics_UserConsent) GetFeature deprecated

Deprecated: Do not use.

func (*UserEventSpecifics_UserConsent) GetLocale

func (x *UserEventSpecifics_UserConsent) GetLocale() string

func (*UserEventSpecifics_UserConsent) GetStatus deprecated

Deprecated: Do not use.

func (*UserEventSpecifics_UserConsent) GetSyncConsent

func (*UserEventSpecifics_UserConsent) GetUnifiedConsent

func (*UserEventSpecifics_UserConsent) ProtoMessage

func (*UserEventSpecifics_UserConsent) ProtoMessage()

func (*UserEventSpecifics_UserConsent) ProtoReflect added in v0.1.3

func (*UserEventSpecifics_UserConsent) Reset

func (x *UserEventSpecifics_UserConsent) Reset()

func (*UserEventSpecifics_UserConsent) String

type UserEventSpecifics_UserConsent_

type UserEventSpecifics_UserConsent_ struct {
	// Deprecated: Do not use.
	UserConsent *UserEventSpecifics_UserConsent `protobuf:"bytes,12,opt,name=user_consent,json=userConsent,oneof"`
}

type UserEventSpecifics_UserConsent_ArcBackupAndRestoreConsent

type UserEventSpecifics_UserConsent_ArcBackupAndRestoreConsent struct {
	ArcBackupAndRestoreConsent *UserConsentTypes_ArcBackupAndRestoreConsent `protobuf:"bytes,8,opt,name=arc_backup_and_restore_consent,json=arcBackupAndRestoreConsent,oneof"`
}

type UserEventSpecifics_UserConsent_ArcLocationServiceConsent

type UserEventSpecifics_UserConsent_ArcLocationServiceConsent struct {
	ArcLocationServiceConsent *UserConsentTypes_ArcGoogleLocationServiceConsent `protobuf:"bytes,9,opt,name=arc_location_service_consent,json=arcLocationServiceConsent,oneof"`
}

type UserEventSpecifics_UserConsent_ArcPlayTermsOfServiceConsent

type UserEventSpecifics_UserConsent_ArcPlayTermsOfServiceConsent struct {
	ArcPlayTermsOfServiceConsent *UserConsentTypes_ArcPlayTermsOfServiceConsent `protobuf:"bytes,10,opt,name=arc_play_terms_of_service_consent,json=arcPlayTermsOfServiceConsent,oneof"`
}

type UserEventSpecifics_UserConsent_Feature

type UserEventSpecifics_UserConsent_Feature int32

Which feature does the consent apply to?

const (
	UserEventSpecifics_UserConsent_FEATURE_UNSPECIFIED     UserEventSpecifics_UserConsent_Feature = 0
	UserEventSpecifics_UserConsent_CHROME_SYNC             UserEventSpecifics_UserConsent_Feature = 1
	UserEventSpecifics_UserConsent_PLAY_STORE              UserEventSpecifics_UserConsent_Feature = 2
	UserEventSpecifics_UserConsent_BACKUP_AND_RESTORE      UserEventSpecifics_UserConsent_Feature = 3
	UserEventSpecifics_UserConsent_GOOGLE_LOCATION_SERVICE UserEventSpecifics_UserConsent_Feature = 4
	UserEventSpecifics_UserConsent_CHROME_UNIFIED_CONSENT  UserEventSpecifics_UserConsent_Feature = 5
	// TODO(markusheintz): ASSISTANT_ACTIVITY_CONTROL was only added as
	// emergency fallback. Remove if not needed.
	UserEventSpecifics_UserConsent_ASSISTANT_ACTIVITY_CONTROL UserEventSpecifics_UserConsent_Feature = 6
)

func (UserEventSpecifics_UserConsent_Feature) Descriptor added in v0.1.3

func (UserEventSpecifics_UserConsent_Feature) Enum

func (UserEventSpecifics_UserConsent_Feature) EnumDescriptor deprecated

func (UserEventSpecifics_UserConsent_Feature) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserEventSpecifics_UserConsent_Feature.Descriptor instead.

func (UserEventSpecifics_UserConsent_Feature) Number added in v0.1.3

func (UserEventSpecifics_UserConsent_Feature) String

func (UserEventSpecifics_UserConsent_Feature) Type added in v0.1.3

func (*UserEventSpecifics_UserConsent_Feature) UnmarshalJSON deprecated

func (x *UserEventSpecifics_UserConsent_Feature) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UserEventSpecifics_UserConsent_SyncConsent

type UserEventSpecifics_UserConsent_SyncConsent struct {
	SyncConsent *UserConsentTypes_SyncConsent `protobuf:"bytes,7,opt,name=sync_consent,json=syncConsent,oneof"`
}

type UserEventSpecifics_UserConsent_UnifiedConsent

type UserEventSpecifics_UserConsent_UnifiedConsent struct {
	UnifiedConsent *UserConsentTypes_UnifiedConsent `protobuf:"bytes,13,opt,name=unified_consent,json=unifiedConsent,oneof"`
}

type WalletCreditCardCloudTokenData

type WalletCreditCardCloudTokenData struct {

	// Server-generated ID string for the card this cloud token data is related
	// to. This should match the id in WalletMaskedCreditCard for to fetch the
	// corresponding actual card data. Note this is not unique across all cloud
	// token data, which means one card can have multiple sets of cloud token data
	// with the same masked_card_id.
	MaskedCardId *string `protobuf:"bytes,1,opt,name=masked_card_id,json=maskedCardId" json:"masked_card_id,omitempty"`
	// Last 4-5 digits of the Cloud Primary Account Number (CPAN).
	Suffix *string `protobuf:"bytes,2,opt,name=suffix" json:"suffix,omitempty"`
	// CPAN Month number 1-12.
	ExpMonth *int32 `protobuf:"varint,3,opt,name=exp_month,json=expMonth" json:"exp_month,omitempty"`
	// CPAN Four-digit year (e.g. 2017).
	ExpYear *int32 `protobuf:"varint,4,opt,name=exp_year,json=expYear" json:"exp_year,omitempty"`
	// URL of the card art to be displayed for CPAN.
	ArtFifeUrl *string `protobuf:"bytes,5,opt,name=art_fife_url,json=artFifeUrl" json:"art_fife_url,omitempty"`
	// Opaque identifier for the cloud token.
	InstrumentToken *string `protobuf:"bytes,6,opt,name=instrument_token,json=instrumentToken" json:"instrument_token,omitempty"`
	// contains filtered or unexported fields
}

Contains information about the cloud token data of server credit cards.

func (*WalletCreditCardCloudTokenData) Descriptor deprecated

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

Deprecated: Use WalletCreditCardCloudTokenData.ProtoReflect.Descriptor instead.

func (*WalletCreditCardCloudTokenData) GetArtFifeUrl

func (x *WalletCreditCardCloudTokenData) GetArtFifeUrl() string

func (*WalletCreditCardCloudTokenData) GetExpMonth

func (x *WalletCreditCardCloudTokenData) GetExpMonth() int32

func (*WalletCreditCardCloudTokenData) GetExpYear

func (x *WalletCreditCardCloudTokenData) GetExpYear() int32

func (*WalletCreditCardCloudTokenData) GetInstrumentToken

func (x *WalletCreditCardCloudTokenData) GetInstrumentToken() string

func (*WalletCreditCardCloudTokenData) GetMaskedCardId

func (x *WalletCreditCardCloudTokenData) GetMaskedCardId() string

func (*WalletCreditCardCloudTokenData) GetSuffix

func (x *WalletCreditCardCloudTokenData) GetSuffix() string

func (*WalletCreditCardCloudTokenData) ProtoMessage

func (*WalletCreditCardCloudTokenData) ProtoMessage()

func (*WalletCreditCardCloudTokenData) ProtoReflect added in v0.1.3

func (*WalletCreditCardCloudTokenData) Reset

func (x *WalletCreditCardCloudTokenData) Reset()

func (*WalletCreditCardCloudTokenData) String

type WalletMaskedCreditCard

type WalletMaskedCreditCard struct {

	// Server-generated unique ID string. This is opaque to the client.
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// What the server thinks of this card.
	Status     *WalletMaskedCreditCard_WalletCardStatus `protobuf:"varint,2,opt,name=status,enum=sync_pb.WalletMaskedCreditCard_WalletCardStatus" json:"status,omitempty"`
	NameOnCard *string                                  `protobuf:"bytes,3,opt,name=name_on_card,json=nameOnCard" json:"name_on_card,omitempty"`
	Type       *WalletMaskedCreditCard_WalletCardType   `protobuf:"varint,4,opt,name=type,enum=sync_pb.WalletMaskedCreditCard_WalletCardType" json:"type,omitempty"`
	// Last 4 digits of the credit card number.
	LastFour *string `protobuf:"bytes,5,opt,name=last_four,json=lastFour" json:"last_four,omitempty"`
	// Month number 1-12.
	ExpMonth *int32 `protobuf:"varint,6,opt,name=exp_month,json=expMonth" json:"exp_month,omitempty"`
	// Four-digit year (e.g. 2017).
	ExpYear *int32 `protobuf:"varint,7,opt,name=exp_year,json=expYear" json:"exp_year,omitempty"`
	// The WalletPostalAddress.id of the billing address.
	BillingAddressId *string `protobuf:"bytes,8,opt,name=billing_address_id,json=billingAddressId" json:"billing_address_id,omitempty"`
	// Issuing Bank name which is internationalized (e.g. "Chase", "工商银行")
	BankName *string `protobuf:"bytes,10,opt,name=bank_name,json=bankName" json:"bank_name,omitempty"`
	// TODO(crbug.com/1020740): Deprecated, remove this once dependent change is
	// done.
	// Use WalletCreditCardCloudTokenData instead. This field will be set if
	// a cloud token is available for the instrument.
	CloudTokenData *CloudTokenData `protobuf:"bytes,11,opt,name=cloud_token_data,json=cloudTokenData" json:"cloud_token_data,omitempty"`
	// The card's nickname, if it exists.
	Nickname *string `protobuf:"bytes,12,opt,name=nickname" json:"nickname,omitempty"`
	// Issuer of the card.
	CardIssuer *CardIssuer `protobuf:"bytes,13,opt,name=card_issuer,json=cardIssuer" json:"card_issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*WalletMaskedCreditCard) Descriptor deprecated

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

Deprecated: Use WalletMaskedCreditCard.ProtoReflect.Descriptor instead.

func (*WalletMaskedCreditCard) GetBankName

func (x *WalletMaskedCreditCard) GetBankName() string

func (*WalletMaskedCreditCard) GetBillingAddressId

func (x *WalletMaskedCreditCard) GetBillingAddressId() string

func (*WalletMaskedCreditCard) GetCardIssuer

func (x *WalletMaskedCreditCard) GetCardIssuer() *CardIssuer

func (*WalletMaskedCreditCard) GetCloudTokenData

func (x *WalletMaskedCreditCard) GetCloudTokenData() *CloudTokenData

func (*WalletMaskedCreditCard) GetExpMonth

func (x *WalletMaskedCreditCard) GetExpMonth() int32

func (*WalletMaskedCreditCard) GetExpYear

func (x *WalletMaskedCreditCard) GetExpYear() int32

func (*WalletMaskedCreditCard) GetId

func (x *WalletMaskedCreditCard) GetId() string

func (*WalletMaskedCreditCard) GetLastFour

func (x *WalletMaskedCreditCard) GetLastFour() string

func (*WalletMaskedCreditCard) GetNameOnCard

func (x *WalletMaskedCreditCard) GetNameOnCard() string

func (*WalletMaskedCreditCard) GetNickname

func (x *WalletMaskedCreditCard) GetNickname() string

func (*WalletMaskedCreditCard) GetStatus

func (*WalletMaskedCreditCard) GetType

func (*WalletMaskedCreditCard) ProtoMessage

func (*WalletMaskedCreditCard) ProtoMessage()

func (*WalletMaskedCreditCard) ProtoReflect added in v0.1.3

func (x *WalletMaskedCreditCard) ProtoReflect() protoreflect.Message

func (*WalletMaskedCreditCard) Reset

func (x *WalletMaskedCreditCard) Reset()

func (*WalletMaskedCreditCard) String

func (x *WalletMaskedCreditCard) String() string

type WalletMaskedCreditCard_WalletCardStatus

type WalletMaskedCreditCard_WalletCardStatus int32
const (
	WalletMaskedCreditCard_VALID   WalletMaskedCreditCard_WalletCardStatus = 0
	WalletMaskedCreditCard_EXPIRED WalletMaskedCreditCard_WalletCardStatus = 1
)

func (WalletMaskedCreditCard_WalletCardStatus) Descriptor added in v0.1.3

func (WalletMaskedCreditCard_WalletCardStatus) Enum

func (WalletMaskedCreditCard_WalletCardStatus) EnumDescriptor deprecated

func (WalletMaskedCreditCard_WalletCardStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use WalletMaskedCreditCard_WalletCardStatus.Descriptor instead.

func (WalletMaskedCreditCard_WalletCardStatus) Number added in v0.1.3

func (WalletMaskedCreditCard_WalletCardStatus) String

func (WalletMaskedCreditCard_WalletCardStatus) Type added in v0.1.3

func (*WalletMaskedCreditCard_WalletCardStatus) UnmarshalJSON deprecated

func (x *WalletMaskedCreditCard_WalletCardStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WalletMaskedCreditCard_WalletCardType

type WalletMaskedCreditCard_WalletCardType int32
const (
	WalletMaskedCreditCard_UNKNOWN     WalletMaskedCreditCard_WalletCardType = 0
	WalletMaskedCreditCard_AMEX        WalletMaskedCreditCard_WalletCardType = 1
	WalletMaskedCreditCard_DISCOVER    WalletMaskedCreditCard_WalletCardType = 2
	WalletMaskedCreditCard_JCB         WalletMaskedCreditCard_WalletCardType = 3
	WalletMaskedCreditCard_MAESTRO     WalletMaskedCreditCard_WalletCardType = 4
	WalletMaskedCreditCard_MASTER_CARD WalletMaskedCreditCard_WalletCardType = 5
	WalletMaskedCreditCard_SOLO        WalletMaskedCreditCard_WalletCardType = 6
	WalletMaskedCreditCard_SWITCH      WalletMaskedCreditCard_WalletCardType = 7
	WalletMaskedCreditCard_VISA        WalletMaskedCreditCard_WalletCardType = 8
	WalletMaskedCreditCard_UNIONPAY    WalletMaskedCreditCard_WalletCardType = 9
)

func (WalletMaskedCreditCard_WalletCardType) Descriptor added in v0.1.3

func (WalletMaskedCreditCard_WalletCardType) Enum

func (WalletMaskedCreditCard_WalletCardType) EnumDescriptor deprecated

func (WalletMaskedCreditCard_WalletCardType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WalletMaskedCreditCard_WalletCardType.Descriptor instead.

func (WalletMaskedCreditCard_WalletCardType) Number added in v0.1.3

func (WalletMaskedCreditCard_WalletCardType) String

func (WalletMaskedCreditCard_WalletCardType) Type added in v0.1.3

func (*WalletMaskedCreditCard_WalletCardType) UnmarshalJSON deprecated

func (x *WalletMaskedCreditCard_WalletCardType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WalletMetadataSpecifics

type WalletMetadataSpecifics struct {

	// The type of the Wallet metadata.
	Type *WalletMetadataSpecifics_Type `protobuf:"varint,1,opt,name=type,enum=sync_pb.WalletMetadataSpecifics_Type" json:"type,omitempty"`
	// Base64 encoding of the unique ID string of the corresponding Wallet data.
	// For Wallet cards, this value is server generated and opaque to Chrome.
	// For Wallet addresses, this is a SHA1 hash of the following fields:
	//
	// - First name
	// - Middle name
	// - Last name
	// - Company name
	// - Street address
	// - Dependent locality
	// - City
	// - State
	// - Zip code
	// - Sorting code
	// - Country
	// - Phone number
	// - Language code
	Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// The number of times that this Wallet card or address was used.
	UseCount *int64 `protobuf:"varint,3,opt,name=use_count,json=useCount" json:"use_count,omitempty"`
	// The last use date of this Wallet card or address. Measured in microseconds
	// since the Windows epoch (1601).
	UseDate *int64 `protobuf:"varint,4,opt,name=use_date,json=useDate" json:"use_date,omitempty"`
	// The id of the profile/address that represents the billing address of this
	// Wallet card.
	CardBillingAddressId *string `protobuf:"bytes,5,opt,name=card_billing_address_id,json=cardBillingAddressId" json:"card_billing_address_id,omitempty"`
	// Whether this Wallet address has been converted to a local autofill profile.
	AddressHasConverted *bool `protobuf:"varint,6,opt,name=address_has_converted,json=addressHasConverted" json:"address_has_converted,omitempty"`
	// contains filtered or unexported fields
}

Wallet card and address usage information that can be synced.

func (*WalletMetadataSpecifics) Descriptor deprecated

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

Deprecated: Use WalletMetadataSpecifics.ProtoReflect.Descriptor instead.

func (*WalletMetadataSpecifics) GetAddressHasConverted

func (x *WalletMetadataSpecifics) GetAddressHasConverted() bool

func (*WalletMetadataSpecifics) GetCardBillingAddressId

func (x *WalletMetadataSpecifics) GetCardBillingAddressId() string

func (*WalletMetadataSpecifics) GetId

func (x *WalletMetadataSpecifics) GetId() string

func (*WalletMetadataSpecifics) GetType

func (*WalletMetadataSpecifics) GetUseCount

func (x *WalletMetadataSpecifics) GetUseCount() int64

func (*WalletMetadataSpecifics) GetUseDate

func (x *WalletMetadataSpecifics) GetUseDate() int64

func (*WalletMetadataSpecifics) ProtoMessage

func (*WalletMetadataSpecifics) ProtoMessage()

func (*WalletMetadataSpecifics) ProtoReflect added in v0.1.3

func (x *WalletMetadataSpecifics) ProtoReflect() protoreflect.Message

func (*WalletMetadataSpecifics) Reset

func (x *WalletMetadataSpecifics) Reset()

func (*WalletMetadataSpecifics) String

func (x *WalletMetadataSpecifics) String() string

type WalletMetadataSpecifics_Type

type WalletMetadataSpecifics_Type int32
const (
	WalletMetadataSpecifics_UNKNOWN WalletMetadataSpecifics_Type = 0
	WalletMetadataSpecifics_CARD    WalletMetadataSpecifics_Type = 1
	WalletMetadataSpecifics_ADDRESS WalletMetadataSpecifics_Type = 2
)

func (WalletMetadataSpecifics_Type) Descriptor added in v0.1.3

func (WalletMetadataSpecifics_Type) Enum

func (WalletMetadataSpecifics_Type) EnumDescriptor deprecated

func (WalletMetadataSpecifics_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use WalletMetadataSpecifics_Type.Descriptor instead.

func (WalletMetadataSpecifics_Type) Number added in v0.1.3

func (WalletMetadataSpecifics_Type) String

func (WalletMetadataSpecifics_Type) Type added in v0.1.3

func (*WalletMetadataSpecifics_Type) UnmarshalJSON deprecated

func (x *WalletMetadataSpecifics_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WalletPostalAddress

type WalletPostalAddress struct {
	Id            *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	RecipientName *string `protobuf:"bytes,12,opt,name=recipient_name,json=recipientName" json:"recipient_name,omitempty"`
	CompanyName   *string `protobuf:"bytes,2,opt,name=company_name,json=companyName" json:"company_name,omitempty"`
	// This is the street address, of which there may be multiple lines. This
	// corresponds to "address_home_line[1|2] in the AutofillProfileSpecifics
	// message above. In some locales there may be more than two lines.
	StreetAddress []string `protobuf:"bytes,3,rep,name=street_address,json=streetAddress" json:"street_address,omitempty"`
	// Also known as "administrative area". This is normally the state or
	// province in most countries.
	Address_1 *string `protobuf:"bytes,4,opt,name=address_1,json=address1" json:"address_1,omitempty"`
	// Also known as "locality". In the US this is the city.
	Address_2 *string `protobuf:"bytes,5,opt,name=address_2,json=address2" json:"address_2,omitempty"`
	// A sub-classification beneath the city, e.g. an inner-city district or
	// suburb. Also known as "dependent_locality"
	Address_3 *string `protobuf:"bytes,6,opt,name=address_3,json=address3" json:"address_3,omitempty"`
	// Used in certain countries. Also known as "sub_dependent_locality".
	Address_4  *string `protobuf:"bytes,7,opt,name=address_4,json=address4" json:"address_4,omitempty"`
	PostalCode *string `protobuf:"bytes,8,opt,name=postal_code,json=postalCode" json:"postal_code,omitempty"`
	// Similar to the zipcode column, but used for businesses or organizations
	// that might not be geographically contiguous. The canonical example is
	// CEDEX in France.
	SortingCode  *string `protobuf:"bytes,9,opt,name=sorting_code,json=sortingCode" json:"sorting_code,omitempty"`
	CountryCode  *string `protobuf:"bytes,10,opt,name=country_code,json=countryCode" json:"country_code,omitempty"`
	LanguageCode *string `protobuf:"bytes,11,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
	// Phone number. The format is unspecified and will be explicitly ignored.
	PhoneNumber *string `protobuf:"bytes,13,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

Different than an AutofillProfile because this represents some known address on the server that is pulled down rather than synced between Chromes.

func (*WalletPostalAddress) Descriptor deprecated

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

Deprecated: Use WalletPostalAddress.ProtoReflect.Descriptor instead.

func (*WalletPostalAddress) GetAddress_1

func (x *WalletPostalAddress) GetAddress_1() string

func (*WalletPostalAddress) GetAddress_2

func (x *WalletPostalAddress) GetAddress_2() string

func (*WalletPostalAddress) GetAddress_3

func (x *WalletPostalAddress) GetAddress_3() string

func (*WalletPostalAddress) GetAddress_4

func (x *WalletPostalAddress) GetAddress_4() string

func (*WalletPostalAddress) GetCompanyName

func (x *WalletPostalAddress) GetCompanyName() string

func (*WalletPostalAddress) GetCountryCode

func (x *WalletPostalAddress) GetCountryCode() string

func (*WalletPostalAddress) GetId

func (x *WalletPostalAddress) GetId() string

func (*WalletPostalAddress) GetLanguageCode

func (x *WalletPostalAddress) GetLanguageCode() string

func (*WalletPostalAddress) GetPhoneNumber

func (x *WalletPostalAddress) GetPhoneNumber() string

func (*WalletPostalAddress) GetPostalCode

func (x *WalletPostalAddress) GetPostalCode() string

func (*WalletPostalAddress) GetRecipientName

func (x *WalletPostalAddress) GetRecipientName() string

func (*WalletPostalAddress) GetSortingCode

func (x *WalletPostalAddress) GetSortingCode() string

func (*WalletPostalAddress) GetStreetAddress

func (x *WalletPostalAddress) GetStreetAddress() []string

func (*WalletPostalAddress) ProtoMessage

func (*WalletPostalAddress) ProtoMessage()

func (*WalletPostalAddress) ProtoReflect added in v0.1.3

func (x *WalletPostalAddress) ProtoReflect() protoreflect.Message

func (*WalletPostalAddress) Reset

func (x *WalletPostalAddress) Reset()

func (*WalletPostalAddress) String

func (x *WalletPostalAddress) String() string

type WalletSyncFlags

type WalletSyncFlags struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Flags for enabling wallet data syncing.

func (*WalletSyncFlags) Descriptor deprecated

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

Deprecated: Use WalletSyncFlags.ProtoReflect.Descriptor instead.

func (*WalletSyncFlags) GetEnabled

func (x *WalletSyncFlags) GetEnabled() bool

func (*WalletSyncFlags) ProtoMessage

func (*WalletSyncFlags) ProtoMessage()

func (*WalletSyncFlags) ProtoReflect added in v0.1.3

func (x *WalletSyncFlags) ProtoReflect() protoreflect.Message

func (*WalletSyncFlags) Reset

func (x *WalletSyncFlags) Reset()

func (*WalletSyncFlags) String

func (x *WalletSyncFlags) String() string

type WebAppSpecifics

type WebAppSpecifics struct {
	LaunchUrl       *string                          `protobuf:"bytes,1,opt,name=launch_url,json=launchUrl" json:"launch_url,omitempty"`
	Name            *string                          `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	UserDisplayMode *WebAppSpecifics_UserDisplayMode `` /* 147-byte string literal not displayed */
	ThemeColor      *uint32                          `protobuf:"varint,4,opt,name=theme_color,json=themeColor" json:"theme_color,omitempty"`
	// contains filtered or unexported fields
}

WebApp data. This is a synced part of chrome/browser/web_applications/proto/web_app.proto data.

func (*WebAppSpecifics) Descriptor deprecated

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

Deprecated: Use WebAppSpecifics.ProtoReflect.Descriptor instead.

func (*WebAppSpecifics) GetLaunchUrl

func (x *WebAppSpecifics) GetLaunchUrl() string

func (*WebAppSpecifics) GetName

func (x *WebAppSpecifics) GetName() string

func (*WebAppSpecifics) GetThemeColor

func (x *WebAppSpecifics) GetThemeColor() uint32

func (*WebAppSpecifics) GetUserDisplayMode

func (x *WebAppSpecifics) GetUserDisplayMode() WebAppSpecifics_UserDisplayMode

func (*WebAppSpecifics) ProtoMessage

func (*WebAppSpecifics) ProtoMessage()

func (*WebAppSpecifics) ProtoReflect added in v0.1.3

func (x *WebAppSpecifics) ProtoReflect() protoreflect.Message

func (*WebAppSpecifics) Reset

func (x *WebAppSpecifics) Reset()

func (*WebAppSpecifics) String

func (x *WebAppSpecifics) String() string

type WebAppSpecifics_UserDisplayMode

type WebAppSpecifics_UserDisplayMode int32

This enum should be a subset of the DisplayMode enum in chrome/browser/web_applications/proto/web_app.proto and third_party/blink/public/mojom/manifest/display_mode.mojom

const (
	// UNDEFINED is never serialized.
	WebAppSpecifics_BROWSER WebAppSpecifics_UserDisplayMode = 1
	// MINIMAL_UI is never serialized.
	WebAppSpecifics_STANDALONE WebAppSpecifics_UserDisplayMode = 3 // FULLSCREEN is never serialized.
)

func (WebAppSpecifics_UserDisplayMode) Descriptor added in v0.1.3

func (WebAppSpecifics_UserDisplayMode) Enum

func (WebAppSpecifics_UserDisplayMode) EnumDescriptor deprecated

func (WebAppSpecifics_UserDisplayMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use WebAppSpecifics_UserDisplayMode.Descriptor instead.

func (WebAppSpecifics_UserDisplayMode) Number added in v0.1.3

func (WebAppSpecifics_UserDisplayMode) String

func (WebAppSpecifics_UserDisplayMode) Type added in v0.1.3

func (*WebAppSpecifics_UserDisplayMode) UnmarshalJSON deprecated

func (x *WebAppSpecifics_UserDisplayMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WifiConfigurationSpecifics

type WifiConfigurationSpecifics struct {

	// SSID encoded to hex, letters should be upper case and 0x prefix should be
	// omitted. For example, ssid "network" would be provided as "6E6574776F726B".
	HexSsid      []byte                                   `protobuf:"bytes,1,opt,name=hex_ssid,json=hexSsid" json:"hex_ssid,omitempty"`
	SecurityType *WifiConfigurationSpecifics_SecurityType `` /* 144-byte string literal not displayed */
	// The passphrase can be ASCII, UTF-8, or a string of hex digits.
	Passphrase           []byte                                                 `protobuf:"bytes,3,opt,name=passphrase" json:"passphrase,omitempty"`
	AutomaticallyConnect *WifiConfigurationSpecifics_AutomaticallyConnectOption `` /* 182-byte string literal not displayed */
	IsPreferred          *WifiConfigurationSpecifics_IsPreferredOption          `` /* 146-byte string literal not displayed */
	Metered              *WifiConfigurationSpecifics_MeteredOption              `protobuf:"varint,6,opt,name=metered,enum=sync_pb.WifiConfigurationSpecifics_MeteredOption" json:"metered,omitempty"`
	ProxyConfiguration   *WifiConfigurationSpecifics_ProxyConfiguration         `protobuf:"bytes,7,opt,name=proxy_configuration,json=proxyConfiguration" json:"proxy_configuration,omitempty"`
	// List of DNS servers to be used.  Up to 4.
	CustomDns []string `protobuf:"bytes,8,rep,name=custom_dns,json=customDns" json:"custom_dns,omitempty"`
	// This is represented by the UNIX timestamp, ms since epoch.
	LastUpdateTimestamp *int64 `protobuf:"varint,9,opt,name=last_update_timestamp,json=lastUpdateTimestamp" json:"last_update_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiConfigurationSpecifics) Descriptor deprecated

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

Deprecated: Use WifiConfigurationSpecifics.ProtoReflect.Descriptor instead.

func (*WifiConfigurationSpecifics) GetAutomaticallyConnect

func (*WifiConfigurationSpecifics) GetCustomDns

func (x *WifiConfigurationSpecifics) GetCustomDns() []string

func (*WifiConfigurationSpecifics) GetHexSsid

func (x *WifiConfigurationSpecifics) GetHexSsid() []byte

func (*WifiConfigurationSpecifics) GetIsPreferred

func (*WifiConfigurationSpecifics) GetLastUpdateTimestamp

func (x *WifiConfigurationSpecifics) GetLastUpdateTimestamp() int64

func (*WifiConfigurationSpecifics) GetMetered

func (*WifiConfigurationSpecifics) GetPassphrase

func (x *WifiConfigurationSpecifics) GetPassphrase() []byte

func (*WifiConfigurationSpecifics) GetProxyConfiguration

func (*WifiConfigurationSpecifics) GetSecurityType

func (*WifiConfigurationSpecifics) ProtoMessage

func (*WifiConfigurationSpecifics) ProtoMessage()

func (*WifiConfigurationSpecifics) ProtoReflect added in v0.1.3

func (*WifiConfigurationSpecifics) Reset

func (x *WifiConfigurationSpecifics) Reset()

func (*WifiConfigurationSpecifics) String

func (x *WifiConfigurationSpecifics) String() string

type WifiConfigurationSpecifics_AutomaticallyConnectOption

type WifiConfigurationSpecifics_AutomaticallyConnectOption int32
const (
	WifiConfigurationSpecifics_AUTOMATICALLY_CONNECT_UNSPECIFIED WifiConfigurationSpecifics_AutomaticallyConnectOption = 0
	WifiConfigurationSpecifics_AUTOMATICALLY_CONNECT_DISABLED    WifiConfigurationSpecifics_AutomaticallyConnectOption = 1
	WifiConfigurationSpecifics_AUTOMATICALLY_CONNECT_ENABLED     WifiConfigurationSpecifics_AutomaticallyConnectOption = 2
)

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) Descriptor added in v0.1.3

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) Enum

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) EnumDescriptor deprecated

Deprecated: Use WifiConfigurationSpecifics_AutomaticallyConnectOption.Descriptor instead.

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) Number added in v0.1.3

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) String

func (WifiConfigurationSpecifics_AutomaticallyConnectOption) Type added in v0.1.3

func (*WifiConfigurationSpecifics_AutomaticallyConnectOption) UnmarshalJSON deprecated

Deprecated: Do not use.

type WifiConfigurationSpecifics_IsPreferredOption

type WifiConfigurationSpecifics_IsPreferredOption int32
const (
	WifiConfigurationSpecifics_IS_PREFERRED_UNSPECIFIED WifiConfigurationSpecifics_IsPreferredOption = 0
	WifiConfigurationSpecifics_IS_PREFERRED_DISABLED    WifiConfigurationSpecifics_IsPreferredOption = 1
	WifiConfigurationSpecifics_IS_PREFERRED_ENABLED     WifiConfigurationSpecifics_IsPreferredOption = 2
)

func (WifiConfigurationSpecifics_IsPreferredOption) Descriptor added in v0.1.3

func (WifiConfigurationSpecifics_IsPreferredOption) Enum

func (WifiConfigurationSpecifics_IsPreferredOption) EnumDescriptor deprecated

func (WifiConfigurationSpecifics_IsPreferredOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use WifiConfigurationSpecifics_IsPreferredOption.Descriptor instead.

func (WifiConfigurationSpecifics_IsPreferredOption) Number added in v0.1.3

func (WifiConfigurationSpecifics_IsPreferredOption) String

func (WifiConfigurationSpecifics_IsPreferredOption) Type added in v0.1.3

func (*WifiConfigurationSpecifics_IsPreferredOption) UnmarshalJSON deprecated

Deprecated: Do not use.

type WifiConfigurationSpecifics_MeteredOption

type WifiConfigurationSpecifics_MeteredOption int32
const (
	WifiConfigurationSpecifics_METERED_OPTION_UNSPECIFIED WifiConfigurationSpecifics_MeteredOption = 0
	WifiConfigurationSpecifics_METERED_OPTION_NO          WifiConfigurationSpecifics_MeteredOption = 1
	WifiConfigurationSpecifics_METERED_OPTION_YES         WifiConfigurationSpecifics_MeteredOption = 2
	// Allows the device to use heuristics to determine if network is metered.
	WifiConfigurationSpecifics_METERED_OPTION_AUTO WifiConfigurationSpecifics_MeteredOption = 3
)

func (WifiConfigurationSpecifics_MeteredOption) Descriptor added in v0.1.3

func (WifiConfigurationSpecifics_MeteredOption) Enum

func (WifiConfigurationSpecifics_MeteredOption) EnumDescriptor deprecated

func (WifiConfigurationSpecifics_MeteredOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use WifiConfigurationSpecifics_MeteredOption.Descriptor instead.

func (WifiConfigurationSpecifics_MeteredOption) Number added in v0.1.3

func (WifiConfigurationSpecifics_MeteredOption) String

func (WifiConfigurationSpecifics_MeteredOption) Type added in v0.1.3

func (*WifiConfigurationSpecifics_MeteredOption) UnmarshalJSON deprecated

func (x *WifiConfigurationSpecifics_MeteredOption) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WifiConfigurationSpecifics_ProxyConfiguration

type WifiConfigurationSpecifics_ProxyConfiguration struct {
	ProxyOption *WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption `` /* 159-byte string literal not displayed */
	// Only set if PROXY_OPTION_AUTOMATIC or PROXY_OPTION_MANUAL.
	ProxyUrl *string `protobuf:"bytes,2,opt,name=proxy_url,json=proxyUrl" json:"proxy_url,omitempty"`
	// Only set if PROXY_OPTION_MANUAL.
	ProxyPort *int32 `protobuf:"varint,3,opt,name=proxy_port,json=proxyPort" json:"proxy_port,omitempty"`
	// Only set if PROXY_OPTION_MANUAL.
	WhitelistedDomains []string `protobuf:"bytes,4,rep,name=whitelisted_domains,json=whitelistedDomains" json:"whitelisted_domains,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiConfigurationSpecifics_ProxyConfiguration) Descriptor deprecated

Deprecated: Use WifiConfigurationSpecifics_ProxyConfiguration.ProtoReflect.Descriptor instead.

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetProxyOption

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetProxyPort

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetProxyUrl

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetWhitelistedDomains

func (x *WifiConfigurationSpecifics_ProxyConfiguration) GetWhitelistedDomains() []string

func (*WifiConfigurationSpecifics_ProxyConfiguration) ProtoMessage

func (*WifiConfigurationSpecifics_ProxyConfiguration) ProtoReflect added in v0.1.3

func (*WifiConfigurationSpecifics_ProxyConfiguration) Reset

func (*WifiConfigurationSpecifics_ProxyConfiguration) String

type WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption

type WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption int32
const (
	WifiConfigurationSpecifics_ProxyConfiguration_PROXY_OPTION_UNSPECIFIED WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption = 0
	WifiConfigurationSpecifics_ProxyConfiguration_PROXY_OPTION_DISABLED    WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption = 1
	// Use a Proxy Auto-config(PAC) Url, set in proxy_url
	WifiConfigurationSpecifics_ProxyConfiguration_PROXY_OPTION_AUTOMATIC WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption = 2
	// Uses Web Proxy Auto-Discovery Protocol (WPAD) to discover the proxy
	// settings using DHCP/DNS.
	WifiConfigurationSpecifics_ProxyConfiguration_PROXY_OPTION_AUTODISCOVERY WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption = 3
	// User sets proxy_url, proxy_port, and whitelisted_domains manually.
	WifiConfigurationSpecifics_ProxyConfiguration_PROXY_OPTION_MANUAL WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption = 4
)

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) Descriptor added in v0.1.3

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) Enum

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) EnumDescriptor deprecated

Deprecated: Use WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption.Descriptor instead.

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) Number added in v0.1.3

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) String

func (WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) Type added in v0.1.3

func (*WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption) UnmarshalJSON deprecated

Deprecated: Do not use.

type WifiConfigurationSpecifics_SecurityType

type WifiConfigurationSpecifics_SecurityType int32
const (
	WifiConfigurationSpecifics_SECURITY_TYPE_UNSPECIFIED WifiConfigurationSpecifics_SecurityType = 0
	WifiConfigurationSpecifics_SECURITY_TYPE_NONE        WifiConfigurationSpecifics_SecurityType = 1
	WifiConfigurationSpecifics_SECURITY_TYPE_WEP         WifiConfigurationSpecifics_SecurityType = 2
	WifiConfigurationSpecifics_SECURITY_TYPE_PSK         WifiConfigurationSpecifics_SecurityType = 3 // WPA-PSK or RSN-PSK
)

func (WifiConfigurationSpecifics_SecurityType) Descriptor added in v0.1.3

func (WifiConfigurationSpecifics_SecurityType) Enum

func (WifiConfigurationSpecifics_SecurityType) EnumDescriptor deprecated

func (WifiConfigurationSpecifics_SecurityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WifiConfigurationSpecifics_SecurityType.Descriptor instead.

func (WifiConfigurationSpecifics_SecurityType) Number added in v0.1.3

func (WifiConfigurationSpecifics_SecurityType) String

func (WifiConfigurationSpecifics_SecurityType) Type added in v0.1.3

func (*WifiConfigurationSpecifics_SecurityType) UnmarshalJSON deprecated

func (x *WifiConfigurationSpecifics_SecurityType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Source Files

Jump to

Keyboard shortcuts

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