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

import builtins
import google.protobuf.any_pb2
import google.protobuf.descriptor
import google.protobuf.message
import sys
import typing as typing_extensions

"""
@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, 8):
    ...
else:
    ...
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class Message(google.protobuf.message.Message):
    """(-- api-linter: core::0146::any=disabled
    aip.dev/not-precedent: We want runtime extensibility for the body field --)
    """
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    ID_FIELD_NUMBER: builtins.int
    PROTOCOL_INSTANCE_ID_FIELD_NUMBER: builtins.int
    EVENT_ID_FIELD_NUMBER: builtins.int
    COMMAND_INDEX_FIELD_NUMBER: builtins.int
    BODY_FIELD_NUMBER: builtins.int
    id: builtins.str
    protocol_instance_id: builtins.str
    event_id: builtins.int
    command_index: builtins.int
    @property
    def body(self) -> google.protobuf.any_pb2.Any:
        """The opaque data carried by this message. The protocol type can be
        extracted from the package name of the message carried inside the Any.
        """
        ...
    
    def __init__(self, *, id: builtins.str = ..., protocol_instance_id: builtins.str = ..., event_id: builtins.int = ..., command_index: builtins.int = ..., body: google.protobuf.any_pb2.Any | None = ...) -> None:
        ...
    
    def HasField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "sequencing_id", b"sequencing_id",]) -> builtins.bool:
        ...
    
    def ClearField(self, field_name: typing_extensions.Literal["body", b"body", "command_index", b"command_index", "event_id", b"event_id", "id", b"id", "protocol_instance_id", b"protocol_instance_id", "sequencing_id", b"sequencing_id",]) -> None:
        ...
    
    def WhichOneof(self, oneof_group: typing_extensions.Literal["sequencing_id", b"sequencing_id"]) -> typing_extensions.Literal["event_id", "command_index"] | None:
        ...
    


global___Message = Message
