-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmachine_pb2.pyi
More file actions
41 lines (36 loc) · 1.9 KB
/
machine_pb2.pyi
File metadata and controls
41 lines (36 loc) · 1.9 KB
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
from buf.validate import validate_pb2 as _validate_pb2
from metalstack.api.v2 import common_pb2 as _common_pb2
from metalstack.api.v2 import machine_pb2 as _machine_pb2
from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
from google.protobuf.internal import containers as _containers
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
DESCRIPTOR: _descriptor.FileDescriptor
class MachineServiceGetRequest(_message.Message):
__slots__ = ("uuid", "complete")
UUID_FIELD_NUMBER: _ClassVar[int]
COMPLETE_FIELD_NUMBER: _ClassVar[int]
uuid: str
complete: bool
def __init__(self, uuid: _Optional[str] = ..., complete: _Optional[bool] = ...) -> None: ...
class MachineServiceGetResponse(_message.Message):
__slots__ = ("machine",)
MACHINE_FIELD_NUMBER: _ClassVar[int]
machine: _machine_pb2.Machine
def __init__(self, machine: _Optional[_Union[_machine_pb2.Machine, _Mapping]] = ...) -> None: ...
class MachineServiceListRequest(_message.Message):
__slots__ = ("query", "partition", "complete")
QUERY_FIELD_NUMBER: _ClassVar[int]
PARTITION_FIELD_NUMBER: _ClassVar[int]
COMPLETE_FIELD_NUMBER: _ClassVar[int]
query: _machine_pb2.MachineQuery
partition: str
complete: bool
def __init__(self, query: _Optional[_Union[_machine_pb2.MachineQuery, _Mapping]] = ..., partition: _Optional[str] = ..., complete: _Optional[bool] = ...) -> None: ...
class MachineServiceListResponse(_message.Message):
__slots__ = ("machines",)
MACHINES_FIELD_NUMBER: _ClassVar[int]
machines: _containers.RepeatedCompositeFieldContainer[_machine_pb2.Machine]
def __init__(self, machines: _Optional[_Iterable[_Union[_machine_pb2.Machine, _Mapping]]] = ...) -> None: ...