dragonfly-api 2.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: errordetails.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'errordetails.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x65rrordetails.proto\x12\x0f\x65rrordetails.v2\"\xa9\x01\n\x07\x42\x61\x63kend\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x34\n\x06header\x18\x02 \x03(\x0b\x32$.errordetails.v2.Backend.HeaderEntry\x12\x18\n\x0bstatus_code\x18\x03 \x01(\x05H\x00\x88\x01\x01\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0c_status_code\"+\n\x07Unknown\x12\x14\n\x07message\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\n\n\x08_messageb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'errordetails_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_BACKEND_HEADERENTRY']._loaded_options = None
35
+ _globals['_BACKEND_HEADERENTRY']._serialized_options = b'8\001'
36
+ _globals['_BACKEND']._serialized_start=40
37
+ _globals['_BACKEND']._serialized_end=209
38
+ _globals['_BACKEND_HEADERENTRY']._serialized_start=148
39
+ _globals['_BACKEND_HEADERENTRY']._serialized_end=193
40
+ _globals['_UNKNOWN']._serialized_start=211
41
+ _globals['_UNKNOWN']._serialized_end=254
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,30 @@
1
+ from google.protobuf.internal import containers as _containers
2
+ from google.protobuf import descriptor as _descriptor
3
+ from google.protobuf import message as _message
4
+ from collections.abc import Mapping as _Mapping
5
+ from typing import ClassVar as _ClassVar, Optional as _Optional
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class Backend(_message.Message):
10
+ __slots__ = ("message", "header", "status_code")
11
+ class HeaderEntry(_message.Message):
12
+ __slots__ = ("key", "value")
13
+ KEY_FIELD_NUMBER: _ClassVar[int]
14
+ VALUE_FIELD_NUMBER: _ClassVar[int]
15
+ key: str
16
+ value: str
17
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
18
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
19
+ HEADER_FIELD_NUMBER: _ClassVar[int]
20
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
21
+ message: str
22
+ header: _containers.ScalarMap[str, str]
23
+ status_code: int
24
+ def __init__(self, message: _Optional[str] = ..., header: _Optional[_Mapping[str, str]] = ..., status_code: _Optional[int] = ...) -> None: ...
25
+
26
+ class Unknown(_message.Message):
27
+ __slots__ = ("message",)
28
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
29
+ message: str
30
+ def __init__(self, message: _Optional[str] = ...) -> None: ...
@@ -0,0 +1,78 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: manager.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'manager.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from . import common_pb2 as common__pb2
26
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rmanager.proto\x12\nmanager.v2\x1a\x0c\x63ommon.proto\x1a\x1bgoogle/protobuf/empty.proto\"H\n\x0fSeedPeerCluster\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03\x62io\x18\x03 \x01(\t\x12\x0e\n\x06\x63onfig\x18\x04 \x01(\x0c\"\xb5\x02\n\x08SeedPeer\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x10\n\x03idc\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\n\n\x02ip\x18\x06 \x01(\t\x12\x0c\n\x04port\x18\x07 \x01(\x05\x12\x15\n\rdownload_port\x18\x08 \x01(\x05\x12\r\n\x05state\x18\t \x01(\t\x12\x1c\n\x14seed_peer_cluster_id\x18\n \x01(\x04\x12\x36\n\x11seed_peer_cluster\x18\x0b \x01(\x0b\x32\x1b.manager.v2.SeedPeerCluster\x12)\n\nschedulers\x18\x0c \x03(\x0b\x32\x15.manager.v2.SchedulerB\x06\n\x04_idcB\x0b\n\t_location\"}\n\x12GetSeedPeerRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x1c\n\x14seed_peer_cluster_id\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\"\x82\x01\n\x14ListSeedPeersRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x0e\n\x06\x63ommit\x18\x05 \x01(\t\"A\n\x15ListSeedPeersResponse\x12(\n\nseed_peers\x18\x01 \x03(\x0b\x32\x14.manager.v2.SeedPeer\"\xf1\x01\n\x15UpdateSeedPeerRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x10\n\x03idc\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\n\n\x02ip\x18\x06 \x01(\t\x12\x0c\n\x04port\x18\x07 \x01(\x05\x12\x15\n\rdownload_port\x18\x08 \x01(\x05\x12\x1c\n\x14seed_peer_cluster_id\x18\t \x01(\x04\x42\x06\n\x04_idcB\x0b\n\t_location\"\x80\x01\n\x15\x44\x65leteSeedPeerRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x1c\n\x14seed_peer_cluster_id\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\"\x8c\x01\n\x10SchedulerCluster\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03\x62io\x18\x03 \x01(\t\x12\x0e\n\x06\x63onfig\x18\x04 \x01(\x0c\x12\x15\n\rclient_config\x18\x05 \x01(\x0c\x12\x0e\n\x06scopes\x18\x06 \x01(\x0c\x12\x1a\n\x12seed_client_config\x18\x07 \x01(\x0c\"\xa3\x02\n\tScheduler\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x10\n\x03idc\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x04 \x01(\tH\x01\x88\x01\x01\x12\n\n\x02ip\x18\x05 \x01(\t\x12\x0c\n\x04port\x18\x06 \x01(\x05\x12\r\n\x05state\x18\x07 \x01(\t\x12\x1c\n\x14scheduler_cluster_id\x18\x08 \x01(\x04\x12\x37\n\x11scheduler_cluster\x18\t \x01(\x0b\x32\x1c.manager.v2.SchedulerCluster\x12(\n\nseed_peers\x18\n \x03(\x0b\x32\x14.manager.v2.SeedPeer\x12\x10\n\x08\x66\x65\x61tures\x18\x0b \x01(\x0c\x42\x06\n\x04_idcB\x0b\n\t_location\"~\n\x13GetSchedulerRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x1c\n\x14scheduler_cluster_id\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t\"\xef\x01\n\x16UpdateSchedulerRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x1c\n\x14scheduler_cluster_id\x18\x03 \x01(\x04\x12\x10\n\x03idc\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\n\n\x02ip\x18\x06 \x01(\t\x12\x0c\n\x04port\x18\x07 \x01(\x05\x12\x10\n\x08\x66\x65\x61tures\x18\x08 \x03(\t\x12\x0e\n\x06\x63onfig\x18\t \x01(\x0c\x42\x06\n\x04_idcB\x0b\n\t_location\"\xdf\x01\n\x15ListSchedulersRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\x12\x10\n\x03idc\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08location\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x0e\n\x06\x63ommit\x18\x07 \x01(\t\x12\x1c\n\x14scheduler_cluster_id\x18\x08 \x01(\x04\x42\x06\n\x04_idcB\x0b\n\t_location\"C\n\x16ListSchedulersResponse\x12)\n\nschedulers\x18\x01 \x03(\x0b\x32\x15.manager.v2.Scheduler\"@\n\x0bURLPriority\x12\r\n\x05regex\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0e\x32\x13.common.v2.Priority\"`\n\x13\x41pplicationPriority\x12\"\n\x05value\x18\x01 \x01(\x0e\x32\x13.common.v2.Priority\x12%\n\x04urls\x18\x02 \x03(\x0b\x32\x17.manager.v2.URLPriority\"t\n\x0b\x41pplication\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x0b\n\x03\x62io\x18\x04 \x01(\t\x12\x31\n\x08priority\x18\x05 \x01(\x0b\x32\x1f.manager.v2.ApplicationPriority\"d\n\x17ListApplicationsRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\n\n\x02ip\x18\x03 \x01(\t\"I\n\x18ListApplicationsResponse\x12-\n\x0c\x61pplications\x18\x01 \x03(\x0b\x32\x17.manager.v2.Application\"q\n\x10KeepAliveRequest\x12+\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x16.manager.v2.SourceType\x12\x10\n\x08hostname\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\x04\x12\n\n\x02ip\x18\x04 \x01(\t*I\n\nSourceType\x12\x14\n\x10SCHEDULER_SOURCE\x10\x00\x12\x0f\n\x0bPEER_SOURCE\x10\x01\x12\x14\n\x10SEED_PEER_SOURCE\x10\x02\x32\xcf\x05\n\x07Manager\x12\x43\n\x0bGetSeedPeer\x12\x1e.manager.v2.GetSeedPeerRequest\x1a\x14.manager.v2.SeedPeer\x12T\n\rListSeedPeers\x12 .manager.v2.ListSeedPeersRequest\x1a!.manager.v2.ListSeedPeersResponse\x12I\n\x0eUpdateSeedPeer\x12!.manager.v2.UpdateSeedPeerRequest\x1a\x14.manager.v2.SeedPeer\x12K\n\x0e\x44\x65leteSeedPeer\x12!.manager.v2.DeleteSeedPeerRequest\x1a\x16.google.protobuf.Empty\x12\x46\n\x0cGetScheduler\x12\x1f.manager.v2.GetSchedulerRequest\x1a\x15.manager.v2.Scheduler\x12L\n\x0fUpdateScheduler\x12\".manager.v2.UpdateSchedulerRequest\x1a\x15.manager.v2.Scheduler\x12W\n\x0eListSchedulers\x12!.manager.v2.ListSchedulersRequest\x1a\".manager.v2.ListSchedulersResponse\x12]\n\x10ListApplications\x12#.manager.v2.ListApplicationsRequest\x1a$.manager.v2.ListApplicationsResponse\x12\x43\n\tKeepAlive\x12\x1c.manager.v2.KeepAliveRequest\x1a\x16.google.protobuf.Empty(\x01\x62\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'manager_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_SOURCETYPE']._serialized_start=2836
37
+ _globals['_SOURCETYPE']._serialized_end=2909
38
+ _globals['_SEEDPEERCLUSTER']._serialized_start=72
39
+ _globals['_SEEDPEERCLUSTER']._serialized_end=144
40
+ _globals['_SEEDPEER']._serialized_start=147
41
+ _globals['_SEEDPEER']._serialized_end=456
42
+ _globals['_GETSEEDPEERREQUEST']._serialized_start=458
43
+ _globals['_GETSEEDPEERREQUEST']._serialized_end=583
44
+ _globals['_LISTSEEDPEERSREQUEST']._serialized_start=586
45
+ _globals['_LISTSEEDPEERSREQUEST']._serialized_end=716
46
+ _globals['_LISTSEEDPEERSRESPONSE']._serialized_start=718
47
+ _globals['_LISTSEEDPEERSRESPONSE']._serialized_end=783
48
+ _globals['_UPDATESEEDPEERREQUEST']._serialized_start=786
49
+ _globals['_UPDATESEEDPEERREQUEST']._serialized_end=1027
50
+ _globals['_DELETESEEDPEERREQUEST']._serialized_start=1030
51
+ _globals['_DELETESEEDPEERREQUEST']._serialized_end=1158
52
+ _globals['_SCHEDULERCLUSTER']._serialized_start=1161
53
+ _globals['_SCHEDULERCLUSTER']._serialized_end=1301
54
+ _globals['_SCHEDULER']._serialized_start=1304
55
+ _globals['_SCHEDULER']._serialized_end=1595
56
+ _globals['_GETSCHEDULERREQUEST']._serialized_start=1597
57
+ _globals['_GETSCHEDULERREQUEST']._serialized_end=1723
58
+ _globals['_UPDATESCHEDULERREQUEST']._serialized_start=1726
59
+ _globals['_UPDATESCHEDULERREQUEST']._serialized_end=1965
60
+ _globals['_LISTSCHEDULERSREQUEST']._serialized_start=1968
61
+ _globals['_LISTSCHEDULERSREQUEST']._serialized_end=2191
62
+ _globals['_LISTSCHEDULERSRESPONSE']._serialized_start=2193
63
+ _globals['_LISTSCHEDULERSRESPONSE']._serialized_end=2260
64
+ _globals['_URLPRIORITY']._serialized_start=2262
65
+ _globals['_URLPRIORITY']._serialized_end=2326
66
+ _globals['_APPLICATIONPRIORITY']._serialized_start=2328
67
+ _globals['_APPLICATIONPRIORITY']._serialized_end=2424
68
+ _globals['_APPLICATION']._serialized_start=2426
69
+ _globals['_APPLICATION']._serialized_end=2542
70
+ _globals['_LISTAPPLICATIONSREQUEST']._serialized_start=2544
71
+ _globals['_LISTAPPLICATIONSREQUEST']._serialized_end=2644
72
+ _globals['_LISTAPPLICATIONSRESPONSE']._serialized_start=2646
73
+ _globals['_LISTAPPLICATIONSRESPONSE']._serialized_end=2719
74
+ _globals['_KEEPALIVEREQUEST']._serialized_start=2721
75
+ _globals['_KEEPALIVEREQUEST']._serialized_end=2834
76
+ _globals['_MANAGER']._serialized_start=2912
77
+ _globals['_MANAGER']._serialized_end=3631
78
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,287 @@
1
+ from . import common_pb2 as _common_pb2
2
+ from google.protobuf import empty_pb2 as _empty_pb2
3
+ from google.protobuf.internal import containers as _containers
4
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
8
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class SourceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13
+ __slots__ = ()
14
+ SCHEDULER_SOURCE: _ClassVar[SourceType]
15
+ PEER_SOURCE: _ClassVar[SourceType]
16
+ SEED_PEER_SOURCE: _ClassVar[SourceType]
17
+ SCHEDULER_SOURCE: SourceType
18
+ PEER_SOURCE: SourceType
19
+ SEED_PEER_SOURCE: SourceType
20
+
21
+ class SeedPeerCluster(_message.Message):
22
+ __slots__ = ("id", "name", "bio", "config")
23
+ ID_FIELD_NUMBER: _ClassVar[int]
24
+ NAME_FIELD_NUMBER: _ClassVar[int]
25
+ BIO_FIELD_NUMBER: _ClassVar[int]
26
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
27
+ id: int
28
+ name: str
29
+ bio: str
30
+ config: bytes
31
+ def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., bio: _Optional[str] = ..., config: _Optional[bytes] = ...) -> None: ...
32
+
33
+ class SeedPeer(_message.Message):
34
+ __slots__ = ("id", "hostname", "type", "idc", "location", "ip", "port", "download_port", "state", "seed_peer_cluster_id", "seed_peer_cluster", "schedulers")
35
+ ID_FIELD_NUMBER: _ClassVar[int]
36
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
37
+ TYPE_FIELD_NUMBER: _ClassVar[int]
38
+ IDC_FIELD_NUMBER: _ClassVar[int]
39
+ LOCATION_FIELD_NUMBER: _ClassVar[int]
40
+ IP_FIELD_NUMBER: _ClassVar[int]
41
+ PORT_FIELD_NUMBER: _ClassVar[int]
42
+ DOWNLOAD_PORT_FIELD_NUMBER: _ClassVar[int]
43
+ STATE_FIELD_NUMBER: _ClassVar[int]
44
+ SEED_PEER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
45
+ SEED_PEER_CLUSTER_FIELD_NUMBER: _ClassVar[int]
46
+ SCHEDULERS_FIELD_NUMBER: _ClassVar[int]
47
+ id: int
48
+ hostname: str
49
+ type: str
50
+ idc: str
51
+ location: str
52
+ ip: str
53
+ port: int
54
+ download_port: int
55
+ state: str
56
+ seed_peer_cluster_id: int
57
+ seed_peer_cluster: SeedPeerCluster
58
+ schedulers: _containers.RepeatedCompositeFieldContainer[Scheduler]
59
+ def __init__(self, id: _Optional[int] = ..., hostname: _Optional[str] = ..., type: _Optional[str] = ..., idc: _Optional[str] = ..., location: _Optional[str] = ..., ip: _Optional[str] = ..., port: _Optional[int] = ..., download_port: _Optional[int] = ..., state: _Optional[str] = ..., seed_peer_cluster_id: _Optional[int] = ..., seed_peer_cluster: _Optional[_Union[SeedPeerCluster, _Mapping]] = ..., schedulers: _Optional[_Iterable[_Union[Scheduler, _Mapping]]] = ...) -> None: ...
60
+
61
+ class GetSeedPeerRequest(_message.Message):
62
+ __slots__ = ("source_type", "hostname", "seed_peer_cluster_id", "ip")
63
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
64
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
65
+ SEED_PEER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
66
+ IP_FIELD_NUMBER: _ClassVar[int]
67
+ source_type: SourceType
68
+ hostname: str
69
+ seed_peer_cluster_id: int
70
+ ip: str
71
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., seed_peer_cluster_id: _Optional[int] = ..., ip: _Optional[str] = ...) -> None: ...
72
+
73
+ class ListSeedPeersRequest(_message.Message):
74
+ __slots__ = ("source_type", "hostname", "ip", "version", "commit")
75
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
76
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
77
+ IP_FIELD_NUMBER: _ClassVar[int]
78
+ VERSION_FIELD_NUMBER: _ClassVar[int]
79
+ COMMIT_FIELD_NUMBER: _ClassVar[int]
80
+ source_type: SourceType
81
+ hostname: str
82
+ ip: str
83
+ version: str
84
+ commit: str
85
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., ip: _Optional[str] = ..., version: _Optional[str] = ..., commit: _Optional[str] = ...) -> None: ...
86
+
87
+ class ListSeedPeersResponse(_message.Message):
88
+ __slots__ = ("seed_peers",)
89
+ SEED_PEERS_FIELD_NUMBER: _ClassVar[int]
90
+ seed_peers: _containers.RepeatedCompositeFieldContainer[SeedPeer]
91
+ def __init__(self, seed_peers: _Optional[_Iterable[_Union[SeedPeer, _Mapping]]] = ...) -> None: ...
92
+
93
+ class UpdateSeedPeerRequest(_message.Message):
94
+ __slots__ = ("source_type", "hostname", "type", "idc", "location", "ip", "port", "download_port", "seed_peer_cluster_id")
95
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
96
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
97
+ TYPE_FIELD_NUMBER: _ClassVar[int]
98
+ IDC_FIELD_NUMBER: _ClassVar[int]
99
+ LOCATION_FIELD_NUMBER: _ClassVar[int]
100
+ IP_FIELD_NUMBER: _ClassVar[int]
101
+ PORT_FIELD_NUMBER: _ClassVar[int]
102
+ DOWNLOAD_PORT_FIELD_NUMBER: _ClassVar[int]
103
+ SEED_PEER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
104
+ source_type: SourceType
105
+ hostname: str
106
+ type: str
107
+ idc: str
108
+ location: str
109
+ ip: str
110
+ port: int
111
+ download_port: int
112
+ seed_peer_cluster_id: int
113
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., type: _Optional[str] = ..., idc: _Optional[str] = ..., location: _Optional[str] = ..., ip: _Optional[str] = ..., port: _Optional[int] = ..., download_port: _Optional[int] = ..., seed_peer_cluster_id: _Optional[int] = ...) -> None: ...
114
+
115
+ class DeleteSeedPeerRequest(_message.Message):
116
+ __slots__ = ("source_type", "hostname", "seed_peer_cluster_id", "ip")
117
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
118
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
119
+ SEED_PEER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
120
+ IP_FIELD_NUMBER: _ClassVar[int]
121
+ source_type: SourceType
122
+ hostname: str
123
+ seed_peer_cluster_id: int
124
+ ip: str
125
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., seed_peer_cluster_id: _Optional[int] = ..., ip: _Optional[str] = ...) -> None: ...
126
+
127
+ class SchedulerCluster(_message.Message):
128
+ __slots__ = ("id", "name", "bio", "config", "client_config", "scopes", "seed_client_config")
129
+ ID_FIELD_NUMBER: _ClassVar[int]
130
+ NAME_FIELD_NUMBER: _ClassVar[int]
131
+ BIO_FIELD_NUMBER: _ClassVar[int]
132
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
133
+ CLIENT_CONFIG_FIELD_NUMBER: _ClassVar[int]
134
+ SCOPES_FIELD_NUMBER: _ClassVar[int]
135
+ SEED_CLIENT_CONFIG_FIELD_NUMBER: _ClassVar[int]
136
+ id: int
137
+ name: str
138
+ bio: str
139
+ config: bytes
140
+ client_config: bytes
141
+ scopes: bytes
142
+ seed_client_config: bytes
143
+ def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., bio: _Optional[str] = ..., config: _Optional[bytes] = ..., client_config: _Optional[bytes] = ..., scopes: _Optional[bytes] = ..., seed_client_config: _Optional[bytes] = ...) -> None: ...
144
+
145
+ class Scheduler(_message.Message):
146
+ __slots__ = ("id", "hostname", "idc", "location", "ip", "port", "state", "scheduler_cluster_id", "scheduler_cluster", "seed_peers", "features")
147
+ ID_FIELD_NUMBER: _ClassVar[int]
148
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
149
+ IDC_FIELD_NUMBER: _ClassVar[int]
150
+ LOCATION_FIELD_NUMBER: _ClassVar[int]
151
+ IP_FIELD_NUMBER: _ClassVar[int]
152
+ PORT_FIELD_NUMBER: _ClassVar[int]
153
+ STATE_FIELD_NUMBER: _ClassVar[int]
154
+ SCHEDULER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
155
+ SCHEDULER_CLUSTER_FIELD_NUMBER: _ClassVar[int]
156
+ SEED_PEERS_FIELD_NUMBER: _ClassVar[int]
157
+ FEATURES_FIELD_NUMBER: _ClassVar[int]
158
+ id: int
159
+ hostname: str
160
+ idc: str
161
+ location: str
162
+ ip: str
163
+ port: int
164
+ state: str
165
+ scheduler_cluster_id: int
166
+ scheduler_cluster: SchedulerCluster
167
+ seed_peers: _containers.RepeatedCompositeFieldContainer[SeedPeer]
168
+ features: bytes
169
+ def __init__(self, id: _Optional[int] = ..., hostname: _Optional[str] = ..., idc: _Optional[str] = ..., location: _Optional[str] = ..., ip: _Optional[str] = ..., port: _Optional[int] = ..., state: _Optional[str] = ..., scheduler_cluster_id: _Optional[int] = ..., scheduler_cluster: _Optional[_Union[SchedulerCluster, _Mapping]] = ..., seed_peers: _Optional[_Iterable[_Union[SeedPeer, _Mapping]]] = ..., features: _Optional[bytes] = ...) -> None: ...
170
+
171
+ class GetSchedulerRequest(_message.Message):
172
+ __slots__ = ("source_type", "hostname", "scheduler_cluster_id", "ip")
173
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
174
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
175
+ SCHEDULER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
176
+ IP_FIELD_NUMBER: _ClassVar[int]
177
+ source_type: SourceType
178
+ hostname: str
179
+ scheduler_cluster_id: int
180
+ ip: str
181
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., scheduler_cluster_id: _Optional[int] = ..., ip: _Optional[str] = ...) -> None: ...
182
+
183
+ class UpdateSchedulerRequest(_message.Message):
184
+ __slots__ = ("source_type", "hostname", "scheduler_cluster_id", "idc", "location", "ip", "port", "features", "config")
185
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
186
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
187
+ SCHEDULER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
188
+ IDC_FIELD_NUMBER: _ClassVar[int]
189
+ LOCATION_FIELD_NUMBER: _ClassVar[int]
190
+ IP_FIELD_NUMBER: _ClassVar[int]
191
+ PORT_FIELD_NUMBER: _ClassVar[int]
192
+ FEATURES_FIELD_NUMBER: _ClassVar[int]
193
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
194
+ source_type: SourceType
195
+ hostname: str
196
+ scheduler_cluster_id: int
197
+ idc: str
198
+ location: str
199
+ ip: str
200
+ port: int
201
+ features: _containers.RepeatedScalarFieldContainer[str]
202
+ config: bytes
203
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., scheduler_cluster_id: _Optional[int] = ..., idc: _Optional[str] = ..., location: _Optional[str] = ..., ip: _Optional[str] = ..., port: _Optional[int] = ..., features: _Optional[_Iterable[str]] = ..., config: _Optional[bytes] = ...) -> None: ...
204
+
205
+ class ListSchedulersRequest(_message.Message):
206
+ __slots__ = ("source_type", "hostname", "ip", "idc", "location", "version", "commit", "scheduler_cluster_id")
207
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
208
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
209
+ IP_FIELD_NUMBER: _ClassVar[int]
210
+ IDC_FIELD_NUMBER: _ClassVar[int]
211
+ LOCATION_FIELD_NUMBER: _ClassVar[int]
212
+ VERSION_FIELD_NUMBER: _ClassVar[int]
213
+ COMMIT_FIELD_NUMBER: _ClassVar[int]
214
+ SCHEDULER_CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
215
+ source_type: SourceType
216
+ hostname: str
217
+ ip: str
218
+ idc: str
219
+ location: str
220
+ version: str
221
+ commit: str
222
+ scheduler_cluster_id: int
223
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., ip: _Optional[str] = ..., idc: _Optional[str] = ..., location: _Optional[str] = ..., version: _Optional[str] = ..., commit: _Optional[str] = ..., scheduler_cluster_id: _Optional[int] = ...) -> None: ...
224
+
225
+ class ListSchedulersResponse(_message.Message):
226
+ __slots__ = ("schedulers",)
227
+ SCHEDULERS_FIELD_NUMBER: _ClassVar[int]
228
+ schedulers: _containers.RepeatedCompositeFieldContainer[Scheduler]
229
+ def __init__(self, schedulers: _Optional[_Iterable[_Union[Scheduler, _Mapping]]] = ...) -> None: ...
230
+
231
+ class URLPriority(_message.Message):
232
+ __slots__ = ("regex", "value")
233
+ REGEX_FIELD_NUMBER: _ClassVar[int]
234
+ VALUE_FIELD_NUMBER: _ClassVar[int]
235
+ regex: str
236
+ value: _common_pb2.Priority
237
+ def __init__(self, regex: _Optional[str] = ..., value: _Optional[_Union[_common_pb2.Priority, str]] = ...) -> None: ...
238
+
239
+ class ApplicationPriority(_message.Message):
240
+ __slots__ = ("value", "urls")
241
+ VALUE_FIELD_NUMBER: _ClassVar[int]
242
+ URLS_FIELD_NUMBER: _ClassVar[int]
243
+ value: _common_pb2.Priority
244
+ urls: _containers.RepeatedCompositeFieldContainer[URLPriority]
245
+ def __init__(self, value: _Optional[_Union[_common_pb2.Priority, str]] = ..., urls: _Optional[_Iterable[_Union[URLPriority, _Mapping]]] = ...) -> None: ...
246
+
247
+ class Application(_message.Message):
248
+ __slots__ = ("id", "name", "url", "bio", "priority")
249
+ ID_FIELD_NUMBER: _ClassVar[int]
250
+ NAME_FIELD_NUMBER: _ClassVar[int]
251
+ URL_FIELD_NUMBER: _ClassVar[int]
252
+ BIO_FIELD_NUMBER: _ClassVar[int]
253
+ PRIORITY_FIELD_NUMBER: _ClassVar[int]
254
+ id: int
255
+ name: str
256
+ url: str
257
+ bio: str
258
+ priority: ApplicationPriority
259
+ def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., url: _Optional[str] = ..., bio: _Optional[str] = ..., priority: _Optional[_Union[ApplicationPriority, _Mapping]] = ...) -> None: ...
260
+
261
+ class ListApplicationsRequest(_message.Message):
262
+ __slots__ = ("source_type", "hostname", "ip")
263
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
264
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
265
+ IP_FIELD_NUMBER: _ClassVar[int]
266
+ source_type: SourceType
267
+ hostname: str
268
+ ip: str
269
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., ip: _Optional[str] = ...) -> None: ...
270
+
271
+ class ListApplicationsResponse(_message.Message):
272
+ __slots__ = ("applications",)
273
+ APPLICATIONS_FIELD_NUMBER: _ClassVar[int]
274
+ applications: _containers.RepeatedCompositeFieldContainer[Application]
275
+ def __init__(self, applications: _Optional[_Iterable[_Union[Application, _Mapping]]] = ...) -> None: ...
276
+
277
+ class KeepAliveRequest(_message.Message):
278
+ __slots__ = ("source_type", "hostname", "cluster_id", "ip")
279
+ SOURCE_TYPE_FIELD_NUMBER: _ClassVar[int]
280
+ HOSTNAME_FIELD_NUMBER: _ClassVar[int]
281
+ CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
282
+ IP_FIELD_NUMBER: _ClassVar[int]
283
+ source_type: SourceType
284
+ hostname: str
285
+ cluster_id: int
286
+ ip: str
287
+ def __init__(self, source_type: _Optional[_Union[SourceType, str]] = ..., hostname: _Optional[str] = ..., cluster_id: _Optional[int] = ..., ip: _Optional[str] = ...) -> None: ...