コード例 #1
0
class PrimitiveAddress(betterproto.Message):
    host: str = betterproto.string_field(1)
    port: int = betterproto.int32_field(2)

    def __post_init__(self) -> None:
        super().__post_init__()
コード例 #2
0
class CMsgClientCreateFriendsGroupResponse(betterproto.Message):
    eresult: int = betterproto.uint32_field(1)
    groupid: int = betterproto.int32_field(2)
コード例 #3
0
class CMsgClientManageFriendsGroup(betterproto.Message):
    groupid: int = betterproto.int32_field(1)
    groupname: str = betterproto.string_field(2)
    steamid_friends_added: List[int] = betterproto.fixed64_field(3)
    steamid_friends_removed: List[int] = betterproto.fixed64_field(4)
コード例 #4
0
 class Sub(betterproto.Message):
     val: int = betterproto.int32_field(1)
コード例 #5
0
class CMsgClientFriendMsg(betterproto.Message):
    steamid: int = betterproto.fixed64_field(1)
    chat_entry_type: int = betterproto.int32_field(2)
    message: bytes = betterproto.bytes_field(3)
    rtime32_server_timestamp: int = betterproto.fixed32_field(4)
    echo_to_sender: bool = betterproto.bool_field(5)
コード例 #6
0
 class TestChildMessage(betterproto.Message):
     some_other_int: int = betterproto.int32_field(1)
コード例 #7
0
 class Bar(betterproto.Message):
     baz: int = betterproto.int32_field(1)
コード例 #8
0
 class Foo(betterproto.Message):
     bar: int = betterproto.int32_field(1, group="group1")
     baz: str = betterproto.string_field(2, group="group1")
コード例 #9
0
class RsmSliceParameters(betterproto.Message):
    scheduler_type: "RsmSchedulerType" = betterproto.enum_field(1)
    weight: int = betterproto.int32_field(2)
    qos_level: int = betterproto.int32_field(3)
コード例 #10
0
class ErrorProto(betterproto.Message):
    code: int = betterproto.int32_field(1)
    message: str = betterproto.string_field(2)
    ban_reason: "BanReason" = betterproto.message_field(3)
コード例 #11
0
ファイル: cpudt.py プロジェクト: ovanr/IoT-Client
class Cpuout(betterproto.Message):
    load: float = betterproto.float_field(1)
    count: int = betterproto.int32_field(2)
    pkg_temp: float = betterproto.float_field(3)
コード例 #12
0
ファイル: types.py プロジェクト: tristanheywood/csr_backend
class ActiveImage(betterproto.Message):
    file_name: str = betterproto.string_field(1)
    img_data_v_f_n: str = betterproto.string_field(2)
    read_blotches: List["ReadBlotch"] = betterproto.message_field(3)
    zoom_ratio_src_img: int = betterproto.int32_field(4)
    zoom_ratio_view_img: int = betterproto.int32_field(5)
コード例 #13
0
ファイル: types.py プロジェクト: tristanheywood/csr_backend
class ReadBlotch(betterproto.Message):
    circle: "PickedCircle" = betterproto.message_field(1)
    stats: "PickStats" = betterproto.message_field(2)
    context_v_f_n: str = betterproto.string_field(3)
    compare_v_f_n: str = betterproto.string_field(4)
    blotch_i_d: int = betterproto.int32_field(5)
コード例 #14
0
ファイル: types.py プロジェクト: tristanheywood/csr_backend
class ClipboardContent(betterproto.Message):
    rows: List["PickStats"] = betterproto.message_field(1)
    blotch_i_ds: List[int] = betterproto.int32_field(2)
コード例 #15
0
 class CasingTest(betterproto.Message):
     pascal_case: int = betterproto.int32_field(1)
     camel_case: int = betterproto.int32_field(2)
     snake_case: int = betterproto.int32_field(3)
     kabob_case: int = betterproto.int32_field(4)
コード例 #16
0
class EnbUeS1ApId(betterproto.Message):
    value: int = betterproto.int32_field(1)
コード例 #17
0
 class TestMessage(betterproto.Message):
     some_int: int = betterproto.int32_field(1)
     some_double: float = betterproto.double_field(2)
     some_str: str = betterproto.string_field(3)
     some_bool: bool = betterproto.bool_field(4)
コード例 #18
0
class FiveGDrbId(betterproto.Message):
    value: int = betterproto.int32_field(1)
    qfi: "Qfi" = betterproto.message_field(2)
    flows_map_to_drb: List[
        "QoSflowLevelParameters"] = betterproto.message_field(3)
コード例 #19
0
 class TestParentMessage(betterproto.Message):
     some_int: int = betterproto.int32_field(1)
     some_double: float = betterproto.double_field(2)
     some_message: TestChildMessage = betterproto.message_field(3)
コード例 #20
0
class DynamicFiveQi(betterproto.Message):
    priority_level: int = betterproto.int32_field(1)
    packet_delay_budge: int = betterproto.int32_field(2)
    packet_error_rate: int = betterproto.int32_field(3)
コード例 #21
0
 class Newer(betterproto.Message):
     foo: bool = betterproto.bool_field(1)
     bar: int = betterproto.int32_field(2)
     baz: str = betterproto.string_field(3)
コード例 #22
0
class FourGDrbId(betterproto.Message):
    value: int = betterproto.int32_field(1)
    qci: "Qci" = betterproto.message_field(2)
コード例 #23
0
 class Foo(betterproto.Message):
     bar: int = betterproto.int32_field(1, group="group1")
     baz: str = betterproto.string_field(2, group="group1")
     sub: Sub = betterproto.message_field(3, group="group2")
     abc: str = betterproto.string_field(4, group="group2")
コード例 #24
0
class Qci(betterproto.Message):
    value: int = betterproto.int32_field(1)
コード例 #25
0
class CMsgClientFriendMsgIncoming(betterproto.Message):
    steamid_from: int = betterproto.fixed64_field(1)
    chat_entry_type: int = betterproto.int32_field(2)
    from_limited_account: bool = betterproto.bool_field(3)
    message: bytes = betterproto.bytes_field(4)
    rtime32_server_timestamp: int = betterproto.fixed32_field(5)
コード例 #26
0
class KpmReportStyle(betterproto.Message):
    name: str = betterproto.string_field(1)
    type: int = betterproto.int32_field(2)
    measurements: List["KpmMeasurement"] = betterproto.message_field(3)
コード例 #27
0
class CMsgClientDeleteFriendsGroup(betterproto.Message):
    steamid: int = betterproto.fixed64_field(1)
    groupid: int = betterproto.int32_field(2)
コード例 #28
0
class MhoReportStyle(betterproto.Message):
    name: str = betterproto.string_field(1)
    type: int = betterproto.int32_field(2)
コード例 #29
0
class CMsgClientRemoveFriendFromGroup(betterproto.Message):
    groupid: int = betterproto.int32_field(1)
    steamid: int = betterproto.fixed64_field(2)
コード例 #30
0
 class Truthy(betterproto.Message):
     bar: int = betterproto.int32_field(1)