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,77 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: analysis_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
|
+
'analysis_version.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
|
+
from elements_api.models import algorithm_version_pb2 as algorithm__version__pb2
|
|
33
|
+
try:
|
|
34
|
+
common__models__pb2 = algorithm__version__pb2.common__models__pb2
|
|
35
|
+
except AttributeError:
|
|
36
|
+
common__models__pb2 = algorithm__version__pb2.common_models_pb2
|
|
37
|
+
try:
|
|
38
|
+
algorithm__pb2 = algorithm__version__pb2.algorithm__pb2
|
|
39
|
+
except AttributeError:
|
|
40
|
+
algorithm__pb2 = algorithm__version__pb2.algorithm_pb2
|
|
41
|
+
try:
|
|
42
|
+
common__models__pb2 = algorithm__version__pb2.common__models__pb2
|
|
43
|
+
except AttributeError:
|
|
44
|
+
common__models__pb2 = algorithm__version__pb2.common_models_pb2
|
|
45
|
+
|
|
46
|
+
from elements_api.models.common_models_pb2 import *
|
|
47
|
+
from elements_api.models.analysis_pb2 import *
|
|
48
|
+
from elements_api.models.algorithm_version_pb2 import *
|
|
49
|
+
|
|
50
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x61nalysis_version.proto\x12\x07oi.papi\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\x1a\x0e\x61nalysis.proto\x1a\x17\x61lgorithm_version.proto\"\xdb\x01\n\x10\x41nalysisManifest\x12\x18\n\x10manifest_version\x18\x01 \x01(\t\x12\x34\n\x08metadata\x18\x02 \x01(\x0b\x32\".oi.papi.AnalysisManifest.Metadata\x12\x37\n\x0f\x61lgorithm_nodes\x18\x03 \x03(\x0b\x32\x1e.oi.papi.AnalysisAlgorithmNode\x1a>\n\x08Metadata\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04tags\x18\x03 \x03(\t\"\xdf\x01\n\x0f\x41nalysisVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12#\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32\x11.oi.papi.Analysis\x12\x34\n\x11\x61nalysis_manifest\x18\x03 \x01(\x0b\x32\x19.oi.papi.AnalysisManifest\x12.\n\ncreated_on\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x12\x61lgorithm_versions\x18\x05 \x03(\x0b\x32\x19.oi.papi.AlgorithmVersion\"i\n\x1c\x41nalysisVersionCreateRequest\x12\x13\n\x0b\x61nalysis_id\x18\x01 \x01(\t\x12\x34\n\x11\x61nalysis_manifest\x18\x02 \x01(\x0b\x32\x19.oi.papi.AnalysisManifest\"h\n\x1d\x41nalysisVersionCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x32\n\x10\x61nalysis_version\x18\x02 \x01(\x0b\x32\x18.oi.papi.AnalysisVersion\"\x8e\x01\n\x19\x41nalysisVersionGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\x12\x18\n\x10include_manifest\x18\x02 \x01(\x08\x12!\n\x19include_algorithm_details\x18\x03 \x01(\x08\x12\'\n\npagination\x18\x04 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x8f\x01\n\x1a\x41nalysisVersionGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x33\n\x11\x61nalysis_versions\x18\x02 \x03(\x0b\x32\x18.oi.papi.AnalysisVersion\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x9c\x02\n\x1a\x41nalysisVersionListRequest\x12\x13\n\x0b\x61nalysis_id\x18\x01 \x01(\t\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x13\n\x0bsearch_text\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\x18\n\x10include_manifest\x18\x06 \x01(\x08\x12\x1c\n\x14include_all_versions\x18\x07 \x01(\x08\x12\'\n\npagination\x18\x08 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x90\x01\n\x1b\x41nalysisVersionListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x33\n\x11\x61nalysis_versions\x18\x02 \x03(\x0b\x32\x18.oi.papi.AnalysisVersion\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination2\x90\x02\n\x12\x41nalysisVersionApi\x12W\n\x06\x63reate\x12%.oi.papi.AnalysisVersionCreateRequest\x1a&.oi.papi.AnalysisVersionCreateResponse\x12N\n\x03get\x12\".oi.papi.AnalysisVersionGetRequest\x1a#.oi.papi.AnalysisVersionGetResponse\x12Q\n\x04list\x12#.oi.papi.AnalysisVersionListRequest\x1a$.oi.papi.AnalysisVersionListResponseP\x01P\x02P\x03\x62\x06proto3')
|
|
51
|
+
|
|
52
|
+
_globals = globals()
|
|
53
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
54
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'analysis_version_pb2', _globals)
|
|
55
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
56
|
+
DESCRIPTOR._loaded_options = None
|
|
57
|
+
_globals['_ANALYSISMANIFEST']._serialized_start=131
|
|
58
|
+
_globals['_ANALYSISMANIFEST']._serialized_end=350
|
|
59
|
+
_globals['_ANALYSISMANIFEST_METADATA']._serialized_start=288
|
|
60
|
+
_globals['_ANALYSISMANIFEST_METADATA']._serialized_end=350
|
|
61
|
+
_globals['_ANALYSISVERSION']._serialized_start=353
|
|
62
|
+
_globals['_ANALYSISVERSION']._serialized_end=576
|
|
63
|
+
_globals['_ANALYSISVERSIONCREATEREQUEST']._serialized_start=578
|
|
64
|
+
_globals['_ANALYSISVERSIONCREATEREQUEST']._serialized_end=683
|
|
65
|
+
_globals['_ANALYSISVERSIONCREATERESPONSE']._serialized_start=685
|
|
66
|
+
_globals['_ANALYSISVERSIONCREATERESPONSE']._serialized_end=789
|
|
67
|
+
_globals['_ANALYSISVERSIONGETREQUEST']._serialized_start=792
|
|
68
|
+
_globals['_ANALYSISVERSIONGETREQUEST']._serialized_end=934
|
|
69
|
+
_globals['_ANALYSISVERSIONGETRESPONSE']._serialized_start=937
|
|
70
|
+
_globals['_ANALYSISVERSIONGETRESPONSE']._serialized_end=1080
|
|
71
|
+
_globals['_ANALYSISVERSIONLISTREQUEST']._serialized_start=1083
|
|
72
|
+
_globals['_ANALYSISVERSIONLISTREQUEST']._serialized_end=1367
|
|
73
|
+
_globals['_ANALYSISVERSIONLISTRESPONSE']._serialized_start=1370
|
|
74
|
+
_globals['_ANALYSISVERSIONLISTRESPONSE']._serialized_end=1514
|
|
75
|
+
_globals['_ANALYSISVERSIONAPI']._serialized_start=1517
|
|
76
|
+
_globals['_ANALYSISVERSIONAPI']._serialized_end=1789
|
|
77
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
import common_models_pb2 as _common_models_pb2
|
|
5
|
+
import analysis_pb2 as _analysis_pb2
|
|
6
|
+
import common_models_pb2 as _common_models_pb2_1
|
|
7
|
+
import algorithm_version_pb2 as _algorithm_version_pb2
|
|
8
|
+
import common_models_pb2 as _common_models_pb2_1_1
|
|
9
|
+
import algorithm_pb2 as _algorithm_pb2
|
|
10
|
+
from google.protobuf.internal import containers as _containers
|
|
11
|
+
from google.protobuf import descriptor as _descriptor
|
|
12
|
+
from google.protobuf import message as _message
|
|
13
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
14
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
15
|
+
from common_models_pb2 import Pagination as Pagination
|
|
16
|
+
from analysis_pb2 import AnalysisAlgorithmNode as AnalysisAlgorithmNode
|
|
17
|
+
from analysis_pb2 import AnalysisCreateRequest as AnalysisCreateRequest
|
|
18
|
+
from analysis_pb2 import AnalysisCreateResponse as AnalysisCreateResponse
|
|
19
|
+
from analysis_pb2 import AnalysisAlgorithmConfigNode as AnalysisAlgorithmConfigNode
|
|
20
|
+
from analysis_pb2 import AnalysisGetRequest as AnalysisGetRequest
|
|
21
|
+
from analysis_pb2 import Analysis as Analysis
|
|
22
|
+
from analysis_pb2 import AnalysisGetResponse as AnalysisGetResponse
|
|
23
|
+
from analysis_pb2 import AnalysisListRequest as AnalysisListRequest
|
|
24
|
+
from analysis_pb2 import AnalysisListResponse as AnalysisListResponse
|
|
25
|
+
from algorithm_version_pb2 import Manifest as Manifest
|
|
26
|
+
from algorithm_version_pb2 import AlgorithmVersion as AlgorithmVersion
|
|
27
|
+
from algorithm_version_pb2 import AlgorithmVersionCreateRequest as AlgorithmVersionCreateRequest
|
|
28
|
+
from algorithm_version_pb2 import AlgorithmVersionCreateResponse as AlgorithmVersionCreateResponse
|
|
29
|
+
from algorithm_version_pb2 import AlgorithmVersionGetRequest as AlgorithmVersionGetRequest
|
|
30
|
+
from algorithm_version_pb2 import AlgorithmVersionGetResponse as AlgorithmVersionGetResponse
|
|
31
|
+
from algorithm_version_pb2 import AlgorithmVersionListRequest as AlgorithmVersionListRequest
|
|
32
|
+
from algorithm_version_pb2 import AlgorithmVersionListResponse as AlgorithmVersionListResponse
|
|
33
|
+
from algorithm_version_pb2 import AlgorithmVersionDeprecateRequest as AlgorithmVersionDeprecateRequest
|
|
34
|
+
from algorithm_version_pb2 import AlgorithmVersionDeprecateResponse as AlgorithmVersionDeprecateResponse
|
|
35
|
+
from algorithm_version_pb2 import AlgorithmVersionDeactivateRequest as AlgorithmVersionDeactivateRequest
|
|
36
|
+
from algorithm_version_pb2 import AlgorithmVersionDeactivateResponse as AlgorithmVersionDeactivateResponse
|
|
37
|
+
from algorithm_version_pb2 import AlgorithmVersionActivateRequest as AlgorithmVersionActivateRequest
|
|
38
|
+
from algorithm_version_pb2 import AlgorithmVersionActivateResponse as AlgorithmVersionActivateResponse
|
|
39
|
+
|
|
40
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
41
|
+
|
|
42
|
+
class AnalysisManifest(_message.Message):
|
|
43
|
+
__slots__ = ("manifest_version", "metadata", "algorithm_nodes")
|
|
44
|
+
class Metadata(_message.Message):
|
|
45
|
+
__slots__ = ("description", "version", "tags")
|
|
46
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
description: str
|
|
50
|
+
version: str
|
|
51
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
52
|
+
def __init__(self, description: _Optional[str] = ..., version: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
53
|
+
MANIFEST_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
ALGORITHM_NODES_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
manifest_version: str
|
|
57
|
+
metadata: AnalysisManifest.Metadata
|
|
58
|
+
algorithm_nodes: _containers.RepeatedCompositeFieldContainer[_analysis_pb2.AnalysisAlgorithmNode]
|
|
59
|
+
def __init__(self, manifest_version: _Optional[str] = ..., metadata: _Optional[_Union[AnalysisManifest.Metadata, _Mapping]] = ..., algorithm_nodes: _Optional[_Iterable[_Union[_analysis_pb2.AnalysisAlgorithmNode, _Mapping]]] = ...) -> None: ...
|
|
60
|
+
|
|
61
|
+
class AnalysisVersion(_message.Message):
|
|
62
|
+
__slots__ = ("id", "analysis", "analysis_manifest", "created_on", "algorithm_versions")
|
|
63
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
ANALYSIS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
ANALYSIS_MANIFEST_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
ALGORITHM_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
id: str
|
|
69
|
+
analysis: _analysis_pb2.Analysis
|
|
70
|
+
analysis_manifest: AnalysisManifest
|
|
71
|
+
created_on: _timestamp_pb2.Timestamp
|
|
72
|
+
algorithm_versions: _containers.RepeatedCompositeFieldContainer[_algorithm_version_pb2.AlgorithmVersion]
|
|
73
|
+
def __init__(self, id: _Optional[str] = ..., analysis: _Optional[_Union[_analysis_pb2.Analysis, _Mapping]] = ..., analysis_manifest: _Optional[_Union[AnalysisManifest, _Mapping]] = ..., created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., algorithm_versions: _Optional[_Iterable[_Union[_algorithm_version_pb2.AlgorithmVersion, _Mapping]]] = ...) -> None: ...
|
|
74
|
+
|
|
75
|
+
class AnalysisVersionCreateRequest(_message.Message):
|
|
76
|
+
__slots__ = ("analysis_id", "analysis_manifest")
|
|
77
|
+
ANALYSIS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
ANALYSIS_MANIFEST_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
analysis_id: str
|
|
80
|
+
analysis_manifest: AnalysisManifest
|
|
81
|
+
def __init__(self, analysis_id: _Optional[str] = ..., analysis_manifest: _Optional[_Union[AnalysisManifest, _Mapping]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class AnalysisVersionCreateResponse(_message.Message):
|
|
84
|
+
__slots__ = ("status_code", "analysis_version")
|
|
85
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
ANALYSIS_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
status_code: int
|
|
88
|
+
analysis_version: AnalysisVersion
|
|
89
|
+
def __init__(self, status_code: _Optional[int] = ..., analysis_version: _Optional[_Union[AnalysisVersion, _Mapping]] = ...) -> None: ...
|
|
90
|
+
|
|
91
|
+
class AnalysisVersionGetRequest(_message.Message):
|
|
92
|
+
__slots__ = ("ids", "include_manifest", "include_algorithm_details", "pagination")
|
|
93
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
INCLUDE_MANIFEST_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
INCLUDE_ALGORITHM_DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
ids: _containers.RepeatedScalarFieldContainer[str]
|
|
98
|
+
include_manifest: bool
|
|
99
|
+
include_algorithm_details: bool
|
|
100
|
+
pagination: _common_models_pb2_1_1.Pagination
|
|
101
|
+
def __init__(self, ids: _Optional[_Iterable[str]] = ..., include_manifest: bool = ..., include_algorithm_details: bool = ..., pagination: _Optional[_Union[_common_models_pb2_1_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
102
|
+
|
|
103
|
+
class AnalysisVersionGetResponse(_message.Message):
|
|
104
|
+
__slots__ = ("status_code", "analysis_versions", "pagination")
|
|
105
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
ANALYSIS_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
status_code: int
|
|
109
|
+
analysis_versions: _containers.RepeatedCompositeFieldContainer[AnalysisVersion]
|
|
110
|
+
pagination: _common_models_pb2_1_1.Pagination
|
|
111
|
+
def __init__(self, status_code: _Optional[int] = ..., analysis_versions: _Optional[_Iterable[_Union[AnalysisVersion, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
112
|
+
|
|
113
|
+
class AnalysisVersionListRequest(_message.Message):
|
|
114
|
+
__slots__ = ("analysis_id", "tag", "search_text", "min_created_on", "max_created_on", "include_manifest", "include_all_versions", "pagination")
|
|
115
|
+
ANALYSIS_ID_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
TAG_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
+
MIN_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
MAX_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
INCLUDE_MANIFEST_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
INCLUDE_ALL_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
analysis_id: str
|
|
124
|
+
tag: str
|
|
125
|
+
search_text: str
|
|
126
|
+
min_created_on: _timestamp_pb2.Timestamp
|
|
127
|
+
max_created_on: _timestamp_pb2.Timestamp
|
|
128
|
+
include_manifest: bool
|
|
129
|
+
include_all_versions: bool
|
|
130
|
+
pagination: _common_models_pb2_1_1.Pagination
|
|
131
|
+
def __init__(self, analysis_id: _Optional[str] = ..., tag: _Optional[str] = ..., 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]] = ..., include_manifest: bool = ..., include_all_versions: bool = ..., pagination: _Optional[_Union[_common_models_pb2_1_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
132
|
+
|
|
133
|
+
class AnalysisVersionListResponse(_message.Message):
|
|
134
|
+
__slots__ = ("status_code", "analysis_versions", "pagination")
|
|
135
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
ANALYSIS_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
status_code: int
|
|
139
|
+
analysis_versions: _containers.RepeatedCompositeFieldContainer[AnalysisVersion]
|
|
140
|
+
pagination: _common_models_pb2_1_1.Pagination
|
|
141
|
+
def __init__(self, status_code: _Optional[int] = ..., analysis_versions: _Optional[_Iterable[_Union[AnalysisVersion, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: aoi_catalog.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
|
+
'aoi_catalog.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
|
+
from elements_api.models import aoi_collection_pb2 as aoi__collection__pb2
|
|
28
|
+
try:
|
|
29
|
+
common__models__pb2 = aoi__collection__pb2.common__models__pb2
|
|
30
|
+
except AttributeError:
|
|
31
|
+
common__models__pb2 = aoi__collection__pb2.common_models_pb2
|
|
32
|
+
|
|
33
|
+
from elements_api.models.common_models_pb2 import *
|
|
34
|
+
from elements_api.models.aoi_collection_pb2 import *
|
|
35
|
+
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61oi_catalog.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x13\x63ommon_models.proto\x1a\x14\x61oi_collection.proto\"\x85\x02\n\x08\x41OIStats\x12+\n\ncategories\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12*\n\tcountries\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07sources\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\'\n\x06states\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12%\n\x04tags\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12&\n\x05types\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xe6\x01\n\x12\x41OIStatsGetRequest\x12\x0c\n\x04\x62\x62ox\x18\x01 \x03(\x01\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12\x13\n\x0bsearch_text\x18\x05 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x06 \x01(\t\x12\r\n\x05state\x18\x07 \x01(\t\x12\x10\n\x08min_area\x18\x08 \x01(\x01\x12\x10\n\x08max_area\x18\t \x01(\x01\x12\x0f\n\x07sources\x18\n \x03(\t\x12*\n\x0clibrary_type\x18\x0b \x01(\x0e\x32\x14.oi.papi.LibraryType\"P\n\x13\x41OIStatsGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12$\n\taoi_stats\x18\x02 \x01(\x0b\x32\x11.oi.papi.AOIStats\"6\n\nAOICluster\x12\x0b\n\x03lat\x18\x01 \x01(\x01\x12\x0c\n\x04long\x18\x02 \x01(\x01\x12\r\n\x05\x63ount\x18\x03 \x01(\r\"\xe8\x01\n\x14\x41OIClusterGetRequest\x12\x0c\n\x04\x62\x62ox\x18\x01 \x03(\x01\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12\x13\n\x0bsearch_text\x18\x05 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x06 \x01(\t\x12\r\n\x05state\x18\x07 \x01(\t\x12\x10\n\x08min_area\x18\x08 \x01(\x01\x12\x10\n\x08max_area\x18\t \x01(\x01\x12\x0f\n\x07sources\x18\n \x03(\t\x12*\n\x0clibrary_type\x18\x0b \x01(\x0e\x32\x14.oi.papi.LibraryType\"W\n\x15\x41OIClusterGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12)\n\x0c\x61oi_clusters\x18\x02 \x03(\x0b\x32\x13.oi.papi.AOICluster\"\'\n\x14\x41OICatalogAddRequest\x12\x0f\n\x07\x61oi_ids\x18\x01 \x03(\t\",\n\x15\x41OICatalogAddResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"*\n\x17\x41OICatalogDeleteRequest\x12\x0f\n\x07\x61oi_ids\x18\x01 \x03(\t\"/\n\x18\x41OICatalogDeleteResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"$\n\"AOICatalogGetPrivateCatalogRequest\"V\n#AOICatalogGetPrivateCatalogResponse\x12/\n\x0fuser_collection\x18\x01 \x01(\x0b\x32\x16.oi.papi.AOICollection*&\n\x0bLibraryType\x12\x0b\n\x07PRIVATE\x10\x00\x12\n\n\x06PUBLIC\x10\x01\x32\xe0\x03\n\rAOICatalogApi\x12J\n\rget_aoi_stats\x12\x1b.oi.papi.AOIStatsGetRequest\x1a\x1c.oi.papi.AOIStatsGetResponse\x12Q\n\x10get_aoi_clusters\x12\x1d.oi.papi.AOIClusterGetRequest\x1a\x1e.oi.papi.AOIClusterGetResponse\x12S\n\x12\x61\x64\x64_aoi_to_catalog\x12\x1d.oi.papi.AOICatalogAddRequest\x1a\x1e.oi.papi.AOICatalogAddResponse\x12^\n\x17\x64\x65lete_aoi_from_catalog\x12 .oi.papi.AOICatalogDeleteRequest\x1a!.oi.papi.AOICatalogDeleteResponse\x12{\n\x1eget_private_catalog_collection\x12+.oi.papi.AOICatalogGetPrivateCatalogRequest\x1a,.oi.papi.AOICatalogGetPrivateCatalogResponseP\x01P\x02\x62\x06proto3')
|
|
37
|
+
|
|
38
|
+
_globals = globals()
|
|
39
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
40
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'aoi_catalog_pb2', _globals)
|
|
41
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
42
|
+
DESCRIPTOR._loaded_options = None
|
|
43
|
+
_globals['_LIBRARYTYPE']._serialized_start=1368
|
|
44
|
+
_globals['_LIBRARYTYPE']._serialized_end=1406
|
|
45
|
+
_globals['_AOISTATS']._serialized_start=104
|
|
46
|
+
_globals['_AOISTATS']._serialized_end=365
|
|
47
|
+
_globals['_AOISTATSGETREQUEST']._serialized_start=368
|
|
48
|
+
_globals['_AOISTATSGETREQUEST']._serialized_end=598
|
|
49
|
+
_globals['_AOISTATSGETRESPONSE']._serialized_start=600
|
|
50
|
+
_globals['_AOISTATSGETRESPONSE']._serialized_end=680
|
|
51
|
+
_globals['_AOICLUSTER']._serialized_start=682
|
|
52
|
+
_globals['_AOICLUSTER']._serialized_end=736
|
|
53
|
+
_globals['_AOICLUSTERGETREQUEST']._serialized_start=739
|
|
54
|
+
_globals['_AOICLUSTERGETREQUEST']._serialized_end=971
|
|
55
|
+
_globals['_AOICLUSTERGETRESPONSE']._serialized_start=973
|
|
56
|
+
_globals['_AOICLUSTERGETRESPONSE']._serialized_end=1060
|
|
57
|
+
_globals['_AOICATALOGADDREQUEST']._serialized_start=1062
|
|
58
|
+
_globals['_AOICATALOGADDREQUEST']._serialized_end=1101
|
|
59
|
+
_globals['_AOICATALOGADDRESPONSE']._serialized_start=1103
|
|
60
|
+
_globals['_AOICATALOGADDRESPONSE']._serialized_end=1147
|
|
61
|
+
_globals['_AOICATALOGDELETEREQUEST']._serialized_start=1149
|
|
62
|
+
_globals['_AOICATALOGDELETEREQUEST']._serialized_end=1191
|
|
63
|
+
_globals['_AOICATALOGDELETERESPONSE']._serialized_start=1193
|
|
64
|
+
_globals['_AOICATALOGDELETERESPONSE']._serialized_end=1240
|
|
65
|
+
_globals['_AOICATALOGGETPRIVATECATALOGREQUEST']._serialized_start=1242
|
|
66
|
+
_globals['_AOICATALOGGETPRIVATECATALOGREQUEST']._serialized_end=1278
|
|
67
|
+
_globals['_AOICATALOGGETPRIVATECATALOGRESPONSE']._serialized_start=1280
|
|
68
|
+
_globals['_AOICATALOGGETPRIVATECATALOGRESPONSE']._serialized_end=1366
|
|
69
|
+
_globals['_AOICATALOGAPI']._serialized_start=1409
|
|
70
|
+
_globals['_AOICATALOGAPI']._serialized_end=1889
|
|
71
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
2
|
+
import common_models_pb2 as _common_models_pb2
|
|
3
|
+
import aoi_collection_pb2 as _aoi_collection_pb2
|
|
4
|
+
import common_models_pb2 as _common_models_pb2_1
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
|
+
from common_models_pb2 import Pagination as Pagination
|
|
12
|
+
from aoi_collection_pb2 import AOICollection as AOICollection
|
|
13
|
+
from aoi_collection_pb2 import AOIInfo as AOIInfo
|
|
14
|
+
from aoi_collection_pb2 import AOICollectionCreateRequest as AOICollectionCreateRequest
|
|
15
|
+
from aoi_collection_pb2 import AOICollectionCreateResponse as AOICollectionCreateResponse
|
|
16
|
+
from aoi_collection_pb2 import AOICollectionGetRequest as AOICollectionGetRequest
|
|
17
|
+
from aoi_collection_pb2 import AOICollectionGetResponse as AOICollectionGetResponse
|
|
18
|
+
from aoi_collection_pb2 import AOICollectionAddRequest as AOICollectionAddRequest
|
|
19
|
+
from aoi_collection_pb2 import AOICollectionAddResponse as AOICollectionAddResponse
|
|
20
|
+
from aoi_collection_pb2 import AOICollectionRemoveRequest as AOICollectionRemoveRequest
|
|
21
|
+
from aoi_collection_pb2 import AOICollectionRemoveResponse as AOICollectionRemoveResponse
|
|
22
|
+
from aoi_collection_pb2 import AOICollectionCloneRequest as AOICollectionCloneRequest
|
|
23
|
+
from aoi_collection_pb2 import AOICollectionCloneResponse as AOICollectionCloneResponse
|
|
24
|
+
from aoi_collection_pb2 import AOICollectionListRequest as AOICollectionListRequest
|
|
25
|
+
from aoi_collection_pb2 import AOICollectionListResponse as AOICollectionListResponse
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
28
|
+
|
|
29
|
+
class LibraryType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
30
|
+
__slots__ = ()
|
|
31
|
+
PRIVATE: _ClassVar[LibraryType]
|
|
32
|
+
PUBLIC: _ClassVar[LibraryType]
|
|
33
|
+
PRIVATE: LibraryType
|
|
34
|
+
PUBLIC: LibraryType
|
|
35
|
+
|
|
36
|
+
class AOIStats(_message.Message):
|
|
37
|
+
__slots__ = ("categories", "countries", "sources", "states", "tags", "types")
|
|
38
|
+
CATEGORIES_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
COUNTRIES_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
SOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
STATES_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
categories: _struct_pb2.Struct
|
|
45
|
+
countries: _struct_pb2.Struct
|
|
46
|
+
sources: _struct_pb2.Struct
|
|
47
|
+
states: _struct_pb2.Struct
|
|
48
|
+
tags: _struct_pb2.Struct
|
|
49
|
+
types: _struct_pb2.Struct
|
|
50
|
+
def __init__(self, categories: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., countries: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., sources: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., states: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., tags: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., types: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
51
|
+
|
|
52
|
+
class AOIStatsGetRequest(_message.Message):
|
|
53
|
+
__slots__ = ("bbox", "category", "type", "tags", "search_text", "country", "state", "min_area", "max_area", "sources", "library_type")
|
|
54
|
+
BBOX_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CATEGORY_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
COUNTRY_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
MIN_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
MAX_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
SOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
LIBRARY_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
bbox: _containers.RepeatedScalarFieldContainer[float]
|
|
66
|
+
category: str
|
|
67
|
+
type: str
|
|
68
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
69
|
+
search_text: str
|
|
70
|
+
country: str
|
|
71
|
+
state: str
|
|
72
|
+
min_area: float
|
|
73
|
+
max_area: float
|
|
74
|
+
sources: _containers.RepeatedScalarFieldContainer[str]
|
|
75
|
+
library_type: LibraryType
|
|
76
|
+
def __init__(self, bbox: _Optional[_Iterable[float]] = ..., category: _Optional[str] = ..., type: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ..., search_text: _Optional[str] = ..., country: _Optional[str] = ..., state: _Optional[str] = ..., min_area: _Optional[float] = ..., max_area: _Optional[float] = ..., sources: _Optional[_Iterable[str]] = ..., library_type: _Optional[_Union[LibraryType, str]] = ...) -> None: ...
|
|
77
|
+
|
|
78
|
+
class AOIStatsGetResponse(_message.Message):
|
|
79
|
+
__slots__ = ("status_code", "aoi_stats")
|
|
80
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
AOI_STATS_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
status_code: int
|
|
83
|
+
aoi_stats: AOIStats
|
|
84
|
+
def __init__(self, status_code: _Optional[int] = ..., aoi_stats: _Optional[_Union[AOIStats, _Mapping]] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class AOICluster(_message.Message):
|
|
87
|
+
__slots__ = ("lat", "long", "count")
|
|
88
|
+
LAT_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
LONG_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
lat: float
|
|
92
|
+
long: float
|
|
93
|
+
count: int
|
|
94
|
+
def __init__(self, lat: _Optional[float] = ..., long: _Optional[float] = ..., count: _Optional[int] = ...) -> None: ...
|
|
95
|
+
|
|
96
|
+
class AOIClusterGetRequest(_message.Message):
|
|
97
|
+
__slots__ = ("bbox", "category", "type", "tags", "search_text", "country", "state", "min_area", "max_area", "sources", "library_type")
|
|
98
|
+
BBOX_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
CATEGORY_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
COUNTRY_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
+
MIN_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
MAX_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
SOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
LIBRARY_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
bbox: _containers.RepeatedScalarFieldContainer[float]
|
|
110
|
+
category: str
|
|
111
|
+
type: str
|
|
112
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
113
|
+
search_text: str
|
|
114
|
+
country: str
|
|
115
|
+
state: str
|
|
116
|
+
min_area: float
|
|
117
|
+
max_area: float
|
|
118
|
+
sources: _containers.RepeatedScalarFieldContainer[str]
|
|
119
|
+
library_type: LibraryType
|
|
120
|
+
def __init__(self, bbox: _Optional[_Iterable[float]] = ..., category: _Optional[str] = ..., type: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ..., search_text: _Optional[str] = ..., country: _Optional[str] = ..., state: _Optional[str] = ..., min_area: _Optional[float] = ..., max_area: _Optional[float] = ..., sources: _Optional[_Iterable[str]] = ..., library_type: _Optional[_Union[LibraryType, str]] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class AOIClusterGetResponse(_message.Message):
|
|
123
|
+
__slots__ = ("status_code", "aoi_clusters")
|
|
124
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
AOI_CLUSTERS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
status_code: int
|
|
127
|
+
aoi_clusters: _containers.RepeatedCompositeFieldContainer[AOICluster]
|
|
128
|
+
def __init__(self, status_code: _Optional[int] = ..., aoi_clusters: _Optional[_Iterable[_Union[AOICluster, _Mapping]]] = ...) -> None: ...
|
|
129
|
+
|
|
130
|
+
class AOICatalogAddRequest(_message.Message):
|
|
131
|
+
__slots__ = ("aoi_ids",)
|
|
132
|
+
AOI_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
aoi_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
134
|
+
def __init__(self, aoi_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
135
|
+
|
|
136
|
+
class AOICatalogAddResponse(_message.Message):
|
|
137
|
+
__slots__ = ("status_code",)
|
|
138
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
status_code: int
|
|
140
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
141
|
+
|
|
142
|
+
class AOICatalogDeleteRequest(_message.Message):
|
|
143
|
+
__slots__ = ("aoi_ids",)
|
|
144
|
+
AOI_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
aoi_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
146
|
+
def __init__(self, aoi_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
147
|
+
|
|
148
|
+
class AOICatalogDeleteResponse(_message.Message):
|
|
149
|
+
__slots__ = ("status_code",)
|
|
150
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
151
|
+
status_code: int
|
|
152
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
153
|
+
|
|
154
|
+
class AOICatalogGetPrivateCatalogRequest(_message.Message):
|
|
155
|
+
__slots__ = ()
|
|
156
|
+
def __init__(self) -> None: ...
|
|
157
|
+
|
|
158
|
+
class AOICatalogGetPrivateCatalogResponse(_message.Message):
|
|
159
|
+
__slots__ = ("user_collection",)
|
|
160
|
+
USER_COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
user_collection: _aoi_collection_pb2.AOICollection
|
|
162
|
+
def __init__(self, user_collection: _Optional[_Union[_aoi_collection_pb2.AOICollection, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: aoi_collection.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
|
+
'aoi_collection.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from elements_api.models import common_models_pb2 as common__models__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
|
|
28
|
+
from elements_api.models.common_models_pb2 import *
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x61oi_collection.proto\x12\x07oi.papi\x1a\x13\x63ommon_models.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"|\n\rAOICollection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\ncreated_on\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07user_id\x18\x04 \x01(\t\x12\x10\n\x08num_aois\x18\x05 \x01(\r\"\x90\x01\n\x07\x41OIInfo\x12\x0e\n\x06\x61oi_id\x18\x01 \x01(\t\x12\x16\n\x0e\x61oi_version_id\x18\x02 \x01(\t\x12\x10\n\x08\x61oi_name\x18\x03 \x01(\t\x12\x0b\n\x03lat\x18\x04 \x01(\x02\x12\x0c\n\x04long\x18\x05 \x01(\x02\x12\x10\n\x08\x61rea_km2\x18\x06 \x01(\x01\x12\x0c\n\x04geom\x18\x07 \x01(\t\x12\x10\n\x08timezone\x18\x08 \x01(\t\"*\n\x1a\x41OICollectionCreateRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"b\n\x1b\x41OICollectionCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12.\n\x0e\x61oi_collection\x18\x02 \x01(\x0b\x32\x16.oi.papi.AOICollection\"_\n\x17\x41OICollectionGetRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07verbose\x18\x02 \x01(\x08\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"|\n\x18\x41OICollectionGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\"\n\x08\x61oi_info\x18\x03 \x03(\x0b\x32\x10.oi.papi.AOIInfo\">\n\x17\x41OICollectionAddRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0f\x61oi_version_ids\x18\x02 \x03(\r\"/\n\x18\x41OICollectionAddResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"A\n\x1a\x41OICollectionRemoveRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0f\x61oi_version_ids\x18\x02 \x03(\r\"2\n\x1b\x41OICollectionRemoveResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"5\n\x19\x41OICollectionCloneRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"L\n\x1a\x41OICollectionCloneResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x19\n\x11\x61oi_collection_id\x18\x02 \x01(\t\"\xc0\x01\n\x18\x41OICollectionListRequest\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\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\x13\n\x0bsearch_text\x18\x04 \x01(\t\"\x8a\x01\n\x19\x41OICollectionListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12/\n\x0f\x61oi_collections\x18\x03 \x03(\x0b\x32\x16.oi.papi.AOICollection2\xf5\x03\n\x10\x41OICollectionApi\x12S\n\x06\x63reate\x12#.oi.papi.AOICollectionCreateRequest\x1a$.oi.papi.AOICollectionCreateResponse\x12J\n\x03get\x12 .oi.papi.AOICollectionGetRequest\x1a!.oi.papi.AOICollectionGetResponse\x12P\n\x05\x63lone\x12\".oi.papi.AOICollectionCloneRequest\x1a#.oi.papi.AOICollectionCloneResponse\x12J\n\x03\x61\x64\x64\x12 .oi.papi.AOICollectionAddRequest\x1a!.oi.papi.AOICollectionAddResponse\x12S\n\x06remove\x12#.oi.papi.AOICollectionRemoveRequest\x1a$.oi.papi.AOICollectionRemoveResponse\x12M\n\x04list\x12!.oi.papi.AOICollectionListRequest\x1a\".oi.papi.AOICollectionListResponseP\x00\x62\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'aoi_collection_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_AOICOLLECTION']._serialized_start=87
|
|
38
|
+
_globals['_AOICOLLECTION']._serialized_end=211
|
|
39
|
+
_globals['_AOIINFO']._serialized_start=214
|
|
40
|
+
_globals['_AOIINFO']._serialized_end=358
|
|
41
|
+
_globals['_AOICOLLECTIONCREATEREQUEST']._serialized_start=360
|
|
42
|
+
_globals['_AOICOLLECTIONCREATEREQUEST']._serialized_end=402
|
|
43
|
+
_globals['_AOICOLLECTIONCREATERESPONSE']._serialized_start=404
|
|
44
|
+
_globals['_AOICOLLECTIONCREATERESPONSE']._serialized_end=502
|
|
45
|
+
_globals['_AOICOLLECTIONGETREQUEST']._serialized_start=504
|
|
46
|
+
_globals['_AOICOLLECTIONGETREQUEST']._serialized_end=599
|
|
47
|
+
_globals['_AOICOLLECTIONGETRESPONSE']._serialized_start=601
|
|
48
|
+
_globals['_AOICOLLECTIONGETRESPONSE']._serialized_end=725
|
|
49
|
+
_globals['_AOICOLLECTIONADDREQUEST']._serialized_start=727
|
|
50
|
+
_globals['_AOICOLLECTIONADDREQUEST']._serialized_end=789
|
|
51
|
+
_globals['_AOICOLLECTIONADDRESPONSE']._serialized_start=791
|
|
52
|
+
_globals['_AOICOLLECTIONADDRESPONSE']._serialized_end=838
|
|
53
|
+
_globals['_AOICOLLECTIONREMOVEREQUEST']._serialized_start=840
|
|
54
|
+
_globals['_AOICOLLECTIONREMOVEREQUEST']._serialized_end=905
|
|
55
|
+
_globals['_AOICOLLECTIONREMOVERESPONSE']._serialized_start=907
|
|
56
|
+
_globals['_AOICOLLECTIONREMOVERESPONSE']._serialized_end=957
|
|
57
|
+
_globals['_AOICOLLECTIONCLONEREQUEST']._serialized_start=959
|
|
58
|
+
_globals['_AOICOLLECTIONCLONEREQUEST']._serialized_end=1012
|
|
59
|
+
_globals['_AOICOLLECTIONCLONERESPONSE']._serialized_start=1014
|
|
60
|
+
_globals['_AOICOLLECTIONCLONERESPONSE']._serialized_end=1090
|
|
61
|
+
_globals['_AOICOLLECTIONLISTREQUEST']._serialized_start=1093
|
|
62
|
+
_globals['_AOICOLLECTIONLISTREQUEST']._serialized_end=1285
|
|
63
|
+
_globals['_AOICOLLECTIONLISTRESPONSE']._serialized_start=1288
|
|
64
|
+
_globals['_AOICOLLECTIONLISTRESPONSE']._serialized_end=1426
|
|
65
|
+
_globals['_AOICOLLECTIONAPI']._serialized_start=1429
|
|
66
|
+
_globals['_AOICOLLECTIONAPI']._serialized_end=1930
|
|
67
|
+
# @@protoc_insertion_point(module_scope)
|