# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/api/errordetails/v1/message.proto
"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2

from temporalio.api.common.v1 import (
    message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2,
)
from temporalio.api.enums.v1 import (
    failed_cause_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_failed__cause__pb2,
)
from temporalio.api.enums.v1 import (
    namespace_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_namespace__pb2,
)
from temporalio.api.failure.v1 import (
    message_pb2 as temporal_dot_api_dot_failure_dot_v1_dot_message__pb2,
)

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t"\x1f\n\x1dNamespaceAlreadyExistsFailure"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t"%\n#CancellationAlreadyRequestedFailure"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t"\x19\n\x17WorkflowNotReadyFailure"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3'
)


_NOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NotFoundFailure"]
_WORKFLOWEXECUTIONALREADYSTARTEDFAILURE = DESCRIPTOR.message_types_by_name[
    "WorkflowExecutionAlreadyStartedFailure"
]
_NAMESPACENOTACTIVEFAILURE = DESCRIPTOR.message_types_by_name[
    "NamespaceNotActiveFailure"
]
_NAMESPACEUNAVAILABLEFAILURE = DESCRIPTOR.message_types_by_name[
    "NamespaceUnavailableFailure"
]
_NAMESPACEINVALIDSTATEFAILURE = DESCRIPTOR.message_types_by_name[
    "NamespaceInvalidStateFailure"
]
_NAMESPACENOTFOUNDFAILURE = DESCRIPTOR.message_types_by_name["NamespaceNotFoundFailure"]
_NAMESPACEALREADYEXISTSFAILURE = DESCRIPTOR.message_types_by_name[
    "NamespaceAlreadyExistsFailure"
]
_CLIENTVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[
    "ClientVersionNotSupportedFailure"
]
_SERVERVERSIONNOTSUPPORTEDFAILURE = DESCRIPTOR.message_types_by_name[
    "ServerVersionNotSupportedFailure"
]
_CANCELLATIONALREADYREQUESTEDFAILURE = DESCRIPTOR.message_types_by_name[
    "CancellationAlreadyRequestedFailure"
]
_QUERYFAILEDFAILURE = DESCRIPTOR.message_types_by_name["QueryFailedFailure"]
_PERMISSIONDENIEDFAILURE = DESCRIPTOR.message_types_by_name["PermissionDeniedFailure"]
_RESOURCEEXHAUSTEDFAILURE = DESCRIPTOR.message_types_by_name["ResourceExhaustedFailure"]
_SYSTEMWORKFLOWFAILURE = DESCRIPTOR.message_types_by_name["SystemWorkflowFailure"]
_WORKFLOWNOTREADYFAILURE = DESCRIPTOR.message_types_by_name["WorkflowNotReadyFailure"]
_NEWERBUILDEXISTSFAILURE = DESCRIPTOR.message_types_by_name["NewerBuildExistsFailure"]
_MULTIOPERATIONEXECUTIONFAILURE = DESCRIPTOR.message_types_by_name[
    "MultiOperationExecutionFailure"
]
_MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS = (
    _MULTIOPERATIONEXECUTIONFAILURE.nested_types_by_name["OperationStatus"]
)
NotFoundFailure = _reflection.GeneratedProtocolMessageType(
    "NotFoundFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NOTFOUNDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NotFoundFailure)
    },
)
_sym_db.RegisterMessage(NotFoundFailure)

WorkflowExecutionAlreadyStartedFailure = _reflection.GeneratedProtocolMessageType(
    "WorkflowExecutionAlreadyStartedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure)
    },
)
_sym_db.RegisterMessage(WorkflowExecutionAlreadyStartedFailure)

NamespaceNotActiveFailure = _reflection.GeneratedProtocolMessageType(
    "NamespaceNotActiveFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACENOTACTIVEFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotActiveFailure)
    },
)
_sym_db.RegisterMessage(NamespaceNotActiveFailure)

NamespaceUnavailableFailure = _reflection.GeneratedProtocolMessageType(
    "NamespaceUnavailableFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACEUNAVAILABLEFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceUnavailableFailure)
    },
)
_sym_db.RegisterMessage(NamespaceUnavailableFailure)

NamespaceInvalidStateFailure = _reflection.GeneratedProtocolMessageType(
    "NamespaceInvalidStateFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACEINVALIDSTATEFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceInvalidStateFailure)
    },
)
_sym_db.RegisterMessage(NamespaceInvalidStateFailure)

NamespaceNotFoundFailure = _reflection.GeneratedProtocolMessageType(
    "NamespaceNotFoundFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACENOTFOUNDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceNotFoundFailure)
    },
)
_sym_db.RegisterMessage(NamespaceNotFoundFailure)

NamespaceAlreadyExistsFailure = _reflection.GeneratedProtocolMessageType(
    "NamespaceAlreadyExistsFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACEALREADYEXISTSFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure)
    },
)
_sym_db.RegisterMessage(NamespaceAlreadyExistsFailure)

ClientVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType(
    "ClientVersionNotSupportedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _CLIENTVERSIONNOTSUPPORTEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ClientVersionNotSupportedFailure)
    },
)
_sym_db.RegisterMessage(ClientVersionNotSupportedFailure)

ServerVersionNotSupportedFailure = _reflection.GeneratedProtocolMessageType(
    "ServerVersionNotSupportedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _SERVERVERSIONNOTSUPPORTEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ServerVersionNotSupportedFailure)
    },
)
_sym_db.RegisterMessage(ServerVersionNotSupportedFailure)

