# @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 (
    RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
    RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
)

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

from google.protobuf.struct_pb2 import (
    Struct as google___protobuf___struct_pb2___Struct,
)

from ...pipeline.v1.beam_runner_api_pb2 import (
    ArtifactInformation as org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___ArtifactInformation,
)

from ...pipeline.v1.endpoints_pb2 import (
    ApiServiceDescriptor as org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor,
)

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 GetProvisionInfoRequest(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) -> GetProvisionInfoRequest: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> GetProvisionInfoRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...

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

    @property
    def info(self) -> ProvisionInfo: ...

    def __init__(self,
        *,
        info : typing___Optional[ProvisionInfo] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> GetProvisionInfoResponse: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> GetProvisionInfoResponse: ...
    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"info"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"info"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"info",b"info"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"info",b"info"]) -> None: ...

class ProvisionInfo(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class MetadataEntry(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) -> ProvisionInfo.MetadataEntry: ...
        else:
            @classmethod
            def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> ProvisionInfo.MetadataEntry: ...
        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: ...

    retrieval_token = ... # type: typing___Text
    runner_capabilities = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]
    sibling_worker_ids = ... # type: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text]

    @property
    def pipeline_options(self) -> google___protobuf___struct_pb2___Struct: ...

    @property
    def status_endpoint(self) -> org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor: ...

    @property
    def logging_endpoint(self) -> org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor: ...

    @property
    def artifact_endpoint(self) -> org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor: ...

    @property
    def control_endpoint(self) -> org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor: ...

    @property
    def dependencies(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___ArtifactInformation]: ...

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

    def __init__(self,
        *,
        pipeline_options : typing___Optional[google___protobuf___struct_pb2___Struct] = None,
        retrieval_token : typing___Optional[typing___Text] = None,
        status_endpoint : typing___Optional[org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor] = None,
        logging_endpoint : typing___Optional[org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor] = None,
        artifact_endpoint : typing___Optional[org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor] = None,
        control_endpoint : typing___Optional[org___apache___beam___model___pipeline___v1___endpoints_pb2___ApiServiceDescriptor] = None,
        dependencies : typing___Optional[typing___Iterable[org___apache___beam___model___pipeline___v1___beam_runner_api_pb2___ArtifactInformation]] = None,
        runner_capabilities : typing___Optional[typing___Iterable[typing___Text]] = None,
        metadata : typing___Optional[typing___Mapping[typing___Text, typing___Text]] = None,
        sibling_worker_ids : typing___Optional[typing___Iterable[typing___Text]] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> ProvisionInfo: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> ProvisionInfo: ...
    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"artifact_endpoint",u"control_endpoint",u"logging_endpoint",u"pipeline_options",u"status_endpoint"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"artifact_endpoint",u"control_endpoint",u"dependencies",u"logging_endpoint",u"metadata",u"pipeline_options",u"retrieval_token",u"runner_capabilities",u"sibling_worker_ids",u"status_endpoint"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"artifact_endpoint",b"artifact_endpoint",u"control_endpoint",b"control_endpoint",u"logging_endpoint",b"logging_endpoint",u"pipeline_options",b"pipeline_options",u"status_endpoint",b"status_endpoint"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"artifact_endpoint",b"artifact_endpoint",u"control_endpoint",b"control_endpoint",u"dependencies",b"dependencies",u"logging_endpoint",b"logging_endpoint",u"metadata",b"metadata",u"pipeline_options",b"pipeline_options",u"retrieval_token",b"retrieval_token",u"runner_capabilities",b"runner_capabilities",u"sibling_worker_ids",b"sibling_worker_ids",u"status_endpoint",b"status_endpoint"]) -> None: ...
