# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.internal.containers import (
    RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from typing import (
    Iterable as typing___Iterable,
    Optional as typing___Optional,
    Text as typing___Text,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


class CheckBackupRequest(google___protobuf___message___Message):
    silent = ... # type: bool

    def __init__(self,
        *,
        silent : typing___Optional[bool] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> CheckBackupRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"silent"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"silent",b"silent"]) -> None: ...

class CheckBackupResponse(google___protobuf___message___Message):
    id = ... # type: typing___Text

    def __init__(self,
        *,
        id : typing___Optional[typing___Text] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> CheckBackupResponse: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"id"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"id",b"id"]) -> None: ...

class CreateBackupRequest(google___protobuf___message___Message):
    timestamp = ... # type: int
    timezone_offset = ... # type: int

    def __init__(self,
        *,
        timestamp : typing___Optional[int] = None,
        timezone_offset : typing___Optional[int] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> CreateBackupRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"timestamp",u"timezone_offset"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"timestamp",b"timestamp",u"timezone_offset",b"timezone_offset"]) -> None: ...

class ListBackupsRequest(google___protobuf___message___Message):

    def __init__(self,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> ListBackupsRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...

class BackupInfo(google___protobuf___message___Message):
    id = ... # type: typing___Text
    timestamp = ... # type: int
    name = ... # type: typing___Text

    def __init__(self,
        *,
        id : typing___Optional[typing___Text] = None,
        timestamp : typing___Optional[int] = None,
        name : typing___Optional[typing___Text] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> BackupInfo: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"id",u"name",u"timestamp"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"id",b"id",u"name",b"name",u"timestamp",b"timestamp"]) -> None: ...

class ListBackupsResponse(google___protobuf___message___Message):

    @property
    def info(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[BackupInfo]: ...

    def __init__(self,
        *,
        info : typing___Optional[typing___Iterable[BackupInfo]] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> ListBackupsResponse: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"info"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"info",b"info"]) -> None: ...

class RestoreBackupRequest(google___protobuf___message___Message):
    id = ... # type: typing___Text
    timestamp = ... # type: int
    timezone_offset = ... # type: int

    def __init__(self,
        *,
        id : typing___Optional[typing___Text] = None,
        timestamp : typing___Optional[int] = None,
        timezone_offset : typing___Optional[int] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> RestoreBackupRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"id",u"timestamp",u"timezone_offset"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"id",b"id",u"timestamp",b"timestamp",u"timezone_offset",b"timezone_offset"]) -> None: ...
