raystack-proton 2025.10.8.102837__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.
Potentially problematic release.
This version of raystack-proton might be problematic. Click here for more details.
- google/__init__.py +0 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +37 -0
- google/api/annotations_pb2.pyi +8 -0
- google/api/field_behavior_pb2.py +38 -0
- google/api/field_behavior_pb2.pyi +27 -0
- google/api/http_pb2.py +41 -0
- google/api/http_pb2.pyi +47 -0
- google/api/httpbody_pb2.py +38 -0
- google/api/httpbody_pb2.pyi +18 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +37 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +16 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +142 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +463 -0
- raystack/__init__.py +0 -0
- raystack/assets/__init__.py +0 -0
- raystack/assets/v1beta1/__init__.py +0 -0
- raystack/assets/v1beta1/bucket_pb2.py +45 -0
- raystack/assets/v1beta1/bucket_pb2.pyi +59 -0
- raystack/assets/v1beta1/dashboard_pb2.py +45 -0
- raystack/assets/v1beta1/dashboard_pb2.pyi +65 -0
- raystack/assets/v1beta1/event_pb2.py +38 -0
- raystack/assets/v1beta1/event_pb2.pyi +19 -0
- raystack/assets/v1beta1/group_pb2.py +43 -0
- raystack/assets/v1beta1/group_pb2.pyi +35 -0
- raystack/assets/v1beta1/job_pb2.py +43 -0
- raystack/assets/v1beta1/job_pb2.pyi +28 -0
- raystack/assets/v1beta1/lineage_pb2.py +38 -0
- raystack/assets/v1beta1/lineage_pb2.pyi +16 -0
- raystack/assets/v1beta1/ownership_pb2.py +39 -0
- raystack/assets/v1beta1/ownership_pb2.pyi +25 -0
- raystack/assets/v1beta1/preview_pb2.py +38 -0
- raystack/assets/v1beta1/preview_pb2.pyi +16 -0
- raystack/assets/v1beta1/properties_pb2.py +42 -0
- raystack/assets/v1beta1/properties_pb2.pyi +25 -0
- raystack/assets/v1beta1/resource_pb2.py +37 -0
- raystack/assets/v1beta1/resource_pb2.pyi +21 -0
- raystack/assets/v1beta1/schema_pb2.py +44 -0
- raystack/assets/v1beta1/schema_pb2.pyi +58 -0
- raystack/assets/v1beta1/table_pb2.py +49 -0
- raystack/assets/v1beta1/table_pb2.pyi +63 -0
- raystack/assets/v1beta1/timestamp_pb2.py +40 -0
- raystack/assets/v1beta1/timestamp_pb2.pyi +25 -0
- raystack/assets/v1beta1/topic_pb2.py +46 -0
- raystack/assets/v1beta1/topic_pb2.pyi +41 -0
- raystack/assets/v1beta1/user_pb2.py +45 -0
- raystack/assets/v1beta1/user_pb2.pyi +63 -0
- raystack/assets/v1beta2/__init__.py +0 -0
- raystack/assets/v1beta2/application_pb2.py +39 -0
- raystack/assets/v1beta2/application_pb2.pyi +24 -0
- raystack/assets/v1beta2/asset_pb2.py +44 -0
- raystack/assets/v1beta2/asset_pb2.pyi +49 -0
- raystack/assets/v1beta2/bucket_pb2.py +42 -0
- raystack/assets/v1beta2/bucket_pb2.pyi +54 -0
- raystack/assets/v1beta2/common_pb2.py +44 -0
- raystack/assets/v1beta2/common_pb2.pyi +52 -0
- raystack/assets/v1beta2/dashboard_pb2.py +42 -0
- raystack/assets/v1beta2/dashboard_pb2.pyi +60 -0
- raystack/assets/v1beta2/experiment_pb2.py +41 -0
- raystack/assets/v1beta2/experiment_pb2.pyi +40 -0
- raystack/assets/v1beta2/feature_table_pb2.py +47 -0
- raystack/assets/v1beta2/feature_table_pb2.pyi +59 -0
- raystack/assets/v1beta2/group_pb2.py +40 -0
- raystack/assets/v1beta2/group_pb2.pyi +26 -0
- raystack/assets/v1beta2/job_pb2.py +39 -0
- raystack/assets/v1beta2/job_pb2.pyi +20 -0
- raystack/assets/v1beta2/metric_pb2.py +39 -0
- raystack/assets/v1beta2/metric_pb2.pyi +28 -0
- raystack/assets/v1beta2/model_pb2.py +49 -0
- raystack/assets/v1beta2/model_pb2.pyi +73 -0
- raystack/assets/v1beta2/table_pb2.py +47 -0
- raystack/assets/v1beta2/table_pb2.pyi +93 -0
- raystack/assets/v1beta2/topic_pb2.py +43 -0
- raystack/assets/v1beta2/topic_pb2.pyi +40 -0
- raystack/assets/v1beta2/user_pb2.py +43 -0
- raystack/assets/v1beta2/user_pb2.pyi +61 -0
- raystack/common/__init__.py +0 -0
- raystack/common/v1/__init__.py +0 -0
- raystack/common/v1/service_connect.py +119 -0
- raystack/common/v1/service_pb2.py +48 -0
- raystack/common/v1/service_pb2.pyi +39 -0
- raystack/compass/__init__.py +0 -0
- raystack/compass/v1beta1/__init__.py +0 -0
- raystack/compass/v1beta1/service_connect.py +2784 -0
- raystack/compass/v1beta1/service_pb2.py +581 -0
- raystack/compass/v1beta1/service_pb2.pyi +1055 -0
- raystack/entropy/__init__.py +0 -0
- raystack/entropy/v1beta1/__init__.py +0 -0
- raystack/entropy/v1beta1/module_connect.py +379 -0
- raystack/entropy/v1beta1/module_pb2.py +72 -0
- raystack/entropy/v1beta1/module_pb2.pyi +88 -0
- raystack/entropy/v1beta1/resource_connect.py +574 -0
- raystack/entropy/v1beta1/resource_pb2.py +134 -0
- raystack/entropy/v1beta1/resource_pb2.pyi +268 -0
- raystack/frontier/__init__.py +0 -0
- raystack/frontier/v1beta1/__init__.py +0 -0
- raystack/frontier/v1beta1/admin_connect.py +4021 -0
- raystack/frontier/v1beta1/admin_pb2.py +617 -0
- raystack/frontier/v1beta1/admin_pb2.pyi +1151 -0
- raystack/frontier/v1beta1/frontier_connect.py +11169 -0
- raystack/frontier/v1beta1/frontier_pb2.py +1648 -0
- raystack/frontier/v1beta1/frontier_pb2.pyi +2730 -0
- raystack/frontier/v1beta1/models_pb2.py +398 -0
- raystack/frontier/v1beta1/models_pb2.pyi +1150 -0
- raystack/guardian/__init__.py +0 -0
- raystack/guardian/v1beta1/__init__.py +0 -0
- raystack/guardian/v1beta1/guardian_connect.py +2654 -0
- raystack/guardian/v1beta1/guardian_pb2.py +527 -0
- raystack/guardian/v1beta1/guardian_pb2.pyi +1257 -0
- raystack/optimus/__init__.py +0 -0
- raystack/optimus/core/__init__.py +0 -0
- raystack/optimus/core/v1beta1/__init__.py +0 -0
- raystack/optimus/core/v1beta1/backup_connect.py +249 -0
- raystack/optimus/core/v1beta1/backup_pb2.py +70 -0
- raystack/optimus/core/v1beta1/backup_pb2.pyi +108 -0
- raystack/optimus/core/v1beta1/job_run_connect.py +314 -0
- raystack/optimus/core/v1beta1/job_run_pb2.py +88 -0
- raystack/optimus/core/v1beta1/job_run_pb2.pyi +164 -0
- raystack/optimus/core/v1beta1/job_spec_connect.py +1289 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.py +229 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.pyi +700 -0
- raystack/optimus/core/v1beta1/namespace_connect.py +249 -0
- raystack/optimus/core/v1beta1/namespace_pb2.py +63 -0
- raystack/optimus/core/v1beta1/namespace_pb2.pyi +66 -0
- raystack/optimus/core/v1beta1/project_connect.py +249 -0
- raystack/optimus/core/v1beta1/project_pb2.py +63 -0
- raystack/optimus/core/v1beta1/project_pb2.pyi +60 -0
- raystack/optimus/core/v1beta1/replay_connect.py +314 -0
- raystack/optimus/core/v1beta1/replay_pb2.py +72 -0
- raystack/optimus/core/v1beta1/replay_pb2.pyi +127 -0
- raystack/optimus/core/v1beta1/resource_connect.py +509 -0
- raystack/optimus/core/v1beta1/resource_pb2.py +93 -0
- raystack/optimus/core/v1beta1/resource_pb2.pyi +182 -0
- raystack/optimus/core/v1beta1/runtime_connect.py +119 -0
- raystack/optimus/core/v1beta1/runtime_pb2.py +45 -0
- raystack/optimus/core/v1beta1/runtime_pb2.pyi +19 -0
- raystack/optimus/core/v1beta1/secret_connect.py +314 -0
- raystack/optimus/core/v1beta1/secret_pb2.py +66 -0
- raystack/optimus/core/v1beta1/secret_pb2.pyi +81 -0
- raystack/optimus/core/v1beta1/status_pb2.py +39 -0
- raystack/optimus/core/v1beta1/status_pb2.pyi +31 -0
- raystack/optimus/integration/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/event_pb2.py +50 -0
- raystack/optimus/integration/v1beta1/event_pb2.pyi +94 -0
- raystack/optimus/plugins/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_connect.py +314 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.py +66 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.pyi +118 -0
- raystack/predator/__init__.py +0 -0
- raystack/predator/v1beta1/__init__.py +0 -0
- raystack/predator/v1beta1/metrics_log_pb2.py +46 -0
- raystack/predator/v1beta1/metrics_log_pb2.pyi +68 -0
- raystack/predator/v1beta1/result_log_pb2.py +45 -0
- raystack/predator/v1beta1/result_log_pb2.pyi +61 -0
- raystack/raccoon/__init__.py +0 -0
- raystack/raccoon/v1beta1/__init__.py +0 -0
- raystack/raccoon/v1beta1/raccoon_connect.py +119 -0
- raystack/raccoon/v1beta1/raccoon_pb2.py +52 -0
- raystack/raccoon/v1beta1/raccoon_pb2.pyi +74 -0
- raystack/siren/__init__.py +0 -0
- raystack/siren/v1beta1/__init__.py +0 -0
- raystack/siren/v1beta1/siren_connect.py +2329 -0
- raystack/siren/v1beta1/siren_pb2.py +415 -0
- raystack/siren/v1beta1/siren_pb2.pyi +890 -0
- raystack/stencil/__init__.py +0 -0
- raystack/stencil/v1beta1/__init__.py +0 -0
- raystack/stencil/v1beta1/stencil_connect.py +1094 -0
- raystack/stencil/v1beta1/stencil_pb2.py +158 -0
- raystack/stencil/v1beta1/stencil_pb2.pyi +357 -0
- raystack_proton-2025.10.8.102837.dist-info/METADATA +101 -0
- raystack_proton-2025.10.8.102837.dist-info/RECORD +181 -0
- raystack_proton-2025.10.8.102837.dist-info/WHEEL +5 -0
- raystack_proton-2025.10.8.102837.dist-info/licenses/LICENSE +201 -0
- raystack_proton-2025.10.8.102837.dist-info/top_level.txt +4 -0
- validate/__init__.py +0 -0
- validate/validate_pb2.py +86 -0
- validate/validate_pb2.pyi +497 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from raystack.assets.v1beta1 import properties_pb2 as _properties_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class Columns(_message.Message):
|
|
11
|
+
__slots__ = ("columns",)
|
|
12
|
+
COLUMNS_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
columns: _containers.RepeatedCompositeFieldContainer[Column]
|
|
14
|
+
def __init__(self, columns: _Optional[_Iterable[_Union[Column, _Mapping]]] = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class Column(_message.Message):
|
|
17
|
+
__slots__ = ("name", "description", "data_type", "is_nullable", "length", "profile", "properties")
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
IS_NULLABLE_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
PROPERTIES_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
name: str
|
|
26
|
+
description: str
|
|
27
|
+
data_type: str
|
|
28
|
+
is_nullable: bool
|
|
29
|
+
length: int
|
|
30
|
+
profile: ColumnProfile
|
|
31
|
+
properties: _properties_pb2.Properties
|
|
32
|
+
def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., data_type: _Optional[str] = ..., is_nullable: _Optional[bool] = ..., length: _Optional[int] = ..., profile: _Optional[_Union[ColumnProfile, _Mapping]] = ..., properties: _Optional[_Union[_properties_pb2.Properties, _Mapping]] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class ColumnProfile(_message.Message):
|
|
35
|
+
__slots__ = ("min", "max", "avg", "med", "unique", "count", "top")
|
|
36
|
+
MIN_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
MAX_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
AVG_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
MED_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
UNIQUE_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
TOP_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
min: str
|
|
44
|
+
max: str
|
|
45
|
+
avg: float
|
|
46
|
+
med: float
|
|
47
|
+
unique: int
|
|
48
|
+
count: int
|
|
49
|
+
top: str
|
|
50
|
+
def __init__(self, min: _Optional[str] = ..., max: _Optional[str] = ..., avg: _Optional[float] = ..., med: _Optional[float] = ..., unique: _Optional[int] = ..., count: _Optional[int] = ..., top: _Optional[str] = ...) -> None: ...
|
|
51
|
+
|
|
52
|
+
class TopicSchema(_message.Message):
|
|
53
|
+
__slots__ = ("schema_url", "format")
|
|
54
|
+
SCHEMA_URL_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
FORMAT_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
schema_url: str
|
|
57
|
+
format: str
|
|
58
|
+
def __init__(self, schema_url: _Optional[str] = ..., format: _Optional[str] = ...) -> None: ...
|
|
@@ -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: raystack/assets/v1beta1/table.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta1/table.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from raystack.assets.v1beta1 import event_pb2 as raystack_dot_assets_dot_v1beta1_dot_event__pb2
|
|
26
|
+
from raystack.assets.v1beta1 import lineage_pb2 as raystack_dot_assets_dot_v1beta1_dot_lineage__pb2
|
|
27
|
+
from raystack.assets.v1beta1 import ownership_pb2 as raystack_dot_assets_dot_v1beta1_dot_ownership__pb2
|
|
28
|
+
from raystack.assets.v1beta1 import preview_pb2 as raystack_dot_assets_dot_v1beta1_dot_preview__pb2
|
|
29
|
+
from raystack.assets.v1beta1 import properties_pb2 as raystack_dot_assets_dot_v1beta1_dot_properties__pb2
|
|
30
|
+
from raystack.assets.v1beta1 import resource_pb2 as raystack_dot_assets_dot_v1beta1_dot_resource__pb2
|
|
31
|
+
from raystack.assets.v1beta1 import schema_pb2 as raystack_dot_assets_dot_v1beta1_dot_schema__pb2
|
|
32
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as raystack_dot_assets_dot_v1beta1_dot_timestamp__pb2
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta1/table.proto\x12\x17raystack.assets.v1beta1\x1a#raystack/assets/v1beta1/event.proto\x1a%raystack/assets/v1beta1/lineage.proto\x1a\'raystack/assets/v1beta1/ownership.proto\x1a%raystack/assets/v1beta1/preview.proto\x1a(raystack/assets/v1beta1/properties.proto\x1a&raystack/assets/v1beta1/resource.proto\x1a$raystack/assets/v1beta1/schema.proto\x1a\'raystack/assets/v1beta1/timestamp.proto\"\xba\x04\n\x05Table\x12=\n\x08resource\x18\x01 \x01(\x0b\x32!.raystack.assets.v1beta1.ResourceR\x08resource\x12?\n\x07profile\x18\x15 \x01(\x0b\x32%.raystack.assets.v1beta1.TableProfileR\x07profile\x12\x38\n\x06schema\x18\x16 \x01(\x0b\x32 .raystack.assets.v1beta1.ColumnsR\x06schema\x12:\n\x07preview\x18\x17 \x01(\x0b\x32 .raystack.assets.v1beta1.PreviewR\x07preview\x12@\n\townership\x18\x1f \x01(\x0b\x32\".raystack.assets.v1beta1.OwnershipR\townership\x12:\n\x07lineage\x18 \x01(\x0b\x32 .raystack.assets.v1beta1.LineageR\x07lineage\x12\x43\n\nproperties\x18! \x01(\x0b\x32#.raystack.assets.v1beta1.PropertiesR\nproperties\x12\x42\n\ntimestamps\x18\" \x01(\x0b\x32\".raystack.assets.v1beta1.TimestampR\ntimestamps\x12\x34\n\x05\x65vent\x18\x64 \x01(\x0b\x32\x1e.raystack.assets.v1beta1.EventR\x05\x65vent\"\xeb\x01\n\x0cTableProfile\x12\x1d\n\ntotal_rows\x18\x01 \x01(\x03R\ttotalRows\x12#\n\rpartition_key\x18\x02 \x01(\tR\x0cpartitionKey\x12\'\n\x0fpartition_value\x18\x03 \x01(\tR\x0epartitionValue\x12\x1f\n\x0busage_count\x18\x04 \x01(\x03R\nusageCount\x12\x33\n\x05joins\x18\x05 \x03(\x0b\x32\x1d.raystack.assets.v1beta1.JoinR\x05joins\x12\x18\n\x07\x66ilters\x18\x06 \x03(\tR\x07\x66ilters\"N\n\x04Join\x12\x10\n\x03urn\x18\x01 \x01(\tR\x03urn\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1e\n\nconditions\x18\x03 \x03(\tR\nconditionsBY\n\x12io.raystack.assetsB\nTableProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1b\x06proto3')
|
|
36
|
+
|
|
37
|
+
_globals = globals()
|
|
38
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
39
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta1.table_pb2', _globals)
|
|
40
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
41
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
42
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\nTableProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1'
|
|
43
|
+
_globals['_TABLE']._serialized_start=382
|
|
44
|
+
_globals['_TABLE']._serialized_end=952
|
|
45
|
+
_globals['_TABLEPROFILE']._serialized_start=955
|
|
46
|
+
_globals['_TABLEPROFILE']._serialized_end=1190
|
|
47
|
+
_globals['_JOIN']._serialized_start=1192
|
|
48
|
+
_globals['_JOIN']._serialized_end=1270
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from raystack.assets.v1beta1 import event_pb2 as _event_pb2
|
|
2
|
+
from raystack.assets.v1beta1 import lineage_pb2 as _lineage_pb2
|
|
3
|
+
from raystack.assets.v1beta1 import ownership_pb2 as _ownership_pb2
|
|
4
|
+
from raystack.assets.v1beta1 import preview_pb2 as _preview_pb2
|
|
5
|
+
from raystack.assets.v1beta1 import properties_pb2 as _properties_pb2
|
|
6
|
+
from raystack.assets.v1beta1 import resource_pb2 as _resource_pb2
|
|
7
|
+
from raystack.assets.v1beta1 import schema_pb2 as _schema_pb2
|
|
8
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as _timestamp_pb2
|
|
9
|
+
from google.protobuf.internal import containers as _containers
|
|
10
|
+
from google.protobuf import descriptor as _descriptor
|
|
11
|
+
from google.protobuf import message as _message
|
|
12
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
13
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
class Table(_message.Message):
|
|
18
|
+
__slots__ = ("resource", "profile", "schema", "preview", "ownership", "lineage", "properties", "timestamps", "event")
|
|
19
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
PREVIEW_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
OWNERSHIP_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
LINEAGE_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
PROPERTIES_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
TIMESTAMPS_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
resource: _resource_pb2.Resource
|
|
29
|
+
profile: TableProfile
|
|
30
|
+
schema: _schema_pb2.Columns
|
|
31
|
+
preview: _preview_pb2.Preview
|
|
32
|
+
ownership: _ownership_pb2.Ownership
|
|
33
|
+
lineage: _lineage_pb2.Lineage
|
|
34
|
+
properties: _properties_pb2.Properties
|
|
35
|
+
timestamps: _timestamp_pb2.Timestamp
|
|
36
|
+
event: _event_pb2.Event
|
|
37
|
+
def __init__(self, resource: _Optional[_Union[_resource_pb2.Resource, _Mapping]] = ..., profile: _Optional[_Union[TableProfile, _Mapping]] = ..., schema: _Optional[_Union[_schema_pb2.Columns, _Mapping]] = ..., preview: _Optional[_Union[_preview_pb2.Preview, _Mapping]] = ..., ownership: _Optional[_Union[_ownership_pb2.Ownership, _Mapping]] = ..., lineage: _Optional[_Union[_lineage_pb2.Lineage, _Mapping]] = ..., properties: _Optional[_Union[_properties_pb2.Properties, _Mapping]] = ..., timestamps: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., event: _Optional[_Union[_event_pb2.Event, _Mapping]] = ...) -> None: ...
|
|
38
|
+
|
|
39
|
+
class TableProfile(_message.Message):
|
|
40
|
+
__slots__ = ("total_rows", "partition_key", "partition_value", "usage_count", "joins", "filters")
|
|
41
|
+
TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
PARTITION_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
PARTITION_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
USAGE_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
JOINS_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
total_rows: int
|
|
48
|
+
partition_key: str
|
|
49
|
+
partition_value: str
|
|
50
|
+
usage_count: int
|
|
51
|
+
joins: _containers.RepeatedCompositeFieldContainer[Join]
|
|
52
|
+
filters: _containers.RepeatedScalarFieldContainer[str]
|
|
53
|
+
def __init__(self, total_rows: _Optional[int] = ..., partition_key: _Optional[str] = ..., partition_value: _Optional[str] = ..., usage_count: _Optional[int] = ..., joins: _Optional[_Iterable[_Union[Join, _Mapping]]] = ..., filters: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
54
|
+
|
|
55
|
+
class Join(_message.Message):
|
|
56
|
+
__slots__ = ("urn", "count", "conditions")
|
|
57
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
urn: str
|
|
61
|
+
count: int
|
|
62
|
+
conditions: _containers.RepeatedScalarFieldContainer[str]
|
|
63
|
+
def __init__(self, urn: _Optional[str] = ..., count: _Optional[int] = ..., conditions: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/assets/v1beta1/timestamp.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta1/timestamp.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
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'raystack/assets/v1beta1/timestamp.proto\x12\x17raystack.assets.v1beta1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x01\n\tTimestamp\x12;\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"~\n\nTimeWindow\x12\x39\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTimeB]\n\x12io.raystack.assetsB\x0eTimestampProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta1.timestamp_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\016TimestampProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1'
|
|
36
|
+
_globals['_TIMESTAMP']._serialized_start=102
|
|
37
|
+
_globals['_TIMESTAMP']._serialized_end=235
|
|
38
|
+
_globals['_TIMEWINDOW']._serialized_start=237
|
|
39
|
+
_globals['_TIMEWINDOW']._serialized_end=363
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from collections.abc import Mapping as _Mapping
|
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class Timestamp(_message.Message):
|
|
12
|
+
__slots__ = ("create_time", "update_time")
|
|
13
|
+
CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
create_time: _timestamp_pb2.Timestamp
|
|
16
|
+
update_time: _timestamp_pb2.Timestamp
|
|
17
|
+
def __init__(self, create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
18
|
+
|
|
19
|
+
class TimeWindow(_message.Message):
|
|
20
|
+
__slots__ = ("start_time", "end_time")
|
|
21
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
start_time: _timestamp_pb2.Timestamp
|
|
24
|
+
end_time: _timestamp_pb2.Timestamp
|
|
25
|
+
def __init__(self, start_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/assets/v1beta1/topic.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta1/topic.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from raystack.assets.v1beta1 import event_pb2 as raystack_dot_assets_dot_v1beta1_dot_event__pb2
|
|
26
|
+
from raystack.assets.v1beta1 import lineage_pb2 as raystack_dot_assets_dot_v1beta1_dot_lineage__pb2
|
|
27
|
+
from raystack.assets.v1beta1 import ownership_pb2 as raystack_dot_assets_dot_v1beta1_dot_ownership__pb2
|
|
28
|
+
from raystack.assets.v1beta1 import properties_pb2 as raystack_dot_assets_dot_v1beta1_dot_properties__pb2
|
|
29
|
+
from raystack.assets.v1beta1 import resource_pb2 as raystack_dot_assets_dot_v1beta1_dot_resource__pb2
|
|
30
|
+
from raystack.assets.v1beta1 import schema_pb2 as raystack_dot_assets_dot_v1beta1_dot_schema__pb2
|
|
31
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as raystack_dot_assets_dot_v1beta1_dot_timestamp__pb2
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta1/topic.proto\x12\x17raystack.assets.v1beta1\x1a#raystack/assets/v1beta1/event.proto\x1a%raystack/assets/v1beta1/lineage.proto\x1a\'raystack/assets/v1beta1/ownership.proto\x1a(raystack/assets/v1beta1/properties.proto\x1a&raystack/assets/v1beta1/resource.proto\x1a$raystack/assets/v1beta1/schema.proto\x1a\'raystack/assets/v1beta1/timestamp.proto\"\x82\x04\n\x05Topic\x12=\n\x08resource\x18\x01 \x01(\x0b\x32!.raystack.assets.v1beta1.ResourceR\x08resource\x12?\n\x07profile\x18\x15 \x01(\x0b\x32%.raystack.assets.v1beta1.TopicProfileR\x07profile\x12<\n\x06schema\x18\x1f \x01(\x0b\x32$.raystack.assets.v1beta1.TopicSchemaR\x06schema\x12@\n\townership\x18 \x01(\x0b\x32\".raystack.assets.v1beta1.OwnershipR\townership\x12:\n\x07lineage\x18! \x01(\x0b\x32 .raystack.assets.v1beta1.LineageR\x07lineage\x12\x43\n\nproperties\x18\" \x01(\x0b\x32#.raystack.assets.v1beta1.PropertiesR\nproperties\x12\x42\n\ntimestamps\x18# \x01(\x0b\x32\".raystack.assets.v1beta1.TimestampR\ntimestamps\x12\x34\n\x05\x65vent\x18\x64 \x01(\x0b\x32\x1e.raystack.assets.v1beta1.EventR\x05\x65vent\"`\n\x0cTopicProfile\x12\x1e\n\nthroughput\x18\x01 \x01(\tR\nthroughput\x12\x30\n\x14number_of_partitions\x18\x02 \x01(\x03R\x12numberOfPartitionsBY\n\x12io.raystack.assetsB\nTopicProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1b\x06proto3')
|
|
35
|
+
|
|
36
|
+
_globals = globals()
|
|
37
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
38
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta1.topic_pb2', _globals)
|
|
39
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
40
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
41
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\nTopicProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1'
|
|
42
|
+
_globals['_TOPIC']._serialized_start=343
|
|
43
|
+
_globals['_TOPIC']._serialized_end=857
|
|
44
|
+
_globals['_TOPICPROFILE']._serialized_start=859
|
|
45
|
+
_globals['_TOPICPROFILE']._serialized_end=955
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
from raystack.assets.v1beta1 import event_pb2 as _event_pb2
|
|
2
|
+
from raystack.assets.v1beta1 import lineage_pb2 as _lineage_pb2
|
|
3
|
+
from raystack.assets.v1beta1 import ownership_pb2 as _ownership_pb2
|
|
4
|
+
from raystack.assets.v1beta1 import properties_pb2 as _properties_pb2
|
|
5
|
+
from raystack.assets.v1beta1 import resource_pb2 as _resource_pb2
|
|
6
|
+
from raystack.assets.v1beta1 import schema_pb2 as _schema_pb2
|
|
7
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as _timestamp_pb2
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from collections.abc import Mapping as _Mapping
|
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
class Topic(_message.Message):
|
|
16
|
+
__slots__ = ("resource", "profile", "schema", "ownership", "lineage", "properties", "timestamps", "event")
|
|
17
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
OWNERSHIP_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
LINEAGE_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
PROPERTIES_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
TIMESTAMPS_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
resource: _resource_pb2.Resource
|
|
26
|
+
profile: TopicProfile
|
|
27
|
+
schema: _schema_pb2.TopicSchema
|
|
28
|
+
ownership: _ownership_pb2.Ownership
|
|
29
|
+
lineage: _lineage_pb2.Lineage
|
|
30
|
+
properties: _properties_pb2.Properties
|
|
31
|
+
timestamps: _timestamp_pb2.Timestamp
|
|
32
|
+
event: _event_pb2.Event
|
|
33
|
+
def __init__(self, resource: _Optional[_Union[_resource_pb2.Resource, _Mapping]] = ..., profile: _Optional[_Union[TopicProfile, _Mapping]] = ..., schema: _Optional[_Union[_schema_pb2.TopicSchema, _Mapping]] = ..., ownership: _Optional[_Union[_ownership_pb2.Ownership, _Mapping]] = ..., lineage: _Optional[_Union[_lineage_pb2.Lineage, _Mapping]] = ..., properties: _Optional[_Union[_properties_pb2.Properties, _Mapping]] = ..., timestamps: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., event: _Optional[_Union[_event_pb2.Event, _Mapping]] = ...) -> None: ...
|
|
34
|
+
|
|
35
|
+
class TopicProfile(_message.Message):
|
|
36
|
+
__slots__ = ("throughput", "number_of_partitions")
|
|
37
|
+
THROUGHPUT_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
NUMBER_OF_PARTITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
throughput: str
|
|
40
|
+
number_of_partitions: int
|
|
41
|
+
def __init__(self, throughput: _Optional[str] = ..., number_of_partitions: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/assets/v1beta1/user.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta1/user.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from raystack.assets.v1beta1 import event_pb2 as raystack_dot_assets_dot_v1beta1_dot_event__pb2
|
|
26
|
+
from raystack.assets.v1beta1 import properties_pb2 as raystack_dot_assets_dot_v1beta1_dot_properties__pb2
|
|
27
|
+
from raystack.assets.v1beta1 import resource_pb2 as raystack_dot_assets_dot_v1beta1_dot_resource__pb2
|
|
28
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as raystack_dot_assets_dot_v1beta1_dot_timestamp__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"raystack/assets/v1beta1/user.proto\x12\x17raystack.assets.v1beta1\x1a#raystack/assets/v1beta1/event.proto\x1a(raystack/assets/v1beta1/properties.proto\x1a&raystack/assets/v1beta1/resource.proto\x1a\'raystack/assets/v1beta1/timestamp.proto\"\x8a\x05\n\x04User\x12=\n\x08resource\x18\x01 \x01(\x0b\x32!.raystack.assets.v1beta1.ResourceR\x08resource\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1a\n\x08username\x18\x04 \x01(\tR\x08username\x12\x1d\n\nfirst_name\x18\x05 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x06 \x01(\tR\x08lastName\x12\x1b\n\tfull_name\x18\x07 \x01(\tR\x08\x66ullName\x12!\n\x0c\x64isplay_name\x18\x08 \x01(\tR\x0b\x64isplayName\x12\x14\n\x05title\x18\t \x01(\tR\x05title\x12\x16\n\x06status\x18\n \x01(\tR\x06status\x12#\n\rmanager_email\x18\x0b \x01(\tR\x0cmanagerEmail\x12<\n\x08profiles\x18\x15 \x03(\x0b\x32 .raystack.assets.v1beta1.ProfileR\x08profiles\x12\x45\n\x0bmemberships\x18\x16 \x03(\x0b\x32#.raystack.assets.v1beta1.MembershipR\x0bmemberships\x12\x43\n\nproperties\x18\x1f \x01(\x0b\x32#.raystack.assets.v1beta1.PropertiesR\nproperties\x12\x42\n\ntimestamps\x18 \x01(\x0b\x32\".raystack.assets.v1beta1.TimestampR\ntimestamps\x12\x34\n\x05\x65vent\x18\x64 \x01(\x0b\x32\x1e.raystack.assets.v1beta1.EventR\x05\x65vent\"=\n\nMembership\x12\x1b\n\tgroup_urn\x18\x01 \x01(\tR\x08groupUrn\x12\x12\n\x04role\x18\x02 \x03(\tR\x04role\"G\n\x07Profile\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x08platform\x18\x02 \x01(\tR\x08platform\x12\x10\n\x03url\x18\x03 \x01(\tR\x03urlBX\n\x12io.raystack.assetsB\tUserProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1b\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta1.user_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\tUserProtoZ7github.com/raystack/proton/assets/v1beta1;assetsv1beta1'
|
|
39
|
+
_globals['_USER']._serialized_start=224
|
|
40
|
+
_globals['_USER']._serialized_end=874
|
|
41
|
+
_globals['_MEMBERSHIP']._serialized_start=876
|
|
42
|
+
_globals['_MEMBERSHIP']._serialized_end=937
|
|
43
|
+
_globals['_PROFILE']._serialized_start=939
|
|
44
|
+
_globals['_PROFILE']._serialized_end=1010
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from raystack.assets.v1beta1 import event_pb2 as _event_pb2
|
|
2
|
+
from raystack.assets.v1beta1 import properties_pb2 as _properties_pb2
|
|
3
|
+
from raystack.assets.v1beta1 import resource_pb2 as _resource_pb2
|
|
4
|
+
from raystack.assets.v1beta1 import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
9
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
10
|
+
|
|
11
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
|
+
|
|
13
|
+
class User(_message.Message):
|
|
14
|
+
__slots__ = ("resource", "email", "username", "first_name", "last_name", "full_name", "display_name", "title", "status", "manager_email", "profiles", "memberships", "properties", "timestamps", "event")
|
|
15
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
USERNAME_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
FIRST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
LAST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
FULL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
TITLE_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
MANAGER_EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
PROFILES_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
MEMBERSHIPS_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
PROPERTIES_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
TIMESTAMPS_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
resource: _resource_pb2.Resource
|
|
31
|
+
email: str
|
|
32
|
+
username: str
|
|
33
|
+
first_name: str
|
|
34
|
+
last_name: str
|
|
35
|
+
full_name: str
|
|
36
|
+
display_name: str
|
|
37
|
+
title: str
|
|
38
|
+
status: str
|
|
39
|
+
manager_email: str
|
|
40
|
+
profiles: _containers.RepeatedCompositeFieldContainer[Profile]
|
|
41
|
+
memberships: _containers.RepeatedCompositeFieldContainer[Membership]
|
|
42
|
+
properties: _properties_pb2.Properties
|
|
43
|
+
timestamps: _timestamp_pb2.Timestamp
|
|
44
|
+
event: _event_pb2.Event
|
|
45
|
+
def __init__(self, resource: _Optional[_Union[_resource_pb2.Resource, _Mapping]] = ..., email: _Optional[str] = ..., username: _Optional[str] = ..., first_name: _Optional[str] = ..., last_name: _Optional[str] = ..., full_name: _Optional[str] = ..., display_name: _Optional[str] = ..., title: _Optional[str] = ..., status: _Optional[str] = ..., manager_email: _Optional[str] = ..., profiles: _Optional[_Iterable[_Union[Profile, _Mapping]]] = ..., memberships: _Optional[_Iterable[_Union[Membership, _Mapping]]] = ..., properties: _Optional[_Union[_properties_pb2.Properties, _Mapping]] = ..., timestamps: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., event: _Optional[_Union[_event_pb2.Event, _Mapping]] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class Membership(_message.Message):
|
|
48
|
+
__slots__ = ("group_urn", "role")
|
|
49
|
+
GROUP_URN_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
group_urn: str
|
|
52
|
+
role: _containers.RepeatedScalarFieldContainer[str]
|
|
53
|
+
def __init__(self, group_urn: _Optional[str] = ..., role: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
54
|
+
|
|
55
|
+
class Profile(_message.Message):
|
|
56
|
+
__slots__ = ("id", "platform", "url")
|
|
57
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
PLATFORM_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
URL_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
id: str
|
|
61
|
+
platform: str
|
|
62
|
+
url: str
|
|
63
|
+
def __init__(self, id: _Optional[str] = ..., platform: _Optional[str] = ..., url: _Optional[str] = ...) -> None: ...
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/assets/v1beta2/application.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta2/application.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)raystack/assets/v1beta2/application.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xea\x01\n\x0b\x41pplication\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x37\n\nattributes\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTimeB_\n\x12io.raystack.assetsB\x10\x41pplicationProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.application_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\020ApplicationProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
|
|
37
|
+
_globals['_APPLICATION']._serialized_start=134
|
|
38
|
+
_globals['_APPLICATION']._serialized_end=368
|
|
39
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class Application(_message.Message):
|
|
13
|
+
__slots__ = ("id", "version", "attributes", "create_time", "update_time")
|
|
14
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
id: str
|
|
20
|
+
version: str
|
|
21
|
+
attributes: _struct_pb2.Struct
|
|
22
|
+
create_time: _timestamp_pb2.Timestamp
|
|
23
|
+
update_time: _timestamp_pb2.Timestamp
|
|
24
|
+
def __init__(self, id: _Optional[str] = ..., version: _Optional[str] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/assets/v1beta2/asset.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.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
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/assets/v1beta2/asset.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from raystack.assets.v1beta2 import common_pb2 as raystack_dot_assets_dot_v1beta2_dot_common__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta2/asset.proto\x12\x17raystack.assets.v1beta2\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$raystack/assets/v1beta2/common.proto\"\xdc\x04\n\x05\x41sset\x12\x10\n\x03urn\x18\x01 \x01(\tR\x03urn\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x07service\x18\x03 \x01(\tR\x07service\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12(\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x14.google.protobuf.AnyR\x04\x64\x61ta\x12\x36\n\x06owners\x18\x1f \x03(\x0b\x32\x1e.raystack.assets.v1beta2.OwnerR\x06owners\x12:\n\x07lineage\x18 \x01(\x0b\x32 .raystack.assets.v1beta2.LineageR\x07lineage\x12\x42\n\x06labels\x18! \x03(\x0b\x32*.raystack.assets.v1beta2.Asset.LabelsEntryR\x06labels\x12\x34\n\x05\x65vent\x18\x64 \x01(\x0b\x32\x1e.raystack.assets.v1beta2.EventR\x05\x65vent\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42Z\n\x12io.raystack.assetsB\x0b\x41ssetsProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.asset_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\013AssetsProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
|
|
38
|
+
_globals['_ASSET_LABELSENTRY']._loaded_options = None
|
|
39
|
+
_globals['_ASSET_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_ASSET']._serialized_start=163
|
|
41
|
+
_globals['_ASSET']._serialized_end=767
|
|
42
|
+
_globals['_ASSET_LABELSENTRY']._serialized_start=710
|
|
43
|
+
_globals['_ASSET_LABELSENTRY']._serialized_end=767
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import any_pb2 as _any_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from raystack.assets.v1beta2 import common_pb2 as _common_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
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
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class Asset(_message.Message):
|
|
15
|
+
__slots__ = ("urn", "name", "service", "type", "url", "description", "data", "owners", "lineage", "labels", "event", "create_time", "update_time")
|
|
16
|
+
class LabelsEntry(_message.Message):
|
|
17
|
+
__slots__ = ("key", "value")
|
|
18
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
key: str
|
|
21
|
+
value: str
|
|
22
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
23
|
+
URN_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
SERVICE_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
URL_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
OWNERS_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
LINEAGE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
urn: str
|
|
37
|
+
name: str
|
|
38
|
+
service: str
|
|
39
|
+
type: str
|
|
40
|
+
url: str
|
|
41
|
+
description: str
|
|
42
|
+
data: _any_pb2.Any
|
|
43
|
+
owners: _containers.RepeatedCompositeFieldContainer[_common_pb2.Owner]
|
|
44
|
+
lineage: _common_pb2.Lineage
|
|
45
|
+
labels: _containers.ScalarMap[str, str]
|
|
46
|
+
event: _common_pb2.Event
|
|
47
|
+
create_time: _timestamp_pb2.Timestamp
|
|
48
|
+
update_time: _timestamp_pb2.Timestamp
|
|
49
|
+
def __init__(self, urn: _Optional[str] = ..., name: _Optional[str] = ..., service: _Optional[str] = ..., type: _Optional[str] = ..., url: _Optional[str] = ..., description: _Optional[str] = ..., data: _Optional[_Union[_any_pb2.Any, _Mapping]] = ..., owners: _Optional[_Iterable[_Union[_common_pb2.Owner, _Mapping]]] = ..., lineage: _Optional[_Union[_common_pb2.Lineage, _Mapping]] = ..., labels: _Optional[_Mapping[str, str]] = ..., event: _Optional[_Union[_common_pb2.Event, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|