sync_pb

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 4 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      = SyncEnums_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_GetUpdatesMessage_FetchFolders      = bool(true)
	Default_GetUpdatesMessage_Streaming         = bool(false)
	Default_GetUpdatesMessage_NeedEncryptionKey = bool(false)
	Default_GetUpdatesMessage_IsRetry           = bool(false)
)

Default values for GetUpdatesMessage fields.

View Source
const (
	Default_ClientToServerMessage_ProtocolVersion     = int32(99)
	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_SyncEntity_Deleted = bool(false)
	Default_SyncEntity_Folder  = bool(false)
)

Default values for SyncEntity 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_HistorySpecifics_PageTransition_CoreTransition = SyncEnums_LINK
)

Default values for HistorySpecifics_PageTransition 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_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 (
	AppListSpecifics_ColorGroup_name = map[int32]string{
		0: "COLOR_EMPTY",
		1: "COLOR_WHITE",
		2: "COLOR_RED",
		3: "COLOR_ORANGE",
		4: "COLOR_YELLOW",
		5: "COLOR_GREEN",
		6: "COLOR_BLUE",
		7: "COLOR_MAGENTA",
		8: "COLOR_BLACK",
	}
	AppListSpecifics_ColorGroup_value = map[string]int32{
		"COLOR_EMPTY":   0,
		"COLOR_WHITE":   1,
		"COLOR_RED":     2,
		"COLOR_ORANGE":  3,
		"COLOR_YELLOW":  4,
		"COLOR_GREEN":   5,
		"COLOR_BLUE":    6,
		"COLOR_MAGENTA": 7,
		"COLOR_BLACK":   8,
	}
)

Enum value maps for AppListSpecifics_ColorGroup.

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 (
	AutofillProfileSpecifics_VerificationStatus_name = map[int32]string{
		0: "VERIFICATION_STATUS_UNSPECIFIED",
		1: "PARSED",
		2: "FORMATTED",
		3: "OBSERVED",
		4: "USER_VERIFIED",
		5: "SERVER_PARSED",
	}
	AutofillProfileSpecifics_VerificationStatus_value = map[string]int32{
		"VERIFICATION_STATUS_UNSPECIFIED": 0,
		"PARSED":                          1,
		"FORMATTED":                       2,
		"OBSERVED":                        3,
		"USER_VERIFIED":                   4,
		"SERVER_PARSED":                   5,
	}
)

Enum value maps for AutofillProfileSpecifics_VerificationStatus.

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

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",
		10: "ELO",
	}
	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,
		"ELO":         10,
	}
)

Enum value maps for WalletMaskedCreditCard_WalletCardType.

View Source
var (
	WalletMaskedCreditCard_VirtualCardEnrollmentState_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "UNENROLLED",
		2: "ENROLLED",
		3: "UNENROLLED_AND_NOT_ELIGIBLE",
		4: "UNENROLLED_AND_ELIGIBLE",
	}
	WalletMaskedCreditCard_VirtualCardEnrollmentState_value = map[string]int32{
		"UNSPECIFIED":                 0,
		"UNENROLLED":                  1,
		"ENROLLED":                    2,
		"UNENROLLED_AND_NOT_ELIGIBLE": 3,
		"UNENROLLED_AND_ELIGIBLE":     4,
	}
)

Enum value maps for WalletMaskedCreditCard_VirtualCardEnrollmentState.

View Source
var (
	WalletMaskedCreditCard_VirtualCardEnrollmentType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ISSUER",
		2: "NETWORK",
	}
	WalletMaskedCreditCard_VirtualCardEnrollmentType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ISSUER":           1,
		"NETWORK":          2,
	}
)

Enum value maps for WalletMaskedCreditCard_VirtualCardEnrollmentType.

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 (
	BookmarkSpecifics_Type_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "URL",
		2: "FOLDER",
	}
	BookmarkSpecifics_Type_value = map[string]int32{
		"UNSPECIFIED": 0,
		"URL":         1,
		"FOLDER":      2,
	}
)

Enum value maps for BookmarkSpecifics_Type.

View Source
var (
	ContactInfoSpecifics_VerificationStatus_name = map[int32]string{
		0: "VERIFICATION_STATUS_UNSPECIFIED",
		1: "PARSED",
		2: "FORMATTED",
		3: "OBSERVED",
		4: "USER_VERIFIED",
		5: "SERVER_PARSED",
	}
	ContactInfoSpecifics_VerificationStatus_value = map[string]int32{
		"VERIFICATION_STATUS_UNSPECIFIED": 0,
		"PARSED":                          1,
		"FORMATTED":                       2,
		"OBSERVED":                        3,
		"USER_VERIFIED":                   4,
		"SERVER_PARSED":                   5,
	}
)

Enum value maps for ContactInfoSpecifics_VerificationStatus.

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

Enum value maps for GarbageCollectionDirective_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",
		6: "DISCOVERY",
		7: "CLICK_TO_CALL_V2",
		8: "SHARED_CLIPBOARD_V2",
		9: "OPTIMIZATION_GUIDE_PUSH_NOTIFICATION",
	}
	SharingSpecificFields_EnabledFeatures_value = map[string]int32{
		"UNKNOWN":                              0,
		"CLICK_TO_CALL_VAPID":                  1,
		"SHARED_CLIPBOARD_VAPID":               2,
		"SMS_FETCHER":                          3,
		"REMOTE_COPY":                          4,
		"DISCOVERY":                            6,
		"CLICK_TO_CALL_V2":                     7,
		"SHARED_CLIPBOARD_V2":                  8,
		"OPTIMIZATION_GUIDE_PUSH_NOTIFICATION": 9,
	}
)

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 (
	ModelTypeState_InitialSyncState_name = map[int32]string{
		0: "INITIAL_SYNC_STATE_UNSPECIFIED",
		2: "INITIAL_SYNC_PARTIALLY_DONE",
		3: "INITIAL_SYNC_DONE",
		4: "INITIAL_SYNC_UNNECESSARY",
	}
	ModelTypeState_InitialSyncState_value = map[string]int32{
		"INITIAL_SYNC_STATE_UNSPECIFIED": 0,
		"INITIAL_SYNC_PARTIALLY_DONE":    2,
		"INITIAL_SYNC_DONE":              3,
		"INITIAL_SYNC_UNNECESSARY":       4,
	}
)

Enum value maps for ModelTypeState_InitialSyncState.

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 (
	NoteEntity_TargetType_name = map[int32]string{
		0: "TARGET_TYPE_UNSPECIFIED",
		1: "TARGET_TYPE_PAGE",
	}
	NoteEntity_TargetType_value = map[string]int32{
		"TARGET_TYPE_UNSPECIFIED": 0,
		"TARGET_TYPE_PAGE":        1,
	}
)

Enum value maps for NoteEntity_TargetType.

View Source
var (
	PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCESS",
		2: "NOT_FAMILY_MEMBER",
	}
	PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult_value = map[string]int32{
		"UNKNOWN":           0,
		"SUCCESS":           1,
		"NOT_FAMILY_MEMBER": 2,
	}
)

Enum value maps for PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult.

View Source
var (
	PasswordSpecificsData_Scheme_name = map[int32]string{
		0: "SCHEME_HTML",
		1: "SCHEME_BASIC",
		2: "SCHEME_DIGEST",
		3: "SCHEME_OTHER",
		4: "USERNAME_ONLY",
	}
	PasswordSpecificsData_Scheme_value = map[string]int32{
		"SCHEME_HTML":   0,
		"SCHEME_BASIC":  1,
		"SCHEME_DIGEST": 2,
		"SCHEME_OTHER":  3,
		"USERNAME_ONLY": 4,
	}
)

Enum value maps for PasswordSpecificsData_Scheme.

View Source
var (
	PowerBookmarkSpecifics_PowerType_name = map[int32]string{
		0: "POWER_TYPE_UNSPECIFIED",
		1: "POWER_TYPE_MOCK",
		2: "POWER_TYPE_NOTE",
	}
	PowerBookmarkSpecifics_PowerType_value = map[string]int32{
		"POWER_TYPE_UNSPECIFIED": 0,
		"POWER_TYPE_MOCK":        1,
		"POWER_TYPE_NOTE":        2,
	}
)

Enum value maps for PowerBookmarkSpecifics_PowerType.

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 (
	SavedTabGroup_SavedTabGroupColor_name = map[int32]string{
		0: "SAVED_TAB_GROUP_COLOR_UNSPECIFIED",
		1: "SAVED_TAB_GROUP_COLOR_GREY",
		2: "SAVED_TAB_GROUP_COLOR_BLUE",
		3: "SAVED_TAB_GROUP_COLOR_RED",
		4: "SAVED_TAB_GROUP_COLOR_YELLOW",
		5: "SAVED_TAB_GROUP_COLOR_GREEN",
		6: "SAVED_TAB_GROUP_COLOR_PINK",
		7: "SAVED_TAB_GROUP_COLOR_PURPLE",
		8: "SAVED_TAB_GROUP_COLOR_CYAN",
		9: "SAVED_TAB_GROUP_COLOR_ORANGE",
	}
	SavedTabGroup_SavedTabGroupColor_value = map[string]int32{
		"SAVED_TAB_GROUP_COLOR_UNSPECIFIED": 0,
		"SAVED_TAB_GROUP_COLOR_GREY":        1,
		"SAVED_TAB_GROUP_COLOR_BLUE":        2,
		"SAVED_TAB_GROUP_COLOR_RED":         3,
		"SAVED_TAB_GROUP_COLOR_YELLOW":      4,
		"SAVED_TAB_GROUP_COLOR_GREEN":       5,
		"SAVED_TAB_GROUP_COLOR_PINK":        6,
		"SAVED_TAB_GROUP_COLOR_PURPLE":      7,
		"SAVED_TAB_GROUP_COLOR_CYAN":        8,
		"SAVED_TAB_GROUP_COLOR_ORANGE":      9,
	}
)

Enum value maps for SavedTabGroup_SavedTabGroupColor.

View Source
var (
	SearchEngineSpecifics_ActiveStatus_name = map[int32]string{
		0: "ACTIVE_STATUS_UNSPECIFIED",
		1: "ACTIVE_STATUS_TRUE",
		2: "ACTIVE_STATUS_FALSE",
	}
	SearchEngineSpecifics_ActiveStatus_value = map[string]int32{
		"ACTIVE_STATUS_UNSPECIFIED": 0,
		"ACTIVE_STATUS_TRUE":        1,
		"ACTIVE_STATUS_FALSE":       2,
	}
)

Enum value maps for SearchEngineSpecifics_ActiveStatus.

View Source
var (
	SegmentationSpecifics_DeviceMetadata_PlatformType_name = map[int32]string{
		0: "PLATFORM_TYPE_UNSPECIFIED",
		1: "PLATFORM_WINDOWS",
		2: "PLATFORM_MAC",
		3: "PLATFORM_LINUX",
		4: "PLATFORM_CHROMEOS_ASH",
		5: "PLATFORM_ANDROID",
		6: "PLATFORM_IOS",
		7: "PLATFORM_CHROMEOS_LACROS",
	}
	SegmentationSpecifics_DeviceMetadata_PlatformType_value = map[string]int32{
		"PLATFORM_TYPE_UNSPECIFIED": 0,
		"PLATFORM_WINDOWS":          1,
		"PLATFORM_MAC":              2,
		"PLATFORM_LINUX":            3,
		"PLATFORM_CHROMEOS_ASH":     4,
		"PLATFORM_ANDROID":          5,
		"PLATFORM_IOS":              6,
		"PLATFORM_CHROMEOS_LACROS":  7,
	}
)

Enum value maps for SegmentationSpecifics_DeviceMetadata_PlatformType.

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 (
	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: "DEPRECATED_SYNC_SERVER_OR_AUTH_ERROR",
		11: "SYNC_TIMEOUT",
		12: "SYNC_SERVER_ERROR",
		13: "SYNC_AUTH_ERROR",
	}
	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,
		"DEPRECATED_SYNC_SERVER_OR_AUTH_ERROR": 10,
		"SYNC_TIMEOUT":                         11,
		"SYNC_SERVER_ERROR":                    12,
		"SYNC_AUTH_ERROR":                      13,
	}
)

Enum value maps for SharingMessageCommitError_ErrorCode.

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",
		8:  "ACTIONABLE_ERROR",
		9:  "ENCRYPTED_TYPES_CHANGED",
		10: "PASSPHRASE_TYPE_CHANGED",
		11: "DEPRECATED_KEYSTORE_TOKEN_UPDATED",
		12: "CONFIGURE_COMPLETE",
		13: "DEPRECATED_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,
		"ACTIONABLE_ERROR":                   8,
		"ENCRYPTED_TYPES_CHANGED":            9,
		"PASSPHRASE_TYPE_CHANGED":            10,
		"DEPRECATED_KEYSTORE_TOKEN_UPDATED":  11,
		"CONFIGURE_COMPLETE":                 12,
		"DEPRECATED_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",
		2:   "NOT_MY_BIRTHDAY",
		3:   "THROTTLED",
		7:   "CLEAR_PENDING",
		8:   "TRANSIENT_ERROR",
		9:   "MIGRATION_DONE",
		10:  "DISABLED_BY_ADMIN",
		12:  "PARTIAL_FAILURE",
		13:  "CLIENT_DATA_OBSOLETE",
		14:  "ENCRYPTION_OBSOLETE",
		100: "UNKNOWN",
	}
	SyncEnums_ErrorType_value = map[string]int32{
		"SUCCESS":              0,
		"NOT_MY_BIRTHDAY":      2,
		"THROTTLED":            3,
		"CLEAR_PENDING":        7,
		"TRANSIENT_ERROR":      8,
		"MIGRATION_DONE":       9,
		"DISABLED_BY_ADMIN":    10,
		"PARTIAL_FAILURE":      12,
		"CLIENT_DATA_OBSOLETE": 13,
		"ENCRYPTION_OBSOLETE":  14,
		"UNKNOWN":              100,
	}
)

Enum value maps for SyncEnums_ErrorType.

View Source
var (
	SyncEnums_Action_name = map[int32]string{
		0: "UPGRADE_CLIENT",
		5: "UNKNOWN_ACTION",
	}
	SyncEnums_Action_value = map[string]int32{
		"UPGRADE_CLIENT": 0,
		"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_OsType_name = map[int32]string{
		0: "OS_TYPE_UNSPECIFIED",
		1: "OS_TYPE_WINDOWS",
		2: "OS_TYPE_MAC",
		3: "OS_TYPE_LINUX",
		4: "OS_TYPE_CHROME_OS_ASH",
		5: "OS_TYPE_ANDROID",
		6: "OS_TYPE_IOS",
		7: "OS_TYPE_CHROME_OS_LACROS",
		8: "OS_TYPE_FUCHSIA",
	}
	SyncEnums_OsType_value = map[string]int32{
		"OS_TYPE_UNSPECIFIED":      0,
		"OS_TYPE_WINDOWS":          1,
		"OS_TYPE_MAC":              2,
		"OS_TYPE_LINUX":            3,
		"OS_TYPE_CHROME_OS_ASH":    4,
		"OS_TYPE_ANDROID":          5,
		"OS_TYPE_IOS":              6,
		"OS_TYPE_CHROME_OS_LACROS": 7,
		"OS_TYPE_FUCHSIA":          8,
	}
)

Enum value maps for SyncEnums_OsType.

View Source
var (
	SyncEnums_DeviceFormFactor_name = map[int32]string{
		0: "DEVICE_FORM_FACTOR_UNSPECIFIED",
		1: "DEVICE_FORM_FACTOR_DESKTOP",
		2: "DEVICE_FORM_FACTOR_PHONE",
		3: "DEVICE_FORM_FACTOR_TABLET",
	}
	SyncEnums_DeviceFormFactor_value = map[string]int32{
		"DEVICE_FORM_FACTOR_UNSPECIFIED": 0,
		"DEVICE_FORM_FACTOR_DESKTOP":     1,
		"DEVICE_FORM_FACTOR_PHONE":       2,
		"DEVICE_FORM_FACTOR_TABLET":      3,
	}
)

Enum value maps for SyncEnums_DeviceFormFactor.

View Source
var (
	SyncEnums_BrowserType_name = map[int32]string{
		0: "BROWSER_TYPE_UNKNOWN",
		1: "TYPE_TABBED",
		2: "TYPE_POPUP",
		3: "TYPE_CUSTOM_TAB",
	}
	SyncEnums_BrowserType_value = map[string]int32{
		"BROWSER_TYPE_UNKNOWN": 0,
		"TYPE_TABBED":          1,
		"TYPE_POPUP":           2,
		"TYPE_CUSTOM_TAB":      3,
	}
)

Enum value maps for SyncEnums_BrowserType.

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

Enum value maps for SyncEnums_PasswordState.

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 (
	UserConsentTypes_AssistantActivityControlConsent_SettingType_name = map[int32]string{
		0: "SETTING_TYPE_UNSPECIFIED",
		1: "ALL",
		2: "WEB_AND_APP_ACTIVITY",
		3: "DEVICE_APPS",
	}
	UserConsentTypes_AssistantActivityControlConsent_SettingType_value = map[string]int32{
		"SETTING_TYPE_UNSPECIFIED": 0,
		"ALL":                      1,
		"WEB_AND_APP_ACTIVITY":     2,
		"DEVICE_APPS":              3,
	}
)

Enum value maps for UserConsentTypes_AssistantActivityControlConsent_SettingType.

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 (
	UserEventSpecifics_FlocIdComputed_EventTrigger_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NEW",
		2: "REFRESHED",
		3: "HISTORY_DELETE",
	}
	UserEventSpecifics_FlocIdComputed_EventTrigger_value = map[string]int32{
		"UNSPECIFIED":    0,
		"NEW":            1,
		"REFRESHED":      2,
		"HISTORY_DELETE": 3,
	}
)

Enum value maps for UserEventSpecifics_FlocIdComputed_EventTrigger.

View Source
var (
	WebApkIconInfo_Purpose_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "ANY",
		2: "MASKABLE",
		3: "MONOCHROME",
	}
	WebApkIconInfo_Purpose_value = map[string]int32{
		"UNSPECIFIED": 0,
		"ANY":         1,
		"MASKABLE":    2,
		"MONOCHROME":  3,
	}
)

Enum value maps for WebApkIconInfo_Purpose.

View Source
var (
	WebAppIconInfo_Purpose_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "ANY",
		2: "MASKABLE",
		3: "MONOCHROME",
	}
	WebAppIconInfo_Purpose_value = map[string]int32{
		"UNSPECIFIED": 0,
		"ANY":         1,
		"MASKABLE":    2,
		"MONOCHROME":  3,
	}
)

Enum value maps for WebAppIconInfo_Purpose.

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

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_DnsOption_name = map[int32]string{
		0: "DNS_OPTION_UNSPECIFIED",
		1: "DNS_OPTION_DEFAULT_DHCP",
		2: "DNS_OPTION_CUSTOM",
	}
	WifiConfigurationSpecifics_DnsOption_value = map[string]int32{
		"DNS_OPTION_UNSPECIFIED":  0,
		"DNS_OPTION_DEFAULT_DHCP": 1,
		"DNS_OPTION_CUSTOM":       2,
	}
)

Enum value maps for WifiConfigurationSpecifics_DnsOption.

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 (
	WorkspaceDeskSpecifics_LaunchContainer_name = map[int32]string{
		0: "LAUNCH_CONTAINER_UNSPECIFIED",
		1: "LAUNCH_CONTAINER_WINDOW",
		2: "LAUNCH_CONTAINER_PANEL_DEPRECATED",
		3: "LAUNCH_CONTAINER_TAB",
		4: "LAUNCH_CONTAINER_NONE",
	}
	WorkspaceDeskSpecifics_LaunchContainer_value = map[string]int32{
		"LAUNCH_CONTAINER_UNSPECIFIED":      0,
		"LAUNCH_CONTAINER_WINDOW":           1,
		"LAUNCH_CONTAINER_PANEL_DEPRECATED": 2,
		"LAUNCH_CONTAINER_TAB":              3,
		"LAUNCH_CONTAINER_NONE":             4,
	}
)

Enum value maps for WorkspaceDeskSpecifics_LaunchContainer.

View Source
var (
	WorkspaceDeskSpecifics_WindowState_name = map[int32]string{
		0: "UNKNOWN_WINDOW_STATE",
		1: "NORMAL",
		2: "MINIMIZED",
		3: "MAXIMIZED",
		4: "FULLSCREEN",
		5: "PRIMARY_SNAPPED",
		6: "SECONDARY_SNAPPED",
		7: "FLOATED",
	}
	WorkspaceDeskSpecifics_WindowState_value = map[string]int32{
		"UNKNOWN_WINDOW_STATE": 0,
		"NORMAL":               1,
		"MINIMIZED":            2,
		"MAXIMIZED":            3,
		"FULLSCREEN":           4,
		"PRIMARY_SNAPPED":      5,
		"SECONDARY_SNAPPED":    6,
		"FLOATED":              7,
	}
)

Enum value maps for WorkspaceDeskSpecifics_WindowState.

View Source
var (
	WorkspaceDeskSpecifics_WindowOpenDisposition_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "CURRENT_TAB",
		2:  "SINGLETON_TAB",
		3:  "NEW_FOREGROUND_TAB",
		4:  "NEW_BACKGROUND_TAB",
		5:  "NEW_POPUP",
		6:  "NEW_WINDOW",
		7:  "SAVE_TO_DISK",
		8:  "OFF_THE_RECORD",
		9:  "IGNORE_ACTION",
		10: "SWITCH_TO_TAB",
		11: "NEW_PICTURE_IN_PICTURE",
	}
	WorkspaceDeskSpecifics_WindowOpenDisposition_value = map[string]int32{
		"UNKNOWN":                0,
		"CURRENT_TAB":            1,
		"SINGLETON_TAB":          2,
		"NEW_FOREGROUND_TAB":     3,
		"NEW_BACKGROUND_TAB":     4,
		"NEW_POPUP":              5,
		"NEW_WINDOW":             6,
		"SAVE_TO_DISK":           7,
		"OFF_THE_RECORD":         8,
		"IGNORE_ACTION":          9,
		"SWITCH_TO_TAB":          10,
		"NEW_PICTURE_IN_PICTURE": 11,
	}
)

Enum value maps for WorkspaceDeskSpecifics_WindowOpenDisposition.

View Source
var (
	WorkspaceDeskSpecifics_DeskType_name = map[int32]string{
		0: "UNKNOWN_TYPE",
		1: "TEMPLATE",
		2: "SAVE_AND_RECALL",
		3: "FLOATING_WORKSPACE",
	}
	WorkspaceDeskSpecifics_DeskType_value = map[string]int32{
		"UNKNOWN_TYPE":       0,
		"TEMPLATE":           1,
		"SAVE_AND_RECALL":    2,
		"FLOATING_WORKSPACE": 3,
	}
)

Enum value maps for WorkspaceDeskSpecifics_DeskType.

View Source
var (
	WorkspaceDeskSpecifics_TabGroupColor_name = map[int32]string{
		0: "UNKNOWN_COLOR",
		1: "GREY",
		2: "BLUE",
		3: "RED",
		4: "YELLOW",
		5: "GREEN",
		6: "PINK",
		7: "PURPLE",
		8: "CYAN",
		9: "ORANGE",
	}
	WorkspaceDeskSpecifics_TabGroupColor_value = map[string]int32{
		"UNKNOWN_COLOR": 0,
		"GREY":          1,
		"BLUE":          2,
		"RED":           3,
		"YELLOW":        4,
		"GREEN":         5,
		"PINK":          6,
		"PURPLE":        7,
		"CYAN":          8,
		"ORANGE":        9,
	}
)

Enum value maps for WorkspaceDeskSpecifics_TabGroupColor.

View Source
var File_app_list_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_offer_specifics_proto protoreflect.FileDescriptor
View Source
var File_autofill_specifics_proto protoreflect.FileDescriptor
View Source
var File_autofill_wallet_usage_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_brave_device_info_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_contact_info_specifics_proto protoreflect.FileDescriptor
View Source
var File_data_type_progress_marker_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_entity_specifics_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_specifics_proto protoreflect.FileDescriptor
View Source
var File_history_status_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_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_note_entity_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_sharing_invitation_specifics_proto protoreflect.FileDescriptor
View Source
var File_password_sharing_recipients_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_power_bookmark_specifics_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_printers_authorization_server_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_saved_tab_group_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_segmentation_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_entity_proto protoreflect.FileDescriptor
View Source
var File_sync_enums_proto protoreflect.FileDescriptor
View Source
var File_sync_invalidations_payload_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_apk_specifics_proto protoreflect.FileDescriptor
View Source
var File_web_app_specifics_proto protoreflect.FileDescriptor
View Source
var File_webauthn_credential_specifics_proto protoreflect.FileDescriptor
View Source
var File_wifi_configuration_specifics_proto protoreflect.FileDescriptor
View Source
var File_workspace_desk_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: Marked as deprecated in app_list_specifics.proto.
	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"`
	ItemColor      *AppListSpecifics_IconColor `protobuf:"bytes,8,opt,name=item_color,json=itemColor" json:"item_color,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) GetItemColor added in v0.1.20

func (x *AppListSpecifics) GetItemColor() *AppListSpecifics_IconColor

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: Marked as deprecated in app_list_specifics.proto.

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 AppListSpecifics_ColorGroup added in v0.1.20

type AppListSpecifics_ColorGroup int32

The color groups used for grouping together icons by colors.

const (
	AppListSpecifics_COLOR_EMPTY   AppListSpecifics_ColorGroup = 0
	AppListSpecifics_COLOR_WHITE   AppListSpecifics_ColorGroup = 1
	AppListSpecifics_COLOR_RED     AppListSpecifics_ColorGroup = 2
	AppListSpecifics_COLOR_ORANGE  AppListSpecifics_ColorGroup = 3
	AppListSpecifics_COLOR_YELLOW  AppListSpecifics_ColorGroup = 4
	AppListSpecifics_COLOR_GREEN   AppListSpecifics_ColorGroup = 5
	AppListSpecifics_COLOR_BLUE    AppListSpecifics_ColorGroup = 6
	AppListSpecifics_COLOR_MAGENTA AppListSpecifics_ColorGroup = 7
	AppListSpecifics_COLOR_BLACK   AppListSpecifics_ColorGroup = 8
)

func (AppListSpecifics_ColorGroup) Descriptor added in v0.1.20

func (AppListSpecifics_ColorGroup) Enum added in v0.1.20

func (AppListSpecifics_ColorGroup) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use AppListSpecifics_ColorGroup.Descriptor instead.

func (AppListSpecifics_ColorGroup) Number added in v0.1.20

func (AppListSpecifics_ColorGroup) String added in v0.1.20

func (AppListSpecifics_ColorGroup) Type added in v0.1.20

func (*AppListSpecifics_ColorGroup) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type AppListSpecifics_IconColor added in v0.1.20

type AppListSpecifics_IconColor struct {

	// The item icon's background color.
	BackgroundColor *AppListSpecifics_ColorGroup `` /* 141-byte string literal not displayed */
	// The item icon's hue.
	Hue *int32 `protobuf:"varint,2,opt,name=hue" json:"hue,omitempty"`
	// contains filtered or unexported fields
}

func (*AppListSpecifics_IconColor) Descriptor deprecated added in v0.1.20

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

Deprecated: Use AppListSpecifics_IconColor.ProtoReflect.Descriptor instead.

func (*AppListSpecifics_IconColor) GetBackgroundColor added in v0.1.20

func (*AppListSpecifics_IconColor) GetHue added in v0.1.20

func (x *AppListSpecifics_IconColor) GetHue() int32

func (*AppListSpecifics_IconColor) ProtoMessage added in v0.1.20

func (*AppListSpecifics_IconColor) ProtoMessage()

func (*AppListSpecifics_IconColor) ProtoReflect added in v0.1.20

func (*AppListSpecifics_IconColor) Reset added in v0.1.20

func (x *AppListSpecifics_IconColor) Reset()

func (*AppListSpecifics_IconColor) String added in v0.1.20

func (x *AppListSpecifics_IconColor) 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.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	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 deprecated

func (x *AppNotificationSettings) GetInitialSetupDone() bool

Deprecated: Marked as deprecated in app_specifics.proto.

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"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	BookmarkAppUrl *string `protobuf:"bytes,6,opt,name=bookmark_app_url,json=bookmarkAppUrl" json:"bookmark_app_url,omitempty"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	BookmarkAppDescription *string `protobuf:"bytes,7,opt,name=bookmark_app_description,json=bookmarkAppDescription" json:"bookmark_app_description,omitempty"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	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"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	BookmarkAppScope *string `protobuf:"bytes,10,opt,name=bookmark_app_scope,json=bookmarkAppScope" json:"bookmark_app_scope,omitempty"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in app_specifics.proto.
	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 deprecated

func (x *AppSpecifics) GetBookmarkAppDescription() string

Deprecated: Marked as deprecated in app_specifics.proto.

func (*AppSpecifics) GetBookmarkAppIconColor deprecated

func (x *AppSpecifics) GetBookmarkAppIconColor() string

Deprecated: Marked as deprecated in app_specifics.proto.

func (*AppSpecifics) GetBookmarkAppScope deprecated

func (x *AppSpecifics) GetBookmarkAppScope() string

Deprecated: Marked as deprecated in app_specifics.proto.

func (*AppSpecifics) GetBookmarkAppThemeColor deprecated

func (x *AppSpecifics) GetBookmarkAppThemeColor() uint32

Deprecated: Marked as deprecated in app_specifics.proto.

func (*AppSpecifics) GetBookmarkAppUrl deprecated

func (x *AppSpecifics) GetBookmarkAppUrl() string

Deprecated: Marked as deprecated in app_specifics.proto.

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 AutofillOfferSpecifics added in v0.1.11

type AutofillOfferSpecifics struct {

	// The id for this offer data. Will be used as the client tag.
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// The link leading to the offer details page on Gpay app. Will be populated
	// on Android only.
	OfferDetailsUrl *string `protobuf:"bytes,2,opt,name=offer_details_url,json=offerDetailsUrl" json:"offer_details_url,omitempty"`
	// Merchant domain and merchant app package name refers to the merchant this
	// offer is applied to.
	MerchantDomain     []string `protobuf:"bytes,3,rep,name=merchant_domain,json=merchantDomain" json:"merchant_domain,omitempty"`
	MerchantAppPackage []string `protobuf:"bytes,4,rep,name=merchant_app_package,json=merchantAppPackage" json:"merchant_app_package,omitempty"`
	// The expiry of this offer. Will be represented in the form of unix epoch
	// time in seconds. Once the offer is expired it will not be shown in the
	// client.
	OfferExpiryDate *int64 `protobuf:"varint,5,opt,name=offer_expiry_date,json=offerExpiryDate" json:"offer_expiry_date,omitempty"`
	// The unique offer data for different offer types.
	//
	// Types that are assignable to TypeSpecificOfferData:
	//
	//	*AutofillOfferSpecifics_CardLinkedOfferData_
	//	*AutofillOfferSpecifics_PromoCodeOfferData_
	TypeSpecificOfferData isAutofillOfferSpecifics_TypeSpecificOfferData `protobuf_oneof:"type_specific_offer_data"`
	DisplayStrings        *AutofillOfferSpecifics_DisplayStrings         `protobuf:"bytes,10,opt,name=display_strings,json=displayStrings" json:"display_strings,omitempty"`
	// The reward type of the offer. Will be used to generate the display text in
	// the UI. Each type has its own client side text template.
	//
	// Types that are assignable to RewardType:
	//
	//	*AutofillOfferSpecifics_PercentageReward_
	//	*AutofillOfferSpecifics_FixedAmountReward_
	RewardType isAutofillOfferSpecifics_RewardType `protobuf_oneof:"reward_type"`
	// contains filtered or unexported fields
}

Next tag: 11

func (*AutofillOfferSpecifics) Descriptor deprecated added in v0.1.11

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

Deprecated: Use AutofillOfferSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics) GetCardLinkedOfferData added in v0.1.11

func (*AutofillOfferSpecifics) GetDisplayStrings added in v0.1.20

func (*AutofillOfferSpecifics) GetFixedAmountReward added in v0.1.11

func (*AutofillOfferSpecifics) GetId added in v0.1.11

func (x *AutofillOfferSpecifics) GetId() int64

func (*AutofillOfferSpecifics) GetMerchantAppPackage added in v0.1.11

func (x *AutofillOfferSpecifics) GetMerchantAppPackage() []string

func (*AutofillOfferSpecifics) GetMerchantDomain added in v0.1.11

func (x *AutofillOfferSpecifics) GetMerchantDomain() []string

func (*AutofillOfferSpecifics) GetOfferDetailsUrl added in v0.1.11

func (x *AutofillOfferSpecifics) GetOfferDetailsUrl() string

func (*AutofillOfferSpecifics) GetOfferExpiryDate added in v0.1.11

func (x *AutofillOfferSpecifics) GetOfferExpiryDate() int64

func (*AutofillOfferSpecifics) GetPercentageReward added in v0.1.11

func (*AutofillOfferSpecifics) GetPromoCodeOfferData added in v0.1.20

func (*AutofillOfferSpecifics) GetRewardType added in v0.1.11

func (m *AutofillOfferSpecifics) GetRewardType() isAutofillOfferSpecifics_RewardType

func (*AutofillOfferSpecifics) GetTypeSpecificOfferData added in v0.1.11

func (m *AutofillOfferSpecifics) GetTypeSpecificOfferData() isAutofillOfferSpecifics_TypeSpecificOfferData

func (*AutofillOfferSpecifics) ProtoMessage added in v0.1.11

func (*AutofillOfferSpecifics) ProtoMessage()

func (*AutofillOfferSpecifics) ProtoReflect added in v0.1.11

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

func (*AutofillOfferSpecifics) Reset added in v0.1.11

func (x *AutofillOfferSpecifics) Reset()

func (*AutofillOfferSpecifics) String added in v0.1.11

func (x *AutofillOfferSpecifics) String() string

type AutofillOfferSpecifics_CardLinkedOfferData added in v0.1.11

type AutofillOfferSpecifics_CardLinkedOfferData struct {

	// The server id of the card to which the offer is linked.
	InstrumentId []int64 `protobuf:"varint,3,rep,name=instrument_id,json=instrumentId" json:"instrument_id,omitempty"`
	// contains filtered or unexported fields
}

Proto containing data specific to a card-linked offer.

func (*AutofillOfferSpecifics_CardLinkedOfferData) Descriptor deprecated added in v0.1.11

Deprecated: Use AutofillOfferSpecifics_CardLinkedOfferData.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics_CardLinkedOfferData) GetInstrumentId added in v0.1.11

func (x *AutofillOfferSpecifics_CardLinkedOfferData) GetInstrumentId() []int64

func (*AutofillOfferSpecifics_CardLinkedOfferData) ProtoMessage added in v0.1.11

func (*AutofillOfferSpecifics_CardLinkedOfferData) ProtoReflect added in v0.1.11

func (*AutofillOfferSpecifics_CardLinkedOfferData) Reset added in v0.1.11

func (*AutofillOfferSpecifics_CardLinkedOfferData) String added in v0.1.11

type AutofillOfferSpecifics_CardLinkedOfferData_ added in v0.1.11

type AutofillOfferSpecifics_CardLinkedOfferData_ struct {
	CardLinkedOfferData *AutofillOfferSpecifics_CardLinkedOfferData `protobuf:"bytes,6,opt,name=card_linked_offer_data,json=cardLinkedOfferData,oneof"`
}

type AutofillOfferSpecifics_DisplayStrings added in v0.1.20

type AutofillOfferSpecifics_DisplayStrings struct {

	// A message translated in the user's GPay app locale, explaining the value
	// of the offer. For example, a promo code offer might display
	// "$5 off on shoes, up to $50."
	ValuePropText *string `protobuf:"bytes,1,opt,name=value_prop_text,json=valuePropText" json:"value_prop_text,omitempty"`
	// A message translated in the user's GPay app locale and shown on mobile as
	// a link, prompting the user to click it to learn more about the offer.
	// Generally, "See details".
	SeeDetailsTextMobile *string `protobuf:"bytes,2,opt,name=see_details_text_mobile,json=seeDetailsTextMobile" json:"see_details_text_mobile,omitempty"`
	// A message translated in the user's GPay app locale and shown on desktop
	// (not as a link), informing the user that exclusions and restrictions may
	// apply to the value prop text. Generally, "Terms apply."
	SeeDetailsTextDesktop *string `protobuf:"bytes,3,opt,name=see_details_text_desktop,json=seeDetailsTextDesktop" json:"see_details_text_desktop,omitempty"`
	// A message translated in the user's GPay app locale and shown on mobile,
	// instructing them on how to redeem the offer. For example, a promo code
	// offer might display "Tap the promo code field at checkout to autofill
	// it."
	UsageInstructionsTextMobile *string `` /* 139-byte string literal not displayed */
	// A message translated in the user's GPay app locale and shown on desktop,
	// instructing them on how to redeem the offer. For example, a promo code
	// offer might display "Click the promo code field at checkout to autofill
	// it."
	UsageInstructionsTextDesktop *string `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Strings to be shown in client UI, based on the offer type and details.

func (*AutofillOfferSpecifics_DisplayStrings) Descriptor deprecated added in v0.1.20

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

Deprecated: Use AutofillOfferSpecifics_DisplayStrings.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics_DisplayStrings) GetSeeDetailsTextDesktop added in v0.1.20

func (x *AutofillOfferSpecifics_DisplayStrings) GetSeeDetailsTextDesktop() string

func (*AutofillOfferSpecifics_DisplayStrings) GetSeeDetailsTextMobile added in v0.1.20

func (x *AutofillOfferSpecifics_DisplayStrings) GetSeeDetailsTextMobile() string

func (*AutofillOfferSpecifics_DisplayStrings) GetUsageInstructionsTextDesktop added in v0.1.20

func (x *AutofillOfferSpecifics_DisplayStrings) GetUsageInstructionsTextDesktop() string

func (*AutofillOfferSpecifics_DisplayStrings) GetUsageInstructionsTextMobile added in v0.1.20

func (x *AutofillOfferSpecifics_DisplayStrings) GetUsageInstructionsTextMobile() string

func (*AutofillOfferSpecifics_DisplayStrings) GetValuePropText added in v0.1.20

func (x *AutofillOfferSpecifics_DisplayStrings) GetValuePropText() string

func (*AutofillOfferSpecifics_DisplayStrings) ProtoMessage added in v0.1.20

func (*AutofillOfferSpecifics_DisplayStrings) ProtoMessage()

func (*AutofillOfferSpecifics_DisplayStrings) ProtoReflect added in v0.1.20

func (*AutofillOfferSpecifics_DisplayStrings) Reset added in v0.1.20

func (*AutofillOfferSpecifics_DisplayStrings) String added in v0.1.20

type AutofillOfferSpecifics_FixedAmountReward added in v0.1.11

type AutofillOfferSpecifics_FixedAmountReward struct {

	// The string contains a number and a currency sign.
	Amount *string `protobuf:"bytes,1,opt,name=amount" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

This value will be shown in the offer text template as "XXX$ off".

func (*AutofillOfferSpecifics_FixedAmountReward) Descriptor deprecated added in v0.1.11

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

Deprecated: Use AutofillOfferSpecifics_FixedAmountReward.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics_FixedAmountReward) GetAmount added in v0.1.11

func (*AutofillOfferSpecifics_FixedAmountReward) ProtoMessage added in v0.1.11

func (*AutofillOfferSpecifics_FixedAmountReward) ProtoReflect added in v0.1.11

func (*AutofillOfferSpecifics_FixedAmountReward) Reset added in v0.1.11

func (*AutofillOfferSpecifics_FixedAmountReward) String added in v0.1.11

