# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: background_fetch.proto
# Protobuf Python Version: 7.35.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    35,
    1,
    '',
    'background_fetch.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kground_fetch.proto\x12\rcontent.proto\"\xdb\x04\n\x1b\x42\x61\x63kgroundFetchRegistration\x12\x11\n\tunique_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x65veloper_id\x18\x02 \x01(\x0c\x12\x14\n\x0cupload_total\x18\x03 \x01(\x04\x12\x10\n\x08uploaded\x18\x04 \x01(\x04\x12\x16\n\x0e\x64ownload_total\x18\x05 \x01(\x04\x12\x12\n\ndownloaded\x18\x06 \x01(\x04\x12P\n\x06result\x18\x07 \x01(\x0e\x32@.content.proto.BackgroundFetchRegistration.BackgroundFetchResult\x12_\n\x0e\x66\x61ilure_reason\x18\x08 \x01(\x0e\x32G.content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason\"<\n\x15\x42\x61\x63kgroundFetchResult\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\x0b\n\x07SUCCESS\x10\x02\"\xcd\x01\n\x1c\x42\x61\x63kgroundFetchFailureReason\x12\x08\n\x04NONE\x10\x00\x12\x15\n\x11\x43\x41NCELLED_FROM_UI\x10\x01\x12\x1a\n\x16\x43\x41NCELLED_BY_DEVELOPER\x10\x02\x12\x0e\n\nBAD_STATUS\x10\x03\x12\x0f\n\x0b\x46\x45TCH_ERROR\x10\x04\x12\x1e\n\x1aSERVICE_WORKER_UNAVAILABLE\x10\x05\x12\x12\n\x0eQUOTA_EXCEEDED\x10\x06\x12\x1b\n\x17\x44OWNLOAD_TOTAL_EXCEEDED\x10\x07\"\xec\x01\n\rImageResource\x12\x0b\n\x03src\x18\x01 \x01(\t\x12\x30\n\x05sizes\x18\x02 \x03(\x0b\x32!.content.proto.ImageResource.Size\x12\x0c\n\x04type\x18\x03 \x01(\x0c\x12\x35\n\x07purpose\x18\x04 \x03(\x0e\x32$.content.proto.ImageResource.Purpose\x1a%\n\x04Size\x12\r\n\x05width\x18\x01 \x01(\x05\x12\x0e\n\x06height\x18\x02 \x01(\x05\"0\n\x07Purpose\x12\x07\n\x03\x41NY\x10\x01\x12\x0e\n\nMONOCHROME\x10\x02\x12\x0c\n\x08MASKABLE\x10\x03\"l\n\x16\x42\x61\x63kgroundFetchOptions\x12\r\n\x05title\x18\x01 \x01(\t\x12+\n\x05icons\x18\x02 \x03(\x0b\x32\x1c.content.proto.ImageResource\x12\x16\n\x0e\x64ownload_total\x18\x03 \x01(\x04\"\x99\x02\n\x17\x42\x61\x63kgroundFetchMetadata\x12.\n&creation_microseconds_since_unix_epoch\x18\x01 \x01(\x03\x12\x12\n\x06origin\x18\x02 \x01(\tB\x02\x18\x01\x12@\n\x0cregistration\x18\x03 \x01(\x0b\x32*.content.proto.BackgroundFetchRegistration\x12\x36\n\x07options\x18\x04 \x01(\x0b\x32%.content.proto.BackgroundFetchOptions\x12\x13\n\x0bnum_fetches\x18\x05 \x01(\x05\x12\x16\n\x0eisolation_info\x18\x06 \x01(\t\x12\x13\n\x0bstorage_key\x18\x07 \x01(\t\"7\n\x18\x42\x61\x63kgroundFetchUIOptions\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0c\n\x04icon\x18\x02 \x01(\x0c\"\x86\x01\n\x1d\x42\x61\x63kgroundFetchPendingRequest\x12\x11\n\tunique_id\x18\x01 \x01(\t\x12\x15\n\rrequest_index\x18\x02 \x01(\x05\x12\x1a\n\x12serialized_request\x18\x03 \x01(\t\x12\x19\n\x11request_body_size\x18\x05 \x01(\x04J\x04\x08\x04\x10\x05\"\x9c\x01\n\x1c\x42\x61\x63kgroundFetchActiveRequest\x12\x11\n\tunique_id\x18\x01 \x01(\t\x12\x15\n\rrequest_index\x18\x02 \x01(\x05\x12\x1a\n\x12serialized_request\x18\x03 \x01(\t\x12\x15\n\rdownload_guid\x18\x04 \x01(\t\x12\x19\n\x11request_body_size\x18\x06 \x01(\x04J\x04\x08\x05\x10\x06\"\xe5\x01\n\x1f\x42\x61\x63kgroundFetchCompletedRequest\x12\x11\n\tunique_id\x18\x01 \x01(\t\x12\x15\n\rrequest_index\x18\x02 \x01(\x05\x12\x1a\n\x12serialized_request\x18\x03 \x01(\t\x12\x15\n\rdownload_guid\x18\x04 \x01(\t\x12_\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\x0e\x32G.content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReasonJ\x04\x08\x05\x10\x06*v\n\x1d\x42\x61\x63kgroundFetchStorageVersion\x12\x15\n\x08SV_ERROR\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x14\n\x10SV_UNINITIALIZED\x10\x00\x12\x18\n\x14SV_UNIQUE_CACHE_KEYS\x10\x01\x12\x0e\n\nSV_CURRENT\x10\x02\x42\x02H\x03')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'background_fetch_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'H\003'
  _globals['_BACKGROUNDFETCHMETADATA'].fields_by_name['origin']._loaded_options = None
  _globals['_BACKGROUNDFETCHMETADATA'].fields_by_name['origin']._serialized_options = b'\030\001'
  _globals['_BACKGROUNDFETCHSTORAGEVERSION']._serialized_start=1865
  _globals['_BACKGROUNDFETCHSTORAGEVERSION']._serialized_end=1983
  _globals['_BACKGROUNDFETCHREGISTRATION']._serialized_start=42
  _globals['_BACKGROUNDFETCHREGISTRATION']._serialized_end=645
  _globals['_BACKGROUNDFETCHREGISTRATION_BACKGROUNDFETCHRESULT']._serialized_start=377
  _globals['_BACKGROUNDFETCHREGISTRATION_BACKGROUNDFETCHRESULT']._serialized_end=437
  _globals['_BACKGROUNDFETCHREGISTRATION_BACKGROUNDFETCHFAILUREREASON']._serialized_start=440
  _globals['_BACKGROUNDFETCHREGISTRATION_BACKGROUNDFETCHFAILUREREASON']._serialized_end=645
  _globals['_IMAGERESOURCE']._serialized_start=648
  _globals['_IMAGERESOURCE']._serialized_end=884
  _globals['_IMAGERESOURCE_SIZE']._serialized_start=797
  _globals['_IMAGERESOURCE_SIZE']._serialized_end=834
  _globals['_IMAGERESOURCE_PURPOSE']._serialized_start=836
  _globals['_IMAGERESOURCE_PURPOSE']._serialized_end=884
  _globals['_BACKGROUNDFETCHOPTIONS']._serialized_start=886
  _globals['_BACKGROUNDFETCHOPTIONS']._serialized_end=994
  _globals['_BACKGROUNDFETCHMETADATA']._serialized_start=997
  _globals['_BACKGROUNDFETCHMETADATA']._serialized_end=1278
  _globals['_BACKGROUNDFETCHUIOPTIONS']._serialized_start=1280
  _globals['_BACKGROUNDFETCHUIOPTIONS']._serialized_end=1335
  _globals['_BACKGROUNDFETCHPENDINGREQUEST']._serialized_start=1338
  _globals['_BACKGROUNDFETCHPENDINGREQUEST']._serialized_end=1472
  _globals['_BACKGROUNDFETCHACTIVEREQUEST']._serialized_start=1475
  _globals['_BACKGROUNDFETCHACTIVEREQUEST']._serialized_end=1631
  _globals['_BACKGROUNDFETCHCOMPLETEDREQUEST']._serialized_start=1634
  _globals['_BACKGROUNDFETCHCOMPLETEDREQUEST']._serialized_end=1863
# @@protoc_insertion_point(module_scope)
