elements-api 2025.11.4__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.
- elements_api/__init__.py +8 -0
- elements_api/async_client.py +43 -0
- elements_api/async_interceptors.py +105 -0
- elements_api/elements_base_api.py +454 -0
- elements_api/models/__init__.py +47 -0
- elements_api/models/algorithm_computation_execution_pb2.py +48 -0
- elements_api/models/algorithm_computation_execution_pb2.pyi +84 -0
- elements_api/models/algorithm_computation_pb2.py +61 -0
- elements_api/models/algorithm_computation_pb2.pyi +134 -0
- elements_api/models/algorithm_config_pb2.py +90 -0
- elements_api/models/algorithm_config_pb2.pyi +185 -0
- elements_api/models/algorithm_manifest_pb2.py +43 -0
- elements_api/models/algorithm_manifest_pb2.pyi +25 -0
- elements_api/models/algorithm_pb2.py +57 -0
- elements_api/models/algorithm_pb2.pyi +96 -0
- elements_api/models/algorithm_version_pb2.py +88 -0
- elements_api/models/algorithm_version_pb2.pyi +233 -0
- elements_api/models/analysis_computation_pb2.py +69 -0
- elements_api/models/analysis_computation_pb2.pyi +159 -0
- elements_api/models/analysis_config_pb2.py +127 -0
- elements_api/models/analysis_config_pb2.pyi +180 -0
- elements_api/models/analysis_pb2.py +57 -0
- elements_api/models/analysis_pb2.pyi +98 -0
- elements_api/models/analysis_version_pb2.py +77 -0
- elements_api/models/analysis_version_pb2.pyi +141 -0
- elements_api/models/aoi_catalog_pb2.py +71 -0
- elements_api/models/aoi_catalog_pb2.pyi +162 -0
- elements_api/models/aoi_collection_pb2.py +67 -0
- elements_api/models/aoi_collection_pb2.pyi +146 -0
- elements_api/models/aoi_export_pb2.py +48 -0
- elements_api/models/aoi_export_pb2.pyi +62 -0
- elements_api/models/aoi_pb2.py +66 -0
- elements_api/models/aoi_pb2.pyi +191 -0
- elements_api/models/aoi_transaction_pb2.py +52 -0
- elements_api/models/aoi_transaction_pb2.pyi +56 -0
- elements_api/models/aoi_version_pb2.py +63 -0
- elements_api/models/aoi_version_pb2.pyi +171 -0
- elements_api/models/common_models_pb2.py +36 -0
- elements_api/models/common_models_pb2.pyi +15 -0
- elements_api/models/credit_pb2.py +79 -0
- elements_api/models/credit_pb2.pyi +216 -0
- elements_api/models/data_source_pb2.py +53 -0
- elements_api/models/data_source_pb2.pyi +86 -0
- elements_api/models/data_tracking_pb2.py +60 -0
- elements_api/models/data_tracking_pb2.pyi +127 -0
- elements_api/models/data_type_pb2.py +51 -0
- elements_api/models/data_type_pb2.pyi +74 -0
- elements_api/models/filter_pb2.py +63 -0
- elements_api/models/filter_pb2.pyi +133 -0
- elements_api/models/forgot_password_pb2.py +42 -0
- elements_api/models/forgot_password_pb2.pyi +19 -0
- elements_api/models/notification_pb2.py +82 -0
- elements_api/models/notification_pb2.pyi +180 -0
- elements_api/models/order_pb2.py +68 -0
- elements_api/models/order_pb2.pyi +181 -0
- elements_api/models/order_recommendation_pb2.py +53 -0
- elements_api/models/order_recommendation_pb2.pyi +99 -0
- elements_api/models/permission_pb2.py +84 -0
- elements_api/models/permission_pb2.pyi +177 -0
- elements_api/models/project_analysis_config_pb2.py +154 -0
- elements_api/models/project_analysis_config_pb2.pyi +76 -0
- elements_api/models/project_aoi_pb2.py +66 -0
- elements_api/models/project_aoi_pb2.pyi +118 -0
- elements_api/models/project_collaborator_pb2.py +54 -0
- elements_api/models/project_collaborator_pb2.pyi +74 -0
- elements_api/models/project_filter_pb2.py +55 -0
- elements_api/models/project_filter_pb2.pyi +61 -0
- elements_api/models/project_group_pb2.py +198 -0
- elements_api/models/project_group_pb2.pyi +119 -0
- elements_api/models/project_pb2.py +217 -0
- elements_api/models/project_pb2.pyi +314 -0
- elements_api/models/project_result_pb2.py +123 -0
- elements_api/models/project_result_pb2.pyi +221 -0
- elements_api/models/provider_quotas_pb2.py +42 -0
- elements_api/models/provider_quotas_pb2.pyi +33 -0
- elements_api/models/resource_pb2.py +64 -0
- elements_api/models/resource_pb2.pyi +133 -0
- elements_api/models/result_pb2.py +65 -0
- elements_api/models/result_pb2.pyi +158 -0
- elements_api/models/s3_pb2.py +52 -0
- elements_api/models/s3_pb2.pyi +49 -0
- elements_api/models/subject_pb2.py +36 -0
- elements_api/models/subject_pb2.pyi +11 -0
- elements_api/models/system_pb2.py +47 -0
- elements_api/models/system_pb2.pyi +28 -0
- elements_api/models/tasking_order_pb2.py +75 -0
- elements_api/models/tasking_order_pb2.pyi +156 -0
- elements_api/models/tile_pb2.py +52 -0
- elements_api/models/tile_pb2.pyi +77 -0
- elements_api/models/toi_pb2.py +67 -0
- elements_api/models/toi_pb2.pyi +138 -0
- elements_api/models/token_pb2.py +42 -0
- elements_api/models/token_pb2.pyi +23 -0
- elements_api/models/user_collection_pb2.py +78 -0
- elements_api/models/user_collection_pb2.pyi +172 -0
- elements_api/models/user_pb2.py +86 -0
- elements_api/models/user_pb2.pyi +183 -0
- elements_api/models/visualization_pb2.py +70 -0
- elements_api/models/visualization_pb2.pyi +187 -0
- elements_api/stubs/__init__.py +47 -0
- elements_api/stubs/algorithm_computation_execution_pb2_grpc.py +111 -0
- elements_api/stubs/algorithm_computation_pb2_grpc.py +251 -0
- elements_api/stubs/algorithm_config_pb2_grpc.py +377 -0
- elements_api/stubs/algorithm_manifest_pb2_grpc.py +99 -0
- elements_api/stubs/algorithm_pb2_grpc.py +239 -0
- elements_api/stubs/algorithm_version_pb2_grpc.py +336 -0
- elements_api/stubs/analysis_computation_pb2_grpc.py +239 -0
- elements_api/stubs/analysis_config_pb2_grpc.py +283 -0
- elements_api/stubs/analysis_pb2_grpc.py +192 -0
- elements_api/stubs/analysis_version_pb2_grpc.py +198 -0
- elements_api/stubs/aoi_catalog_pb2_grpc.py +273 -0
- elements_api/stubs/aoi_collection_pb2_grpc.py +327 -0
- elements_api/stubs/aoi_export_pb2_grpc.py +144 -0
- elements_api/stubs/aoi_pb2_grpc.py +241 -0
- elements_api/stubs/aoi_transaction_pb2_grpc.py +145 -0
- elements_api/stubs/aoi_version_pb2_grpc.py +192 -0
- elements_api/stubs/common_models_pb2_grpc.py +24 -0
- elements_api/stubs/credit_pb2_grpc.py +418 -0
- elements_api/stubs/data_source_pb2_grpc.py +144 -0
- elements_api/stubs/data_tracking_pb2_grpc.py +140 -0
- elements_api/stubs/data_type_pb2_grpc.py +189 -0
- elements_api/stubs/filter_pb2_grpc.py +234 -0
- elements_api/stubs/forgot_password_pb2_grpc.py +100 -0
- elements_api/stubs/notification_pb2_grpc.py +414 -0
- elements_api/stubs/order_pb2_grpc.py +279 -0
- elements_api/stubs/order_recommendation_pb2_grpc.py +183 -0
- elements_api/stubs/permission_pb2_grpc.py +282 -0
- elements_api/stubs/project_analysis_config_pb2_grpc.py +99 -0
- elements_api/stubs/project_aoi_pb2_grpc.py +279 -0
- elements_api/stubs/project_collaborator_pb2_grpc.py +189 -0
- elements_api/stubs/project_filter_pb2_grpc.py +144 -0
- elements_api/stubs/project_group_pb2_grpc.py +234 -0
- elements_api/stubs/project_pb2_grpc.py +504 -0
- elements_api/stubs/project_result_pb2_grpc.py +234 -0
- elements_api/stubs/provider_quotas_pb2_grpc.py +99 -0
- elements_api/stubs/resource_pb2_grpc.py +228 -0
- elements_api/stubs/result_pb2_grpc.py +99 -0
- elements_api/stubs/s3_pb2_grpc.py +99 -0
- elements_api/stubs/subject_pb2_grpc.py +24 -0
- elements_api/stubs/system_pb2_grpc.py +142 -0
- elements_api/stubs/tasking_order_pb2_grpc.py +279 -0
- elements_api/stubs/tile_pb2_grpc.py +99 -0
- elements_api/stubs/toi_pb2_grpc.py +281 -0
- elements_api/stubs/token_pb2_grpc.py +100 -0
- elements_api/stubs/user_collection_pb2_grpc.py +370 -0
- elements_api/stubs/user_pb2_grpc.py +559 -0
- elements_api/stubs/visualization_pb2_grpc.py +234 -0
- elements_api/sync_client.py +34 -0
- elements_api-2025.11.4.dist-info/METADATA +11 -0
- elements_api-2025.11.4.dist-info/RECORD +153 -0
- elements_api-2025.11.4.dist-info/WHEEL +5 -0
- elements_api-2025.11.4.dist-info/licenses/LICENSE +7 -0
- elements_api-2025.11.4.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: algorithm_manifest.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
|
+
'algorithm_manifest.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
26
|
+
from elements_api.models import common_models_pb2 as common__models__pb2
|
|
27
|
+
|
|
28
|
+
from elements_api.models.common_models_pb2 import *
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x61lgorithm_manifest.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x13\x63ommon_models.proto\"4\n!AlgorithmManifestSchemaGetRequest\x12\x0f\n\x07version\x18\x01 \x01(\t\"s\n\"AlgorithmManifestSchemaGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\'\n\x06schema\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct2v\n\x14\x41lgorithmManifestApi\x12^\n\x03get\x12*.oi.papi.AlgorithmManifestSchemaGetRequest\x1a+.oi.papi.AlgorithmManifestSchemaGetResponseP\x01\x62\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'algorithm_manifest_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_ALGORITHMMANIFESTSCHEMAGETREQUEST']._serialized_start=88
|
|
38
|
+
_globals['_ALGORITHMMANIFESTSCHEMAGETREQUEST']._serialized_end=140
|
|
39
|
+
_globals['_ALGORITHMMANIFESTSCHEMAGETRESPONSE']._serialized_start=142
|
|
40
|
+
_globals['_ALGORITHMMANIFESTSCHEMAGETRESPONSE']._serialized_end=257
|
|
41
|
+
_globals['_ALGORITHMMANIFESTAPI']._serialized_start=259
|
|
42
|
+
_globals['_ALGORITHMMANIFESTAPI']._serialized_end=377
|
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
2
|
+
import common_models_pb2 as _common_models_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
from common_models_pb2 import Pagination as Pagination
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class AlgorithmManifestSchemaGetRequest(_message.Message):
|
|
12
|
+
__slots__ = ("version",)
|
|
13
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
version: str
|
|
15
|
+
def __init__(self, version: _Optional[str] = ...) -> None: ...
|
|
16
|
+
|
|
17
|
+
class AlgorithmManifestSchemaGetResponse(_message.Message):
|
|
18
|
+
__slots__ = ("status_code", "version", "schema")
|
|
19
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
status_code: int
|
|
23
|
+
version: str
|
|
24
|
+
schema: _struct_pb2.Struct
|
|
25
|
+
def __init__(self, status_code: _Optional[int] = ..., version: _Optional[str] = ..., schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: algorithm.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
|
+
'algorithm.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from elements_api.models import common_models_pb2 as common__models__pb2
|
|
27
|
+
|
|
28
|
+
from elements_api.models.common_models_pb2 import *
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x61lgorithm.proto\x12\x07oi.papi\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\"{\n\tAlgorithm\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x04 \x01(\t\x12.\n\ncreated_on\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"L\n\x16\x41lgorithmCreateRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x03 \x01(\t\"U\n\x17\x41lgorithmCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12%\n\talgorithm\x18\x02 \x01(\x0b\x32\x12.oi.papi.Algorithm\"K\n\x13\x41lgorithmGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\"|\n\x14\x41lgorithmGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12&\n\nalgorithms\x18\x02 \x03(\x0b\x32\x12.oi.papi.Algorithm\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"\xbc\x01\n\x14\x41lgorithmListRequest\x12\x13\n\x0bsearch_text\x18\x01 \x01(\t\x12\x32\n\x0emin_created_on\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0emax_created_on\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\npagination\x18\x04 \x01(\x0b\x32\x13.oi.papi.Pagination\"}\n\x15\x41lgorithmListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12&\n\nalgorithms\x18\x02 \x03(\x0b\x32\x12.oi.papi.Algorithm\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"@\n\x16\x41lgorithmUpdateRequest\x12&\n\nalgorithms\x18\x01 \x03(\x0b\x32\x12.oi.papi.Algorithm\".\n\x17\x41lgorithmUpdateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r2\xb3\x02\n\x0c\x41lgorithmApi\x12K\n\x06\x63reate\x12\x1f.oi.papi.AlgorithmCreateRequest\x1a .oi.papi.AlgorithmCreateResponse\x12K\n\x06update\x12\x1f.oi.papi.AlgorithmUpdateRequest\x1a .oi.papi.AlgorithmUpdateResponse\x12\x42\n\x03get\x12\x1c.oi.papi.AlgorithmGetRequest\x1a\x1d.oi.papi.AlgorithmGetResponse\x12\x45\n\x04list\x12\x1d.oi.papi.AlgorithmListRequest\x1a\x1e.oi.papi.AlgorithmListResponseP\x01\x62\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'algorithm_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_ALGORITHM']._serialized_start=82
|
|
38
|
+
_globals['_ALGORITHM']._serialized_end=205
|
|
39
|
+
_globals['_ALGORITHMCREATEREQUEST']._serialized_start=207
|
|
40
|
+
_globals['_ALGORITHMCREATEREQUEST']._serialized_end=283
|
|
41
|
+
_globals['_ALGORITHMCREATERESPONSE']._serialized_start=285
|
|
42
|
+
_globals['_ALGORITHMCREATERESPONSE']._serialized_end=370
|
|
43
|
+
_globals['_ALGORITHMGETREQUEST']._serialized_start=372
|
|
44
|
+
_globals['_ALGORITHMGETREQUEST']._serialized_end=447
|
|
45
|
+
_globals['_ALGORITHMGETRESPONSE']._serialized_start=449
|
|
46
|
+
_globals['_ALGORITHMGETRESPONSE']._serialized_end=573
|
|
47
|
+
_globals['_ALGORITHMLISTREQUEST']._serialized_start=576
|
|
48
|
+
_globals['_ALGORITHMLISTREQUEST']._serialized_end=764
|
|
49
|
+
_globals['_ALGORITHMLISTRESPONSE']._serialized_start=766
|
|
50
|
+
_globals['_ALGORITHMLISTRESPONSE']._serialized_end=891
|
|
51
|
+
_globals['_ALGORITHMUPDATEREQUEST']._serialized_start=893
|
|
52
|
+
_globals['_ALGORITHMUPDATEREQUEST']._serialized_end=957
|
|
53
|
+
_globals['_ALGORITHMUPDATERESPONSE']._serialized_start=959
|
|
54
|
+
_globals['_ALGORITHMUPDATERESPONSE']._serialized_end=1005
|
|
55
|
+
_globals['_ALGORITHMAPI']._serialized_start=1008
|
|
56
|
+
_globals['_ALGORITHMAPI']._serialized_end=1315
|
|
57
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
import common_models_pb2 as _common_models_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
|
+
from common_models_pb2 import Pagination as Pagination
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class Algorithm(_message.Message):
|
|
15
|
+
__slots__ = ("id", "name", "display_name", "author", "created_on")
|
|
16
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
AUTHOR_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
id: str
|
|
22
|
+
name: str
|
|
23
|
+
display_name: str
|
|
24
|
+
author: str
|
|
25
|
+
created_on: _timestamp_pb2.Timestamp
|
|
26
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., display_name: _Optional[str] = ..., author: _Optional[str] = ..., created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
27
|
+
|
|
28
|
+
class AlgorithmCreateRequest(_message.Message):
|
|
29
|
+
__slots__ = ("name", "display_name", "author")
|
|
30
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
AUTHOR_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
name: str
|
|
34
|
+
display_name: str
|
|
35
|
+
author: str
|
|
36
|
+
def __init__(self, name: _Optional[str] = ..., display_name: _Optional[str] = ..., author: _Optional[str] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class AlgorithmCreateResponse(_message.Message):
|
|
39
|
+
__slots__ = ("status_code", "algorithm")
|
|
40
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
ALGORITHM_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
status_code: int
|
|
43
|
+
algorithm: Algorithm
|
|
44
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithm: _Optional[_Union[Algorithm, _Mapping]] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class AlgorithmGetRequest(_message.Message):
|
|
47
|
+
__slots__ = ("ids", "pagination")
|
|
48
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
51
|
+
pagination: _common_models_pb2.Pagination
|
|
52
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ...) -> None: ...
|
|
53
|
+
|
|
54
|
+
class AlgorithmGetResponse(_message.Message):
|
|
55
|
+
__slots__ = ("status_code", "algorithms", "pagination")
|
|
56
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
ALGORITHMS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
status_code: int
|
|
60
|
+
algorithms: _containers.RepeatedCompositeFieldContainer[Algorithm]
|
|
61
|
+
pagination: _common_models_pb2.Pagination
|
|
62
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithms: _Optional[_Iterable[_Union[Algorithm, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ...) -> None: ...
|
|
63
|
+
|
|
64
|
+
class AlgorithmListRequest(_message.Message):
|
|
65
|
+
__slots__ = ("search_text", "min_created_on", "max_created_on", "pagination")
|
|
66
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
MIN_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
MAX_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
search_text: str
|
|
71
|
+
min_created_on: _timestamp_pb2.Timestamp
|
|
72
|
+
max_created_on: _timestamp_pb2.Timestamp
|
|
73
|
+
pagination: _common_models_pb2.Pagination
|
|
74
|
+
def __init__(self, search_text: _Optional[str] = ..., min_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., max_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ...) -> None: ...
|
|
75
|
+
|
|
76
|
+
class AlgorithmListResponse(_message.Message):
|
|
77
|
+
__slots__ = ("status_code", "algorithms", "pagination")
|
|
78
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
ALGORITHMS_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
status_code: int
|
|
82
|
+
algorithms: _containers.RepeatedCompositeFieldContainer[Algorithm]
|
|
83
|
+
pagination: _common_models_pb2.Pagination
|
|
84
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithms: _Optional[_Iterable[_Union[Algorithm, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class AlgorithmUpdateRequest(_message.Message):
|
|
87
|
+
__slots__ = ("algorithms",)
|
|
88
|
+
ALGORITHMS_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
algorithms: _containers.RepeatedCompositeFieldContainer[Algorithm]
|
|
90
|
+
def __init__(self, algorithms: _Optional[_Iterable[_Union[Algorithm, _Mapping]]] = ...) -> None: ...
|
|
91
|
+
|
|
92
|
+
class AlgorithmUpdateResponse(_message.Message):
|
|
93
|
+
__slots__ = ("status_code",)
|
|
94
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
status_code: int
|
|
96
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: algorithm_version.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
|
+
'algorithm_version.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from elements_api.models import common_models_pb2 as common__models__pb2
|
|
28
|
+
from elements_api.models import algorithm_pb2 as algorithm__pb2
|
|
29
|
+
try:
|
|
30
|
+
common__models__pb2 = algorithm__pb2.common__models__pb2
|
|
31
|
+
except AttributeError:
|
|
32
|
+
common__models__pb2 = algorithm__pb2.common_models_pb2
|
|
33
|
+
|
|
34
|
+
from elements_api.models.common_models_pb2 import *
|
|
35
|
+
from elements_api.models.algorithm_pb2 import *
|
|
36
|
+
|
|
37
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x61lgorithm_version.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\x1a\x0f\x61lgorithm.proto\"\xa4\x08\n\x08Manifest\x12,\n\x08metadata\x18\x01 \x01(\x0b\x32\x1a.oi.papi.Manifest.Metadata\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32!.oi.papi.Manifest.AlgorithmInputs\x12\x33\n\x07outputs\x18\x03 \x03(\x0b\x32\".oi.papi.Manifest.AlgorithmOutputs\x12\x43\n\x14\x63ontainer_parameters\x18\x04 \x01(\x0b\x32%.oi.papi.Manifest.ContainerParameters\x12.\n\tinterface\x18\x05 \x01(\x0b\x32\x1b.oi.papi.Manifest.Interface\x12;\n\x10resource_request\x18\x06 \x01(\x0b\x32!.oi.papi.Manifest.ResourceRequest\x12/\n\nparameters\x18\x07 \x03(\x0b\x32\x1b.oi.papi.Manifest.Parameter\x12\x18\n\x10manifest_version\x18\x08 \x01(\t\x1a\x44\n\x08Metadata\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\tJ\x04\x08\x01\x10\x02\x1a\x34\n\tInterface\x12\x16\n\x0einterface_type\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\x1aO\n\x0f\x41lgorithmInputs\x12\x16\n\x0e\x64\x61ta_type_name\x18\x01 \x01(\t\x12\x11\n\tmin_count\x18\x02 \x01(\r\x12\x11\n\tmax_count\x18\x03 \x01(\r\x1aS\n\x10\x41lgorithmOutputs\x12!\n\x19observation_value_columns\x18\x02 \x03(\t\x12\x16\n\x0e\x64\x61ta_type_name\x18\x03 \x01(\tJ\x04\x08\x01\x10\x02\x1ar\n\x13\x43ontainerParameters\x12\r\n\x05image\x18\x01 \x01(\t\x12;\n\x10resource_request\x18\x02 \x01(\x0b\x32!.oi.papi.Manifest.ResourceRequest\x12\x0f\n\x07\x63ommand\x18\x03 \x03(\t\x1a^\n\x0fResourceRequest\x12\x0b\n\x03gpu\x18\x01 \x01(\r\x12\x11\n\tmemory_gb\x18\x02 \x01(\r\x12\x15\n\rcpu_millicore\x18\x03 \x01(\r\x12\x14\n\x0cmax_input_gb\x18\x04 \x01(\x01\x1a\x8e\x01\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\r\n\x05units\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0b\n\x03min\x18\x05 \x01(\r\x12\x0b\n\x03max\x18\x06 \x01(\r\x12\x16\n\x0e\x61llowed_values\x18\x07 \x03(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x08 \x01(\r\"\xe0\x01\n\x10\x41lgorithmVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\talgorithm\x18\x02 \x01(\x0b\x32\x12.oi.papi.Algorithm\x12\x0f\n\x07version\x18\x03 \x01(\t\x12)\n\x08manifest\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_on\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_deactivated\x18\x06 \x01(\x08\x12\x15\n\ris_deprecated\x18\x07 \x01(\x08\"\xae\x01\n\x1d\x41lgorithmVersionCreateRequest\x12\x14\n\x0c\x61lgorithm_id\x18\x01 \x01(\t\x12\x32\n\x0fmanifest_struct\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12-\n\x10manifest_message\x18\x03 \x01(\x0b\x32\x11.oi.papi.ManifestH\x00\x42\x14\n\x12\x61lgorithm_manifest\"k\n\x1e\x41lgorithmVersionCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x34\n\x11\x61lgorithm_version\x18\x02 \x01(\x0b\x32\x19.oi.papi.AlgorithmVersion\"R\n\x1a\x41lgorithmVersionGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x92\x01\n\x1b\x41lgorithmVersionGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x35\n\x12\x61lgorithm_versions\x18\x02 \x03(\x0b\x32\x19.oi.papi.AlgorithmVersion\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x84\x02\n\x1b\x41lgorithmVersionListRequest\x12\x14\n\x0c\x61lgorithm_id\x18\x01 \x01(\t\x12\x13\n\x0bsearch_text\x18\x02 \x01(\t\x12\x0b\n\x03tag\x18\x03 \x01(\t\x12\x32\n\x0emin_created_on\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0emax_created_on\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14include_all_versions\x18\x06 \x01(\x08\x12\'\n\npagination\x18\x07 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x93\x01\n\x1c\x41lgorithmVersionListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x35\n\x12\x61lgorithm_versions\x18\x02 \x03(\x0b\x32\x19.oi.papi.AlgorithmVersion\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"/\n AlgorithmVersionDeprecateRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"8\n!AlgorithmVersionDeprecateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"0\n!AlgorithmVersionDeactivateRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"9\n\"AlgorithmVersionDeactivateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\".\n\x1f\x41lgorithmVersionActivateRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"7\n AlgorithmVersionActivateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r2\xc3\x04\n\x13\x41lgorithmVersionApi\x12Y\n\x06\x63reate\x12&.oi.papi.AlgorithmVersionCreateRequest\x1a\'.oi.papi.AlgorithmVersionCreateResponse\x12P\n\x03get\x12#.oi.papi.AlgorithmVersionGetRequest\x1a$.oi.papi.AlgorithmVersionGetResponse\x12S\n\x04list\x12$.oi.papi.AlgorithmVersionListRequest\x1a%.oi.papi.AlgorithmVersionListResponse\x12\x62\n\tdeprecate\x12).oi.papi.AlgorithmVersionDeprecateRequest\x1a*.oi.papi.AlgorithmVersionDeprecateResponse\x12\x65\n\ndeactivate\x12*.oi.papi.AlgorithmVersionDeactivateRequest\x1a+.oi.papi.AlgorithmVersionDeactivateResponse\x12_\n\x08\x61\x63tivate\x12(.oi.papi.AlgorithmVersionActivateRequest\x1a).oi.papi.AlgorithmVersionActivateResponseP\x02P\x03\x62\x06proto3')
|
|
38
|
+
|
|
39
|
+
_globals = globals()
|
|
40
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
41
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'algorithm_version_pb2', _globals)
|
|
42
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
43
|
+
DESCRIPTOR._loaded_options = None
|
|
44
|
+
_globals['_MANIFEST']._serialized_start=138
|
|
45
|
+
_globals['_MANIFEST']._serialized_end=1198
|
|
46
|
+
_globals['_MANIFEST_METADATA']._serialized_start=553
|
|
47
|
+
_globals['_MANIFEST_METADATA']._serialized_end=621
|
|
48
|
+
_globals['_MANIFEST_INTERFACE']._serialized_start=623
|
|
49
|
+
_globals['_MANIFEST_INTERFACE']._serialized_end=675
|
|
50
|
+
_globals['_MANIFEST_ALGORITHMINPUTS']._serialized_start=677
|
|
51
|
+
_globals['_MANIFEST_ALGORITHMINPUTS']._serialized_end=756
|
|
52
|
+
_globals['_MANIFEST_ALGORITHMOUTPUTS']._serialized_start=758
|
|
53
|
+
_globals['_MANIFEST_ALGORITHMOUTPUTS']._serialized_end=841
|
|
54
|
+
_globals['_MANIFEST_CONTAINERPARAMETERS']._serialized_start=843
|
|
55
|
+
_globals['_MANIFEST_CONTAINERPARAMETERS']._serialized_end=957
|
|
56
|
+
_globals['_MANIFEST_RESOURCEREQUEST']._serialized_start=959
|
|
57
|
+
_globals['_MANIFEST_RESOURCEREQUEST']._serialized_end=1053
|
|
58
|
+
_globals['_MANIFEST_PARAMETER']._serialized_start=1056
|
|
59
|
+
_globals['_MANIFEST_PARAMETER']._serialized_end=1198
|
|
60
|
+
_globals['_ALGORITHMVERSION']._serialized_start=1201
|
|
61
|
+
_globals['_ALGORITHMVERSION']._serialized_end=1425
|
|
62
|
+
_globals['_ALGORITHMVERSIONCREATEREQUEST']._serialized_start=1428
|
|
63
|
+
_globals['_ALGORITHMVERSIONCREATEREQUEST']._serialized_end=1602
|
|
64
|
+
_globals['_ALGORITHMVERSIONCREATERESPONSE']._serialized_start=1604
|
|
65
|
+
_globals['_ALGORITHMVERSIONCREATERESPONSE']._serialized_end=1711
|
|
66
|
+
_globals['_ALGORITHMVERSIONGETREQUEST']._serialized_start=1713
|
|
67
|
+
_globals['_ALGORITHMVERSIONGETREQUEST']._serialized_end=1795
|
|
68
|
+
_globals['_ALGORITHMVERSIONGETRESPONSE']._serialized_start=1798
|
|
69
|
+
_globals['_ALGORITHMVERSIONGETRESPONSE']._serialized_end=1944
|
|
70
|
+
_globals['_ALGORITHMVERSIONLISTREQUEST']._serialized_start=1947
|
|
71
|
+
_globals['_ALGORITHMVERSIONLISTREQUEST']._serialized_end=2207
|
|
72
|
+
_globals['_ALGORITHMVERSIONLISTRESPONSE']._serialized_start=2210
|
|
73
|
+
_globals['_ALGORITHMVERSIONLISTRESPONSE']._serialized_end=2357
|
|
74
|
+
_globals['_ALGORITHMVERSIONDEPRECATEREQUEST']._serialized_start=2359
|
|
75
|
+
_globals['_ALGORITHMVERSIONDEPRECATEREQUEST']._serialized_end=2406
|
|
76
|
+
_globals['_ALGORITHMVERSIONDEPRECATERESPONSE']._serialized_start=2408
|
|
77
|
+
_globals['_ALGORITHMVERSIONDEPRECATERESPONSE']._serialized_end=2464
|
|
78
|
+
_globals['_ALGORITHMVERSIONDEACTIVATEREQUEST']._serialized_start=2466
|
|
79
|
+
_globals['_ALGORITHMVERSIONDEACTIVATEREQUEST']._serialized_end=2514
|
|
80
|
+
_globals['_ALGORITHMVERSIONDEACTIVATERESPONSE']._serialized_start=2516
|
|
81
|
+
_globals['_ALGORITHMVERSIONDEACTIVATERESPONSE']._serialized_end=2573
|
|
82
|
+
_globals['_ALGORITHMVERSIONACTIVATEREQUEST']._serialized_start=2575
|
|
83
|
+
_globals['_ALGORITHMVERSIONACTIVATEREQUEST']._serialized_end=2621
|
|
84
|
+
_globals['_ALGORITHMVERSIONACTIVATERESPONSE']._serialized_start=2623
|
|
85
|
+
_globals['_ALGORITHMVERSIONACTIVATERESPONSE']._serialized_end=2678
|
|
86
|
+
_globals['_ALGORITHMVERSIONAPI']._serialized_start=2681
|
|
87
|
+
_globals['_ALGORITHMVERSIONAPI']._serialized_end=3260
|
|
88
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
import common_models_pb2 as _common_models_pb2
|
|
6
|
+
import algorithm_pb2 as _algorithm_pb2
|
|
7
|
+
import common_models_pb2 as _common_models_pb2_1
|
|
8
|
+
from google.protobuf.internal import containers as _containers
|
|
9
|
+
from google.protobuf import descriptor as _descriptor
|
|
10
|
+
from google.protobuf import message as _message
|
|
11
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
12
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
13
|
+
from common_models_pb2 import Pagination as Pagination
|
|
14
|
+
from algorithm_pb2 import Algorithm as Algorithm
|
|
15
|
+
from algorithm_pb2 import AlgorithmCreateRequest as AlgorithmCreateRequest
|
|
16
|
+
from algorithm_pb2 import AlgorithmCreateResponse as AlgorithmCreateResponse
|
|
17
|
+
from algorithm_pb2 import AlgorithmGetRequest as AlgorithmGetRequest
|
|
18
|
+
from algorithm_pb2 import AlgorithmGetResponse as AlgorithmGetResponse
|
|
19
|
+
from algorithm_pb2 import AlgorithmListRequest as AlgorithmListRequest
|
|
20
|
+
from algorithm_pb2 import AlgorithmListResponse as AlgorithmListResponse
|
|
21
|
+
from algorithm_pb2 import AlgorithmUpdateRequest as AlgorithmUpdateRequest
|
|
22
|
+
from algorithm_pb2 import AlgorithmUpdateResponse as AlgorithmUpdateResponse
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
25
|
+
|
|
26
|
+
class Manifest(_message.Message):
|
|
27
|
+
__slots__ = ("metadata", "inputs", "outputs", "container_parameters", "interface", "resource_request", "parameters", "manifest_version")
|
|
28
|
+
class Metadata(_message.Message):
|
|
29
|
+
__slots__ = ("description", "version", "tags")
|
|
30
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
description: str
|
|
34
|
+
version: str
|
|
35
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
36
|
+
def __init__(self, description: _Optional[str] = ..., version: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
37
|
+
class Interface(_message.Message):
|
|
38
|
+
__slots__ = ("interface_type", "adapter")
|
|
39
|
+
INTERFACE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
ADAPTER_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
interface_type: str
|
|
42
|
+
adapter: str
|
|
43
|
+
def __init__(self, interface_type: _Optional[str] = ..., adapter: _Optional[str] = ...) -> None: ...
|
|
44
|
+
class AlgorithmInputs(_message.Message):
|
|
45
|
+
__slots__ = ("data_type_name", "min_count", "max_count")
|
|
46
|
+
DATA_TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
MIN_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
MAX_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
data_type_name: str
|
|
50
|
+
min_count: int
|
|
51
|
+
max_count: int
|
|
52
|
+
def __init__(self, data_type_name: _Optional[str] = ..., min_count: _Optional[int] = ..., max_count: _Optional[int] = ...) -> None: ...
|
|
53
|
+
class AlgorithmOutputs(_message.Message):
|
|
54
|
+
__slots__ = ("observation_value_columns", "data_type_name")
|
|
55
|
+
OBSERVATION_VALUE_COLUMNS_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
DATA_TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
observation_value_columns: _containers.RepeatedScalarFieldContainer[str]
|
|
58
|
+
data_type_name: str
|
|
59
|
+
def __init__(self, observation_value_columns: _Optional[_Iterable[str]] = ..., data_type_name: _Optional[str] = ...) -> None: ...
|
|
60
|
+
class ContainerParameters(_message.Message):
|
|
61
|
+
__slots__ = ("image", "resource_request", "command")
|
|
62
|
+
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
RESOURCE_REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
COMMAND_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
image: str
|
|
66
|
+
resource_request: Manifest.ResourceRequest
|
|
67
|
+
command: _containers.RepeatedScalarFieldContainer[str]
|
|
68
|
+
def __init__(self, image: _Optional[str] = ..., resource_request: _Optional[_Union[Manifest.ResourceRequest, _Mapping]] = ..., command: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
69
|
+
class ResourceRequest(_message.Message):
|
|
70
|
+
__slots__ = ("gpu", "memory_gb", "cpu_millicore", "max_input_gb")
|
|
71
|
+
GPU_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
MEMORY_GB_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
CPU_MILLICORE_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
MAX_INPUT_GB_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
gpu: int
|
|
76
|
+
memory_gb: int
|
|
77
|
+
cpu_millicore: int
|
|
78
|
+
max_input_gb: float
|
|
79
|
+
def __init__(self, gpu: _Optional[int] = ..., memory_gb: _Optional[int] = ..., cpu_millicore: _Optional[int] = ..., max_input_gb: _Optional[float] = ...) -> None: ...
|
|
80
|
+
class Parameter(_message.Message):
|
|
81
|
+
__slots__ = ("name", "type", "units", "description", "min", "max", "allowed_values", "default")
|
|
82
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
UNITS_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
MIN_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
MAX_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
ALLOWED_VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
DEFAULT_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
name: str
|
|
91
|
+
type: int
|
|
92
|
+
units: str
|
|
93
|
+
description: str
|
|
94
|
+
min: int
|
|
95
|
+
max: int
|
|
96
|
+
allowed_values: _containers.RepeatedScalarFieldContainer[str]
|
|
97
|
+
default: int
|
|
98
|
+
def __init__(self, name: _Optional[str] = ..., type: _Optional[int] = ..., units: _Optional[str] = ..., description: _Optional[str] = ..., min: _Optional[int] = ..., max: _Optional[int] = ..., allowed_values: _Optional[_Iterable[str]] = ..., default: _Optional[int] = ...) -> None: ...
|
|
99
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
CONTAINER_PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
INTERFACE_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
RESOURCE_REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
MANIFEST_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
metadata: Manifest.Metadata
|
|
108
|
+
inputs: _containers.RepeatedCompositeFieldContainer[Manifest.AlgorithmInputs]
|
|
109
|
+
outputs: _containers.RepeatedCompositeFieldContainer[Manifest.AlgorithmOutputs]
|
|
110
|
+
container_parameters: Manifest.ContainerParameters
|
|
111
|
+
interface: Manifest.Interface
|
|
112
|
+
resource_request: Manifest.ResourceRequest
|
|
113
|
+
parameters: _containers.RepeatedCompositeFieldContainer[Manifest.Parameter]
|
|
114
|
+
manifest_version: str
|
|
115
|
+
def __init__(self, metadata: _Optional[_Union[Manifest.Metadata, _Mapping]] = ..., inputs: _Optional[_Iterable[_Union[Manifest.AlgorithmInputs, _Mapping]]] = ..., outputs: _Optional[_Iterable[_Union[Manifest.AlgorithmOutputs, _Mapping]]] = ..., container_parameters: _Optional[_Union[Manifest.ContainerParameters, _Mapping]] = ..., interface: _Optional[_Union[Manifest.Interface, _Mapping]] = ..., resource_request: _Optional[_Union[Manifest.ResourceRequest, _Mapping]] = ..., parameters: _Optional[_Iterable[_Union[Manifest.Parameter, _Mapping]]] = ..., manifest_version: _Optional[str] = ...) -> None: ...
|
|
116
|
+
|
|
117
|
+
class AlgorithmVersion(_message.Message):
|
|
118
|
+
__slots__ = ("id", "algorithm", "version", "manifest", "created_on", "is_deactivated", "is_deprecated")
|
|
119
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
ALGORITHM_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
MANIFEST_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
IS_DEACTIVATED_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
IS_DEPRECATED_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
id: str
|
|
127
|
+
algorithm: _algorithm_pb2.Algorithm
|
|
128
|
+
version: str
|
|
129
|
+
manifest: _struct_pb2.Struct
|
|
130
|
+
created_on: _timestamp_pb2.Timestamp
|
|
131
|
+
is_deactivated: bool
|
|
132
|
+
is_deprecated: bool
|
|
133
|
+
def __init__(self, id: _Optional[str] = ..., algorithm: _Optional[_Union[_algorithm_pb2.Algorithm, _Mapping]] = ..., version: _Optional[str] = ..., manifest: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., is_deactivated: bool = ..., is_deprecated: bool = ...) -> None: ...
|
|
134
|
+
|
|
135
|
+
class AlgorithmVersionCreateRequest(_message.Message):
|
|
136
|
+
__slots__ = ("algorithm_id", "manifest_struct", "manifest_message")
|
|
137
|
+
ALGORITHM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
MANIFEST_STRUCT_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
MANIFEST_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
algorithm_id: str
|
|
141
|
+
manifest_struct: _struct_pb2.Struct
|
|
142
|
+
manifest_message: Manifest
|
|
143
|
+
def __init__(self, algorithm_id: _Optional[str] = ..., manifest_struct: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., manifest_message: _Optional[_Union[Manifest, _Mapping]] = ...) -> None: ...
|
|
144
|
+
|
|
145
|
+
class AlgorithmVersionCreateResponse(_message.Message):
|
|
146
|
+
__slots__ = ("status_code", "algorithm_version")
|
|
147
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
ALGORITHM_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
status_code: int
|
|
150
|
+
algorithm_version: AlgorithmVersion
|
|
151
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithm_version: _Optional[_Union[AlgorithmVersion, _Mapping]] = ...) -> None: ...
|
|
152
|
+
|
|
153
|
+
class AlgorithmVersionGetRequest(_message.Message):
|
|
154
|
+
__slots__ = ("ids", "pagination")
|
|
155
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
158
|
+
pagination: _common_models_pb2_1.Pagination
|
|
159
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
160
|
+
|
|
161
|
+
class AlgorithmVersionGetResponse(_message.Message):
|
|
162
|
+
__slots__ = ("status_code", "algorithm_versions", "pagination")
|
|
163
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
ALGORITHM_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
status_code: int
|
|
167
|
+
algorithm_versions: _containers.RepeatedCompositeFieldContainer[AlgorithmVersion]
|
|
168
|
+
pagination: _common_models_pb2_1.Pagination
|
|
169
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithm_versions: _Optional[_Iterable[_Union[AlgorithmVersion, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
170
|
+
|
|
171
|
+
class AlgorithmVersionListRequest(_message.Message):
|
|
172
|
+
__slots__ = ("algorithm_id", "search_text", "tag", "min_created_on", "max_created_on", "include_all_versions", "pagination")
|
|
173
|
+
ALGORITHM_ID_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
TAG_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
MIN_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
MAX_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
INCLUDE_ALL_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
180
|
+
algorithm_id: str
|
|
181
|
+
search_text: str
|
|
182
|
+
tag: str
|
|
183
|
+
min_created_on: _timestamp_pb2.Timestamp
|
|
184
|
+
max_created_on: _timestamp_pb2.Timestamp
|
|
185
|
+
include_all_versions: bool
|
|
186
|
+
pagination: _common_models_pb2_1.Pagination
|
|
187
|
+
def __init__(self, algorithm_id: _Optional[str] = ..., search_text: _Optional[str] = ..., tag: _Optional[str] = ..., min_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., max_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., include_all_versions: bool = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
188
|
+
|
|
189
|
+
class AlgorithmVersionListResponse(_message.Message):
|
|
190
|
+
__slots__ = ("status_code", "algorithm_versions", "pagination")
|
|
191
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
+
ALGORITHM_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
status_code: int
|
|
195
|
+
algorithm_versions: _containers.RepeatedCompositeFieldContainer[AlgorithmVersion]
|
|
196
|
+
pagination: _common_models_pb2_1.Pagination
|
|
197
|
+
def __init__(self, status_code: _Optional[int] = ..., algorithm_versions: _Optional[_Iterable[_Union[AlgorithmVersion, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
198
|
+
|
|
199
|
+
class AlgorithmVersionDeprecateRequest(_message.Message):
|
|
200
|
+
__slots__ = ("ids",)
|
|
201
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
203
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
204
|
+
|
|
205
|
+
class AlgorithmVersionDeprecateResponse(_message.Message):
|
|
206
|
+
__slots__ = ("status_code",)
|
|
207
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
status_code: int
|
|
209
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
210
|
+
|
|
211
|
+
class AlgorithmVersionDeactivateRequest(_message.Message):
|
|
212
|
+
__slots__ = ("ids",)
|
|
213
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
214
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
215
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
216
|
+
|
|
217
|
+
class AlgorithmVersionDeactivateResponse(_message.Message):
|
|
218
|
+
__slots__ = ("status_code",)
|
|
219
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
220
|
+
status_code: int
|
|
221
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
222
|
+
|
|
223
|
+
class AlgorithmVersionActivateRequest(_message.Message):
|
|
224
|
+
__slots__ = ("ids",)
|
|
225
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
227
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
228
|
+
|
|
229
|
+
class AlgorithmVersionActivateResponse(_message.Message):
|
|
230
|
+
__slots__ = ("status_code",)
|
|
231
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
232
|
+
status_code: int
|
|
233
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: analysis_computation.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
|
+
'analysis_computation.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from elements_api.models import common_models_pb2 as common__models__pb2
|
|
27
|
+
from elements_api.models import analysis_pb2 as analysis__pb2
|
|
28
|
+
try:
|
|
29
|
+
common__models__pb2 = analysis__pb2.common__models__pb2
|
|
30
|
+
except AttributeError:
|
|
31
|
+
common__models__pb2 = analysis__pb2.common_models_pb2
|
|
32
|
+
|
|
33
|
+
from elements_api.models.common_models_pb2 import *
|
|
34
|
+
from elements_api.models.analysis_pb2 import *
|
|
35
|
+
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x61nalysis_computation.proto\x12\x07oi.papi\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\x1a\x0e\x61nalysis.proto\"i\n AnalysisComputationCreateRequest\x12\x1a\n\x12\x61nalysis_config_id\x18\x01 \x01(\t\x12\x0e\n\x06toi_id\x18\x02 \x01(\t\x12\x19\n\x11\x61oi_collection_id\x18\x03 \x01(\t\"t\n!AnalysisComputationCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12:\n\x14\x61nalysis_computation\x18\x02 \x01(\x0b\x32\x1c.oi.papi.AnalysisComputation\",\n\x1d\x41nalysisComputationRunRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"5\n\x1e\x41nalysisComputationRunResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"U\n\x1d\x41nalysisComputationGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\"f\n\x17\x41nalysisComputationNode\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63omputation_id\x18\x02 \x01(\t\x12\x10\n\x08\x63hildren\x18\x03 \x03(\t\x12\x13\n\x0bhas_results\x18\x04 \x01(\x08\"\xf0\x03\n\x13\x41nalysisComputation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0b\x61nalysis_id\x18\x02 \x01(\t\x12\x0e\n\x06toi_id\x18\x03 \x01(\t\x12\x19\n\x11\x61oi_collection_id\x18\x04 \x01(\t\x12\x1a\n\x12\x61nalysis_config_id\x18\x05 \x01(\t\x12\x30\n\x0csubmitted_on\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\x05state\x18\x07 \x01(\x0e\x32\".oi.papi.AnalysisComputation.State\x12;\n\x11\x63omputation_nodes\x18\x08 \x03(\x0b\x32 .oi.papi.AnalysisComputationNode\x12\x37\n\x08progress\x18\t \x01(\x0b\x32%.oi.papi.AnalysisComputation.Progress\x1a>\n\x08Progress\x12\x0f\n\x07running\x18\x01 \x01(\x01\x12\x11\n\tsucceeded\x18\x02 \x01(\x01\x12\x0e\n\x06\x66\x61iled\x18\x03 \x01(\x01\"V\n\x05State\x12\x11\n\rUNKNOWN_STATE\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\x04\"\x9b\x01\n\x1e\x41nalysisComputationGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12;\n\x15\x61nalysis_computations\x18\x02 \x03(\x0b\x32\x1c.oi.papi.AnalysisComputation\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"\xb0\x02\n\x1e\x41nalysisComputationListRequest\x12\r\n\x05state\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x34\n\x10min_submitted_on\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10max_submitted_on\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12\x61nalysis_config_id\x18\x05 \x01(\t\x12\x0e\n\x06toi_id\x18\x06 \x01(\t\x12\x19\n\x11\x61oi_collection_id\x18\x07 \x01(\t\x12\x13\n\x0b\x61nalysis_id\x18\x08 \x01(\t\x12\'\n\npagination\x18\t \x01(\x0b\x32\x13.oi.papi.Pagination\"\x9c\x01\n\x1f\x41nalysisComputationListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12;\n\x15\x61nalysis_computations\x18\x02 \x03(\x0b\x32\x1c.oi.papi.AnalysisComputation\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination2\x84\x03\n\x16\x41nalysisComputationApi\x12_\n\x06\x63reate\x12).oi.papi.AnalysisComputationCreateRequest\x1a*.oi.papi.AnalysisComputationCreateResponse\x12V\n\x03run\x12&.oi.papi.AnalysisComputationRunRequest\x1a\'.oi.papi.AnalysisComputationRunResponse\x12V\n\x03get\x12&.oi.papi.AnalysisComputationGetRequest\x1a\'.oi.papi.AnalysisComputationGetResponse\x12Y\n\x04list\x12\'.oi.papi.AnalysisComputationListRequest\x1a(.oi.papi.AnalysisComputationListResponseP\x01P\x02\x62\x06proto3')
|
|
37
|
+
|
|
38
|
+
_globals = globals()
|
|
39
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
40
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'analysis_computation_pb2', _globals)
|
|
41
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
42
|
+
DESCRIPTOR._loaded_options = None
|
|
43
|
+
_globals['_ANALYSISCOMPUTATIONCREATEREQUEST']._serialized_start=109
|
|
44
|
+
_globals['_ANALYSISCOMPUTATIONCREATEREQUEST']._serialized_end=214
|
|
45
|
+
_globals['_ANALYSISCOMPUTATIONCREATERESPONSE']._serialized_start=216
|
|
46
|
+
_globals['_ANALYSISCOMPUTATIONCREATERESPONSE']._serialized_end=332
|
|
47
|
+
_globals['_ANALYSISCOMPUTATIONRUNREQUEST']._serialized_start=334
|
|
48
|
+
_globals['_ANALYSISCOMPUTATIONRUNREQUEST']._serialized_end=378
|
|
49
|
+
_globals['_ANALYSISCOMPUTATIONRUNRESPONSE']._serialized_start=380
|
|
50
|
+
_globals['_ANALYSISCOMPUTATIONRUNRESPONSE']._serialized_end=433
|
|
51
|
+
_globals['_ANALYSISCOMPUTATIONGETREQUEST']._serialized_start=435
|
|
52
|
+
_globals['_ANALYSISCOMPUTATIONGETREQUEST']._serialized_end=520
|
|
53
|
+
_globals['_ANALYSISCOMPUTATIONNODE']._serialized_start=522
|
|
54
|
+
_globals['_ANALYSISCOMPUTATIONNODE']._serialized_end=624
|
|
55
|
+
_globals['_ANALYSISCOMPUTATION']._serialized_start=627
|
|
56
|
+
_globals['_ANALYSISCOMPUTATION']._serialized_end=1123
|
|
57
|
+
_globals['_ANALYSISCOMPUTATION_PROGRESS']._serialized_start=973
|
|
58
|
+
_globals['_ANALYSISCOMPUTATION_PROGRESS']._serialized_end=1035
|
|
59
|
+
_globals['_ANALYSISCOMPUTATION_STATE']._serialized_start=1037
|
|
60
|
+
_globals['_ANALYSISCOMPUTATION_STATE']._serialized_end=1123
|
|
61
|
+
_globals['_ANALYSISCOMPUTATIONGETRESPONSE']._serialized_start=1126
|
|
62
|
+
_globals['_ANALYSISCOMPUTATIONGETRESPONSE']._serialized_end=1281
|
|
63
|
+
_globals['_ANALYSISCOMPUTATIONLISTREQUEST']._serialized_start=1284
|
|
64
|
+
_globals['_ANALYSISCOMPUTATIONLISTREQUEST']._serialized_end=1588
|
|
65
|
+
_globals['_ANALYSISCOMPUTATIONLISTRESPONSE']._serialized_start=1591
|
|
66
|
+
_globals['_ANALYSISCOMPUTATIONLISTRESPONSE']._serialized_end=1747
|
|
67
|
+
_globals['_ANALYSISCOMPUTATIONAPI']._serialized_start=1750
|
|
68
|
+
_globals['_ANALYSISCOMPUTATIONAPI']._serialized_end=2138
|
|
69
|
+
# @@protoc_insertion_point(module_scope)
|