type AutofillOfferSpecifics_FixedAmountReward_ added in v0.1.11

type AutofillOfferSpecifics_FixedAmountReward_ struct {
	FixedAmountReward *AutofillOfferSpecifics_FixedAmountReward `protobuf:"bytes,8,opt,name=fixed_amount_reward,json=fixedAmountReward,oneof"`
}

type AutofillOfferSpecifics_PercentageReward added in v0.1.11

type AutofillOfferSpecifics_PercentageReward struct {

	// The string contains a number and a percent sign.
	Percentage *string `protobuf:"bytes,1,opt,name=percentage" json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

This value will be shown in the offer text template as "XXX% cashback". Percentage has a range of (0, 100].

func (*AutofillOfferSpecifics_PercentageReward) Descriptor deprecated added in v0.1.11

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

Deprecated: Use AutofillOfferSpecifics_PercentageReward.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics_PercentageReward) GetPercentage added in v0.1.11

func (*AutofillOfferSpecifics_PercentageReward) ProtoMessage added in v0.1.11

func (*AutofillOfferSpecifics_PercentageReward) ProtoReflect added in v0.1.11

func (*AutofillOfferSpecifics_PercentageReward) Reset added in v0.1.11

func (*AutofillOfferSpecifics_PercentageReward) String added in v0.1.11

type AutofillOfferSpecifics_PercentageReward_ added in v0.1.11

type AutofillOfferSpecifics_PercentageReward_ struct {
	PercentageReward *AutofillOfferSpecifics_PercentageReward `protobuf:"bytes,7,opt,name=percentage_reward,json=percentageReward,oneof"`
}

type AutofillOfferSpecifics_PromoCodeOfferData added in v0.1.20

type AutofillOfferSpecifics_PromoCodeOfferData struct {

	// The actual promo code which can be applied at checkout.
	PromoCode *string `protobuf:"bytes,1,opt,name=promo_code,json=promoCode" json:"promo_code,omitempty"`
	// contains filtered or unexported fields
}

Proto containing data specific to a promo code offer.

func (*AutofillOfferSpecifics_PromoCodeOfferData) Descriptor deprecated added in v0.1.20

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

Deprecated: Use AutofillOfferSpecifics_PromoCodeOfferData.ProtoReflect.Descriptor instead.

func (*AutofillOfferSpecifics_PromoCodeOfferData) GetPromoCode added in v0.1.20

func (*AutofillOfferSpecifics_PromoCodeOfferData) ProtoMessage added in v0.1.20

func (*AutofillOfferSpecifics_PromoCodeOfferData) ProtoReflect added in v0.1.20

func (*AutofillOfferSpecifics_PromoCodeOfferData) Reset added in v0.1.20

func (*AutofillOfferSpecifics_PromoCodeOfferData) String added in v0.1.20

type AutofillOfferSpecifics_PromoCodeOfferData_ added in v0.1.20

type AutofillOfferSpecifics_PromoCodeOfferData_ struct {
	PromoCodeOfferData *AutofillOfferSpecifics_PromoCodeOfferData `protobuf:"bytes,9,opt,name=promo_code_offer_data,json=promoCodeOfferData,oneof"`
}

type AutofillProfileSpecifics

type AutofillProfileSpecifics struct {
	Guid *string `protobuf:"bytes,15,opt,name=guid" json:"guid,omitempty"`
	// Starting from M115, Autofill ignores the origin and doesn't distinguish
	// between verified (meaning `deprecated_origin == kSettingsOrigin`) and
	// unverified profiles anymore. However, clients prior to this milestone only
	// accept updates to verified profiles through Sync if the remote profile is
	// verified as well. For this reason, M115 clients and above always set the
	// origin to kSettingsOrigin.
	// TODO(crbug.com/1441905): Remove in a few milestones.
	DeprecatedOrigin *string `protobuf:"bytes,16,opt,name=deprecated_origin,json=deprecatedOrigin" json:"deprecated_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"`
	// A user chosen profile label that is used to identify the profile.
	// The value of the label can be freely chosen by the user. Two possible label
	// values are '$HOME$' or '$WORK$' which have a special meaning.
	ProfileLabel *string `protobuf:"bytes,62,opt,name=profile_label,json=profileLabel" json:"profile_label,omitempty"`
	// Contact info name fields.
	NameHonorific []string `protobuf:"bytes,26,rep,name=name_honorific,json=nameHonorific" json:"name_honorific,omitempty"`
	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"`
	// Sometimes the last name is composed of two names as it is common for
	// Hispanic/Latinx names. In the unstructured representation of the last name,
	// there may be even a conjunction between the first and the second last
	// name. For example, the more-complete version of Pablo Picasso's surname is
	// "Ruiz y Picasso" containing a first last name, a conjunction (the y) and a
	// second last name.
	NameLastFirst       []string `protobuf:"bytes,27,rep,name=name_last_first,json=nameLastFirst" json:"name_last_first,omitempty"`
	NameLastConjunction []string `protobuf:"bytes,28,rep,name=name_last_conjunction,json=nameLastConjunction" json:"name_last_conjunction,omitempty"`
	NameLastSecond      []string `protobuf:"bytes,29,rep,name=name_last_second,json=nameLastSecond" json:"name_last_second,omitempty"`
	NameFull            []string `protobuf:"bytes,21,rep,name=name_full,json=nameFull" json:"name_full,omitempty"`
	// This value contains the combination of the full name and the honorific
	// prefix.
	NameFullWithHonorific []string `protobuf:"bytes,60,rep,name=name_full_with_honorific,json=nameFullWithHonorific" json:"name_full_with_honorific,omitempty"`
	// Validation status records for name fields.
	NameHonorificStatus         []AutofillProfileSpecifics_VerificationStatus `` /* 172-byte string literal not displayed */
	NameFirstStatus             []AutofillProfileSpecifics_VerificationStatus `` /* 160-byte string literal not displayed */
	NameMiddleStatus            []AutofillProfileSpecifics_VerificationStatus `` /* 163-byte string literal not displayed */
	NameLastStatus              []AutofillProfileSpecifics_VerificationStatus `` /* 157-byte string literal not displayed */
	NameLastFirstStatus         []AutofillProfileSpecifics_VerificationStatus `` /* 174-byte string literal not displayed */
	NameLastConjunctionStatus   []AutofillProfileSpecifics_VerificationStatus `` /* 192-byte string literal not displayed */
	NameLastSecondStatus        []AutofillProfileSpecifics_VerificationStatus `` /* 177-byte string literal not displayed */
	NameFullStatus              []AutofillProfileSpecifics_VerificationStatus `` /* 157-byte string literal not displayed */
	NameFullWithHonorificStatus []AutofillProfileSpecifics_VerificationStatus `` /* 200-byte string literal not displayed */
	// Contact info additional fields.
	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 field.
	// The address_home_line1/2 fields are deprecated and
	// address_home_street_address should be used instead by
	// joining address_home_line1/2 with a newline ("\n").
	// Full deprecation can not be achieved before all sync profiles have been
	// updated with a M86+ client.
	// TODO(crbug/1111740): Remove usages of address_home_line1/2 and mark field
	// as deprecated.
	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"`
	AddressHomeLandmark       *string `protobuf:"bytes,67,opt,name=address_home_landmark,json=addressHomeLandmark" json:"address_home_landmark,omitempty"`
	AddressHomeBetweenStreets *string `` /* 134-byte string literal not displayed */
	AddressHomeAdminLevel_2   *string `` /* 127-byte string literal not displayed */
	// 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 */
	AddressHomeThoroughfareName          *string `` /* 140-byte string literal not displayed */
	AddressHomeThoroughfareNumber        *string `` /* 146-byte string literal not displayed */
	AddressHomeDependentThoroughfareName *string `` /* 169-byte string literal not displayed */
	AddressHomePremiseName               *string `protobuf:"bytes,41,opt,name=address_home_premise_name,json=addressHomePremiseName" json:"address_home_premise_name,omitempty"`
	AddressHomeSubpremiseName            *string `` /* 134-byte string literal not displayed */
	AddressHomeAptNum                    *string `protobuf:"bytes,56,opt,name=address_home_apt_num,json=addressHomeAptNum" json:"address_home_apt_num,omitempty"`
	AddressHomeFloor                     *string `protobuf:"bytes,57,opt,name=address_home_floor,json=addressHomeFloor" json:"address_home_floor,omitempty"`
	// Validation status records for address fields.
	AddressHomeCityStatus                      *AutofillProfileSpecifics_VerificationStatus `` /* 180-byte string literal not displayed */
	AddressHomeStateStatus                     *AutofillProfileSpecifics_VerificationStatus `` /* 183-byte string literal not displayed */
	AddressHomeZipStatus                       *AutofillProfileSpecifics_VerificationStatus `` /* 177-byte string literal not displayed */
	AddressHomeCountryStatus                   *AutofillProfileSpecifics_VerificationStatus `` /* 189-byte string literal not displayed */
	AddressHomeLandmarkStatus                  *AutofillProfileSpecifics_VerificationStatus `` /* 192-byte string literal not displayed */
	AddressHomeBetweenStreetsStatus            *AutofillProfileSpecifics_VerificationStatus `` /* 212-byte string literal not displayed */
	AddressHomeAdminLevel_2Status              *AutofillProfileSpecifics_VerificationStatus `` /* 205-byte string literal not displayed */
	AddressHomeStreetAddressStatus             *AutofillProfileSpecifics_VerificationStatus `` /* 209-byte string literal not displayed */
	AddressHomeSortingCodeStatus               *AutofillProfileSpecifics_VerificationStatus `` /* 203-byte string literal not displayed */
	AddressHomeDependentLocalityStatus         *AutofillProfileSpecifics_VerificationStatus `` /* 221-byte string literal not displayed */
	AddressHomeLanguageCodeStatus              *AutofillProfileSpecifics_VerificationStatus `` /* 206-byte string literal not displayed */
	AddressHomeThoroughfareNameStatus          *AutofillProfileSpecifics_VerificationStatus `` /* 218-byte string literal not displayed */
	AddressHomeThoroughfareNumberStatus        *AutofillProfileSpecifics_VerificationStatus `` /* 224-byte string literal not displayed */
	AddressHomeDependentThoroughfareNameStatus *AutofillProfileSpecifics_VerificationStatus `` /* 247-byte string literal not displayed */
	AddressHomePremiseNameStatus               *AutofillProfileSpecifics_VerificationStatus `` /* 203-byte string literal not displayed */
	AddressHomeSubpremiseNameStatus            *AutofillProfileSpecifics_VerificationStatus `` /* 212-byte string literal not displayed */
	AddressHomeAptNumStatus                    *AutofillProfileSpecifics_VerificationStatus `` /* 188-byte string literal not displayed */
	AddressHomeFloorStatus                     *AutofillProfileSpecifics_VerificationStatus `` /* 183-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"`
	// Birthdate fields.
	BirthdateDay   *int32 `protobuf:"varint,64,opt,name=birthdate_day,json=birthdateDay" json:"birthdate_day,omitempty"`
	BirthdateMonth *int32 `protobuf:"varint,65,opt,name=birthdate_month,json=birthdateMonth" json:"birthdate_month,omitempty"`
	BirthdateYear  *int32 `protobuf:"varint,66,opt,name=birthdate_year,json=birthdateYear" json:"birthdate_year,omitempty"` // 4 digits.
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in autofill_specifics.proto.
	DeprecatedLabel *string `protobuf:"bytes,1,opt,name=deprecated_label,json=deprecatedLabel" json:"deprecated_label,omitempty"`
	// Deprecated: Marked as deprecated in autofill_specifics.proto.
	PhoneFaxWholeNumber *string `protobuf:"bytes,14,opt,name=phone_fax_whole_number,json=phoneFaxWholeNumber" json:"phone_fax_whole_number,omitempty"`
	// The following validity-related fields have only been used in combination
	// with an experimental features that are disabled for all clients and have
	// been removed in M100.
	//
	// Deprecated: Marked as deprecated in autofill_specifics.proto.
	ValidityStateBitfield *int64 `protobuf:"varint,24,opt,name=validity_state_bitfield,json=validityStateBitfield" json:"validity_state_bitfield,omitempty"`
	// Deprecated: Marked as deprecated in autofill_specifics.proto.
	IsClientValidityStatesUpdated *bool `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

An AutofillProfile.

func (*AutofillProfileSpecifics) Descriptor deprecated

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

Deprecated: Use AutofillProfileSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillProfileSpecifics) GetAddressHomeAdminLevel_2 added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeAdminLevel_2() string

func (*AutofillProfileSpecifics) GetAddressHomeAdminLevel_2Status added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeAdminLevel_2Status() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeAptNum added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeAptNum() string

func (*AutofillProfileSpecifics) GetAddressHomeAptNumStatus added in v0.1.20

func (*AutofillProfileSpecifics) GetAddressHomeBetweenStreets added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeBetweenStreets() string

func (*AutofillProfileSpecifics) GetAddressHomeBetweenStreetsStatus added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeBetweenStreetsStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeCity

func (x *AutofillProfileSpecifics) GetAddressHomeCity() string

func (*AutofillProfileSpecifics) GetAddressHomeCityStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetAddressHomeCountry

func (x *AutofillProfileSpecifics) GetAddressHomeCountry() string

func (*AutofillProfileSpecifics) GetAddressHomeCountryStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetAddressHomeDependentLocality

func (x *AutofillProfileSpecifics) GetAddressHomeDependentLocality() string

func (*AutofillProfileSpecifics) GetAddressHomeDependentLocalityStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeDependentLocalityStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeDependentThoroughfareName added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeDependentThoroughfareName() string

func (*AutofillProfileSpecifics) GetAddressHomeDependentThoroughfareNameStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeDependentThoroughfareNameStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeFloor added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeFloor() string

func (*AutofillProfileSpecifics) GetAddressHomeFloorStatus added in v0.1.20

func (*AutofillProfileSpecifics) GetAddressHomeLandmark added in v0.1.20

func (x *AutofillProfileSpecifics) GetAddressHomeLandmark() string

func (*AutofillProfileSpecifics) GetAddressHomeLandmarkStatus added in v0.1.20

func (*AutofillProfileSpecifics) GetAddressHomeLanguageCode

func (x *AutofillProfileSpecifics) GetAddressHomeLanguageCode() string

func (*AutofillProfileSpecifics) GetAddressHomeLanguageCodeStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeLanguageCodeStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeLine1

func (x *AutofillProfileSpecifics) GetAddressHomeLine1() string

func (*AutofillProfileSpecifics) GetAddressHomeLine2

func (x *AutofillProfileSpecifics) GetAddressHomeLine2() string

func (*AutofillProfileSpecifics) GetAddressHomePremiseName added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomePremiseName() string

func (*AutofillProfileSpecifics) GetAddressHomePremiseNameStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomePremiseNameStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeSortingCode

func (x *AutofillProfileSpecifics) GetAddressHomeSortingCode() string

func (*AutofillProfileSpecifics) GetAddressHomeSortingCodeStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeSortingCodeStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeState

func (x *AutofillProfileSpecifics) GetAddressHomeState() string

func (*AutofillProfileSpecifics) GetAddressHomeStateStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetAddressHomeStreetAddress

func (x *AutofillProfileSpecifics) GetAddressHomeStreetAddress() string

func (*AutofillProfileSpecifics) GetAddressHomeStreetAddressStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeStreetAddressStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeSubpremiseName added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeSubpremiseName() string

func (*AutofillProfileSpecifics) GetAddressHomeSubpremiseNameStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeSubpremiseNameStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeThoroughfareName added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeThoroughfareName() string

func (*AutofillProfileSpecifics) GetAddressHomeThoroughfareNameStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeThoroughfareNameStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeThoroughfareNumber added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeThoroughfareNumber() string

func (*AutofillProfileSpecifics) GetAddressHomeThoroughfareNumberStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetAddressHomeThoroughfareNumberStatus() AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetAddressHomeZip

func (x *AutofillProfileSpecifics) GetAddressHomeZip() string

func (*AutofillProfileSpecifics) GetAddressHomeZipStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetBirthdateDay added in v0.1.20

func (x *AutofillProfileSpecifics) GetBirthdateDay() int32

func (*AutofillProfileSpecifics) GetBirthdateMonth added in v0.1.20

func (x *AutofillProfileSpecifics) GetBirthdateMonth() int32

func (*AutofillProfileSpecifics) GetBirthdateYear added in v0.1.20

func (x *AutofillProfileSpecifics) GetBirthdateYear() int32

func (*AutofillProfileSpecifics) GetCompanyName

func (x *AutofillProfileSpecifics) GetCompanyName() string

func (*AutofillProfileSpecifics) GetDeprecatedLabel deprecated added in v0.1.20

func (x *AutofillProfileSpecifics) GetDeprecatedLabel() string

Deprecated: Marked as deprecated in autofill_specifics.proto.

func (*AutofillProfileSpecifics) GetDeprecatedOrigin added in v0.1.20

func (x *AutofillProfileSpecifics) GetDeprecatedOrigin() string

func (*AutofillProfileSpecifics) GetEmailAddress

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

func (*AutofillProfileSpecifics) GetGuid

func (x *AutofillProfileSpecifics) GetGuid() string

func (*AutofillProfileSpecifics) GetIsClientValidityStatesUpdated deprecated

func (x *AutofillProfileSpecifics) GetIsClientValidityStatesUpdated() bool

Deprecated: Marked as deprecated in autofill_specifics.proto.

func (*AutofillProfileSpecifics) GetNameFirst

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

func (*AutofillProfileSpecifics) GetNameFirstStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameFull

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

func (*AutofillProfileSpecifics) GetNameFullStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameFullWithHonorific added in v0.1.20

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

func (*AutofillProfileSpecifics) GetNameFullWithHonorificStatus added in v0.1.20

func (x *AutofillProfileSpecifics) GetNameFullWithHonorificStatus() []AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetNameHonorific added in v0.1.11

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

func (*AutofillProfileSpecifics) GetNameHonorificStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameLast

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

func (*AutofillProfileSpecifics) GetNameLastConjunction added in v0.1.11

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

func (*AutofillProfileSpecifics) GetNameLastConjunctionStatus added in v0.1.11

func (x *AutofillProfileSpecifics) GetNameLastConjunctionStatus() []AutofillProfileSpecifics_VerificationStatus

func (*AutofillProfileSpecifics) GetNameLastFirst added in v0.1.11

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

func (*AutofillProfileSpecifics) GetNameLastFirstStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameLastSecond added in v0.1.11

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

func (*AutofillProfileSpecifics) GetNameLastSecondStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameLastStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetNameMiddle

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

func (*AutofillProfileSpecifics) GetNameMiddleStatus added in v0.1.11

func (*AutofillProfileSpecifics) GetPhoneFaxWholeNumber deprecated

func (x *AutofillProfileSpecifics) GetPhoneFaxWholeNumber() string

Deprecated: Marked as deprecated in autofill_specifics.proto.

func (*AutofillProfileSpecifics) GetPhoneHomeWholeNumber

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

func (*AutofillProfileSpecifics) GetProfileLabel added in v0.1.20

func (x *AutofillProfileSpecifics) GetProfileLabel() string

func (*AutofillProfileSpecifics) GetUseCount

func (x *AutofillProfileSpecifics) GetUseCount() int64

func (*AutofillProfileSpecifics) GetUseDate

func (x *AutofillProfileSpecifics) GetUseDate() int64

func (*AutofillProfileSpecifics) GetValidityStateBitfield deprecated

func (x *AutofillProfileSpecifics) GetValidityStateBitfield() int64

Deprecated: Marked as deprecated in autofill_specifics.proto.

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 AutofillProfileSpecifics_VerificationStatus added in v0.1.11

type AutofillProfileSpecifics_VerificationStatus int32

Represents the validation status of value stored in the AutofillProfile.

const (
	// No verification status assigned.
	AutofillProfileSpecifics_VERIFICATION_STATUS_UNSPECIFIED AutofillProfileSpecifics_VerificationStatus = 0
	// The value token was parsed from a parent token.
	// For example, the first name was derived by splitting a full name into
	// its components.
	AutofillProfileSpecifics_PARSED AutofillProfileSpecifics_VerificationStatus = 1
	// Value was built from its subcomponents.
	// For example, the full name was built from the first, middle and last
	// name.
	AutofillProfileSpecifics_FORMATTED AutofillProfileSpecifics_VerificationStatus = 2
	// The value was observed in a form transmission.
	// For example, the user filled a form that contained at NAME_FULL field.
	// The value of NAME_FULL will be stored as OBSERVED.
	AutofillProfileSpecifics_OBSERVED AutofillProfileSpecifics_VerificationStatus = 3
	// The user used the autofill settings to verify and store this token.
	// This is currently only applicable to the full name, since users cannot
	// edit individual components of their name.
	AutofillProfileSpecifics_USER_VERIFIED AutofillProfileSpecifics_VerificationStatus = 4
	// The token was parsed remotely.
	AutofillProfileSpecifics_SERVER_PARSED AutofillProfileSpecifics_VerificationStatus = 5
)

func (AutofillProfileSpecifics_VerificationStatus) Descriptor added in v0.1.11

func (AutofillProfileSpecifics_VerificationStatus) Enum added in v0.1.11

func (AutofillProfileSpecifics_VerificationStatus) EnumDescriptor deprecated added in v0.1.11

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

Deprecated: Use AutofillProfileSpecifics_VerificationStatus.Descriptor instead.

func (AutofillProfileSpecifics_VerificationStatus) Number added in v0.1.11

func (AutofillProfileSpecifics_VerificationStatus) String added in v0.1.11

func (AutofillProfileSpecifics_VerificationStatus) Type added in v0.1.11

func (*AutofillProfileSpecifics_VerificationStatus) UnmarshalJSON deprecated added in v0.1.11

Deprecated: Do not use.

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 AutofillWalletUsageSpecifics added in v0.1.20

type AutofillWalletUsageSpecifics struct {

	// A unique ID identifying this item. Used as the client tag.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// The type of usage data this entity is associated with.
	//
	// Types that are assignable to UsageDataType:
	//
	//	*AutofillWalletUsageSpecifics_VirtualCardUsageData_
	UsageDataType isAutofillWalletUsageSpecifics_UsageDataType `protobuf_oneof:"usage_data_type"`
	// contains filtered or unexported fields
}

func (*AutofillWalletUsageSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use AutofillWalletUsageSpecifics.ProtoReflect.Descriptor instead.

func (*AutofillWalletUsageSpecifics) GetGuid added in v0.1.20

func (x *AutofillWalletUsageSpecifics) GetGuid() string

func (*AutofillWalletUsageSpecifics) GetUsageDataType added in v0.1.20

func (m *AutofillWalletUsageSpecifics) GetUsageDataType() isAutofillWalletUsageSpecifics_UsageDataType

func (*AutofillWalletUsageSpecifics) GetVirtualCardUsageData added in v0.1.20

func (*AutofillWalletUsageSpecifics) ProtoMessage added in v0.1.20

func (*AutofillWalletUsageSpecifics) ProtoMessage()

func (*AutofillWalletUsageSpecifics) ProtoReflect added in v0.1.20

func (*AutofillWalletUsageSpecifics) Reset added in v0.1.20

func (x *AutofillWalletUsageSpecifics) Reset()

func (*AutofillWalletUsageSpecifics) String added in v0.1.20

type AutofillWalletUsageSpecifics_VirtualCardUsageData added in v0.1.20

type AutofillWalletUsageSpecifics_VirtualCardUsageData struct {

	// The instrument id of the actual card that the virtual card is related to.
	InstrumentId *int64 `protobuf:"varint,1,opt,name=instrument_id,json=instrumentId" json:"instrument_id,omitempty"`
	// The last four of the virtual card number. This is tied to the usage
	// data because the virtual card number may vary depending on merchants.
	VirtualCardLastFour *string `protobuf:"bytes,2,opt,name=virtual_card_last_four,json=virtualCardLastFour" json:"virtual_card_last_four,omitempty"`
	// The url of the merchant where the virtual card is used.
	MerchantUrl *string `protobuf:"bytes,3,opt,name=merchant_url,json=merchantUrl" json:"merchant_url,omitempty"`
	// The merchant the usage data is related to on the Android platform.
	MerchantAppPackage *string `protobuf:"bytes,4,opt,name=merchant_app_package,json=merchantAppPackage" json:"merchant_app_package,omitempty"`
	// contains filtered or unexported fields
}

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) Descriptor deprecated added in v0.1.20

Deprecated: Use AutofillWalletUsageSpecifics_VirtualCardUsageData.ProtoReflect.Descriptor instead.

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) GetInstrumentId added in v0.1.20

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) GetMerchantAppPackage added in v0.1.20

func (x *AutofillWalletUsageSpecifics_VirtualCardUsageData) GetMerchantAppPackage() string

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) GetMerchantUrl added in v0.1.20

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) GetVirtualCardLastFour added in v0.1.20

func (x *AutofillWalletUsageSpecifics_VirtualCardUsageData) GetVirtualCardLastFour() string

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) ProtoMessage added in v0.1.20

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) ProtoReflect added in v0.1.20

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) Reset added in v0.1.20

func (*AutofillWalletUsageSpecifics_VirtualCardUsageData) String added in v0.1.20

type AutofillWalletUsageSpecifics_VirtualCardUsageData_ added in v0.1.20

type AutofillWalletUsageSpecifics_VirtualCardUsageData_ struct {
	VirtualCardUsageData *AutofillWalletUsageSpecifics_VirtualCardUsageData `protobuf:"bytes,2,opt,name=virtual_card_usage_data,json=virtualCardUsageData,oneof"`
}

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 fields like |type|, |unique_position| and |parent_guid|, which
	// means that their sequence number has been increased (independently of
	// whether the commit has succeeded or even started).
	// TODO(crbug.com/1232951): remove this code when most of bookmarks are
	// reuploaded.
	BookmarksHierarchyFieldsReuploaded *bool `` /* 161-byte string literal not displayed */
	// Number of remote updates that were ignored because the parent folder could
	// not be determined since sync (bookmark sync) started (since initial sync,
	// including initial sync itself). Note that this excludes updates
	// representing changes (moves) to existing/tracked bookmarks (i.e. the parent
	// folder used to be known, but the new one specified in the update isn't).
	//
	// Only a minority of users should have a non-zero value, due to a) corrupt
	// data, reasons unknown; or b) permanent folders that were unsupported at the
	// time the update was received (either for the permanent folder itself or for
	// descendants). The absence of this field should be interpreted as 'unknown',
	// which roughly means the counter wasn't supported by the browser -M77 or
	// below- at the time sync was enabled (it also means, it will remain
	// 'unknown' until initial sync is exercised, e.g. sync disabled and
	// reenabled).
	NumIgnoredUpdatesDueToMissingParent *int64 `` /* 170-byte string literal not displayed */
	// See field above. Among such ignored updates, this field tracks which was
	// the highest server version. This may be useful -in the future- to get a
	// sense of "time" (or, since versions are opaque to the client, at least a
	// notion of ordering with respect to other updates). The absence of this
	// field should be interpreted as 'unknown' and does not distinguish the
	// case between a) no updates ignored; and b) field wasn't supported at the
	// time the last update was ignored. To distinguish between these two, the
	// field above can be used.
	MaxVersionAmongIgnoredUpdatesDueToMissingParent *int64 `` /* 210-byte string literal not displayed */
	// Indicates whether the count of remote updates during the latest initial
	// merge exceeded the bookmark limit. This field is mutually exclusive to all
	// the other fields and is managed completely by the processor.
	LastInitialMergeRemoteUpdatesExceededLimit *bool `` /* 191-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) GetBookmarksHierarchyFieldsReuploaded added in v0.1.20

func (x *BookmarkModelMetadata) GetBookmarksHierarchyFieldsReuploaded() bool

func (*BookmarkModelMetadata) GetBookmarksMetadata

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

func (*BookmarkModelMetadata) GetLastInitialMergeRemoteUpdatesExceededLimit added in v0.1.20

func (x *BookmarkModelMetadata) GetLastInitialMergeRemoteUpdatesExceededLimit() bool

func (*BookmarkModelMetadata) GetMaxVersionAmongIgnoredUpdatesDueToMissingParent added in v0.1.20

func (x *BookmarkModelMetadata) GetMaxVersionAmongIgnoredUpdatesDueToMissingParent() int64

func (*BookmarkModelMetadata) GetModelTypeState

func (x *BookmarkModelMetadata) GetModelTypeState() *ModelTypeState

func (*BookmarkModelMetadata) GetNumIgnoredUpdatesDueToMissingParent added in v0.1.20

func (x *BookmarkModelMetadata) GetNumIgnoredUpdatesDueToMissingParent() int64

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 of the bookmarked page (unset for folders).
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// PNG-encoded content of the favicon image (in practice 16x16, as determined
	// by |kFaviconSize|). Empty if the bookmark has no favicon (which includes
	// bookmark folders).
	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"`
	// The URL of the favicon image encoded in field |favicon|. Note that there
	// are various cases where this URL may be missing (field unset or empty) even
	// if the |favicon| field (image content) is populated:
	//  1. WebUI pages such as "chrome://bookmarks/" are missing a favicon URL but
	//     they have a favicon.
	//  2. Data generated by ancient clients (prior to M25) may not contain the
	//     favicon URL.
	//  3. If the favicon URL is too large (determined by |kMaxFaviconUrlSize|) it
	//     may be omitted by clients to avoid running into the max-entity-size
	//     limit. Most notably, this includes URLs prefixed with the data: scheme
	//     that may encode the image content itself in the URL.
	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"`
	// Introduced in M94, represents the GUID (field |guid|) of the parent.
	ParentGuid *string                 `protobuf:"bytes,14,opt,name=parent_guid,json=parentGuid" json:"parent_guid,omitempty"`
	Type       *BookmarkSpecifics_Type `protobuf:"varint,15,opt,name=type,enum=sync_pb.BookmarkSpecifics_Type" json:"type,omitempty"`
	// Introduced in M94, determines ordering among siblings. This field is
	// redundant to the similar field in SyncEntity. If this field in specifics is
	// set, it takes precedence over the one in SyncEntity.
	UniquePosition *UniquePosition `protobuf:"bytes,16,opt,name=unique_position,json=uniquePosition" json:"unique_position,omitempty"`
	// Introduced in M106, corresponds to BookmarkNode::date_last_used()
	// represented as microseconds since the Windows epoch.
	LastUsedTimeUs *int64 `protobuf:"varint,17,opt,name=last_used_time_us,json=lastUsedTimeUs" json:"last_used_time_us,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) GetLastUsedTimeUs added in v0.1.20

func (x *BookmarkSpecifics) GetLastUsedTimeUs() int64

func (*BookmarkSpecifics) GetLegacyCanonicalizedTitle

func (x *BookmarkSpecifics) GetLegacyCanonicalizedTitle() string

func (*BookmarkSpecifics) GetMetaInfo

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

func (*BookmarkSpecifics) GetParentGuid added in v0.1.20

func (x *BookmarkSpecifics) GetParentGuid() string

func (*BookmarkSpecifics) GetType added in v0.1.20

func (*BookmarkSpecifics) GetUniquePosition added in v0.1.20

func (x *BookmarkSpecifics) GetUniquePosition() *UniquePosition

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 BookmarkSpecifics_Type added in v0.1.20

type BookmarkSpecifics_Type int32

Introduced in M94, determines whether this entity represents a bookmark folder. This field is redundant to the similar field in SyncEntity. If this field in specifics is set, it takes precedence over the one in SyncEntity.

const (
	// |UNSPECIFIED| is relevant only for the case where the field is not set.
	// M94 and above should not use this value.
	BookmarkSpecifics_UNSPECIFIED BookmarkSpecifics_Type = 0
	BookmarkSpecifics_URL         BookmarkSpecifics_Type = 1
	BookmarkSpecifics_FOLDER      BookmarkSpecifics_Type = 2
)

func (BookmarkSpecifics_Type) Descriptor added in v0.1.20

func (BookmarkSpecifics_Type) Enum added in v0.1.20

func (BookmarkSpecifics_Type) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use BookmarkSpecifics_Type.Descriptor instead.

func (BookmarkSpecifics_Type) Number added in v0.1.20

func (BookmarkSpecifics_Type) String added in v0.1.20

func (x BookmarkSpecifics_Type) String() string

func (BookmarkSpecifics_Type) Type added in v0.1.20

func (*BookmarkSpecifics_Type) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type BraveSpecificFields added in v0.1.11

type BraveSpecificFields struct {
	IsSelfDeleteSupported *bool `protobuf:"varint,1,opt,name=is_self_delete_supported,json=isSelfDeleteSupported" json:"is_self_delete_supported,omitempty"`
	// contains filtered or unexported fields
}

func (*BraveSpecificFields) Descriptor deprecated added in v0.1.11

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

Deprecated: Use BraveSpecificFields.ProtoReflect.Descriptor instead.

func (*BraveSpecificFields) GetIsSelfDeleteSupported added in v0.1.11

func (x *BraveSpecificFields) GetIsSelfDeleteSupported() bool

func (*BraveSpecificFields) ProtoMessage added in v0.1.11

func (*BraveSpecificFields) ProtoMessage()

func (*BraveSpecificFields) ProtoReflect added in v0.1.11

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

func (*BraveSpecificFields) Reset added in v0.1.11

func (x *BraveSpecificFields) Reset()

func (*BraveSpecificFields) String added in v0.1.11

func (x *BraveSpecificFields) String() string

type CardIssuer

type CardIssuer struct {
	Issuer *CardIssuer_Issuer `protobuf:"varint,1,opt,name=issuer,enum=sync_pb.CardIssuer_Issuer" json:"issuer,omitempty"`
	// Uniquely identifies the issuer of the card. This field is required when
	// Issuer is EXTERNAL_ISSUER.
	// Example: capitalone, amex.
	IssuerId *string `protobuf:"bytes,2,opt,name=issuer_id,json=issuerId" json:"issuer_id,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) GetIssuerId added in v0.1.20

func (x *CardIssuer) GetIssuerId() string

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
	// Card where the issuer is external.
	CardIssuer_EXTERNAL_ISSUER CardIssuer_Issuer = 2
)

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 ChromeVersionInfo added in v0.1.20

type ChromeVersionInfo struct {

	// Version number as per https://www.chromium.org/developers/version-numbers.
	VersionNumber *string `protobuf:"bytes,1,opt,name=version_number,json=versionNumber" json:"version_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ChromeVersionInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ChromeVersionInfo.ProtoReflect.Descriptor instead.

func (*ChromeVersionInfo) GetVersionNumber added in v0.1.20

func (x *ChromeVersionInfo) GetVersionNumber() string

func (*ChromeVersionInfo) ProtoMessage added in v0.1.20

func (*ChromeVersionInfo) ProtoMessage()

func (*ChromeVersionInfo) ProtoReflect added in v0.1.20

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

func (*ChromeVersionInfo) Reset added in v0.1.20

func (x *ChromeVersionInfo) Reset()

func (*ChromeVersionInfo) String added in v0.1.20

func (x *ChromeVersionInfo) 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. This causes the server to generate a new store birthday, which allows dealing reliably with in-flight requests (in particular commits) from other clients.

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: Marked as deprecated in client_commands.proto.
	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"`
	// This has been deprecated since M109.
	//
	// Deprecated: Marked as deprecated in client_commands.proto.
	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"`
	// Configuration for commit quota of extension-related data types.
	// The maximum count of tokens (=initial at browser startup) and the
	// interval for refilling one more token if not at maximum.
	ExtensionTypesMaxTokens             *int32 `` /* 128-byte string literal not displayed */
	ExtensionTypesRefillIntervalSeconds *int32 `` /* 167-byte string literal not displayed */
	// Extended nudge delay for data types with depleted quota.
	ExtensionTypesDepletedQuotaNudgeDelaySeconds *int32 `` /* 198-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ClientCommand) Descriptor deprecated

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

Deprecated: Use ClientCommand.ProtoReflect.Descriptor instead.

func (*ClientCommand) GetClientInvalidationHintBufferSize deprecated

func (x *ClientCommand) GetClientInvalidationHintBufferSize() int32

Deprecated: Marked as deprecated in client_commands.proto.

func (*ClientCommand) GetCustomNudgeDelays

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

func (*ClientCommand) GetExtensionTypesDepletedQuotaNudgeDelaySeconds added in v0.1.20

func (x *ClientCommand) GetExtensionTypesDepletedQuotaNudgeDelaySeconds() int32

func (*ClientCommand) GetExtensionTypesMaxTokens added in v0.1.20

func (x *ClientCommand) GetExtensionTypesMaxTokens() int32

func (*ClientCommand) GetExtensionTypesRefillIntervalSeconds added in v0.1.20

func (x *ClientCommand) GetExtensionTypesRefillIntervalSeconds() int32

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: Marked as deprecated in client_commands.proto.

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"`
	// Indicates that the client is not aware of any other active clients
	// interested in the committed data types. This flag shows that it is not
	// necessary to send invalidations for the committed data. A client is
	// considered active if it's DeviceInfo has updated recent enough. This flag
	// does not take into account whether standalone invalidations are enabled (as
	// opposed to |single_client_with_standalone_invalidations|). However, it's
	// set depending on interested data types of other devices, e.g. if there are
	// other devices but they are not interested in SESSION data type, and current
	// commit request contains only SESSION, it will be set to true.
	// Introduced in M88.
	SingleClient *bool `protobuf:"varint,4,opt,name=single_client,json=singleClient" json:"single_client,omitempty"`
	// A list of FCM registration tokens which are obtained from other clients.
	// This list is used by the server to send invalidations to all other clients.
	// If the list is empty, the server should treat this as "there is no
	// information about other clients". In practice, this happens by the next
	// causes:
	// 1. This is the old client which doesn't set this field.
	// 2. There are too many active devices and the list would have too many
	// items.
	// 3. An empty list could also mean that the current client is the only
	// client. This case should be covered by the
	// |single_client_with_standalone_invalidations| field instead (otherwise it
	// could be mixed up with older clients). The server doesn't have to use this
	// field and can ignore it. Note that this list does not take into account
	// interested data types from the other clients.
	// Introduced in M89.
	DevicesFcmRegistrationTokens []string `` /* 142-byte string literal not displayed */
	// Similar to |single_client| but takes into account only clients with enabled
	// sync standalone invalidations. When set to true, there are no other clients
	// with sync standalone invalidations interested in the committing types and
	// hence it's not necessary to send out standalone invalidations (it may still
	// be necessary to send out invalidations using the legacy system, see
	// |single_client| instead).
	// Introduced in M105.
	SingleClientWithStandaloneInvalidations *bool `` /* 178-byte string literal not displayed */
	// Similar to |devices_fcm_registration_tokens| but takes into account clients
	// which are subscribed to the data types which are committed in current
	// commit request.
	// A list of FCM registration tokens which are obtained from other clients.
	// This list is used by the server to send invalidations to all other clients.
	// If the list is empty, the server should treat this as "there is no
	// information about other clients". In practice, this happens by the next
	// causes:
	// 1. This is the old client which doesn't set this field.
	// 2. There are too many active devices and the list would have too many
	// items.
	// 3. An empty list could also mean that the current client is the only
	// client. This case should be covered by the
	// |single_client_with_standalone_invalidations| field instead (otherwise it
	// could be mixed up with older clients). The server doesn't have to use this
	// field and can ignore it.
	// Introduced in M105.
	FcmRegistrationTokensForInterestedClients []string `` /* 185-byte string literal not displayed */
	// Similar to |single_client| but takes into account only clients which are
	// subscribed to old invalidations (i.e. not subscribed to sync standalone
	// invalidations). When set to true, there are no other clients subscribed to
	// old invalidations. Note that opposed to |single_client|, this flag does not
	// always take into account the list of interested data types (because
	// interested data types were introduced in M89). When the list is empty, a
	// client is considered to be subscribed to all data types. Note that "single
	// client" is a bit misleading since this will also be true if there are no
	// clients with old invalidations at all.
	// Introduced in M110.
	SingleClientWithOldInvalidations *bool `` /* 157-byte string literal not displayed */
	// 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) GetDevicesFcmRegistrationTokens added in v0.1.20

func (x *ClientConfigParams) GetDevicesFcmRegistrationTokens() []string

func (*ClientConfigParams) GetEnabledTypeIds

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

func (*ClientConfigParams) GetFcmRegistrationTokensForInterestedClients added in v0.1.20

func (x *ClientConfigParams) GetFcmRegistrationTokensForInterestedClients() []string

func (*ClientConfigParams) GetSingleClient added in v0.1.11

func (x *ClientConfigParams) GetSingleClient() bool

func (*ClientConfigParams) GetSingleClientWithOldInvalidations added in v0.1.20

func (x *ClientConfigParams) GetSingleClientWithOldInvalidations() bool

func (*ClientConfigParams) GetSingleClientWithStandaloneInvalidations added in v0.1.20

func (x *ClientConfigParams) GetSingleClientWithStandaloneInvalidations() bool

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.
	// TODO(crbug.com/1315573): Deprecated in M103.
	//
	// Deprecated: Marked as deprecated in sync.proto.
	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 deprecated

func (x *ClientStatus) GetHierarchyConflictDetected() bool

Deprecated: Marked as deprecated in sync.proto.

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=99" 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"`
	// Opaque server-provided ID representing an "epoch" of the server-side data.
	// Clients must hand this opaque ID back to the server as part of all requests
	// within the same sync session (i.e. for all requests to the server except
	// the very first GetUpdates request). See analogous field
	// ClientToServerResponse.store_birthday for more details about its lifetime.
	StoreBirthday *string `protobuf:"bytes,7,opt,name=store_birthday,json=storeBirthday" json:"store_birthday,omitempty"`
	// 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 server-provided ID representing an "epoch" of the server-side data,
	// referred to as "birthday" or "store birthday". This ID remains fixed until
	// server-side data gets cleared/reset (e.g. via ClearServerDataMessage),
	// which clients experience as NOT_MY_BIRTHDAY error, and involves clearing
	// all local sync metadata including the cached store birthday.
	//
	// This mechanism allows the server to implement clear-data/reset
	// functionality that reliably identifies and deletes sync entities uploaded
	// before the clear-data/reset event (e.g. via ClearServerDataMessage).
	// Furthermore, it allows the server to deal reliably with in-flight changes
	// from other clients upon clear-data event, because all writes issued with an
	// outdated birthday (which in-flight writes would use) can be detected by the
	// server.
	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"`
	// 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) 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"`
	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) 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"`
	// The item's current version.
	Version      *int64  `protobuf:"varint,6,opt,name=version" json:"version,omitempty"`
	ErrorMessage *string `protobuf:"bytes,9,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// Last modification time (in milliseconds since Unix epoch).  Allows the
	// server to override the client-supplied mtime during a commit operation.
	// TODO(crbug.com/1182252): Delete this field too.
	//
	// Deprecated: Marked as deprecated in sync.proto.
	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 deprecated

func (x *CommitResponse_EntryResponse) GetMtime() int64

Deprecated: Marked as deprecated in sync.proto.

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 ContactInfoSpecifics added in v0.1.20

type ContactInfoSpecifics struct {

	// A globally unique, immutable UUID represented in lowercase.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// The number of time this profile has been used.
	UseCount *int64 `protobuf:"varint,3,opt,name=use_count,json=useCount" json:"use_count,omitempty"`
	// The last time this profile was used.
	UseDateWindowsEpochMicros *int64 `` /* 136-byte string literal not displayed */
	// The last time the profile was modified.
	DateModifiedWindowsEpochMicros *int64 `` /* 152-byte string literal not displayed */
	// The BCP 47 language code used to format the address for display.
	LanguageCode *string `protobuf:"bytes,38,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
	// A user chosen profile label that is used to identify the profile.
	// The value of the label can be freely chosen by the user.
	ProfileLabel *string `protobuf:"bytes,5,opt,name=profile_label,json=profileLabel" json:"profile_label,omitempty"`
	// Tracks the application that initially created the profile. The integer
	// represents a value in the server-side enum `BillableService`. A value of
	// 70073 represents Chrome (enum value BILLABLE_SERVICE_CHROME_PAYMENTS).
	InitialCreatorId *int32 `protobuf:"varint,39,opt,name=initial_creator_id,json=initialCreatorId" json:"initial_creator_id,omitempty"`
	// Tracks the application that applied the last modification to the
	// non-metadata content of the profile. It represents a value in the same
	// `BillableService` enum.
	// All String- and IntegerToken, and the `profile_label` are considered
	// non-metadata.
	LastModifierId *int32 `protobuf:"varint,40,opt,name=last_modifier_id,json=lastModifierId" json:"last_modifier_id,omitempty"`
	// Contact info name fields.
	NameHonorific *ContactInfoSpecifics_StringToken `protobuf:"bytes,6,opt,name=name_honorific,json=nameHonorific" json:"name_honorific,omitempty"`
	NameFirst     *ContactInfoSpecifics_StringToken `protobuf:"bytes,7,opt,name=name_first,json=nameFirst" json:"name_first,omitempty"`
	NameMiddle    *ContactInfoSpecifics_StringToken `protobuf:"bytes,8,opt,name=name_middle,json=nameMiddle" json:"name_middle,omitempty"`
	NameLast      *ContactInfoSpecifics_StringToken `protobuf:"bytes,9,opt,name=name_last,json=nameLast" json:"name_last,omitempty"`
	// Sometimes the last name is composed of two names as it is common for
	// Hispanic/Latinx names. In the unstructured representation of the last name,
	// there may be even a conjunction between the first and the second last
	// name. For example, the more-complete version of Pablo Picasso's surname is
	// "Ruiz y Picasso" containing a first last name, a conjunction (the y) and a
	// second last name.
	NameLastFirst       *ContactInfoSpecifics_StringToken `protobuf:"bytes,10,opt,name=name_last_first,json=nameLastFirst" json:"name_last_first,omitempty"`
	NameLastConjunction *ContactInfoSpecifics_StringToken `protobuf:"bytes,11,opt,name=name_last_conjunction,json=nameLastConjunction" json:"name_last_conjunction,omitempty"`
	NameLastSecond      *ContactInfoSpecifics_StringToken `protobuf:"bytes,12,opt,name=name_last_second,json=nameLastSecond" json:"name_last_second,omitempty"`
	NameFull            *ContactInfoSpecifics_StringToken `protobuf:"bytes,13,opt,name=name_full,json=nameFull" json:"name_full,omitempty"`
	// This value contains the combination of the full name and the honorific
	// prefix.
	NameFullWithHonorific *ContactInfoSpecifics_StringToken `protobuf:"bytes,14,opt,name=name_full_with_honorific,json=nameFullWithHonorific" json:"name_full_with_honorific,omitempty"`
	// Contact info additional fields.
	EmailAddress *ContactInfoSpecifics_StringToken `protobuf:"bytes,15,opt,name=email_address,json=emailAddress" json:"email_address,omitempty"`
	CompanyName  *ContactInfoSpecifics_StringToken `protobuf:"bytes,16,opt,name=company_name,json=companyName" json:"company_name,omitempty"`
	// Address fields: These are user-provided values with no particular
	// guarantees about their format.
	AddressCity           *ContactInfoSpecifics_StringToken `protobuf:"bytes,17,opt,name=address_city,json=addressCity" json:"address_city,omitempty"`
	AddressState          *ContactInfoSpecifics_StringToken `protobuf:"bytes,18,opt,name=address_state,json=addressState" json:"address_state,omitempty"`
	AddressZip            *ContactInfoSpecifics_StringToken `protobuf:"bytes,19,opt,name=address_zip,json=addressZip" json:"address_zip,omitempty"`
	AddressCountry        *ContactInfoSpecifics_StringToken `protobuf:"bytes,20,opt,name=address_country,json=addressCountry" json:"address_country,omitempty"`
	AddressLandmark       *ContactInfoSpecifics_StringToken `protobuf:"bytes,41,opt,name=address_landmark,json=addressLandmark" json:"address_landmark,omitempty"`
	AddressBetweenStreets *ContactInfoSpecifics_StringToken `protobuf:"bytes,42,opt,name=address_between_streets,json=addressBetweenStreets" json:"address_between_streets,omitempty"`
	AddressAdminLevel_2   *ContactInfoSpecifics_StringToken `protobuf:"bytes,43,opt,name=address_admin_level_2,json=addressAdminLevel2" json:"address_admin_level_2,omitempty"`
	// Additional address fields for i18n.
	// Includes all of the lines of a street address, including newlines, e.g.
	//
	//	123 Main Street,
	//	Apt. #42
	AddressStreetAddress *ContactInfoSpecifics_StringToken `protobuf:"bytes,21,opt,name=address_street_address,json=addressStreetAddress" json:"address_street_address,omitempty"`
	// A sorting code is similar to a postal code. However, whereas a postal code
	// normally refers to a single geographical location, a sorting code often
	// does not. Instead, a sorting code is assigned to an organization, which
	// might be geographically distributed. The most prominent example of a
	// sorting code system is CEDEX in France.
	AddressSortingCode *ContactInfoSpecifics_StringToken `protobuf:"bytes,22,opt,name=address_sorting_code,json=addressSortingCode" json:"address_sorting_code,omitempty"`
	// A dependent locality is a subunit of a locality, where a "locality" is
	// roughly equivalent to a city. Examples of dependent localities include
	// inner-city districts and suburbs.
	AddressDependentLocality *ContactInfoSpecifics_StringToken `` /* 129-byte string literal not displayed */
	// The street name of the address, without a house number.
	AddressThoroughfareName *ContactInfoSpecifics_StringToken `` /* 126-byte string literal not displayed */
	// The house number, which may be alphanumeric.
	AddressThoroughfareNumber *ContactInfoSpecifics_StringToken `` /* 132-byte string literal not displayed */
	// Describes a crossing street as it is used in some countries to describe a
	// location.
	AddressDependentThoroughfareName *ContactInfoSpecifics_StringToken `` /* 155-byte string literal not displayed */
	// Contains both the thoroughfare and the dependent thoroughfare name.
	AddressThoroughfareAndDependentThoroughfareName *ContactInfoSpecifics_StringToken `` /* 204-byte string literal not displayed */
	// A premise name corresponds to the name of a place or a building below the
	// granularity of a street.
	AddressPremiseName *ContactInfoSpecifics_StringToken `protobuf:"bytes,29,opt,name=address_premise_name,json=addressPremiseName" json:"address_premise_name,omitempty"`
	// Contains the floor, staircase or apartment number within a building.
	AddressSubpremiseName *ContactInfoSpecifics_StringToken `protobuf:"bytes,30,opt,name=address_subpremise_name,json=addressSubpremiseName" json:"address_subpremise_name,omitempty"`
	// The apartment number within a building.
	AddressAptNum *ContactInfoSpecifics_StringToken `protobuf:"bytes,31,opt,name=address_apt_num,json=addressAptNum" json:"address_apt_num,omitempty"`
	// The floor number within a building.
	AddressFloor *ContactInfoSpecifics_StringToken `protobuf:"bytes,32,opt,name=address_floor,json=addressFloor" json:"address_floor,omitempty"`
	// Phone.
	PhoneHomeWholeNumber *ContactInfoSpecifics_StringToken `protobuf:"bytes,33,opt,name=phone_home_whole_number,json=phoneHomeWholeNumber" json:"phone_home_whole_number,omitempty"`
	// Birthdate fields.
	BirthdateDay   *ContactInfoSpecifics_IntegerToken `protobuf:"bytes,34,opt,name=birthdate_day,json=birthdateDay" json:"birthdate_day,omitempty"`
	BirthdateMonth *ContactInfoSpecifics_IntegerToken `protobuf:"bytes,35,opt,name=birthdate_month,json=birthdateMonth" json:"birthdate_month,omitempty"` // Between 1 and 12.
	BirthdateYear  *ContactInfoSpecifics_IntegerToken `protobuf:"bytes,36,opt,name=birthdate_year,json=birthdateYear" json:"birthdate_year,omitempty"`    // 4 digits.
	// contains filtered or unexported fields
}

