"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
Copyright 2022 The ChromiumOS Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
"""

import builtins
import google.protobuf.descriptor
import google.protobuf.message
import typing

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing.final
class StartRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FILE_NAME_FIELD_NUMBER: builtins.int
    file_name: builtins.str
    """FileName specified the location in the file system where the recording will
    be saved. The field is optional. If user does not specify the file name,
    the service will generate a temporary location for the recording and return
    that to the user in Stop().
    """
    def __init__(
        self,
        *,
        file_name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["file_name", b"file_name"]) -> None: ...

global___StartRequest = StartRequest

@typing.final
class StopResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FILE_NAME_FIELD_NUMBER: builtins.int
    file_name: builtins.str
    """FileName specified the location in the file system where the recording was
    saved.
    """
    def __init__(
        self,
        *,
        file_name: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["file_name", b"file_name"]) -> None: ...

global___StopResponse = StopResponse

@typing.final
class StreamScreenRecordingRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    INTERVAL_FIELD_NUMBER: builtins.int
    interval: builtins.int
    """Interval is the time in milliseconds of how often screen recording messages
    are sent.
    """
    def __init__(
        self,
        *,
        interval: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["interval", b"interval"]) -> None: ...

global___StreamScreenRecordingRequest = StreamScreenRecordingRequest

@typing.final
class StreamScreenRecordingResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    DATA_FIELD_NUMBER: builtins.int
    LENGTH_FIELD_NUMBER: builtins.int
    data: builtins.bytes
    length: builtins.int
    def __init__(
        self,
        *,
        data: builtins.bytes = ...,
        length: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["data", b"data", "length", b"length"]) -> None: ...

global___StreamScreenRecordingResponse = StreamScreenRecordingResponse
