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

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...

class ServerReflectionRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    HOST_FIELD_NUMBER: builtins.int
    FILE_BY_FILENAME_FIELD_NUMBER: builtins.int
    FILE_CONTAINING_SYMBOL_FIELD_NUMBER: builtins.int
    FILE_CONTAINING_EXTENSION_FIELD_NUMBER: builtins.int
    ALL_EXTENSION_NUMBERS_OF_TYPE_FIELD_NUMBER: builtins.int
    LIST_SERVICES_FIELD_NUMBER: builtins.int
    host: typing.Text = ...
    file_by_filename: typing.Text = ...
    file_containing_symbol: typing.Text = ...
    all_extension_numbers_of_type: typing.Text = ...
    list_services: typing.Text = ...

    @property
    def file_containing_extension(self) -> global___ExtensionRequest: ...

    def __init__(self,
        *,
        host : typing.Text = ...,
        file_by_filename : typing.Text = ...,
        file_containing_symbol : typing.Text = ...,
        file_containing_extension : typing.Optional[global___ExtensionRequest] = ...,
        all_extension_numbers_of_type : typing.Text = ...,
        list_services : typing.Text = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"all_extension_numbers_of_type",b"all_extension_numbers_of_type",u"file_by_filename",b"file_by_filename",u"file_containing_extension",b"file_containing_extension",u"file_containing_symbol",b"file_containing_symbol",u"list_services",b"list_services",u"message_request",b"message_request"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"all_extension_numbers_of_type",b"all_extension_numbers_of_type",u"file_by_filename",b"file_by_filename",u"file_containing_extension",b"file_containing_extension",u"file_containing_symbol",b"file_containing_symbol",u"host",b"host",u"list_services",b"list_services",u"message_request",b"message_request"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal[u"message_request",b"message_request"]) -> typing_extensions.Literal["file_by_filename","file_containing_symbol","file_containing_extension","all_extension_numbers_of_type","list_services"]: ...
global___ServerReflectionRequest = ServerReflectionRequest

class ExtensionRequest(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    CONTAINING_TYPE_FIELD_NUMBER: builtins.int
    EXTENSION_NUMBER_FIELD_NUMBER: builtins.int
    containing_type: typing.Text = ...
    extension_number: builtins.int = ...

    def __init__(self,
        *,
        containing_type : typing.Text = ...,
        extension_number : builtins.int = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"containing_type",b"containing_type",u"extension_number",b"extension_number"]) -> None: ...
global___ExtensionRequest = ExtensionRequest

class ServerReflectionResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    VALID_HOST_FIELD_NUMBER: builtins.int
    ORIGINAL_REQUEST_FIELD_NUMBER: builtins.int
    FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER: builtins.int
    ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER: builtins.int
    LIST_SERVICES_RESPONSE_FIELD_NUMBER: builtins.int
    ERROR_RESPONSE_FIELD_NUMBER: builtins.int
    valid_host: typing.Text = ...

    @property
    def original_request(self) -> global___ServerReflectionRequest: ...

    @property
    def file_descriptor_response(self) -> global___FileDescriptorResponse: ...

    @property
    def all_extension_numbers_response(self) -> global___ExtensionNumberResponse: ...

    @property
    def list_services_response(self) -> global___ListServiceResponse: ...

    @property
    def error_response(self) -> global___ErrorResponse: ...

    def __init__(self,
        *,
        valid_host : typing.Text = ...,
        original_request : typing.Optional[global___ServerReflectionRequest] = ...,
        file_descriptor_response : typing.Optional[global___FileDescriptorResponse] = ...,
        all_extension_numbers_response : typing.Optional[global___ExtensionNumberResponse] = ...,
        list_services_response : typing.Optional[global___ListServiceResponse] = ...,
        error_response : typing.Optional[global___ErrorResponse] = ...,
        ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal[u"all_extension_numbers_response",b"all_extension_numbers_response",u"error_response",b"error_response",u"file_descriptor_response",b"file_descriptor_response",u"list_services_response",b"list_services_response",u"message_response",b"message_response",u"original_request",b"original_request"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"all_extension_numbers_response",b"all_extension_numbers_response",u"error_response",b"error_response",u"file_descriptor_response",b"file_descriptor_response",u"list_services_response",b"list_services_response",u"message_response",b"message_response",u"original_request",b"original_request",u"valid_host",b"valid_host"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions.Literal[u"message_response",b"message_response"]) -> typing_extensions.Literal["file_descriptor_response","all_extension_numbers_response","list_services_response","error_response"]: ...
global___ServerReflectionResponse = ServerReflectionResponse

class FileDescriptorResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    FILE_DESCRIPTOR_PROTO_FIELD_NUMBER: builtins.int
    file_descriptor_proto: google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes] = ...

    def __init__(self,
        *,
        file_descriptor_proto : typing.Optional[typing.Iterable[builtins.bytes]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"file_descriptor_proto",b"file_descriptor_proto"]) -> None: ...
global___FileDescriptorResponse = FileDescriptorResponse

class ExtensionNumberResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    BASE_TYPE_NAME_FIELD_NUMBER: builtins.int
    EXTENSION_NUMBER_FIELD_NUMBER: builtins.int
    base_type_name: typing.Text = ...
    extension_number: google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int] = ...

    def __init__(self,
        *,
        base_type_name : typing.Text = ...,
        extension_number : typing.Optional[typing.Iterable[builtins.int]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"base_type_name",b"base_type_name",u"extension_number",b"extension_number"]) -> None: ...
global___ExtensionNumberResponse = ExtensionNumberResponse

class ListServiceResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    SERVICE_FIELD_NUMBER: builtins.int

    @property
    def service(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ServiceResponse]: ...

    def __init__(self,
        *,
        service : typing.Optional[typing.Iterable[global___ServiceResponse]] = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"service",b"service"]) -> None: ...
global___ListServiceResponse = ListServiceResponse

class ServiceResponse(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[u"name",b"name"]) -> None: ...
global___ServiceResponse = ServiceResponse

class ErrorResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
    ERROR_CODE_FIELD_NUMBER: builtins.int
    ERROR_MESSAGE_FIELD_NUMBER: builtins.int
    error_code: builtins.int = ...
    error_message: typing.Text = ...

    def __init__(self,
        *,
        error_code : builtins.int = ...,
        error_message : typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal[u"error_code",b"error_code",u"error_message",b"error_message"]) -> None: ...
global___ErrorResponse = ErrorResponse
