"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.duration_pb2
import google.protobuf.internal.containers
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class SourceId(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    id: typing.Text
    def __init__(self,
        *,
        id: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id"]) -> None: ...
global___SourceId = SourceId

class QueryId(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    id: typing.Text
    def __init__(self,
        *,
        id: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id"]) -> None: ...
global___QueryId = QueryId

class QueryParameters(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class ValuesEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        KEY_FIELD_NUMBER: builtins.int
        VALUE_FIELD_NUMBER: builtins.int
        key: typing.Text
        value: typing.Text
        def __init__(self,
            *,
            key: typing.Text = ...,
            value: typing.Text = ...,
            ) -> None: ...
        def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...

    VALUES_FIELD_NUMBER: builtins.int
    @property
    def values(self) -> google.protobuf.internal.containers.ScalarMap[typing.Text, typing.Text]: ...
    def __init__(self,
        *,
        values: typing.Optional[typing.Mapping[typing.Text, typing.Text]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["values",b"values"]) -> None: ...
global___QueryParameters = QueryParameters

class QueryRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    SOURCE_ID_FIELD_NUMBER: builtins.int
    QUERY_ID_FIELD_NUMBER: builtins.int
    PARAMETERS_FIELD_NUMBER: builtins.int
    ASSOCIATED_MESSAGE_TYPE_FIELD_NUMBER: builtins.int
    @property
    def source_id(self) -> global___SourceId: ...
    @property
    def query_id(self) -> global___QueryId: ...
    @property
    def parameters(self) -> global___QueryParameters: ...
    @property
    def associated_message_type(self) -> global___AssociatedMessageType: ...
    def __init__(self,
        *,
        source_id: typing.Optional[global___SourceId] = ...,
        query_id: typing.Optional[global___QueryId] = ...,
        parameters: typing.Optional[global___QueryParameters] = ...,
        associated_message_type: typing.Optional[global___AssociatedMessageType] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["associated_message_type",b"associated_message_type","parameters",b"parameters","query_id",b"query_id","source_id",b"source_id"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["associated_message_type",b"associated_message_type","parameters",b"parameters","query_id",b"query_id","source_id",b"source_id"]) -> None: ...
global___QueryRequest = QueryRequest

class QueryResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class RowEntry(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        KEY_FIELD_NUMBER: builtins.int
        VALUE_FIELD_NUMBER: builtins.int
        key: typing.Text
        value: typing.Text
        def __init__(self,
            *,
            key: typing.Text = ...,
            value: typing.Text = ...,
            ) -> None: ...
        def ClearField(self, field_name: typing_extensions.Literal["key",b"key","value",b"value"]) -> None: ...

    ROW_FIELD_NUMBER: builtins.int
    @property
    def row(self) -> google.protobuf.internal.containers.ScalarMap[typing.Text, typing.Text]: ...
    def __init__(self,
        *,
        row: typing.Optional[typing.Mapping[typing.Text, typing.Text]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["row",b"row"]) -> None: ...
global___QueryResponse = QueryResponse

class AssociatedMessageType(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    NAME_FIELD_NUMBER: builtins.int
    name: typing.Text
    def __init__(self,
        *,
        name: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["name",b"name"]) -> None: ...
global___AssociatedMessageType = AssociatedMessageType

class DbPullRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    SOURCE_ID_FIELD_NUMBER: builtins.int
    INIT_QUERY_ID_FIELD_NUMBER: builtins.int
    INIT_PARAMETERS_FIELD_NUMBER: builtins.int
    USE_COLUMNS_FIELD_NUMBER: builtins.int
    UPDATE_QUERY_ID_FIELD_NUMBER: builtins.int
    UPDATE_PARAMETERS_FIELD_NUMBER: builtins.int
    PULL_INTERVAL_FIELD_NUMBER: builtins.int
    ASSOCIATED_MESSAGE_TYPE_FIELD_NUMBER: builtins.int
    @property
    def source_id(self) -> global___SourceId: ...
    @property
    def init_query_id(self) -> global___QueryId: ...
    @property
    def init_parameters(self) -> global___QueryParameters: ...
    @property
    def use_columns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
    @property
    def update_query_id(self) -> global___QueryId: ...
    @property
    def update_parameters(self) -> global___QueryParameters: ...
    @property
    def pull_interval(self) -> google.protobuf.duration_pb2.Duration: ...
    @property
    def associated_message_type(self) -> global___AssociatedMessageType: ...
    def __init__(self,
        *,
        source_id: typing.Optional[global___SourceId] = ...,
        init_query_id: typing.Optional[global___QueryId] = ...,
        init_parameters: typing.Optional[global___QueryParameters] = ...,
        use_columns: typing.Optional[typing.Iterable[typing.Text]] = ...,
        update_query_id: typing.Optional[global___QueryId] = ...,
        update_parameters: typing.Optional[global___QueryParameters] = ...,
        pull_interval: typing.Optional[google.protobuf.duration_pb2.Duration] = ...,
        associated_message_type: typing.Optional[global___AssociatedMessageType] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["associated_message_type",b"associated_message_type","init_parameters",b"init_parameters","init_query_id",b"init_query_id","pull_interval",b"pull_interval","source_id",b"source_id","update_parameters",b"update_parameters","update_query_id",b"update_query_id"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["associated_message_type",b"associated_message_type","init_parameters",b"init_parameters","init_query_id",b"init_query_id","pull_interval",b"pull_interval","source_id",b"source_id","update_parameters",b"update_parameters","update_query_id",b"update_query_id","use_columns",b"use_columns"]) -> None: ...
global___DbPullRequest = DbPullRequest

class PullTaskId(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    id: typing.Text
    def __init__(self,
        *,
        id: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id"]) -> None: ...
global___PullTaskId = PullTaskId

class DbPullResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    @property
    def id(self) -> global___PullTaskId: ...
    def __init__(self,
        *,
        id: typing.Optional[global___PullTaskId] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["id",b"id"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id"]) -> None: ...
global___DbPullResponse = DbPullResponse

class StopPullingRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    @property
    def id(self) -> global___PullTaskId: ...
    def __init__(self,
        *,
        id: typing.Optional[global___PullTaskId] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["id",b"id"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["id",b"id"]) -> None: ...
global___StopPullingRequest = StopPullingRequest
