# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
)

from google.protobuf.internal.containers import (
    RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from ...pipeline.v1.beam_runner_api_pb2 import (
    Components as org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___Components,
    PTransform as org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___PTransform,
)

from ...pipeline.v1.schema_pb2 import (
    Schema as org___apache___beam___model___pipeline___v1___schema_pb2___Schema,
)

from typing import (
    Iterable as typing___Iterable,
    Mapping as typing___Mapping,
    MutableMapping as typing___MutableMapping,
    Optional as typing___Optional,
    Text as typing___Text,
    Union as typing___Union,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
if sys.version_info < (3,):
    builtin___buffer = buffer
    builtin___unicode = unicode


class ExpansionRequest(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class OutputCoderRequestsEntry(google___protobuf___message___Message):
        DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
        key = ... # type: typing___Text
        value = ... # type: typing___Text

        def __init__(self,
            *,
            key : typing___Optional[typing___Text] = None,
            value : typing___Optional[typing___Text] = None,
            ) -> None: ...
        if sys.version_info >= (3,):
            @classmethod
            def FromString(cls, s: builtin___bytes) -> ExpansionRequest.OutputCoderRequestsEntry: ...
        else:
            @classmethod
            def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> ExpansionRequest.OutputCoderRequestsEntry: ...
        def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
        def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
        if sys.version_info >= (3,):
            def ClearField(self, field_name: typing_extensions___Literal[u"key",u"value"]) -> None: ...
        else:
            def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...

    namespace = ... # type: typing___Text

    @property
    def components(self) -> org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___Components: ...

    @property
    def transform(self) -> org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___PTransform: ...

    @property
    def output_coder_requests(self) -> typing___MutableMapping[typing___Text, typing___Text]: ...

    def __init__(self,
        *,
        components : typing___Optional[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___Components] = None,
        transform : typing___Optional[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___PTransform] = None,
        namespace : typing___Optional[typing___Text] = None,
        output_coder_requests : typing___Optional[typing___Mapping[typing___Text, typing___Text]] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> ExpansionRequest: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> ExpansionRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def HasField(self, field_name: typing_extensions___Literal[u"components",u"transform"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"components",u"namespace",u"output_coder_requests",u"transform"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"components",b"components",u"transform",b"transform"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"components",b"components",u"namespace",b"namespace",u"output_coder_requests",b"output_coder_requests",u"transform",b"transform"]) -> None: ...

class ExpansionResponse(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    requirements = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]
    error = ... # type: typing___Text

    @property
    def components(self) -> org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___Components: ...

    @property
    def transform(self) -> org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___PTransform: ...

    def __init__(self,
        *,
        components : typing___Optional[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___Components] = None,
        transform : typing___Optional[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___PTransform] = None,
        requirements : typing___Optional[typing___Iterable[typing___Text]] = None,
        error : typing___Optional[typing___Text] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> ExpansionResponse: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> ExpansionResponse: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def HasField(self, field_name: typing_extensions___Literal[u"components",u"transform"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"components",u"error",u"requirements",u"transform"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"components",b"components",u"transform",b"transform"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"components",b"components",u"error",b"error",u"requirements",b"requirements",u"transform",b"transform"]) -> None: ...

class DiscoverSchemaTransformRequest(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...

    def __init__(self,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> DiscoverSchemaTransformRequest: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> DiscoverSchemaTransformRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...

class SchemaTransformConfig(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    input_pcollection_names = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]
    output_pcollection_names = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]

    @property
    def config_schema(self) -> org___apache___beam___model___pipeline___v1___schema_pb2___Schema: ...

    def __init__(self,
        *,
        config_schema : typing___Optional[org___apache___beam___model___pipeline___v1___schema_pb2___Schema] = None,
        input_pcollection_names : typing___Optional[typing___Iterable[typing___Text]] = None,
        output_pcollection_names : typing___Optional[typing___Iterable[typing___Text]] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> SchemaTransformConfig: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> SchemaTransformConfig: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def HasField(self, field_name: typing_extensions___Literal[u"config_schema"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"config_schema",u"input_pcollection_names",u"output_pcollection_names"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"config_schema",b"config_schema"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"config_schema",b"config_schema",u"input_pcollection_names",b"input_pcollection_names",u"output_pcollection_names",b"output_pcollection_names"]) -> None: ...

class DiscoverSchemaTransformResponse(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class SchemaTransformConfigsEntry(google___protobuf___message___Message):
        DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
        key = ... # type: typing___Text

        @property
        def value(self) -> SchemaTransformConfig: ...

        def __init__(self,
            *,
            key : typing___Optional[typing___Text] = None,
            value : typing___Optional[SchemaTransformConfig] = None,
            ) -> None: ...
        if sys.version_info >= (3,):
            @classmethod
            def FromString(cls, s: builtin___bytes) -> DiscoverSchemaTransformResponse.SchemaTransformConfigsEntry: ...
        else:
            @classmethod
            def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> DiscoverSchemaTransformResponse.SchemaTransformConfigsEntry: ...
        def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
        def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
        if sys.version_info >= (3,):
            def HasField(self, field_name: typing_extensions___Literal[u"value"]) -> builtin___bool: ...
            def ClearField(self, field_name: typing_extensions___Literal[u"key",u"value"]) -> None: ...
        else:
            def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
            def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...

    error = ... # type: typing___Text

    @property
    def schema_transform_configs(self) -> typing___MutableMapping[typing___Text, SchemaTransformConfig]: ...

    def __init__(self,
        *,
        schema_transform_configs : typing___Optional[typing___Mapping[typing___Text, SchemaTransformConfig]] = None,
        error : typing___Optional[typing___Text] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> DiscoverSchemaTransformResponse: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> DiscoverSchemaTransformResponse: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"error",u"schema_transform_configs"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"error",b"error",u"schema_transform_configs",b"schema_transform_configs"]) -> None: ...
