"""
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

"""
This type stub file was generated by pyright.
"""
if sys.version_info >= (3, 10):
    ...
else:
    ...
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class _UpdateWorkflowExecutionLifecycleStage:
    ValueType = typing.NewType("ValueType", builtins.int)
    V: typing_extensions.TypeAlias = ...


class _UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_UpdateWorkflowExecutionLifecycleStage.ValueType], builtins.type):
    DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: _UpdateWorkflowExecutionLifecycleStage.ValueType
    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: _UpdateWorkflowExecutionLifecycleStage.ValueType
    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: _UpdateWorkflowExecutionLifecycleStage.ValueType
    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: _UpdateWorkflowExecutionLifecycleStage.ValueType
    ...


class UpdateWorkflowExecutionLifecycleStage(_UpdateWorkflowExecutionLifecycleStage, metaclass=_UpdateWorkflowExecutionLifecycleStageEnumTypeWrapper):
    """UpdateWorkflowExecutionLifecycleStage is specified by clients invoking
    workflow execution updates and used to indicate to the server how long the
    client wishes to wait for a return value from the RPC. If any value other
    than UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED is sent by the
    client then the RPC will complete before the update is finished and will
    return a handle to the running update so that it can later be polled for
    completion.
    """
    ...


UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED: UpdateWorkflowExecutionLifecycleStage.ValueType
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED: UpdateWorkflowExecutionLifecycleStage.ValueType
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED: UpdateWorkflowExecutionLifecycleStage.ValueType
UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED: UpdateWorkflowExecutionLifecycleStage.ValueType
global___UpdateWorkflowExecutionLifecycleStage = UpdateWorkflowExecutionLifecycleStage
