metal-stack-api 0.0.51__tar.gz → 0.0.52__tar.gz
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.
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/PKG-INFO +1 -1
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metal_stack_api.egg-info/PKG-INFO +1 -1
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metal_stack_api.egg-info/SOURCES.txt +6 -0
- metal_stack_api-0.0.52/metalstack/admin/v2/size_imageconstraint_connect.py +380 -0
- metal_stack_api-0.0.52/metalstack/admin/v2/size_imageconstraint_pb2.py +89 -0
- metal_stack_api-0.0.52/metalstack/admin/v2/size_imageconstraint_pb2.pyi +87 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/machine_pb2.py +116 -108
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/machine_pb2.pyi +10 -2
- metal_stack_api-0.0.52/metalstack/api/v2/size_imageconstraint_connect.py +120 -0
- metal_stack_api-0.0.52/metalstack/api/v2/size_imageconstraint_pb2.py +72 -0
- metal_stack_api-0.0.52/metalstack/api/v2/size_imageconstraint_pb2.pyi +54 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_pb2.py +19 -19
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/client/client.py +8 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/README.md +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metal_stack_api.egg-info/dependency_links.txt +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metal_stack_api.egg-info/requires.txt +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metal_stack_api.egg-info/top_level.txt +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/component_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/component_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/filesystem_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/filesystem_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/image_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/image_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/ip_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/machine_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/machine_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/machine_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/network_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/network_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/partition_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/project_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/project_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/project_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_reservation_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_reservation_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/size_reservation_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/switch_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/task_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/task_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/task_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/tenant_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/token_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/token_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/token_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/vpn_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/vpn_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/admin/v2/vpn_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/common_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/common_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/component_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/filesystem_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/filesystem_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/health_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/health_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/health_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/image_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/image_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/ip_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/machine_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/method_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/method_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/method_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/network_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/network_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/network_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/partition_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/predefined_rules_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/predefined_rules_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/project_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/project_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/project_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_reservation_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_reservation_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/size_reservation_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/tenant_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/token_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/token_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/token_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/user_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/user_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/user_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/version_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/version_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/version_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/vpn_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/api/v2/vpn_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/client/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/__init__.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/bmc_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/bmc_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/boot_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/boot_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/boot_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/component_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/component_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/component_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/event_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/event_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/event_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/switch_connect.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/metalstack/infra/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/setup.cfg +0 -0
- {metal_stack_api-0.0.51 → metal_stack_api-0.0.52}/setup.py +0 -0
|
@@ -33,6 +33,9 @@ metalstack/admin/v2/project_connect.py
|
|
|
33
33
|
metalstack/admin/v2/project_pb2.py
|
|
34
34
|
metalstack/admin/v2/project_pb2.pyi
|
|
35
35
|
metalstack/admin/v2/size_connect.py
|
|
36
|
+
metalstack/admin/v2/size_imageconstraint_connect.py
|
|
37
|
+
metalstack/admin/v2/size_imageconstraint_pb2.py
|
|
38
|
+
metalstack/admin/v2/size_imageconstraint_pb2.pyi
|
|
36
39
|
metalstack/admin/v2/size_pb2.py
|
|
37
40
|
metalstack/admin/v2/size_pb2.pyi
|
|
38
41
|
metalstack/admin/v2/size_reservation_connect.py
|
|
@@ -89,6 +92,9 @@ metalstack/api/v2/project_connect.py
|
|
|
89
92
|
metalstack/api/v2/project_pb2.py
|
|
90
93
|
metalstack/api/v2/project_pb2.pyi
|
|
91
94
|
metalstack/api/v2/size_connect.py
|
|
95
|
+
metalstack/api/v2/size_imageconstraint_connect.py
|
|
96
|
+
metalstack/api/v2/size_imageconstraint_pb2.py
|
|
97
|
+
metalstack/api/v2/size_imageconstraint_pb2.pyi
|
|
92
98
|
metalstack/api/v2/size_pb2.py
|
|
93
99
|
metalstack/api/v2/size_pb2.pyi
|
|
94
100
|
metalstack/api/v2/size_reservation_connect.py
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
|
|
3
|
+
# source: metalstack/admin/v2/size_imageconstraint.proto
|
|
4
|
+
|
|
5
|
+
from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
|
|
6
|
+
from typing import Protocol
|
|
7
|
+
|
|
8
|
+
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
|
+
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.errors import ConnectError
|
|
11
|
+
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
|
+
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
13
|
+
from connectrpc.request import Headers, RequestContext
|
|
14
|
+
from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, Endpoint, EndpointSync
|
|
15
|
+
import metalstack.admin.v2.size_imageconstraint_pb2 as metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class SizeImageConstraintService(Protocol):
|
|
19
|
+
async def create(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
|
|
20
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
21
|
+
|
|
22
|
+
async def update(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
|
|
23
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
24
|
+
|
|
25
|
+
async def delete(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
|
|
26
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
27
|
+
|
|
28
|
+
async def get(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
|
|
29
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
30
|
+
|
|
31
|
+
async def list(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
|
|
32
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class SizeImageConstraintServiceASGIApplication(ConnectASGIApplication[SizeImageConstraintService]):
|
|
36
|
+
def __init__(self, service: SizeImageConstraintService | AsyncGenerator[SizeImageConstraintService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
37
|
+
super().__init__(
|
|
38
|
+
service=service,
|
|
39
|
+
endpoints=lambda svc: {
|
|
40
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Create": Endpoint.unary(
|
|
41
|
+
method=MethodInfo(
|
|
42
|
+
name="Create",
|
|
43
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
44
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
45
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
|
|
46
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
47
|
+
),
|
|
48
|
+
function=svc.create,
|
|
49
|
+
),
|
|
50
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Update": Endpoint.unary(
|
|
51
|
+
method=MethodInfo(
|
|
52
|
+
name="Update",
|
|
53
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
54
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
55
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
|
|
56
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
57
|
+
),
|
|
58
|
+
function=svc.update,
|
|
59
|
+
),
|
|
60
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Delete": Endpoint.unary(
|
|
61
|
+
method=MethodInfo(
|
|
62
|
+
name="Delete",
|
|
63
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
64
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
65
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
|
|
66
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
67
|
+
),
|
|
68
|
+
function=svc.delete,
|
|
69
|
+
),
|
|
70
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Get": Endpoint.unary(
|
|
71
|
+
method=MethodInfo(
|
|
72
|
+
name="Get",
|
|
73
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
74
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
75
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
|
|
76
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
77
|
+
),
|
|
78
|
+
function=svc.get,
|
|
79
|
+
),
|
|
80
|
+
"/metalstack.admin.v2.SizeImageConstraintService/List": Endpoint.unary(
|
|
81
|
+
method=MethodInfo(
|
|
82
|
+
name="List",
|
|
83
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
84
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
85
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
|
|
86
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
87
|
+
),
|
|
88
|
+
function=svc.list,
|
|
89
|
+
),
|
|
90
|
+
},
|
|
91
|
+
interceptors=interceptors,
|
|
92
|
+
read_max_bytes=read_max_bytes,
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def path(self) -> str:
|
|
97
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
98
|
+
return "/metalstack.admin.v2.SizeImageConstraintService"
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
class SizeImageConstraintServiceClient(ConnectClient):
|
|
102
|
+
async def create(
|
|
103
|
+
self,
|
|
104
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
105
|
+
*,
|
|
106
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
107
|
+
timeout_ms: int | None = None,
|
|
108
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
|
|
109
|
+
return await self.execute_unary(
|
|
110
|
+
request=request,
|
|
111
|
+
method=MethodInfo(
|
|
112
|
+
name="Create",
|
|
113
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
114
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
115
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
|
|
116
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
117
|
+
),
|
|
118
|
+
headers=headers,
|
|
119
|
+
timeout_ms=timeout_ms,
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
async def update(
|
|
123
|
+
self,
|
|
124
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
125
|
+
*,
|
|
126
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
127
|
+
timeout_ms: int | None = None,
|
|
128
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
|
|
129
|
+
return await self.execute_unary(
|
|
130
|
+
request=request,
|
|
131
|
+
method=MethodInfo(
|
|
132
|
+
name="Update",
|
|
133
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
134
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
135
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
|
|
136
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
137
|
+
),
|
|
138
|
+
headers=headers,
|
|
139
|
+
timeout_ms=timeout_ms,
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
async def delete(
|
|
143
|
+
self,
|
|
144
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
145
|
+
*,
|
|
146
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
147
|
+
timeout_ms: int | None = None,
|
|
148
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
|
|
149
|
+
return await self.execute_unary(
|
|
150
|
+
request=request,
|
|
151
|
+
method=MethodInfo(
|
|
152
|
+
name="Delete",
|
|
153
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
154
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
155
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
|
|
156
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
157
|
+
),
|
|
158
|
+
headers=headers,
|
|
159
|
+
timeout_ms=timeout_ms,
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
async def get(
|
|
163
|
+
self,
|
|
164
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
165
|
+
*,
|
|
166
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
167
|
+
timeout_ms: int | None = None,
|
|
168
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
|
|
169
|
+
return await self.execute_unary(
|
|
170
|
+
request=request,
|
|
171
|
+
method=MethodInfo(
|
|
172
|
+
name="Get",
|
|
173
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
174
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
175
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
|
|
176
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
177
|
+
),
|
|
178
|
+
headers=headers,
|
|
179
|
+
timeout_ms=timeout_ms,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
async def list(
|
|
183
|
+
self,
|
|
184
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
185
|
+
*,
|
|
186
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
187
|
+
timeout_ms: int | None = None,
|
|
188
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
|
|
189
|
+
return await self.execute_unary(
|
|
190
|
+
request=request,
|
|
191
|
+
method=MethodInfo(
|
|
192
|
+
name="List",
|
|
193
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
194
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
195
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
|
|
196
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
197
|
+
),
|
|
198
|
+
headers=headers,
|
|
199
|
+
timeout_ms=timeout_ms,
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class SizeImageConstraintServiceSync(Protocol):
|
|
204
|
+
def create(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
|
|
205
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
206
|
+
def update(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
|
|
207
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
208
|
+
def delete(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
|
|
209
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
210
|
+
def get(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
|
|
211
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
212
|
+
def list(self, request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
|
|
213
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
class SizeImageConstraintServiceWSGIApplication(ConnectWSGIApplication):
|
|
217
|
+
def __init__(self, service: SizeImageConstraintServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
218
|
+
super().__init__(
|
|
219
|
+
endpoints={
|
|
220
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Create": EndpointSync.unary(
|
|
221
|
+
method=MethodInfo(
|
|
222
|
+
name="Create",
|
|
223
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
224
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
225
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
|
|
226
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
227
|
+
),
|
|
228
|
+
function=service.create,
|
|
229
|
+
),
|
|
230
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Update": EndpointSync.unary(
|
|
231
|
+
method=MethodInfo(
|
|
232
|
+
name="Update",
|
|
233
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
234
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
235
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
|
|
236
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
237
|
+
),
|
|
238
|
+
function=service.update,
|
|
239
|
+
),
|
|
240
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Delete": EndpointSync.unary(
|
|
241
|
+
method=MethodInfo(
|
|
242
|
+
name="Delete",
|
|
243
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
244
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
245
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
|
|
246
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
247
|
+
),
|
|
248
|
+
function=service.delete,
|
|
249
|
+
),
|
|
250
|
+
"/metalstack.admin.v2.SizeImageConstraintService/Get": EndpointSync.unary(
|
|
251
|
+
method=MethodInfo(
|
|
252
|
+
name="Get",
|
|
253
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
254
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
255
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
|
|
256
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
257
|
+
),
|
|
258
|
+
function=service.get,
|
|
259
|
+
),
|
|
260
|
+
"/metalstack.admin.v2.SizeImageConstraintService/List": EndpointSync.unary(
|
|
261
|
+
method=MethodInfo(
|
|
262
|
+
name="List",
|
|
263
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
264
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
265
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
|
|
266
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
267
|
+
),
|
|
268
|
+
function=service.list,
|
|
269
|
+
),
|
|
270
|
+
},
|
|
271
|
+
interceptors=interceptors,
|
|
272
|
+
read_max_bytes=read_max_bytes,
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
def path(self) -> str:
|
|
277
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
278
|
+
return "/metalstack.admin.v2.SizeImageConstraintService"
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
class SizeImageConstraintServiceClientSync(ConnectClientSync):
|
|
282
|
+
def create(
|
|
283
|
+
self,
|
|
284
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
285
|
+
*,
|
|
286
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
287
|
+
timeout_ms: int | None = None,
|
|
288
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse:
|
|
289
|
+
return self.execute_unary(
|
|
290
|
+
request=request,
|
|
291
|
+
method=MethodInfo(
|
|
292
|
+
name="Create",
|
|
293
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
294
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateRequest,
|
|
295
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceCreateResponse,
|
|
296
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
297
|
+
),
|
|
298
|
+
headers=headers,
|
|
299
|
+
timeout_ms=timeout_ms,
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
def update(
|
|
303
|
+
self,
|
|
304
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
305
|
+
*,
|
|
306
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
307
|
+
timeout_ms: int | None = None,
|
|
308
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse:
|
|
309
|
+
return self.execute_unary(
|
|
310
|
+
request=request,
|
|
311
|
+
method=MethodInfo(
|
|
312
|
+
name="Update",
|
|
313
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
314
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateRequest,
|
|
315
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceUpdateResponse,
|
|
316
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
317
|
+
),
|
|
318
|
+
headers=headers,
|
|
319
|
+
timeout_ms=timeout_ms,
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
def delete(
|
|
323
|
+
self,
|
|
324
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
325
|
+
*,
|
|
326
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
327
|
+
timeout_ms: int | None = None,
|
|
328
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse:
|
|
329
|
+
return self.execute_unary(
|
|
330
|
+
request=request,
|
|
331
|
+
method=MethodInfo(
|
|
332
|
+
name="Delete",
|
|
333
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
334
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteRequest,
|
|
335
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceDeleteResponse,
|
|
336
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
337
|
+
),
|
|
338
|
+
headers=headers,
|
|
339
|
+
timeout_ms=timeout_ms,
|
|
340
|
+
)
|
|
341
|
+
|
|
342
|
+
def get(
|
|
343
|
+
self,
|
|
344
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
345
|
+
*,
|
|
346
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
347
|
+
timeout_ms: int | None = None,
|
|
348
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse:
|
|
349
|
+
return self.execute_unary(
|
|
350
|
+
request=request,
|
|
351
|
+
method=MethodInfo(
|
|
352
|
+
name="Get",
|
|
353
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
354
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetRequest,
|
|
355
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceGetResponse,
|
|
356
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
357
|
+
),
|
|
358
|
+
headers=headers,
|
|
359
|
+
timeout_ms=timeout_ms,
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
def list(
|
|
363
|
+
self,
|
|
364
|
+
request: metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
365
|
+
*,
|
|
366
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
367
|
+
timeout_ms: int | None = None,
|
|
368
|
+
) -> metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse:
|
|
369
|
+
return self.execute_unary(
|
|
370
|
+
request=request,
|
|
371
|
+
method=MethodInfo(
|
|
372
|
+
name="List",
|
|
373
|
+
service_name="metalstack.admin.v2.SizeImageConstraintService",
|
|
374
|
+
input=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListRequest,
|
|
375
|
+
output=metalstack_dot_admin_dot_v2_dot_size__imageconstraint__pb2.SizeImageConstraintServiceListResponse,
|
|
376
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
377
|
+
),
|
|
378
|
+
headers=headers,
|
|
379
|
+
timeout_ms=timeout_ms,
|
|
380
|
+
)
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: metalstack/admin/v2/size_imageconstraint.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
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
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'metalstack/admin/v2/size_imageconstraint.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
27
|
+
from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
|
|
28
|
+
from metalstack.api.v2 import size_imageconstraint_pb2 as metalstack_dot_api_dot_v2_dot_size__imageconstraint__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.metalstack/admin/v2/size_imageconstraint.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\x1a,metalstack/api/v2/size_imageconstraint.proto\"\xbb\x02\n\'SizeImageConstraintServiceCreateRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12O\n\x11image_constraints\x18\x02 \x03(\x0b\x32\".metalstack.api.v2.ImageConstraintR\x10imageConstraints\x12+\n\x04meta\x18\x03 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x86\x01\n(SizeImageConstraintServiceCreateResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"\xd6\x02\n\'SizeImageConstraintServiceUpdateRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12O\n\x11image_constraints\x18\x03 \x03(\x0b\x32\".metalstack.api.v2.ImageConstraintR\x10imageConstraints\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"\x86\x01\n(SizeImageConstraintServiceUpdateResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"J\n\'SizeImageConstraintServiceDeleteRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\"\x86\x01\n(SizeImageConstraintServiceDeleteResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"G\n$SizeImageConstraintServiceGetRequest\x12\x1f\n\x04size\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x04size\"\x83\x01\n%SizeImageConstraintServiceGetResponse\x12Z\n\x15size_image_constraint\x18\x01 \x01(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x13sizeImageConstraint\"j\n%SizeImageConstraintServiceListRequest\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32+.metalstack.api.v2.SizeImageConstraintQueryR\x05query\"\x86\x01\n&SizeImageConstraintServiceListResponse\x12\\\n\x16size_image_constraints\x18\x01 \x03(\x0b\x32&.metalstack.api.v2.SizeImageConstraintR\x14sizeImageConstraints2\xee\x05\n\x1aSizeImageConstraintService\x12\x90\x01\n\x06\x43reate\x12<.metalstack.admin.v2.SizeImageConstraintServiceCreateRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x90\x01\n\x06Update\x12<.metalstack.admin.v2.SizeImageConstraintServiceUpdateRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x90\x01\n\x06\x44\x65lete\x12<.metalstack.admin.v2.SizeImageConstraintServiceDeleteRequest\x1a=.metalstack.admin.v2.SizeImageConstraintServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x88\x01\n\x03Get\x12\x39.metalstack.admin.v2.SizeImageConstraintServiceGetRequest\x1a:.metalstack.admin.v2.SizeImageConstraintServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12\x8b\x01\n\x04List\x12:.metalstack.admin.v2.SizeImageConstraintServiceListRequest\x1a;.metalstack.admin.v2.SizeImageConstraintServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xdc\x01\n\x17\x63om.metalstack.admin.v2B\x18SizeImageconstraintProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.size_imageconstraint_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\030SizeImageconstraintProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
|
|
39
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['size']._loaded_options = None
|
|
40
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
41
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
42
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
43
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
44
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
45
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['size']._loaded_options = None
|
|
46
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
47
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
48
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
49
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
50
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
51
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
52
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
53
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST'].fields_by_name['size']._loaded_options = None
|
|
54
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
55
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST'].fields_by_name['size']._loaded_options = None
|
|
56
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST'].fields_by_name['size']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
57
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
58
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
59
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
60
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
61
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
62
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
63
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
64
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['Get']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
|
|
65
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['List']._loaded_options = None
|
|
66
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE'].methods_by_name['List']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
|
|
67
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST']._serialized_start=221
|
|
68
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATEREQUEST']._serialized_end=536
|
|
69
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATERESPONSE']._serialized_start=539
|
|
70
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICECREATERESPONSE']._serialized_end=673
|
|
71
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST']._serialized_start=676
|
|
72
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATEREQUEST']._serialized_end=1018
|
|
73
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATERESPONSE']._serialized_start=1021
|
|
74
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEUPDATERESPONSE']._serialized_end=1155
|
|
75
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST']._serialized_start=1157
|
|
76
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETEREQUEST']._serialized_end=1231
|
|
77
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETERESPONSE']._serialized_start=1234
|
|
78
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEDELETERESPONSE']._serialized_end=1368
|
|
79
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST']._serialized_start=1370
|
|
80
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETREQUEST']._serialized_end=1441
|
|
81
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETRESPONSE']._serialized_start=1444
|
|
82
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICEGETRESPONSE']._serialized_end=1575
|
|
83
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICELISTREQUEST']._serialized_start=1577
|
|
84
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICELISTREQUEST']._serialized_end=1683
|
|
85
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICELISTRESPONSE']._serialized_start=1686
|
|
86
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICELISTRESPONSE']._serialized_end=1820
|
|
87
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE']._serialized_start=1823
|
|
88
|
+
_globals['_SIZEIMAGECONSTRAINTSERVICE']._serialized_end=2573
|
|
89
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
3
|
+
from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
|
|
4
|
+
from metalstack.api.v2 import size_imageconstraint_pb2 as _size_imageconstraint_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
9
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
|
+
|
|
13
|
+
class SizeImageConstraintServiceCreateRequest(_message.Message):
|
|
14
|
+
__slots__ = ("size", "image_constraints", "meta", "name", "description")
|
|
15
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
IMAGE_CONSTRAINTS_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
META_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
size: str
|
|
21
|
+
image_constraints: _containers.RepeatedCompositeFieldContainer[_size_imageconstraint_pb2.ImageConstraint]
|
|
22
|
+
meta: _common_pb2.Meta
|
|
23
|
+
name: str
|
|
24
|
+
description: str
|
|
25
|
+
def __init__(self, size: _Optional[str] = ..., image_constraints: _Optional[_Iterable[_Union[_size_imageconstraint_pb2.ImageConstraint, _Mapping]]] = ..., meta: _Optional[_Union[_common_pb2.Meta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
26
|
+
|
|
27
|
+
class SizeImageConstraintServiceCreateResponse(_message.Message):
|
|
28
|
+
__slots__ = ("size_image_constraint",)
|
|
29
|
+
SIZE_IMAGE_CONSTRAINT_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
size_image_constraint: _size_imageconstraint_pb2.SizeImageConstraint
|
|
31
|
+
def __init__(self, size_image_constraint: _Optional[_Union[_size_imageconstraint_pb2.SizeImageConstraint, _Mapping]] = ...) -> None: ...
|
|
32
|
+
|
|
33
|
+
class SizeImageConstraintServiceUpdateRequest(_message.Message):
|
|
34
|
+
__slots__ = ("size", "update_meta", "image_constraints", "name", "description")
|
|
35
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
IMAGE_CONSTRAINTS_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
size: str
|
|
41
|
+
update_meta: _common_pb2.UpdateMeta
|
|
42
|
+
image_constraints: _containers.RepeatedCompositeFieldContainer[_size_imageconstraint_pb2.ImageConstraint]
|
|
43
|
+
name: str
|
|
44
|
+
description: str
|
|
45
|
+
def __init__(self, size: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., image_constraints: _Optional[_Iterable[_Union[_size_imageconstraint_pb2.ImageConstraint, _Mapping]]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class SizeImageConstraintServiceUpdateResponse(_message.Message):
|
|
48
|
+
__slots__ = ("size_image_constraint",)
|
|
49
|
+
SIZE_IMAGE_CONSTRAINT_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
size_image_constraint: _size_imageconstraint_pb2.SizeImageConstraint
|
|
51
|
+
def __init__(self, size_image_constraint: _Optional[_Union[_size_imageconstraint_pb2.SizeImageConstraint, _Mapping]] = ...) -> None: ...
|
|
52
|
+
|
|
53
|
+
class SizeImageConstraintServiceDeleteRequest(_message.Message):
|
|
54
|
+
__slots__ = ("size",)
|
|
55
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
size: str
|
|
57
|
+
def __init__(self, size: _Optional[str] = ...) -> None: ...
|
|
58
|
+
|
|
59
|
+
class SizeImageConstraintServiceDeleteResponse(_message.Message):
|
|
60
|
+
__slots__ = ("size_image_constraint",)
|
|
61
|
+
SIZE_IMAGE_CONSTRAINT_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
size_image_constraint: _size_imageconstraint_pb2.SizeImageConstraint
|
|
63
|
+
def __init__(self, size_image_constraint: _Optional[_Union[_size_imageconstraint_pb2.SizeImageConstraint, _Mapping]] = ...) -> None: ...
|
|
64
|
+
|
|
65
|
+
class SizeImageConstraintServiceGetRequest(_message.Message):
|
|
66
|
+
__slots__ = ("size",)
|
|
67
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
size: str
|
|
69
|
+
def __init__(self, size: _Optional[str] = ...) -> None: ...
|
|
70
|
+
|
|
71
|
+
class SizeImageConstraintServiceGetResponse(_message.Message):
|
|
72
|
+
__slots__ = ("size_image_constraint",)
|
|
73
|
+
SIZE_IMAGE_CONSTRAINT_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
size_image_constraint: _size_imageconstraint_pb2.SizeImageConstraint
|
|
75
|
+
def __init__(self, size_image_constraint: _Optional[_Union[_size_imageconstraint_pb2.SizeImageConstraint, _Mapping]] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class SizeImageConstraintServiceListRequest(_message.Message):
|
|
78
|
+
__slots__ = ("query",)
|
|
79
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
query: _size_imageconstraint_pb2.SizeImageConstraintQuery
|
|
81
|
+
def __init__(self, query: _Optional[_Union[_size_imageconstraint_pb2.SizeImageConstraintQuery, _Mapping]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class SizeImageConstraintServiceListResponse(_message.Message):
|
|
84
|
+
__slots__ = ("size_image_constraints",)
|
|
85
|
+
SIZE_IMAGE_CONSTRAINTS_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
size_image_constraints: _containers.RepeatedCompositeFieldContainer[_size_imageconstraint_pb2.SizeImageConstraint]
|
|
87
|
+
def __init__(self, size_image_constraints: _Optional[_Iterable[_Union[_size_imageconstraint_pb2.SizeImageConstraint, _Mapping]]] = ...) -> None: ...
|