# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: restore.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import common_pb2 as common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='restore.proto',
  package='Restore',
  syntax='proto2',
  serialized_pb=_b('\n\rrestore.proto\x12\x07Restore\x1a\x0c\x63ommon.proto\"[\n GetBackupDocumentChoicesResponse\x12\x37\n\x12\x62\x61\x63kupDocumentInfo\x18\x01 \x03(\x0b\x32\x1b.Restore.BackupDocumentInfo\"U\n\x1eGetBackupDeviceChoicesResponse\x12\x33\n\x10\x62\x61\x63kupDeviceInfo\x18\x01 \x03(\x0b\x32\x19.Restore.BackupDeviceInfo\"z\n\x10\x42\x61\x63kupDeviceInfo\x12\x11\n\tandroidId\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0crestoreToken\x18\x03 \x01(\t\x12\x14\n\x0cnumDocuments\x18\x04 \x01(\x05\x12\x19\n\x11lastCheckinTimeMs\x18\x05 \x01(\x03\"\x96\x01\n\x12\x42\x61\x63kupDocumentInfo\x12\x1c\n\x05\x64ocid\x18\x01 \x01(\x0b\x32\r.Common.Docid\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0bversionCode\x18\x03 \x01(\x05\x12%\n\x0ethumbnailImage\x18\x04 \x01(\x0b\x32\r.Common.Image\x12\x17\n\x0frestorePriority\x18\x05 \x01(\x05\x42+\n com.google.android.finsky.protosB\x07Restore')
  ,
  dependencies=[common__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)




_GETBACKUPDOCUMENTCHOICESRESPONSE = _descriptor.Descriptor(
  name='GetBackupDocumentChoicesResponse',
  full_name='Restore.GetBackupDocumentChoicesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='backupDocumentInfo', full_name='Restore.GetBackupDocumentChoicesResponse.backupDocumentInfo', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=40,
  serialized_end=131,
)


_GETBACKUPDEVICECHOICESRESPONSE = _descriptor.Descriptor(
  name='GetBackupDeviceChoicesResponse',
  full_name='Restore.GetBackupDeviceChoicesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='backupDeviceInfo', full_name='Restore.GetBackupDeviceChoicesResponse.backupDeviceInfo', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=133,
  serialized_end=218,
)


_BACKUPDEVICEINFO = _descriptor.Descriptor(
  name='BackupDeviceInfo',
  full_name='Restore.BackupDeviceInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='androidId', full_name='Restore.BackupDeviceInfo.androidId', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='name', full_name='Restore.BackupDeviceInfo.name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='restoreToken', full_name='Restore.BackupDeviceInfo.restoreToken', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='numDocuments', full_name='Restore.BackupDeviceInfo.numDocuments', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='lastCheckinTimeMs', full_name='Restore.BackupDeviceInfo.lastCheckinTimeMs', index=4,
      number=5, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=220,
  serialized_end=342,
)


_BACKUPDOCUMENTINFO = _descriptor.Descriptor(
  name='BackupDocumentInfo',
  full_name='Restore.BackupDocumentInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='docid', full_name='Restore.BackupDocumentInfo.docid', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='title', full_name='Restore.BackupDocumentInfo.title', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='versionCode', full_name='Restore.BackupDocumentInfo.versionCode', index=2,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='thumbnailImage', full_name='Restore.BackupDocumentInfo.thumbnailImage', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='restorePriority', full_name='Restore.BackupDocumentInfo.restorePriority', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=345,
  serialized_end=495,
)

_GETBACKUPDOCUMENTCHOICESRESPONSE.fields_by_name['backupDocumentInfo'].message_type = _BACKUPDOCUMENTINFO
_GETBACKUPDEVICECHOICESRESPONSE.fields_by_name['backupDeviceInfo'].message_type = _BACKUPDEVICEINFO
_BACKUPDOCUMENTINFO.fields_by_name['docid'].message_type = common__pb2._DOCID
_BACKUPDOCUMENTINFO.fields_by_name['thumbnailImage'].message_type = common__pb2._IMAGE
DESCRIPTOR.message_types_by_name['GetBackupDocumentChoicesResponse'] = _GETBACKUPDOCUMENTCHOICESRESPONSE
DESCRIPTOR.message_types_by_name['GetBackupDeviceChoicesResponse'] = _GETBACKUPDEVICECHOICESRESPONSE
DESCRIPTOR.message_types_by_name['BackupDeviceInfo'] = _BACKUPDEVICEINFO
DESCRIPTOR.message_types_by_name['BackupDocumentInfo'] = _BACKUPDOCUMENTINFO

GetBackupDocumentChoicesResponse = _reflection.GeneratedProtocolMessageType('GetBackupDocumentChoicesResponse', (_message.Message,), dict(
  DESCRIPTOR = _GETBACKUPDOCUMENTCHOICESRESPONSE,
  __module__ = 'restore_pb2'
  # @@protoc_insertion_point(class_scope:Restore.GetBackupDocumentChoicesResponse)
  ))
_sym_db.RegisterMessage(GetBackupDocumentChoicesResponse)

GetBackupDeviceChoicesResponse = _reflection.GeneratedProtocolMessageType('GetBackupDeviceChoicesResponse', (_message.Message,), dict(
  DESCRIPTOR = _GETBACKUPDEVICECHOICESRESPONSE,
  __module__ = 'restore_pb2'
  # @@protoc_insertion_point(class_scope:Restore.GetBackupDeviceChoicesResponse)
  ))
_sym_db.RegisterMessage(GetBackupDeviceChoicesResponse)

BackupDeviceInfo = _reflection.GeneratedProtocolMessageType('BackupDeviceInfo', (_message.Message,), dict(
  DESCRIPTOR = _BACKUPDEVICEINFO,
  __module__ = 'restore_pb2'
  # @@protoc_insertion_point(class_scope:Restore.BackupDeviceInfo)
  ))
_sym_db.RegisterMessage(BackupDeviceInfo)

BackupDocumentInfo = _reflection.GeneratedProtocolMessageType('BackupDocumentInfo', (_message.Message,), dict(
  DESCRIPTOR = _BACKUPDOCUMENTINFO,
  __module__ = 'restore_pb2'
  # @@protoc_insertion_point(class_scope:Restore.BackupDocumentInfo)
  ))
_sym_db.RegisterMessage(BackupDocumentInfo)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n com.google.android.finsky.protosB\007Restore'))
# @@protoc_insertion_point(module_scope)