func (*ContactInfoSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ContactInfoSpecifics.ProtoReflect.Descriptor instead.

func (*ContactInfoSpecifics) GetAddressAdminLevel_2 added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressAdminLevel_2() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressAptNum added in v0.1.20

func (*ContactInfoSpecifics) GetAddressBetweenStreets added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressBetweenStreets() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressCity added in v0.1.20

func (*ContactInfoSpecifics) GetAddressCountry added in v0.1.20

func (*ContactInfoSpecifics) GetAddressDependentLocality added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressDependentLocality() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressDependentThoroughfareName added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressDependentThoroughfareName() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressFloor added in v0.1.20

func (*ContactInfoSpecifics) GetAddressLandmark added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressLandmark() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressPremiseName added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressPremiseName() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressSortingCode added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressSortingCode() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressState added in v0.1.20

func (*ContactInfoSpecifics) GetAddressStreetAddress added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressStreetAddress() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressSubpremiseName added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressSubpremiseName() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressThoroughfareAndDependentThoroughfareName added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressThoroughfareAndDependentThoroughfareName() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressThoroughfareName added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressThoroughfareName() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressThoroughfareNumber added in v0.1.20

func (x *ContactInfoSpecifics) GetAddressThoroughfareNumber() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetAddressZip added in v0.1.20

func (*ContactInfoSpecifics) GetBirthdateDay added in v0.1.20

func (*ContactInfoSpecifics) GetBirthdateMonth added in v0.1.20

func (*ContactInfoSpecifics) GetBirthdateYear added in v0.1.20

func (*ContactInfoSpecifics) GetCompanyName added in v0.1.20

func (*ContactInfoSpecifics) GetDateModifiedWindowsEpochMicros added in v0.1.20

func (x *ContactInfoSpecifics) GetDateModifiedWindowsEpochMicros() int64

func (*ContactInfoSpecifics) GetEmailAddress added in v0.1.20

func (*ContactInfoSpecifics) GetGuid added in v0.1.20

func (x *ContactInfoSpecifics) GetGuid() string

func (*ContactInfoSpecifics) GetInitialCreatorId added in v0.1.20

func (x *ContactInfoSpecifics) GetInitialCreatorId() int32

func (*ContactInfoSpecifics) GetLanguageCode added in v0.1.20

func (x *ContactInfoSpecifics) GetLanguageCode() string

func (*ContactInfoSpecifics) GetLastModifierId added in v0.1.20

func (x *ContactInfoSpecifics) GetLastModifierId() int32

func (*ContactInfoSpecifics) GetNameFirst added in v0.1.20

func (*ContactInfoSpecifics) GetNameFull added in v0.1.20

func (*ContactInfoSpecifics) GetNameFullWithHonorific added in v0.1.20

func (x *ContactInfoSpecifics) GetNameFullWithHonorific() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetNameHonorific added in v0.1.20

func (*ContactInfoSpecifics) GetNameLast added in v0.1.20

func (*ContactInfoSpecifics) GetNameLastConjunction added in v0.1.20

func (x *ContactInfoSpecifics) GetNameLastConjunction() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetNameLastFirst added in v0.1.20

func (*ContactInfoSpecifics) GetNameLastSecond added in v0.1.20

func (*ContactInfoSpecifics) GetNameMiddle added in v0.1.20

func (*ContactInfoSpecifics) GetPhoneHomeWholeNumber added in v0.1.20

func (x *ContactInfoSpecifics) GetPhoneHomeWholeNumber() *ContactInfoSpecifics_StringToken

func (*ContactInfoSpecifics) GetProfileLabel added in v0.1.20

func (x *ContactInfoSpecifics) GetProfileLabel() string

func (*ContactInfoSpecifics) GetUseCount added in v0.1.20

func (x *ContactInfoSpecifics) GetUseCount() int64

func (*ContactInfoSpecifics) GetUseDateWindowsEpochMicros added in v0.1.20

func (x *ContactInfoSpecifics) GetUseDateWindowsEpochMicros() int64

func (*ContactInfoSpecifics) ProtoMessage added in v0.1.20

func (*ContactInfoSpecifics) ProtoMessage()

func (*ContactInfoSpecifics) ProtoReflect added in v0.1.20

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

func (*ContactInfoSpecifics) Reset added in v0.1.20

func (x *ContactInfoSpecifics) Reset()

func (*ContactInfoSpecifics) String added in v0.1.20

func (x *ContactInfoSpecifics) String() string

type ContactInfoSpecifics_IntegerToken added in v0.1.20

type ContactInfoSpecifics_IntegerToken struct {
	Value    *int64                              `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	Metadata *ContactInfoSpecifics_TokenMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

A token with an integer interpretation of the value.

func (*ContactInfoSpecifics_IntegerToken) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ContactInfoSpecifics_IntegerToken.ProtoReflect.Descriptor instead.

func (*ContactInfoSpecifics_IntegerToken) GetMetadata added in v0.1.20

func (*ContactInfoSpecifics_IntegerToken) GetValue added in v0.1.20

func (*ContactInfoSpecifics_IntegerToken) ProtoMessage added in v0.1.20

func (*ContactInfoSpecifics_IntegerToken) ProtoMessage()

func (*ContactInfoSpecifics_IntegerToken) ProtoReflect added in v0.1.20

func (*ContactInfoSpecifics_IntegerToken) Reset added in v0.1.20

func (*ContactInfoSpecifics_IntegerToken) String added in v0.1.20

type ContactInfoSpecifics_StringToken added in v0.1.20

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

A token with a string interpretation of the value.

func (*ContactInfoSpecifics_StringToken) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ContactInfoSpecifics_StringToken.ProtoReflect.Descriptor instead.

func (*ContactInfoSpecifics_StringToken) GetMetadata added in v0.1.20

func (*ContactInfoSpecifics_StringToken) GetValue added in v0.1.20

func (*ContactInfoSpecifics_StringToken) ProtoMessage added in v0.1.20

func (*ContactInfoSpecifics_StringToken) ProtoMessage()

func (*ContactInfoSpecifics_StringToken) ProtoReflect added in v0.1.20

func (*ContactInfoSpecifics_StringToken) Reset added in v0.1.20

func (*ContactInfoSpecifics_StringToken) String added in v0.1.20

type ContactInfoSpecifics_TokenMetadata added in v0.1.20

type ContactInfoSpecifics_TokenMetadata struct {
	Status *ContactInfoSpecifics_VerificationStatus `protobuf:"varint,1,opt,name=status,enum=sync_pb.ContactInfoSpecifics_VerificationStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Metadata that is attached to every token type.

func (*ContactInfoSpecifics_TokenMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ContactInfoSpecifics_TokenMetadata.ProtoReflect.Descriptor instead.

func (*ContactInfoSpecifics_TokenMetadata) GetStatus added in v0.1.20

func (*ContactInfoSpecifics_TokenMetadata) ProtoMessage added in v0.1.20

func (*ContactInfoSpecifics_TokenMetadata) ProtoMessage()

func (*ContactInfoSpecifics_TokenMetadata) ProtoReflect added in v0.1.20

func (*ContactInfoSpecifics_TokenMetadata) Reset added in v0.1.20

func (*ContactInfoSpecifics_TokenMetadata) String added in v0.1.20

type ContactInfoSpecifics_VerificationStatus added in v0.1.20

type ContactInfoSpecifics_VerificationStatus int32

Represents the validation status of a stored value.

const (
	// No verification status assigned.
	ContactInfoSpecifics_VERIFICATION_STATUS_UNSPECIFIED ContactInfoSpecifics_VerificationStatus = 0
	// The value token was parsed from a parent token.
	// For example, the first name was derived by splitting a full name into
	// its components.
	ContactInfoSpecifics_PARSED ContactInfoSpecifics_VerificationStatus = 1
	// Value was built from its subcomponents.
	// For example, the full name was built from the first, middle and last
	// name.
	ContactInfoSpecifics_FORMATTED ContactInfoSpecifics_VerificationStatus = 2
	// The value was observed in a form transmission.
	// For example, the user filled a form that contained at NAME_FULL field.
	// The value of NAME_FULL will be stored as OBSERVED.
	ContactInfoSpecifics_OBSERVED ContactInfoSpecifics_VerificationStatus = 3
	// The user used the settings UI to verify and store this token.
	// This is currently only applicable to the full name, since users cannot
	// edit individual components of their name.
	ContactInfoSpecifics_USER_VERIFIED ContactInfoSpecifics_VerificationStatus = 4
	// The token was parsed remotely.
	ContactInfoSpecifics_SERVER_PARSED ContactInfoSpecifics_VerificationStatus = 5
)

func (ContactInfoSpecifics_VerificationStatus) Descriptor added in v0.1.20

func (ContactInfoSpecifics_VerificationStatus) Enum added in v0.1.20

func (ContactInfoSpecifics_VerificationStatus) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use ContactInfoSpecifics_VerificationStatus.Descriptor instead.

func (ContactInfoSpecifics_VerificationStatus) Number added in v0.1.20

func (ContactInfoSpecifics_VerificationStatus) String added in v0.1.20

func (ContactInfoSpecifics_VerificationStatus) Type added in v0.1.20

func (*ContactInfoSpecifics_VerificationStatus) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type CrossUserSharingKeys added in v0.1.20

type CrossUserSharingKeys struct {

	// Asymmetric private-keys used for cross user sharing.
	PrivateKey []*CrossUserSharingPrivateKey `protobuf:"bytes,1,rep,name=private_key,json=privateKey" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrossUserSharingKeys) Descriptor deprecated added in v0.1.20

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

Deprecated: Use CrossUserSharingKeys.ProtoReflect.Descriptor instead.

func (*CrossUserSharingKeys) GetPrivateKey added in v0.1.20

func (x *CrossUserSharingKeys) GetPrivateKey() []*CrossUserSharingPrivateKey

func (*CrossUserSharingKeys) ProtoMessage added in v0.1.20

func (*CrossUserSharingKeys) ProtoMessage()

func (*CrossUserSharingKeys) ProtoReflect added in v0.1.20

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

func (*CrossUserSharingKeys) Reset added in v0.1.20

func (x *CrossUserSharingKeys) Reset()

func (*CrossUserSharingKeys) String added in v0.1.20

func (x *CrossUserSharingKeys) String() string

type CrossUserSharingPrivateKey added in v0.1.20

type CrossUserSharingPrivateKey struct {

	// The key version, used for key rotation.
	Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	// Private key on Curve25519 (32 bytes).
	X25519PrivateKey []byte `protobuf:"bytes,2,opt,name=X25519_private_key,json=X25519PrivateKey" json:"X25519_private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrossUserSharingPrivateKey) Descriptor deprecated added in v0.1.20

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

Deprecated: Use CrossUserSharingPrivateKey.ProtoReflect.Descriptor instead.

func (*CrossUserSharingPrivateKey) GetVersion added in v0.1.20

func (x *CrossUserSharingPrivateKey) GetVersion() int32

func (*CrossUserSharingPrivateKey) GetX25519PrivateKey added in v0.1.20

func (x *CrossUserSharingPrivateKey) GetX25519PrivateKey() []byte

func (*CrossUserSharingPrivateKey) ProtoMessage added in v0.1.20

func (*CrossUserSharingPrivateKey) ProtoMessage()

func (*CrossUserSharingPrivateKey) ProtoReflect added in v0.1.20

func (*CrossUserSharingPrivateKey) Reset added in v0.1.20

func (x *CrossUserSharingPrivateKey) Reset()

func (*CrossUserSharingPrivateKey) String added in v0.1.20

func (x *CrossUserSharingPrivateKey) String() string

type CrossUserSharingPublicKey added in v0.1.20

type CrossUserSharingPublicKey struct {

	// The key version, used for key rotation and consensus.
	Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	// Public key on Curve25519 (32 bytes).
	X25519PublicKey []byte `protobuf:"bytes,2,opt,name=X25519_public_key,json=X25519PublicKey" json:"X25519_public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CrossUserSharingPublicKey) Descriptor deprecated added in v0.1.20

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

Deprecated: Use CrossUserSharingPublicKey.ProtoReflect.Descriptor instead.

func (*CrossUserSharingPublicKey) GetVersion added in v0.1.20

func (x *CrossUserSharingPublicKey) GetVersion() int32

func (*CrossUserSharingPublicKey) GetX25519PublicKey added in v0.1.20

func (x *CrossUserSharingPublicKey) GetX25519PublicKey() []byte

func (*CrossUserSharingPublicKey) ProtoMessage added in v0.1.20

func (*CrossUserSharingPublicKey) ProtoMessage()

func (*CrossUserSharingPublicKey) ProtoReflect added in v0.1.20

func (*CrossUserSharingPublicKey) Reset added in v0.1.20

func (x *CrossUserSharingPublicKey) Reset()

func (*CrossUserSharingPublicKey) String added in v0.1.20

func (x *CrossUserSharingPublicKey) String() string

type CryptographerData

type CryptographerData struct {

	// Contains all known Nigori keys.
	// TODO(crbug/1445056): fork the NigoriKeyBag into a local proto.
	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 cross user sharing related keys.
	CrossUserSharingKeys *CrossUserSharingKeys `protobuf:"bytes,3,opt,name=cross_user_sharing_keys,json=crossUserSharingKeys" json:"cross_user_sharing_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*CryptographerData) Descriptor deprecated

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

Deprecated: Use CryptographerData.ProtoReflect.Descriptor instead.

func (*CryptographerData) GetCrossUserSharingKeys added in v0.1.20

func (x *CryptographerData) GetCrossUserSharingKeys() *CrossUserSharingKeys

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"`
	// 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) 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 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 */
	// contains filtered or unexported fields
}

func (*DebugEventInfo) Descriptor deprecated

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

Deprecated: Use DebugEventInfo.ProtoReflect.Descriptor instead.

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.
	// Deprecated in M110, but still populated for backwards compatibility.
	// Replaced by os_type + device_form_factor.
	//
	// Deprecated: Marked as deprecated in device_info_specifics.proto.
	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.
	// Only present when talking to the HTTP 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.
	// DEPRECATED in M92. Still populated for backward compatibility.
	//
	// Deprecated: Marked as deprecated in device_info_specifics.proto.
	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: Marked as deprecated in device_info_specifics.proto.
	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. Present only for Chrome Clients.
	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 */
	// Device specific information for Sync invalidations.
	InvalidationFields *InvalidationSpecificFields `protobuf:"bytes,14,opt,name=invalidation_fields,json=invalidationFields" json:"invalidation_fields,omitempty"`
	// Information for contacting this device in order to perform security key
	// operations.
	PaaskFields *PhoneAsASecurityKeySpecificFields `protobuf:"bytes,15,opt,name=paask_fields,json=paaskFields" json:"paask_fields,omitempty"`
	// Unique hardware identifier string which details the HW combination of
	// a ChromeOS device. This field will be empty on other OS devices.
	FullHardwareClass *string `protobuf:"bytes,16,opt,name=full_hardware_class,json=fullHardwareClass" json:"full_hardware_class,omitempty"`
	// Version information to pin-point which client implementation this is.
	//
	// Types that are assignable to ClientVersionInfo:
	//
	//	*DeviceInfoSpecifics_ChromeVersionInfo
	//	*DeviceInfoSpecifics_GooglePlayServicesVersionInfo
	ClientVersionInfo isDeviceInfoSpecifics_ClientVersionInfo `protobuf_oneof:"client_version_info"`
	// The OS type the device.
	OsType *SyncEnums_OsType `protobuf:"varint,19,opt,name=os_type,json=osType,enum=sync_pb.SyncEnums_OsType" json:"os_type,omitempty"`
	// The form factor of the device.
	DeviceFormFactor *SyncEnums_DeviceFormFactor `` /* 146-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 deprecated

func (x *DeviceInfoSpecifics) GetChromeVersion() string

Deprecated: Marked as deprecated in device_info_specifics.proto.

func (*DeviceInfoSpecifics) GetChromeVersionInfo added in v0.1.20

func (x *DeviceInfoSpecifics) GetChromeVersionInfo() *ChromeVersionInfo

func (*DeviceInfoSpecifics) GetClientName

func (x *DeviceInfoSpecifics) GetClientName() string

func (*DeviceInfoSpecifics) GetClientVersionInfo added in v0.1.20

func (m *DeviceInfoSpecifics) GetClientVersionInfo() isDeviceInfoSpecifics_ClientVersionInfo

func (*DeviceInfoSpecifics) GetDeprecatedBackupTimestamp deprecated

func (x *DeviceInfoSpecifics) GetDeprecatedBackupTimestamp() int64

Deprecated: Marked as deprecated in device_info_specifics.proto.

func (*DeviceInfoSpecifics) GetDeviceFormFactor added in v0.1.20

func (x *DeviceInfoSpecifics) GetDeviceFormFactor() SyncEnums_DeviceFormFactor

func (*DeviceInfoSpecifics) GetDeviceType deprecated

func (x *DeviceInfoSpecifics) GetDeviceType() SyncEnums_DeviceType

Deprecated: Marked as deprecated in device_info_specifics.proto.

func (*DeviceInfoSpecifics) GetFeatureFields

func (x *DeviceInfoSpecifics) GetFeatureFields() *FeatureSpecificFields

func (*DeviceInfoSpecifics) GetFullHardwareClass added in v0.1.20

func (x *DeviceInfoSpecifics) GetFullHardwareClass() string

func (*DeviceInfoSpecifics) GetGooglePlayServicesVersionInfo added in v0.1.20

func (x *DeviceInfoSpecifics) GetGooglePlayServicesVersionInfo() *GooglePlayServicesVersionInfo

func (*DeviceInfoSpecifics) GetInvalidationFields added in v0.1.8

func (x *DeviceInfoSpecifics) GetInvalidationFields() *InvalidationSpecificFields

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) GetOsType added in v0.1.20

func (x *DeviceInfoSpecifics) GetOsType() SyncEnums_OsType

func (*DeviceInfoSpecifics) GetPaaskFields added in v0.1.20

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 DeviceInfoSpecifics_ChromeVersionInfo added in v0.1.20

type DeviceInfoSpecifics_ChromeVersionInfo struct {
	ChromeVersionInfo *ChromeVersionInfo `protobuf:"bytes,17,opt,name=chrome_version_info,json=chromeVersionInfo,oneof"`
}

type DeviceInfoSpecifics_GooglePlayServicesVersionInfo added in v0.1.20

type DeviceInfoSpecifics_GooglePlayServicesVersionInfo struct {
	GooglePlayServicesVersionInfo *GooglePlayServicesVersionInfo `protobuf:"bytes,18,opt,name=google_play_services_version_info,json=googlePlayServicesVersionInfo,oneof"`
}

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 EmptySpecifics added in v0.1.20

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

func (*EmptySpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use EmptySpecifics.ProtoReflect.Descriptor instead.

func (*EmptySpecifics) ProtoMessage added in v0.1.20

func (*EmptySpecifics) ProtoMessage()

func (*EmptySpecifics) ProtoReflect added in v0.1.20

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

func (*EmptySpecifics) Reset added in v0.1.20

func (x *EmptySpecifics) Reset()

func (*EmptySpecifics) String added in v0.1.20

func (x *EmptySpecifics) 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"` // base64-encoded.
	// 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_tag_hash.
	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"`
	// Used only for bookmarks. It's analogous to |specifics_hash| but it
	// exclusively hashes the content of the favicon image, as represented in
	// proto field BookmarkSpecifics.favicon, using base::PersistentHash().
	BookmarkFaviconHash *uint32 `protobuf:"fixed32,12,opt,name=bookmark_favicon_hash,json=bookmarkFaviconHash" json:"bookmark_favicon_hash,omitempty"`
	// Last specifics known by both the client and server. Used during commits to
	// the server in order to prevent data loss caused by older clients dealing
	// with unknown proto fields (fields that were introduced later). Datatypes
	// (ModelTypeSyncBridge) may implement logic to trim down (or fully clear)
	// this proto prior to caching, to avoid the memory and I/O overhead of
	// dealing with an extra copy of the data. Introduced in M101.
	PossiblyTrimmedBaseSpecifics *EntitySpecifics `` /* 143-byte string literal not displayed */
	// 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) GetBookmarkFaviconHash added in v0.1.8

func (x *EntityMetadata) GetBookmarkFaviconHash() uint32

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) GetPossiblyTrimmedBaseSpecifics added in v0.1.20

func (x *EntityMetadata) GetPossiblyTrimmedBaseSpecifics() *EntitySpecifics

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_Password
	//	*EntitySpecifics_Nigori
	//	*EntitySpecifics_Extension
	//	*EntitySpecifics_App
	//	*EntitySpecifics_Session
	//	*EntitySpecifics_AutofillProfile
	//	*EntitySpecifics_SearchEngine
	//	*EntitySpecifics_ExtensionSetting
	//	*EntitySpecifics_AppSetting
	//	*EntitySpecifics_HistoryDeleteDirective
	//	*EntitySpecifics_DeviceInfo
	//	*EntitySpecifics_PriorityPreference
	//	*EntitySpecifics_Dictionary
	//	*EntitySpecifics_ManagedUserSetting
	//	*EntitySpecifics_AppList
	//	*EntitySpecifics_AutofillWallet
	//	*EntitySpecifics_WalletMetadata
	//	*EntitySpecifics_ArcPackage
	//	*EntitySpecifics_Printer
	//	*EntitySpecifics_ReadingList
	//	*EntitySpecifics_UserEvent
	//	*EntitySpecifics_UserConsent
	//	*EntitySpecifics_SendTabToSelf
	//	*EntitySpecifics_SecurityEvent
	//	*EntitySpecifics_WebApk
	//	*EntitySpecifics_WebApp
	//	*EntitySpecifics_WifiConfiguration
	//	*EntitySpecifics_OsPreference
	//	*EntitySpecifics_OsPriorityPreference
	//	*EntitySpecifics_SharingMessage
	//	*EntitySpecifics_AutofillOffer
	//	*EntitySpecifics_WorkspaceDesk
	//	*EntitySpecifics_WebauthnCredential
	//	*EntitySpecifics_History
	//	*EntitySpecifics_PrintersAuthorizationServer
	//	*EntitySpecifics_SavedTabGroup
	//	*EntitySpecifics_AutofillWalletUsage
	//	*EntitySpecifics_ContactInfo
	//	*EntitySpecifics_Segmentation
	//	*EntitySpecifics_PowerBookmark
	//	*EntitySpecifics_IncomingPasswordSharingInvitation
	//	*EntitySpecifics_OutgoingPasswordSharingInvitation
	//	*EntitySpecifics_AppNotification
	//	*EntitySpecifics_SyncedNotification
	//	*EntitySpecifics_SyncedNotificationAppInfo
	//	*EntitySpecifics_Experiments
	//	*EntitySpecifics_FaviconTracking
	//	*EntitySpecifics_FaviconImage
	//	*EntitySpecifics_ManagedUser
	//	*EntitySpecifics_ManagedUserSharedSetting
	//	*EntitySpecifics_ManagedUserAllowlist
	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() *EmptySpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

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) GetAutofillOffer added in v0.1.11

func (x *EntitySpecifics) GetAutofillOffer() *AutofillOfferSpecifics

func (*EntitySpecifics) GetAutofillProfile

func (x *EntitySpecifics) GetAutofillProfile() *AutofillProfileSpecifics

func (*EntitySpecifics) GetAutofillWallet

func (x *EntitySpecifics) GetAutofillWallet() *AutofillWalletSpecifics

func (*EntitySpecifics) GetAutofillWalletUsage added in v0.1.20

func (x *EntitySpecifics) GetAutofillWalletUsage() *AutofillWalletUsageSpecifics

func (*EntitySpecifics) GetBookmark

func (x *EntitySpecifics) GetBookmark() *BookmarkSpecifics

func (*EntitySpecifics) GetContactInfo added in v0.1.20

func (x *EntitySpecifics) GetContactInfo() *ContactInfoSpecifics

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: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetExtension

func (x *EntitySpecifics) GetExtension() *ExtensionSpecifics

func (*EntitySpecifics) GetExtensionSetting

func (x *EntitySpecifics) GetExtensionSetting() *ExtensionSettingSpecifics

func (*EntitySpecifics) GetFaviconImage deprecated

func (x *EntitySpecifics) GetFaviconImage() *FaviconImageSpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetFaviconTracking deprecated

func (x *EntitySpecifics) GetFaviconTracking() *FaviconTrackingSpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetHistory added in v0.1.20

func (x *EntitySpecifics) GetHistory() *HistorySpecifics

func (*EntitySpecifics) GetHistoryDeleteDirective

func (x *EntitySpecifics) GetHistoryDeleteDirective() *HistoryDeleteDirectiveSpecifics

func (*EntitySpecifics) GetIncomingPasswordSharingInvitation added in v0.1.20

func (x *EntitySpecifics) GetIncomingPasswordSharingInvitation() *IncomingPasswordSharingInvitationSpecifics

func (*EntitySpecifics) GetManagedUser deprecated

func (x *EntitySpecifics) GetManagedUser() *EmptySpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetManagedUserAllowlist deprecated added in v0.1.20

func (x *EntitySpecifics) GetManagedUserAllowlist() *EmptySpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetManagedUserSetting

func (x *EntitySpecifics) GetManagedUserSetting() *ManagedUserSettingSpecifics

func (*EntitySpecifics) GetManagedUserSharedSetting deprecated

func (x *EntitySpecifics) GetManagedUserSharedSetting() *ManagedUserSharedSettingSpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

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) GetOutgoingPasswordSharingInvitation added in v0.1.20

func (x *EntitySpecifics) GetOutgoingPasswordSharingInvitation() *OutgoingPasswordSharingInvitationSpecifics

func (*EntitySpecifics) GetPassword

func (x *EntitySpecifics) GetPassword() *PasswordSpecifics

func (*EntitySpecifics) GetPowerBookmark added in v0.1.20

func (x *EntitySpecifics) GetPowerBookmark() *PowerBookmarkSpecifics

func (*EntitySpecifics) GetPreference

func (x *EntitySpecifics) GetPreference() *PreferenceSpecifics

func (*EntitySpecifics) GetPrinter

func (x *EntitySpecifics) GetPrinter() *PrinterSpecifics

func (*EntitySpecifics) GetPrintersAuthorizationServer added in v0.1.20

func (x *EntitySpecifics) GetPrintersAuthorizationServer() *PrintersAuthorizationServerSpecifics

func (*EntitySpecifics) GetPriorityPreference

func (x *EntitySpecifics) GetPriorityPreference() *PriorityPreferenceSpecifics

func (*EntitySpecifics) GetReadingList

func (x *EntitySpecifics) GetReadingList() *ReadingListSpecifics

func (*EntitySpecifics) GetSavedTabGroup added in v0.1.20

func (x *EntitySpecifics) GetSavedTabGroup() *SavedTabGroupSpecifics

func (*EntitySpecifics) GetSearchEngine

func (x *EntitySpecifics) GetSearchEngine() *SearchEngineSpecifics

func (*EntitySpecifics) GetSecurityEvent

func (x *EntitySpecifics) GetSecurityEvent() *SecurityEventSpecifics

func (*EntitySpecifics) GetSegmentation added in v0.1.20

func (x *EntitySpecifics) GetSegmentation() *SegmentationSpecifics

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() *EmptySpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

func (*EntitySpecifics) GetSyncedNotificationAppInfo deprecated

func (x *EntitySpecifics) GetSyncedNotificationAppInfo() *EmptySpecifics

Deprecated: Marked as deprecated in entity_specifics.proto.

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) GetWebApk added in v0.1.20

func (x *EntitySpecifics) GetWebApk() *WebApkSpecifics

