# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: acp_write.proto
# plugin: python-betterproto
from dataclasses import dataclass

import betterproto

from acp_idl_base import enumdef


@dataclass
class WriteRequest(betterproto.Message):
    id_group: enumdef.Idgroups = betterproto.enum_field(1)
    offset: int = betterproto.uint32_field(2)
    length: int = betterproto.uint32_field(3)
    data: bytes = betterproto.bytes_field(4)


@dataclass
class WriteResponse(betterproto.Message):
    result: enumdef.Errors = betterproto.enum_field(1)
