from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from typing import ClassVar as _ClassVar, Optional as _Optional

DESCRIPTOR: _descriptor.FileDescriptor

class ReversalRequest(_message.Message):
    __slots__ = ("id", "body")
    ID_FIELD_NUMBER: _ClassVar[int]
    BODY_FIELD_NUMBER: _ClassVar[int]
    id: str
    body: str
    def __init__(self, id: _Optional[str] = ..., body: _Optional[str] = ...) -> None: ...

class ReversalResponse(_message.Message):
    __slots__ = ("requestId", "type", "partitionIndex", "partitionData")
    REQUESTID_FIELD_NUMBER: _ClassVar[int]
    TYPE_FIELD_NUMBER: _ClassVar[int]
    PARTITIONINDEX_FIELD_NUMBER: _ClassVar[int]
    PARTITIONDATA_FIELD_NUMBER: _ClassVar[int]
    requestId: str
    type: int
    partitionIndex: int
    partitionData: str
    def __init__(self, requestId: _Optional[str] = ..., type: _Optional[int] = ..., partitionIndex: _Optional[int] = ..., partitionData: _Optional[str] = ...) -> None: ...
