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

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys
import temporalio.api.common.v1.message_pb2
import temporalio.bridge.proto.activity_result.activity_result_pb2
import typing as typing_extensions

"""
This type stub file was generated by pyright.
"""
if sys.version_info >= (3, 8):
    ...
else:
    ...
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class ActivityHeartbeat(google.protobuf.message.Message):
    """A request as given to `record_activity_heartbeat`"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    TASK_TOKEN_FIELD_NUMBER: builtins.int
    DETAILS_FIELD_NUMBER: builtins.int
    task_token: builtins.bytes
    @property
    def details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[temporalio.api.common.v1.message_pb2.Payload]:
        ...
    
    def __init__(self, *, task_token: builtins.bytes = ..., details: collections.abc.Iterable[temporalio.api.common.v1.message_pb2.Payload] | None = ...) -> None:
        ...
    
    def ClearField(self, field_name: typing_extensions.Literal["details", b"details", "task_token", b"task_token"]) -> None:
        ...
    


global___ActivityHeartbeat = ActivityHeartbeat
class ActivityTaskCompletion(google.protobuf.message.Message):
    """A request as given to `complete_activity_task`"""
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    TASK_TOKEN_FIELD_NUMBER: builtins.int
    RESULT_FIELD_NUMBER: builtins.int
    task_token: builtins.bytes
    @property
    def result(self) -> temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult:
        ...
    
    def __init__(self, *, task_token: builtins.bytes = ..., result: temporalio.bridge.proto.activity_result.activity_result_pb2.ActivityExecutionResult | None = ...) -> None:
        ...
    
    def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool:
        ...
    
    def ClearField(self, field_name: typing_extensions.Literal["result", b"result", "task_token", b"task_token"]) -> None:
        ...
    


global___ActivityTaskCompletion = ActivityTaskCompletion