func (*EntitySpecifics) GetWebApp

func (x *EntitySpecifics) GetWebApp() *WebAppSpecifics

func (*EntitySpecifics) GetWebauthnCredential added in v0.1.20

func (x *EntitySpecifics) GetWebauthnCredential() *WebauthnCredentialSpecifics

func (*EntitySpecifics) GetWifiConfiguration

func (x *EntitySpecifics) GetWifiConfiguration() *WifiConfigurationSpecifics

func (*EntitySpecifics) GetWorkspaceDesk added in v0.1.20

func (x *EntitySpecifics) GetWorkspaceDesk() *WorkspaceDeskSpecifics

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 {
	// No-longer-supported data types, in various stages of removal.
	// TODO(crbug.com/1395003): Eventually, these should all become "reserved"
	// fields, or at least use "EmptySpecifics". But some of them are still
	// needed by the server, e.g. to support older clients.
	//
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	AppNotification *EmptySpecifics `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_AutofillOffer added in v0.1.11

type EntitySpecifics_AutofillOffer struct {
	AutofillOffer *AutofillOfferSpecifics `protobuf:"bytes,774329,opt,name=autofill_offer,json=autofillOffer,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_AutofillWalletUsage added in v0.1.20

type EntitySpecifics_AutofillWalletUsage struct {
	AutofillWalletUsage *AutofillWalletUsageSpecifics `protobuf:"bytes,1033580,opt,name=autofill_wallet_usage,json=autofillWalletUsage,oneof"`
}

type EntitySpecifics_Bookmark

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

type EntitySpecifics_ContactInfo added in v0.1.20

type EntitySpecifics_ContactInfo struct {
	ContactInfo *ContactInfoSpecifics `protobuf:"bytes,1034378,opt,name=contact_info,json=contactInfo,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 {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	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 {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	FaviconImage *FaviconImageSpecifics `protobuf:"bytes,182019,opt,name=favicon_image,json=faviconImage,oneof"`
}

type EntitySpecifics_FaviconTracking

type EntitySpecifics_FaviconTracking struct {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	FaviconTracking *FaviconTrackingSpecifics `protobuf:"bytes,181534,opt,name=favicon_tracking,json=faviconTracking,oneof"`
}

type EntitySpecifics_History added in v0.1.20

type EntitySpecifics_History struct {
	History *HistorySpecifics `protobuf:"bytes,963985,opt,name=history,oneof"`
}

type EntitySpecifics_HistoryDeleteDirective

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

type EntitySpecifics_IncomingPasswordSharingInvitation added in v0.1.20

type EntitySpecifics_IncomingPasswordSharingInvitation struct {
	IncomingPasswordSharingInvitation *IncomingPasswordSharingInvitationSpecifics `protobuf:"bytes,1141935,opt,name=incoming_password_sharing_invitation,json=incomingPasswordSharingInvitation,oneof"`
}

type EntitySpecifics_ManagedUser

type EntitySpecifics_ManagedUser struct {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	ManagedUser *EmptySpecifics `protobuf:"bytes,194582,opt,name=managed_user,json=managedUser,oneof"`
}

type EntitySpecifics_ManagedUserAllowlist added in v0.1.20

type EntitySpecifics_ManagedUserAllowlist struct {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	ManagedUserAllowlist *EmptySpecifics `protobuf:"bytes,306060,opt,name=managed_user_allowlist,json=managedUserAllowlist,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 {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	ManagedUserSharedSetting *ManagedUserSharedSettingSpecifics `protobuf:"bytes,202026,opt,name=managed_user_shared_setting,json=managedUserSharedSetting,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_OutgoingPasswordSharingInvitation added in v0.1.20

type EntitySpecifics_OutgoingPasswordSharingInvitation struct {
	OutgoingPasswordSharingInvitation *OutgoingPasswordSharingInvitationSpecifics `protobuf:"bytes,1142081,opt,name=outgoing_password_sharing_invitation,json=outgoingPasswordSharingInvitation,oneof"`
}

type EntitySpecifics_Password

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

type EntitySpecifics_PowerBookmark added in v0.1.20

type EntitySpecifics_PowerBookmark struct {
	PowerBookmark *PowerBookmarkSpecifics `protobuf:"bytes,1073150,opt,name=power_bookmark,json=powerBookmark,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_PrintersAuthorizationServer added in v0.1.20

type EntitySpecifics_PrintersAuthorizationServer struct {
	PrintersAuthorizationServer *PrintersAuthorizationServerSpecifics `protobuf:"bytes,974304,opt,name=printers_authorization_server,json=printersAuthorizationServer,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_SavedTabGroup added in v0.1.20

type EntitySpecifics_SavedTabGroup struct {
	SavedTabGroup *SavedTabGroupSpecifics `protobuf:"bytes,1004874,opt,name=saved_tab_group,json=savedTabGroup,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_Segmentation added in v0.1.20

type EntitySpecifics_Segmentation struct {
	Segmentation *SegmentationSpecifics `protobuf:"bytes,1026052,opt,name=segmentation,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 {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	SyncedNotification *EmptySpecifics `protobuf:"bytes,153108,opt,name=synced_notification,json=syncedNotification,oneof"`
}

type EntitySpecifics_SyncedNotificationAppInfo

type EntitySpecifics_SyncedNotificationAppInfo struct {
	// Deprecated: Marked as deprecated in entity_specifics.proto.
	SyncedNotificationAppInfo *EmptySpecifics `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_WebApk added in v0.1.20

type EntitySpecifics_WebApk struct {
	WebApk *WebApkSpecifics `protobuf:"bytes,1117170,opt,name=web_apk,json=webApk,oneof"`
}

type EntitySpecifics_WebApp

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

type EntitySpecifics_WebauthnCredential added in v0.1.20

type EntitySpecifics_WebauthnCredential struct {
	WebauthnCredential *WebauthnCredentialSpecifics `protobuf:"bytes,895275,opt,name=webauthn_credential,json=webauthnCredential,oneof"`
}

type EntitySpecifics_WifiConfiguration

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

type EntitySpecifics_WorkspaceDesk added in v0.1.20

type EntitySpecifics_WorkspaceDesk struct {
	WorkspaceDesk *WorkspaceDeskSpecifics `protobuf:"bytes,874841,opt,name=workspace_desk,json=workspaceDesk,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"`
	// DEPRECATED. See https://crbug.com/1233303.
	//
	// Deprecated: Marked as deprecated in extension_specifics.proto.
	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: Marked as deprecated in extension_specifics.proto.
	InstalledByCustodian *bool `protobuf:"varint,8,opt,name=installed_by_custodian,json=installedByCustodian" json:"installed_by_custodian,omitempty"`
	// DEPRECATED. See https://crbug.com/839681.
	//
	// Deprecated: Marked as deprecated in extension_specifics.proto.
	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: Marked as deprecated in extension_specifics.proto.

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: Marked as deprecated in extension_specifics.proto.

func (*ExtensionSpecifics) GetName deprecated

func (x *ExtensionSpecifics) GetName() string

Deprecated: Marked as deprecated in extension_specifics.proto.

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"`
	// Deprecated: Marked as deprecated in gaia_password_reuse.proto.
	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 deprecated

func (x *GaiaPasswordReuse) GetPasswordCaptured() *GaiaPasswordReuse_PasswordCaptured

Deprecated: Marked as deprecated in gaia_password_reuse.proto.

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"`
	// contains filtered or unexported fields
}

func (*GarbageCollectionDirective) Descriptor deprecated

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

Deprecated: Use GarbageCollectionDirective.ProtoReflect.Descriptor instead.

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
	// Deprecated: Marked as deprecated in data_type_progress_marker.proto.
	GarbageCollectionDirective_DEPRECATED_AGE_WATERMARK GarbageCollectionDirective_Type = 2
	// Deprecated: Marked as deprecated in data_type_progress_marker.proto.
	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 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.
	// 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: Marked as deprecated in get_updates_caller_info.proto.
	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: Marked as deprecated in get_updates_caller_info.proto.

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"`
	// Per-datatype progress marker.
	//
	// 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 first 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"`
	// 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) GetCallerInfo

func (x *GetUpdatesMessage) GetCallerInfo() *GetUpdatesCallerInfo

func (*GetUpdatesMessage) GetClientContexts

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

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.
	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 GooglePlayServicesVersionInfo added in v0.1.20

type GooglePlayServicesVersionInfo struct {
	ApkVersionName *string `protobuf:"bytes,1,opt,name=apk_version_name,json=apkVersionName" json:"apk_version_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GooglePlayServicesVersionInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use GooglePlayServicesVersionInfo.ProtoReflect.Descriptor instead.

func (*GooglePlayServicesVersionInfo) GetApkVersionName added in v0.1.20

func (x *GooglePlayServicesVersionInfo) GetApkVersionName() string

func (*GooglePlayServicesVersionInfo) ProtoMessage added in v0.1.20

func (*GooglePlayServicesVersionInfo) ProtoMessage()

func (*GooglePlayServicesVersionInfo) ProtoReflect added in v0.1.20

func (*GooglePlayServicesVersionInfo) Reset added in v0.1.20

func (x *GooglePlayServicesVersionInfo) Reset()

func (*GooglePlayServicesVersionInfo) String added in v0.1.20

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 HistorySpecifics added in v0.1.20

type HistorySpecifics struct {

	// Timestamp, also called "global ID" in some places (e.g. in delete
	// directives). This uniquely identifies the entity.
	VisitTimeWindowsEpochMicros *int64 `` /* 142-byte string literal not displayed */
	// Cache GUID of the client that produced this entity, aka the "originator".
	OriginatorCacheGuid *string `protobuf:"bytes,2,opt,name=originator_cache_guid,json=originatorCacheGuid" json:"originator_cache_guid,omitempty"`
	// The redirect chain. The first entry is the URL the user originally
	// navigated to; the last one is where they ended up. If there were no
	// redirects, this has only one entry.
	RedirectEntries []*HistorySpecifics_RedirectEntry `protobuf:"bytes,3,rep,name=redirect_entries,json=redirectEntries" json:"redirect_entries,omitempty"`
	// Whether the redirect chain in this entity is the continuation of a prior
	// chain, and whether a continuation of this chain exists, in other entities.
	// These are effectively the inverse of the CHAIN_START/CHAIN_END page
	// transition qualifiers in Chrome. They are typically both false, since the
	// whole chain is included in `redirect_entries`, but in some cases (notably,
	// client redirects) a redirect chain may be split up across multiple
	// entities.
	RedirectChainStartIncomplete *bool `` /* 144-byte string literal not displayed */
	RedirectChainEndIncomplete   *bool `` /* 138-byte string literal not displayed */
	// If this is set to true, then the redirect chain was too long and some
	// entries were trimmed from the middle, so `redirect_entries` only
	// corresponds to some of the first plus some of the last entries of the
	// actual redirect chain.
	RedirectChainMiddleTrimmed *bool `` /* 138-byte string literal not displayed */
	// The PageTransition for the navigation.
	PageTransition *HistorySpecifics_PageTransition `protobuf:"bytes,4,opt,name=page_transition,json=pageTransition" json:"page_transition,omitempty"`
	// The ID of the visit, on the originator client, that was a referrer for
	// this one, or 0 if no referrer exists.
	OriginatorReferringVisitId *int64 `` /* 137-byte string literal not displayed */
	// The ID of the visit, on the originator client, that opened this one, or 0
	// if no opener exists.
	OriginatorOpenerVisitId *int64 `` /* 128-byte string literal not displayed */
	// The ID of the cluster that this visit belongs to on the originator client,
	// or 0 if the originator client does not support setting this field or the
	// visit does not belong to any cluster.
	OriginatorClusterId *int64 `protobuf:"varint,22,opt,name=originator_cluster_id,json=originatorClusterId" json:"originator_cluster_id,omitempty"`
	// The duration of the visit, in microseconds. Zero if the visit hasn't been
	// finished (or the duration wasn't updated for some other reason).
	VisitDurationMicros *int64 `protobuf:"varint,7,opt,name=visit_duration_micros,json=visitDurationMicros" json:"visit_duration_micros,omitempty"`
	// The kind of browser where this visit happened.
	BrowserType *SyncEnums_BrowserType `protobuf:"varint,8,opt,name=browser_type,json=browserType,enum=sync_pb.SyncEnums_BrowserType" json:"browser_type,omitempty"`
	// The SessionID of the window and tab where the visit happened. Can be used
	// to link together possibly-related visits.
	// Note: These are only unique per-client, so always use together with
	// `originator_cache_guid`.
	WindowId *int32 `protobuf:"varint,9,opt,name=window_id,json=windowId" json:"window_id,omitempty"`
	TabId    *int32 `protobuf:"varint,10,opt,name=tab_id,json=tabId" json:"tab_id,omitempty"`
	// The ID for the task associated with this navigation, which is globally
	// unique with high probability.
	TaskId *int64 `protobuf:"varint,11,opt,name=task_id,json=taskId" json:"task_id,omitempty"`
	// The IDs of ancestor tasks. These can be used to construct a tree of related
	// visits.
	RootTaskId   *int64 `protobuf:"varint,12,opt,name=root_task_id,json=rootTaskId" json:"root_task_id,omitempty"`
	ParentTaskId *int64 `protobuf:"varint,13,opt,name=parent_task_id,json=parentTaskId" json:"parent_task_id,omitempty"`
	// The HTTP response code of the navigation.
	HttpResponseCode *int32 `protobuf:"varint,14,opt,name=http_response_code,json=httpResponseCode" json:"http_response_code,omitempty"`
	// The language of the content on the page, as an ISO 639 language code
	// (usually two letters). May be "und" if the language couldn't be determined.
	PageLanguage *string `protobuf:"bytes,15,opt,name=page_language,json=pageLanguage" json:"page_language,omitempty"`
	// Whether a password field was found on the page.
	PasswordState *SyncEnums_PasswordState `` /* 132-byte string literal not displayed */
	// URL of the favicon for this page.
	FaviconUrl *string `protobuf:"bytes,17,opt,name=favicon_url,json=faviconUrl" json:"favicon_url,omitempty"`
	// The URL of the referrer (indicated by `originator_referring_visit_id`), if
	// any.
	ReferrerUrl *string `protobuf:"bytes,18,opt,name=referrer_url,json=referrerUrl" json:"referrer_url,omitempty"`
	// contains filtered or unexported fields
}

A history sync entity - this roughly represents one navigation, including its full redirect chain (but not referrals). Fields correspond to similarly named fields in history::VisitRow and history::URLRow.

func (*HistorySpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use HistorySpecifics.ProtoReflect.Descriptor instead.

func (*HistorySpecifics) GetBrowserType added in v0.1.20

func (x *HistorySpecifics) GetBrowserType() SyncEnums_BrowserType

func (*HistorySpecifics) GetFaviconUrl added in v0.1.20

func (x *HistorySpecifics) GetFaviconUrl() string

func (*HistorySpecifics) GetHttpResponseCode added in v0.1.20

func (x *HistorySpecifics) GetHttpResponseCode() int32

func (*HistorySpecifics) GetOriginatorCacheGuid added in v0.1.20

func (x *HistorySpecifics) GetOriginatorCacheGuid() string

func (*HistorySpecifics) GetOriginatorClusterId added in v0.1.20

func (x *HistorySpecifics) GetOriginatorClusterId() int64

func (*HistorySpecifics) GetOriginatorOpenerVisitId added in v0.1.20

func (x *HistorySpecifics) GetOriginatorOpenerVisitId() int64

func (*HistorySpecifics) GetOriginatorReferringVisitId added in v0.1.20

func (x *HistorySpecifics) GetOriginatorReferringVisitId() int64

func (*HistorySpecifics) GetPageLanguage added in v0.1.20

func (x *HistorySpecifics) GetPageLanguage() string

func (*HistorySpecifics) GetPageTransition added in v0.1.20

func (x *HistorySpecifics) GetPageTransition() *HistorySpecifics_PageTransition

func (*HistorySpecifics) GetParentTaskId added in v0.1.20

func (x *HistorySpecifics) GetParentTaskId() int64

func (*HistorySpecifics) GetPasswordState added in v0.1.20

func (x *HistorySpecifics) GetPasswordState() SyncEnums_PasswordState

func (*HistorySpecifics) GetRedirectChainEndIncomplete added in v0.1.20

func (x *HistorySpecifics) GetRedirectChainEndIncomplete() bool

func (*HistorySpecifics) GetRedirectChainMiddleTrimmed added in v0.1.20

func (x *HistorySpecifics) GetRedirectChainMiddleTrimmed() bool

func (*HistorySpecifics) GetRedirectChainStartIncomplete added in v0.1.20

func (x *HistorySpecifics) GetRedirectChainStartIncomplete() bool

func (*HistorySpecifics) GetRedirectEntries added in v0.1.20

func (x *HistorySpecifics) GetRedirectEntries() []*HistorySpecifics_RedirectEntry

func (*HistorySpecifics) GetReferrerUrl added in v0.1.20

func (x *HistorySpecifics) GetReferrerUrl() string

func (*HistorySpecifics) GetRootTaskId added in v0.1.20

func (x *HistorySpecifics) GetRootTaskId() int64

func (*HistorySpecifics) GetTabId added in v0.1.20

func (x *HistorySpecifics) GetTabId() int32

func (*HistorySpecifics) GetTaskId added in v0.1.20

func (x *HistorySpecifics) GetTaskId() int64

func (*HistorySpecifics) GetVisitDurationMicros added in v0.1.20

func (x *HistorySpecifics) GetVisitDurationMicros() int64

func (*HistorySpecifics) GetVisitTimeWindowsEpochMicros added in v0.1.20

func (x *HistorySpecifics) GetVisitTimeWindowsEpochMicros() int64

func (*HistorySpecifics) GetWindowId added in v0.1.20

func (x *HistorySpecifics) GetWindowId() int32

func (*HistorySpecifics) ProtoMessage added in v0.1.20

func (*HistorySpecifics) ProtoMessage()

func (*HistorySpecifics) ProtoReflect added in v0.1.20

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

func (*HistorySpecifics) Reset added in v0.1.20

func (x *HistorySpecifics) Reset()

func (*HistorySpecifics) String added in v0.1.20

func (x *HistorySpecifics) String() string

type HistorySpecifics_PageTransition added in v0.1.20

type HistorySpecifics_PageTransition struct {

	// The core transition type.
	CoreTransition *SyncEnums_PageTransition `` /* 141-byte string literal not displayed */
	// Qualifiers:
	// A supervised user tried to access this URL but was blocked.
	Blocked *bool `protobuf:"varint,2,opt,name=blocked" json:"blocked,omitempty"`
	// User used the Forward or Back button to navigate among browsing history.
	ForwardBack *bool `protobuf:"varint,3,opt,name=forward_back,json=forwardBack" json:"forward_back,omitempty"`
	// User used the address bar to trigger this navigation.
	FromAddressBar *bool `protobuf:"varint,4,opt,name=from_address_bar,json=fromAddressBar" json:"from_address_bar,omitempty"`
	// User is navigating to the home page.
	HomePage *bool `protobuf:"varint,5,opt,name=home_page,json=homePage" json:"home_page,omitempty"`
	// contains filtered or unexported fields
}

func (*HistorySpecifics_PageTransition) Descriptor deprecated added in v0.1.20

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

Deprecated: Use HistorySpecifics_PageTransition.ProtoReflect.Descriptor instead.

func (*HistorySpecifics_PageTransition) GetBlocked added in v0.1.20

func (x *HistorySpecifics_PageTransition) GetBlocked() bool

func (*HistorySpecifics_PageTransition) GetCoreTransition added in v0.1.20

func (*HistorySpecifics_PageTransition) GetForwardBack added in v0.1.20

func (x *HistorySpecifics_PageTransition) GetForwardBack() bool

func (*HistorySpecifics_PageTransition) GetFromAddressBar added in v0.1.20

func (x *HistorySpecifics_PageTransition) GetFromAddressBar() bool

func (*HistorySpecifics_PageTransition) GetHomePage added in v0.1.20

func (x *HistorySpecifics_PageTransition) GetHomePage() bool

func (*HistorySpecifics_PageTransition) ProtoMessage added in v0.1.20

func (*HistorySpecifics_PageTransition) ProtoMessage()

func (*HistorySpecifics_PageTransition) ProtoReflect added in v0.1.20

func (*HistorySpecifics_PageTransition) Reset added in v0.1.20

func (*HistorySpecifics_PageTransition) String added in v0.1.20

type HistorySpecifics_RedirectEntry added in v0.1.20

type HistorySpecifics_RedirectEntry struct {

	// ID of the visit on the originator client, unique within that client.
	OriginatorVisitId *int64 `protobuf:"varint,1,opt,name=originator_visit_id,json=originatorVisitId" json:"originator_visit_id,omitempty"`
	// URL that was visited.
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// Title of the page corresponding to this URL.
	Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	// True if the URL should NOT be used for auto-complete.
	Hidden *bool `protobuf:"varint,4,opt,name=hidden" json:"hidden,omitempty"`
	// The redirect type (if any).
	RedirectType *SyncEnums_PageTransitionRedirectType `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HistorySpecifics_RedirectEntry) Descriptor deprecated added in v0.1.20

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

Deprecated: Use HistorySpecifics_RedirectEntry.ProtoReflect.Descriptor instead.

func (*HistorySpecifics_RedirectEntry) GetHidden added in v0.1.20

func (x *HistorySpecifics_RedirectEntry) GetHidden() bool

func (*HistorySpecifics_RedirectEntry) GetOriginatorVisitId added in v0.1.20

func (x *HistorySpecifics_RedirectEntry) GetOriginatorVisitId() int64

func (*HistorySpecifics_RedirectEntry) GetRedirectType added in v0.1.20

func (*HistorySpecifics_RedirectEntry) GetTitle added in v0.1.20

func (x *HistorySpecifics_RedirectEntry) GetTitle() string

func (*HistorySpecifics_RedirectEntry) GetUrl added in v0.1.20

func (*HistorySpecifics_RedirectEntry) ProtoMessage added in v0.1.20

func (*HistorySpecifics_RedirectEntry) ProtoMessage()

func (*HistorySpecifics_RedirectEntry) ProtoReflect added in v0.1.20

func (*HistorySpecifics_RedirectEntry) Reset added in v0.1.20

func (x *HistorySpecifics_RedirectEntry) Reset()

func (*HistorySpecifics_RedirectEntry) String added in v0.1.20

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 IncomingPasswordSharingInvitationSpecifics added in v0.1.20

type IncomingPasswordSharingInvitationSpecifics struct {

	// Unique client tag for the invitation. This does *not* have to be the same
	// GUID as for the outgoing invitation.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// Profile information about the sender of the password. Sender's public key
	// is used to authenticate the sender for `encrypted_key_for_recipient`.
	SenderInfo *UserInfo `protobuf:"bytes,2,opt,name=sender_info,json=senderInfo" json:"sender_info,omitempty"`
	// PasswordSharingInvitationData, encrypted using the encryption key from
	// `encrypted_key_for_recipient`.
	EncryptedPasswordSharingInvitationData []byte `` /* 174-byte string literal not displayed */
	// 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.
	ClientOnlyUnencryptedData *PasswordSharingInvitationData `` /* 133-byte string literal not displayed */
	// Encrypted SharingSymmetricKey using recipient's public key corresponding to
	// `recipient_key_version` and sender's private key to authenticate the
	// sender, see https://www.rfc-editor.org/rfc/rfc9180.html.
	EncryptedKeyForRecipient []byte  `` /* 130-byte string literal not displayed */
	RecipientKeyVersion      *uint32 `protobuf:"varint,6,opt,name=recipient_key_version,json=recipientKeyVersion" json:"recipient_key_version,omitempty"`
	// contains filtered or unexported fields
}

Incoming invitations for password sending.

func (*IncomingPasswordSharingInvitationSpecifics) Descriptor deprecated added in v0.1.20

Deprecated: Use IncomingPasswordSharingInvitationSpecifics.ProtoReflect.Descriptor instead.

func (*IncomingPasswordSharingInvitationSpecifics) GetClientOnlyUnencryptedData added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) GetEncryptedKeyForRecipient added in v0.1.20

func (x *IncomingPasswordSharingInvitationSpecifics) GetEncryptedKeyForRecipient() []byte

func (*IncomingPasswordSharingInvitationSpecifics) GetEncryptedPasswordSharingInvitationData added in v0.1.20

func (x *IncomingPasswordSharingInvitationSpecifics) GetEncryptedPasswordSharingInvitationData() []byte

func (*IncomingPasswordSharingInvitationSpecifics) GetGuid added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) GetRecipientKeyVersion added in v0.1.20

func (x *IncomingPasswordSharingInvitationSpecifics) GetRecipientKeyVersion() uint32

func (*IncomingPasswordSharingInvitationSpecifics) GetSenderInfo added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) ProtoMessage added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) ProtoReflect added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) Reset added in v0.1.20

func (*IncomingPasswordSharingInvitationSpecifics) String added in v0.1.20

type InvalidationSpecificFields added in v0.1.8

type InvalidationSpecificFields struct {

	// FCM registration token of device (using Sync sender ID).
	InstanceIdToken *string `protobuf:"bytes,1,opt,name=instance_id_token,json=instanceIdToken" json:"instance_id_token,omitempty"`
	// This device wants to receive only invalidations which are related to these
	// types. The legitimate values of this field correspond to the protobuf field
	// numbers of all EntitySpecifics fields supported by the server (see
	// components/sync/protocol/sync.proto).
	InterestedDataTypeIds []int32 `protobuf:"varint,2,rep,name=interested_data_type_ids,json=interestedDataTypeIds" json:"interested_data_type_ids,omitempty"`
	// contains filtered or unexported fields
}

Device specific information telling how to send invalidations to this device.

func (*InvalidationSpecificFields) Descriptor deprecated added in v0.1.8

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

Deprecated: Use InvalidationSpecificFields.ProtoReflect.Descriptor instead.

func (*InvalidationSpecificFields) GetInstanceIdToken added in v0.1.8

func (x *InvalidationSpecificFields) GetInstanceIdToken() string

func (*InvalidationSpecificFields) GetInterestedDataTypeIds added in v0.1.11

func (x *InvalidationSpecificFields) GetInterestedDataTypeIds() []int32

func (*InvalidationSpecificFields) ProtoMessage added in v0.1.8

func (*InvalidationSpecificFields) ProtoMessage()

func (*InvalidationSpecificFields) ProtoReflect added in v0.1.8

func (*InvalidationSpecificFields) Reset added in v0.1.8

func (x *InvalidationSpecificFields) Reset()

func (*InvalidationSpecificFields) String added in v0.1.8

func (x *InvalidationSpecificFields) 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 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 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"`
	// Deprecated in M113 and replaced by `initial_sync_state`.
	// As of M115, this is not populated anymore, but existing values are still
	// migrated to `initial_sync_state`.
	// TODO(crbug.com/1423338): Fully remove this field after a migration period.
	//
	// Deprecated: Marked as deprecated in model_type_state.proto.
	InitialSyncDoneDeprecated *bool `` /* 134-byte string literal not displayed */
	// Indicates the status of "initial sync", i.e. whether the first download
	// cycle and initial merge are complete.
	InitialSyncState *ModelTypeState_InitialSyncState `` /* 150-byte string literal not displayed */
	// 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"`
	// The latest unprocessed invalidations received from the server.
	// All incoming invalidations are stored in this message and persist until
	// they are used in GetUpdate() message.
	Invalidations []*ModelTypeState_Invalidation `protobuf:"bytes,7,rep,name=invalidations" json:"invalidations,omitempty"`
	// This is relevant for the passwords datatype. This indicates that the
	// initial sync flow (downling all passwords from the server) has been run at
	// least once after the password notes features is enabled. It is used to
	// enforce redownload of passwords upon upgrading the browser to a version
	// that supports password notes if necessary. It is false by default and set
	// to true upon downloading passwords to make sure this download is executed
	// only once.
	NotesEnabledBeforeInitialSyncForPasswords *bool `` /* 188-byte string literal not displayed */
	// 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) GetInitialSyncDoneDeprecated deprecated added in v0.1.20

func (x *ModelTypeState) GetInitialSyncDoneDeprecated() bool

Deprecated: Marked as deprecated in model_type_state.proto.

func (*ModelTypeState) GetInitialSyncState added in v0.1.20

func (x *ModelTypeState) GetInitialSyncState() ModelTypeState_InitialSyncState

func (*ModelTypeState) GetInvalidations added in v0.1.20

func (x *ModelTypeState) GetInvalidations() []*ModelTypeState_Invalidation

func (*ModelTypeState) GetNotesEnabledBeforeInitialSyncForPasswords added in v0.1.20

func (x *ModelTypeState) GetNotesEnabledBeforeInitialSyncForPasswords() 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 ModelTypeState_InitialSyncState added in v0.1.20

type ModelTypeState_InitialSyncState int32
const (
	// Default value, typically used when there is no metadata (e.g. because
	// Sync is disabled).
	ModelTypeState_INITIAL_SYNC_STATE_UNSPECIFIED ModelTypeState_InitialSyncState = 0
	// Indicates that syncing has started and some, but not all updates from the
	// initial download/sync have been delivered. This is only used for data
	// types in ApplyUpdatesImmediatelyTypes().
	ModelTypeState_INITIAL_SYNC_PARTIALLY_DONE ModelTypeState_InitialSyncState = 2
	// Indicates that the initial sync (download + merge) has been completed.
	ModelTypeState_INITIAL_SYNC_DONE ModelTypeState_InitialSyncState = 3
	// Indicates that no initial sync is necessary, used for CommitOnlyTypes().
	ModelTypeState_INITIAL_SYNC_UNNECESSARY ModelTypeState_InitialSyncState = 4
)

func (ModelTypeState_InitialSyncState) Descriptor added in v0.1.20

func (ModelTypeState_InitialSyncState) Enum added in v0.1.20

func (ModelTypeState_InitialSyncState) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use ModelTypeState_InitialSyncState.Descriptor instead.

func (ModelTypeState_InitialSyncState) Number added in v0.1.20

func (ModelTypeState_InitialSyncState) String added in v0.1.20

func (ModelTypeState_InitialSyncState) Type added in v0.1.20

func (*ModelTypeState_InitialSyncState) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type ModelTypeState_Invalidation added in v0.1.20

type ModelTypeState_Invalidation struct {

	// Opaque field, which has to be provided as part of resulting GetUpdates
	// back to the server.
	Hint []byte `protobuf:"bytes,1,opt,name=hint" json:"hint,omitempty"`
	// Version of invalidation, used to order incoming invalidations.
	Version *int64 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelTypeState_Invalidation) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ModelTypeState_Invalidation.ProtoReflect.Descriptor instead.

func (*ModelTypeState_Invalidation) GetHint added in v0.1.20

func (x *ModelTypeState_Invalidation) GetHint() []byte

func (*ModelTypeState_Invalidation) GetVersion added in v0.1.20

func (x *ModelTypeState_Invalidation) GetVersion() int64

func (*ModelTypeState_Invalidation) ProtoMessage added in v0.1.20

func (*ModelTypeState_Invalidation) ProtoMessage()

func (*ModelTypeState_Invalidation) ProtoReflect added in v0.1.20

func (*ModelTypeState_Invalidation) Reset added in v0.1.20

func (x *ModelTypeState_Invalidation) Reset()

func (*ModelTypeState_Invalidation) String added in v0.1.20

func (x *ModelTypeState_Invalidation) 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: Marked as deprecated in nigori_specifics.proto.
	DeprecatedName *string `protobuf:"bytes,1,opt,name=deprecated_name,json=deprecatedName" json:"deprecated_name,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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: Marked as deprecated in nigori_specifics.proto.

func (*NigoriKey) GetDeprecatedUserKey deprecated

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

Deprecated: Marked as deprecated in nigori_specifics.proto.

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 {

	// Used for encrypting within the sync account boundary.
	Key []*NigoriKey `protobuf:"bytes,2,rep,name=key" json:"key,omitempty"`
	// Used for encrypting/authenticating using Public-private cryptography
	// primarily across user accounts, e.g. sharing offers.
	CrossUserSharingPrivateKey []*CrossUserSharingPrivateKey `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NigoriKeyBag) Descriptor deprecated

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

Deprecated: Use NigoriKeyBag.ProtoReflect.Descriptor instead.

func (*NigoriKeyBag) GetCrossUserSharingPrivateKey added in v0.1.20

func (x *NigoriKeyBag) GetCrossUserSharingPrivateKey() []*CrossUserSharingPrivateKey

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 */
	// Some debug-only fields for passphrase type TRUSTED_VAULT_PASSPHRASE.
	TrustedVaultDebugInfo *NigoriSpecifics_TrustedVaultDebugInfo `protobuf:"bytes,13,opt,name=trusted_vault_debug_info,json=trustedVaultDebugInfo" json:"trusted_vault_debug_info,omitempty"`
	// Current Public-key.
	CrossUserSharingPublicKey *CrossUserSharingPublicKey `` /* 136-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) GetCrossUserSharingPublicKey added in v0.1.20

func (x *NigoriModel) GetCrossUserSharingPublicKey() *CrossUserSharingPublicKey

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) GetTrustedVaultDebugInfo added in v0.1.20

func (x *NigoriModel) GetTrustedVaultDebugInfo() *NigoriSpecifics_TrustedVaultDebugInfo

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.
	// USS clients don't read these values, datatypes are either always encrypted,
	// never encrypted or encrypted when |encrypt_everything| set to true.
	// TODO(crbug.com/1360022): complete deprecation of encrypt_* fields (replace
	// fields with reserved) once <M82 clients aren't supported.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptBookmarks *bool `protobuf:"varint,13,opt,name=encrypt_bookmarks,json=encryptBookmarks" json:"encrypt_bookmarks,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptPreferences *bool `protobuf:"varint,14,opt,name=encrypt_preferences,json=encryptPreferences" json:"encrypt_preferences,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptAutofillProfile *bool `protobuf:"varint,15,opt,name=encrypt_autofill_profile,json=encryptAutofillProfile" json:"encrypt_autofill_profile,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptAutofill *bool `protobuf:"varint,16,opt,name=encrypt_autofill,json=encryptAutofill" json:"encrypt_autofill,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptThemes *bool `protobuf:"varint,17,opt,name=encrypt_themes,json=encryptThemes" json:"encrypt_themes,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptTypedUrls *bool `protobuf:"varint,18,opt,name=encrypt_typed_urls,json=encryptTypedUrls" json:"encrypt_typed_urls,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptExtensions *bool `protobuf:"varint,19,opt,name=encrypt_extensions,json=encryptExtensions" json:"encrypt_extensions,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptSessions *bool `protobuf:"varint,20,opt,name=encrypt_sessions,json=encryptSessions" json:"encrypt_sessions,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptApps *bool `protobuf:"varint,21,opt,name=encrypt_apps,json=encryptApps" json:"encrypt_apps,omitempty"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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"`
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptExtensionSettings *bool `` /* 130-byte string literal not displayed */
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptAppNotifications *bool `` /* 127-byte string literal not displayed */
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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 milliseconds since Unix epoch) 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 milliseconds since Unix epoch) 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 app list items should be encrypted.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in nigori_specifics.proto.
	EncryptOsPreferences  *bool                                  `protobuf:"varint,49,opt,name=encrypt_os_preferences,json=encryptOsPreferences" json:"encrypt_os_preferences,omitempty"`
	TrustedVaultDebugInfo *NigoriSpecifics_TrustedVaultDebugInfo `protobuf:"bytes,50,opt,name=trusted_vault_debug_info,json=trustedVaultDebugInfo" json:"trusted_vault_debug_info,omitempty"`
	// Current cross user sharing Public-key to expose in server registry
	// for sharing offers outside account boundary.
	CrossUserSharingPublicKey *CrossUserSharingPublicKey `` /* 136-byte string literal not displayed */
	// 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) GetCrossUserSharingPublicKey added in v0.1.20

func (x *NigoriSpecifics) GetCrossUserSharingPublicKey() *CrossUserSharingPublicKey

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 deprecated

func (x *NigoriSpecifics) GetEncryptAppList() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptAppNotifications deprecated

func (x *NigoriSpecifics) GetEncryptAppNotifications() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptAppSettings deprecated

func (x *NigoriSpecifics) GetEncryptAppSettings() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptApps deprecated

func (x *NigoriSpecifics) GetEncryptApps() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptArcPackage deprecated

func (x *NigoriSpecifics) GetEncryptArcPackage() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptAutofill deprecated

func (x *NigoriSpecifics) GetEncryptAutofill() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptAutofillProfile deprecated

func (x *NigoriSpecifics) GetEncryptAutofillProfile() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptAutofillWalletMetadata deprecated

func (x *NigoriSpecifics) GetEncryptAutofillWalletMetadata() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptBookmarks deprecated

func (x *NigoriSpecifics) GetEncryptBookmarks() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptDictionary

func (x *NigoriSpecifics) GetEncryptDictionary() bool

func (*NigoriSpecifics) GetEncryptEverything

func (x *NigoriSpecifics) GetEncryptEverything() bool

func (*NigoriSpecifics) GetEncryptExtensionSettings deprecated

func (x *NigoriSpecifics) GetEncryptExtensionSettings() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptExtensions deprecated

func (x *NigoriSpecifics) GetEncryptExtensions() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptOsPreferences deprecated

func (x *NigoriSpecifics) GetEncryptOsPreferences() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptPreferences deprecated

func (x *NigoriSpecifics) GetEncryptPreferences() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptPrinters deprecated

func (x *NigoriSpecifics) GetEncryptPrinters() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptReadingList deprecated

func (x *NigoriSpecifics) GetEncryptReadingList() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptSearchEngines deprecated

func (x *NigoriSpecifics) GetEncryptSearchEngines() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptSendTabToSelf deprecated

func (x *NigoriSpecifics) GetEncryptSendTabToSelf() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptSessions deprecated

func (x *NigoriSpecifics) GetEncryptSessions() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptThemes deprecated

func (x *NigoriSpecifics) GetEncryptThemes() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptTypedUrls deprecated

func (x *NigoriSpecifics) GetEncryptTypedUrls() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

func (*NigoriSpecifics) GetEncryptWebApps deprecated

func (x *NigoriSpecifics) GetEncryptWebApps() bool

Deprecated: Marked as deprecated in nigori_specifics.proto.

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) GetTrustedVaultDebugInfo added in v0.1.20

func (x *NigoriSpecifics) GetTrustedVaultDebugInfo() *NigoriSpecifics_TrustedVaultDebugInfo

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. Legacy.
	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 NigoriSpecifics_TrustedVaultDebugInfo added in v0.1.20

type NigoriSpecifics_TrustedVaultDebugInfo struct {

	// The time (in milliseconds since Unix epoch) at which the trusted vault
	// migration was performed.
	MigrationTime *int64 `protobuf:"varint,1,opt,name=migration_time,json=migrationTime" json:"migration_time,omitempty"`
	// The version (aka key epoch) corresponding to the Nigori keybag.
	KeyVersion *int32 `protobuf:"varint,2,opt,name=key_version,json=keyVersion" json:"key_version,omitempty"`
	// contains filtered or unexported fields
}

Some debug-only fields for passphrase type TRUSTED_VAULT_PASSPHRASE.

