tilebox-datasets 0.38.0__py3-none-any.whl → 0.39.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tilebox/datasets/aio/client.py +4 -4
- tilebox/datasets/aio/dataset.py +8 -13
- tilebox/datasets/aio/pagination.py +1 -3
- tilebox/datasets/client.py +1 -1
- tilebox/datasets/data/__init__.py +27 -15
- tilebox/datasets/data/collection.py +3 -3
- tilebox/datasets/data/data_access.py +6 -6
- tilebox/datasets/data/datapoint.py +7 -74
- tilebox/datasets/data/datasets.py +2 -2
- tilebox/datasets/data/time_interval.py +13 -232
- tilebox/datasets/data/timeseries.py +6 -6
- tilebox/datasets/datasets/v1/collections_pb2.py +49 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/collections_pb2.pyi +11 -10
- tilebox/datasets/{datasetsv1 → datasets/v1}/collections_pb2_grpc.py +2 -2
- tilebox/datasets/datasets/v1/core_pb2.py +79 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/core_pb2.pyi +13 -49
- tilebox/datasets/datasets/v1/data_access_pb2.py +65 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/data_access_pb2.pyi +18 -16
- tilebox/datasets/{datasetsv1 → datasets/v1}/data_access_pb2_grpc.py +2 -2
- tilebox/datasets/datasets/v1/data_ingestion_pb2.py +49 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/data_ingestion_pb2.pyi +11 -10
- tilebox/datasets/{datasetsv1 → datasets/v1}/data_ingestion_pb2_grpc.py +1 -1
- tilebox/datasets/datasets/v1/dataset_type_pb2.py +53 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/dataset_type_pb2.pyi +6 -5
- tilebox/datasets/datasets/v1/datasets_pb2.py +62 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/datasets_pb2.pyi +21 -8
- tilebox/datasets/{datasetsv1 → datasets/v1}/datasets_pb2_grpc.py +45 -2
- tilebox/datasets/datasets/v1/timeseries_pb2.py +42 -0
- tilebox/datasets/{datasetsv1 → datasets/v1}/timeseries_pb2.pyi +9 -8
- tilebox/datasets/{datasetsv1 → datasets/v1}/well_known_types_pb2.py +2 -2
- tilebox/datasets/message_pool.py +1 -1
- tilebox/datasets/progress.py +1 -1
- tilebox/datasets/protobuf_conversion/field_types.py +2 -2
- tilebox/datasets/query/__init__.py +8 -0
- tilebox/datasets/query/id_interval.py +72 -0
- tilebox/datasets/{data → query}/pagination.py +5 -5
- tilebox/datasets/query/time_interval.py +237 -0
- tilebox/datasets/service.py +13 -20
- tilebox/datasets/sync/client.py +4 -4
- tilebox/datasets/sync/dataset.py +7 -8
- tilebox/datasets/sync/pagination.py +1 -3
- tilebox/datasets/tilebox/v1/id_pb2.py +37 -0
- tilebox/datasets/tilebox/v1/id_pb2.pyi +11 -0
- tilebox/datasets/tilebox/v1/id_pb2_grpc.py +3 -0
- tilebox/datasets/tilebox/v1/query_pb2.py +47 -0
- tilebox/datasets/tilebox/v1/query_pb2.pyi +39 -0
- tilebox/datasets/tilebox/v1/query_pb2_grpc.py +3 -0
- tilebox/datasets/{data/uuid.py → uuid.py} +8 -7
- {tilebox_datasets-0.38.0.dist-info → tilebox_datasets-0.39.0.dist-info}/METADATA +1 -1
- tilebox_datasets-0.39.0.dist-info/RECORD +65 -0
- tilebox/datasets/datasetsv1/collections_pb2.py +0 -48
- tilebox/datasets/datasetsv1/core_pb2.py +0 -73
- tilebox/datasets/datasetsv1/data_access_pb2.py +0 -57
- tilebox/datasets/datasetsv1/data_ingestion_pb2.py +0 -48
- tilebox/datasets/datasetsv1/dataset_type_pb2.py +0 -52
- tilebox/datasets/datasetsv1/datasets_pb2.py +0 -55
- tilebox/datasets/datasetsv1/timeseries_pb2.py +0 -41
- tilebox_datasets-0.38.0.dist-info/RECORD +0 -56
- /tilebox/datasets/{datasetsv1 → datasets/v1}/core_pb2_grpc.py +0 -0
- /tilebox/datasets/{datasetsv1 → datasets/v1}/dataset_type_pb2_grpc.py +0 -0
- /tilebox/datasets/{datasetsv1 → datasets/v1}/timeseries_pb2_grpc.py +0 -0
- /tilebox/datasets/{datasetsv1 → datasets/v1}/well_known_types_pb2.pyi +0 -0
- /tilebox/datasets/{datasetsv1 → datasets/v1}/well_known_types_pb2_grpc.py +0 -0
- {tilebox_datasets-0.38.0.dist-info → tilebox_datasets-0.39.0.dist-info}/WHEEL +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from tilebox.datasets.
|
|
1
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as _core_pb2
|
|
2
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
|
|
2
3
|
from google.protobuf import descriptor as _descriptor
|
|
3
4
|
from google.protobuf import message as _message
|
|
4
5
|
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
@@ -9,9 +10,9 @@ class CreateCollectionRequest(_message.Message):
|
|
|
9
10
|
__slots__ = ("dataset_id", "name")
|
|
10
11
|
DATASET_ID_FIELD_NUMBER: _ClassVar[int]
|
|
11
12
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
-
dataset_id:
|
|
13
|
+
dataset_id: _id_pb2.ID
|
|
13
14
|
name: str
|
|
14
|
-
def __init__(self, dataset_id: _Optional[_Union[
|
|
15
|
+
def __init__(self, dataset_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., name: _Optional[str] = ...) -> None: ...
|
|
15
16
|
|
|
16
17
|
class GetCollectionByNameRequest(_message.Message):
|
|
17
18
|
__slots__ = ("collection_name", "with_availability", "with_count", "dataset_id")
|
|
@@ -22,16 +23,16 @@ class GetCollectionByNameRequest(_message.Message):
|
|
|
22
23
|
collection_name: str
|
|
23
24
|
with_availability: bool
|
|
24
25
|
with_count: bool
|
|
25
|
-
dataset_id:
|
|
26
|
-
def __init__(self, collection_name: _Optional[str] = ..., with_availability: bool = ..., with_count: bool = ..., dataset_id: _Optional[_Union[
|
|
26
|
+
dataset_id: _id_pb2.ID
|
|
27
|
+
def __init__(self, collection_name: _Optional[str] = ..., with_availability: bool = ..., with_count: bool = ..., dataset_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ...) -> None: ...
|
|
27
28
|
|
|
28
29
|
class DeleteCollectionRequest(_message.Message):
|
|
29
30
|
__slots__ = ("collection_id", "dataset_id")
|
|
30
31
|
COLLECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
31
32
|
DATASET_ID_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
-
collection_id:
|
|
33
|
-
dataset_id:
|
|
34
|
-
def __init__(self, collection_id: _Optional[_Union[
|
|
33
|
+
collection_id: _id_pb2.ID
|
|
34
|
+
dataset_id: _id_pb2.ID
|
|
35
|
+
def __init__(self, collection_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., dataset_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ...) -> None: ...
|
|
35
36
|
|
|
36
37
|
class DeleteCollectionResponse(_message.Message):
|
|
37
38
|
__slots__ = ()
|
|
@@ -42,7 +43,7 @@ class ListCollectionsRequest(_message.Message):
|
|
|
42
43
|
DATASET_ID_FIELD_NUMBER: _ClassVar[int]
|
|
43
44
|
WITH_AVAILABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
44
45
|
WITH_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
-
dataset_id:
|
|
46
|
+
dataset_id: _id_pb2.ID
|
|
46
47
|
with_availability: bool
|
|
47
48
|
with_count: bool
|
|
48
|
-
def __init__(self, dataset_id: _Optional[_Union[
|
|
49
|
+
def __init__(self, dataset_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., with_availability: bool = ..., with_count: bool = ...) -> None: ...
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
-
from tilebox.datasets.
|
|
6
|
-
from tilebox.datasets.
|
|
5
|
+
from tilebox.datasets.datasets.v1 import collections_pb2 as datasets_dot_v1_dot_collections__pb2
|
|
6
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as datasets_dot_v1_dot_core__pb2
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class CollectionServiceStub(object):
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: datasets/v1/core.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.3
|
|
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
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'datasets/v1/core.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from tilebox.datasets.datasets.v1 import dataset_type_pb2 as datasets_dot_v1_dot_dataset__type__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as tilebox_dot_v1_dot_id__pb2
|
|
28
|
+
from tilebox.datasets.tilebox.v1 import query_pb2 as tilebox_dot_v1_dot_query__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x64\x61tasets/v1/core.proto\x12\x0b\x64\x61tasets.v1\x1a\x1e\x64\x61tasets/v1/dataset_type.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13tilebox/v1/id.proto\x1a\x16tilebox/v1/query.proto\"]\n\x10LegacyPagination\x12\x1b\n\x05limit\x18\x01 \x01(\x03\x42\x05\xaa\x01\x02\x08\x01R\x05limit\x12,\n\x0estarting_after\x18\x02 \x01(\tB\x05\xaa\x01\x02\x08\x01R\rstartingAfter\"6\n\x03\x41ny\x12\x19\n\x08type_url\x18\x01 \x01(\tR\x07typeUrl\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value\">\n\x0bRepeatedAny\x12\x19\n\x08type_url\x18\x01 \x01(\tR\x07typeUrl\x12\x14\n\x05value\x18\x02 \x03(\x0cR\x05value\"\xa8\x01\n\x11\x44\x61tapointMetadata\x12\x39\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\teventTime\x12\x41\n\x0eingestion_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ringestionTime\x12\x15\n\x02id\x18\x03 \x01(\tB\x05\xaa\x01\x02\x08\x01R\x02id\"n\n\nDatapoints\x12\x32\n\x04meta\x18\x01 \x03(\x0b\x32\x1e.datasets.v1.DatapointMetadataR\x04meta\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x18.datasets.v1.RepeatedAnyR\x04\x64\x61ta\"\xb4\x01\n\rDatapointPage\x12\x32\n\x04meta\x18\x01 \x03(\x0b\x32\x1e.datasets.v1.DatapointMetadataR\x04meta\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x18.datasets.v1.RepeatedAnyR\x04\x64\x61ta\x12\x41\n\tnext_page\x18\x03 \x01(\x0b\x32\x1d.datasets.v1.LegacyPaginationB\x05\xaa\x01\x02\x08\x01R\x08nextPage\"e\n\tDatapoint\x12\x32\n\x04meta\x18\x01 \x01(\x0b\x32\x1e.datasets.v1.DatapointMetadataR\x04meta\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x10.datasets.v1.AnyR\x04\x64\x61ta\"]\n\nCollection\x12\x1b\n\tlegacy_id\x18\x01 \x01(\tR\x08legacyId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1e\n\x02id\x18\x03 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\"\xab\x01\n\x0e\x43ollectionInfo\x12\x37\n\ncollection\x18\x01 \x01(\x0b\x32\x17.datasets.v1.CollectionR\ncollection\x12\x43\n\x0c\x61vailability\x18\x02 \x01(\x0b\x32\x18.tilebox.v1.TimeIntervalB\x05\xaa\x01\x02\x08\x01R\x0c\x61vailability\x12\x1b\n\x05\x63ount\x18\x03 \x01(\x04\x42\x05\xaa\x01\x02\x08\x01R\x05\x63ount\"B\n\x0f\x43ollectionInfos\x12/\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1b.datasets.v1.CollectionInfoR\x04\x64\x61ta\"\xb9\x03\n\x07\x44\x61taset\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\x12)\n\x08group_id\x18\x02 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x07groupId\x12.\n\x04type\x18\x03 \x01(\x0b\x32\x1a.datasets.v1.AnnotatedTypeR\x04type\x12\x1b\n\tcode_name\x18\x04 \x01(\tR\x08\x63odeName\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x18\n\x07summary\x18\x06 \x01(\tR\x07summary\x12\x12\n\x04icon\x18\x07 \x01(\tR\x04icon\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\x12@\n\x0bpermissions\x18\n \x03(\x0e\x32\x1e.datasets.v1.DatasetPermissionR\x0bpermissions\x12\x37\n\nvisibility\x18\x0b \x01(\x0e\x32\x17.datasets.v1.VisibilityR\nvisibility\x12\x12\n\x04slug\x18\x0c \x01(\tR\x04slug\x12#\n\rtype_editable\x18\r \x01(\x08R\x0ctypeEditable\"\xa0\x01\n\x0c\x44\x61tasetGroup\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\x12+\n\tparent_id\x18\x02 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x08parentId\x12\x1b\n\tcode_name\x18\x03 \x01(\tR\x08\x63odeName\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n\x04icon\x18\x05 \x01(\tR\x04icon*\x9b\x01\n\x11\x44\x61tasetPermission\x12\"\n\x1e\x44\x41TASET_PERMISSION_UNSPECIFIED\x10\x00\x12\"\n\x1e\x44\x41TASET_PERMISSION_ACCESS_DATA\x10\x01\x12!\n\x1d\x44\x41TASET_PERMISSION_WRITE_DATA\x10\x02\x12\x1b\n\x17\x44\x41TASET_PERMISSION_EDIT\x10\x03*v\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x1d\n\x19VISIBILITY_SHARED_WITH_ME\x10\x02\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x03\x42n\n\x0f\x63om.datasets.v1B\tCoreProtoP\x01\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tasets.V1\xca\x02\x0b\x44\x61tasets\\V1\xe2\x02\x17\x44\x61tasets\\V1\\GPBMetadata\xea\x02\x0c\x44\x61tasets::V1\x92\x03\x02\x08\x02\x62\x08\x65\x64itionsp\xe8\x07')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datasets.v1.core_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\017com.datasets.v1B\tCoreProtoP\001\242\002\003DXX\252\002\013Datasets.V1\312\002\013Datasets\\V1\342\002\027Datasets\\V1\\GPBMetadata\352\002\014Datasets::V1\222\003\002\010\002'
|
|
39
|
+
_globals['_LEGACYPAGINATION'].fields_by_name['limit']._loaded_options = None
|
|
40
|
+
_globals['_LEGACYPAGINATION'].fields_by_name['limit']._serialized_options = b'\252\001\002\010\001'
|
|
41
|
+
_globals['_LEGACYPAGINATION'].fields_by_name['starting_after']._loaded_options = None
|
|
42
|
+
_globals['_LEGACYPAGINATION'].fields_by_name['starting_after']._serialized_options = b'\252\001\002\010\001'
|
|
43
|
+
_globals['_DATAPOINTMETADATA'].fields_by_name['id']._loaded_options = None
|
|
44
|
+
_globals['_DATAPOINTMETADATA'].fields_by_name['id']._serialized_options = b'\252\001\002\010\001'
|
|
45
|
+
_globals['_DATAPOINTPAGE'].fields_by_name['next_page']._loaded_options = None
|
|
46
|
+
_globals['_DATAPOINTPAGE'].fields_by_name['next_page']._serialized_options = b'\252\001\002\010\001'
|
|
47
|
+
_globals['_COLLECTIONINFO'].fields_by_name['availability']._loaded_options = None
|
|
48
|
+
_globals['_COLLECTIONINFO'].fields_by_name['availability']._serialized_options = b'\252\001\002\010\001'
|
|
49
|
+
_globals['_COLLECTIONINFO'].fields_by_name['count']._loaded_options = None
|
|
50
|
+
_globals['_COLLECTIONINFO'].fields_by_name['count']._serialized_options = b'\252\001\002\010\001'
|
|
51
|
+
_globals['_DATASETPERMISSION']._serialized_start=1878
|
|
52
|
+
_globals['_DATASETPERMISSION']._serialized_end=2033
|
|
53
|
+
_globals['_VISIBILITY']._serialized_start=2035
|
|
54
|
+
_globals['_VISIBILITY']._serialized_end=2153
|
|
55
|
+
_globals['_LEGACYPAGINATION']._serialized_start=149
|
|
56
|
+
_globals['_LEGACYPAGINATION']._serialized_end=242
|
|
57
|
+
_globals['_ANY']._serialized_start=244
|
|
58
|
+
_globals['_ANY']._serialized_end=298
|
|
59
|
+
_globals['_REPEATEDANY']._serialized_start=300
|
|
60
|
+
_globals['_REPEATEDANY']._serialized_end=362
|
|
61
|
+
_globals['_DATAPOINTMETADATA']._serialized_start=365
|
|
62
|
+
_globals['_DATAPOINTMETADATA']._serialized_end=533
|
|
63
|
+
_globals['_DATAPOINTS']._serialized_start=535
|
|
64
|
+
_globals['_DATAPOINTS']._serialized_end=645
|
|
65
|
+
_globals['_DATAPOINTPAGE']._serialized_start=648
|
|
66
|
+
_globals['_DATAPOINTPAGE']._serialized_end=828
|
|
67
|
+
_globals['_DATAPOINT']._serialized_start=830
|
|
68
|
+
_globals['_DATAPOINT']._serialized_end=931
|
|
69
|
+
_globals['_COLLECTION']._serialized_start=933
|
|
70
|
+
_globals['_COLLECTION']._serialized_end=1026
|
|
71
|
+
_globals['_COLLECTIONINFO']._serialized_start=1029
|
|
72
|
+
_globals['_COLLECTIONINFO']._serialized_end=1200
|
|
73
|
+
_globals['_COLLECTIONINFOS']._serialized_start=1202
|
|
74
|
+
_globals['_COLLECTIONINFOS']._serialized_end=1268
|
|
75
|
+
_globals['_DATASET']._serialized_start=1271
|
|
76
|
+
_globals['_DATASET']._serialized_end=1712
|
|
77
|
+
_globals['_DATASETGROUP']._serialized_start=1715
|
|
78
|
+
_globals['_DATASETGROUP']._serialized_end=1875
|
|
79
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
from tilebox.datasets.
|
|
1
|
+
from tilebox.datasets.datasets.v1 import dataset_type_pb2 as _dataset_type_pb2
|
|
2
2
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
|
|
4
|
+
from tilebox.datasets.tilebox.v1 import query_pb2 as _query_pb2
|
|
3
5
|
from google.protobuf.internal import containers as _containers
|
|
4
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
5
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -30,36 +32,6 @@ VISIBILITY_PRIVATE: Visibility
|
|
|
30
32
|
VISIBILITY_SHARED_WITH_ME: Visibility
|
|
31
33
|
VISIBILITY_PUBLIC: Visibility
|
|
32
34
|
|
|
33
|
-
class ID(_message.Message):
|
|
34
|
-
__slots__ = ("uuid",)
|
|
35
|
-
UUID_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
-
uuid: bytes
|
|
37
|
-
def __init__(self, uuid: _Optional[bytes] = ...) -> None: ...
|
|
38
|
-
|
|
39
|
-
class TimeInterval(_message.Message):
|
|
40
|
-
__slots__ = ("start_time", "end_time", "start_exclusive", "end_inclusive")
|
|
41
|
-
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
-
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
-
START_EXCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
-
END_INCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
-
start_time: _timestamp_pb2.Timestamp
|
|
46
|
-
end_time: _timestamp_pb2.Timestamp
|
|
47
|
-
start_exclusive: bool
|
|
48
|
-
end_inclusive: bool
|
|
49
|
-
def __init__(self, start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., start_exclusive: bool = ..., end_inclusive: bool = ...) -> None: ...
|
|
50
|
-
|
|
51
|
-
class DatapointInterval(_message.Message):
|
|
52
|
-
__slots__ = ("start_id", "end_id", "start_exclusive", "end_inclusive")
|
|
53
|
-
START_ID_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
-
END_ID_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
-
START_EXCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
-
END_INCLUSIVE_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
-
start_id: ID
|
|
58
|
-
end_id: ID
|
|
59
|
-
start_exclusive: bool
|
|
60
|
-
end_inclusive: bool
|
|
61
|
-
def __init__(self, start_id: _Optional[_Union[ID, _Mapping]] = ..., end_id: _Optional[_Union[ID, _Mapping]] = ..., start_exclusive: bool = ..., end_inclusive: bool = ...) -> None: ...
|
|
62
|
-
|
|
63
35
|
class LegacyPagination(_message.Message):
|
|
64
36
|
__slots__ = ("limit", "starting_after")
|
|
65
37
|
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -68,14 +40,6 @@ class LegacyPagination(_message.Message):
|
|
|
68
40
|
starting_after: str
|
|
69
41
|
def __init__(self, limit: _Optional[int] = ..., starting_after: _Optional[str] = ...) -> None: ...
|
|
70
42
|
|
|
71
|
-
class Pagination(_message.Message):
|
|
72
|
-
__slots__ = ("limit", "starting_after")
|
|
73
|
-
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
-
STARTING_AFTER_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
-
limit: int
|
|
76
|
-
starting_after: ID
|
|
77
|
-
def __init__(self, limit: _Optional[int] = ..., starting_after: _Optional[_Union[ID, _Mapping]] = ...) -> None: ...
|
|
78
|
-
|
|
79
43
|
class Any(_message.Message):
|
|
80
44
|
__slots__ = ("type_url", "value")
|
|
81
45
|
TYPE_URL_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -135,8 +99,8 @@ class Collection(_message.Message):
|
|
|
135
99
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
136
100
|
legacy_id: str
|
|
137
101
|
name: str
|
|
138
|
-
id: ID
|
|
139
|
-
def __init__(self, legacy_id: _Optional[str] = ..., name: _Optional[str] = ..., id: _Optional[_Union[ID, _Mapping]] = ...) -> None: ...
|
|
102
|
+
id: _id_pb2.ID
|
|
103
|
+
def __init__(self, legacy_id: _Optional[str] = ..., name: _Optional[str] = ..., id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ...) -> None: ...
|
|
140
104
|
|
|
141
105
|
class CollectionInfo(_message.Message):
|
|
142
106
|
__slots__ = ("collection", "availability", "count")
|
|
@@ -144,9 +108,9 @@ class CollectionInfo(_message.Message):
|
|
|
144
108
|
AVAILABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
145
109
|
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
146
110
|
collection: Collection
|
|
147
|
-
availability: TimeInterval
|
|
111
|
+
availability: _query_pb2.TimeInterval
|
|
148
112
|
count: int
|
|
149
|
-
def __init__(self, collection: _Optional[_Union[Collection, _Mapping]] = ..., availability: _Optional[_Union[TimeInterval, _Mapping]] = ..., count: _Optional[int] = ...) -> None: ...
|
|
113
|
+
def __init__(self, collection: _Optional[_Union[Collection, _Mapping]] = ..., availability: _Optional[_Union[_query_pb2.TimeInterval, _Mapping]] = ..., count: _Optional[int] = ...) -> None: ...
|
|
150
114
|
|
|
151
115
|
class CollectionInfos(_message.Message):
|
|
152
116
|
__slots__ = ("data",)
|
|
@@ -168,8 +132,8 @@ class Dataset(_message.Message):
|
|
|
168
132
|
VISIBILITY_FIELD_NUMBER: _ClassVar[int]
|
|
169
133
|
SLUG_FIELD_NUMBER: _ClassVar[int]
|
|
170
134
|
TYPE_EDITABLE_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
-
id: ID
|
|
172
|
-
group_id: ID
|
|
135
|
+
id: _id_pb2.ID
|
|
136
|
+
group_id: _id_pb2.ID
|
|
173
137
|
type: _dataset_type_pb2.AnnotatedType
|
|
174
138
|
code_name: str
|
|
175
139
|
name: str
|
|
@@ -180,7 +144,7 @@ class Dataset(_message.Message):
|
|
|
180
144
|
visibility: Visibility
|
|
181
145
|
slug: str
|
|
182
146
|
type_editable: bool
|
|
183
|
-
def __init__(self, id: _Optional[_Union[ID, _Mapping]] = ..., group_id: _Optional[_Union[ID, _Mapping]] = ..., type: _Optional[_Union[_dataset_type_pb2.AnnotatedType, _Mapping]] = ..., code_name: _Optional[str] = ..., name: _Optional[str] = ..., summary: _Optional[str] = ..., icon: _Optional[str] = ..., description: _Optional[str] = ..., permissions: _Optional[_Iterable[_Union[DatasetPermission, str]]] = ..., visibility: _Optional[_Union[Visibility, str]] = ..., slug: _Optional[str] = ..., type_editable: bool = ...) -> None: ...
|
|
147
|
+
def __init__(self, id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., group_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., type: _Optional[_Union[_dataset_type_pb2.AnnotatedType, _Mapping]] = ..., code_name: _Optional[str] = ..., name: _Optional[str] = ..., summary: _Optional[str] = ..., icon: _Optional[str] = ..., description: _Optional[str] = ..., permissions: _Optional[_Iterable[_Union[DatasetPermission, str]]] = ..., visibility: _Optional[_Union[Visibility, str]] = ..., slug: _Optional[str] = ..., type_editable: bool = ...) -> None: ...
|
|
184
148
|
|
|
185
149
|
class DatasetGroup(_message.Message):
|
|
186
150
|
__slots__ = ("id", "parent_id", "code_name", "name", "icon")
|
|
@@ -189,9 +153,9 @@ class DatasetGroup(_message.Message):
|
|
|
189
153
|
CODE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
190
154
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
191
155
|
ICON_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
-
id: ID
|
|
193
|
-
parent_id: ID
|
|
156
|
+
id: _id_pb2.ID
|
|
157
|
+
parent_id: _id_pb2.ID
|
|
194
158
|
code_name: str
|
|
195
159
|
name: str
|
|
196
160
|
icon: str
|
|
197
|
-
def __init__(self, id: _Optional[_Union[ID, _Mapping]] = ..., parent_id: _Optional[_Union[ID, _Mapping]] = ..., code_name: _Optional[str] = ..., name: _Optional[str] = ..., icon: _Optional[str] = ...) -> None: ...
|
|
161
|
+
def __init__(self, id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., parent_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., code_name: _Optional[str] = ..., name: _Optional[str] = ..., icon: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: datasets/v1/data_access.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.3
|
|
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
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'datasets/v1/data_access.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as datasets_dot_v1_dot_core__pb2
|
|
26
|
+
from tilebox.datasets.datasets.v1 import well_known_types_pb2 as datasets_dot_v1_dot_well__known__types__pb2
|
|
27
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as tilebox_dot_v1_dot_id__pb2
|
|
28
|
+
from tilebox.datasets.tilebox.v1 import query_pb2 as tilebox_dot_v1_dot_query__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x64\x61tasets/v1/data_access.proto\x12\x0b\x64\x61tasets.v1\x1a\x16\x64\x61tasets/v1/core.proto\x1a\"datasets/v1/well_known_types.proto\x1a\x13tilebox/v1/id.proto\x1a\x16tilebox/v1/query.proto\"\xbd\x02\n\x1cGetDatasetForIntervalRequest\x12#\n\rcollection_id\x18\x01 \x01(\tR\x0c\x63ollectionId\x12=\n\rtime_interval\x18\x02 \x01(\x0b\x32\x18.tilebox.v1.TimeIntervalR\x0ctimeInterval\x12\x45\n\x12\x64\x61tapoint_interval\x18\x06 \x01(\x0b\x32\x16.tilebox.v1.IDIntervalR\x11\x64\x61tapointInterval\x12\x38\n\x04page\x18\x03 \x01(\x0b\x32\x1d.datasets.v1.LegacyPaginationB\x05\xaa\x01\x02\x08\x01R\x04page\x12\x1b\n\tskip_data\x18\x04 \x01(\x08R\x08skipData\x12\x1b\n\tskip_meta\x18\x05 \x01(\x08R\x08skipMeta\"k\n\x17GetDatapointByIdRequest\x12#\n\rcollection_id\x18\x01 \x01(\tR\x0c\x63ollectionId\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x1b\n\tskip_data\x18\x03 \x01(\x08R\x08skipData\"\x86\x01\n\x10QueryByIDRequest\x12\x35\n\x0e\x63ollection_ids\x18\x01 \x03(\x0b\x32\x0e.tilebox.v1.IDR\rcollectionIds\x12\x1e\n\x02id\x18\x02 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\x12\x1b\n\tskip_data\x18\x03 \x01(\x08R\x08skipData\"\xee\x01\n\x0cQueryFilters\x12?\n\rtime_interval\x18\x01 \x01(\x0b\x32\x18.tilebox.v1.TimeIntervalH\x00R\x0ctimeInterval\x12G\n\x12\x64\x61tapoint_interval\x18\x02 \x01(\x0b\x32\x16.tilebox.v1.IDIntervalH\x00R\x11\x64\x61tapointInterval\x12\x41\n\x0espatial_extent\x18\x03 \x01(\x0b\x32\x1a.datasets.v1.SpatialFilterR\rspatialExtentB\x11\n\x0ftemporal_extent\"\xc9\x01\n\rSpatialFilter\x12\x31\n\x08geometry\x18\x01 \x01(\x0b\x32\x15.datasets.v1.GeometryR\x08geometry\x12\x32\n\x04mode\x18\x02 \x01(\x0e\x32\x1e.datasets.v1.SpatialFilterModeR\x04mode\x12Q\n\x11\x63oordinate_system\x18\x03 \x01(\x0e\x32$.datasets.v1.SpatialCoordinateSystemR\x10\x63oordinateSystem\"\xca\x01\n\x0cQueryRequest\x12\x35\n\x0e\x63ollection_ids\x18\x01 \x03(\x0b\x32\x0e.tilebox.v1.IDR\rcollectionIds\x12\x33\n\x07\x66ilters\x18\x02 \x01(\x0b\x32\x19.datasets.v1.QueryFiltersR\x07\x66ilters\x12\x31\n\x04page\x18\x03 \x01(\x0b\x32\x16.tilebox.v1.PaginationB\x05\xaa\x01\x02\x08\x01R\x04page\x12\x1b\n\tskip_data\x18\x04 \x01(\x08R\x08skipData\"{\n\x0fQueryResultPage\x12,\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x18.datasets.v1.RepeatedAnyR\x04\x64\x61ta\x12:\n\tnext_page\x18\x02 \x01(\x0b\x32\x16.tilebox.v1.PaginationB\x05\xaa\x01\x02\x08\x01R\x08nextPage*~\n\x11SpatialFilterMode\x12#\n\x1fSPATIAL_FILTER_MODE_UNSPECIFIED\x10\x00\x12\"\n\x1eSPATIAL_FILTER_MODE_INTERSECTS\x10\x01\x12 \n\x1cSPATIAL_FILTER_MODE_CONTAINS\x10\x02*\x96\x01\n\x17SpatialCoordinateSystem\x12)\n%SPATIAL_COORDINATE_SYSTEM_UNSPECIFIED\x10\x00\x12\'\n#SPATIAL_COORDINATE_SYSTEM_CARTESIAN\x10\x01\x12\'\n#SPATIAL_COORDINATE_SYSTEM_SPHERICAL\x10\x02\x32\xcd\x02\n\x11\x44\x61taAccessService\x12`\n\x15GetDatasetForInterval\x12).datasets.v1.GetDatasetForIntervalRequest\x1a\x1a.datasets.v1.DatapointPage\"\x00\x12R\n\x10GetDatapointByID\x12$.datasets.v1.GetDatapointByIdRequest\x1a\x16.datasets.v1.Datapoint\"\x00\x12>\n\tQueryByID\x12\x1d.datasets.v1.QueryByIDRequest\x1a\x10.datasets.v1.Any\"\x00\x12\x42\n\x05Query\x12\x19.datasets.v1.QueryRequest\x1a\x1c.datasets.v1.QueryResultPage\"\x00\x42t\n\x0f\x63om.datasets.v1B\x0f\x44\x61taAccessProtoP\x01\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tasets.V1\xca\x02\x0b\x44\x61tasets\\V1\xe2\x02\x17\x44\x61tasets\\V1\\GPBMetadata\xea\x02\x0c\x44\x61tasets::V1\x92\x03\x02\x08\x02\x62\x08\x65\x64itionsp\xe8\x07')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datasets.v1.data_access_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\017com.datasets.v1B\017DataAccessProtoP\001\242\002\003DXX\252\002\013Datasets.V1\312\002\013Datasets\\V1\342\002\027Datasets\\V1\\GPBMetadata\352\002\014Datasets::V1\222\003\002\010\002'
|
|
39
|
+
_globals['_GETDATASETFORINTERVALREQUEST'].fields_by_name['page']._loaded_options = None
|
|
40
|
+
_globals['_GETDATASETFORINTERVALREQUEST'].fields_by_name['page']._serialized_options = b'\252\001\002\010\001'
|
|
41
|
+
_globals['_QUERYREQUEST'].fields_by_name['page']._loaded_options = None
|
|
42
|
+
_globals['_QUERYREQUEST'].fields_by_name['page']._serialized_options = b'\252\001\002\010\001'
|
|
43
|
+
_globals['_QUERYRESULTPAGE'].fields_by_name['next_page']._loaded_options = None
|
|
44
|
+
_globals['_QUERYRESULTPAGE'].fields_by_name['next_page']._serialized_options = b'\252\001\002\010\001'
|
|
45
|
+
_globals['_SPATIALFILTERMODE']._serialized_start=1492
|
|
46
|
+
_globals['_SPATIALFILTERMODE']._serialized_end=1618
|
|
47
|
+
_globals['_SPATIALCOORDINATESYSTEM']._serialized_start=1621
|
|
48
|
+
_globals['_SPATIALCOORDINATESYSTEM']._serialized_end=1771
|
|
49
|
+
_globals['_GETDATASETFORINTERVALREQUEST']._serialized_start=152
|
|
50
|
+
_globals['_GETDATASETFORINTERVALREQUEST']._serialized_end=469
|
|
51
|
+
_globals['_GETDATAPOINTBYIDREQUEST']._serialized_start=471
|
|
52
|
+
_globals['_GETDATAPOINTBYIDREQUEST']._serialized_end=578
|
|
53
|
+
_globals['_QUERYBYIDREQUEST']._serialized_start=581
|
|
54
|
+
_globals['_QUERYBYIDREQUEST']._serialized_end=715
|
|
55
|
+
_globals['_QUERYFILTERS']._serialized_start=718
|
|
56
|
+
_globals['_QUERYFILTERS']._serialized_end=956
|
|
57
|
+
_globals['_SPATIALFILTER']._serialized_start=959
|
|
58
|
+
_globals['_SPATIALFILTER']._serialized_end=1160
|
|
59
|
+
_globals['_QUERYREQUEST']._serialized_start=1163
|
|
60
|
+
_globals['_QUERYREQUEST']._serialized_end=1365
|
|
61
|
+
_globals['_QUERYRESULTPAGE']._serialized_start=1367
|
|
62
|
+
_globals['_QUERYRESULTPAGE']._serialized_end=1490
|
|
63
|
+
_globals['_DATAACCESSSERVICE']._serialized_start=1774
|
|
64
|
+
_globals['_DATAACCESSSERVICE']._serialized_end=2107
|
|
65
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
from tilebox.datasets.
|
|
2
|
-
from tilebox.datasets.
|
|
1
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as _core_pb2
|
|
2
|
+
from tilebox.datasets.datasets.v1 import well_known_types_pb2 as _well_known_types_pb2
|
|
3
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
|
|
4
|
+
from tilebox.datasets.tilebox.v1 import query_pb2 as _query_pb2
|
|
3
5
|
from google.protobuf.internal import containers as _containers
|
|
4
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
5
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -35,12 +37,12 @@ class GetDatasetForIntervalRequest(_message.Message):
|
|
|
35
37
|
SKIP_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
36
38
|
SKIP_META_FIELD_NUMBER: _ClassVar[int]
|
|
37
39
|
collection_id: str
|
|
38
|
-
time_interval:
|
|
39
|
-
datapoint_interval:
|
|
40
|
+
time_interval: _query_pb2.TimeInterval
|
|
41
|
+
datapoint_interval: _query_pb2.IDInterval
|
|
40
42
|
page: _core_pb2.LegacyPagination
|
|
41
43
|
skip_data: bool
|
|
42
44
|
skip_meta: bool
|
|
43
|
-
def __init__(self, collection_id: _Optional[str] = ..., time_interval: _Optional[_Union[
|
|
45
|
+
def __init__(self, collection_id: _Optional[str] = ..., time_interval: _Optional[_Union[_query_pb2.TimeInterval, _Mapping]] = ..., datapoint_interval: _Optional[_Union[_query_pb2.IDInterval, _Mapping]] = ..., page: _Optional[_Union[_core_pb2.LegacyPagination, _Mapping]] = ..., skip_data: bool = ..., skip_meta: bool = ...) -> None: ...
|
|
44
46
|
|
|
45
47
|
class GetDatapointByIdRequest(_message.Message):
|
|
46
48
|
__slots__ = ("collection_id", "id", "skip_data")
|
|
@@ -57,20 +59,20 @@ class QueryByIDRequest(_message.Message):
|
|
|
57
59
|
COLLECTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
58
60
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
59
61
|
SKIP_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
-
collection_ids: _containers.RepeatedCompositeFieldContainer[
|
|
61
|
-
id:
|
|
62
|
+
collection_ids: _containers.RepeatedCompositeFieldContainer[_id_pb2.ID]
|
|
63
|
+
id: _id_pb2.ID
|
|
62
64
|
skip_data: bool
|
|
63
|
-
def __init__(self, collection_ids: _Optional[_Iterable[_Union[
|
|
65
|
+
def __init__(self, collection_ids: _Optional[_Iterable[_Union[_id_pb2.ID, _Mapping]]] = ..., id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., skip_data: bool = ...) -> None: ...
|
|
64
66
|
|
|
65
67
|
class QueryFilters(_message.Message):
|
|
66
68
|
__slots__ = ("time_interval", "datapoint_interval", "spatial_extent")
|
|
67
69
|
TIME_INTERVAL_FIELD_NUMBER: _ClassVar[int]
|
|
68
70
|
DATAPOINT_INTERVAL_FIELD_NUMBER: _ClassVar[int]
|
|
69
71
|
SPATIAL_EXTENT_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
-
time_interval:
|
|
71
|
-
datapoint_interval:
|
|
72
|
+
time_interval: _query_pb2.TimeInterval
|
|
73
|
+
datapoint_interval: _query_pb2.IDInterval
|
|
72
74
|
spatial_extent: SpatialFilter
|
|
73
|
-
def __init__(self, time_interval: _Optional[_Union[
|
|
75
|
+
def __init__(self, time_interval: _Optional[_Union[_query_pb2.TimeInterval, _Mapping]] = ..., datapoint_interval: _Optional[_Union[_query_pb2.IDInterval, _Mapping]] = ..., spatial_extent: _Optional[_Union[SpatialFilter, _Mapping]] = ...) -> None: ...
|
|
74
76
|
|
|
75
77
|
class SpatialFilter(_message.Message):
|
|
76
78
|
__slots__ = ("geometry", "mode", "coordinate_system")
|
|
@@ -88,16 +90,16 @@ class QueryRequest(_message.Message):
|
|
|
88
90
|
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
89
91
|
PAGE_FIELD_NUMBER: _ClassVar[int]
|
|
90
92
|
SKIP_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
-
collection_ids: _containers.RepeatedCompositeFieldContainer[
|
|
93
|
+
collection_ids: _containers.RepeatedCompositeFieldContainer[_id_pb2.ID]
|
|
92
94
|
filters: QueryFilters
|
|
93
|
-
page:
|
|
95
|
+
page: _query_pb2.Pagination
|
|
94
96
|
skip_data: bool
|
|
95
|
-
def __init__(self, collection_ids: _Optional[_Iterable[_Union[
|
|
97
|
+
def __init__(self, collection_ids: _Optional[_Iterable[_Union[_id_pb2.ID, _Mapping]]] = ..., filters: _Optional[_Union[QueryFilters, _Mapping]] = ..., page: _Optional[_Union[_query_pb2.Pagination, _Mapping]] = ..., skip_data: bool = ...) -> None: ...
|
|
96
98
|
|
|
97
99
|
class QueryResultPage(_message.Message):
|
|
98
100
|
__slots__ = ("data", "next_page")
|
|
99
101
|
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
100
102
|
NEXT_PAGE_FIELD_NUMBER: _ClassVar[int]
|
|
101
103
|
data: _core_pb2.RepeatedAny
|
|
102
|
-
next_page:
|
|
103
|
-
def __init__(self, data: _Optional[_Union[_core_pb2.RepeatedAny, _Mapping]] = ..., next_page: _Optional[_Union[
|
|
104
|
+
next_page: _query_pb2.Pagination
|
|
105
|
+
def __init__(self, data: _Optional[_Union[_core_pb2.RepeatedAny, _Mapping]] = ..., next_page: _Optional[_Union[_query_pb2.Pagination, _Mapping]] = ...) -> None: ...
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
-
from tilebox.datasets.
|
|
6
|
-
from tilebox.datasets.
|
|
5
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as datasets_dot_v1_dot_core__pb2
|
|
6
|
+
from tilebox.datasets.datasets.v1 import data_access_pb2 as datasets_dot_v1_dot_data__access__pb2
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class DataAccessServiceStub(object):
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: datasets/v1/data_ingestion.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.3
|
|
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
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'datasets/v1/data_ingestion.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as datasets_dot_v1_dot_core__pb2
|
|
26
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as tilebox_dot_v1_dot_id__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n datasets/v1/data_ingestion.proto\x12\x0b\x64\x61tasets.v1\x1a\x16\x64\x61tasets/v1/core.proto\x1a\x13tilebox/v1/id.proto\"\xae\x01\n\x17IngestDatapointsRequest\x12\x33\n\rcollection_id\x18\x01 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x0c\x63ollectionId\x12\x37\n\ndatapoints\x18\x02 \x01(\x0b\x32\x17.datasets.v1.DatapointsR\ndatapoints\x12%\n\x0e\x61llow_existing\x18\x03 \x01(\x08R\rallowExisting\"\x83\x01\n\rIngestRequest\x12\x33\n\rcollection_id\x18\x01 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x0c\x63ollectionId\x12\x16\n\x06values\x18\x02 \x03(\x0cR\x06values\x12%\n\x0e\x61llow_existing\x18\x03 \x01(\x08R\rallowExisting\"\x89\x01\n\x0eIngestResponse\x12\x1f\n\x0bnum_created\x18\x01 \x01(\x03R\nnumCreated\x12!\n\x0cnum_existing\x18\x02 \x01(\x03R\x0bnumExisting\x12\x33\n\rdatapoint_ids\x18\x03 \x03(\x0b\x32\x0e.tilebox.v1.IDR\x0c\x64\x61tapointIds\"y\n\rDeleteRequest\x12\x33\n\rcollection_id\x18\x01 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x0c\x63ollectionId\x12\x33\n\rdatapoint_ids\x18\x02 \x03(\x0b\x32\x0e.tilebox.v1.IDR\x0c\x64\x61tapointIds\"1\n\x0e\x44\x65leteResponse\x12\x1f\n\x0bnum_deleted\x18\x01 \x01(\x03R\nnumDeleted2\xa0\x01\n\x14\x44\x61taIngestionService\x12\x43\n\x06Ingest\x12\x1a.datasets.v1.IngestRequest\x1a\x1b.datasets.v1.IngestResponse\"\x00\x12\x43\n\x06\x44\x65lete\x12\x1a.datasets.v1.DeleteRequest\x1a\x1b.datasets.v1.DeleteResponse\"\x00\x42w\n\x0f\x63om.datasets.v1B\x12\x44\x61taIngestionProtoP\x01\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tasets.V1\xca\x02\x0b\x44\x61tasets\\V1\xe2\x02\x17\x44\x61tasets\\V1\\GPBMetadata\xea\x02\x0c\x44\x61tasets::V1\x92\x03\x02\x08\x02\x62\x08\x65\x64itionsp\xe8\x07')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datasets.v1.data_ingestion_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\017com.datasets.v1B\022DataIngestionProtoP\001\242\002\003DXX\252\002\013Datasets.V1\312\002\013Datasets\\V1\342\002\027Datasets\\V1\\GPBMetadata\352\002\014Datasets::V1\222\003\002\010\002'
|
|
37
|
+
_globals['_INGESTDATAPOINTSREQUEST']._serialized_start=95
|
|
38
|
+
_globals['_INGESTDATAPOINTSREQUEST']._serialized_end=269
|
|
39
|
+
_globals['_INGESTREQUEST']._serialized_start=272
|
|
40
|
+
_globals['_INGESTREQUEST']._serialized_end=403
|
|
41
|
+
_globals['_INGESTRESPONSE']._serialized_start=406
|
|
42
|
+
_globals['_INGESTRESPONSE']._serialized_end=543
|
|
43
|
+
_globals['_DELETEREQUEST']._serialized_start=545
|
|
44
|
+
_globals['_DELETEREQUEST']._serialized_end=666
|
|
45
|
+
_globals['_DELETERESPONSE']._serialized_start=668
|
|
46
|
+
_globals['_DELETERESPONSE']._serialized_end=717
|
|
47
|
+
_globals['_DATAINGESTIONSERVICE']._serialized_start=720
|
|
48
|
+
_globals['_DATAINGESTIONSERVICE']._serialized_end=880
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from tilebox.datasets.
|
|
1
|
+
from tilebox.datasets.datasets.v1 import core_pb2 as _core_pb2
|
|
2
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
|
|
2
3
|
from google.protobuf.internal import containers as _containers
|
|
3
4
|
from google.protobuf import descriptor as _descriptor
|
|
4
5
|
from google.protobuf import message as _message
|
|
@@ -11,20 +12,20 @@ class IngestDatapointsRequest(_message.Message):
|
|
|
11
12
|
COLLECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
12
13
|
DATAPOINTS_FIELD_NUMBER: _ClassVar[int]
|
|
13
14
|
ALLOW_EXISTING_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
-
collection_id:
|
|
15
|
+
collection_id: _id_pb2.ID
|
|
15
16
|
datapoints: _core_pb2.Datapoints
|
|
16
17
|
allow_existing: bool
|
|
17
|
-
def __init__(self, collection_id: _Optional[_Union[
|
|
18
|
+
def __init__(self, collection_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., datapoints: _Optional[_Union[_core_pb2.Datapoints, _Mapping]] = ..., allow_existing: bool = ...) -> None: ...
|
|
18
19
|
|
|
19
20
|
class IngestRequest(_message.Message):
|
|
20
21
|
__slots__ = ("collection_id", "values", "allow_existing")
|
|
21
22
|
COLLECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
22
23
|
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
23
24
|
ALLOW_EXISTING_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
-
collection_id:
|
|
25
|
+
collection_id: _id_pb2.ID
|
|
25
26
|
values: _containers.RepeatedScalarFieldContainer[bytes]
|
|
26
27
|
allow_existing: bool
|
|
27
|
-
def __init__(self, collection_id: _Optional[_Union[
|
|
28
|
+
def __init__(self, collection_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., values: _Optional[_Iterable[bytes]] = ..., allow_existing: bool = ...) -> None: ...
|
|
28
29
|
|
|
29
30
|
class IngestResponse(_message.Message):
|
|
30
31
|
__slots__ = ("num_created", "num_existing", "datapoint_ids")
|
|
@@ -33,16 +34,16 @@ class IngestResponse(_message.Message):
|
|
|
33
34
|
DATAPOINT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
34
35
|
num_created: int
|
|
35
36
|
num_existing: int
|
|
36
|
-
datapoint_ids: _containers.RepeatedCompositeFieldContainer[
|
|
37
|
-
def __init__(self, num_created: _Optional[int] = ..., num_existing: _Optional[int] = ..., datapoint_ids: _Optional[_Iterable[_Union[
|
|
37
|
+
datapoint_ids: _containers.RepeatedCompositeFieldContainer[_id_pb2.ID]
|
|
38
|
+
def __init__(self, num_created: _Optional[int] = ..., num_existing: _Optional[int] = ..., datapoint_ids: _Optional[_Iterable[_Union[_id_pb2.ID, _Mapping]]] = ...) -> None: ...
|
|
38
39
|
|
|
39
40
|
class DeleteRequest(_message.Message):
|
|
40
41
|
__slots__ = ("collection_id", "datapoint_ids")
|
|
41
42
|
COLLECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
42
43
|
DATAPOINT_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
-
collection_id:
|
|
44
|
-
datapoint_ids: _containers.RepeatedCompositeFieldContainer[
|
|
45
|
-
def __init__(self, collection_id: _Optional[_Union[
|
|
44
|
+
collection_id: _id_pb2.ID
|
|
45
|
+
datapoint_ids: _containers.RepeatedCompositeFieldContainer[_id_pb2.ID]
|
|
46
|
+
def __init__(self, collection_id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., datapoint_ids: _Optional[_Iterable[_Union[_id_pb2.ID, _Mapping]]] = ...) -> None: ...
|
|
46
47
|
|
|
47
48
|
class DeleteResponse(_message.Message):
|
|
48
49
|
__slots__ = ("num_deleted",)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
-
from tilebox.datasets.
|
|
5
|
+
from tilebox.datasets.datasets.v1 import data_ingestion_pb2 as datasets_dot_v1_dot_data__ingestion__pb2
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class DataIngestionServiceStub(object):
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: datasets/v1/dataset_type.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.3
|
|
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
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
3,
|
|
17
|
+
'',
|
|
18
|
+
'datasets/v1/dataset_type.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from tilebox.datasets.datasets.v1 import well_known_types_pb2 as datasets_dot_v1_dot_well__known__types__pb2
|
|
26
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as tilebox_dot_v1_dot_id__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x64\x61tasets/v1/dataset_type.proto\x12\x0b\x64\x61tasets.v1\x1a\"datasets/v1/well_known_types.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13tilebox/v1/id.proto\"\xaa\x01\n\x05\x46ield\x12\x45\n\ndescriptor\x18\x01 \x01(\x0b\x32%.google.protobuf.FieldDescriptorProtoR\ndescriptor\x12<\n\nannotation\x18\x02 \x01(\x0b\x32\x1c.datasets.v1.FieldAnnotationR\nannotation\x12\x1c\n\tqueryable\x18\x03 \x01(\x08R\tqueryable\"X\n\x0f\x46ieldAnnotation\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription\x12#\n\rexample_value\x18\x02 \x01(\tR\x0c\x65xampleValue\"g\n\x0b\x44\x61tasetType\x12,\n\x04kind\x18\x01 \x01(\x0e\x32\x18.datasets.v1.DatasetKindR\x04kind\x12*\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x12.datasets.v1.FieldR\x06\x66ields\"\xf4\x01\n\rAnnotatedType\x12I\n\x0e\x64\x65scriptor_set\x18\x01 \x01(\x0b\x32\".google.protobuf.FileDescriptorSetR\rdescriptorSet\x12\x19\n\x08type_url\x18\x02 \x01(\tR\x07typeUrl\x12I\n\x11\x66ield_annotations\x18\x04 \x03(\x0b\x32\x1c.datasets.v1.FieldAnnotationR\x10\x66ieldAnnotations\x12,\n\x04kind\x18\x05 \x01(\x0e\x32\x18.datasets.v1.DatasetKindR\x04kindJ\x04\x08\x03\x10\x04\"\xa6\x01\n\x11TemporalDatapoint\x12.\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x1e\n\x02id\x18\x02 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\x12\x41\n\x0eingestion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ringestionTime\"\xdf\x01\n\x17SpatioTemporalDatapoint\x12.\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x04time\x12\x1e\n\x02id\x18\x02 \x01(\x0b\x32\x0e.tilebox.v1.IDR\x02id\x12\x41\n\x0eingestion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ringestionTime\x12\x31\n\x08geometry\x18\x04 \x01(\x0b\x32\x15.datasets.v1.GeometryR\x08geometry*g\n\x0b\x44\x61tasetKind\x12\x1c\n\x18\x44\x41TASET_KIND_UNSPECIFIED\x10\x00\x12\x19\n\x15\x44\x41TASET_KIND_TEMPORAL\x10\x01\x12\x1f\n\x1b\x44\x41TASET_KIND_SPATIOTEMPORAL\x10\x02\x42u\n\x0f\x63om.datasets.v1B\x10\x44\x61tasetTypeProtoP\x01\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tasets.V1\xca\x02\x0b\x44\x61tasets\\V1\xe2\x02\x17\x44\x61tasets\\V1\\GPBMetadata\xea\x02\x0c\x44\x61tasets::V1\x92\x03\x02\x08\x02\x62\x08\x65\x64itionsp\xe8\x07')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datasets.v1.dataset_type_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\017com.datasets.v1B\020DatasetTypeProtoP\001\242\002\003DXX\252\002\013Datasets.V1\312\002\013Datasets\\V1\342\002\027Datasets\\V1\\GPBMetadata\352\002\014Datasets::V1\222\003\002\010\002'
|
|
39
|
+
_globals['_DATASETKIND']._serialized_start=1181
|
|
40
|
+
_globals['_DATASETKIND']._serialized_end=1284
|
|
41
|
+
_globals['_FIELD']._serialized_start=172
|
|
42
|
+
_globals['_FIELD']._serialized_end=342
|
|
43
|
+
_globals['_FIELDANNOTATION']._serialized_start=344
|
|
44
|
+
_globals['_FIELDANNOTATION']._serialized_end=432
|
|
45
|
+
_globals['_DATASETTYPE']._serialized_start=434
|
|
46
|
+
_globals['_DATASETTYPE']._serialized_end=537
|
|
47
|
+
_globals['_ANNOTATEDTYPE']._serialized_start=540
|
|
48
|
+
_globals['_ANNOTATEDTYPE']._serialized_end=784
|
|
49
|
+
_globals['_TEMPORALDATAPOINT']._serialized_start=787
|
|
50
|
+
_globals['_TEMPORALDATAPOINT']._serialized_end=953
|
|
51
|
+
_globals['_SPATIOTEMPORALDATAPOINT']._serialized_start=956
|
|
52
|
+
_globals['_SPATIOTEMPORALDATAPOINT']._serialized_end=1179
|
|
53
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
from tilebox.datasets.
|
|
1
|
+
from tilebox.datasets.datasets.v1 import well_known_types_pb2 as _well_known_types_pb2
|
|
2
2
|
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
3
3
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from tilebox.datasets.tilebox.v1 import id_pb2 as _id_pb2
|
|
4
5
|
from google.protobuf.internal import containers as _containers
|
|
5
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -62,9 +63,9 @@ class TemporalDatapoint(_message.Message):
|
|
|
62
63
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
63
64
|
INGESTION_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
64
65
|
time: _timestamp_pb2.Timestamp
|
|
65
|
-
id:
|
|
66
|
+
id: _id_pb2.ID
|
|
66
67
|
ingestion_time: _timestamp_pb2.Timestamp
|
|
67
|
-
def __init__(self, time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id: _Optional[_Union[
|
|
68
|
+
def __init__(self, time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., ingestion_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
68
69
|
|
|
69
70
|
class SpatioTemporalDatapoint(_message.Message):
|
|
70
71
|
__slots__ = ("time", "id", "ingestion_time", "geometry")
|
|
@@ -73,7 +74,7 @@ class SpatioTemporalDatapoint(_message.Message):
|
|
|
73
74
|
INGESTION_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
74
75
|
GEOMETRY_FIELD_NUMBER: _ClassVar[int]
|
|
75
76
|
time: _timestamp_pb2.Timestamp
|
|
76
|
-
id:
|
|
77
|
+
id: _id_pb2.ID
|
|
77
78
|
ingestion_time: _timestamp_pb2.Timestamp
|
|
78
79
|
geometry: _well_known_types_pb2.Geometry
|
|
79
|
-
def __init__(self, time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id: _Optional[_Union[
|
|
80
|
+
def __init__(self, time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id: _Optional[_Union[_id_pb2.ID, _Mapping]] = ..., ingestion_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., geometry: _Optional[_Union[_well_known_types_pb2.Geometry, _Mapping]] = ...) -> None: ...
|