File: identifydevice_pb2.pyi

package info (click to toggle)
devolo-plc-api 1.5.1%2Bgit20260208.5d3989e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 504 kB
  • sloc: python: 1,616; makefile: 6
file content (70 lines) | stat: -rw-r--r-- 2,962 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import typing
import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

class IdentifyDeviceStart(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    MAC_ADDRESS_FIELD_NUMBER: builtins.int
    mac_address: typing.Text
    """MAC address of the targeted device"""

    def __init__(self,
        *,
        mac_address: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["mac_address",b"mac_address"]) -> None: ...
global___IdentifyDeviceStart = IdentifyDeviceStart

class IdentifyDeviceStop(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    MAC_ADDRESS_FIELD_NUMBER: builtins.int
    mac_address: typing.Text
    """MAC address of the targeted device"""

    def __init__(self,
        *,
        mac_address: typing.Text = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["mac_address",b"mac_address"]) -> None: ...
global___IdentifyDeviceStop = IdentifyDeviceStop

class IdentifyDeviceResponse(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class _Result:
        ValueType = typing.NewType('ValueType', builtins.int)
        V: typing_extensions.TypeAlias = ValueType
    class _ResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[IdentifyDeviceResponse._Result.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        SUCCESS: IdentifyDeviceResponse._Result.ValueType  # 0
        MACADDR_INVALID: IdentifyDeviceResponse._Result.ValueType  # 1
        MACADDR_UNKNOWN: IdentifyDeviceResponse._Result.ValueType  # 2
        COMMUNICATION_ERROR: IdentifyDeviceResponse._Result.ValueType  # 254
        UNKNOWN_ERROR: IdentifyDeviceResponse._Result.ValueType  # 255
    class Result(_Result, metaclass=_ResultEnumTypeWrapper):
        pass

    SUCCESS: IdentifyDeviceResponse.Result.ValueType  # 0
    MACADDR_INVALID: IdentifyDeviceResponse.Result.ValueType  # 1
    MACADDR_UNKNOWN: IdentifyDeviceResponse.Result.ValueType  # 2
    COMMUNICATION_ERROR: IdentifyDeviceResponse.Result.ValueType  # 254
    UNKNOWN_ERROR: IdentifyDeviceResponse.Result.ValueType  # 255

    RESULT_FIELD_NUMBER: builtins.int
    result: global___IdentifyDeviceResponse.Result.ValueType
    """contains the result of StartIdentifyDevice and StopIdentifyDevice message"""

    def __init__(self,
        *,
        result: global___IdentifyDeviceResponse.Result.ValueType = ...,
        ) -> None: ...
    def ClearField(self, field_name: typing_extensions.Literal["result",b"result"]) -> None: ...
global___IdentifyDeviceResponse = IdentifyDeviceResponse