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

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import google.protobuf.struct_pb2
import typing

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

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

    URL_FIELD_NUMBER: builtins.int
    CALL_ON_LACROS_FIELD_NUMBER: builtins.int
    url: builtins.str
    call_on_lacros: builtins.bool
    def __init__(
        self,
        *,
        url: builtins.str = ...,
        call_on_lacros: builtins.bool = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["call_on_lacros", b"call_on_lacros", "url", b"url"]) -> None: ...

global___NewConnRequest = NewConnRequest

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

    ID_FIELD_NUMBER: builtins.int
    TARGET_ID_FIELD_NUMBER: builtins.int
    id: builtins.int
    target_id: builtins.str
    """TargetID is an ID assigned to a Chrome DevTools target."""
    def __init__(
        self,
        *,
        id: builtins.int = ...,
        target_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["id", b"id", "target_id", b"target_id"]) -> None: ...

global___NewConnResponse = NewConnResponse

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

    URL_FIELD_NUMBER: builtins.int
    CALL_ON_LACROS_FIELD_NUMBER: builtins.int
    TARGET_ID_FIELD_NUMBER: builtins.int
    url: builtins.str
    call_on_lacros: builtins.bool
    target_id: builtins.str
    """TargetID is an ID assigned to a Chrome DevTools target.
    This ID stays the same throughout, even after suspend and chrome reconnect.
    """
    def __init__(
        self,
        *,
        url: builtins.str = ...,
        call_on_lacros: builtins.bool = ...,
        target_id: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["call_on_lacros", b"call_on_lacros", "target_id", b"target_id", "url", b"url"]) -> None: ...

global___NewConnForTargetRequest = NewConnForTargetRequest

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

    ID_FIELD_NUMBER: builtins.int
    id: builtins.int
    def __init__(
        self,
        *,
        id: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ...

global___CloseRequest = CloseRequest

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

    ID_FIELD_NUMBER: builtins.int
    id: builtins.int
    def __init__(
        self,
        *,
        id: builtins.int = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ...

global___ActivateTargetRequest = ActivateTargetRequest

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

    ID_FIELD_NUMBER: builtins.int
    URL_FIELD_NUMBER: builtins.int
    id: builtins.int
    url: builtins.str
    def __init__(
        self,
        *,
        id: builtins.int = ...,
        url: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["id", b"id", "url", b"url"]) -> None: ...

global___NavigateRequest = NavigateRequest

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

    ID_FIELD_NUMBER: builtins.int
    EXPR_FIELD_NUMBER: builtins.int
    id: builtins.int
    expr: builtins.str
    def __init__(
        self,
        *,
        id: builtins.int = ...,
        expr: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["expr", b"expr", "id", b"id"]) -> None: ...

global___ConnEvalRequest = ConnEvalRequest

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

    ID_FIELD_NUMBER: builtins.int
    FN_FIELD_NUMBER: builtins.int
    ARGS_FIELD_NUMBER: builtins.int
    id: builtins.int
    fn: builtins.str
    @property
    def args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Value]: ...
    def __init__(
        self,
        *,
        id: builtins.int = ...,
        fn: builtins.str = ...,
        args: collections.abc.Iterable[google.protobuf.struct_pb2.Value] | None = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["args", b"args", "fn", b"fn", "id", b"id"]) -> None: ...

global___ConnCallRequest = ConnCallRequest

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

    ID_FIELD_NUMBER: builtins.int
    EXPR_FIELD_NUMBER: builtins.int
    TIMEOUT_SECS_FIELD_NUMBER: builtins.int
    FAIL_ON_ERR_FIELD_NUMBER: builtins.int
    id: builtins.int
    expr: builtins.str
    timeout_secs: builtins.int
    fail_on_err: builtins.bool
    def __init__(
        self,
        *,
        id: builtins.int = ...,
        expr: builtins.str = ...,
        timeout_secs: builtins.int = ...,
        fail_on_err: builtins.bool = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["expr", b"expr", "fail_on_err", b"fail_on_err", "id", b"id", "timeout_secs", b"timeout_secs"]) -> None: ...

global___ConnWaitForExprRequest = ConnWaitForExprRequest