func (*NigoriSpecifics_TrustedVaultDebugInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use NigoriSpecifics_TrustedVaultDebugInfo.ProtoReflect.Descriptor instead.

func (*NigoriSpecifics_TrustedVaultDebugInfo) GetKeyVersion added in v0.1.20

func (x *NigoriSpecifics_TrustedVaultDebugInfo) GetKeyVersion() int32

func (*NigoriSpecifics_TrustedVaultDebugInfo) GetMigrationTime added in v0.1.20

func (x *NigoriSpecifics_TrustedVaultDebugInfo) GetMigrationTime() int64

func (*NigoriSpecifics_TrustedVaultDebugInfo) ProtoMessage added in v0.1.20

func (*NigoriSpecifics_TrustedVaultDebugInfo) ProtoMessage()

func (*NigoriSpecifics_TrustedVaultDebugInfo) ProtoReflect added in v0.1.20

func (*NigoriSpecifics_TrustedVaultDebugInfo) Reset added in v0.1.20

func (*NigoriSpecifics_TrustedVaultDebugInfo) String added in v0.1.20

type NoteEntity added in v0.1.20

type NoteEntity struct {

	// Plain text of the note.
	PlainText *string `protobuf:"bytes,1,opt,name=plain_text,json=plainText" json:"plain_text,omitempty"`
	// Rich text of the note. It will be used when plain_text is empty and the UI
	// supports rich text.
	RichText *string `protobuf:"bytes,2,opt,name=rich_text,json=richText" json:"rich_text,omitempty"`
	// required
	TargetType *NoteEntity_TargetType `protobuf:"varint,3,opt,name=target_type,json=targetType,enum=sync_pb.NoteEntity_TargetType" json:"target_type,omitempty"`
	// required
	CurrentNoteVersion *int32 `protobuf:"varint,4,opt,name=current_note_version,json=currentNoteVersion" json:"current_note_version,omitempty"`
	// contains filtered or unexported fields
}

func (*NoteEntity) Descriptor deprecated added in v0.1.20

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

Deprecated: Use NoteEntity.ProtoReflect.Descriptor instead.

func (*NoteEntity) GetCurrentNoteVersion added in v0.1.20

func (x *NoteEntity) GetCurrentNoteVersion() int32

func (*NoteEntity) GetPlainText added in v0.1.20

func (x *NoteEntity) GetPlainText() string

func (*NoteEntity) GetRichText added in v0.1.20

func (x *NoteEntity) GetRichText() string

func (*NoteEntity) GetTargetType added in v0.1.20

func (x *NoteEntity) GetTargetType() NoteEntity_TargetType

func (*NoteEntity) ProtoMessage added in v0.1.20

func (*NoteEntity) ProtoMessage()

func (*NoteEntity) ProtoReflect added in v0.1.20

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

func (*NoteEntity) Reset added in v0.1.20

func (x *NoteEntity) Reset()

func (*NoteEntity) String added in v0.1.20

func (x *NoteEntity) String() string

type NoteEntity_TargetType added in v0.1.20

type NoteEntity_TargetType int32
const (
	NoteEntity_TARGET_TYPE_UNSPECIFIED NoteEntity_TargetType = 0
	// Page target type makes the note global to the page. It does not associate
	// with any user selection.
	NoteEntity_TARGET_TYPE_PAGE NoteEntity_TargetType = 1
)

func (NoteEntity_TargetType) Descriptor added in v0.1.20

func (NoteEntity_TargetType) Enum added in v0.1.20

func (NoteEntity_TargetType) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use NoteEntity_TargetType.Descriptor instead.

func (NoteEntity_TargetType) Number added in v0.1.20

func (NoteEntity_TargetType) String added in v0.1.20

func (x NoteEntity_TargetType) String() string

func (NoteEntity_TargetType) Type added in v0.1.20

func (*NoteEntity_TargetType) UnmarshalJSON deprecated added in v0.1.20

func (x *NoteEntity_TargetType) 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 OutgoingPasswordSharingInvitationSpecifics added in v0.1.20

type OutgoingPasswordSharingInvitationSpecifics struct {

	// Unique client tag for the invitation, generated by the client.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// Recipient's user identifier (obfuscated Gaia ID).
	RecipientUserId *string `protobuf:"bytes,2,opt,name=recipient_user_id,json=recipientUserId" json:"recipient_user_id,omitempty"`
	// The actual data, contains an encrypted PasswordSharingInvitationData using
	// an encryption key from `encrypted_key_for_recipient`.
	EncryptedPasswordSharingInvitationData []byte `` /* 174-byte string literal not displayed */
	// 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.
	ClientOnlyUnencryptedData *PasswordSharingInvitationData `` /* 133-byte string literal not displayed */
	// Encrypted SharingSymmetricKey using recipient's public key corresponding to
	// `recipient_key_version`.
	EncryptedKeyForRecipient []byte  `` /* 130-byte string literal not displayed */
	RecipientKeyVersion      *uint32 `protobuf:"varint,6,opt,name=recipient_key_version,json=recipientKeyVersion" json:"recipient_key_version,omitempty"`
	// Version of Public key of the sender which is used to authenticate the
	// sender of the password. Must be equal to the latest committed version.
	SenderKeyVersion *uint32 `protobuf:"varint,7,opt,name=sender_key_version,json=senderKeyVersion" json:"sender_key_version,omitempty"`
	// contains filtered or unexported fields
}

Outgoing invitations for password sending.

func (*OutgoingPasswordSharingInvitationSpecifics) Descriptor deprecated added in v0.1.20

Deprecated: Use OutgoingPasswordSharingInvitationSpecifics.ProtoReflect.Descriptor instead.

func (*OutgoingPasswordSharingInvitationSpecifics) GetClientOnlyUnencryptedData added in v0.1.20

func (*OutgoingPasswordSharingInvitationSpecifics) GetEncryptedKeyForRecipient added in v0.1.20

func (x *OutgoingPasswordSharingInvitationSpecifics) GetEncryptedKeyForRecipient() []byte

func (*OutgoingPasswordSharingInvitationSpecifics) GetEncryptedPasswordSharingInvitationData added in v0.1.20

func (x *OutgoingPasswordSharingInvitationSpecifics) GetEncryptedPasswordSharingInvitationData() []byte

func (*OutgoingPasswordSharingInvitationSpecifics) GetGuid added in v0.1.20

func (*OutgoingPasswordSharingInvitationSpecifics) GetRecipientKeyVersion added in v0.1.20

func (x *OutgoingPasswordSharingInvitationSpecifics) GetRecipientKeyVersion() uint32

func (*OutgoingPasswordSharingInvitationSpecifics) GetRecipientUserId added in v0.1.20

func (x *OutgoingPasswordSharingInvitationSpecifics) GetRecipientUserId() string

func (*OutgoingPasswordSharingInvitationSpecifics) GetSenderKeyVersion added in v0.1.20

func (x *OutgoingPasswordSharingInvitationSpecifics) GetSenderKeyVersion() uint32

func (*OutgoingPasswordSharingInvitationSpecifics) ProtoMessage added in v0.1.20

func (*OutgoingPasswordSharingInvitationSpecifics) ProtoReflect added in v0.1.20

func (*OutgoingPasswordSharingInvitationSpecifics) Reset added in v0.1.20

func (*OutgoingPasswordSharingInvitationSpecifics) String added in v0.1.20

type PasswordIssues added in v0.1.20

type PasswordIssues struct {
	LeakedPasswordIssue  *PasswordIssues_PasswordIssue `protobuf:"bytes,1,opt,name=leaked_password_issue,json=leakedPasswordIssue" json:"leaked_password_issue,omitempty"`
	ReusedPasswordIssue  *PasswordIssues_PasswordIssue `protobuf:"bytes,2,opt,name=reused_password_issue,json=reusedPasswordIssue" json:"reused_password_issue,omitempty"`
	WeakPasswordIssue    *PasswordIssues_PasswordIssue `protobuf:"bytes,3,opt,name=weak_password_issue,json=weakPasswordIssue" json:"weak_password_issue,omitempty"`
	PhishedPasswordIssue *PasswordIssues_PasswordIssue `protobuf:"bytes,4,opt,name=phished_password_issue,json=phishedPasswordIssue" json:"phished_password_issue,omitempty"`
	// contains filtered or unexported fields
}

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

func (*PasswordIssues) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordIssues.ProtoReflect.Descriptor instead.

func (*PasswordIssues) GetLeakedPasswordIssue added in v0.1.20

func (x *PasswordIssues) GetLeakedPasswordIssue() *PasswordIssues_PasswordIssue

func (*PasswordIssues) GetPhishedPasswordIssue added in v0.1.20

func (x *PasswordIssues) GetPhishedPasswordIssue() *PasswordIssues_PasswordIssue

func (*PasswordIssues) GetReusedPasswordIssue added in v0.1.20

func (x *PasswordIssues) GetReusedPasswordIssue() *PasswordIssues_PasswordIssue

func (*PasswordIssues) GetWeakPasswordIssue added in v0.1.20

func (x *PasswordIssues) GetWeakPasswordIssue() *PasswordIssues_PasswordIssue

func (*PasswordIssues) ProtoMessage added in v0.1.20

func (*PasswordIssues) ProtoMessage()

func (*PasswordIssues) ProtoReflect added in v0.1.20

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

func (*PasswordIssues) Reset added in v0.1.20

func (x *PasswordIssues) Reset()

func (*PasswordIssues) String added in v0.1.20

func (x *PasswordIssues) String() string

type PasswordIssues_PasswordIssue added in v0.1.20

type PasswordIssues_PasswordIssue struct {

	// Timestamp set by a client detecting the issue for the first time.
	// Number of microseconds since Windows epoch (1601).
	// This can be unset even if is_muted is set in a few cases in
	// storage (for a time mutes were written without setting this
	// field - fixed starting 2021-11-10).
	DateFirstDetectionWindowsEpochMicros *uint64 `` /* 171-byte string literal not displayed */
	// Whether the issue was muted by user.
	IsMuted *bool `protobuf:"varint,2,opt,name=is_muted,json=isMuted" json:"is_muted,omitempty"`
	// Whether the backend should notify the user about this issue.
	// Set to true if the user hasn't already seen a client notification for
	// this issue (e.g. a leak detection prompt in Chrome). The backend sending
	// notifications does not reset this field. All other sources can write this
	// in both `PasswordSpecificsData` and `PasswordSpecificsMetadata` and do
	// so.
	TriggerNotificationFromBackendOnDetection *bool `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PasswordIssues_PasswordIssue) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordIssues_PasswordIssue.ProtoReflect.Descriptor instead.

func (*PasswordIssues_PasswordIssue) GetDateFirstDetectionWindowsEpochMicros added in v0.1.20

func (x *PasswordIssues_PasswordIssue) GetDateFirstDetectionWindowsEpochMicros() uint64

func (*PasswordIssues_PasswordIssue) GetIsMuted added in v0.1.20

func (x *PasswordIssues_PasswordIssue) GetIsMuted() bool

func (*PasswordIssues_PasswordIssue) GetTriggerNotificationFromBackendOnDetection added in v0.1.20

func (x *PasswordIssues_PasswordIssue) GetTriggerNotificationFromBackendOnDetection() bool

func (*PasswordIssues_PasswordIssue) ProtoMessage added in v0.1.20

func (*PasswordIssues_PasswordIssue) ProtoMessage()

func (*PasswordIssues_PasswordIssue) ProtoReflect added in v0.1.20

func (*PasswordIssues_PasswordIssue) Reset added in v0.1.20

func (x *PasswordIssues_PasswordIssue) Reset()

func (*PasswordIssues_PasswordIssue) String added in v0.1.20

type PasswordSharingInvitationData added in v0.1.20

type PasswordSharingInvitationData struct {
	PasswordData *PasswordSharingInvitationData_PasswordData `protobuf:"bytes,1,opt,name=password_data,json=passwordData" json:"password_data,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordSharingInvitationData) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSharingInvitationData.ProtoReflect.Descriptor instead.

func (*PasswordSharingInvitationData) GetPasswordData added in v0.1.20

func (*PasswordSharingInvitationData) ProtoMessage added in v0.1.20

func (*PasswordSharingInvitationData) ProtoMessage()

func (*PasswordSharingInvitationData) ProtoReflect added in v0.1.20

func (*PasswordSharingInvitationData) Reset added in v0.1.20

func (x *PasswordSharingInvitationData) Reset()

func (*PasswordSharingInvitationData) String added in v0.1.20

type PasswordSharingInvitationData_PasswordData added in v0.1.20

type PasswordSharingInvitationData_PasswordData struct {
	PasswordValue *string `protobuf:"bytes,1,opt,name=password_value,json=passwordValue" json:"password_value,omitempty"`
	// See PasswordSpecificsData::Scheme for values.
	Scheme          *int32  `protobuf:"varint,2,opt,name=scheme" json:"scheme,omitempty"`
	SignonRealm     *string `protobuf:"bytes,3,opt,name=signon_realm,json=signonRealm" json:"signon_realm,omitempty"`
	Origin          *string `protobuf:"bytes,4,opt,name=origin" json:"origin,omitempty"`
	UsernameElement *string `protobuf:"bytes,5,opt,name=username_element,json=usernameElement" json:"username_element,omitempty"`
	UsernameValue   *string `protobuf:"bytes,6,opt,name=username_value,json=usernameValue" json:"username_value,omitempty"`
	PasswordElement *string `protobuf:"bytes,7,opt,name=password_element,json=passwordElement" json:"password_element,omitempty"`
	DisplayName     *string `protobuf:"bytes,8,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	AvatarUrl       *string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

Contains password fields required for sending. See PasswordSpecificsData for field descriptions.

func (*PasswordSharingInvitationData_PasswordData) Descriptor deprecated added in v0.1.20

Deprecated: Use PasswordSharingInvitationData_PasswordData.ProtoReflect.Descriptor instead.

func (*PasswordSharingInvitationData_PasswordData) GetAvatarUrl added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) GetDisplayName added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) GetOrigin added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) GetPasswordElement added in v0.1.20

func (x *PasswordSharingInvitationData_PasswordData) GetPasswordElement() string

func (*PasswordSharingInvitationData_PasswordData) GetPasswordValue added in v0.1.20

func (x *PasswordSharingInvitationData_PasswordData) GetPasswordValue() string

func (*PasswordSharingInvitationData_PasswordData) GetScheme added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) GetSignonRealm added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) GetUsernameElement added in v0.1.20

func (x *PasswordSharingInvitationData_PasswordData) GetUsernameElement() string

func (*PasswordSharingInvitationData_PasswordData) GetUsernameValue added in v0.1.20

func (x *PasswordSharingInvitationData_PasswordData) GetUsernameValue() string

func (*PasswordSharingInvitationData_PasswordData) ProtoMessage added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) ProtoReflect added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) Reset added in v0.1.20

func (*PasswordSharingInvitationData_PasswordData) String added in v0.1.20

type PasswordSharingRecipientsRequest added in v0.1.20

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

A message to obtain a list of recipients for sending a password.

func (*PasswordSharingRecipientsRequest) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSharingRecipientsRequest.ProtoReflect.Descriptor instead.

func (*PasswordSharingRecipientsRequest) ProtoMessage added in v0.1.20

func (*PasswordSharingRecipientsRequest) ProtoMessage()

func (*PasswordSharingRecipientsRequest) ProtoReflect added in v0.1.20

func (*PasswordSharingRecipientsRequest) Reset added in v0.1.20

func (*PasswordSharingRecipientsRequest) String added in v0.1.20

type PasswordSharingRecipientsResponse added in v0.1.20

type PasswordSharingRecipientsResponse struct {
	Result *PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult `` /* 138-byte string literal not displayed */
	// List of possible recipients for sending a password. Note that public key
	// may be absent if a recipient can’t receive a password (e.g. due to an older
	// Chrome version).
	Recipients []*UserInfo `protobuf:"bytes,2,rep,name=recipients" json:"recipients,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordSharingRecipientsResponse) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSharingRecipientsResponse.ProtoReflect.Descriptor instead.

func (*PasswordSharingRecipientsResponse) GetRecipients added in v0.1.20

func (x *PasswordSharingRecipientsResponse) GetRecipients() []*UserInfo

func (*PasswordSharingRecipientsResponse) GetResult added in v0.1.20

func (*PasswordSharingRecipientsResponse) ProtoMessage added in v0.1.20

func (*PasswordSharingRecipientsResponse) ProtoMessage()

func (*PasswordSharingRecipientsResponse) ProtoReflect added in v0.1.20

func (*PasswordSharingRecipientsResponse) Reset added in v0.1.20

func (*PasswordSharingRecipientsResponse) String added in v0.1.20

type PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult added in v0.1.20

type PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult int32
const (
	PasswordSharingRecipientsResponse_UNKNOWN PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult = 0
	// The user is a member of a family and the request succeeded.
	PasswordSharingRecipientsResponse_SUCCESS PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult = 1
	// Not a family member, used to distinguish from a family with
	// only one member.
	PasswordSharingRecipientsResponse_NOT_FAMILY_MEMBER PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult = 2
)

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) Descriptor added in v0.1.20

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) Enum added in v0.1.20

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) EnumDescriptor deprecated added in v0.1.20

Deprecated: Use PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult.Descriptor instead.

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) Number added in v0.1.20

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) String added in v0.1.20

func (PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) Type added in v0.1.20

func (*PasswordSharingRecipientsResponse_PasswordSharingRecipientsResult) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

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"`
	// An encrypted backup of the notes field inside the PasswordSpecificsData.
	// The Sync server preserves the contents of this field across commits from
	// legacy clients that don't set this field. It is the responsibility of Sync
	// clients to populate the contents of PasswordSpecificsData notes fields
	// using the contents of this field. This should be deprecated together with
	// the logic for preserving it on the server when clients without support for
	// the |notes| field are no longer allowed by the server (below support
	// version horizon).
	//
	// Encryption key considerations:
	// a) For commits, the client must use the same key for both encrypted blobs.
	// b) For handling getupdates, the two keys may NOT necessarily match the
	//
	//	encryption key used, as in theory the new blob could be "behind" if key
	//	rotation took place. As of today, it is safe to assume that if
	//	|encrypted| is decryptable by a client, then |encrypted_notes_backup|
	//	must be decryptable too (i.e. the Nigori keybag should include older
	//	versions of the key). But not the other way round.
	//
	// If both `encrypted_notes_backup` and the `notes` in `encrypted` are
	// populated, the one in notes is considered the authoritative value.
	EncryptedNotesBackup *EncryptedData `protobuf:"bytes,5,opt,name=encrypted_notes_backup,json=encryptedNotesBackup" json:"encrypted_notes_backup,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) GetEncryptedNotesBackup added in v0.1.20

func (x *PasswordSpecifics) GetEncryptedNotesBackup() *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 {

	// See the enum above.
	Scheme *int32 `protobuf:"varint,1,opt,name=scheme" json:"scheme,omitempty"`
	// Signon realm stores information on where the saved password was stored, and
	// where it's supposed to be filled again.
	//
	// It can take various formats depending on the exact circumstances where it
	// was recorded. Note that the format is *not* guaranteed to be a valid URL or
	// URI:
	//
	//   - For parsed web forms and normal passwords saved through Credential
	//     Manager
	//     API: <http-scheme>://<url-host>[:<url-port>]/
	//
	//     where
	//     <http-scheme> is one of "http" or "https"
	//     <url-host> is the host for which the password was stored
	//     <url-port> is the option port on the host
	//     The signon realm is a valid URL in this case with an empty path.
	//     Examples:
	//     http://www.example.com/
	//     https://127.0.0.1/
	//     http://www.google.com:8080/
	//     http://192.168.1.254/
	//     https://accounts.google.com/
	//
	//   - For Android apps saved through Autofill with Google:
	//     android://<hash-of-cert>@<package-name>/
	//     where
	//     <hash-of-cert> is the base64 encoded SHA512 of the app's public
	//     certificate <package-name> is the app's package name
	//     Examples:
	//     android://kCyQDzpaoAX2gs-1zdGPKNAeICb8LzRFOxa4NCq0jO8c8d_NFS_q-Y35bU3Nq3GmFV2lLurmNvIZa6YPYZwmWg==@com.pinterest/
	//     android://mNUCvTnoWBkzIhSSkVj-uzAdK42YagmCmyUtPoC6JPmYAN3wKpmTdIRsdJtz6pzNBye8XL7nBbEcx-y9CJeo9A==@com.twitter.android.lite/
	//
	//   - For federated credentials:
	//     federation://<origin_host>/<federation_host>
	//     where
	//     <origin_host> is the host for which the login information was stored
	//     <federation_host> is the host of the federation provider that was
	//     used to sign in
	//     Examples:
	//     federation://www.example.com/accounts.google.com
	//     federation://uk.trustpilot.com/www.facebook.com
	//
	//   - For proxy auth:
	//     <proxy-host>[:<proxy_port>]/<auth-realm>
	//     where
	//     <proxy-host> is the host of the proxy for which the password was
	//     stored
	//     <proxy-port> is the port of the proxy
	//     <auth-realm> is a string provided by the proxy during authentication.
	//     It can contain spaces.
	//     Examples:
	//     proxy2.eq.edu.au:80/MISldap
	//     proxy.det.nsw.edu.au:8080/NSW Department of Education
	//     10.47.2.250:3128/Squid Proxy Server CPUT
	//     default.go2https.com:443/(******Get password from vpnso.com/account/
	//     *****)
	//
	//   - For HTTP basic auth:
	//     <http-scheme>://<url-host>[:<url-port>]/<auth-realm>
	//     where
	//     <http-scheme> is one of "http" or "https"
	//     <url-host> is the host for which the password was stored
	//     <url-port> is the option port on the host
	//     <auth-realm> is a string provided by the host during authentication.
	//     It can contain spaces.
	//     Examples:
	//     http://192.168.1.1/Broadband Router
	//     http://192.168.0.1/TP-LINK Wireless N Router WR841N
	//     http://192.168.1.1/index.htm
	//     https://www.edge.asic.gov.au/ASIC eBusiness
	SignonRealm *string `protobuf:"bytes,2,opt,name=signon_realm,json=signonRealm" json:"signon_realm,omitempty"`
	// For parsed web forms and Credential Management 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.
	//
	// Deprecated: Marked as deprecated in password_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in password_specifics.proto.
	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"`
	// kFormSubmission(0), user manually filled the username and the password
	// in the form.
	// kGenerated(1), the credential was auto generated.
	// kApi(2), the credential was generated from Credential Management API.
	// kManuallyAdded(3), user manually created the password credential
	// via Settings.
	// kImported(4), the credential was imported using the import flow.
	Type *int32 `protobuf:"varint,13,opt,name=type" json:"type,omitempty"`
	// Number of times this login was used for logging in using an HTML form.
	// 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. This covers *successful* logins to
	// the website, and explicit updates to the password. It does *not* cover if
	// the password just gets filled but not actually submitted, or if the login
	// failed.
	// Note that password consumers other than Chrome (e.g. Google Play Services)
	// might not update this at all.
	// Amount of microseconds since 1601, aka Windows epoch.
	DateLastUsed *int64 `protobuf:"varint,18,opt,name=date_last_used,json=dateLastUsed" json:"date_last_used,omitempty"`
	// Set if an issue was detected that puts this password at risk. All the
	// clients are expected to clear the field when the password value is updated.
	// 'reused' part can be additionally reset when the analysis on the entire
	// password store is completed.
	PasswordIssues *PasswordIssues `protobuf:"bytes,19,opt,name=password_issues,json=passwordIssues" json:"password_issues,omitempty"`
	// Time when the |password_value| was last modified. For new credentials it
	// should be set to |date_created|. For subsequent updates the timestamp is
	// changed if and only if the new password value was saved.
	// Number of microseconds since Windows epoch (1601).
	DatePasswordModifiedWindowsEpochMicros *int64 `` /* 178-byte string literal not displayed */
	// Set of extra notes that the user attached to the password. The presence of
	// this field, even with an empty Notes message, becomes the authoritative
	// value for notes and would disregard whatever `encrypted_notes_backup`
	// contains.
	Notes *PasswordSpecificsData_Notes `protobuf:"bytes,22,opt,name=notes" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

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) GetDatePasswordModifiedWindowsEpochMicros added in v0.1.20

func (x *PasswordSpecificsData) GetDatePasswordModifiedWindowsEpochMicros() int64

func (*PasswordSpecificsData) GetDisplayName

func (x *PasswordSpecificsData) GetDisplayName() string

func (*PasswordSpecificsData) GetFederationUrl

func (x *PasswordSpecificsData) GetFederationUrl() string

func (*PasswordSpecificsData) GetNotes added in v0.1.20

func (*PasswordSpecificsData) GetOrigin

func (x *PasswordSpecificsData) GetOrigin() string

func (*PasswordSpecificsData) GetPasswordElement

func (x *PasswordSpecificsData) GetPasswordElement() string

func (*PasswordSpecificsData) GetPasswordIssues added in v0.1.20

func (x *PasswordSpecificsData) GetPasswordIssues() *PasswordIssues

func (*PasswordSpecificsData) GetPasswordValue

func (x *PasswordSpecificsData) GetPasswordValue() string

func (*PasswordSpecificsData) GetPreferred deprecated

func (x *PasswordSpecificsData) GetPreferred() bool

Deprecated: Marked as deprecated in password_specifics.proto.

func (*PasswordSpecificsData) GetScheme

func (x *PasswordSpecificsData) GetScheme() int32

func (*PasswordSpecificsData) GetSignonRealm

func (x *PasswordSpecificsData) GetSignonRealm() string

func (*PasswordSpecificsData) GetSslValid deprecated

func (x *PasswordSpecificsData) GetSslValid() bool

Deprecated: Marked as deprecated in password_specifics.proto.

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 PasswordSpecificsData_Notes added in v0.1.20

type PasswordSpecificsData_Notes struct {
	Note []*PasswordSpecificsData_Notes_Note `protobuf:"bytes,1,rep,name=note" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordSpecificsData_Notes) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSpecificsData_Notes.ProtoReflect.Descriptor instead.

func (*PasswordSpecificsData_Notes) GetNote added in v0.1.20

func (*PasswordSpecificsData_Notes) ProtoMessage added in v0.1.20

func (*PasswordSpecificsData_Notes) ProtoMessage()

func (*PasswordSpecificsData_Notes) ProtoReflect added in v0.1.20

func (*PasswordSpecificsData_Notes) Reset added in v0.1.20

func (x *PasswordSpecificsData_Notes) Reset()

func (*PasswordSpecificsData_Notes) String added in v0.1.20

func (x *PasswordSpecificsData_Notes) String() string

type PasswordSpecificsData_Notes_Note added in v0.1.20

