"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
Copyright 2016-2018, Pulumi Corporation.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys

if sys.version_info >= (3, 8):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing_extensions.final
class ErrorCause(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    MESSAGE_FIELD_NUMBER: builtins.int
    STACKTRACE_FIELD_NUMBER: builtins.int
    message: builtins.str
    stackTrace: builtins.str
    def __init__(
        self,
        *,
        message: builtins.str = ...,
        stackTrace: builtins.str = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["message", b"message", "stackTrace", b"stackTrace"]) -> None: ...

global___ErrorCause = ErrorCause

@typing_extensions.final
class InputPropertiesError(google.protobuf.message.Message):
    """An error that can be returned from a component provider and includes details of the
    error, which can be multiple properties.
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    @typing_extensions.final
    class PropertyError(google.protobuf.message.Message):
        """A single invalid input property."""

        DESCRIPTOR: google.protobuf.descriptor.Descriptor

        PROPERTY_PATH_FIELD_NUMBER: builtins.int
        REASON_FIELD_NUMBER: builtins.int
        property_path: builtins.str
        """The path to the property that is invalid."""
        reason: builtins.str
        """The reason the property is invalid."""
        def __init__(
            self,
            *,
            property_path: builtins.str = ...,
            reason: builtins.str = ...,
        ) -> None: ...
        def ClearField(self, field_name: typing_extensions.Literal["property_path", b"property_path", "reason", b"reason"]) -> None: ...

    ERRORS_FIELD_NUMBER: builtins.int
    @property
    def errors(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InputPropertiesError.PropertyError]:
        """The list of invalid input properties."""
    def __init__(
        self,
        *,
        errors: collections.abc.Iterable[global___InputPropertiesError.PropertyError] | None = ...,
    ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["errors", b"errors"]) -> None: ...

global___InputPropertiesError = InputPropertiesError
