-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon_pb2.pyi
More file actions
49 lines (43 loc) · 2.14 KB
/
common_pb2.pyi
File metadata and controls
49 lines (43 loc) · 2.14 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
42
43
44
45
46
47
48
49
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 Individual(_message.Message):
__slots__ = ("genotype", "fitness")
GENOTYPE_FIELD_NUMBER: _ClassVar[int]
FITNESS_FIELD_NUMBER: _ClassVar[int]
genotype: bytes
fitness: float
def __init__(self, genotype: _Optional[bytes] = ..., fitness: _Optional[float] = ...) -> None: ...
class Population(_message.Message):
__slots__ = ("members", "problemID")
MEMBERS_FIELD_NUMBER: _ClassVar[int]
PROBLEMID_FIELD_NUMBER: _ClassVar[int]
members: _containers.RepeatedCompositeFieldContainer[Individual]
problemID: str
def __init__(self, members: _Optional[_Iterable[_Union[Individual, _Mapping]]] = ..., problemID: _Optional[str] = ...) -> None: ...
class ImageStreamObject(_message.Message):
__slots__ = ("details", "chunk")
DETAILS_FIELD_NUMBER: _ClassVar[int]
CHUNK_FIELD_NUMBER: _ClassVar[int]
details: ProblemDetails
chunk: ImageChunk
def __init__(self, details: _Optional[_Union[ProblemDetails, _Mapping]] = ..., chunk: _Optional[_Union[ImageChunk, _Mapping]] = ...) -> None: ...
class ProblemDetails(_message.Message):
__slots__ = ("problemID", "imageSizeBytes", "migrationFrequency", "migrationSize")
PROBLEMID_FIELD_NUMBER: _ClassVar[int]
IMAGESIZEBYTES_FIELD_NUMBER: _ClassVar[int]
MIGRATIONFREQUENCY_FIELD_NUMBER: _ClassVar[int]
MIGRATIONSIZE_FIELD_NUMBER: _ClassVar[int]
problemID: str
imageSizeBytes: int
migrationFrequency: int
migrationSize: int
def __init__(self, problemID: _Optional[str] = ..., imageSizeBytes: _Optional[int] = ..., migrationFrequency: _Optional[int] = ..., migrationSize: _Optional[int] = ...) -> None: ...
class ImageChunk(_message.Message):
__slots__ = ("data",)
DATA_FIELD_NUMBER: _ClassVar[int]
data: bytes
def __init__(self, data: _Optional[bytes] = ...) -> None: ...