type PasswordSpecificsData_Notes_Note struct {

	// The display name must be unique within the scope of a password.
	UniqueDisplayName *string `protobuf:"bytes,1,opt,name=unique_display_name,json=uniqueDisplayName" json:"unique_display_name,omitempty"`
	// The user-defined value of the note.
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// The creation time of the note. Number of microseconds since 1601.
	DateCreatedWindowsEpochMicros *int64 `` /* 148-byte string literal not displayed */
	// Whether the value of the note is not displayed in plain text by
	// default.
	HideByDefault *bool `protobuf:"varint,4,opt,name=hide_by_default,json=hideByDefault" json:"hide_by_default,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordSpecificsData_Notes_Note) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSpecificsData_Notes_Note.ProtoReflect.Descriptor instead.

func (*PasswordSpecificsData_Notes_Note) GetDateCreatedWindowsEpochMicros added in v0.1.20

func (x *PasswordSpecificsData_Notes_Note) GetDateCreatedWindowsEpochMicros() int64

func (*PasswordSpecificsData_Notes_Note) GetHideByDefault added in v0.1.20

func (x *PasswordSpecificsData_Notes_Note) GetHideByDefault() bool

func (*PasswordSpecificsData_Notes_Note) GetUniqueDisplayName added in v0.1.20

func (x *PasswordSpecificsData_Notes_Note) GetUniqueDisplayName() string

func (*PasswordSpecificsData_Notes_Note) GetValue added in v0.1.20

func (*PasswordSpecificsData_Notes_Note) ProtoMessage added in v0.1.20

func (*PasswordSpecificsData_Notes_Note) ProtoMessage()

func (*PasswordSpecificsData_Notes_Note) ProtoReflect added in v0.1.20

func (*PasswordSpecificsData_Notes_Note) Reset added in v0.1.20

func (*PasswordSpecificsData_Notes_Note) String added in v0.1.20

type PasswordSpecificsData_Scheme added in v0.1.20

type PasswordSpecificsData_Scheme int32

The different types of the saved credential.

const (
	// SCHEME_HTML, the credential represents either a parsed HTML form, or an
	// android credential or a password saved through Credential Management API
	// (https://w3c.github.io/webappsec/specs/credentialmanagement/).
	PasswordSpecificsData_SCHEME_HTML PasswordSpecificsData_Scheme = 0
	// SCHEME_BASIC, basic access http authentication.
	PasswordSpecificsData_SCHEME_BASIC PasswordSpecificsData_Scheme = 1
	// SCHEME_DIGEST, digest access authentication.
	PasswordSpecificsData_SCHEME_DIGEST PasswordSpecificsData_Scheme = 2
	// SCHEME_OTHER, another proxy access authentication.
	PasswordSpecificsData_SCHEME_OTHER PasswordSpecificsData_Scheme = 3
	// USERNAME_ONLY, partial credentials saved on Android that contain only
	// username and miss the password.
	PasswordSpecificsData_USERNAME_ONLY PasswordSpecificsData_Scheme = 4
)

func (PasswordSpecificsData_Scheme) Descriptor added in v0.1.20

func (PasswordSpecificsData_Scheme) Enum added in v0.1.20

func (PasswordSpecificsData_Scheme) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use PasswordSpecificsData_Scheme.Descriptor instead.

func (PasswordSpecificsData_Scheme) Number added in v0.1.20

func (PasswordSpecificsData_Scheme) String added in v0.1.20

func (PasswordSpecificsData_Scheme) Type added in v0.1.20

func (*PasswordSpecificsData_Scheme) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type PasswordSpecificsMetadata

type PasswordSpecificsMetadata struct {

	// The signon realm for the credential. For more details, see the
	// `signon_realm` field in PasswordSpecificsData.
	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. Copy from PasswordSpecificsData.blacklisted.
	Blacklisted *bool `protobuf:"varint,2,opt,name=blacklisted" json:"blacklisted,omitempty"`
	// Copy from PasswordSpecificsData.date_last_used.
	// Introduced in M112.
	DateLastUsedWindowsEpochMicros *int64 `` /* 153-byte string literal not displayed */
	// Copy from PasswordSpecificsData.password_issues. Introduced in M114.
	PasswordIssues *PasswordIssues `protobuf:"bytes,4,opt,name=password_issues,json=passwordIssues" json:"password_issues,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) GetDateLastUsedWindowsEpochMicros added in v0.1.20

func (x *PasswordSpecificsMetadata) GetDateLastUsedWindowsEpochMicros() int64

func (*PasswordSpecificsMetadata) GetPasswordIssues added in v0.1.20

func (x *PasswordSpecificsMetadata) GetPasswordIssues() *PasswordIssues

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 the legacy Directory used to store, 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 PhoneAsASecurityKeySpecificFields added in v0.1.20

type PhoneAsASecurityKeySpecificFields struct {

	// The encoded tunnel server in the same format as in the BLE advert. See
	// device::cablev2::tunnelserver::DecodeDomain. (Actually a uint16 but
	// proto doesn't have that as a type.)
	TunnelServerDomain *uint32 `protobuf:"varint,1,opt,name=tunnel_server_domain,json=tunnelServerDomain" json:"tunnel_server_domain,omitempty"`
	// An FCM token that can be presented to the tunnel server to contact this
	// device.
	ContactId []byte `protobuf:"bytes,2,opt,name=contact_id,json=contactId" json:"contact_id,omitempty"`
	// A shared secret key, used to enable communication across devices via
	// unauthenticated channels. Knowledge of this secret acts as proof that the
	// remote end is authorized to talk to the device publishing this secret.
	Secret []byte `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"`
	// An id that identifies |secret|. This, and |secret|, will be rotated and
	// the ID allows this device to know which |secret| the counterparty is
	// using.
	Id *uint32 `protobuf:"fixed32,4,opt,name=id" json:"id,omitempty"`
	// A P-256, X9.62-encoded public key for this device. Specific to the Chrome
	// instance.
	PeerPublicKeyX962 []byte `protobuf:"bytes,5,opt,name=peer_public_key_x962,json=peerPublicKeyX962" json:"peer_public_key_x962,omitempty"`
	// contains filtered or unexported fields
}

func (*PhoneAsASecurityKeySpecificFields) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PhoneAsASecurityKeySpecificFields.ProtoReflect.Descriptor instead.

func (*PhoneAsASecurityKeySpecificFields) GetContactId added in v0.1.20

func (x *PhoneAsASecurityKeySpecificFields) GetContactId() []byte

func (*PhoneAsASecurityKeySpecificFields) GetId added in v0.1.20

func (*PhoneAsASecurityKeySpecificFields) GetPeerPublicKeyX962 added in v0.1.20

func (x *PhoneAsASecurityKeySpecificFields) GetPeerPublicKeyX962() []byte

func (*PhoneAsASecurityKeySpecificFields) GetSecret added in v0.1.20

func (x *PhoneAsASecurityKeySpecificFields) GetSecret() []byte

func (*PhoneAsASecurityKeySpecificFields) GetTunnelServerDomain added in v0.1.20

func (x *PhoneAsASecurityKeySpecificFields) GetTunnelServerDomain() uint32

func (*PhoneAsASecurityKeySpecificFields) ProtoMessage added in v0.1.20

func (*PhoneAsASecurityKeySpecificFields) ProtoMessage()

func (*PhoneAsASecurityKeySpecificFields) ProtoReflect added in v0.1.20

func (*PhoneAsASecurityKeySpecificFields) Reset added in v0.1.20

func (*PhoneAsASecurityKeySpecificFields) String added in v0.1.20

type PowerBookmarkSpecifics added in v0.1.20

type PowerBookmarkSpecifics struct {

	// required
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// required
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// required
	PowerType *PowerBookmarkSpecifics_PowerType `` /* 128-byte string literal not displayed */
	// required
	CreationTimeUsec *int64 `protobuf:"varint,4,opt,name=creation_time_usec,json=creationTimeUsec" json:"creation_time_usec,omitempty"`
	// required
	UpdateTimeUsec *int64 `protobuf:"varint,5,opt,name=update_time_usec,json=updateTimeUsec" json:"update_time_usec,omitempty"`
	// required
	PowerEntity *PowerEntity `protobuf:"bytes,100,opt,name=power_entity,json=powerEntity" json:"power_entity,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerBookmarkSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PowerBookmarkSpecifics.ProtoReflect.Descriptor instead.

func (*PowerBookmarkSpecifics) GetCreationTimeUsec added in v0.1.20

func (x *PowerBookmarkSpecifics) GetCreationTimeUsec() int64

func (*PowerBookmarkSpecifics) GetGuid added in v0.1.20

func (x *PowerBookmarkSpecifics) GetGuid() string

func (*PowerBookmarkSpecifics) GetPowerEntity added in v0.1.20

func (x *PowerBookmarkSpecifics) GetPowerEntity() *PowerEntity

func (*PowerBookmarkSpecifics) GetPowerType added in v0.1.20

func (*PowerBookmarkSpecifics) GetUpdateTimeUsec added in v0.1.20

func (x *PowerBookmarkSpecifics) GetUpdateTimeUsec() int64

func (*PowerBookmarkSpecifics) GetUrl added in v0.1.20

func (x *PowerBookmarkSpecifics) GetUrl() string

func (*PowerBookmarkSpecifics) ProtoMessage added in v0.1.20

func (*PowerBookmarkSpecifics) ProtoMessage()

func (*PowerBookmarkSpecifics) ProtoReflect added in v0.1.20

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

func (*PowerBookmarkSpecifics) Reset added in v0.1.20

func (x *PowerBookmarkSpecifics) Reset()

func (*PowerBookmarkSpecifics) String added in v0.1.20

func (x *PowerBookmarkSpecifics) String() string

type PowerBookmarkSpecifics_PowerType added in v0.1.20

type PowerBookmarkSpecifics_PowerType int32

PowerType is persisted to disk and therefore shouldn't be reoderered or changed. Should keep the field numbers of PowerType in sync with the ones in entity above.

const (
	// All powers should have type so this should be unused.
	PowerBookmarkSpecifics_POWER_TYPE_UNSPECIFIED PowerBookmarkSpecifics_PowerType = 0
	// Used for testing.
	PowerBookmarkSpecifics_POWER_TYPE_MOCK PowerBookmarkSpecifics_PowerType = 1
	// Used for notes.
	PowerBookmarkSpecifics_POWER_TYPE_NOTE PowerBookmarkSpecifics_PowerType = 2
)

func (PowerBookmarkSpecifics_PowerType) Descriptor added in v0.1.20

func (PowerBookmarkSpecifics_PowerType) Enum added in v0.1.20

func (PowerBookmarkSpecifics_PowerType) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use PowerBookmarkSpecifics_PowerType.Descriptor instead.

func (PowerBookmarkSpecifics_PowerType) Number added in v0.1.20

func (PowerBookmarkSpecifics_PowerType) String added in v0.1.20

func (PowerBookmarkSpecifics_PowerType) Type added in v0.1.20

func (*PowerBookmarkSpecifics_PowerType) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type PowerEntity added in v0.1.20

type PowerEntity struct {

	// Types that are assignable to Entity:
	//
	//	*PowerEntity_NoteEntity
	Entity isPowerEntity_Entity `protobuf_oneof:"entity"`
	// contains filtered or unexported fields
}

Data structure dedicated to each power type. Should keep the field numbers of specifics in sync with the ones in PowerType below.

func (*PowerEntity) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PowerEntity.ProtoReflect.Descriptor instead.

func (*PowerEntity) GetEntity added in v0.1.20

func (m *PowerEntity) GetEntity() isPowerEntity_Entity

func (*PowerEntity) GetNoteEntity added in v0.1.20

func (x *PowerEntity) GetNoteEntity() *NoteEntity

func (*PowerEntity) ProtoMessage added in v0.1.20

func (*PowerEntity) ProtoMessage()

func (*PowerEntity) ProtoReflect added in v0.1.20

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

func (*PowerEntity) Reset added in v0.1.20

func (x *PowerEntity) Reset()

func (*PowerEntity) String added in v0.1.20

func (x *PowerEntity) String() string

type PowerEntity_NoteEntity added in v0.1.20

type PowerEntity_NoteEntity struct {
	// Used for notes.
	NoteEntity *NoteEntity `protobuf:"bytes,2,opt,name=note_entity,json=noteEntity,oneof"`
}

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: Marked as deprecated in printer_specifics.proto.
	EffectiveManufacturer *string `protobuf:"bytes,2,opt,name=effective_manufacturer,json=effectiveManufacturer" json:"effective_manufacturer,omitempty"`
	// Deprecated: Marked as deprecated in printer_specifics.proto.
	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: Marked as deprecated in printer_specifics.proto.

func (*PrinterPPDReference) GetEffectiveModel deprecated

func (x *PrinterPPDReference) GetEffectiveModel() string

Deprecated: Marked as deprecated in printer_specifics.proto.

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: Marked as deprecated in printer_specifics.proto.
	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: Marked as deprecated in printer_specifics.proto.
	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: Marked as deprecated in printer_specifics.proto.
	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: Marked as deprecated in printer_specifics.proto.

func (*PrinterSpecifics) GetModel deprecated

func (x *PrinterSpecifics) GetModel() string

Deprecated: Marked as deprecated in printer_specifics.proto.

func (*PrinterSpecifics) GetPpd deprecated

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

Deprecated: Marked as deprecated in printer_specifics.proto.

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 PrintersAuthorizationServerSpecifics added in v0.1.20

type PrintersAuthorizationServerSpecifics struct {

	// Universal Resource Identifier for the authorization server on the network.
	// The scheme must be https. Example: https://address.example:port/path/path.
	// This field must be unique and is required.
	Uri *string `protobuf:"bytes,1,opt,name=uri" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Represents trusted Authorization Server for printers.

func (*PrintersAuthorizationServerSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PrintersAuthorizationServerSpecifics.ProtoReflect.Descriptor instead.

func (*PrintersAuthorizationServerSpecifics) GetUri added in v0.1.20

func (*PrintersAuthorizationServerSpecifics) ProtoMessage added in v0.1.20

func (*PrintersAuthorizationServerSpecifics) ProtoMessage()

func (*PrintersAuthorizationServerSpecifics) ProtoReflect added in v0.1.20

func (*PrintersAuthorizationServerSpecifics) Reset added in v0.1.20

func (*PrintersAuthorizationServerSpecifics) String added in v0.1.20

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 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"`
	EstimatedReadTimeSeconds *int32  `` /* 131-byte string literal not displayed */
	// 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) GetEstimatedReadTimeSeconds added in v0.1.20

func (x *ReadingListSpecifics) GetEstimatedReadTimeSeconds() int32

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 SavedTabGroup added in v0.1.20

type SavedTabGroup struct {

	// The position of the SavedTabGroup in any visual display. This also
	// represents the index in the SavedTabGroupModel of the group.
	Position *int64 `protobuf:"varint,1,opt,name=position" json:"position,omitempty"`
	// The displayed title of the group, shown on the tab group and the saved tab
	// group button.
	Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	// The color of the group, mapped to tab_groups::TabGroupColorId.
	Color *SavedTabGroup_SavedTabGroupColor `protobuf:"varint,3,opt,name=color,enum=sync_pb.SavedTabGroup_SavedTabGroupColor" json:"color,omitempty"`
	// contains filtered or unexported fields
}

Sync protocol datatype extension for saved tab groups. Saved Tab Groups are tab groups which can be recalled between browser sessions, and if sync is turned on, cross device. A saved tab group contains tabs which are stored as a SavedTabGroupSpecifics separately (SavedTabGroupTab). This is due to limitations from the sync service on the size of an individual sync entity.

func (*SavedTabGroup) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SavedTabGroup.ProtoReflect.Descriptor instead.

func (*SavedTabGroup) GetColor added in v0.1.20

func (*SavedTabGroup) GetPosition added in v0.1.20

func (x *SavedTabGroup) GetPosition() int64

func (*SavedTabGroup) GetTitle added in v0.1.20

func (x *SavedTabGroup) GetTitle() string

func (*SavedTabGroup) ProtoMessage added in v0.1.20

func (*SavedTabGroup) ProtoMessage()

func (*SavedTabGroup) ProtoReflect added in v0.1.20

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

func (*SavedTabGroup) Reset added in v0.1.20

func (x *SavedTabGroup) Reset()

func (*SavedTabGroup) String added in v0.1.20

func (x *SavedTabGroup) String() string

type SavedTabGroupSpecifics added in v0.1.20

type SavedTabGroupSpecifics struct {

	// An id that refers to the sync saved tab group object.
	Guid *string `protobuf:"bytes,1,opt,name=guid" json:"guid,omitempty"`
	// Timestamps for CRUD operations.
	CreationTimeWindowsEpochMicros *int64 `` /* 151-byte string literal not displayed */
	UpdateTimeWindowsEpochMicros   *int64 `` /* 145-byte string literal not displayed */
	// Types that are assignable to Entity:
	//
	//	*SavedTabGroupSpecifics_Group
	//	*SavedTabGroupSpecifics_Tab
	Entity isSavedTabGroupSpecifics_Entity `protobuf_oneof:"entity"`
	// contains filtered or unexported fields
}

func (*SavedTabGroupSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SavedTabGroupSpecifics.ProtoReflect.Descriptor instead.

func (*SavedTabGroupSpecifics) GetCreationTimeWindowsEpochMicros added in v0.1.20

func (x *SavedTabGroupSpecifics) GetCreationTimeWindowsEpochMicros() int64

func (*SavedTabGroupSpecifics) GetEntity added in v0.1.20

func (m *SavedTabGroupSpecifics) GetEntity() isSavedTabGroupSpecifics_Entity

func (*SavedTabGroupSpecifics) GetGroup added in v0.1.20

func (x *SavedTabGroupSpecifics) GetGroup() *SavedTabGroup

func (*SavedTabGroupSpecifics) GetGuid added in v0.1.20

func (x *SavedTabGroupSpecifics) GetGuid() string

func (*SavedTabGroupSpecifics) GetTab added in v0.1.20

func (*SavedTabGroupSpecifics) GetUpdateTimeWindowsEpochMicros added in v0.1.20

func (x *SavedTabGroupSpecifics) GetUpdateTimeWindowsEpochMicros() int64

func (*SavedTabGroupSpecifics) ProtoMessage added in v0.1.20

func (*SavedTabGroupSpecifics) ProtoMessage()

func (*SavedTabGroupSpecifics) ProtoReflect added in v0.1.20

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

func (*SavedTabGroupSpecifics) Reset added in v0.1.20

func (x *SavedTabGroupSpecifics) Reset()

func (*SavedTabGroupSpecifics) String added in v0.1.20

func (x *SavedTabGroupSpecifics) String() string

type SavedTabGroupSpecifics_Group added in v0.1.20

type SavedTabGroupSpecifics_Group struct {
	Group *SavedTabGroup `protobuf:"bytes,4,opt,name=group,oneof"`
}

type SavedTabGroupSpecifics_Tab added in v0.1.20

type SavedTabGroupSpecifics_Tab struct {
	Tab *SavedTabGroupTab `protobuf:"bytes,5,opt,name=tab,oneof"`
}

type SavedTabGroupTab added in v0.1.20

type SavedTabGroupTab struct {

	// An id that links the saved tab group tab to it's saved tab group.
	GroupGuid *string `protobuf:"bytes,1,opt,name=group_guid,json=groupGuid" json:"group_guid,omitempty"`
	// The position in the Tab Strip the tab is located relative to the start of
	// the tab group. This is also the index in the saved_tabs_ vector in the
	// SavedTabGroup in the SavedTabGroupModel, which is updated by the
	// TabStripModel.
	Position *int64 `protobuf:"varint,2,opt,name=position" json:"position,omitempty"`
	// Tab Data used for constructing the tab.
	Url *string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	// The displayed title of the tab, shown on the saved tab group button's
	// context menu.
	Title *string `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	// contains filtered or unexported fields
}

Sync protocol datatype extension for saved tab group tabs. SavedTabGroupTab are the sync representation of a tab in a saved tab group. they are stored as separate entities due to size limitations of sync entities.

func (*SavedTabGroupTab) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SavedTabGroupTab.ProtoReflect.Descriptor instead.

func (*SavedTabGroupTab) GetGroupGuid added in v0.1.20

func (x *SavedTabGroupTab) GetGroupGuid() string

func (*SavedTabGroupTab) GetPosition added in v0.1.20

func (x *SavedTabGroupTab) GetPosition() int64

func (*SavedTabGroupTab) GetTitle added in v0.1.20

func (x *SavedTabGroupTab) GetTitle() string

func (*SavedTabGroupTab) GetUrl added in v0.1.20

func (x *SavedTabGroupTab) GetUrl() string

func (*SavedTabGroupTab) ProtoMessage added in v0.1.20

func (*SavedTabGroupTab) ProtoMessage()

func (*SavedTabGroupTab) ProtoReflect added in v0.1.20

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

func (*SavedTabGroupTab) Reset added in v0.1.20

func (x *SavedTabGroupTab) Reset()

func (*SavedTabGroupTab) String added in v0.1.20

func (x *SavedTabGroupTab) String() string

type SavedTabGroup_SavedTabGroupColor added in v0.1.20

type SavedTabGroup_SavedTabGroupColor int32

These colors map to tab_groups::TabGroupColorId. They DO NOT match the enum integer values due to "kGrey" being in the "Unspecified" field.

const (
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_UNSPECIFIED SavedTabGroup_SavedTabGroupColor = 0
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_GREY        SavedTabGroup_SavedTabGroupColor = 1
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_BLUE        SavedTabGroup_SavedTabGroupColor = 2
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_RED         SavedTabGroup_SavedTabGroupColor = 3
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_YELLOW      SavedTabGroup_SavedTabGroupColor = 4
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_GREEN       SavedTabGroup_SavedTabGroupColor = 5
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_PINK        SavedTabGroup_SavedTabGroupColor = 6
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_PURPLE      SavedTabGroup_SavedTabGroupColor = 7
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_CYAN        SavedTabGroup_SavedTabGroupColor = 8
	SavedTabGroup_SAVED_TAB_GROUP_COLOR_ORANGE      SavedTabGroup_SavedTabGroupColor = 9
)

func (SavedTabGroup_SavedTabGroupColor) Descriptor added in v0.1.20

func (SavedTabGroup_SavedTabGroupColor) Enum added in v0.1.20

func (SavedTabGroup_SavedTabGroupColor) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SavedTabGroup_SavedTabGroupColor.Descriptor instead.

func (SavedTabGroup_SavedTabGroupColor) Number added in v0.1.20

func (SavedTabGroup_SavedTabGroupColor) String added in v0.1.20

func (SavedTabGroup_SavedTabGroupColor) Type added in v0.1.20

func (*SavedTabGroup_SavedTabGroupColor) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

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: Marked as deprecated in search_engine_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in search_engine_specifics.proto.
	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.
	//
	// Deprecated: Marked as deprecated in search_engine_specifics.proto.
	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: Marked as deprecated in search_engine_specifics.proto.
	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: Marked as deprecated in search_engine_specifics.proto.
	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"`
	// Whether a search engine is 'active' and can be triggered via the omnibox by
	// typing in the relevant keyword.
	IsActive *SearchEngineSpecifics_ActiveStatus `` /* 128-byte string literal not displayed */
	// The ID associated with the starter pack engine.  This is set to 0 if not a
	// starter pack engine.
	StarterPackId *int32 `protobuf:"varint,28,opt,name=starter_pack_id,json=starterPackId" json:"starter_pack_id,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 deprecated

func (x *SearchEngineSpecifics) GetAutogenerateKeyword() bool

Deprecated: Marked as deprecated in search_engine_specifics.proto.

func (*SearchEngineSpecifics) GetDateCreated

func (x *SearchEngineSpecifics) GetDateCreated() int64

func (*SearchEngineSpecifics) GetDeprecatedShowInDefaultList deprecated

func (x *SearchEngineSpecifics) GetDeprecatedShowInDefaultList() bool

Deprecated: Marked as deprecated in search_engine_specifics.proto.

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: Marked as deprecated in search_engine_specifics.proto.

func (*SearchEngineSpecifics) GetInstantUrlPostParams deprecated

func (x *SearchEngineSpecifics) GetInstantUrlPostParams() string

Deprecated: Marked as deprecated in search_engine_specifics.proto.

func (*SearchEngineSpecifics) GetIsActive added in v0.1.20

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: Marked as deprecated in search_engine_specifics.proto.

func (*SearchEngineSpecifics) GetSearchUrlPostParams

func (x *SearchEngineSpecifics) GetSearchUrlPostParams() string

func (*SearchEngineSpecifics) GetShortName

func (x *SearchEngineSpecifics) GetShortName() string

func (*SearchEngineSpecifics) GetStarterPackId added in v0.1.20

func (x *SearchEngineSpecifics) GetStarterPackId() int32

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 SearchEngineSpecifics_ActiveStatus added in v0.1.20

type SearchEngineSpecifics_ActiveStatus int32
const (
	// The default state when a SE is auto-added. Unspecified SE are inactive.
	SearchEngineSpecifics_ACTIVE_STATUS_UNSPECIFIED SearchEngineSpecifics_ActiveStatus = 0
	// The SE is active and can be triggered via the omnibox.
	SearchEngineSpecifics_ACTIVE_STATUS_TRUE SearchEngineSpecifics_ActiveStatus = 1
	// The SE has been manually set to inactive by the user.
	SearchEngineSpecifics_ACTIVE_STATUS_FALSE SearchEngineSpecifics_ActiveStatus = 2
)

func (SearchEngineSpecifics_ActiveStatus) Descriptor added in v0.1.20

func (SearchEngineSpecifics_ActiveStatus) Enum added in v0.1.20

func (SearchEngineSpecifics_ActiveStatus) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SearchEngineSpecifics_ActiveStatus.Descriptor instead.

func (SearchEngineSpecifics_ActiveStatus) Number added in v0.1.20

func (SearchEngineSpecifics_ActiveStatus) String added in v0.1.20

func (SearchEngineSpecifics_ActiveStatus) Type added in v0.1.20

func (*SearchEngineSpecifics_ActiveStatus) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

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 SegmentationSpecifics added in v0.1.20

type SegmentationSpecifics struct {

	// The key used to identify the type of segmentation associated with a
	// feature, e.g. 'user_engagement'.
	SegmentationKey        *string                                       `protobuf:"bytes,1,opt,name=segmentation_key,json=segmentationKey" json:"segmentation_key,omitempty"`
	SegmentSelectionResult *SegmentationSpecifics_SegmentSelectionResult `protobuf:"bytes,2,opt,name=segment_selection_result,json=segmentSelectionResult" json:"segment_selection_result,omitempty"`
	DeviceMetadata         *SegmentationSpecifics_DeviceMetadata         `protobuf:"bytes,3,opt,name=device_metadata,json=deviceMetadata" json:"device_metadata,omitempty"`
	// One or more model execution data associated with each segment for the
	// segmentation key.
	ModelExecutionData []*SegmentationSpecifics_ModelExecutionData `protobuf:"bytes,4,rep,name=model_execution_data,json=modelExecutionData" json:"model_execution_data,omitempty"`
	// contains filtered or unexported fields
}

Sync data proto for storing segmentation data. Keyed by the combination of cache_guid (a Sync client id) and segmentation key.

The segmentation platform is a platform that uses intelligence and machine learning to guide developers for building purpose-built user experience for specific segments of users. See go/chrome-segmentation for more details.

func (*SegmentationSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SegmentationSpecifics.ProtoReflect.Descriptor instead.

func (*SegmentationSpecifics) GetDeviceMetadata added in v0.1.20

func (*SegmentationSpecifics) GetModelExecutionData added in v0.1.20

func (*SegmentationSpecifics) GetSegmentSelectionResult added in v0.1.20

func (*SegmentationSpecifics) GetSegmentationKey added in v0.1.20

func (x *SegmentationSpecifics) GetSegmentationKey() string

func (*SegmentationSpecifics) ProtoMessage added in v0.1.20

func (*SegmentationSpecifics) ProtoMessage()

func (*SegmentationSpecifics) ProtoReflect added in v0.1.20

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

func (*SegmentationSpecifics) Reset added in v0.1.20

func (x *SegmentationSpecifics) Reset()

func (*SegmentationSpecifics) String added in v0.1.20

func (x *SegmentationSpecifics) String() string

type SegmentationSpecifics_DeviceMetadata added in v0.1.20

type SegmentationSpecifics_DeviceMetadata struct {

	// The cache_guid created to identify a sync client on this device.
	// Reuses the same Sync guid.
	CacheGuid *string `protobuf:"bytes,1,opt,name=cache_guid,json=cacheGuid" json:"cache_guid,omitempty"`
	// The OS platform of the device.
	PlatformType *SegmentationSpecifics_DeviceMetadata_PlatformType `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata about the client device as used by the segmentation platform.

func (*SegmentationSpecifics_DeviceMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SegmentationSpecifics_DeviceMetadata.ProtoReflect.Descriptor instead.

func (*SegmentationSpecifics_DeviceMetadata) GetCacheGuid added in v0.1.20

func (x *SegmentationSpecifics_DeviceMetadata) GetCacheGuid() string

func (*SegmentationSpecifics_DeviceMetadata) GetPlatformType added in v0.1.20

func (*SegmentationSpecifics_DeviceMetadata) ProtoMessage added in v0.1.20

func (*SegmentationSpecifics_DeviceMetadata) ProtoMessage()

func (*SegmentationSpecifics_DeviceMetadata) ProtoReflect added in v0.1.20

func (*SegmentationSpecifics_DeviceMetadata) Reset added in v0.1.20

func (*SegmentationSpecifics_DeviceMetadata) String added in v0.1.20

type SegmentationSpecifics_DeviceMetadata_PlatformType added in v0.1.20

type SegmentationSpecifics_DeviceMetadata_PlatformType int32
const (
	SegmentationSpecifics_DeviceMetadata_PLATFORM_TYPE_UNSPECIFIED SegmentationSpecifics_DeviceMetadata_PlatformType = 0
	SegmentationSpecifics_DeviceMetadata_PLATFORM_WINDOWS          SegmentationSpecifics_DeviceMetadata_PlatformType = 1
	SegmentationSpecifics_DeviceMetadata_PLATFORM_MAC              SegmentationSpecifics_DeviceMetadata_PlatformType = 2
	SegmentationSpecifics_DeviceMetadata_PLATFORM_LINUX            SegmentationSpecifics_DeviceMetadata_PlatformType = 3
	SegmentationSpecifics_DeviceMetadata_PLATFORM_CHROMEOS_ASH     SegmentationSpecifics_DeviceMetadata_PlatformType = 4
	SegmentationSpecifics_DeviceMetadata_PLATFORM_ANDROID          SegmentationSpecifics_DeviceMetadata_PlatformType = 5
	SegmentationSpecifics_DeviceMetadata_PLATFORM_IOS              SegmentationSpecifics_DeviceMetadata_PlatformType = 6
	SegmentationSpecifics_DeviceMetadata_PLATFORM_CHROMEOS_LACROS  SegmentationSpecifics_DeviceMetadata_PlatformType = 7
)

func (SegmentationSpecifics_DeviceMetadata_PlatformType) Descriptor added in v0.1.20

func (SegmentationSpecifics_DeviceMetadata_PlatformType) Enum added in v0.1.20

func (SegmentationSpecifics_DeviceMetadata_PlatformType) EnumDescriptor deprecated added in v0.1.20

Deprecated: Use SegmentationSpecifics_DeviceMetadata_PlatformType.Descriptor instead.

func (SegmentationSpecifics_DeviceMetadata_PlatformType) Number added in v0.1.20

func (SegmentationSpecifics_DeviceMetadata_PlatformType) String added in v0.1.20

func (SegmentationSpecifics_DeviceMetadata_PlatformType) Type added in v0.1.20

func (*SegmentationSpecifics_DeviceMetadata_PlatformType) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

type SegmentationSpecifics_ModelExecutionData added in v0.1.20

type SegmentationSpecifics_ModelExecutionData struct {

	// A string ID that identifies a model.
	ModelId *string `protobuf:"bytes,1,opt,name=model_id,json=modelId" json:"model_id,omitempty"`
	// A model may output one or multiple scores, one score for each segment
	// label.
	ModelOutputs []*SegmentationSpecifics_ModelExecutionData_ModelOutput `protobuf:"bytes,2,rep,name=model_outputs,json=modelOutputs" json:"model_outputs,omitempty"`
	// Timestamp when the ML model was executed.
	// Represents time from windows epoch in seconds.
	ExecutionTimeWindowsEpochSeconds *int64 `` /* 157-byte string literal not displayed */
	// Expiry timestamp for the model scores.
	// Represents time from windows epoch in seconds.
	ScoreExpiryTimeWindowsEpochSeconds *int64 `` /* 165-byte string literal not displayed */
	// The version of the ML model that was run.
	ModelVersion *int32 `protobuf:"varint,5,opt,name=model_version,json=modelVersion" json:"model_version,omitempty"`
	// contains filtered or unexported fields
}

Model execution data including segment scores and related metadata, e.g., model version.

func (*SegmentationSpecifics_ModelExecutionData) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SegmentationSpecifics_ModelExecutionData.ProtoReflect.Descriptor instead.

func (*SegmentationSpecifics_ModelExecutionData) GetExecutionTimeWindowsEpochSeconds added in v0.1.20

func (x *SegmentationSpecifics_ModelExecutionData) GetExecutionTimeWindowsEpochSeconds() int64

func (*SegmentationSpecifics_ModelExecutionData) GetModelId added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData) GetModelOutputs added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData) GetModelVersion added in v0.1.20

func (x *SegmentationSpecifics_ModelExecutionData) GetModelVersion() int32

func (*SegmentationSpecifics_ModelExecutionData) GetScoreExpiryTimeWindowsEpochSeconds added in v0.1.20

func (x *SegmentationSpecifics_ModelExecutionData) GetScoreExpiryTimeWindowsEpochSeconds() int64

func (*SegmentationSpecifics_ModelExecutionData) ProtoMessage added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData) ProtoReflect added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData) Reset added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData) String added in v0.1.20

type SegmentationSpecifics_ModelExecutionData_ModelOutput added in v0.1.20

type SegmentationSpecifics_ModelExecutionData_ModelOutput struct {

	// When outputting multiple scores from a single model, this is the
	// segment label for each output.
	Label *string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
	// Raw segment scores provided by the ML model or the heuristic model.
	// The score is derived based on a combination of UMA histograms,
	// user actions or UKM and URLs visited. The score can be treated as a
	// probability of the user liking a feature, like feed, or NTP.
	Score *float32 `protobuf:"fixed32,2,opt,name=score" json:"score,omitempty"`
	// A rank defined by the segmentation scheme.
	Rank *int32 `protobuf:"varint,3,opt,name=rank" json:"rank,omitempty"`
	// contains filtered or unexported fields
}

Output of model.

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) Descriptor deprecated added in v0.1.20

Deprecated: Use SegmentationSpecifics_ModelExecutionData_ModelOutput.ProtoReflect.Descriptor instead.

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) GetLabel added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) GetRank added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) GetScore added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) ProtoMessage added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) ProtoReflect added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) Reset added in v0.1.20

func (*SegmentationSpecifics_ModelExecutionData_ModelOutput) String added in v0.1.20

type SegmentationSpecifics_SegmentSelectionResult added in v0.1.20

type SegmentationSpecifics_SegmentSelectionResult struct {

	// The string ID that refers to the segment the user was assigned to, e.g.,
	// 'highly_engaged_user'.
	SelectedSegment *string `protobuf:"bytes,1,opt,name=selected_segment,json=selectedSegment" json:"selected_segment,omitempty"`
	// Expiry time of selection result. Represents time from windows epoch in
	// seconds. Expired results are ignored by clients.
	ExpiryTimeWindowsEpochSeconds *int64 `` /* 148-byte string literal not displayed */
	// Time when the segmentation data is updated. Used to weigh results by
	// recency. Represents time from windows epoch in seconds.
	LastUpdatedTimeWindowsEpochSeconds *int64 `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

The selected segment by the segmentation scheme.

func (*SegmentationSpecifics_SegmentSelectionResult) Descriptor deprecated added in v0.1.20

Deprecated: Use SegmentationSpecifics_SegmentSelectionResult.ProtoReflect.Descriptor instead.

func (*SegmentationSpecifics_SegmentSelectionResult) GetExpiryTimeWindowsEpochSeconds added in v0.1.20

func (x *SegmentationSpecifics_SegmentSelectionResult) GetExpiryTimeWindowsEpochSeconds() int64

func (*SegmentationSpecifics_SegmentSelectionResult) GetLastUpdatedTimeWindowsEpochSeconds added in v0.1.20

func (x *SegmentationSpecifics_SegmentSelectionResult) GetLastUpdatedTimeWindowsEpochSeconds() int64

func (*SegmentationSpecifics_SegmentSelectionResult) GetSelectedSegment added in v0.1.20

func (x *SegmentationSpecifics_SegmentSelectionResult) GetSelectedSegment() string

func (*SegmentationSpecifics_SegmentSelectionResult) ProtoMessage added in v0.1.20

func (*SegmentationSpecifics_SegmentSelectionResult) ProtoReflect added in v0.1.20

func (*SegmentationSpecifics_SegmentSelectionResult) Reset added in v0.1.20

func (*SegmentationSpecifics_SegmentSelectionResult) String added in v0.1.20

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"`
	// 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) 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.
	// Mandatory until M115. Replaced by device_form_factor afterwards, but still
	// populated for backward compatibility.
	//
	// Deprecated: Marked as deprecated in session_specifics.proto.
	DeviceType *SyncEnums_DeviceType `protobuf:"varint,4,opt,name=device_type,json=deviceType,enum=sync_pb.SyncEnums_DeviceType" json:"device_type,omitempty"`
	// The form factor of device.
	DeviceFormFactor *SyncEnums_DeviceFormFactor `` /* 145-byte string literal not displayed */
	// 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) GetDeviceFormFactor added in v0.1.20

func (x *SessionHeader) GetDeviceFormFactor() SyncEnums_DeviceFormFactor

func (*SessionHeader) GetDeviceType deprecated

func (x *SessionHeader) GetDeviceType() SyncEnums_DeviceType

Deprecated: Marked as deprecated in session_specifics.proto.

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. M89 and higher use sync's cache GUID (client ID)
	// to populate this tag for *new* sessions.
	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: Marked as deprecated in session_specifics.proto.
	Favicon []byte `protobuf:"bytes,8,opt,name=favicon" json:"favicon,omitempty"`
	// Deprecated: Marked as deprecated in session_specifics.proto.
	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: Marked as deprecated in session_specifics.proto.
	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: Marked as deprecated in session_specifics.proto.
	VariationId []uint64               `protobuf:"varint,12,rep,name=variation_id,json=variationId" json:"variation_id,omitempty"`
	BrowserType *SyncEnums_BrowserType `protobuf:"varint,13,opt,name=browser_type,json=browserType,enum=sync_pb.SyncEnums_BrowserType" json:"browser_type,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTab) Descriptor deprecated

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

Deprecated: Use SessionTab.ProtoReflect.Descriptor instead.

func (*SessionTab) GetBrowserType added in v0.1.20

func (x *SessionTab) GetBrowserType() SyncEnums_BrowserType

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: Marked as deprecated in session_specifics.proto.

func (*SessionTab) GetFaviconSource deprecated

func (x *SessionTab) GetFaviconSource() string

Deprecated: Marked as deprecated in session_specifics.proto.

func (*SessionTab) GetFaviconType deprecated

func (x *SessionTab) GetFaviconType() SessionTab_FaviconType

Deprecated: Marked as deprecated in session_specifics.proto.

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: Marked as deprecated in session_specifics.proto.

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"`
	// Type of the window.
	BrowserType *SyncEnums_BrowserType `` /* 129-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() SyncEnums_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 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
	// Deprecated UMA bucket, prior to splitting between SYNC_SERVER_ERROR and
	// SYNC_AUTH_ERROR.
	SharingMessageCommitError_DEPRECATED_SYNC_SERVER_OR_AUTH_ERROR SharingMessageCommitError_ErrorCode = 10
	// Message wasn't committed before timeout.
	SharingMessageCommitError_SYNC_TIMEOUT SharingMessageCommitError_ErrorCode = 11
	// Error code for server error or unparsable server response.
	SharingMessageCommitError_SYNC_SERVER_ERROR SharingMessageCommitError_ErrorCode = 12
	// Auth error when communicating with the server.
	SharingMessageCommitError_SYNC_AUTH_ERROR SharingMessageCommitError_ErrorCode = 13
)

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: Marked as deprecated in device_info_specifics.proto.
	SenderIdFcmTokenDeprecated *string `` /* 138-byte string literal not displayed */
	// Deprecated. Use sender_id_p256dh_v2 for new clients.
	//
	// Deprecated: Marked as deprecated in device_info_specifics.proto.
	SenderIdP256DhDeprecated []byte `` /* 130-byte string literal not displayed */
	// Deprecated. Use sender_id_auth_secret_v2 for new clients.
	//
	// Deprecated: Marked as deprecated in device_info_specifics.proto.
	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: Marked as deprecated in device_info_specifics.proto.

func (*SharingSpecificFields) GetSenderIdAuthSecretV2

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

func (*SharingSpecificFields) GetSenderIdFcmTokenDeprecated deprecated

func (x *SharingSpecificFields) GetSenderIdFcmTokenDeprecated() string

Deprecated: Marked as deprecated in device_info_specifics.proto.

func (*SharingSpecificFields) GetSenderIdFcmTokenV2

func (x *SharingSpecificFields) GetSenderIdFcmTokenV2() string

func (*SharingSpecificFields) GetSenderIdP256DhDeprecated deprecated

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

Deprecated: Marked as deprecated in device_info_specifics.proto.

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_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
	// Supports optimization guide push notification.
	SharingSpecificFields_OPTIMIZATION_GUIDE_PUSH_NOTIFICATION SharingSpecificFields_EnabledFeatures = 9
)

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 SharingSymmetricKey added in v0.1.20

type SharingSymmetricKey struct {
	KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

Encryption key used to encrypt PasswordSharingInvitationData.

func (*SharingSymmetricKey) Descriptor deprecated added in v0.1.20

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

Deprecated: Use SharingSymmetricKey.ProtoReflect.Descriptor instead.

func (*SharingSymmetricKey) GetKeyValue added in v0.1.20

func (x *SharingSymmetricKey) GetKeyValue() []byte

func (*SharingSymmetricKey) ProtoMessage added in v0.1.20

func (*SharingSymmetricKey) ProtoMessage()

func (*SharingSymmetricKey) ProtoReflect added in v0.1.20

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

func (*SharingSymmetricKey) Reset added in v0.1.20

func (x *SharingSymmetricKey) Reset()

func (*SharingSymmetricKey) String added in v0.1.20

func (x *SharingSymmetricKey) String() string

type SyncCycleCompletedEventInfo

type SyncCycleCompletedEventInfo struct {

	// These new conflict counters replace the ones above.
	// TODO(crbug.com/1315573): Deprecated in M103.
	//
	// Deprecated: Marked as deprecated in client_debug_info.proto.
	NumEncryptionConflicts *int32 `protobuf:"varint,4,opt,name=num_encryption_conflicts,json=numEncryptionConflicts" json:"num_encryption_conflicts,omitempty"`
	// Deprecated: Marked as deprecated in client_debug_info.proto.
	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"`
	// TODO(crbug.com/1315573): Deprecated in M103.
	//
	// Deprecated: Marked as deprecated in client_debug_info.proto.
	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 deprecated

func (x *SyncCycleCompletedEventInfo) GetNumEncryptionConflicts() int32

Deprecated: Marked as deprecated in client_debug_info.proto.

func (*SyncCycleCompletedEventInfo) GetNumHierarchyConflicts deprecated

func (x *SyncCycleCompletedEventInfo) GetNumHierarchyConflicts() int32

Deprecated: Marked as deprecated in client_debug_info.proto.

func (*SyncCycleCompletedEventInfo) GetNumReflectedUpdatesDownloaded deprecated

func (x *SyncCycleCompletedEventInfo) GetNumReflectedUpdatesDownloaded() int32

Deprecated: Marked as deprecated in client_debug_info.proto.

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.
	//
	// Starting with M99, this field is optional and used for legacy bookmarks
	// only:
	//  1. When processing GetUpdatesResponse, it is unused for modern data created
	//     or reuploaded by M94 or above, which populates the parent's GUID in
	//     BookmarkSpecifics (which is sufficient).
	//  2. When issuing CommitMessage, the field is populated for compatibility
	//     with clients before M99.
	ParentIdString *string `protobuf:"bytes,2,opt,name=parent_id_string,json=parentIdString" json:"parent_id_string,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 milliseconds since Unix epoch.
	// Present in both GetUpdatesResponse and CommitMessage.
	Mtime *int64 `protobuf:"varint,5,opt,name=mtime" json:"mtime,omitempty"`
	// Creation time, in milliseconds since Unix epoch.
	// 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 "Bookmark Bar" folder
	// without relying on a particular ID or name.
	//
	// 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_tag_hash if you want to create one from the client.
	//
	// An item can't have both a client_tag_hash 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"`
	// Ancient fields, predecessors for |unique_position|, deprecated with M26 and
	// still supported to deal with old incoming data. See field |unique_position|
	// for details as well as the data-upgrading implementation in
	// GetUniquePositionFromSyncEntity().
	//
	// Deprecated: Marked as deprecated in sync_entity.proto.
	PositionInParent *int64 `protobuf:"varint,15,opt,name=position_in_parent,json=positionInParent" json:"position_in_parent,omitempty"`
	// Deprecated: Marked as deprecated in sync_entity.proto.
	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 unique ID 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_tag_hash).
	// 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.
	// Analogous to server_defined_unique_tag, but allows the client to determine
	// an immutable attribute of the entity in hashed form that makes it unique
	// per user (i.e. at most one entity may exist per client tag hash).
	//
	// This value must be of the form base64(SHA1(client_tag)) where the
	// client_tag is a value derived from the contents of an entity in a
	// type-specific way. Since the hashed contents of the client_tag are exposed
	// to the server via this field, take care when defining it that there is
	// enough entropy to mask any secrets that the server shouldn't learn.
	//
	// The difference between server_defined_unique_tag and
	// client_tag_hash 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 item and cache id - for bookmarks created using old versions
	//
	//	of the browser (latest M93, before https://crrev.com/c/2945119).
	//
	// 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.
	//
	// May be returned in GetUpdatesMessage and sent up in CommitMessage.
	ClientTagHash *string `protobuf:"bytes,23,opt,name=client_tag_hash,json=clientTagHash" json:"client_tag_hash,omitempty"`
	// Introduced in M26, represents ordering among entities, in practice used for
	// bookmarks only. Clients should not assume it is always populated in
	// GetUpdatesMessage due to the following caveats:
	//  1. Tombstones and permanent folders do not populate it (ordering is
	//     irrelevant).
	//  2. It may remain unset by future versions of the client, as long as the
	//     field with the same name is populated inside BookmarkSpecifics. M94 and
	//     above populate both for backward compatibility reasons, but when support
	//     for M93 is retired, modern clients at the time may stop populating this
	//     field.
	//  3. Very old data (last committed by M25 or below, before the field was
	//     introduced) does not include this field, and in that case the legacy
	//     fields |position_in_parent| or |insert_after_item_id| must be honored
	//     instead.
	//
	// May be returned in GetUpdatesMessage and sent up in CommitMessage.
	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) GetClientTagHash added in v0.1.20

func (x *SyncEntity) GetClientTagHash() 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: Marked as deprecated in sync_entity.proto.

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) 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: Marked as deprecated in sync_entity.proto.

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.
	// 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;
	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_BrowserType added in v0.1.20

type SyncEnums_BrowserType int32

Types of browsers; used for history-related data types.

const (
	SyncEnums_BROWSER_TYPE_UNKNOWN SyncEnums_BrowserType = 0
	SyncEnums_TYPE_TABBED          SyncEnums_BrowserType = 1 // A normal tabbed window.
	SyncEnums_TYPE_POPUP           SyncEnums_BrowserType = 2 // A popup window.
	SyncEnums_TYPE_CUSTOM_TAB      SyncEnums_BrowserType = 3 // A custom tab within an app.
)

func (SyncEnums_BrowserType) Descriptor added in v0.1.20

func (SyncEnums_BrowserType) Enum added in v0.1.20

func (SyncEnums_BrowserType) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SyncEnums_BrowserType.Descriptor instead.

func (SyncEnums_BrowserType) Number added in v0.1.20

func (SyncEnums_BrowserType) String added in v0.1.20

func (x SyncEnums_BrowserType) String() string

func (SyncEnums_BrowserType) Type added in v0.1.20

func (*SyncEnums_BrowserType) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type SyncEnums_DeviceFormFactor added in v0.1.20

type SyncEnums_DeviceFormFactor int32

Types of device form factors.

const (
	SyncEnums_DEVICE_FORM_FACTOR_UNSPECIFIED SyncEnums_DeviceFormFactor = 0
	SyncEnums_DEVICE_FORM_FACTOR_DESKTOP     SyncEnums_DeviceFormFactor = 1
	SyncEnums_DEVICE_FORM_FACTOR_PHONE       SyncEnums_DeviceFormFactor = 2
	SyncEnums_DEVICE_FORM_FACTOR_TABLET      SyncEnums_DeviceFormFactor = 3
)

func (SyncEnums_DeviceFormFactor) Descriptor added in v0.1.20

func (SyncEnums_DeviceFormFactor) Enum added in v0.1.20

func (SyncEnums_DeviceFormFactor) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SyncEnums_DeviceFormFactor.Descriptor instead.

func (SyncEnums_DeviceFormFactor) Number added in v0.1.20

func (SyncEnums_DeviceFormFactor) String added in v0.1.20

func (SyncEnums_DeviceFormFactor) Type added in v0.1.20

func (*SyncEnums_DeviceFormFactor) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type SyncEnums_DeviceType

type SyncEnums_DeviceType int32

New enums to describe the device type were introduced; OsType and FormFactor. Deprecated 12/2022. TODO(1395353): Remove deprecated values from DeviceType enum.

const (
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_UNSET SyncEnums_DeviceType = 0
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_WIN SyncEnums_DeviceType = 1
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_MAC SyncEnums_DeviceType = 2
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_LINUX SyncEnums_DeviceType = 3
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_CROS SyncEnums_DeviceType = 4
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_OTHER SyncEnums_DeviceType = 5
	// Deprecated: Marked as deprecated in sync_enums.proto.
	SyncEnums_TYPE_PHONE SyncEnums_DeviceType = 6
	// Deprecated: Marked as deprecated in sync_enums.proto.
	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
	// DEPRECATED_ACCESS_DENIED = 1;
	// Returned when the server and client disagree on the store birthday. This
	// should be interpreted as all local sync metadata requiring cleanup,
	// obviously including the locally-cached store birthday.
	SyncEnums_NOT_MY_BIRTHDAY SyncEnums_ErrorType = 2
	// Returned when the store has exceeded the allowed bandwidth utilization.
	SyncEnums_THROTTLED SyncEnums_ErrorType = 3
	// DEPRECATED_AUTH_EXPIRED = 4;
	// DEPRECATED_USER_NOT_ACTIVATED = 5;
	// DEPRECATED_AUTH_INVALID = 6;
	// A clear of the user data is pending (e.g. initiated by privacy request).
	// The client should come back later.
	SyncEnums_CLEAR_PENDING SyncEnums_ErrorType = 7
	// A transient error occurred (e.g. a backend timeout). The client should
	// try again later.
	SyncEnums_TRANSIENT_ERROR SyncEnums_ErrorType = 8
	// A server-side migration has taken place for one or more data types. The
	// client should clear the cache for these data types only and then re-sync
	// with a server.
	SyncEnums_MIGRATION_DONE SyncEnums_ErrorType = 9
	// An administrator disabled sync for this domain.
	SyncEnums_DISABLED_BY_ADMIN SyncEnums_ErrorType = 10
	// Deprecated in M50.
	// DEPRECATED_USER_ROLLBACK = 11;
	// Returned when the client wants to update several data types, but some of
	// them failed (e.g. throttled).
	SyncEnums_PARTIAL_FAILURE SyncEnums_ErrorType = 12
	// Returned when the server detects that this client's sync metadata is
	// obsolete. The client should reset local sync metadata and restart
	// syncing.
	SyncEnums_CLIENT_DATA_OBSOLETE SyncEnums_ErrorType = 13
	// Returned when the server detects that the encryption state (Nigori,
	// keystore keys) has been reset/overridden, which means the local
	// Nigori-related state is obsolete and should be cleared.
	// Introduced in M84.
	SyncEnums_ENCRYPTION_OBSOLETE SyncEnums_ErrorType = 14
	// Unknown value. This should never be explicitly used; it is the default
	// value when an out-of-date client parses a value it doesn't recognize.
	SyncEnums_UNKNOWN SyncEnums_ErrorType = 100
)

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_OsType added in v0.1.20

type SyncEnums_OsType int32

Types of device OS.

