"""
@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 collections.abc
import google.protobuf.any_pb2
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import sys
import typing

if sys.version_info >= (3, 10):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

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

    class _SharedOption:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType

    class _SharedOptionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[JoinWifiRequest._SharedOption.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        Default: JoinWifiRequest._SharedOption.ValueType  # 0
        TurnOn: JoinWifiRequest._SharedOption.ValueType  # 1
        TurnOff: JoinWifiRequest._SharedOption.ValueType  # 2

    class SharedOption(_SharedOption, metaclass=_SharedOptionEnumTypeWrapper): ...
    Default: JoinWifiRequest.SharedOption.ValueType  # 0
    TurnOn: JoinWifiRequest.SharedOption.ValueType  # 1
    TurnOff: JoinWifiRequest.SharedOption.ValueType  # 2

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

        CLIENT_CERT_FIELD_NUMBER: builtins.int
        CA_CERT_FIELD_NUMBER: builtins.int
        client_cert: builtins.str
        ca_cert: builtins.str
        def __init__(
            self,
            *,
            client_cert: builtins.str = ...,
            ca_cert: builtins.str = ...,
        ) -> None: ...
        def ClearField(self, field_name: typing.Literal["ca_cert", b"ca_cert", "client_cert", b"client_cert"]) -> None: ...

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

        IDENTITY_FIELD_NUMBER: builtins.int
        PASSWORD_FIELD_NUMBER: builtins.int
        CA_CERT_FIELD_NUMBER: builtins.int
        identity: builtins.str
        password: builtins.str
        ca_cert: builtins.str
        def __init__(
            self,
            *,
            identity: builtins.str = ...,
            password: builtins.str = ...,
            ca_cert: builtins.str = ...,
        ) -> None: ...
        def ClearField(self, field_name: typing.Literal["ca_cert", b"ca_cert", "identity", b"identity", "password", b"password"]) -> None: ...

    SSID_FIELD_NUMBER: builtins.int
    NONE_FIELD_NUMBER: builtins.int
    PSK_FIELD_NUMBER: builtins.int
    EAP_TLS_FIELD_NUMBER: builtins.int
    EAP_PEAP_FIELD_NUMBER: builtins.int
    SHAREWITHOTHERUSERS_FIELD_NUMBER: builtins.int
    ssid: builtins.str
    psk: builtins.str
    shareWithOtherUsers: global___JoinWifiRequest.SharedOption.ValueType
    """shareWithOtherUsers indicates if this network should be added as a shared
    network.
    """
    @property
    def none(self) -> google.protobuf.any_pb2.Any: ...
    @property
    def eap_tls(self) -> global___JoinWifiRequest.SecurityEapTls: ...
    @property
    def eap_peap(self) -> global___JoinWifiRequest.SecurityEapPeap: ...
    def __init__(
        self,
        *,
        ssid: builtins.str = ...,
        none: google.protobuf.any_pb2.Any | None = ...,
        psk: builtins.str = ...,
        eap_tls: global___JoinWifiRequest.SecurityEapTls | None = ...,
        eap_peap: global___JoinWifiRequest.SecurityEapPeap | None = ...,
        shareWithOtherUsers: global___JoinWifiRequest.SharedOption.ValueType = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["eap_peap", b"eap_peap", "eap_tls", b"eap_tls", "none", b"none", "psk", b"psk", "security", b"security"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["eap_peap", b"eap_peap", "eap_tls", b"eap_tls", "none", b"none", "psk", b"psk", "security", b"security", "shareWithOtherUsers", b"shareWithOtherUsers", "ssid", b"ssid"]) -> None: ...
    def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["none", "psk", "eap_tls", "eap_peap"] | None: ...

global___JoinWifiRequest = JoinWifiRequest

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

    class _KnownNetworkControl:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType

    class _KnownNetworkControlEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[KnownNetworksControlsRequest._KnownNetworkControl.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        WaitUntilExist: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 0
        WaitUntilGone: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 1
        Forget: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 2
        Disconnect: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 3
        Connect: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 4
        ShownAsShared: KnownNetworksControlsRequest._KnownNetworkControl.ValueType  # 5

    class KnownNetworkControl(_KnownNetworkControl, metaclass=_KnownNetworkControlEnumTypeWrapper): ...
    WaitUntilExist: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 0
    WaitUntilGone: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 1
    Forget: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 2
    Disconnect: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 3
    Connect: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 4
    ShownAsShared: KnownNetworksControlsRequest.KnownNetworkControl.ValueType  # 5

    SSIDS_FIELD_NUMBER: builtins.int
    CONTROL_FIELD_NUMBER: builtins.int
    control: global___KnownNetworksControlsRequest.KnownNetworkControl.ValueType
    @property
    def ssids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
    def __init__(
        self,
        *,
        ssids: collections.abc.Iterable[builtins.str] | None = ...,
        control: global___KnownNetworksControlsRequest.KnownNetworkControl.ValueType = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["control", b"control", "ssids", b"ssids"]) -> None: ...

global___KnownNetworksControlsRequest = KnownNetworksControlsRequest

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

    class _WifiPageControl:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType

    class _WifiPageControlEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WifiPageControlRequest._WifiPageControl.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        WaitUntilExist: WifiPageControlRequest._WifiPageControl.ValueType  # 0
        WaitUntilGone: WifiPageControlRequest._WifiPageControl.ValueType  # 1
        WaitUntilConnected: WifiPageControlRequest._WifiPageControl.ValueType  # 2

    class WifiPageControl(_WifiPageControl, metaclass=_WifiPageControlEnumTypeWrapper): ...
    WaitUntilExist: WifiPageControlRequest.WifiPageControl.ValueType  # 0
    WaitUntilGone: WifiPageControlRequest.WifiPageControl.ValueType  # 1
    WaitUntilConnected: WifiPageControlRequest.WifiPageControl.ValueType  # 2

    SSID_FIELD_NUMBER: builtins.int
    CONTROL_FIELD_NUMBER: builtins.int
    ssid: builtins.str
    control: global___WifiPageControlRequest.WifiPageControl.ValueType
    def __init__(
        self,
        *,
        ssid: builtins.str = ...,
        control: global___WifiPageControlRequest.WifiPageControl.ValueType = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["control", b"control", "ssid", b"ssid"]) -> None: ...

global___WifiPageControlRequest = WifiPageControlRequest
