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

import builtins
import clappform.proto.clappform.client.v1.version_pb2
import clappform.proto.clappform.v1.commons_pb2
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import typing

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

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

    ID_FIELD_NUMBER: builtins.int
    NAME_FIELD_NUMBER: builtins.int
    PIPELINE_FIELD_NUMBER: builtins.int
    SOURCE_QUERY_FIELD_NUMBER: builtins.int
    COLLECTION_FIELD_NUMBER: builtins.int
    APP_FIELD_NUMBER: builtins.int
    CREATED_AT_FIELD_NUMBER: builtins.int
    UPDATED_AT_FIELD_NUMBER: builtins.int
    DELETED_AT_FIELD_NUMBER: builtins.int
    VERSIONS_FIELD_NUMBER: builtins.int
    id: builtins.str
    name: builtins.str
    pipeline: builtins.bytes
    source_query: builtins.str
    collection: builtins.str
    app: builtins.str
    created_at: builtins.str
    updated_at: builtins.str
    deleted_at: builtins.str
    @property
    def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[clappform.proto.clappform.client.v1.version_pb2.Version]: ...
    def __init__(
        self,
        *,
        id: builtins.str = ...,
        name: builtins.str = ...,
        pipeline: builtins.bytes = ...,
        source_query: builtins.str = ...,
        collection: builtins.str = ...,
        app: builtins.str = ...,
        created_at: builtins.str = ...,
        updated_at: builtins.str = ...,
        deleted_at: builtins.str = ...,
        versions: collections.abc.Iterable[clappform.proto.clappform.client.v1.version_pb2.Version] | None = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing.Literal["app", b"app", "collection", b"collection", "created_at", b"created_at", "deleted_at", b"deleted_at", "id", b"id", "name", b"name", "pipeline", b"pipeline", "source_query", b"source_query", "updated_at", b"updated_at", "versions", b"versions"]) -> None: ...

global___Query = Query

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

    NAME_FIELD_NUMBER: builtins.int
    PIPELINE_FIELD_NUMBER: builtins.int
    SOURCE_QUERY_FIELD_NUMBER: builtins.int
    COLLECTION_FIELD_NUMBER: builtins.int
    name: builtins.str
    pipeline: builtins.bytes
    source_query: builtins.str
    collection: builtins.str
    def __init__(
        self,
        *,
        name: builtins.str = ...,
        pipeline: builtins.bytes = ...,
        source_query: builtins.str | None = ...,
        collection: builtins.str = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["_source_query", b"_source_query", "source_query", b"source_query"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["_source_query", b"_source_query", "collection", b"collection", "name", b"name", "pipeline", b"pipeline", "source_query", b"source_query"]) -> None: ...
    def WhichOneof(self, oneof_group: typing.Literal["_source_query", b"_source_query"]) -> typing.Literal["source_query"] | None: ...

global___CreateRequest = CreateRequest

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

    ID_FIELD_NUMBER: builtins.int
    NAME_FIELD_NUMBER: builtins.int
    PIPELINE_FIELD_NUMBER: builtins.int
    SOURCE_QUERY_FIELD_NUMBER: builtins.int
    COLLECTION_FIELD_NUMBER: builtins.int
    id: builtins.str
    name: builtins.str
    pipeline: builtins.bytes
    source_query: builtins.str
    collection: builtins.str
    def __init__(
        self,
        *,
        id: builtins.str = ...,
        name: builtins.str = ...,
        pipeline: builtins.bytes = ...,
        source_query: builtins.str | None = ...,
        collection: builtins.str = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["_source_query", b"_source_query", "source_query", b"source_query"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["_source_query", b"_source_query", "collection", b"collection", "id", b"id", "name", b"name", "pipeline", b"pipeline", "source_query", b"source_query"]) -> None: ...
    def WhichOneof(self, oneof_group: typing.Literal["_source_query", b"_source_query"]) -> typing.Literal["source_query"] | None: ...

global___UpdateRequest = UpdateRequest

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

    QUERIES_FIELD_NUMBER: builtins.int
    PAGINATION_FIELD_NUMBER: builtins.int
    @property
    def queries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Query]: ...
    @property
    def pagination(self) -> clappform.proto.clappform.v1.commons_pb2.Pagination: ...
    def __init__(
        self,
        *,
        queries: collections.abc.Iterable[global___Query] | None = ...,
        pagination: clappform.proto.clappform.v1.commons_pb2.Pagination | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing.Literal["pagination", b"pagination"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing.Literal["pagination", b"pagination", "queries", b"queries"]) -> None: ...

global___Queries = Queries
