metalstack.cloud 0.15.2__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.
Files changed (111) hide show
  1. buf/__init__.py +0 -0
  2. buf/validate/__init__.py +0 -0
  3. buf/validate/validate_pb2.py +450 -0
  4. buf/validate/validate_pb2.pyi +631 -0
  5. buf/validate/validate_pb2_grpc.py +4 -0
  6. metalstack_cloud-0.15.2.dist-info/METADATA +26 -0
  7. metalstack_cloud-0.15.2.dist-info/RECORD +111 -0
  8. metalstack_cloud-0.15.2.dist-info/WHEEL +5 -0
  9. metalstack_cloud-0.15.2.dist-info/top_level.txt +2 -0
  10. metalstackcloud/__init__.py +0 -0
  11. metalstackcloud/admin/__init__.py +0 -0
  12. metalstackcloud/admin/v1/__init__.py +0 -0
  13. metalstackcloud/admin/v1/cluster_connecpy.py +214 -0
  14. metalstackcloud/admin/v1/cluster_pb2.py +70 -0
  15. metalstackcloud/admin/v1/cluster_pb2.pyi +93 -0
  16. metalstackcloud/admin/v1/cluster_pb2_grpc.py +169 -0
  17. metalstackcloud/admin/v1/machine_pb2.py +42 -0
  18. metalstackcloud/admin/v1/machine_pb2.pyi +76 -0
  19. metalstackcloud/admin/v1/machine_pb2_grpc.py +4 -0
  20. metalstackcloud/admin/v1/payment_connecpy.py +158 -0
  21. metalstackcloud/admin/v1/payment_pb2.py +51 -0
  22. metalstackcloud/admin/v1/payment_pb2.pyi +33 -0
  23. metalstackcloud/admin/v1/payment_pb2_grpc.py +125 -0
  24. metalstackcloud/admin/v1/project_connecpy.py +102 -0
  25. metalstackcloud/admin/v1/project_pb2.py +49 -0
  26. metalstackcloud/admin/v1/project_pb2.pyi +34 -0
  27. metalstackcloud/admin/v1/project_pb2_grpc.py +81 -0
  28. metalstackcloud/admin/v1/storage_connecpy.py +214 -0
  29. metalstackcloud/admin/v1/storage_pb2.py +75 -0
  30. metalstackcloud/admin/v1/storage_pb2.pyi +149 -0
  31. metalstackcloud/admin/v1/storage_pb2_grpc.py +169 -0
  32. metalstackcloud/admin/v1/tenant_connecpy.py +270 -0
  33. metalstackcloud/admin/v1/tenant_pb2.py +66 -0
  34. metalstackcloud/admin/v1/tenant_pb2.pyi +72 -0
  35. metalstackcloud/admin/v1/tenant_pb2_grpc.py +213 -0
  36. metalstackcloud/admin/v1/token_connecpy.py +158 -0
  37. metalstackcloud/admin/v1/token_pb2.py +56 -0
  38. metalstackcloud/admin/v1/token_pb2.pyi +34 -0
  39. metalstackcloud/admin/v1/token_pb2_grpc.py +125 -0
  40. metalstackcloud/api/__init__.py +0 -0
  41. metalstackcloud/api/v1/__init__.py +0 -0
  42. metalstackcloud/api/v1/asset_connecpy.py +102 -0
  43. metalstackcloud/api/v1/asset_pb2.py +76 -0
  44. metalstackcloud/api/v1/asset_pb2.pyi +132 -0
  45. metalstackcloud/api/v1/asset_pb2_grpc.py +81 -0
  46. metalstackcloud/api/v1/audit_connecpy.py +158 -0
  47. metalstackcloud/api/v1/audit_pb2.py +84 -0
  48. metalstackcloud/api/v1/audit_pb2.pyi +95 -0
  49. metalstackcloud/api/v1/audit_pb2_grpc.py +125 -0
  50. metalstackcloud/api/v1/cluster_connecpy.py +494 -0
  51. metalstackcloud/api/v1/cluster_pb2.py +183 -0
  52. metalstackcloud/api/v1/cluster_pb2.pyi +311 -0
  53. metalstackcloud/api/v1/cluster_pb2_grpc.py +389 -0
  54. metalstackcloud/api/v1/common_pb2.py +52 -0
  55. metalstackcloud/api/v1/common_pb2.pyi +98 -0
  56. metalstackcloud/api/v1/common_pb2_grpc.py +4 -0
  57. metalstackcloud/api/v1/health_connecpy.py +102 -0
  58. metalstackcloud/api/v1/health_pb2.py +58 -0
  59. metalstackcloud/api/v1/health_pb2.pyi +74 -0
  60. metalstackcloud/api/v1/health_pb2_grpc.py +81 -0
  61. metalstackcloud/api/v1/ip_connecpy.py +326 -0
  62. metalstackcloud/api/v1/ip_pb2.py +110 -0
  63. metalstackcloud/api/v1/ip_pb2.pyi +122 -0
  64. metalstackcloud/api/v1/ip_pb2_grpc.py +257 -0
  65. metalstackcloud/api/v1/method_connecpy.py +158 -0
  66. metalstackcloud/api/v1/method_pb2.py +62 -0
  67. metalstackcloud/api/v1/method_pb2.pyi +50 -0
  68. metalstackcloud/api/v1/method_pb2_grpc.py +128 -0
  69. metalstackcloud/api/v1/payment_connecpy.py +550 -0
  70. metalstackcloud/api/v1/payment_pb2.py +134 -0
  71. metalstackcloud/api/v1/payment_pb2.pyi +291 -0
  72. metalstackcloud/api/v1/payment_pb2_grpc.py +433 -0
  73. metalstackcloud/api/v1/project_connecpy.py +718 -0
  74. metalstackcloud/api/v1/project_pb2.py +156 -0
  75. metalstackcloud/api/v1/project_pb2.pyi +234 -0
  76. metalstackcloud/api/v1/project_pb2_grpc.py +565 -0
  77. metalstackcloud/api/v1/snapshot_connecpy.py +214 -0
  78. metalstackcloud/api/v1/snapshot_pb2.py +75 -0
  79. metalstackcloud/api/v1/snapshot_pb2.pyi +109 -0
  80. metalstackcloud/api/v1/snapshot_pb2_grpc.py +169 -0
  81. metalstackcloud/api/v1/tenant_connecpy.py +774 -0
  82. metalstackcloud/api/v1/tenant_pb2.py +159 -0
  83. metalstackcloud/api/v1/tenant_pb2.pyi +305 -0
  84. metalstackcloud/api/v1/tenant_pb2_grpc.py +609 -0
  85. metalstackcloud/api/v1/token_connecpy.py +326 -0
  86. metalstackcloud/api/v1/token_pb2.py +131 -0
  87. metalstackcloud/api/v1/token_pb2.pyi +175 -0
  88. metalstackcloud/api/v1/token_pb2_grpc.py +257 -0
  89. metalstackcloud/api/v1/user_connecpy.py +102 -0
  90. metalstackcloud/api/v1/user_pb2.py +48 -0
  91. metalstackcloud/api/v1/user_pb2.pyi +42 -0
  92. metalstackcloud/api/v1/user_pb2_grpc.py +81 -0
  93. metalstackcloud/api/v1/version_connecpy.py +102 -0
  94. metalstackcloud/api/v1/version_pb2.py +46 -0
  95. metalstackcloud/api/v1/version_pb2.pyi +29 -0
  96. metalstackcloud/api/v1/version_pb2_grpc.py +81 -0
  97. metalstackcloud/api/v1/volume_connecpy.py +270 -0
  98. metalstackcloud/api/v1/volume_pb2.py +91 -0
  99. metalstackcloud/api/v1/volume_pb2.pyi +165 -0
  100. metalstackcloud/api/v1/volume_pb2_grpc.py +213 -0
  101. metalstackcloud/client.py +139 -0
  102. metalstackcloud/status/__init__.py +0 -0
  103. metalstackcloud/status/v1/__init__.py +0 -0
  104. metalstackcloud/status/v1/message_connecpy.py +102 -0
  105. metalstackcloud/status/v1/message_pb2.py +51 -0
  106. metalstackcloud/status/v1/message_pb2.pyi +65 -0
  107. metalstackcloud/status/v1/message_pb2_grpc.py +84 -0
  108. metalstackcloud/status/v1/status_connecpy.py +102 -0
  109. metalstackcloud/status/v1/status_pb2.py +45 -0
  110. metalstackcloud/status/v1/status_pb2.pyi +24 -0
  111. metalstackcloud/status/v1/status_pb2_grpc.py +84 -0