const (
	SyncEnums_OS_TYPE_UNSPECIFIED      SyncEnums_OsType = 0
	SyncEnums_OS_TYPE_WINDOWS          SyncEnums_OsType = 1
	SyncEnums_OS_TYPE_MAC              SyncEnums_OsType = 2
	SyncEnums_OS_TYPE_LINUX            SyncEnums_OsType = 3
	SyncEnums_OS_TYPE_CHROME_OS_ASH    SyncEnums_OsType = 4
	SyncEnums_OS_TYPE_ANDROID          SyncEnums_OsType = 5
	SyncEnums_OS_TYPE_IOS              SyncEnums_OsType = 6
	SyncEnums_OS_TYPE_CHROME_OS_LACROS SyncEnums_OsType = 7
	SyncEnums_OS_TYPE_FUCHSIA          SyncEnums_OsType = 8
)

func (SyncEnums_OsType) Descriptor added in v0.1.20

func (SyncEnums_OsType) Enum added in v0.1.20

func (SyncEnums_OsType) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SyncEnums_OsType.Descriptor instead.

func (SyncEnums_OsType) Number added in v0.1.20

func (SyncEnums_OsType) String added in v0.1.20

func (x SyncEnums_OsType) String() string

func (SyncEnums_OsType) Type added in v0.1.20

func (*SyncEnums_OsType) UnmarshalJSON deprecated added in v0.1.20

func (x *SyncEnums_OsType) 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_PasswordState added in v0.1.20

type SyncEnums_PasswordState int32

The "password state" is the presence/absence of a password field on a website; used for history-related data types.

const (
	SyncEnums_PASSWORD_STATE_UNKNOWN SyncEnums_PasswordState = 0
	SyncEnums_NO_PASSWORD_FIELD      SyncEnums_PasswordState = 1
	SyncEnums_HAS_PASSWORD_FIELD     SyncEnums_PasswordState = 2
)

func (SyncEnums_PasswordState) Descriptor added in v0.1.20

func (SyncEnums_PasswordState) Enum added in v0.1.20

func (SyncEnums_PasswordState) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use SyncEnums_PasswordState.Descriptor instead.

func (SyncEnums_PasswordState) Number added in v0.1.20

func (SyncEnums_PasswordState) String added in v0.1.20

func (x SyncEnums_PasswordState) String() string

func (SyncEnums_PasswordState) Type added in v0.1.20

func (*SyncEnums_PasswordState) UnmarshalJSON deprecated added in v0.1.20

func (x *SyncEnums_PasswordState) 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.
	// DEPRECATED_ENCRYPTION_COMPLETE = 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. Deprecated 11/2021.
	SyncEnums_DEPRECATED_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_DEPRECATED_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 SyncInvalidationsPayload added in v0.1.8

type SyncInvalidationsPayload struct {

	// This field contains information about each data type which needs to be
	// updated. Note that it may contain data types which current client is not
	// interested in.
	DataTypeInvalidations []*SyncInvalidationsPayload_DataTypeInvalidation `protobuf:"bytes,1,rep,name=data_type_invalidations,json=dataTypeInvalidations" json:"data_type_invalidations,omitempty"`
	// Opaque field, which has to be provided as part of resulting GetUpdates
	// back to the server.
	Hint []byte `protobuf:"bytes,2,opt,name=hint" json:"hint,omitempty"`
	// Version of invalidation, used to order incoming invalidations.
	Version *int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

The payload coming from the server for all invalidated data types.

func (*SyncInvalidationsPayload) Descriptor deprecated added in v0.1.8

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

Deprecated: Use SyncInvalidationsPayload.ProtoReflect.Descriptor instead.

func (*SyncInvalidationsPayload) GetDataTypeInvalidations added in v0.1.8

func (*SyncInvalidationsPayload) GetHint added in v0.1.8

func (x *SyncInvalidationsPayload) GetHint() []byte

func (*SyncInvalidationsPayload) GetVersion added in v0.1.20

func (x *SyncInvalidationsPayload) GetVersion() int64

func (*SyncInvalidationsPayload) ProtoMessage added in v0.1.8

func (*SyncInvalidationsPayload) ProtoMessage()

func (*SyncInvalidationsPayload) ProtoReflect added in v0.1.8

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

func (*SyncInvalidationsPayload) Reset added in v0.1.8

func (x *SyncInvalidationsPayload) Reset()

func (*SyncInvalidationsPayload) String added in v0.1.8

func (x *SyncInvalidationsPayload) String() string

type SyncInvalidationsPayload_DataTypeInvalidation added in v0.1.8

type SyncInvalidationsPayload_DataTypeInvalidation struct {

	// The legitimate values of this field correspond to the protobuf field
	// numbers of all EntitySpecifics fields supported by the server (see
	// components/sync/protocol/sync.proto).
	DataTypeId *int32 `protobuf:"varint,1,opt,name=data_type_id,json=dataTypeId" json:"data_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncInvalidationsPayload_DataTypeInvalidation) Descriptor deprecated added in v0.1.8

Deprecated: Use SyncInvalidationsPayload_DataTypeInvalidation.ProtoReflect.Descriptor instead.

func (*SyncInvalidationsPayload_DataTypeInvalidation) GetDataTypeId added in v0.1.8

func (*SyncInvalidationsPayload_DataTypeInvalidation) ProtoMessage added in v0.1.8

func (*SyncInvalidationsPayload_DataTypeInvalidation) ProtoReflect added in v0.1.8

func (*SyncInvalidationsPayload_DataTypeInvalidation) Reset added in v0.1.8

func (*SyncInvalidationsPayload_DataTypeInvalidation) String added in v0.1.8

type TabNavigation

type TabNavigation struct {

	// 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"`
	// 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 start/end of a redirect chain. Deprecated because they were always
	// set to false in practice, and don't make sense in the first place - this
	// message corresponds to a complete chain.
	//
	// Deprecated: Marked as deprecated in session_specifics.proto.
	NavigationChainStart *bool `protobuf:"varint,13,opt,name=navigation_chain_start,json=navigationChainStart" json:"navigation_chain_start,omitempty"`
	// Deprecated: Marked as deprecated in session_specifics.proto.
	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: Marked as deprecated in session_specifics.proto.
	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 */
	// 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: Marked as deprecated in session_specifics.proto.
	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 *SyncEnums_PasswordState `` /* 132-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) 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 deprecated

func (x *TabNavigation) GetNavigationChainEnd() bool

Deprecated: Marked as deprecated in session_specifics.proto.

func (*TabNavigation) GetNavigationChainStart deprecated

func (x *TabNavigation) GetNavigationChainStart() bool

Deprecated: Marked as deprecated in session_specifics.proto.

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: Marked as deprecated in session_specifics.proto.

func (*TabNavigation) GetPageLanguage

func (x *TabNavigation) GetPageLanguage() string

func (*TabNavigation) GetPageTransition

func (x *TabNavigation) GetPageTransition() SyncEnums_PageTransition

func (*TabNavigation) GetPasswordState

func (x *TabNavigation) GetPasswordState() SyncEnums_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: Marked as deprecated in session_specifics.proto.

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 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 relevant on platforms that have a distinction between
	// the system theme and the default theme, but other platforms must be careful
	// to pass through 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 true.
	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"`
	// True if the URL should NOT be used for auto-complete.
	Hidden *bool `protobuf:"varint,4,opt,name=hidden" json:"hidden,omitempty"`
	// 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.
	//
	// Deprecated: Marked as deprecated in unique_position.proto.
	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.
	//
	// Deprecated: Marked as deprecated in unique_position.proto.
	CompressedValue []byte `protobuf:"bytes,2,opt,name=compressed_value,json=compressedValue" json:"compressed_value,omitempty"`
	// Deprecated: Marked as deprecated in unique_position.proto.
	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 deprecated

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

Deprecated: Marked as deprecated in unique_position.proto.

func (*UniquePosition) GetCustomCompressedV1

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

func (*UniquePosition) GetUncompressedLength deprecated

func (x *UniquePosition) GetUncompressedLength() uint64

Deprecated: Marked as deprecated in unique_position.proto.

func (*UniquePosition) GetValue deprecated

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

Deprecated: Marked as deprecated in unique_position.proto.

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
	//	*UserConsentSpecifics_AccountPasswordsConsent
	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: Marked as deprecated in user_consent_specifics.proto.
	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: Marked as deprecated in user_consent_specifics.proto.
	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: Marked as deprecated in user_consent_specifics.proto.
	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: Marked as deprecated in user_consent_specifics.proto.
	Status *UserConsentTypes_ConsentStatus `protobuf:"varint,5,opt,name=status,enum=sync_pb.UserConsentTypes_ConsentStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Next id: 17

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) GetAccountPasswordsConsent added in v0.1.11

func (x *UserConsentSpecifics) GetAccountPasswordsConsent() *UserConsentTypes_AccountPasswordsConsent

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: Marked as deprecated in user_consent_specifics.proto.

func (*UserConsentSpecifics) GetConsent

func (m *UserConsentSpecifics) GetConsent() isUserConsentSpecifics_Consent

func (*UserConsentSpecifics) GetDescriptionGrdIds deprecated

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

Deprecated: Marked as deprecated in user_consent_specifics.proto.

func (*UserConsentSpecifics) GetFeature deprecated

Deprecated: Marked as deprecated in user_consent_specifics.proto.

func (*UserConsentSpecifics) GetLocale

func (x *UserConsentSpecifics) GetLocale() string

func (*UserConsentSpecifics) GetStatus deprecated

Deprecated: Marked as deprecated in user_consent_specifics.proto.

func (*UserConsentSpecifics) GetSyncConsent

func (*UserConsentSpecifics) GetUnifiedConsent deprecated

func (x *UserConsentSpecifics) GetUnifiedConsent() *UserConsentTypes_UnifiedConsent

Deprecated: Marked as deprecated in user_consent_specifics.proto.

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_AccountPasswordsConsent added in v0.1.11

type UserConsentSpecifics_AccountPasswordsConsent struct {
	AccountPasswordsConsent *UserConsentTypes_AccountPasswordsConsent `protobuf:"bytes,15,opt,name=account_passwords_consent,json=accountPasswordsConsent,oneof"`
}

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: Marked as deprecated in user_consent_specifics.proto.
	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_AccountPasswordsConsent added in v0.1.11

type UserConsentTypes_AccountPasswordsConsent struct {

	// Ids of the strings of the 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
	// the consent dialog.
	ConfirmationGrdId *int32 `protobuf:"varint,2,opt,name=confirmation_grd_id,json=confirmationGrdId" json:"confirmation_grd_id,omitempty"`
	// The status of the 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 downloading and using passwords stored in the user's Google Account. Determined during the opt-in flow for the feature.

func (*UserConsentTypes_AccountPasswordsConsent) Descriptor deprecated added in v0.1.11

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

Deprecated: Use UserConsentTypes_AccountPasswordsConsent.ProtoReflect.Descriptor instead.

func (*UserConsentTypes_AccountPasswordsConsent) GetConfirmationGrdId added in v0.1.11

func (x *UserConsentTypes_AccountPasswordsConsent) GetConfirmationGrdId() int32

func (*UserConsentTypes_AccountPasswordsConsent) GetDescriptionGrdIds added in v0.1.11

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

func (*UserConsentTypes_AccountPasswordsConsent) GetStatus added in v0.1.11

func (*UserConsentTypes_AccountPasswordsConsent) ProtoMessage added in v0.1.11

func (*UserConsentTypes_AccountPasswordsConsent) ProtoReflect added in v0.1.11

func (*UserConsentTypes_AccountPasswordsConsent) Reset added in v0.1.11

func (*UserConsentTypes_AccountPasswordsConsent) String added in v0.1.11

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"`
	// The activity control setting which the consent was given or not given to.
	// Clients before M93 did not set this field. Such consents should be
	// treated as applying to ALL.
	SettingType *UserConsentTypes_AssistantActivityControlConsent_SettingType `` /* 162-byte string literal not displayed */
	// 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) GetSettingType added in v0.1.20

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_AssistantActivityControlConsent_SettingType added in v0.1.20

type UserConsentTypes_AssistantActivityControlConsent_SettingType int32

Enum denoting different Assistant activity control setting type.

const (
	// Legacy clients (< M93) did not set a SettingType; for those,
	// UNSPECIFIED should be interpreted as ALL. Newer clients should always
	// set it explicitly.
	UserConsentTypes_AssistantActivityControlConsent_SETTING_TYPE_UNSPECIFIED UserConsentTypes_AssistantActivityControlConsent_SettingType = 0
	// All Settings.
	UserConsentTypes_AssistantActivityControlConsent_ALL                  UserConsentTypes_AssistantActivityControlConsent_SettingType = 1
	UserConsentTypes_AssistantActivityControlConsent_WEB_AND_APP_ACTIVITY UserConsentTypes_AssistantActivityControlConsent_SettingType = 2
	UserConsentTypes_AssistantActivityControlConsent_DEVICE_APPS          UserConsentTypes_AssistantActivityControlConsent_SettingType = 3
)

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) Descriptor added in v0.1.20

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) Enum added in v0.1.20

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) EnumDescriptor deprecated added in v0.1.20

Deprecated: Use UserConsentTypes_AssistantActivityControlConsent_SettingType.Descriptor instead.

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) Number added in v0.1.20

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) String added in v0.1.20

func (UserConsentTypes_AssistantActivityControlConsent_SettingType) Type added in v0.1.20

func (*UserConsentTypes_AssistantActivityControlConsent_SettingType) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

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 UserDisplayInfo added in v0.1.20

type UserDisplayInfo struct {

	// Primary email address of the user.
	Email *string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
	// The user's full name.
	DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// Portrait photo of the user.
	ProfileImageUrl *string `protobuf:"bytes,3,opt,name=profile_image_url,json=profileImageUrl" json:"profile_image_url,omitempty"`
	// contains filtered or unexported fields
}

Contains user profile information.

func (*UserDisplayInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use UserDisplayInfo.ProtoReflect.Descriptor instead.

func (*UserDisplayInfo) GetDisplayName added in v0.1.20

func (x *UserDisplayInfo) GetDisplayName() string

func (*UserDisplayInfo) GetEmail added in v0.1.20

func (x *UserDisplayInfo) GetEmail() string

func (*UserDisplayInfo) GetProfileImageUrl added in v0.1.20

func (x *UserDisplayInfo) GetProfileImageUrl() string

func (*UserDisplayInfo) ProtoMessage added in v0.1.20

func (*UserDisplayInfo) ProtoMessage()

func (*UserDisplayInfo) ProtoReflect added in v0.1.20

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

func (*UserDisplayInfo) Reset added in v0.1.20

func (x *UserDisplayInfo) Reset()

func (*UserDisplayInfo) String added in v0.1.20

func (x *UserDisplayInfo) String() 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
	//	*UserEventSpecifics_FlocIdComputedEvent
	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) GetFlocIdComputedEvent added in v0.1.8

func (x *UserEventSpecifics) GetFlocIdComputedEvent() *UserEventSpecifics_FlocIdComputed

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: Marked as deprecated in user_event_specifics.proto.

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: Marked as deprecated in user_event_specifics.proto.

func (*UserEventSpecifics) GetUserConsent deprecated

Deprecated: Marked as deprecated in user_event_specifics.proto.

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_FlocIdComputed added in v0.1.8

type UserEventSpecifics_FlocIdComputed struct {

	// If not set, it means that the floc is disabled.
	FlocId *uint64 `protobuf:"varint,2,opt,name=floc_id,json=flocId" json:"floc_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserEventSpecifics_FlocIdComputed) Descriptor deprecated added in v0.1.8

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

Deprecated: Use UserEventSpecifics_FlocIdComputed.ProtoReflect.Descriptor instead.

func (*UserEventSpecifics_FlocIdComputed) GetFlocId added in v0.1.8

func (*UserEventSpecifics_FlocIdComputed) ProtoMessage added in v0.1.8

func (*UserEventSpecifics_FlocIdComputed) ProtoMessage()

func (*UserEventSpecifics_FlocIdComputed) ProtoReflect added in v0.1.8

func (*UserEventSpecifics_FlocIdComputed) Reset added in v0.1.8

func (*UserEventSpecifics_FlocIdComputed) String added in v0.1.8

type UserEventSpecifics_FlocIdComputedEvent added in v0.1.8

type UserEventSpecifics_FlocIdComputedEvent struct {
	FlocIdComputedEvent *UserEventSpecifics_FlocIdComputed `protobuf:"bytes,16,opt,name=floc_id_computed_event,json=flocIdComputedEvent,oneof"`
}

type UserEventSpecifics_FlocIdComputed_EventTrigger added in v0.1.8

type UserEventSpecifics_FlocIdComputed_EventTrigger int32
const (
	UserEventSpecifics_FlocIdComputed_UNSPECIFIED UserEventSpecifics_FlocIdComputed_EventTrigger = 0
	// Event added because the floc id is computed for the 1st floc session.
	UserEventSpecifics_FlocIdComputed_NEW UserEventSpecifics_FlocIdComputed_EventTrigger = 1
	// Event added because the floc id is re-computed due to a long period of
	// time has passed since the last computation.
	UserEventSpecifics_FlocIdComputed_REFRESHED UserEventSpecifics_FlocIdComputed_EventTrigger = 2
	// Event added because the floc id is re-computed due to history deletion.
	UserEventSpecifics_FlocIdComputed_HISTORY_DELETE UserEventSpecifics_FlocIdComputed_EventTrigger = 3
)

func (UserEventSpecifics_FlocIdComputed_EventTrigger) Descriptor added in v0.1.8

func (UserEventSpecifics_FlocIdComputed_EventTrigger) Enum added in v0.1.8

func (UserEventSpecifics_FlocIdComputed_EventTrigger) EnumDescriptor deprecated added in v0.1.8

Deprecated: Use UserEventSpecifics_FlocIdComputed_EventTrigger.Descriptor instead.

func (UserEventSpecifics_FlocIdComputed_EventTrigger) Number added in v0.1.8

func (UserEventSpecifics_FlocIdComputed_EventTrigger) String added in v0.1.8

func (UserEventSpecifics_FlocIdComputed_EventTrigger) Type added in v0.1.8

func (*UserEventSpecifics_FlocIdComputed_EventTrigger) UnmarshalJSON deprecated added in v0.1.8

Deprecated: Do not use.

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: Marked as deprecated in user_event_specifics.proto.

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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.

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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.
	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: Marked as deprecated in user_event_specifics.proto.

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: Marked as deprecated in user_event_specifics.proto.

func (*UserEventSpecifics_UserConsent) GetConsent

func (m *UserEventSpecifics_UserConsent) GetConsent() isUserEventSpecifics_UserConsent_Consent

func (*UserEventSpecifics_UserConsent) GetDescriptionGrdIds deprecated

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

Deprecated: Marked as deprecated in user_event_specifics.proto.

func (*UserEventSpecifics_UserConsent) GetFeature deprecated

Deprecated: Marked as deprecated in user_event_specifics.proto.

func (*UserEventSpecifics_UserConsent) GetLocale

func (x *UserEventSpecifics_UserConsent) GetLocale() string

func (*UserEventSpecifics_UserConsent) GetStatus deprecated

Deprecated: Marked as deprecated in user_event_specifics.proto.

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: Marked as deprecated in user_event_specifics.proto.
	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 UserInfo added in v0.1.20

type UserInfo struct {

	// Obfuscated Gaia ID.
	UserId          *string          `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	UserDisplayInfo *UserDisplayInfo `protobuf:"bytes,2,opt,name=user_display_info,json=userDisplayInfo" json:"user_display_info,omitempty"`
	// Latest user's public key registered on the server.
	CrossUserSharingPublicKey *CrossUserSharingPublicKey `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetCrossUserSharingPublicKey added in v0.1.20

func (x *UserInfo) GetCrossUserSharingPublicKey() *CrossUserSharingPublicKey

func (*UserInfo) GetUserDisplayInfo added in v0.1.20

func (x *UserInfo) GetUserDisplayInfo() *UserDisplayInfo

func (*UserInfo) GetUserId added in v0.1.20

func (x *UserInfo) GetUserId() string

func (*UserInfo) ProtoMessage added in v0.1.20

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect added in v0.1.20

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

func (*UserInfo) Reset added in v0.1.20

func (x *UserInfo) Reset()

func (*UserInfo) String added in v0.1.20

func (x *UserInfo) String() string

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.
	// This is the legacy version of |instrument_id|.
	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"`
	// Server-generated unique ID. This is opaque to the client.
	// |id| is the legacy version of this.
	InstrumentId *int64 `protobuf:"varint,15,opt,name=instrument_id,json=instrumentId" json:"instrument_id,omitempty"`
	// The state of virtual card enrollment.
	VirtualCardEnrollmentState *WalletMaskedCreditCard_VirtualCardEnrollmentState `` /* 201-byte string literal not displayed */
	// The URL for the client to fetch the card art image.
	CardArtUrl *string `protobuf:"bytes,17,opt,name=card_art_url,json=cardArtUrl" json:"card_art_url,omitempty"`
	// The product description for the card. Used to be shown in the UI.
	ProductDescription *string `protobuf:"bytes,18,opt,name=product_description,json=productDescription" json:"product_description,omitempty"`
	// The type of virtual card enrollment. TYPE_UNSPECIFIED indicates that the
	// card is unenrolled.
	VirtualCardEnrollmentType *WalletMaskedCreditCard_VirtualCardEnrollmentType `` /* 197-byte string literal not displayed */
	// 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) GetCardArtUrl added in v0.1.20

func (x *WalletMaskedCreditCard) GetCardArtUrl() 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) GetInstrumentId added in v0.1.11

func (x *WalletMaskedCreditCard) GetInstrumentId() int64

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) GetProductDescription added in v0.1.20

func (x *WalletMaskedCreditCard) GetProductDescription() string

func (*WalletMaskedCreditCard) GetStatus

func (*WalletMaskedCreditCard) GetType

func (*WalletMaskedCreditCard) GetVirtualCardEnrollmentState added in v0.1.20

func (*WalletMaskedCreditCard) GetVirtualCardEnrollmentType added in v0.1.20

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_VirtualCardEnrollmentState added in v0.1.20

type WalletMaskedCreditCard_VirtualCardEnrollmentState int32
const (
	WalletMaskedCreditCard_UNSPECIFIED WalletMaskedCreditCard_VirtualCardEnrollmentState = 0
	// Deprecated: Marked as deprecated in autofill_specifics.proto.
	WalletMaskedCreditCard_UNENROLLED                  WalletMaskedCreditCard_VirtualCardEnrollmentState = 1
	WalletMaskedCreditCard_ENROLLED                    WalletMaskedCreditCard_VirtualCardEnrollmentState = 2
	WalletMaskedCreditCard_UNENROLLED_AND_NOT_ELIGIBLE WalletMaskedCreditCard_VirtualCardEnrollmentState = 3
	WalletMaskedCreditCard_UNENROLLED_AND_ELIGIBLE     WalletMaskedCreditCard_VirtualCardEnrollmentState = 4
)

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) Descriptor added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) Enum added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) EnumDescriptor deprecated added in v0.1.20

Deprecated: Use WalletMaskedCreditCard_VirtualCardEnrollmentState.Descriptor instead.

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) Number added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) String added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentState) Type added in v0.1.20

func (*WalletMaskedCreditCard_VirtualCardEnrollmentState) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

type WalletMaskedCreditCard_VirtualCardEnrollmentType added in v0.1.20

type WalletMaskedCreditCard_VirtualCardEnrollmentType int32
const (
	WalletMaskedCreditCard_TYPE_UNSPECIFIED WalletMaskedCreditCard_VirtualCardEnrollmentType = 0
	WalletMaskedCreditCard_ISSUER           WalletMaskedCreditCard_VirtualCardEnrollmentType = 1
	WalletMaskedCreditCard_NETWORK          WalletMaskedCreditCard_VirtualCardEnrollmentType = 2
)

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) Descriptor added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) Enum added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) EnumDescriptor deprecated added in v0.1.20

Deprecated: Use WalletMaskedCreditCard_VirtualCardEnrollmentType.Descriptor instead.

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) Number added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) String added in v0.1.20

func (WalletMaskedCreditCard_VirtualCardEnrollmentType) Type added in v0.1.20

func (*WalletMaskedCreditCard_VirtualCardEnrollmentType) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

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
	WalletMaskedCreditCard_ELO         WalletMaskedCreditCard_WalletCardType = 10
)

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 WebApkIconInfo added in v0.1.20

type WebApkIconInfo struct {

	// The size of the square app icon, in raw pixels.
	SizeInPx *int32 `protobuf:"varint,1,opt,name=size_in_px,json=sizeInPx" json:"size_in_px,omitempty"`
	// The URL of the app icon.
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// The purpose or context in which the icon should be used.
	Purpose *WebApkIconInfo_Purpose `protobuf:"varint,3,opt,name=purpose,enum=sync_pb.WebApkIconInfo_Purpose" json:"purpose,omitempty"`
	// contains filtered or unexported fields
}

Sync & local data: Information about web app icon.

func (*WebApkIconInfo) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WebApkIconInfo.ProtoReflect.Descriptor instead.

func (*WebApkIconInfo) GetPurpose added in v0.1.20

func (x *WebApkIconInfo) GetPurpose() WebApkIconInfo_Purpose

func (*WebApkIconInfo) GetSizeInPx added in v0.1.20

func (x *WebApkIconInfo) GetSizeInPx() int32

func (*WebApkIconInfo) GetUrl added in v0.1.20

func (x *WebApkIconInfo) GetUrl() string

func (*WebApkIconInfo) ProtoMessage added in v0.1.20

func (*WebApkIconInfo) ProtoMessage()

func (*WebApkIconInfo) ProtoReflect added in v0.1.20

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

func (*WebApkIconInfo) Reset added in v0.1.20

func (x *WebApkIconInfo) Reset()

func (*WebApkIconInfo) String added in v0.1.20

func (x *WebApkIconInfo) String() string

type WebApkIconInfo_Purpose added in v0.1.20

type WebApkIconInfo_Purpose int32
const (
	WebApkIconInfo_UNSPECIFIED WebApkIconInfo_Purpose = 0
	// Suitable for any purpose.
	WebApkIconInfo_ANY WebApkIconInfo_Purpose = 1
	// Designed for masking.
	WebApkIconInfo_MASKABLE WebApkIconInfo_Purpose = 2
	// Suitable for monochrome purposes.
	WebApkIconInfo_MONOCHROME WebApkIconInfo_Purpose = 3
)

func (WebApkIconInfo_Purpose) Descriptor added in v0.1.20

func (WebApkIconInfo_Purpose) Enum added in v0.1.20

func (WebApkIconInfo_Purpose) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WebApkIconInfo_Purpose.Descriptor instead.

func (WebApkIconInfo_Purpose) Number added in v0.1.20

func (WebApkIconInfo_Purpose) String added in v0.1.20

func (x WebApkIconInfo_Purpose) String() string

func (WebApkIconInfo_Purpose) Type added in v0.1.20

func (*WebApkIconInfo_Purpose) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type WebApkSpecifics added in v0.1.20

