"""
This type stub file was generated by pyright.
"""

import builtins
import google.protobuf.descriptor
import google.protobuf.internal.enum_type_wrapper
import sys
import typing

"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
The MIT License

Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""
if sys.version_info >= (3, 10):
    ...
else:
    ...
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class _ResetReapplyExcludeType:
    ValueType = typing.NewType("ValueType", builtins.int)
    V: typing_extensions.TypeAlias = ...


class _ResetReapplyExcludeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyExcludeType.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: _ResetReapplyExcludeType.ValueType
    RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL: _ResetReapplyExcludeType.ValueType
    RESET_REAPPLY_EXCLUDE_TYPE_UPDATE: _ResetReapplyExcludeType.ValueType
    ...


class ResetReapplyExcludeType(_ResetReapplyExcludeType, metaclass=_ResetReapplyExcludeTypeEnumTypeWrapper):
    """Event types to exclude when reapplying events."""
    ...


RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED: ResetReapplyExcludeType.ValueType
RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL: ResetReapplyExcludeType.ValueType
RESET_REAPPLY_EXCLUDE_TYPE_UPDATE: ResetReapplyExcludeType.ValueType
global___ResetReapplyExcludeType = ResetReapplyExcludeType
class _ResetReapplyType:
    ValueType = typing.NewType("ValueType", builtins.int)
    V: typing_extensions.TypeAlias = ...


class _ResetReapplyTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetReapplyType.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    RESET_REAPPLY_TYPE_UNSPECIFIED: _ResetReapplyType.ValueType
    RESET_REAPPLY_TYPE_SIGNAL: _ResetReapplyType.ValueType
    RESET_REAPPLY_TYPE_NONE: _ResetReapplyType.ValueType
    RESET_REAPPLY_TYPE_ALL_ELIGIBLE: _ResetReapplyType.ValueType
    ...


class ResetReapplyType(_ResetReapplyType, metaclass=_ResetReapplyTypeEnumTypeWrapper):
    """Event types to include when reapplying events. Deprecated: applications
    should use ResetReapplyExcludeType to specify exclusions from this set, and
    new event types should be added to ResetReapplyExcludeType instead of here.
    """
    ...


RESET_REAPPLY_TYPE_UNSPECIFIED: ResetReapplyType.ValueType
RESET_REAPPLY_TYPE_SIGNAL: ResetReapplyType.ValueType
RESET_REAPPLY_TYPE_NONE: ResetReapplyType.ValueType
RESET_REAPPLY_TYPE_ALL_ELIGIBLE: ResetReapplyType.ValueType
global___ResetReapplyType = ResetReapplyType
class _ResetType:
    ValueType = typing.NewType("ValueType", builtins.int)
    V: typing_extensions.TypeAlias = ...


class _ResetTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResetType.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    RESET_TYPE_UNSPECIFIED: _ResetType.ValueType
    RESET_TYPE_FIRST_WORKFLOW_TASK: _ResetType.ValueType
    RESET_TYPE_LAST_WORKFLOW_TASK: _ResetType.ValueType
    ...


class ResetType(_ResetType, metaclass=_ResetTypeEnumTypeWrapper):
    """Reset type options. Deprecated, see temporalio.api.common.v1.ResetOptions."""
    ...


RESET_TYPE_UNSPECIFIED: ResetType.ValueType
RESET_TYPE_FIRST_WORKFLOW_TASK: ResetType.ValueType
RESET_TYPE_LAST_WORKFLOW_TASK: ResetType.ValueType
global___ResetType = ResetType