@@ -0,0 +1,58 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: api/v1/health.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
+ 'api/v1/health.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from metalstackcloud.api.v1 import common_pb2 as api_dot_v1_dot_common__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61pi/v1/health.proto\x12\x06\x61pi.v1\x1a\x13\x61pi/v1/common.proto\":\n\x06Health\x12\x30\n\x08services\x18\x01 \x03(\x0b\x32\x14.api.v1.HealthStatusR\x08services\"\x9a\x02\n\x0cHealthStatus\x12#\n\x04name\x18\x01 \x01(\x0e\x32\x0f.api.v1.ServiceR\x04name\x12-\n\x06status\x18\x02 \x01(\x0e\x32\x15.api.v1.ServiceStatusR\x06status\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12\x44\n\npartitions\x18\x04 \x03(\x0b\x32$.api.v1.HealthStatus.PartitionsEntryR\npartitions\x1aV\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.api.v1.PartitionHealthR\x05value:\x02\x38\x01\"Z\n\x0fPartitionHealth\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x15.api.v1.ServiceStatusR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\x19\n\x17HealthServiceGetRequest\"B\n\x18HealthServiceGetResponse\x12&\n\x06health\x18\x01 \x01(\x0b\x32\x0e.api.v1.HealthR\x06health*\x86\x01\n\rServiceStatus\x12\x1e\n\x1aSERVICE_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17SERVICE_STATUS_DEGRADED\x10\x01\x12\x1c\n\x18SERVICE_STATUS_UNHEALTHY\x10\x02\x12\x1a\n\x16SERVICE_STATUS_HEALTHY\x10\x03*a\n\x07Service\x12\x17\n\x13SERVICE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSERVICE_CLUSTER\x10\x01\x12\x12\n\x0eSERVICE_VOLUME\x10\x02\x12\x14\n\x10SERVICE_MACHINES\x10\x03\x32\x63\n\rHealthService\x12R\n\x03Get\x12\x1f.api.v1.HealthServiceGetRequest\x1a .api.v1.HealthServiceGetResponse\"\x08\xd8\xf3\x18\x01\xe8\xf3\x18\x02\x42\x84\x01\n\ncom.api.v1B\x0bHealthProtoP\x01Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\xa2\x02\x03\x41XX\xaa\x02\x06\x41pi.V1\xca\x02\x06\x41pi\\V1\xe2\x02\x12\x41pi\\V1\\GPBMetadata\xea\x02\x07\x41pi::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v1.health_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\ncom.api.v1B\013HealthProtoP\001Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\242\002\003AXX\252\002\006Api.V1\312\002\006Api\\V1\342\002\022Api\\V1\\GPBMetadata\352\002\007Api::V1'
36
+ _globals['_HEALTHSTATUS_PARTITIONSENTRY']._loaded_options = None
37
+ _globals['_HEALTHSTATUS_PARTITIONSENTRY']._serialized_options = b'8\001'
38
+ _globals['_HEALTHSERVICE'].methods_by_name['Get']._loaded_options = None
39
+ _globals['_HEALTHSERVICE'].methods_by_name['Get']._serialized_options = b'\330\363\030\001\350\363\030\002'
40
+ _globals['_SERVICESTATUS']._serialized_start=585
41
+ _globals['_SERVICESTATUS']._serialized_end=719
42
+ _globals['_SERVICE']._serialized_start=721
43
+ _globals['_SERVICE']._serialized_end=818
44
+ _globals['_HEALTH']._serialized_start=52
45
+ _globals['_HEALTH']._serialized_end=110
46
+ _globals['_HEALTHSTATUS']._serialized_start=113
47
+ _globals['_HEALTHSTATUS']._serialized_end=395
48
+ _globals['_HEALTHSTATUS_PARTITIONSENTRY']._serialized_start=309
49
+ _globals['_HEALTHSTATUS_PARTITIONSENTRY']._serialized_end=395
50
+ _globals['_PARTITIONHEALTH']._serialized_start=397
51
+ _globals['_PARTITIONHEALTH']._serialized_end=487
52
+ _globals['_HEALTHSERVICEGETREQUEST']._serialized_start=489
53
+ _globals['_HEALTHSERVICEGETREQUEST']._serialized_end=514
54
+ _globals['_HEALTHSERVICEGETRESPONSE']._serialized_start=516
55
+ _globals['_HEALTHSERVICEGETRESPONSE']._serialized_end=582
56
+ _globals['_HEALTHSERVICE']._serialized_start=820
57
+ _globals['_HEALTHSERVICE']._serialized_end=919
58
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,74 @@
1
+ from api.v1 import common_pb2 as _common_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
4
+ from google.protobuf import descriptor as _descriptor
5
+ from google.protobuf import message as _message
6
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
7
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
8
+
9
+ DESCRIPTOR: _descriptor.FileDescriptor
10
+
11
+ class ServiceStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
12
+ __slots__ = ()
13
+ SERVICE_STATUS_UNSPECIFIED: _ClassVar[ServiceStatus]
14
+ SERVICE_STATUS_DEGRADED: _ClassVar[ServiceStatus]
15
+ SERVICE_STATUS_UNHEALTHY: _ClassVar[ServiceStatus]
16
+ SERVICE_STATUS_HEALTHY: _ClassVar[ServiceStatus]
17
+
18
+ class Service(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
19
+ __slots__ = ()
20
+ SERVICE_UNSPECIFIED: _ClassVar[Service]
21
+ SERVICE_CLUSTER: _ClassVar[Service]
22
+ SERVICE_VOLUME: _ClassVar[Service]
23
+ SERVICE_MACHINES: _ClassVar[Service]
24
+ SERVICE_STATUS_UNSPECIFIED: ServiceStatus
25
+ SERVICE_STATUS_DEGRADED: ServiceStatus
26
+ SERVICE_STATUS_UNHEALTHY: ServiceStatus
27
+ SERVICE_STATUS_HEALTHY: ServiceStatus
28
+ SERVICE_UNSPECIFIED: Service
29
+ SERVICE_CLUSTER: Service
30
+ SERVICE_VOLUME: Service
31
+ SERVICE_MACHINES: Service
32
+
33
+ class Health(_message.Message):
34
+ __slots__ = ("services",)
35
+ SERVICES_FIELD_NUMBER: _ClassVar[int]
36
+ services: _containers.RepeatedCompositeFieldContainer[HealthStatus]
37
+ def __init__(self, services: _Optional[_Iterable[_Union[HealthStatus, _Mapping]]] = ...) -> None: ...
38
+
39
+ class HealthStatus(_message.Message):
40
+ __slots__ = ("name", "status", "message", "partitions")
41
+ class PartitionsEntry(_message.Message):
42
+ __slots__ = ("key", "value")
43
+ KEY_FIELD_NUMBER: _ClassVar[int]
44
+ VALUE_FIELD_NUMBER: _ClassVar[int]
45
+ key: str
46
+ value: PartitionHealth
47
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[PartitionHealth, _Mapping]] = ...) -> None: ...
48
+ NAME_FIELD_NUMBER: _ClassVar[int]
49
+ STATUS_FIELD_NUMBER: _ClassVar[int]
50
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
51
+ PARTITIONS_FIELD_NUMBER: _ClassVar[int]
52
+ name: Service
53
+ status: ServiceStatus
54
+ message: str
55
+ partitions: _containers.MessageMap[str, PartitionHealth]
56
+ def __init__(self, name: _Optional[_Union[Service, str]] = ..., status: _Optional[_Union[ServiceStatus, str]] = ..., message: _Optional[str] = ..., partitions: _Optional[_Mapping[str, PartitionHealth]] = ...) -> None: ...
57
+
58
+ class PartitionHealth(_message.Message):
59
+ __slots__ = ("status", "message")
60
+ STATUS_FIELD_NUMBER: _ClassVar[int]
61
+ MESSAGE_FIELD_NUMBER: _ClassVar[int]
62
+ status: ServiceStatus
63
+ message: str
64
+ def __init__(self, status: _Optional[_Union[ServiceStatus, str]] = ..., message: _Optional[str] = ...) -> None: ...
65
+
66
+ class HealthServiceGetRequest(_message.Message):
67
+ __slots__ = ()
68
+ def __init__(self) -> None: ...
69
+
70
+ class HealthServiceGetResponse(_message.Message):
71
+ __slots__ = ("health",)
72
+ HEALTH_FIELD_NUMBER: _ClassVar[int]
73
+ health: Health
74
+ def __init__(self, health: _Optional[_Union[Health, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,81 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from metalstackcloud.api.v1 import health_pb2 as api_dot_v1_dot_health__pb2
6
+
7
+
8
+ class HealthServiceStub(object):
9
+ """HealthService serves health related functions
10
+ """
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.Get = channel.unary_unary(
19
+ '/api.v1.HealthService/Get',
20
+ request_serializer=api_dot_v1_dot_health__pb2.HealthServiceGetRequest.SerializeToString,
21
+ response_deserializer=api_dot_v1_dot_health__pb2.HealthServiceGetResponse.FromString,
22
+ _registered_method=True)
23
+
24
+
25
+ class HealthServiceServicer(object):
26
+ """HealthService serves health related functions
27
+ """
28
+
29
+ def Get(self, request, context):
30
+ """Get the health of the platform
31
+ """
32
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
33
+ context.set_details('Method not implemented!')
34
+ raise NotImplementedError('Method not implemented!')
35
+
36
+
37
+ def add_HealthServiceServicer_to_server(servicer, server):
38
+ rpc_method_handlers = {
39
+ 'Get': grpc.unary_unary_rpc_method_handler(
40
+ servicer.Get,
41
+ request_deserializer=api_dot_v1_dot_health__pb2.HealthServiceGetRequest.FromString,
42
+ response_serializer=api_dot_v1_dot_health__pb2.HealthServiceGetResponse.SerializeToString,
43
+ ),
44
+ }
45
+ generic_handler = grpc.method_handlers_generic_handler(
46
+ 'api.v1.HealthService', rpc_method_handlers)
47
+ server.add_generic_rpc_handlers((generic_handler,))
48
+ server.add_registered_method_handlers('api.v1.HealthService', rpc_method_handlers)
49
+
50
+
51
+ # This class is part of an EXPERIMENTAL API.
52
+ class HealthService(object):
53
+ """HealthService serves health related functions
54
+ """
55
+
56
+ @staticmethod
57
+ def Get(request,
58
+ target,
59
+ options=(),
60
+ channel_credentials=None,
61
+ call_credentials=None,
62
+ insecure=False,
63
+ compression=None,
64
+ wait_for_ready=None,
65
+ timeout=None,
66
+ metadata=None):
67
+ return grpc.experimental.unary_unary(
68
+ request,
69
+ target,
70
+ '/api.v1.HealthService/Get',
71
+ api_dot_v1_dot_health__pb2.HealthServiceGetRequest.SerializeToString,
72
+ api_dot_v1_dot_health__pb2.HealthServiceGetResponse.FromString,
73
+ options,
74
+ channel_credentials,
75
+ insecure,
76
+ call_credentials,
77
+ compression,
78
+ wait_for_ready,
79
+ timeout,
80
+ metadata,
81
+ _registered_method=True)
@@ -0,0 +1,326 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by https://github.com/i2y/connecpy/protoc-gen-connecpy. DO NOT EDIT!
3
+ # source: api/v1/ip.proto
4
+
5
+ from typing import Optional, Protocol, Union
6
+
7
+ import httpx
8
+
9
+ from connecpy.async_client import AsyncConnecpyClient
10
+ from connecpy.base import Endpoint
11
+ from connecpy.server import ConnecpyServer
12
+ from connecpy.client import ConnecpyClient
13
+ from connecpy.context import ClientContext, ServiceContext
14
+ import metalstackcloud.api.v1.ip_pb2 as api_dot_v1_dot_ip__pb2
15
+
16
+
17
+ class IPService(Protocol):
18
+ async def Get(self, req: api_dot_v1_dot_ip__pb2.IPServiceGetRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceGetResponse: ...
19
+ async def Allocate(self, req: api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse: ...
20
+ async def Update(self, req: api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse: ...
21
+ async def List(self, req: api_dot_v1_dot_ip__pb2.IPServiceListRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceListResponse: ...
22
+ async def Delete(self, req: api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse: ...
23
+
24
+
25
+ class IPServiceServer(ConnecpyServer):
26
+ def __init__(self, *, service: IPService, server_path_prefix=""):
27
+ super().__init__()
28
+ self._prefix = f"{server_path_prefix}/api.v1.IPService"
29
+ self._endpoints = {
30
+ "Get": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceGetRequest, api_dot_v1_dot_ip__pb2.IPServiceGetResponse](
31
+ service_name="IPService",
32
+ name="Get",
33
+ function=getattr(service, "Get"),
34
+ input=api_dot_v1_dot_ip__pb2.IPServiceGetRequest,
35
+ output=api_dot_v1_dot_ip__pb2.IPServiceGetResponse,
36
+ allowed_methods=("POST",),
37
+ ),
38
+ "Allocate": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest, api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse](
39
+ service_name="IPService",
40
+ name="Allocate",
41
+ function=getattr(service, "Allocate"),
42
+ input=api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest,
43
+ output=api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse,
44
+ allowed_methods=("POST",),
45
+ ),
46
+ "Update": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest, api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse](
47
+ service_name="IPService",
48
+ name="Update",
49
+ function=getattr(service, "Update"),
50
+ input=api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest,
51
+ output=api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse,
52
+ allowed_methods=("POST",),
53
+ ),
54
+ "List": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceListRequest, api_dot_v1_dot_ip__pb2.IPServiceListResponse](
55
+ service_name="IPService",
56
+ name="List",
57
+ function=getattr(service, "List"),
58
+ input=api_dot_v1_dot_ip__pb2.IPServiceListRequest,
59
+ output=api_dot_v1_dot_ip__pb2.IPServiceListResponse,
60
+ allowed_methods=("POST",),
61
+ ),
62
+ "Delete": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest, api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse](
63
+ service_name="IPService",
64
+ name="Delete",
65
+ function=getattr(service, "Delete"),
66
+ input=api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest,
67
+ output=api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse,
68
+ allowed_methods=("POST",),
69
+ ),
70
+ }
71
+
72
+ def serviceName(self):
73
+ return "api.v1.IPService"
74
+
75
+
76
+ class IPServiceSync(Protocol):
77
+ def Get(self, req: api_dot_v1_dot_ip__pb2.IPServiceGetRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceGetResponse: ...
78
+ def Allocate(self, req: api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse: ...
79
+ def Update(self, req: api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse: ...
80
+ def List(self, req: api_dot_v1_dot_ip__pb2.IPServiceListRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceListResponse: ...
81
+ def Delete(self, req: api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest, ctx: ServiceContext) -> api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse: ...
82
+
83
+
84
+ class IPServiceServerSync(ConnecpyServer):
85
+ def __init__(self, *, service: IPServiceSync, server_path_prefix=""):
86
+ super().__init__()
87
+ self._prefix = f"{server_path_prefix}/api.v1.IPService"
88
+ self._endpoints = {
89
+ "Get": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceGetRequest, api_dot_v1_dot_ip__pb2.IPServiceGetResponse](
90
+ service_name="IPService",
91
+ name="Get",
92
+ function=getattr(service, "Get"),
93
+ input=api_dot_v1_dot_ip__pb2.IPServiceGetRequest,
94
+ output=api_dot_v1_dot_ip__pb2.IPServiceGetResponse,
95
+ allowed_methods=("POST",),
96
+ ),
97
+ "Allocate": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest, api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse](
98
+ service_name="IPService",
99
+ name="Allocate",
100
+ function=getattr(service, "Allocate"),
101
+ input=api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest,
102
+ output=api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse,
103
+ allowed_methods=("POST",),
104
+ ),
105
+ "Update": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest, api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse](
106
+ service_name="IPService",
107
+ name="Update",
108
+ function=getattr(service, "Update"),
109
+ input=api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest,
110
+ output=api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse,
111
+ allowed_methods=("POST",),
112
+ ),
113
+ "List": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceListRequest, api_dot_v1_dot_ip__pb2.IPServiceListResponse](
114
+ service_name="IPService",
115
+ name="List",
116
+ function=getattr(service, "List"),
117
+ input=api_dot_v1_dot_ip__pb2.IPServiceListRequest,
118
+ output=api_dot_v1_dot_ip__pb2.IPServiceListResponse,
119
+ allowed_methods=("POST",),
120
+ ),
121
+ "Delete": Endpoint[api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest, api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse](
122
+ service_name="IPService",
123
+ name="Delete",
124
+ function=getattr(service, "Delete"),
125
+ input=api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest,
126
+ output=api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse,
127
+ allowed_methods=("POST",),
128
+ ),
129
+ }
130
+
131
+ def serviceName(self):
132
+ return "api.v1.IPService"
133
+
134
+
135
+ class IPServiceClient(ConnecpyClient):
136
+ def Get(
137
+ self,
138
+ request: api_dot_v1_dot_ip__pb2.IPServiceGetRequest,
139
+ *,
140
+ ctx: Optional[ClientContext] = None,
141
+ server_path_prefix: str = "",
142
+ **kwargs,
143
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceGetResponse:
144
+ method = "POST"
145
+ return self._make_request(
146
+ url=f"{server_path_prefix}/api.v1.IPService/Get",
147
+ ctx=ctx,
148
+ request=request,
149
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceGetResponse,
150
+ method=method,
151
+ **kwargs,
152
+ )
153
+
154
+ def Allocate(
155
+ self,
156
+ request: api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest,
157
+ *,
158
+ ctx: Optional[ClientContext] = None,
159
+ server_path_prefix: str = "",
160
+ **kwargs,
161
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse:
162
+ method = "POST"
163
+ return self._make_request(
164
+ url=f"{server_path_prefix}/api.v1.IPService/Allocate",
165
+ ctx=ctx,
166
+ request=request,
167
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse,
168
+ method=method,
169
+ **kwargs,
170
+ )
171
+
172
+ def Update(
173
+ self,
174
+ request: api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest,
175
+ *,
176
+ ctx: Optional[ClientContext] = None,
177
+ server_path_prefix: str = "",
178
+ **kwargs,
179
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse:
180
+ method = "POST"
181
+ return self._make_request(
182
+ url=f"{server_path_prefix}/api.v1.IPService/Update",
183
+ ctx=ctx,
184
+ request=request,
185
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse,
186
+ method=method,
187
+ **kwargs,
188
+ )
189
+
190
+ def List(
191
+ self,
192
+ request: api_dot_v1_dot_ip__pb2.IPServiceListRequest,
193
+ *,
194
+ ctx: Optional[ClientContext] = None,
195
+ server_path_prefix: str = "",
196
+ **kwargs,
197
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceListResponse:
198
+ method = "POST"
199
+ return self._make_request(
200
+ url=f"{server_path_prefix}/api.v1.IPService/List",
201
+ ctx=ctx,
202
+ request=request,
203
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceListResponse,
204
+ method=method,
205
+ **kwargs,
206
+ )
207
+
208
+ def Delete(
209
+ self,
210
+ request: api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest,
211
+ *,
212
+ ctx: Optional[ClientContext] = None,
213
+ server_path_prefix: str = "",
214
+ **kwargs,
215
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse:
216
+ method = "POST"
217
+ return self._make_request(
218
+ url=f"{server_path_prefix}/api.v1.IPService/Delete",
219
+ ctx=ctx,
220
+ request=request,
221
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse,
222
+ method=method,
223
+ **kwargs,
224
+ )
225
+
226
+
227
+ class AsyncIPServiceClient(AsyncConnecpyClient):
228
+ async def Get(
229
+ self,
230
+ request: api_dot_v1_dot_ip__pb2.IPServiceGetRequest,
231
+ *,
232
+ ctx: Optional[ClientContext] = None,
233
+ server_path_prefix: str = "",
234
+ session: Union[httpx.AsyncClient, None] = None,
235
+ **kwargs,
236
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceGetResponse:
237
+ method = "POST"
238
+ return await self._make_request(
239
+ url=f"{server_path_prefix}/api.v1.IPService/Get",
240
+ ctx=ctx,
241
+ request=request,
242
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceGetResponse,
243
+ method=method,
244
+ session=session,
245
+ **kwargs,
246
+ )
247
+
248
+ async def Allocate(
249
+ self,
250
+ request: api_dot_v1_dot_ip__pb2.IPServiceAllocateRequest,
251
+ *,
252
+ ctx: Optional[ClientContext] = None,
253
+ server_path_prefix: str = "",
254
+ session: Union[httpx.AsyncClient, None] = None,
255
+ **kwargs,
256
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse:
257
+ method = "POST"
258
+ return await self._make_request(
259
+ url=f"{server_path_prefix}/api.v1.IPService/Allocate",
260
+ ctx=ctx,
261
+ request=request,
262
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceAllocateResponse,
263
+ method=method,
264
+ session=session,
265
+ **kwargs,
266
+ )
267
+
268
+ async def Update(
269
+ self,
270
+ request: api_dot_v1_dot_ip__pb2.IPServiceUpdateRequest,
271
+ *,
272
+ ctx: Optional[ClientContext] = None,
273
+ server_path_prefix: str = "",
274
+ session: Union[httpx.AsyncClient, None] = None,
275
+ **kwargs,
276
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse:
277
+ method = "POST"
278
+ return await self._make_request(
279
+ url=f"{server_path_prefix}/api.v1.IPService/Update",
280
+ ctx=ctx,
281
+ request=request,
282
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceUpdateResponse,
283
+ method=method,
284
+ session=session,
285
+ **kwargs,
286
+ )
287
+
288
+ async def List(
289
+ self,
290
+ request: api_dot_v1_dot_ip__pb2.IPServiceListRequest,
291
+ *,
292
+ ctx: Optional[ClientContext] = None,
293
+ server_path_prefix: str = "",
294
+ session: Union[httpx.AsyncClient, None] = None,
295
+ **kwargs,
296
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceListResponse:
297
+ method = "POST"
298
+ return await self._make_request(
299
+ url=f"{server_path_prefix}/api.v1.IPService/List",
300
+ ctx=ctx,
301
+ request=request,
302
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceListResponse,
303
+ method=method,
304
+ session=session,
305
+ **kwargs,
306
+ )
307
+
308
+ async def Delete(
309
+ self,
310
+ request: api_dot_v1_dot_ip__pb2.IPServiceDeleteRequest,
311
+ *,
312
+ ctx: Optional[ClientContext] = None,
313
+ server_path_prefix: str = "",
314
+ session: Union[httpx.AsyncClient, None] = None,
315
+ **kwargs,
316
+ ) -> api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse:
317
+ method = "POST"
318
+ return await self._make_request(
319
+ url=f"{server_path_prefix}/api.v1.IPService/Delete",
320
+ ctx=ctx,
321
+ request=request,
322
+ response_class=api_dot_v1_dot_ip__pb2.IPServiceDeleteResponse,
323
+ method=method,
324
+ session=session,
325
+ **kwargs,
326
+ )
@@ -0,0 +1,110 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: api/v1/ip.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
+ 'api/v1/ip.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from metalstackcloud.api.v1 import common_pb2 as api_dot_v1_dot_common__pb2
26
+ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
27
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x61pi/v1/ip.proto\x12\x06\x61pi.v1\x1a\x13\x61pi/v1/common.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x03\n\x02IP\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x17\n\x02ip\x18\x02 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12*\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01R\x0b\x64\x65scription\x12$\n\x07network\x18\x05 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07network\x12\"\n\x07project\x18\x06 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12,\n\x04type\x18\x07 \x01(\x0e\x32\x0e.api.v1.IPTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12\x1c\n\x04tags\x18\x08 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x04tags\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x39\n\ndeleted_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tdeletedAt\"Y\n\x13IPServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"\xc2\x01\n\x18IPServiceAllocateRequest\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12*\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01R\x0b\x64\x65scription\x12\x1c\n\x04tags\x18\x08 \x03(\tB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x04tags\x12\x16\n\x06static\x18\t \x01(\x08R\x06static\"Z\n\x16IPServiceUpdateRequest\x12$\n\x07project\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\x12\x1a\n\x02ip\x18\x02 \x01(\x0b\x32\n.api.v1.IPR\x02ip\"<\n\x14IPServiceListRequest\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"\\\n\x16IPServiceDeleteRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12$\n\x07project\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07project\"2\n\x14IPServiceGetResponse\x12\x1a\n\x02ip\x18\x01 \x01(\x0b\x32\n.api.v1.IPR\x02ip\"5\n\x17IPServiceUpdateResponse\x12\x1a\n\x02ip\x18\x01 \x01(\x0b\x32\n.api.v1.IPR\x02ip\"7\n\x19IPServiceAllocateResponse\x12\x1a\n\x02ip\x18\x01 \x01(\x0b\x32\n.api.v1.IPR\x02ip\"5\n\x15IPServiceListResponse\x12\x1c\n\x03ips\x18\x01 \x03(\x0b\x32\n.api.v1.IPR\x03ips\"5\n\x17IPServiceDeleteResponse\x12\x1a\n\x02ip\x18\x01 \x01(\x0b\x32\n.api.v1.IPR\x02ip*L\n\x06IPType\x12\x17\n\x13IP_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11IP_TYPE_EPHEMERAL\x10\x01\x12\x12\n\x0eIP_TYPE_STATIC\x10\x02\x32\xb3\x03\n\tIPService\x12M\n\x03Get\x12\x1b.api.v1.IPServiceGetRequest\x1a\x1c.api.v1.IPServiceGetResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe8\xf3\x18\x02\x12[\n\x08\x41llocate\x12 .api.v1.IPServiceAllocateRequest\x1a!.api.v1.IPServiceAllocateResponse\"\n\xca\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12U\n\x06Update\x12\x1e.api.v1.IPServiceUpdateRequest\x1a\x1f.api.v1.IPServiceUpdateResponse\"\n\xca\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12P\n\x04List\x12\x1c.api.v1.IPServiceListRequest\x1a\x1d.api.v1.IPServiceListResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe8\xf3\x18\x02\x12Q\n\x06\x44\x65lete\x12\x1e.api.v1.IPServiceDeleteRequest\x1a\x1f.api.v1.IPServiceDeleteResponse\"\x06\xca\xf3\x18\x02\x01\x02\x42\x80\x01\n\ncom.api.v1B\x07IpProtoP\x01Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\xa2\x02\x03\x41XX\xaa\x02\x06\x41pi.V1\xca\x02\x06\x41pi\\V1\xe2\x02\x12\x41pi\\V1\\GPBMetadata\xea\x02\x07\x41pi::V1b\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api.v1.ip_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n\ncom.api.v1B\007IpProtoP\001Z0github.com/metal-stack-cloud/api/go/api/v1;apiv1\242\002\003AXX\252\002\006Api.V1\312\002\006Api\\V1\342\002\022Api\\V1\\GPBMetadata\352\002\007Api::V1'
38
+ _globals['_IP'].fields_by_name['uuid']._loaded_options = None
39
+ _globals['_IP'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
40
+ _globals['_IP'].fields_by_name['ip']._loaded_options = None
41
+ _globals['_IP'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
42
+ _globals['_IP'].fields_by_name['name']._loaded_options = None
43
+ _globals['_IP'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
44
+ _globals['_IP'].fields_by_name['description']._loaded_options = None
45
+ _globals['_IP'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
46
+ _globals['_IP'].fields_by_name['network']._loaded_options = None
47
+ _globals['_IP'].fields_by_name['network']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
48
+ _globals['_IP'].fields_by_name['project']._loaded_options = None
49
+ _globals['_IP'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
50
+ _globals['_IP'].fields_by_name['type']._loaded_options = None
51
+ _globals['_IP'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
52
+ _globals['_IP'].fields_by_name['tags']._loaded_options = None
53
+ _globals['_IP'].fields_by_name['tags']._serialized_options = b'\272H\005\222\001\002\020d'
54
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['uuid']._loaded_options = None
55
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
56
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['project']._loaded_options = None
57
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
58
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['project']._loaded_options = None
59
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
60
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['name']._loaded_options = None
61
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
62
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['description']._loaded_options = None
63
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
64
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['tags']._loaded_options = None
65
+ _globals['_IPSERVICEALLOCATEREQUEST'].fields_by_name['tags']._serialized_options = b'\272H\005\222\001\002\020d'
66
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['project']._loaded_options = None
67
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
68
+ _globals['_IPSERVICELISTREQUEST'].fields_by_name['project']._loaded_options = None
69
+ _globals['_IPSERVICELISTREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
70
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['uuid']._loaded_options = None
71
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
72
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['project']._loaded_options = None
73
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
74
+ _globals['_IPSERVICE'].methods_by_name['Get']._loaded_options = None
75
+ _globals['_IPSERVICE'].methods_by_name['Get']._serialized_options = b'\312\363\030\003\001\002\003\350\363\030\002'
76
+ _globals['_IPSERVICE'].methods_by_name['Allocate']._loaded_options = None
77
+ _globals['_IPSERVICE'].methods_by_name['Allocate']._serialized_options = b'\312\363\030\002\001\002\340\363\030\001'
78
+ _globals['_IPSERVICE'].methods_by_name['Update']._loaded_options = None
79
+ _globals['_IPSERVICE'].methods_by_name['Update']._serialized_options = b'\312\363\030\002\001\002\340\363\030\001'
80
+ _globals['_IPSERVICE'].methods_by_name['List']._loaded_options = None
81
+ _globals['_IPSERVICE'].methods_by_name['List']._serialized_options = b'\312\363\030\003\001\002\003\350\363\030\002'
82
+ _globals['_IPSERVICE'].methods_by_name['Delete']._loaded_options = None
83
+ _globals['_IPSERVICE'].methods_by_name['Delete']._serialized_options = b'\312\363\030\002\001\002'
84
+ _globals['_IPTYPE']._serialized_start=1385
85
+ _globals['_IPTYPE']._serialized_end=1461
86
+ _globals['_IP']._serialized_start=111
87
+ _globals['_IP']._serialized_end=573
88
+ _globals['_IPSERVICEGETREQUEST']._serialized_start=575
89
+ _globals['_IPSERVICEGETREQUEST']._serialized_end=664
90
+ _globals['_IPSERVICEALLOCATEREQUEST']._serialized_start=667
91
+ _globals['_IPSERVICEALLOCATEREQUEST']._serialized_end=861
92
+ _globals['_IPSERVICEUPDATEREQUEST']._serialized_start=863
93
+ _globals['_IPSERVICEUPDATEREQUEST']._serialized_end=953
94
+ _globals['_IPSERVICELISTREQUEST']._serialized_start=955
95
+ _globals['_IPSERVICELISTREQUEST']._serialized_end=1015
96
+ _globals['_IPSERVICEDELETEREQUEST']._serialized_start=1017
97
+ _globals['_IPSERVICEDELETEREQUEST']._serialized_end=1109
98
+ _globals['_IPSERVICEGETRESPONSE']._serialized_start=1111
99
+ _globals['_IPSERVICEGETRESPONSE']._serialized_end=1161
100
+ _globals['_IPSERVICEUPDATERESPONSE']._serialized_start=1163
101
+ _globals['_IPSERVICEUPDATERESPONSE']._serialized_end=1216
102
+ _globals['_IPSERVICEALLOCATERESPONSE']._serialized_start=1218
103
+ _globals['_IPSERVICEALLOCATERESPONSE']._serialized_end=1273
104
+ _globals['_IPSERVICELISTRESPONSE']._serialized_start=1275
105
+ _globals['_IPSERVICELISTRESPONSE']._serialized_end=1328
106
+ _globals['_IPSERVICEDELETERESPONSE']._serialized_start=1330
107
+ _globals['_IPSERVICEDELETERESPONSE']._serialized_end=1383
108
+ _globals['_IPSERVICE']._serialized_start=1464
109
+ _globals['_IPSERVICE']._serialized_end=1899
110
+ # @@protoc_insertion_point(module_scope)