type WebApkSpecifics struct {
	ManifestId *string           `protobuf:"bytes,1,opt,name=manifest_id,json=manifestId" json:"manifest_id,omitempty"`
	StartUrl   *string           `protobuf:"bytes,2,opt,name=start_url,json=startUrl" json:"start_url,omitempty"`
	Name       *string           `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	ThemeColor *uint32           `protobuf:"varint,4,opt,name=theme_color,json=themeColor" json:"theme_color,omitempty"`
	Scope      *string           `protobuf:"bytes,5,opt,name=scope" json:"scope,omitempty"`
	IconInfos  []*WebApkIconInfo `protobuf:"bytes,6,rep,name=icon_infos,json=iconInfos" json:"icon_infos,omitempty"`
	// Time when this WebApk was last used or installed.
	// Number of microseconds since 1601, aka Windows epoch.
	LastUsedTimeWindowsEpochMicros *int64 `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

WebApk data.

func (*WebApkSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WebApkSpecifics.ProtoReflect.Descriptor instead.

func (*WebApkSpecifics) GetIconInfos added in v0.1.20

func (x *WebApkSpecifics) GetIconInfos() []*WebApkIconInfo

func (*WebApkSpecifics) GetLastUsedTimeWindowsEpochMicros added in v0.1.20

func (x *WebApkSpecifics) GetLastUsedTimeWindowsEpochMicros() int64

func (*WebApkSpecifics) GetManifestId added in v0.1.20

func (x *WebApkSpecifics) GetManifestId() string

func (*WebApkSpecifics) GetName added in v0.1.20

func (x *WebApkSpecifics) GetName() string

func (*WebApkSpecifics) GetScope added in v0.1.20

func (x *WebApkSpecifics) GetScope() string

func (*WebApkSpecifics) GetStartUrl added in v0.1.20

func (x *WebApkSpecifics) GetStartUrl() string

func (*WebApkSpecifics) GetThemeColor added in v0.1.20

func (x *WebApkSpecifics) GetThemeColor() uint32

func (*WebApkSpecifics) ProtoMessage added in v0.1.20

func (*WebApkSpecifics) ProtoMessage()

func (*WebApkSpecifics) ProtoReflect added in v0.1.20

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

func (*WebApkSpecifics) Reset added in v0.1.20

func (x *WebApkSpecifics) Reset()

func (*WebApkSpecifics) String added in v0.1.20

func (x *WebApkSpecifics) String() string

type WebAppIconInfo added in v0.1.8

type WebAppIconInfo struct {

	// The size of the square app icon, in raw pixels.
	SizeInPx *int32 `protobuf:"varint,1,opt,name=size_in_px,json=sizeInPx" json:"size_in_px,omitempty"`
	// The URL of the app icon.
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// The purpose or context in which the icon should be used.
	Purpose *WebAppIconInfo_Purpose `protobuf:"varint,3,opt,name=purpose,enum=sync_pb.WebAppIconInfo_Purpose" json:"purpose,omitempty"`
	// contains filtered or unexported fields
}

Sync & local data: Information about web app icon.

func (*WebAppIconInfo) Descriptor deprecated added in v0.1.8

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

Deprecated: Use WebAppIconInfo.ProtoReflect.Descriptor instead.

func (*WebAppIconInfo) GetPurpose added in v0.1.11

func (x *WebAppIconInfo) GetPurpose() WebAppIconInfo_Purpose

func (*WebAppIconInfo) GetSizeInPx added in v0.1.8

func (x *WebAppIconInfo) GetSizeInPx() int32

func (*WebAppIconInfo) GetUrl added in v0.1.8

func (x *WebAppIconInfo) GetUrl() string

func (*WebAppIconInfo) ProtoMessage added in v0.1.8

func (*WebAppIconInfo) ProtoMessage()

func (*WebAppIconInfo) ProtoReflect added in v0.1.8

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

func (*WebAppIconInfo) Reset added in v0.1.8

func (x *WebAppIconInfo) Reset()

func (*WebAppIconInfo) String added in v0.1.8

func (x *WebAppIconInfo) String() string

type WebAppIconInfo_Purpose added in v0.1.11

type WebAppIconInfo_Purpose int32
const (
	WebAppIconInfo_UNSPECIFIED WebAppIconInfo_Purpose = 0
	// Suitable for any purpose.
	WebAppIconInfo_ANY WebAppIconInfo_Purpose = 1
	// Designed for masking.
	WebAppIconInfo_MASKABLE WebAppIconInfo_Purpose = 2
	// Suitable for monochrome purposes.
	WebAppIconInfo_MONOCHROME WebAppIconInfo_Purpose = 3
)

func (WebAppIconInfo_Purpose) Descriptor added in v0.1.11

func (WebAppIconInfo_Purpose) Enum added in v0.1.11

func (WebAppIconInfo_Purpose) EnumDescriptor deprecated added in v0.1.11

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

Deprecated: Use WebAppIconInfo_Purpose.Descriptor instead.

func (WebAppIconInfo_Purpose) Number added in v0.1.11

func (WebAppIconInfo_Purpose) String added in v0.1.11

func (x WebAppIconInfo_Purpose) String() string

func (WebAppIconInfo_Purpose) Type added in v0.1.11

func (*WebAppIconInfo_Purpose) UnmarshalJSON deprecated added in v0.1.11

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

Deprecated: Do not use.

type WebAppSpecifics

type WebAppSpecifics struct {
	StartUrl        *string                          `protobuf:"bytes,1,opt,name=start_url,json=startUrl" json:"start_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"`
	Scope           *string                          `protobuf:"bytes,5,opt,name=scope" json:"scope,omitempty"`
	IconInfos       []*WebAppIconInfo                `protobuf:"bytes,6,rep,name=icon_infos,json=iconInfos" json:"icon_infos,omitempty"`
	// Used to store the page number that the app is displayed on in
	// chrome://apps.
	UserPageOrdinal *string `protobuf:"bytes,7,opt,name=user_page_ordinal,json=userPageOrdinal" json:"user_page_ordinal,omitempty"`
	// Used to store the in-page ranking for ordering apps in its given
	// |user_page_ordinal| page.
	UserLaunchOrdinal *string `protobuf:"bytes,8,opt,name=user_launch_ordinal,json=userLaunchOrdinal" json:"user_launch_ordinal,omitempty"`
	// Used to store id specified in the manifest. This is a path that is relative
	// to the start_url, similar to how the id field is parsed in
	// https://www.w3.org/TR/appmanifest/#id-member, except this field does not
	// include a scheme or origin. This is only the path after the origin,
	// excluding the first "/".
	// Note: If this field is not set, then the manifest_id is generated using the
	// start_url in GenerateManifestIdFromStartUrlOnly. This is different than if
	// this is set to "", which means the manifest_id will be set to the origin of
	// the start_url.
	RelativeManifestId *string `protobuf:"bytes,9,opt,name=relative_manifest_id,json=relativeManifestId" json:"relative_manifest_id,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) GetIconInfos added in v0.1.8

func (x *WebAppSpecifics) GetIconInfos() []*WebAppIconInfo

func (*WebAppSpecifics) GetName

func (x *WebAppSpecifics) GetName() string

func (*WebAppSpecifics) GetRelativeManifestId added in v0.1.20

func (x *WebAppSpecifics) GetRelativeManifestId() string

func (*WebAppSpecifics) GetScope added in v0.1.8

func (x *WebAppSpecifics) GetScope() string

func (*WebAppSpecifics) GetStartUrl added in v0.1.11

func (x *WebAppSpecifics) GetStartUrl() string

func (*WebAppSpecifics) GetThemeColor

func (x *WebAppSpecifics) GetThemeColor() uint32

func (*WebAppSpecifics) GetUserDisplayMode

func (x *WebAppSpecifics) GetUserDisplayMode() WebAppSpecifics_UserDisplayMode

func (*WebAppSpecifics) GetUserLaunchOrdinal added in v0.1.8

func (x *WebAppSpecifics) GetUserLaunchOrdinal() string

func (*WebAppSpecifics) GetUserPageOrdinal added in v0.1.8

func (x *WebAppSpecifics) GetUserPageOrdinal() string

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 (
	WebAppSpecifics_UNSPECIFIED WebAppSpecifics_UserDisplayMode = 0
	WebAppSpecifics_BROWSER     WebAppSpecifics_UserDisplayMode = 1
	// MINIMAL_UI is never serialized.
	WebAppSpecifics_STANDALONE WebAppSpecifics_UserDisplayMode = 3
	// FULLSCREEN is never serialized.
	// WINDOW_CONTROLS_OVERLAY is never serialized.
	WebAppSpecifics_TABBED WebAppSpecifics_UserDisplayMode = 6 // BORDERLESS 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 WebauthnCredentialSpecifics added in v0.1.20

type WebauthnCredentialSpecifics struct {

	// Sync's ID for this entity (sometimes called the client unique tag), 16
	// random bytes. This value is used within Sync to identify this entity. The
	// credential ID is not used because the (hashed) sync_id is exposed to the
	// Sync server, and we don’t want Google to be able to map a credential ID to
	// an account. Password entities construct this value from the concatenation
	// of many fields and depend on the fact that the server only sees a hash of
	// it. But the only high-entropy secret here is the private key, which will
	// have different encryption in the future, and private keys are not the sort
	// of data to copy into other fields. Therefore this independent value is
	// provided to form the client's ID.
	SyncId []byte `protobuf:"bytes,1,opt,name=sync_id,json=syncId" json:"sync_id,omitempty"`
	// The credential ID, 16 random bytes. This is a value surfaced in
	// the WebAuthn API (https://www.w3.org/TR/webauthn-2/#credential-id).
	CredentialId []byte `protobuf:"bytes,2,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"`
	// An RP ID is a WebAuthn concept:
	// https://www.w3.org/TR/webauthn-2/#rp-id. It’s usually a domain name,
	// although in non-Web contexts it can be a URL with a non-Web scheme.
	RpId *string `protobuf:"bytes,3,opt,name=rp_id,json=rpId" json:"rp_id,omitempty"`
	// The user ID, which is also called a “user handle” in WebAuthn
	// (https://www.w3.org/TR/webauthn-2/#user-handle), is an RP-specific
	// identifier that is up to 64-bytes long. An authenticator conceptually only
	// stores a single credential for a given (rp_id, user_id) pair, but there
	// may be several credentials in Sync. They are prioritised using
	// newly_shadowed_credential_ids and creation_time. See below.
	//
	// (We wish to be able to retain several entities for a single (rp_id,
	// user_id) pair because there’s an edge case where we may wish to revert to
	// an older entry and thus need to keep the older entry around in Sync. The
	// revert could happen on a different device too.)
	UserId []byte `protobuf:"bytes,4,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	// The id of credentials with the same (rp_id, user_id) that were
	// shadowed by the creation of this entity.
	//
	// A credential is shadowed if one or more other credentials (from the same
	// account, and with the same (rp_id, user_id)) include its credential_id in
	// their list of shadowed IDs. Shadowed credentials are ignored when finding
	// a credential to sign with. If there is more than one candidate remaining
	// after filtering shadowed credentials then the most recently created (based
	// on creation_time) is used.
	//
	// The reason for all this is that sites can replace a credential by creating
	// another one with the same (rp_id, user_id) pair. However, we don't
	// immediately know whether the WebAuthn response reached the website's
	// server. Consider a user with a poor internet connection. Javascript in the
	// site's origin triggers a credential creation that “overwrites” an existing
	// credential, but the Javascript is unable to send the new public key to the
	// website's server. The user is now locked out: the old credential has been
	// over-written but the website's server doesn't know about the new one.
	//
	// Thus we wish to keep “overwritten” credentials around for a while to allow
	// for some sort of recovery. In the simple case, a new credential shadows
	// the single, previous old credential. We could depend on creation_time, but
	// client clocks aren't always accurate, thus this field.
	//
	// In complicated cases two devices might race to replace a credential, in
	// which case (after mutual syncing) two candidate credentials exist for the
	// same (rp_id, user_id) pair because neither shadows the other. In this case
	// we pick the newest based on |creation_time| but it's quite possible that
	// some recovery will be needed because the website's server thinks the other
	// one is correct.
	//
	// A generation counter isn't used because a single device might replace a
	// series of credentials as it tries to update the website's server. But that
	// doesn't mean that it should dominate a different device that replaced it
	// only once, but later.
	NewlyShadowedCredentialIds [][]byte `` /* 136-byte string literal not displayed */
	// The local time on the device when this credential was created. Given in
	// milliseconds since the UNIX epoch. This is used to break ties between
	// credentials. See newly_shadowed_credential_ids.
	CreationTime *int64 `protobuf:"varint,6,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	// The human-readable account identifier. Usually an email address. This is
	// mutable.
	// https://www.w3.org/TR/webauthn-2/#dom-publickeycredentialentity-name
	UserName *string `protobuf:"bytes,7,opt,name=user_name,json=userName" json:"user_name,omitempty"`
	// The human-readable name. Usually a legal name. This is mutable.
	// https://www.w3.org/TR/webauthn-2/#dom-publickeycredentialuserentity-displayname.
	UserDisplayName *string `protobuf:"bytes,8,opt,name=user_display_name,json=userDisplayName" json:"user_display_name,omitempty"`
	// Credentials may optionally be enabled for Secure Payment Confirmation[1] on
	// third-party sites. This is opt-in at creation time.
	//
	// [1] https://www.w3.org/TR/secure-payment-confirmation/
	ThirdPartyPaymentsSupport *bool `` /* 135-byte string literal not displayed */
	// Time when this passkey was last successfully asserted. Number of
	// microseconds since 1601, aka Windows epoch. This mirrors the
	// `date_last_used` field in PasswordSpecificsData.
	LastUsedTimeWindowsEpochMicros *int64 `` /* 154-byte string literal not displayed */
	// Types that are assignable to EncryptedData:
	//
	//	*WebauthnCredentialSpecifics_PrivateKey
	//	*WebauthnCredentialSpecifics_Encrypted_
	EncryptedData isWebauthnCredentialSpecifics_EncryptedData `protobuf_oneof:"encrypted_data"`
	// contains filtered or unexported fields
}

WebauthnCredentialSpecifics is an entity that backs a WebAuthn PublicKeyCredential. Since it contains the authenticator’s view of this object, it has a private key rather than a public key. (https://www.w3.org/TR/webauthn-2/#iface-pkcredential).

Names of fields are taken from WebAuthn where possible. E.g. user.displayName in WebAuthn becomes user_display_name here.

All fields are immutable after creation except for user_name and user_display_name, which may be updated by a user.

func (*WebauthnCredentialSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WebauthnCredentialSpecifics.ProtoReflect.Descriptor instead.

func (*WebauthnCredentialSpecifics) GetCreationTime added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetCreationTime() int64

func (*WebauthnCredentialSpecifics) GetCredentialId added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetCredentialId() []byte

func (*WebauthnCredentialSpecifics) GetEncrypted added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetEncrypted() []byte

func (*WebauthnCredentialSpecifics) GetEncryptedData added in v0.1.20

func (m *WebauthnCredentialSpecifics) GetEncryptedData() isWebauthnCredentialSpecifics_EncryptedData

func (*WebauthnCredentialSpecifics) GetLastUsedTimeWindowsEpochMicros added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetLastUsedTimeWindowsEpochMicros() int64

func (*WebauthnCredentialSpecifics) GetNewlyShadowedCredentialIds added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetNewlyShadowedCredentialIds() [][]byte

func (*WebauthnCredentialSpecifics) GetPrivateKey added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetPrivateKey() []byte

func (*WebauthnCredentialSpecifics) GetRpId added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetRpId() string

func (*WebauthnCredentialSpecifics) GetSyncId added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetSyncId() []byte

func (*WebauthnCredentialSpecifics) GetThirdPartyPaymentsSupport added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetThirdPartyPaymentsSupport() bool

func (*WebauthnCredentialSpecifics) GetUserDisplayName added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetUserDisplayName() string

func (*WebauthnCredentialSpecifics) GetUserId added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetUserId() []byte

func (*WebauthnCredentialSpecifics) GetUserName added in v0.1.20

func (x *WebauthnCredentialSpecifics) GetUserName() string

func (*WebauthnCredentialSpecifics) ProtoMessage added in v0.1.20

func (*WebauthnCredentialSpecifics) ProtoMessage()

func (*WebauthnCredentialSpecifics) ProtoReflect added in v0.1.20

func (*WebauthnCredentialSpecifics) Reset added in v0.1.20

func (x *WebauthnCredentialSpecifics) Reset()

func (*WebauthnCredentialSpecifics) String added in v0.1.20

func (x *WebauthnCredentialSpecifics) String() string

type WebauthnCredentialSpecifics_Encrypted added in v0.1.20

type WebauthnCredentialSpecifics_Encrypted struct {

	// The bytes of the private key, in PKCS#8 format.
	PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey" json:"private_key,omitempty"`
	// The secret for implementing the hmac-secret extension
	// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html#sctn-hmac-secret-extension
	HmacSecret []byte `protobuf:"bytes,2,opt,name=hmac_secret,json=hmacSecret" json:"hmac_secret,omitempty"`
	// The contents of the credential's credBlob.
	// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html#sctn-credBlob-extension
	CredBlob []byte `protobuf:"bytes,3,opt,name=cred_blob,json=credBlob" json:"cred_blob,omitempty"`
	// The contents of the credential's largeBlob value(*). Unlike with security
	// keys, largeBlob data is not stored in a single lump for all credentials,
	// but as per-credential data. This data is presented to the authenticator
	// over CTAP and thus has already had the required DEFLATE compression
	// applied by the remote platform. The uncompressed size of this data is in
	// the next field.
	//
	// (*) "large" with respect to embedded devices. Maximum length is 2KiB for
	// Google Password Manager.
	//
	// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html#authenticatorLargeBlobs
	LargeBlob []byte `protobuf:"bytes,4,opt,name=large_blob,json=largeBlob" json:"large_blob,omitempty"`
	// The claimed uncompressed size of the DEFLATE-compressed data in
	// `large_blob`. This corresponds to the `origSize` field from the spec:
	// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html#large-blob
	LargeBlobUncompressedSize *uint64 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WebauthnCredentialSpecifics_Encrypted) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WebauthnCredentialSpecifics_Encrypted.ProtoReflect.Descriptor instead.

func (*WebauthnCredentialSpecifics_Encrypted) GetCredBlob added in v0.1.20

func (x *WebauthnCredentialSpecifics_Encrypted) GetCredBlob() []byte

func (*WebauthnCredentialSpecifics_Encrypted) GetHmacSecret added in v0.1.20

func (x *WebauthnCredentialSpecifics_Encrypted) GetHmacSecret() []byte

func (*WebauthnCredentialSpecifics_Encrypted) GetLargeBlob added in v0.1.20

func (x *WebauthnCredentialSpecifics_Encrypted) GetLargeBlob() []byte

func (*WebauthnCredentialSpecifics_Encrypted) GetLargeBlobUncompressedSize added in v0.1.20

func (x *WebauthnCredentialSpecifics_Encrypted) GetLargeBlobUncompressedSize() uint64

func (*WebauthnCredentialSpecifics_Encrypted) GetPrivateKey added in v0.1.20

func (x *WebauthnCredentialSpecifics_Encrypted) GetPrivateKey() []byte

func (*WebauthnCredentialSpecifics_Encrypted) ProtoMessage added in v0.1.20

func (*WebauthnCredentialSpecifics_Encrypted) ProtoMessage()

func (*WebauthnCredentialSpecifics_Encrypted) ProtoReflect added in v0.1.20

func (*WebauthnCredentialSpecifics_Encrypted) Reset added in v0.1.20

func (*WebauthnCredentialSpecifics_Encrypted) String added in v0.1.20

type WebauthnCredentialSpecifics_Encrypted_ added in v0.1.20

type WebauthnCredentialSpecifics_Encrypted_ struct {
	// A serialized, `Encrypted` message, encrypted with a feature-specific
	// security domain.
	Encrypted []byte `protobuf:"bytes,12,opt,name=encrypted,oneof"`
}

type WebauthnCredentialSpecifics_PrivateKey added in v0.1.20

type WebauthnCredentialSpecifics_PrivateKey struct {
	// The bytes of the private key, encrypted with a feature-specific security
	// domain.
	PrivateKey []byte `protobuf:"bytes,9,opt,name=private_key,json=privateKey,oneof"`
}

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"`
	DnsOption            *WifiConfigurationSpecifics_DnsOption                  `` /* 133-byte string literal not displayed */
	// List of DNS servers to be used when set to DNS_OPTION_CUSTOM.  Up to 4.
	CustomDns []string `protobuf:"bytes,8,rep,name=custom_dns,json=customDns" json:"custom_dns,omitempty"`
	// The last time this configuration was connected to before being synced.  It
	// will only be updated when the configuration is changed. This is represented
	// with the UNIX timestamp, ms since epoch.
	LastConnectedTimestamp *int64 `protobuf:"varint,9,opt,name=last_connected_timestamp,json=lastConnectedTimestamp" json:"last_connected_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) GetDnsOption added in v0.1.8

func (*WifiConfigurationSpecifics) GetHexSsid

func (x *WifiConfigurationSpecifics) GetHexSsid() []byte

func (*WifiConfigurationSpecifics) GetIsPreferred

func (*WifiConfigurationSpecifics) GetLastConnectedTimestamp added in v0.1.8

func (x *WifiConfigurationSpecifics) GetLastConnectedTimestamp() 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_DnsOption added in v0.1.8

type WifiConfigurationSpecifics_DnsOption int32
const (
	WifiConfigurationSpecifics_DNS_OPTION_UNSPECIFIED  WifiConfigurationSpecifics_DnsOption = 0
	WifiConfigurationSpecifics_DNS_OPTION_DEFAULT_DHCP WifiConfigurationSpecifics_DnsOption = 1
	WifiConfigurationSpecifics_DNS_OPTION_CUSTOM       WifiConfigurationSpecifics_DnsOption = 2
)

func (WifiConfigurationSpecifics_DnsOption) Descriptor added in v0.1.8

func (WifiConfigurationSpecifics_DnsOption) Enum added in v0.1.8

func (WifiConfigurationSpecifics_DnsOption) EnumDescriptor deprecated added in v0.1.8

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

Deprecated: Use WifiConfigurationSpecifics_DnsOption.Descriptor instead.

func (WifiConfigurationSpecifics_DnsOption) Number added in v0.1.8

func (WifiConfigurationSpecifics_DnsOption) String added in v0.1.8

func (WifiConfigurationSpecifics_DnsOption) Type added in v0.1.8

func (*WifiConfigurationSpecifics_DnsOption) UnmarshalJSON deprecated added in v0.1.8

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

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.
	AutoconfigurationUrl *string `protobuf:"bytes,2,opt,name=autoconfiguration_url,json=autoconfigurationUrl" json:"autoconfiguration_url,omitempty"`
	// Only set if PROXY_OPTION_MANUAL.
	ManualProxyConfiguration *WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WifiConfigurationSpecifics_ProxyConfiguration) Descriptor deprecated

Deprecated: Use WifiConfigurationSpecifics_ProxyConfiguration.ProtoReflect.Descriptor instead.

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetAutoconfigurationUrl added in v0.1.8

func (x *WifiConfigurationSpecifics_ProxyConfiguration) GetAutoconfigurationUrl() string

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetManualProxyConfiguration added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration) GetProxyOption

func (*WifiConfigurationSpecifics_ProxyConfiguration) ProtoMessage

func (*WifiConfigurationSpecifics_ProxyConfiguration) ProtoReflect added in v0.1.3

func (*WifiConfigurationSpecifics_ProxyConfiguration) Reset

func (*WifiConfigurationSpecifics_ProxyConfiguration) String

type WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration added in v0.1.8

type WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration struct {
	HttpProxyUrl        *string  `protobuf:"bytes,1,opt,name=http_proxy_url,json=httpProxyUrl" json:"http_proxy_url,omitempty"`
	HttpProxyPort       *int32   `protobuf:"varint,2,opt,name=http_proxy_port,json=httpProxyPort" json:"http_proxy_port,omitempty"`
	SecureHttpProxyUrl  *string  `protobuf:"bytes,3,opt,name=secure_http_proxy_url,json=secureHttpProxyUrl" json:"secure_http_proxy_url,omitempty"`
	SecureHttpProxyPort *int32   `protobuf:"varint,4,opt,name=secure_http_proxy_port,json=secureHttpProxyPort" json:"secure_http_proxy_port,omitempty"`
	SocksHostUrl        *string  `protobuf:"bytes,5,opt,name=socks_host_url,json=socksHostUrl" json:"socks_host_url,omitempty"`
	SocksHostPort       *int32   `protobuf:"varint,6,opt,name=socks_host_port,json=socksHostPort" json:"socks_host_port,omitempty"`
	ExcludedDomains     []string `protobuf:"bytes,7,rep,name=excluded_domains,json=excludedDomains" json:"excluded_domains,omitempty"`
	// contains filtered or unexported fields
}

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) Descriptor deprecated added in v0.1.8

Deprecated: Use WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration.ProtoReflect.Descriptor instead.

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetExcludedDomains added in v0.1.11

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetHttpProxyPort added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetHttpProxyUrl added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetSecureHttpProxyPort added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetSecureHttpProxyUrl added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetSocksHostPort added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) GetSocksHostUrl added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) ProtoMessage added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) ProtoReflect added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) Reset added in v0.1.8

func (*WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration) String added in v0.1.8

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 details in manual_proxy_configuration.
	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.

type WorkspaceDeskSpecifics added in v0.1.20

type WorkspaceDeskSpecifics struct {

	// A random unique identifier for each desk.
	// Required.
	Uuid *string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"`
	// The name of the desk being saved.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The time this snapshot of desk was created.
	CreatedTimeWindowsEpochMicros *int64 `` /* 148-byte string literal not displayed */
	// The time this snapshot of desk was updated.
	UpdatedTimeWindowsEpochMicros *int64                       `` /* 148-byte string literal not displayed */
	Desk                          *WorkspaceDeskSpecifics_Desk `protobuf:"bytes,4,opt,name=desk" json:"desk,omitempty"`
	// The type of a desk.
	DeskType *WorkspaceDeskSpecifics_DeskType `protobuf:"varint,6,opt,name=desk_type,json=deskType,enum=sync_pb.WorkspaceDeskSpecifics_DeskType" json:"desk_type,omitempty"`
	// The cache guid of the syncing client. Used to identify a unique device
	// that's syncing data.
	ClientCacheGuid *string `protobuf:"bytes,7,opt,name=client_cache_guid,json=clientCacheGuid" json:"client_cache_guid,omitempty"`
	// The form factor of the device.
	DeviceFormFactor *SyncEnums_DeviceFormFactor `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A workspace desk entry. This proto contains the fields synced to represent a saved desk in user's workspace.

func (*WorkspaceDeskSpecifics) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics) GetClientCacheGuid added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetClientCacheGuid() string

func (*WorkspaceDeskSpecifics) GetCreatedTimeWindowsEpochMicros added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetCreatedTimeWindowsEpochMicros() int64

func (*WorkspaceDeskSpecifics) GetDesk added in v0.1.20

func (*WorkspaceDeskSpecifics) GetDeskType added in v0.1.20

func (*WorkspaceDeskSpecifics) GetDeviceFormFactor added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetDeviceFormFactor() SyncEnums_DeviceFormFactor

func (*WorkspaceDeskSpecifics) GetName added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetName() string

func (*WorkspaceDeskSpecifics) GetUpdatedTimeWindowsEpochMicros added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetUpdatedTimeWindowsEpochMicros() int64

func (*WorkspaceDeskSpecifics) GetUuid added in v0.1.20

func (x *WorkspaceDeskSpecifics) GetUuid() string

func (*WorkspaceDeskSpecifics) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics) ProtoMessage()

func (*WorkspaceDeskSpecifics) ProtoReflect added in v0.1.20

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

func (*WorkspaceDeskSpecifics) Reset added in v0.1.20

func (x *WorkspaceDeskSpecifics) Reset()

func (*WorkspaceDeskSpecifics) String added in v0.1.20

func (x *WorkspaceDeskSpecifics) String() string

type WorkspaceDeskSpecifics_App added in v0.1.20

type WorkspaceDeskSpecifics_App struct {

	// The on-display location of this window.
	WindowBound *WorkspaceDeskSpecifics_WindowBound `protobuf:"bytes,1,opt,name=window_bound,json=windowBound" json:"window_bound,omitempty"`
	WindowState *WorkspaceDeskSpecifics_WindowState `` /* 136-byte string literal not displayed */
	// The z-index of this app relative to other apps in this template.
	// App with larger z-index appears in front of app with smaller z-index.
	ZIndex *int32                           `protobuf:"varint,3,opt,name=z_index,json=zIndex" json:"z_index,omitempty"`
	App    *WorkspaceDeskSpecifics_AppOneOf `protobuf:"bytes,4,opt,name=app" json:"app,omitempty"`
	// window_id used to instantiate proto as a restore_data object.  The
	// restore_data object in question can be found at:
	// //components/app_restore/restore_data.h
	WindowId *int32 `protobuf:"varint,5,opt,name=window_id,json=windowId" json:"window_id,omitempty"`
	// Display ID this app is on.
	DisplayId *int64 `protobuf:"varint,6,opt,name=display_id,json=displayId" json:"display_id,omitempty"`
	// State of a window before it was minimized. Empty/unset for non-minimized
	// windows.
	PreMinimizedWindowState *WorkspaceDeskSpecifics_WindowState `` /* 176-byte string literal not displayed */
	// Container this app was launched from.  Empty/unset for Arc apps.
	Container *WorkspaceDeskSpecifics_LaunchContainer `protobuf:"varint,8,opt,name=container,enum=sync_pb.WorkspaceDeskSpecifics_LaunchContainer" json:"container,omitempty"`
	// Window open disposition, defines how a window opens. Empty/unset for Arc
	// apps.
	Disposition *WorkspaceDeskSpecifics_WindowOpenDisposition `` /* 127-byte string literal not displayed */
	// Name of the app which is used by the browser to determine whether to
	// launch an app as an app or a tab. Does not contain a human readable name
	// but contains the app ID and a prefix.
	AppName *string `protobuf:"bytes,10,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	// Human readable title of the app.
	Title *string `protobuf:"bytes,11,opt,name=title" json:"title,omitempty"`
	// This is used to determine the size of a snapped window is in clamshell
	// mode. Empty/unset for non-snapped windows. This should be a value between
	// 0 and 100.
	SnapPercentage *int32 `protobuf:"varint,12,opt,name=snap_percentage,json=snapPercentage" json:"snap_percentage,omitempty"`
	// contains filtered or unexported fields
}

A Launchable app in template.

func (*WorkspaceDeskSpecifics_App) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_App.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_App) GetApp added in v0.1.20

func (*WorkspaceDeskSpecifics_App) GetAppName added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetAppName() string

func (*WorkspaceDeskSpecifics_App) GetContainer added in v0.1.20

func (*WorkspaceDeskSpecifics_App) GetDisplayId added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetDisplayId() int64

func (*WorkspaceDeskSpecifics_App) GetDisposition added in v0.1.20

func (*WorkspaceDeskSpecifics_App) GetPreMinimizedWindowState added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetPreMinimizedWindowState() WorkspaceDeskSpecifics_WindowState

func (*WorkspaceDeskSpecifics_App) GetSnapPercentage added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetSnapPercentage() int32

func (*WorkspaceDeskSpecifics_App) GetTitle added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetTitle() string

func (*WorkspaceDeskSpecifics_App) GetWindowBound added in v0.1.20

func (*WorkspaceDeskSpecifics_App) GetWindowId added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetWindowId() int32

func (*WorkspaceDeskSpecifics_App) GetWindowState added in v0.1.20

func (*WorkspaceDeskSpecifics_App) GetZIndex added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) GetZIndex() int32

func (*WorkspaceDeskSpecifics_App) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_App) ProtoMessage()

func (*WorkspaceDeskSpecifics_App) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_App) Reset added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) Reset()

func (*WorkspaceDeskSpecifics_App) String added in v0.1.20

func (x *WorkspaceDeskSpecifics_App) String() string

type WorkspaceDeskSpecifics_AppOneOf added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf struct {

	// Types that are assignable to App:
	//
	//	*WorkspaceDeskSpecifics_AppOneOf_BrowserAppWindow
	//	*WorkspaceDeskSpecifics_AppOneOf_ChromeApp
	//	*WorkspaceDeskSpecifics_AppOneOf_ProgressWebApp
	//	*WorkspaceDeskSpecifics_AppOneOf_ArcApp
	App isWorkspaceDeskSpecifics_AppOneOf_App `protobuf_oneof:"app"`
	// contains filtered or unexported fields
}

func (*WorkspaceDeskSpecifics_AppOneOf) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_AppOneOf.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_AppOneOf) GetApp added in v0.1.20

func (m *WorkspaceDeskSpecifics_AppOneOf) GetApp() isWorkspaceDeskSpecifics_AppOneOf_App

func (*WorkspaceDeskSpecifics_AppOneOf) GetArcApp added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) GetBrowserAppWindow added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) GetChromeApp added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) GetProgressWebApp added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) ProtoMessage()

func (*WorkspaceDeskSpecifics_AppOneOf) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_AppOneOf) String added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf_ArcApp added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf_ArcApp struct {
	ArcApp *WorkspaceDeskSpecifics_ArcApp `protobuf:"bytes,4,opt,name=arc_app,json=arcApp,oneof"`
}

type WorkspaceDeskSpecifics_AppOneOf_BrowserAppWindow added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf_BrowserAppWindow struct {
	BrowserAppWindow *WorkspaceDeskSpecifics_BrowserAppWindow `protobuf:"bytes,1,opt,name=browser_app_window,json=browserAppWindow,oneof"`
}

type WorkspaceDeskSpecifics_AppOneOf_ChromeApp added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf_ChromeApp struct {
	ChromeApp *WorkspaceDeskSpecifics_ChromeApp `protobuf:"bytes,2,opt,name=chrome_app,json=chromeApp,oneof"`
}

type WorkspaceDeskSpecifics_AppOneOf_ProgressWebApp added in v0.1.20

type WorkspaceDeskSpecifics_AppOneOf_ProgressWebApp struct {
	ProgressWebApp *WorkspaceDeskSpecifics_ProgressiveWebApp `protobuf:"bytes,3,opt,name=progress_web_app,json=progressWebApp,oneof"`
}

type WorkspaceDeskSpecifics_ArcApp added in v0.1.20

type WorkspaceDeskSpecifics_ArcApp struct {

	// The Arc App's ID.
	AppId *string `protobuf:"bytes,1,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// Arc window information.  This maps
	// to ArcExtraInfo in a WindowInfo struct.
	MinimumSize  *WorkspaceDeskSpecifics_ArcApp_WindowSize `protobuf:"bytes,2,opt,name=minimum_size,json=minimumSize" json:"minimum_size,omitempty"`
	MaximumSize  *WorkspaceDeskSpecifics_ArcApp_WindowSize `protobuf:"bytes,3,opt,name=maximum_size,json=maximumSize" json:"maximum_size,omitempty"`
	BoundsInRoot *WorkspaceDeskSpecifics_WindowBound       `protobuf:"bytes,5,opt,name=bounds_in_root,json=boundsInRoot" json:"bounds_in_root,omitempty"`
	// contains filtered or unexported fields
}

An Arc App window.

func (*WorkspaceDeskSpecifics_ArcApp) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_ArcApp.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_ArcApp) GetAppId added in v0.1.20

func (x *WorkspaceDeskSpecifics_ArcApp) GetAppId() string

func (*WorkspaceDeskSpecifics_ArcApp) GetBoundsInRoot added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp) GetMaximumSize added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp) GetMinimumSize added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp) ProtoMessage()

func (*WorkspaceDeskSpecifics_ArcApp) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp) Reset added in v0.1.20

func (x *WorkspaceDeskSpecifics_ArcApp) Reset()

func (*WorkspaceDeskSpecifics_ArcApp) String added in v0.1.20

type WorkspaceDeskSpecifics_ArcApp_WindowSize added in v0.1.20

type WorkspaceDeskSpecifics_ArcApp_WindowSize struct {
	Width  *int32 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"`
	Height *int32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
	// contains filtered or unexported fields
}

maps to gfx::Size. Width of the window, including the frame, in pixels.

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_ArcApp_WindowSize.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) GetHeight added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) GetWidth added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_ArcApp_WindowSize) String added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow struct {

	// The tabs in this browser window.
	Tabs []*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab `protobuf:"bytes,1,rep,name=tabs" json:"tabs,omitempty"`
	// The index of the currently active tab.
	ActiveTabIndex *int32 `protobuf:"varint,2,opt,name=active_tab_index,json=activeTabIndex" json:"active_tab_index,omitempty"`
	// Indicates whether to show as a dedicated app window.
	ShowAsApp *bool `protobuf:"varint,3,opt,name=show_as_app,json=showAsApp" json:"show_as_app,omitempty"`
	// Tab groups associated with this window.
	TabGroups []*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup `protobuf:"bytes,4,rep,name=tab_groups,json=tabGroups" json:"tab_groups,omitempty"`
	// The index of the first non-pinned tab.
	FirstNonPinnedTabIndex *int32 `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Chrome or Lacros Browser app window.

func (*WorkspaceDeskSpecifics_BrowserAppWindow) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_BrowserAppWindow.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_BrowserAppWindow) GetActiveTabIndex added in v0.1.20

func (x *WorkspaceDeskSpecifics_BrowserAppWindow) GetActiveTabIndex() int32

func (*WorkspaceDeskSpecifics_BrowserAppWindow) GetFirstNonPinnedTabIndex added in v0.1.20

func (x *WorkspaceDeskSpecifics_BrowserAppWindow) GetFirstNonPinnedTabIndex() int32

func (*WorkspaceDeskSpecifics_BrowserAppWindow) GetShowAsApp added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) GetTabGroups added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) GetTabs added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow) String added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab struct {

	// The last committed URL of the main frame of the tab.
	Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	// The title of the tab.
	Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) Descriptor deprecated added in v0.1.20

Deprecated: Use WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) GetTitle added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) GetUrl added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_BrowserAppTab) String added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup added in v0.1.20

type WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup struct {

	// Zero-based index within the browser app tabs of the first tab in the
	// group.
	FirstIndex *int32 `protobuf:"varint,1,opt,name=first_index,json=firstIndex" json:"first_index,omitempty"`
	// Zero-based Index wotjom the browser app tabs of the last tab in the
	// group.
	LastIndex *int32 `protobuf:"varint,2,opt,name=last_index,json=lastIndex" json:"last_index,omitempty"`
	// User readable title of the tab group.
	Title *string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	// Color associated with this tab group.
	Color *WorkspaceDeskSpecifics_TabGroupColor `protobuf:"varint,4,opt,name=color,enum=sync_pb.WorkspaceDeskSpecifics_TabGroupColor" json:"color,omitempty"`
	// Indicates whether the tab group is collapsed.
	IsCollapsed *bool `protobuf:"varint,5,opt,name=is_collapsed,json=isCollapsed" json:"is_collapsed,omitempty"`
	// contains filtered or unexported fields
}

Structure representing a tab group associated with this window.

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) Descriptor deprecated added in v0.1.20

Deprecated: Use WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) GetColor added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) GetFirstIndex added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) GetIsCollapsed added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) GetLastIndex added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) GetTitle added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_BrowserAppWindow_TabGroup) String added in v0.1.20

type WorkspaceDeskSpecifics_ChromeApp added in v0.1.20

type WorkspaceDeskSpecifics_ChromeApp struct {

	// The Chrome App's App ID.
	AppId *string `protobuf:"bytes,1,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

A Chrome App window.

func (*WorkspaceDeskSpecifics_ChromeApp) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_ChromeApp.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_ChromeApp) GetAppId added in v0.1.20

func (*WorkspaceDeskSpecifics_ChromeApp) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_ChromeApp) ProtoMessage()

func (*WorkspaceDeskSpecifics_ChromeApp) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_ChromeApp) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_ChromeApp) String added in v0.1.20

type WorkspaceDeskSpecifics_Desk added in v0.1.20

type WorkspaceDeskSpecifics_Desk struct {

	// The apps in this template.
	Apps []*WorkspaceDeskSpecifics_App `protobuf:"bytes,1,rep,name=apps" json:"apps,omitempty"`
	// contains filtered or unexported fields
}

Represent a snapshot of the information on a desk.

func (*WorkspaceDeskSpecifics_Desk) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_Desk.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_Desk) GetApps added in v0.1.20

func (*WorkspaceDeskSpecifics_Desk) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_Desk) ProtoMessage()

func (*WorkspaceDeskSpecifics_Desk) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_Desk) Reset added in v0.1.20

func (x *WorkspaceDeskSpecifics_Desk) Reset()

func (*WorkspaceDeskSpecifics_Desk) String added in v0.1.20

func (x *WorkspaceDeskSpecifics_Desk) String() string

type WorkspaceDeskSpecifics_DeskType added in v0.1.20

type WorkspaceDeskSpecifics_DeskType int32

Enumerates the type of desk, namely to differentiate desks between desks saved for desk templates and desks saved for save and recall.

const (
	WorkspaceDeskSpecifics_UNKNOWN_TYPE       WorkspaceDeskSpecifics_DeskType = 0
	WorkspaceDeskSpecifics_TEMPLATE           WorkspaceDeskSpecifics_DeskType = 1
	WorkspaceDeskSpecifics_SAVE_AND_RECALL    WorkspaceDeskSpecifics_DeskType = 2
	WorkspaceDeskSpecifics_FLOATING_WORKSPACE WorkspaceDeskSpecifics_DeskType = 3
)

func (WorkspaceDeskSpecifics_DeskType) Descriptor added in v0.1.20

func (WorkspaceDeskSpecifics_DeskType) Enum added in v0.1.20

func (WorkspaceDeskSpecifics_DeskType) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_DeskType.Descriptor instead.

func (WorkspaceDeskSpecifics_DeskType) Number added in v0.1.20

func (WorkspaceDeskSpecifics_DeskType) String added in v0.1.20

func (WorkspaceDeskSpecifics_DeskType) Type added in v0.1.20

func (*WorkspaceDeskSpecifics_DeskType) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type WorkspaceDeskSpecifics_LaunchContainer added in v0.1.20

type WorkspaceDeskSpecifics_LaunchContainer int32

Enumeration for the container an app was launched from as used by (components/services/app_services/public/mojom/types.mojom:490).

const (
	WorkspaceDeskSpecifics_LAUNCH_CONTAINER_UNSPECIFIED      WorkspaceDeskSpecifics_LaunchContainer = 0
	WorkspaceDeskSpecifics_LAUNCH_CONTAINER_WINDOW           WorkspaceDeskSpecifics_LaunchContainer = 1
	WorkspaceDeskSpecifics_LAUNCH_CONTAINER_PANEL_DEPRECATED WorkspaceDeskSpecifics_LaunchContainer = 2
	WorkspaceDeskSpecifics_LAUNCH_CONTAINER_TAB              WorkspaceDeskSpecifics_LaunchContainer = 3
	WorkspaceDeskSpecifics_LAUNCH_CONTAINER_NONE             WorkspaceDeskSpecifics_LaunchContainer = 4
)

func (WorkspaceDeskSpecifics_LaunchContainer) Descriptor added in v0.1.20

func (WorkspaceDeskSpecifics_LaunchContainer) Enum added in v0.1.20

func (WorkspaceDeskSpecifics_LaunchContainer) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_LaunchContainer.Descriptor instead.

func (WorkspaceDeskSpecifics_LaunchContainer) Number added in v0.1.20

func (WorkspaceDeskSpecifics_LaunchContainer) String added in v0.1.20

func (WorkspaceDeskSpecifics_LaunchContainer) Type added in v0.1.20

func (*WorkspaceDeskSpecifics_LaunchContainer) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type WorkspaceDeskSpecifics_ProgressiveWebApp added in v0.1.20

type WorkspaceDeskSpecifics_ProgressiveWebApp struct {

	// The PWA's App ID.
	AppId *string `protobuf:"bytes,1,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

A PWA window.

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_ProgressiveWebApp.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) GetAppId added in v0.1.20

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_ProgressiveWebApp) String added in v0.1.20

type WorkspaceDeskSpecifics_TabGroupColor added in v0.1.20

type WorkspaceDeskSpecifics_TabGroupColor int32

Enumerates the possible colors that a tab group can have. This mirrors the enumeration that can be found in components/tab_groups/tab_group_color.h

const (
	WorkspaceDeskSpecifics_UNKNOWN_COLOR WorkspaceDeskSpecifics_TabGroupColor = 0
	WorkspaceDeskSpecifics_GREY          WorkspaceDeskSpecifics_TabGroupColor = 1
	WorkspaceDeskSpecifics_BLUE          WorkspaceDeskSpecifics_TabGroupColor = 2
	WorkspaceDeskSpecifics_RED           WorkspaceDeskSpecifics_TabGroupColor = 3
	WorkspaceDeskSpecifics_YELLOW        WorkspaceDeskSpecifics_TabGroupColor = 4
	WorkspaceDeskSpecifics_GREEN         WorkspaceDeskSpecifics_TabGroupColor = 5
	WorkspaceDeskSpecifics_PINK          WorkspaceDeskSpecifics_TabGroupColor = 6
	WorkspaceDeskSpecifics_PURPLE        WorkspaceDeskSpecifics_TabGroupColor = 7
	WorkspaceDeskSpecifics_CYAN          WorkspaceDeskSpecifics_TabGroupColor = 8
	WorkspaceDeskSpecifics_ORANGE        WorkspaceDeskSpecifics_TabGroupColor = 9
)

func (WorkspaceDeskSpecifics_TabGroupColor) Descriptor added in v0.1.20

func (WorkspaceDeskSpecifics_TabGroupColor) Enum added in v0.1.20

func (WorkspaceDeskSpecifics_TabGroupColor) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_TabGroupColor.Descriptor instead.

func (WorkspaceDeskSpecifics_TabGroupColor) Number added in v0.1.20

func (WorkspaceDeskSpecifics_TabGroupColor) String added in v0.1.20

func (WorkspaceDeskSpecifics_TabGroupColor) Type added in v0.1.20

func (*WorkspaceDeskSpecifics_TabGroupColor) UnmarshalJSON deprecated added in v0.1.20

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

Deprecated: Do not use.

type WorkspaceDeskSpecifics_WindowBound added in v0.1.20

type WorkspaceDeskSpecifics_WindowBound struct {

	// The offset of the window from the top edge of the screen in pixels.
	Top *int32 `protobuf:"varint,1,opt,name=top" json:"top,omitempty"`
	// The offset of the window from the left edge of the screen in pixels.
	Left *int32 `protobuf:"varint,2,opt,name=left" json:"left,omitempty"`
	// The width of the window, including the frame, in pixels.
	Width *int32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"`
	// The height of the window, including the frame, in pixels.
	Height *int32 `protobuf:"varint,4,opt,name=height" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceDeskSpecifics_WindowBound) Descriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_WindowBound.ProtoReflect.Descriptor instead.

func (*WorkspaceDeskSpecifics_WindowBound) GetHeight added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) GetLeft added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) GetTop added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) GetWidth added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) ProtoMessage added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) ProtoMessage()

func (*WorkspaceDeskSpecifics_WindowBound) ProtoReflect added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) Reset added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowBound) String added in v0.1.20

type WorkspaceDeskSpecifics_WindowOpenDisposition added in v0.1.20

type WorkspaceDeskSpecifics_WindowOpenDisposition int32

Enumeration for how a window opens. Maps to base::WindowOpenDisposition. (found in ui/base/window_open_disposition.h:10). Does not include MAX_VALUE as MAX_VALUE is equivalent to NEW_PICTURE_IN_PICTURE. All comments are copied verbatim from aforementioned header.

const (
	WorkspaceDeskSpecifics_UNKNOWN     WorkspaceDeskSpecifics_WindowOpenDisposition = 0
	WorkspaceDeskSpecifics_CURRENT_TAB WorkspaceDeskSpecifics_WindowOpenDisposition = 1
	// Indicates that only one tab with the URL shoul exist in the same window.
	WorkspaceDeskSpecifics_SINGLETON_TAB      WorkspaceDeskSpecifics_WindowOpenDisposition = 2
	WorkspaceDeskSpecifics_NEW_FOREGROUND_TAB WorkspaceDeskSpecifics_WindowOpenDisposition = 3
	WorkspaceDeskSpecifics_NEW_BACKGROUND_TAB WorkspaceDeskSpecifics_WindowOpenDisposition = 4
	WorkspaceDeskSpecifics_NEW_POPUP          WorkspaceDeskSpecifics_WindowOpenDisposition = 5
	WorkspaceDeskSpecifics_NEW_WINDOW         WorkspaceDeskSpecifics_WindowOpenDisposition = 6
	WorkspaceDeskSpecifics_SAVE_TO_DISK       WorkspaceDeskSpecifics_WindowOpenDisposition = 7
	WorkspaceDeskSpecifics_OFF_THE_RECORD     WorkspaceDeskSpecifics_WindowOpenDisposition = 8
	WorkspaceDeskSpecifics_IGNORE_ACTION      WorkspaceDeskSpecifics_WindowOpenDisposition = 9
	// Activates an existing tab containing the URL, rather than navigating.
	// This is similar to SINGLETON_TAB, but searches across all windows
	// from the current profile and anymity (instead of tjust the current one);
	// closes the current tab on switching if the current ta was the NTP with
	// no session history; and behaves like CURRENT_TAB instead of
	// NEW_FOREGROUND_TAB when no existing tab is found.
	WorkspaceDeskSpecifics_SWITCH_TO_TAB WorkspaceDeskSpecifics_WindowOpenDisposition = 10
	// creates a new document picture-in-picture window showing a child WebView.
	WorkspaceDeskSpecifics_NEW_PICTURE_IN_PICTURE WorkspaceDeskSpecifics_WindowOpenDisposition = 11
)

func (WorkspaceDeskSpecifics_WindowOpenDisposition) Descriptor added in v0.1.20

func (WorkspaceDeskSpecifics_WindowOpenDisposition) Enum added in v0.1.20

func (WorkspaceDeskSpecifics_WindowOpenDisposition) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_WindowOpenDisposition.Descriptor instead.

func (WorkspaceDeskSpecifics_WindowOpenDisposition) Number added in v0.1.20

func (WorkspaceDeskSpecifics_WindowOpenDisposition) String added in v0.1.20

func (WorkspaceDeskSpecifics_WindowOpenDisposition) Type added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowOpenDisposition) UnmarshalJSON deprecated added in v0.1.20

Deprecated: Do not use.

type WorkspaceDeskSpecifics_WindowState added in v0.1.20

type WorkspaceDeskSpecifics_WindowState int32

The state of a generic window.

const (
	WorkspaceDeskSpecifics_UNKNOWN_WINDOW_STATE WorkspaceDeskSpecifics_WindowState = 0
	// Normal window state (not minimized, maximized, or fullscreen).
	WorkspaceDeskSpecifics_NORMAL WorkspaceDeskSpecifics_WindowState = 1
	// Minimized window state.
	WorkspaceDeskSpecifics_MINIMIZED WorkspaceDeskSpecifics_WindowState = 2
	// Maximized window state.
	WorkspaceDeskSpecifics_MAXIMIZED WorkspaceDeskSpecifics_WindowState = 3
	// Fullscreen window state.
	WorkspaceDeskSpecifics_FULLSCREEN WorkspaceDeskSpecifics_WindowState = 4
	// Snapped to primary half of the screen. Primary half is on the left in
	// landscape screen orientation and top in portrait screen orientation.
	WorkspaceDeskSpecifics_PRIMARY_SNAPPED WorkspaceDeskSpecifics_WindowState = 5
	// Snapped to secondary half of the screen. Secondary half is on the right
	// in landscape screen orientation and bottom in portrait screen
	// orientation.
	WorkspaceDeskSpecifics_SECONDARY_SNAPPED WorkspaceDeskSpecifics_WindowState = 6
	// Floated window state.
	WorkspaceDeskSpecifics_FLOATED WorkspaceDeskSpecifics_WindowState = 7
)

func (WorkspaceDeskSpecifics_WindowState) Descriptor added in v0.1.20

func (WorkspaceDeskSpecifics_WindowState) Enum added in v0.1.20

func (WorkspaceDeskSpecifics_WindowState) EnumDescriptor deprecated added in v0.1.20

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

Deprecated: Use WorkspaceDeskSpecifics_WindowState.Descriptor instead.

func (WorkspaceDeskSpecifics_WindowState) Number added in v0.1.20

func (WorkspaceDeskSpecifics_WindowState) String added in v0.1.20

func (WorkspaceDeskSpecifics_WindowState) Type added in v0.1.20

func (*WorkspaceDeskSpecifics_WindowState) UnmarshalJSON deprecated added in v0.1.20

func (x *WorkspaceDeskSpecifics_WindowState) 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