CancellationAlreadyRequestedFailure = _reflection.GeneratedProtocolMessageType(
    "CancellationAlreadyRequestedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _CANCELLATIONALREADYREQUESTEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure)
    },
)
_sym_db.RegisterMessage(CancellationAlreadyRequestedFailure)

QueryFailedFailure = _reflection.GeneratedProtocolMessageType(
    "QueryFailedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _QUERYFAILEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.QueryFailedFailure)
    },
)
_sym_db.RegisterMessage(QueryFailedFailure)

PermissionDeniedFailure = _reflection.GeneratedProtocolMessageType(
    "PermissionDeniedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _PERMISSIONDENIEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.PermissionDeniedFailure)
    },
)
_sym_db.RegisterMessage(PermissionDeniedFailure)

ResourceExhaustedFailure = _reflection.GeneratedProtocolMessageType(
    "ResourceExhaustedFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _RESOURCEEXHAUSTEDFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.ResourceExhaustedFailure)
    },
)
_sym_db.RegisterMessage(ResourceExhaustedFailure)

SystemWorkflowFailure = _reflection.GeneratedProtocolMessageType(
    "SystemWorkflowFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _SYSTEMWORKFLOWFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.SystemWorkflowFailure)
    },
)
_sym_db.RegisterMessage(SystemWorkflowFailure)

WorkflowNotReadyFailure = _reflection.GeneratedProtocolMessageType(
    "WorkflowNotReadyFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKFLOWNOTREADYFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.WorkflowNotReadyFailure)
    },
)
_sym_db.RegisterMessage(WorkflowNotReadyFailure)

NewerBuildExistsFailure = _reflection.GeneratedProtocolMessageType(
    "NewerBuildExistsFailure",
    (_message.Message,),
    {
        "DESCRIPTOR": _NEWERBUILDEXISTSFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.NewerBuildExistsFailure)
    },
)
_sym_db.RegisterMessage(NewerBuildExistsFailure)

MultiOperationExecutionFailure = _reflection.GeneratedProtocolMessageType(
    "MultiOperationExecutionFailure",
    (_message.Message,),
    {
        "OperationStatus": _reflection.GeneratedProtocolMessageType(
            "OperationStatus",
            (_message.Message,),
            {
                "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS,
                "__module__": "temporalio.api.errordetails.v1.message_pb2",
                # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus)
            },
        ),
        "DESCRIPTOR": _MULTIOPERATIONEXECUTIONFAILURE,
        "__module__": "temporalio.api.errordetails.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.errordetails.v1.MultiOperationExecutionFailure)
    },
)
_sym_db.RegisterMessage(MultiOperationExecutionFailure)
_sym_db.RegisterMessage(MultiOperationExecutionFailure.OperationStatus)

if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = b"\n\037io.temporal.api.errordetails.v1B\014MessageProtoP\001Z/go.temporal.io/api/errordetails/v1;errordetails\252\002\036Temporalio.Api.ErrorDetails.V1\352\002!Temporalio::Api::ErrorDetails::V1"
    _NOTFOUNDFAILURE._serialized_start = 261
    _NOTFOUNDFAILURE._serialized_end = 327
    _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_start = 329
    _WORKFLOWEXECUTIONALREADYSTARTEDFAILURE._serialized_end = 411
    _NAMESPACENOTACTIVEFAILURE._serialized_start = 413
    _NAMESPACENOTACTIVEFAILURE._serialized_end = 508
    _NAMESPACEUNAVAILABLEFAILURE._serialized_start = 510
    _NAMESPACEUNAVAILABLEFAILURE._serialized_end = 558
    _NAMESPACEINVALIDSTATEFAILURE._serialized_start = 561
    _NAMESPACEINVALIDSTATEFAILURE._serialized_end = 727
    _NAMESPACENOTFOUNDFAILURE._serialized_start = 729
    _NAMESPACENOTFOUNDFAILURE._serialized_end = 774
    _NAMESPACEALREADYEXISTSFAILURE._serialized_start = 776
    _NAMESPACEALREADYEXISTSFAILURE._serialized_end = 807
    _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_start = 809
    _CLIENTVERSIONNOTSUPPORTEDFAILURE._serialized_end = 916
    _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_start = 918
    _SERVERVERSIONNOTSUPPORTEDFAILURE._serialized_end = 1018
    _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_start = 1020
    _CANCELLATIONALREADYREQUESTEDFAILURE._serialized_end = 1057
    _QUERYFAILEDFAILURE._serialized_start = 1059
    _QUERYFAILEDFAILURE._serialized_end = 1130
    _PERMISSIONDENIEDFAILURE._serialized_start = 1132
    _PERMISSIONDENIEDFAILURE._serialized_end = 1173
    _RESOURCEEXHAUSTEDFAILURE._serialized_start = 1176
    _RESOURCEEXHAUSTEDFAILURE._serialized_end = 1326
    _SYSTEMWORKFLOWFAILURE._serialized_start = 1328
    _SYSTEMWORKFLOWFAILURE._serialized_end = 1446
    _WORKFLOWNOTREADYFAILURE._serialized_start = 1448
    _WORKFLOWNOTREADYFAILURE._serialized_end = 1473
    _NEWERBUILDEXISTSFAILURE._serialized_start = 1475
    _NEWERBUILDEXISTSFAILURE._serialized_end = 1526
    _MULTIOPERATIONEXECUTIONFAILURE._serialized_start = 1529
    _MULTIOPERATIONEXECUTIONFAILURE._serialized_end = 1746
    _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_start = 1659
    _MULTIOPERATIONEXECUTIONFAILURE_OPERATIONSTATUS._serialized_end = 1746
# @@protoc_insertion_point(module_scope)
