"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import google.protobuf.timestamp_pb2
import protos.v1.models.SystemModels_pb2
import sys
import typing

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

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

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

class _DappTypesEnumTypeWrapper(
    google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DappTypes.ValueType],
    builtins.type,
):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    DappConsumer: _DappTypes.ValueType  # 0
    DappTool: _DappTypes.ValueType  # 1

class DappTypes(_DappTypes, metaclass=_DappTypesEnumTypeWrapper): ...

DappConsumer: DappTypes.ValueType  # 0
DappTool: DappTypes.ValueType  # 1
Global___DappTypes: typing_extensions.TypeAlias = DappTypes

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

    DAPPID_FIELD_NUMBER: builtins.int
    PAGING_FIELD_NUMBER: builtins.int
    DappId: builtins.str
    @property
    def Paging(self) -> protos.v1.models.SystemModels_pb2.PagingInfo: ...
    def __init__(
        self,
        *,
        DappId: builtins.str | None = ...,
        Paging: protos.v1.models.SystemModels_pb2.PagingInfo | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing.Literal[
            "DappId", b"DappId", "Paging", b"Paging", "_DappId", b"_DappId"
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing.Literal[
            "DappId", b"DappId", "Paging", b"Paging", "_DappId", b"_DappId"
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing.Literal["_DappId", b"_DappId"]
    ) -> typing.Literal["DappId"] | None: ...

Global___GetDappRequest: typing_extensions.TypeAlias = GetDappRequest

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

    DAPPS_FIELD_NUMBER: builtins.int
    TOTALCOUNT_FIELD_NUMBER: builtins.int
    TotalCount: builtins.int
    @property
    def Dapps(
        self,
    ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
        Global___Dapp
    ]: ...
    def __init__(
        self,
        *,
        Dapps: collections.abc.Iterable[Global___Dapp] | None = ...,
        TotalCount: builtins.int = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["Dapps", b"Dapps", "TotalCount", b"TotalCount"]
    ) -> None: ...

Global___GetDappResponse: typing_extensions.TypeAlias = GetDappResponse

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

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

Global___ResetDappRequest: typing_extensions.TypeAlias = ResetDappRequest

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

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

Global___ResetDappResponse: typing_extensions.TypeAlias = ResetDappResponse

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

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

Global___GetDappSecretKeyRequest: typing_extensions.TypeAlias = GetDappSecretKeyRequest

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

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

Global___GetDappSecretKeyResponse: typing_extensions.TypeAlias = (
    GetDappSecretKeyResponse
)

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

    NAME_FIELD_NUMBER: builtins.int
    TYPE_FIELD_NUMBER: builtins.int
    Name: builtins.str
    Type: Global___DappTypes.ValueType
    def __init__(
        self,
        *,
        Name: builtins.str = ...,
        Type: Global___DappTypes.ValueType = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["Name", b"Name", "Type", b"Type"]
    ) -> None: ...

Global___CreateDappRequest: typing_extensions.TypeAlias = CreateDappRequest

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

    DAPP_FIELD_NUMBER: builtins.int
    @property
    def Dapp(self) -> Global___Dapp: ...
    def __init__(
        self,
        *,
        Dapp: Global___Dapp | None = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing.Literal["Dapp", b"Dapp"]
    ) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["Dapp", b"Dapp"]) -> None: ...

Global___CreateDappResponse: typing_extensions.TypeAlias = CreateDappResponse

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

    DAPP_FIELD_NUMBER: builtins.int
    @property
    def Dapp(self) -> Global___Dapp: ...
    def __init__(
        self,
        *,
        Dapp: Global___Dapp | None = ...,
    ) -> None: ...
    def HasField(
        self, field_name: typing.Literal["Dapp", b"Dapp"]
    ) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["Dapp", b"Dapp"]) -> None: ...

Global___UpdateDappRequest: typing_extensions.TypeAlias = UpdateDappRequest

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

    SUCCESS_FIELD_NUMBER: builtins.int
    MESSAGE_FIELD_NUMBER: builtins.int
    Success: builtins.bool
    Message: builtins.str
    def __init__(
        self,
        *,
        Success: builtins.bool = ...,
        Message: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["Message", b"Message", "Success", b"Success"]
    ) -> None: ...

Global___UpdateDappResponse: typing_extensions.TypeAlias = UpdateDappResponse

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

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

Global___DeleteDappRequest: typing_extensions.TypeAlias = DeleteDappRequest

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

    SUCCESS_FIELD_NUMBER: builtins.int
    MESSAGE_FIELD_NUMBER: builtins.int
    Success: builtins.bool
    Message: builtins.str
    def __init__(
        self,
        *,
        Success: builtins.bool = ...,
        Message: builtins.str = ...,
    ) -> None: ...
    def ClearField(
        self, field_name: typing.Literal["Message", b"Message", "Success", b"Success"]
    ) -> None: ...

Global___DeleteDappResponse: typing_extensions.TypeAlias = DeleteDappResponse

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

    ID_FIELD_NUMBER: builtins.int
    NAME_FIELD_NUMBER: builtins.int
    TYPE_FIELD_NUMBER: builtins.int
    ACCOUNTID_FIELD_NUMBER: builtins.int
    ACCOUNTNAME_FIELD_NUMBER: builtins.int
    DATEAPPROVED_FIELD_NUMBER: builtins.int
    Id: builtins.str
    Name: builtins.str
    Type: Global___DappTypes.ValueType
    AccountId: builtins.str
    AccountName: builtins.str
    @property
    def DateApproved(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
    def __init__(
        self,
        *,
        Id: builtins.str = ...,
        Name: builtins.str = ...,
        Type: Global___DappTypes.ValueType = ...,
        AccountId: builtins.str = ...,
        AccountName: builtins.str = ...,
        DateApproved: google.protobuf.timestamp_pb2.Timestamp | None = ...,
    ) -> None: ...
    def HasField(
        self,
        field_name: typing.Literal[
            "DateApproved", b"DateApproved", "_DateApproved", b"_DateApproved"
        ],
    ) -> builtins.bool: ...
    def ClearField(
        self,
        field_name: typing.Literal[
            "AccountId",
            b"AccountId",
            "AccountName",
            b"AccountName",
            "DateApproved",
            b"DateApproved",
            "Id",
            b"Id",
            "Name",
            b"Name",
            "Type",
            b"Type",
            "_DateApproved",
            b"_DateApproved",
        ],
    ) -> None: ...
    def WhichOneof(
        self, oneof_group: typing.Literal["_DateApproved", b"_DateApproved"]
    ) -> typing.Literal["DateApproved"] | None: ...

Global___Dapp: typing_extensions.TypeAlias = Dapp
