viam-sdk 0.41.1__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.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 viam-sdk might be problematic. Click here for more details.
- viam/app/app_client.py +225 -51
- viam/app/billing_client.py +47 -5
- viam/app/data_client.py +771 -234
- viam/app/ml_training_client.py +3 -5
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +58 -11
- viam/components/arm/arm.py +1 -1
- viam/components/arm/service.py +1 -1
- viam/components/audio_in/__init__.py +24 -0
- viam/components/audio_in/audio_in.py +74 -0
- viam/components/audio_in/client.py +76 -0
- viam/components/audio_in/service.py +83 -0
- viam/components/audio_out/__init__.py +21 -0
- viam/components/audio_out/audio_out.py +72 -0
- viam/components/audio_out/client.py +67 -0
- viam/components/audio_out/service.py +63 -0
- viam/components/base/base.py +1 -1
- viam/components/board/board.py +8 -2
- viam/components/board/client.py +2 -1
- viam/components/board/service.py +1 -0
- viam/components/button/__init__.py +10 -0
- viam/components/button/button.py +41 -0
- viam/components/button/client.py +52 -0
- viam/components/button/service.py +46 -0
- viam/components/camera/camera.py +15 -30
- viam/components/camera/client.py +10 -21
- viam/components/camera/service.py +15 -28
- viam/components/component_base.py +2 -2
- viam/components/gantry/client.py +17 -2
- viam/components/gantry/gantry.py +32 -1
- viam/components/gantry/service.py +21 -5
- viam/components/gripper/__init__.py +2 -0
- viam/components/gripper/client.py +25 -2
- viam/components/gripper/gripper.py +76 -1
- viam/components/gripper/service.py +32 -3
- viam/components/input/input.py +1 -1
- viam/components/motor/motor.py +1 -1
- viam/components/power_sensor/power_sensor.py +1 -1
- viam/components/switch/__init__.py +10 -0
- viam/components/switch/client.py +83 -0
- viam/components/switch/service.py +72 -0
- viam/components/switch/switch.py +98 -0
- viam/gen/app/agent/v1/agent_pb2.py +1 -1
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
- viam/gen/app/data/v1/data_grpc.py +74 -2
- viam/gen/app/data/v1/data_pb2.py +198 -104
- viam/gen/app/data/v1/data_pb2.pyi +563 -31
- viam/gen/app/datapipelines/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +8 -4
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
- viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
- viam/gen/app/packages/v1/packages_pb2.py +1 -1
- viam/gen/app/v1/app_grpc.py +74 -3
- viam/gen/app/v1/app_pb2.py +600 -545
- viam/gen/app/v1/app_pb2.pyi +1108 -258
- viam/gen/app/v1/billing_grpc.py +26 -2
- viam/gen/app/v1/billing_pb2.py +52 -36
- viam/gen/app/v1/billing_pb2.pyi +158 -4
- viam/gen/app/v1/end_user_pb2.py +1 -1
- viam/gen/app/v1/robot_pb2.py +95 -89
- viam/gen/app/v1/robot_pb2.pyi +121 -9
- viam/gen/common/v1/common_pb2.py +76 -58
- viam/gen/common/v1/common_pb2.pyi +186 -17
- viam/gen/component/arm/v1/arm_grpc.py +10 -2
- viam/gen/component/arm/v1/arm_pb2.py +5 -3
- viam/gen/component/audioin/__init__.py +0 -0
- viam/gen/component/audioin/v1/__init__.py +0 -0
- viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
- viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
- viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.py +1 -1
- viam/gen/component/audioout/__init__.py +0 -0
- viam/gen/component/audioout/v1/__init__.py +0 -0
- viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
- viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
- viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
- viam/gen/component/base/v1/base_pb2.py +1 -1
- viam/gen/component/board/v1/board_pb2.py +1 -1
- viam/gen/component/button/v1/button_pb2.py +1 -1
- viam/gen/component/camera/v1/camera_grpc.py +1 -0
- viam/gen/component/camera/v1/camera_pb2.py +37 -36
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
- viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
- viam/gen/component/generic/v1/generic_pb2.py +1 -1
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
- viam/gen/component/motor/v1/motor_pb2.py +1 -1
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
- viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
- viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
- viam/gen/component/servo/v1/servo_pb2.py +1 -1
- viam/gen/component/switch/v1/switch_pb2.py +5 -5
- viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
- viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
- viam/gen/module/v1/module_pb2.py +5 -5
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/opentelemetry/__init__.py +0 -0
- viam/gen/opentelemetry/proto/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
- viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
- viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
- viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
- viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
- viam/gen/robot/v1/robot_grpc.py +51 -34
- viam/gen/robot/v1/robot_pb2.py +147 -142
- viam/gen/robot/v1/robot_pb2.pyi +153 -86
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
- viam/gen/service/generic/v1/generic_pb2.py +1 -1
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
- viam/gen/service/motion/v1/motion_pb2.py +92 -62
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
- viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
- viam/gen/service/shell/v1/shell_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
- viam/gen/service/video/__init__.py +0 -0
- viam/gen/service/video/v1/__init__.py +0 -0
- viam/gen/service/video/v1/video_grpc.py +39 -0
- viam/gen/service/video/v1/video_pb2.py +29 -0
- viam/gen/service/video/v1/video_pb2.pyi +72 -0
- viam/gen/service/vision/v1/vision_pb2.py +27 -27
- viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
- viam/gen/service/worldstatestore/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
- viam/gen/stream/v1/stream_pb2.py +1 -1
- viam/gen/tagger/v1/tagger_pb2.py +1 -1
- viam/logging.py +9 -8
- viam/media/audio.py +22 -10
- viam/media/utils/pil/__init__.py +5 -1
- viam/media/video.py +54 -40
- viam/module/module.py +85 -16
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/proto/app/__init__.py +68 -0
- viam/proto/app/billing.py +16 -0
- viam/proto/app/data/__init__.py +48 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +4 -0
- viam/proto/app/mltraining/__init__.py +6 -0
- viam/proto/app/robot.py +6 -0
- viam/proto/common/__init__.py +14 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +0 -2
- viam/proto/component/gripper/__init__.py +4 -0
- viam/proto/opentelemetry/__init__.py +0 -0
- viam/proto/opentelemetry/proto/__init__.py +0 -0
- viam/proto/opentelemetry/proto/common/__init__.py +15 -0
- viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
- viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
- viam/proto/provisioning/__init__.py +6 -0
- viam/proto/robot/__init__.py +16 -8
- viam/proto/service/datamanager/__init__.py +8 -1
- viam/proto/service/motion/__init__.py +2 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/resource/easy_resource.py +5 -9
- viam/resource/manager.py +4 -3
- viam/resource/registry.py +2 -2
- viam/resource/types.py +2 -2
- viam/robot/client.py +38 -59
- viam/rpc/dial.py +48 -5
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +24 -10
- viam/services/motion/client.py +8 -9
- viam/services/motion/motion.py +48 -46
- viam/services/navigation/navigation.py +2 -2
- viam/services/vision/client.py +1 -1
- viam/services/vision/service.py +5 -8
- viam/services/vision/vision.py +5 -3
- viam/services/worldstatestore/__init__.py +18 -0
- viam/services/worldstatestore/client.py +94 -0
- viam/services/worldstatestore/service.py +55 -0
- viam/services/worldstatestore/worldstatestore.py +90 -0
- viam/sessions_client.py +115 -46
- viam/version_metadata.py +2 -2
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
- viam/components/audio_input/__init__.py +0 -18
- viam/components/audio_input/audio_input.py +0 -81
- viam/components/audio_input/client.py +0 -70
- viam/components/audio_input/service.py +0 -114
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -61,6 +61,65 @@ TAGS_FILTER_TYPE_UNTAGGED: TagsFilterType.ValueType
|
|
|
61
61
|
'TAGS_FILTER_TYPE_UNTAGGED specifes that all untagged documents should be returned.'
|
|
62
62
|
global___TagsFilterType = TagsFilterType
|
|
63
63
|
|
|
64
|
+
class _TabularDataSourceType:
|
|
65
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
66
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
67
|
+
|
|
68
|
+
class _TabularDataSourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TabularDataSourceType.ValueType], builtins.type):
|
|
69
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
70
|
+
TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED: _TabularDataSourceType.ValueType
|
|
71
|
+
TABULAR_DATA_SOURCE_TYPE_STANDARD: _TabularDataSourceType.ValueType
|
|
72
|
+
'TABULAR_DATA_SOURCE_TYPE_STANDARD indicates reading from standard storage. This is\n the default option and available for all data synced to Viam.\n '
|
|
73
|
+
TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE: _TabularDataSourceType.ValueType
|
|
74
|
+
'TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE indicates reading from hot storage. This is a\n premium feature requiring opting in specific data sources.\n See docs at https://docs.viam.com/data-ai/capture-data/advanced/advanced-data-capture-sync/#capture-to-the-hot-data-store\n '
|
|
75
|
+
TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK: _TabularDataSourceType.ValueType
|
|
76
|
+
'TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of\n a data pipeline. When using this, a pipeline ID needs to be specified.\n '
|
|
77
|
+
|
|
78
|
+
class TabularDataSourceType(_TabularDataSourceType, metaclass=_TabularDataSourceTypeEnumTypeWrapper):
|
|
79
|
+
"""TabularDataSourceType specifies the data source type for TabularDataByMQL queries."""
|
|
80
|
+
TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED: TabularDataSourceType.ValueType
|
|
81
|
+
TABULAR_DATA_SOURCE_TYPE_STANDARD: TabularDataSourceType.ValueType
|
|
82
|
+
'TABULAR_DATA_SOURCE_TYPE_STANDARD indicates reading from standard storage. This is\nthe default option and available for all data synced to Viam.\n'
|
|
83
|
+
TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE: TabularDataSourceType.ValueType
|
|
84
|
+
'TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE indicates reading from hot storage. This is a\npremium feature requiring opting in specific data sources.\nSee docs at https://docs.viam.com/data-ai/capture-data/advanced/advanced-data-capture-sync/#capture-to-the-hot-data-store\n'
|
|
85
|
+
TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK: TabularDataSourceType.ValueType
|
|
86
|
+
'TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of\na data pipeline. When using this, a pipeline ID needs to be specified.\n'
|
|
87
|
+
global___TabularDataSourceType = TabularDataSourceType
|
|
88
|
+
|
|
89
|
+
class _IndexableCollection:
|
|
90
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
91
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
92
|
+
|
|
93
|
+
class _IndexableCollectionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexableCollection.ValueType], builtins.type):
|
|
94
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
95
|
+
INDEXABLE_COLLECTION_UNSPECIFIED: _IndexableCollection.ValueType
|
|
96
|
+
INDEXABLE_COLLECTION_HOT_STORE: _IndexableCollection.ValueType
|
|
97
|
+
INDEXABLE_COLLECTION_PIPELINE_SINK: _IndexableCollection.ValueType
|
|
98
|
+
|
|
99
|
+
class IndexableCollection(_IndexableCollection, metaclass=_IndexableCollectionEnumTypeWrapper):
|
|
100
|
+
"""IndexableCollection specifies the types of collections available for custom indexes"""
|
|
101
|
+
INDEXABLE_COLLECTION_UNSPECIFIED: IndexableCollection.ValueType
|
|
102
|
+
INDEXABLE_COLLECTION_HOT_STORE: IndexableCollection.ValueType
|
|
103
|
+
INDEXABLE_COLLECTION_PIPELINE_SINK: IndexableCollection.ValueType
|
|
104
|
+
global___IndexableCollection = IndexableCollection
|
|
105
|
+
|
|
106
|
+
class _IndexCreator:
|
|
107
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
108
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
109
|
+
|
|
110
|
+
class _IndexCreatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexCreator.ValueType], builtins.type):
|
|
111
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
112
|
+
INDEX_CREATOR_UNSPECIFIED: _IndexCreator.ValueType
|
|
113
|
+
INDEX_CREATOR_VIAM: _IndexCreator.ValueType
|
|
114
|
+
INDEX_CREATOR_CUSTOMER: _IndexCreator.ValueType
|
|
115
|
+
|
|
116
|
+
class IndexCreator(_IndexCreator, metaclass=_IndexCreatorEnumTypeWrapper):
|
|
117
|
+
"""IndexCreator specifies the entity that originally created the index"""
|
|
118
|
+
INDEX_CREATOR_UNSPECIFIED: IndexCreator.ValueType
|
|
119
|
+
INDEX_CREATOR_VIAM: IndexCreator.ValueType
|
|
120
|
+
INDEX_CREATOR_CUSTOMER: IndexCreator.ValueType
|
|
121
|
+
global___IndexCreator = IndexCreator
|
|
122
|
+
|
|
64
123
|
@typing.final
|
|
65
124
|
class DataRequest(google.protobuf.message.Message):
|
|
66
125
|
"""DataRequest encapsulates the filter for the data, a limit on the maximum results returned,
|
|
@@ -383,6 +442,29 @@ class TabularDataBySQLResponse(google.protobuf.message.Message):
|
|
|
383
442
|
...
|
|
384
443
|
global___TabularDataBySQLResponse = TabularDataBySQLResponse
|
|
385
444
|
|
|
445
|
+
@typing.final
|
|
446
|
+
class TabularDataSource(google.protobuf.message.Message):
|
|
447
|
+
"""TabularDataSource specifies the data source for user queries to execute on."""
|
|
448
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
449
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
450
|
+
PIPELINE_ID_FIELD_NUMBER: builtins.int
|
|
451
|
+
type: global___TabularDataSourceType.ValueType
|
|
452
|
+
pipeline_id: builtins.str
|
|
453
|
+
'pipeline_id is the ID of the pipeline to query. Required when using\n TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.\n '
|
|
454
|
+
|
|
455
|
+
def __init__(self, *, type: global___TabularDataSourceType.ValueType=..., pipeline_id: builtins.str | None=...) -> None:
|
|
456
|
+
...
|
|
457
|
+
|
|
458
|
+
def HasField(self, field_name: typing.Literal['_pipeline_id', b'_pipeline_id', 'pipeline_id', b'pipeline_id']) -> builtins.bool:
|
|
459
|
+
...
|
|
460
|
+
|
|
461
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_id', b'_pipeline_id', 'pipeline_id', b'pipeline_id', 'type', b'type']) -> None:
|
|
462
|
+
...
|
|
463
|
+
|
|
464
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_id', b'_pipeline_id']) -> typing.Literal['pipeline_id'] | None:
|
|
465
|
+
...
|
|
466
|
+
global___TabularDataSource = TabularDataSource
|
|
467
|
+
|
|
386
468
|
@typing.final
|
|
387
469
|
class TabularDataByMQLRequest(google.protobuf.message.Message):
|
|
388
470
|
"""TabularDataByMQLRequest requests tabular data using an MQL query."""
|
|
@@ -390,8 +472,13 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
|
|
|
390
472
|
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
391
473
|
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
392
474
|
USE_RECENT_DATA_FIELD_NUMBER: builtins.int
|
|
475
|
+
DATA_SOURCE_FIELD_NUMBER: builtins.int
|
|
476
|
+
QUERY_PREFIX_NAME_FIELD_NUMBER: builtins.int
|
|
393
477
|
organization_id: builtins.str
|
|
394
478
|
use_recent_data: builtins.bool
|
|
479
|
+
'Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.'
|
|
480
|
+
query_prefix_name: builtins.str
|
|
481
|
+
'query_prefix_name is an optional field that can be used to specify a saved query to run'
|
|
395
482
|
|
|
396
483
|
@property
|
|
397
484
|
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
@@ -400,15 +487,30 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
|
|
|
400
487
|
namespace, which holds the Viam organization's tabular data.
|
|
401
488
|
"""
|
|
402
489
|
|
|
403
|
-
|
|
490
|
+
@property
|
|
491
|
+
def data_source(self) -> global___TabularDataSource:
|
|
492
|
+
"""data_source is an optional field that can be used to specify the data source for the query.
|
|
493
|
+
If not specified, the query will run on "standard" storage.
|
|
494
|
+
"""
|
|
495
|
+
|
|
496
|
+
def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., use_recent_data: builtins.bool | None=..., data_source: global___TabularDataSource | None=..., query_prefix_name: builtins.str | None=...) -> None:
|
|
404
497
|
...
|
|
405
498
|
|
|
406
|
-
def HasField(self, field_name: typing.Literal['_use_recent_data', b'_use_recent_data', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
|
|
499
|
+
def HasField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
|
|
407
500
|
...
|
|
408
501
|
|
|
409
|
-
def ClearField(self, field_name: typing.Literal['_use_recent_data', b'_use_recent_data', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'use_recent_data', b'use_recent_data']) -> None:
|
|
502
|
+
def ClearField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> None:
|
|
410
503
|
...
|
|
411
504
|
|
|
505
|
+
@typing.overload
|
|
506
|
+
def WhichOneof(self, oneof_group: typing.Literal['_data_source', b'_data_source']) -> typing.Literal['data_source'] | None:
|
|
507
|
+
...
|
|
508
|
+
|
|
509
|
+
@typing.overload
|
|
510
|
+
def WhichOneof(self, oneof_group: typing.Literal['_query_prefix_name', b'_query_prefix_name']) -> typing.Literal['query_prefix_name'] | None:
|
|
511
|
+
...
|
|
512
|
+
|
|
513
|
+
@typing.overload
|
|
412
514
|
def WhichOneof(self, oneof_group: typing.Literal['_use_recent_data', b'_use_recent_data']) -> typing.Literal['use_recent_data'] | None:
|
|
413
515
|
...
|
|
414
516
|
global___TabularDataByMQLRequest = TabularDataByMQLRequest
|
|
@@ -439,6 +541,7 @@ class ExportTabularDataRequest(google.protobuf.message.Message):
|
|
|
439
541
|
RESOURCE_SUBTYPE_FIELD_NUMBER: builtins.int
|
|
440
542
|
METHOD_NAME_FIELD_NUMBER: builtins.int
|
|
441
543
|
INTERVAL_FIELD_NUMBER: builtins.int
|
|
544
|
+
ADDITIONAL_PARAMETERS_FIELD_NUMBER: builtins.int
|
|
442
545
|
part_id: builtins.str
|
|
443
546
|
resource_name: builtins.str
|
|
444
547
|
resource_subtype: builtins.str
|
|
@@ -448,13 +551,20 @@ class ExportTabularDataRequest(google.protobuf.message.Message):
|
|
|
448
551
|
def interval(self) -> global___CaptureInterval:
|
|
449
552
|
...
|
|
450
553
|
|
|
451
|
-
|
|
554
|
+
@property
|
|
555
|
+
def additional_parameters(self) -> google.protobuf.struct_pb2.Struct:
|
|
452
556
|
...
|
|
453
557
|
|
|
454
|
-
def
|
|
558
|
+
def __init__(self, *, part_id: builtins.str=..., resource_name: builtins.str=..., resource_subtype: builtins.str=..., method_name: builtins.str=..., interval: global___CaptureInterval | None=..., additional_parameters: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
455
559
|
...
|
|
456
560
|
|
|
457
|
-
def
|
|
561
|
+
def HasField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'interval', b'interval']) -> builtins.bool:
|
|
562
|
+
...
|
|
563
|
+
|
|
564
|
+
def ClearField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'interval', b'interval', 'method_name', b'method_name', 'part_id', b'part_id', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype']) -> None:
|
|
565
|
+
...
|
|
566
|
+
|
|
567
|
+
def WhichOneof(self, oneof_group: typing.Literal['_additional_parameters', b'_additional_parameters']) -> typing.Literal['additional_parameters'] | None:
|
|
458
568
|
...
|
|
459
569
|
global___ExportTabularDataRequest = ExportTabularDataRequest
|
|
460
570
|
|
|
@@ -519,15 +629,26 @@ class GetLatestTabularDataRequest(google.protobuf.message.Message):
|
|
|
519
629
|
RESOURCE_NAME_FIELD_NUMBER: builtins.int
|
|
520
630
|
METHOD_NAME_FIELD_NUMBER: builtins.int
|
|
521
631
|
RESOURCE_SUBTYPE_FIELD_NUMBER: builtins.int
|
|
632
|
+
ADDITIONAL_PARAMETERS_FIELD_NUMBER: builtins.int
|
|
522
633
|
part_id: builtins.str
|
|
523
634
|
resource_name: builtins.str
|
|
524
635
|
method_name: builtins.str
|
|
525
636
|
resource_subtype: builtins.str
|
|
526
637
|
|
|
527
|
-
|
|
638
|
+
@property
|
|
639
|
+
def additional_parameters(self) -> google.protobuf.struct_pb2.Struct:
|
|
640
|
+
...
|
|
641
|
+
|
|
642
|
+
def __init__(self, *, part_id: builtins.str=..., resource_name: builtins.str=..., method_name: builtins.str=..., resource_subtype: builtins.str=..., additional_parameters: google.protobuf.struct_pb2.Struct | None=...) -> None:
|
|
643
|
+
...
|
|
644
|
+
|
|
645
|
+
def HasField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters']) -> builtins.bool:
|
|
528
646
|
...
|
|
529
647
|
|
|
530
|
-
def ClearField(self, field_name: typing.Literal['method_name', b'method_name', 'part_id', b'part_id', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype']) -> None:
|
|
648
|
+
def ClearField(self, field_name: typing.Literal['_additional_parameters', b'_additional_parameters', 'additional_parameters', b'additional_parameters', 'method_name', b'method_name', 'part_id', b'part_id', 'resource_name', b'resource_name', 'resource_subtype', b'resource_subtype']) -> None:
|
|
649
|
+
...
|
|
650
|
+
|
|
651
|
+
def WhichOneof(self, oneof_group: typing.Literal['_additional_parameters', b'_additional_parameters']) -> typing.Literal['additional_parameters'] | None:
|
|
531
652
|
...
|
|
532
653
|
global___GetLatestTabularDataRequest = GetLatestTabularDataRequest
|
|
533
654
|
|
|
@@ -658,16 +779,21 @@ class BinaryDataByIDsRequest(google.protobuf.message.Message):
|
|
|
658
779
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
659
780
|
INCLUDE_BINARY_FIELD_NUMBER: builtins.int
|
|
660
781
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
782
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
661
783
|
include_binary: builtins.bool
|
|
662
784
|
|
|
663
785
|
@property
|
|
664
786
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
665
787
|
...
|
|
666
788
|
|
|
667
|
-
|
|
789
|
+
@property
|
|
790
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
791
|
+
...
|
|
792
|
+
|
|
793
|
+
def __init__(self, *, include_binary: builtins.bool=..., binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
668
794
|
...
|
|
669
795
|
|
|
670
|
-
def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'include_binary', b'include_binary']) -> None:
|
|
796
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'include_binary', b'include_binary']) -> None:
|
|
671
797
|
...
|
|
672
798
|
global___BinaryDataByIDsRequest = BinaryDataByIDsRequest
|
|
673
799
|
|
|
@@ -729,19 +855,21 @@ global___BoundingBox = BoundingBox
|
|
|
729
855
|
class Classification(google.protobuf.message.Message):
|
|
730
856
|
"""Classification represents a confidence score with a label."""
|
|
731
857
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
858
|
+
ID_FIELD_NUMBER: builtins.int
|
|
732
859
|
LABEL_FIELD_NUMBER: builtins.int
|
|
733
860
|
CONFIDENCE_FIELD_NUMBER: builtins.int
|
|
861
|
+
id: builtins.str
|
|
734
862
|
label: builtins.str
|
|
735
863
|
confidence: builtins.float
|
|
736
864
|
'confidence is an optional range from 0 - 1'
|
|
737
865
|
|
|
738
|
-
def __init__(self, *, label: builtins.str=..., confidence: builtins.float | None=...) -> None:
|
|
866
|
+
def __init__(self, *, id: builtins.str=..., label: builtins.str=..., confidence: builtins.float | None=...) -> None:
|
|
739
867
|
...
|
|
740
868
|
|
|
741
869
|
def HasField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence']) -> builtins.bool:
|
|
742
870
|
...
|
|
743
871
|
|
|
744
|
-
def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'label', b'label']) -> None:
|
|
872
|
+
def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'id', b'id', 'label', b'label']) -> None:
|
|
745
873
|
...
|
|
746
874
|
|
|
747
875
|
def WhichOneof(self, oneof_group: typing.Literal['_confidence', b'_confidence']) -> typing.Literal['confidence'] | None:
|
|
@@ -783,10 +911,12 @@ class BinaryMetadata(google.protobuf.message.Message):
|
|
|
783
911
|
URI_FIELD_NUMBER: builtins.int
|
|
784
912
|
ANNOTATIONS_FIELD_NUMBER: builtins.int
|
|
785
913
|
DATASET_IDS_FIELD_NUMBER: builtins.int
|
|
914
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
786
915
|
id: builtins.str
|
|
787
916
|
file_name: builtins.str
|
|
788
917
|
file_ext: builtins.str
|
|
789
918
|
uri: builtins.str
|
|
919
|
+
binary_data_id: builtins.str
|
|
790
920
|
|
|
791
921
|
@property
|
|
792
922
|
def capture_metadata(self) -> global___CaptureMetadata:
|
|
@@ -808,13 +938,13 @@ class BinaryMetadata(google.protobuf.message.Message):
|
|
|
808
938
|
def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
809
939
|
...
|
|
810
940
|
|
|
811
|
-
def __init__(self, *, id: builtins.str=..., capture_metadata: global___CaptureMetadata | None=..., time_requested: google.protobuf.timestamp_pb2.Timestamp | None=..., time_received: google.protobuf.timestamp_pb2.Timestamp | None=..., file_name: builtins.str=..., file_ext: builtins.str=..., uri: builtins.str=..., annotations: global___Annotations | None=..., dataset_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
941
|
+
def __init__(self, *, id: builtins.str=..., capture_metadata: global___CaptureMetadata | None=..., time_requested: google.protobuf.timestamp_pb2.Timestamp | None=..., time_received: google.protobuf.timestamp_pb2.Timestamp | None=..., file_name: builtins.str=..., file_ext: builtins.str=..., uri: builtins.str=..., annotations: global___Annotations | None=..., dataset_ids: collections.abc.Iterable[builtins.str] | None=..., binary_data_id: builtins.str=...) -> None:
|
|
812
942
|
...
|
|
813
943
|
|
|
814
944
|
def HasField(self, field_name: typing.Literal['annotations', b'annotations', 'capture_metadata', b'capture_metadata', 'time_received', b'time_received', 'time_requested', b'time_requested']) -> builtins.bool:
|
|
815
945
|
...
|
|
816
946
|
|
|
817
|
-
def ClearField(self, field_name: typing.Literal['annotations', b'annotations', 'capture_metadata', b'capture_metadata', 'dataset_ids', b'dataset_ids', 'file_ext', b'file_ext', 'file_name', b'file_name', 'id', b'id', 'time_received', b'time_received', 'time_requested', b'time_requested', 'uri', b'uri']) -> None:
|
|
947
|
+
def ClearField(self, field_name: typing.Literal['annotations', b'annotations', 'binary_data_id', b'binary_data_id', 'capture_metadata', b'capture_metadata', 'dataset_ids', b'dataset_ids', 'file_ext', b'file_ext', 'file_name', b'file_name', 'id', b'id', 'time_received', b'time_received', 'time_requested', b'time_requested', 'uri', b'uri']) -> None:
|
|
818
948
|
...
|
|
819
949
|
global___BinaryMetadata = BinaryMetadata
|
|
820
950
|
|
|
@@ -895,15 +1025,20 @@ class DeleteBinaryDataByIDsRequest(google.protobuf.message.Message):
|
|
|
895
1025
|
"""DeleteBinaryDataByIDsRequest deletes the data and metadata of binary data when binary ids are provided."""
|
|
896
1026
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
897
1027
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
1028
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
898
1029
|
|
|
899
1030
|
@property
|
|
900
1031
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
901
1032
|
...
|
|
902
1033
|
|
|
903
|
-
|
|
1034
|
+
@property
|
|
1035
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1036
|
+
...
|
|
1037
|
+
|
|
1038
|
+
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
904
1039
|
...
|
|
905
1040
|
|
|
906
|
-
def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids']) -> None:
|
|
1041
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids']) -> None:
|
|
907
1042
|
...
|
|
908
1043
|
global___DeleteBinaryDataByIDsRequest = DeleteBinaryDataByIDsRequest
|
|
909
1044
|
|
|
@@ -926,20 +1061,25 @@ class AddTagsToBinaryDataByIDsRequest(google.protobuf.message.Message):
|
|
|
926
1061
|
"""AddTagsToBinaryDataByIDsRequest requests adding all specified tags to each of the files when binary ids are provided."""
|
|
927
1062
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
928
1063
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
1064
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
929
1065
|
TAGS_FIELD_NUMBER: builtins.int
|
|
930
1066
|
|
|
931
1067
|
@property
|
|
932
1068
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
933
1069
|
...
|
|
934
1070
|
|
|
1071
|
+
@property
|
|
1072
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1073
|
+
...
|
|
1074
|
+
|
|
935
1075
|
@property
|
|
936
1076
|
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
937
1077
|
...
|
|
938
1078
|
|
|
939
|
-
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
1079
|
+
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
940
1080
|
...
|
|
941
1081
|
|
|
942
|
-
def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
|
|
1082
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
|
|
943
1083
|
...
|
|
944
1084
|
global___AddTagsToBinaryDataByIDsRequest = AddTagsToBinaryDataByIDsRequest
|
|
945
1085
|
|
|
@@ -989,20 +1129,25 @@ class RemoveTagsFromBinaryDataByIDsRequest(google.protobuf.message.Message):
|
|
|
989
1129
|
"""RemoveTagsFromBinaryDataByIDsRequest requests removing the given tags value from each file when binary ids are provided."""
|
|
990
1130
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
991
1131
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
1132
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
992
1133
|
TAGS_FIELD_NUMBER: builtins.int
|
|
993
1134
|
|
|
994
1135
|
@property
|
|
995
1136
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
996
1137
|
...
|
|
997
1138
|
|
|
1139
|
+
@property
|
|
1140
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1141
|
+
...
|
|
1142
|
+
|
|
998
1143
|
@property
|
|
999
1144
|
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1000
1145
|
...
|
|
1001
1146
|
|
|
1002
|
-
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
1147
|
+
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
1003
1148
|
...
|
|
1004
1149
|
|
|
1005
|
-
def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
|
|
1150
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'tags', b'tags']) -> None:
|
|
1006
1151
|
...
|
|
1007
1152
|
global___RemoveTagsFromBinaryDataByIDsRequest = RemoveTagsFromBinaryDataByIDsRequest
|
|
1008
1153
|
|
|
@@ -1103,11 +1248,13 @@ class AddBoundingBoxToImageByIDRequest(google.protobuf.message.Message):
|
|
|
1103
1248
|
"""
|
|
1104
1249
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1105
1250
|
BINARY_ID_FIELD_NUMBER: builtins.int
|
|
1251
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
1106
1252
|
LABEL_FIELD_NUMBER: builtins.int
|
|
1107
1253
|
X_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1108
1254
|
Y_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1109
1255
|
X_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1110
1256
|
Y_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1257
|
+
binary_data_id: builtins.str
|
|
1111
1258
|
label: builtins.str
|
|
1112
1259
|
x_min_normalized: builtins.float
|
|
1113
1260
|
y_min_normalized: builtins.float
|
|
@@ -1118,13 +1265,13 @@ class AddBoundingBoxToImageByIDRequest(google.protobuf.message.Message):
|
|
|
1118
1265
|
def binary_id(self) -> global___BinaryID:
|
|
1119
1266
|
...
|
|
1120
1267
|
|
|
1121
|
-
def __init__(self, *, binary_id: global___BinaryID | None=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=...) -> None:
|
|
1268
|
+
def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., label: builtins.str=..., x_min_normalized: builtins.float=..., y_min_normalized: builtins.float=..., x_max_normalized: builtins.float=..., y_max_normalized: builtins.float=...) -> None:
|
|
1122
1269
|
...
|
|
1123
1270
|
|
|
1124
1271
|
def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
|
|
1125
1272
|
...
|
|
1126
1273
|
|
|
1127
|
-
def ClearField(self, field_name: typing.Literal['binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
|
|
1274
|
+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
|
|
1128
1275
|
...
|
|
1129
1276
|
global___AddBoundingBoxToImageByIDRequest = AddBoundingBoxToImageByIDRequest
|
|
1130
1277
|
|
|
@@ -1147,20 +1294,22 @@ class RemoveBoundingBoxFromImageByIDRequest(google.protobuf.message.Message):
|
|
|
1147
1294
|
"""RemoveBoundingBoxFromImageByIDRequest removes the bounding box with specified bounding box ID for the file represented by the binary ID."""
|
|
1148
1295
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1149
1296
|
BINARY_ID_FIELD_NUMBER: builtins.int
|
|
1297
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
1150
1298
|
BBOX_ID_FIELD_NUMBER: builtins.int
|
|
1299
|
+
binary_data_id: builtins.str
|
|
1151
1300
|
bbox_id: builtins.str
|
|
1152
1301
|
|
|
1153
1302
|
@property
|
|
1154
1303
|
def binary_id(self) -> global___BinaryID:
|
|
1155
1304
|
...
|
|
1156
1305
|
|
|
1157
|
-
def __init__(self, *, binary_id: global___BinaryID | None=..., bbox_id: builtins.str=...) -> None:
|
|
1306
|
+
def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., bbox_id: builtins.str=...) -> None:
|
|
1158
1307
|
...
|
|
1159
1308
|
|
|
1160
1309
|
def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
|
|
1161
1310
|
...
|
|
1162
1311
|
|
|
1163
|
-
def ClearField(self, field_name: typing.Literal['bbox_id', b'bbox_id', 'binary_id', b'binary_id']) -> None:
|
|
1312
|
+
def ClearField(self, field_name: typing.Literal['bbox_id', b'bbox_id', 'binary_data_id', b'binary_data_id', 'binary_id', b'binary_id']) -> None:
|
|
1164
1313
|
...
|
|
1165
1314
|
global___RemoveBoundingBoxFromImageByIDRequest = RemoveBoundingBoxFromImageByIDRequest
|
|
1166
1315
|
|
|
@@ -1177,12 +1326,14 @@ class UpdateBoundingBoxRequest(google.protobuf.message.Message):
|
|
|
1177
1326
|
"""UpdateBoundingBoxRequest updates the bounding box with specified bounding box ID for the file represented by the binary ID."""
|
|
1178
1327
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1179
1328
|
BINARY_ID_FIELD_NUMBER: builtins.int
|
|
1329
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
1180
1330
|
BBOX_ID_FIELD_NUMBER: builtins.int
|
|
1181
1331
|
LABEL_FIELD_NUMBER: builtins.int
|
|
1182
1332
|
X_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1183
1333
|
Y_MIN_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1184
1334
|
X_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1185
1335
|
Y_MAX_NORMALIZED_FIELD_NUMBER: builtins.int
|
|
1336
|
+
binary_data_id: builtins.str
|
|
1186
1337
|
bbox_id: builtins.str
|
|
1187
1338
|
label: builtins.str
|
|
1188
1339
|
x_min_normalized: builtins.float
|
|
@@ -1194,13 +1345,13 @@ class UpdateBoundingBoxRequest(google.protobuf.message.Message):
|
|
|
1194
1345
|
def binary_id(self) -> global___BinaryID:
|
|
1195
1346
|
...
|
|
1196
1347
|
|
|
1197
|
-
def __init__(self, *, binary_id: global___BinaryID | None=..., bbox_id: builtins.str=..., label: builtins.str | None=..., x_min_normalized: builtins.float | None=..., y_min_normalized: builtins.float | None=..., x_max_normalized: builtins.float | None=..., y_max_normalized: builtins.float | None=...) -> None:
|
|
1348
|
+
def __init__(self, *, binary_id: global___BinaryID | None=..., binary_data_id: builtins.str=..., bbox_id: builtins.str=..., label: builtins.str | None=..., x_min_normalized: builtins.float | None=..., y_min_normalized: builtins.float | None=..., x_max_normalized: builtins.float | None=..., y_max_normalized: builtins.float | None=...) -> None:
|
|
1198
1349
|
...
|
|
1199
1350
|
|
|
1200
1351
|
def HasField(self, field_name: typing.Literal['_label', b'_label', '_x_max_normalized', b'_x_max_normalized', '_x_min_normalized', b'_x_min_normalized', '_y_max_normalized', b'_y_max_normalized', '_y_min_normalized', b'_y_min_normalized', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> builtins.bool:
|
|
1201
1352
|
...
|
|
1202
1353
|
|
|
1203
|
-
def ClearField(self, field_name: typing.Literal['_label', b'_label', '_x_max_normalized', b'_x_max_normalized', '_x_min_normalized', b'_x_min_normalized', '_y_max_normalized', b'_y_max_normalized', '_y_min_normalized', b'_y_min_normalized', 'bbox_id', b'bbox_id', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
|
|
1354
|
+
def ClearField(self, field_name: typing.Literal['_label', b'_label', '_x_max_normalized', b'_x_max_normalized', '_x_min_normalized', b'_x_min_normalized', '_y_max_normalized', b'_y_max_normalized', '_y_min_normalized', b'_y_min_normalized', 'bbox_id', b'bbox_id', 'binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'label', b'label', 'x_max_normalized', b'x_max_normalized', 'x_min_normalized', b'x_min_normalized', 'y_max_normalized', b'y_max_normalized', 'y_min_normalized', b'y_min_normalized']) -> None:
|
|
1204
1355
|
...
|
|
1205
1356
|
|
|
1206
1357
|
@typing.overload
|
|
@@ -1336,6 +1487,7 @@ class AddBinaryDataToDatasetByIDsRequest(google.protobuf.message.Message):
|
|
|
1336
1487
|
"""AddBinaryDataToDatasetByIDsRequest adds the binary data with the given binary IDs to a dataset with dataset_id."""
|
|
1337
1488
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1338
1489
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
1490
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
1339
1491
|
DATASET_ID_FIELD_NUMBER: builtins.int
|
|
1340
1492
|
dataset_id: builtins.str
|
|
1341
1493
|
|
|
@@ -1343,10 +1495,14 @@ class AddBinaryDataToDatasetByIDsRequest(google.protobuf.message.Message):
|
|
|
1343
1495
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
1344
1496
|
...
|
|
1345
1497
|
|
|
1346
|
-
|
|
1498
|
+
@property
|
|
1499
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1500
|
+
...
|
|
1501
|
+
|
|
1502
|
+
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., dataset_id: builtins.str=...) -> None:
|
|
1347
1503
|
...
|
|
1348
1504
|
|
|
1349
|
-
def ClearField(self, field_name: typing.Literal['binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
|
|
1505
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
|
|
1350
1506
|
...
|
|
1351
1507
|
global___AddBinaryDataToDatasetByIDsRequest = AddBinaryDataToDatasetByIDsRequest
|
|
1352
1508
|
|
|
@@ -1363,6 +1519,7 @@ class RemoveBinaryDataFromDatasetByIDsRequest(google.protobuf.message.Message):
|
|
|
1363
1519
|
"""RemoveBinaryDataFromDatasetByIDsRequest removes the specified binary IDs from a dataset with dataset_id."""
|
|
1364
1520
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1365
1521
|
BINARY_IDS_FIELD_NUMBER: builtins.int
|
|
1522
|
+
BINARY_DATA_IDS_FIELD_NUMBER: builtins.int
|
|
1366
1523
|
DATASET_ID_FIELD_NUMBER: builtins.int
|
|
1367
1524
|
dataset_id: builtins.str
|
|
1368
1525
|
|
|
@@ -1370,10 +1527,14 @@ class RemoveBinaryDataFromDatasetByIDsRequest(google.protobuf.message.Message):
|
|
|
1370
1527
|
def binary_ids(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BinaryID]:
|
|
1371
1528
|
...
|
|
1372
1529
|
|
|
1373
|
-
|
|
1530
|
+
@property
|
|
1531
|
+
def binary_data_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1374
1532
|
...
|
|
1375
1533
|
|
|
1376
|
-
def
|
|
1534
|
+
def __init__(self, *, binary_ids: collections.abc.Iterable[global___BinaryID] | None=..., binary_data_ids: collections.abc.Iterable[builtins.str] | None=..., dataset_id: builtins.str=...) -> None:
|
|
1535
|
+
...
|
|
1536
|
+
|
|
1537
|
+
def ClearField(self, field_name: typing.Literal['binary_data_ids', b'binary_data_ids', 'binary_ids', b'binary_ids', 'dataset_id', b'dataset_id']) -> None:
|
|
1377
1538
|
...
|
|
1378
1539
|
global___RemoveBinaryDataFromDatasetByIDsRequest = RemoveBinaryDataFromDatasetByIDsRequest
|
|
1379
1540
|
|
|
@@ -1383,4 +1544,375 @@ class RemoveBinaryDataFromDatasetByIDsResponse(google.protobuf.message.Message):
|
|
|
1383
1544
|
|
|
1384
1545
|
def __init__(self) -> None:
|
|
1385
1546
|
...
|
|
1386
|
-
global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
|
|
1547
|
+
global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
|
|
1548
|
+
|
|
1549
|
+
@typing.final
|
|
1550
|
+
class CreateIndexRequest(google.protobuf.message.Message):
|
|
1551
|
+
"""CreateIndexRequest starts a custom index build"""
|
|
1552
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1553
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1554
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1555
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1556
|
+
INDEX_SPEC_FIELD_NUMBER: builtins.int
|
|
1557
|
+
organization_id: builtins.str
|
|
1558
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1559
|
+
pipeline_name: builtins.str
|
|
1560
|
+
|
|
1561
|
+
@property
|
|
1562
|
+
def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1563
|
+
"""index_spec accepts a MongoDB index specification defined in JSON format"""
|
|
1564
|
+
|
|
1565
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
|
|
1566
|
+
...
|
|
1567
|
+
|
|
1568
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1569
|
+
...
|
|
1570
|
+
|
|
1571
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_spec', b'index_spec', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1572
|
+
...
|
|
1573
|
+
|
|
1574
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1575
|
+
...
|
|
1576
|
+
global___CreateIndexRequest = CreateIndexRequest
|
|
1577
|
+
|
|
1578
|
+
@typing.final
|
|
1579
|
+
class CreateIndexResponse(google.protobuf.message.Message):
|
|
1580
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1581
|
+
|
|
1582
|
+
def __init__(self) -> None:
|
|
1583
|
+
...
|
|
1584
|
+
global___CreateIndexResponse = CreateIndexResponse
|
|
1585
|
+
|
|
1586
|
+
@typing.final
|
|
1587
|
+
class DeleteIndexRequest(google.protobuf.message.Message):
|
|
1588
|
+
"""DeleteIndexRequest drops the specified custom index from a collection"""
|
|
1589
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1590
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1591
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1592
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1593
|
+
INDEX_NAME_FIELD_NUMBER: builtins.int
|
|
1594
|
+
organization_id: builtins.str
|
|
1595
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1596
|
+
pipeline_name: builtins.str
|
|
1597
|
+
index_name: builtins.str
|
|
1598
|
+
|
|
1599
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=...) -> None:
|
|
1600
|
+
...
|
|
1601
|
+
|
|
1602
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1603
|
+
...
|
|
1604
|
+
|
|
1605
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_name', b'index_name', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1606
|
+
...
|
|
1607
|
+
|
|
1608
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1609
|
+
...
|
|
1610
|
+
global___DeleteIndexRequest = DeleteIndexRequest
|
|
1611
|
+
|
|
1612
|
+
@typing.final
|
|
1613
|
+
class DeleteIndexResponse(google.protobuf.message.Message):
|
|
1614
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1615
|
+
|
|
1616
|
+
def __init__(self) -> None:
|
|
1617
|
+
...
|
|
1618
|
+
global___DeleteIndexResponse = DeleteIndexResponse
|
|
1619
|
+
|
|
1620
|
+
@typing.final
|
|
1621
|
+
class ListIndexesRequest(google.protobuf.message.Message):
|
|
1622
|
+
"""ListIndexesRequest returns all the indexes for a given collection"""
|
|
1623
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1624
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1625
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1626
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1627
|
+
organization_id: builtins.str
|
|
1628
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1629
|
+
pipeline_name: builtins.str
|
|
1630
|
+
|
|
1631
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=...) -> None:
|
|
1632
|
+
...
|
|
1633
|
+
|
|
1634
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1635
|
+
...
|
|
1636
|
+
|
|
1637
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1638
|
+
...
|
|
1639
|
+
|
|
1640
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1641
|
+
...
|
|
1642
|
+
global___ListIndexesRequest = ListIndexesRequest
|
|
1643
|
+
|
|
1644
|
+
@typing.final
|
|
1645
|
+
class ListIndexesResponse(google.protobuf.message.Message):
|
|
1646
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1647
|
+
INDEXES_FIELD_NUMBER: builtins.int
|
|
1648
|
+
|
|
1649
|
+
@property
|
|
1650
|
+
def indexes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Index]:
|
|
1651
|
+
...
|
|
1652
|
+
|
|
1653
|
+
def __init__(self, *, indexes: collections.abc.Iterable[global___Index] | None=...) -> None:
|
|
1654
|
+
...
|
|
1655
|
+
|
|
1656
|
+
def ClearField(self, field_name: typing.Literal['indexes', b'indexes']) -> None:
|
|
1657
|
+
...
|
|
1658
|
+
global___ListIndexesResponse = ListIndexesResponse
|
|
1659
|
+
|
|
1660
|
+
@typing.final
|
|
1661
|
+
class Index(google.protobuf.message.Message):
|
|
1662
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1663
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1664
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1665
|
+
INDEX_NAME_FIELD_NUMBER: builtins.int
|
|
1666
|
+
INDEX_SPEC_FIELD_NUMBER: builtins.int
|
|
1667
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
1668
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1669
|
+
pipeline_name: builtins.str
|
|
1670
|
+
index_name: builtins.str
|
|
1671
|
+
created_by: global___IndexCreator.ValueType
|
|
1672
|
+
|
|
1673
|
+
@property
|
|
1674
|
+
def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1675
|
+
"""index_spec defines a MongoDB index in JSON format"""
|
|
1676
|
+
|
|
1677
|
+
def __init__(self, *, collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=..., created_by: global___IndexCreator.ValueType=...) -> None:
|
|
1678
|
+
...
|
|
1679
|
+
|
|
1680
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1681
|
+
...
|
|
1682
|
+
|
|
1683
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'created_by', b'created_by', 'index_name', b'index_name', 'index_spec', b'index_spec', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1684
|
+
...
|
|
1685
|
+
|
|
1686
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1687
|
+
...
|
|
1688
|
+
global___Index = Index
|
|
1689
|
+
|
|
1690
|
+
@typing.final
|
|
1691
|
+
class CreateSavedQueryRequest(google.protobuf.message.Message):
|
|
1692
|
+
"""CreateSavedQueryRequest saves a mql query."""
|
|
1693
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1694
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1695
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1696
|
+
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
1697
|
+
organization_id: builtins.str
|
|
1698
|
+
name: builtins.str
|
|
1699
|
+
|
|
1700
|
+
@property
|
|
1701
|
+
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1702
|
+
...
|
|
1703
|
+
|
|
1704
|
+
def __init__(self, *, organization_id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
|
|
1705
|
+
...
|
|
1706
|
+
|
|
1707
|
+
def ClearField(self, field_name: typing.Literal['mql_binary', b'mql_binary', 'name', b'name', 'organization_id', b'organization_id']) -> None:
|
|
1708
|
+
...
|
|
1709
|
+
global___CreateSavedQueryRequest = CreateSavedQueryRequest
|
|
1710
|
+
|
|
1711
|
+
@typing.final
|
|
1712
|
+
class CreateSavedQueryResponse(google.protobuf.message.Message):
|
|
1713
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1714
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1715
|
+
id: builtins.str
|
|
1716
|
+
|
|
1717
|
+
def __init__(self, *, id: builtins.str=...) -> None:
|
|
1718
|
+
...
|
|
1719
|
+
|
|
1720
|
+
def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
|
|
1721
|
+
...
|
|
1722
|
+
global___CreateSavedQueryResponse = CreateSavedQueryResponse
|
|
1723
|
+
|
|
1724
|
+
@typing.final
|
|
1725
|
+
class Query(google.protobuf.message.Message):
|
|
1726
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1727
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1728
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1729
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1730
|
+
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
1731
|
+
CREATED_ON_FIELD_NUMBER: builtins.int
|
|
1732
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
1733
|
+
id: builtins.str
|
|
1734
|
+
organization_id: builtins.str
|
|
1735
|
+
name: builtins.str
|
|
1736
|
+
|
|
1737
|
+
@property
|
|
1738
|
+
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1739
|
+
...
|
|
1740
|
+
|
|
1741
|
+
@property
|
|
1742
|
+
def created_on(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1743
|
+
...
|
|
1744
|
+
|
|
1745
|
+
@property
|
|
1746
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1747
|
+
...
|
|
1748
|
+
|
|
1749
|
+
def __init__(self, *, id: builtins.str=..., organization_id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., updated_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
|
|
1750
|
+
...
|
|
1751
|
+
|
|
1752
|
+
def HasField(self, field_name: typing.Literal['created_on', b'created_on', 'updated_at', b'updated_at']) -> builtins.bool:
|
|
1753
|
+
...
|
|
1754
|
+
|
|
1755
|
+
def ClearField(self, field_name: typing.Literal['created_on', b'created_on', 'id', b'id', 'mql_binary', b'mql_binary', 'name', b'name', 'organization_id', b'organization_id', 'updated_at', b'updated_at']) -> None:
|
|
1756
|
+
...
|
|
1757
|
+
global___Query = Query
|
|
1758
|
+
|
|
1759
|
+
@typing.final
|
|
1760
|
+
class DeleteSavedQueryRequest(google.protobuf.message.Message):
|
|
1761
|
+
"""DeleteSavedQuery deletes a saved query based on the given id."""
|
|
1762
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1763
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1764
|
+
id: builtins.str
|
|
1765
|
+
|
|
1766
|
+
def __init__(self, *, id: builtins.str=...) -> None:
|
|
1767
|
+
...
|
|
1768
|
+
|
|
1769
|
+
def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
|
|
1770
|
+
...
|
|
1771
|
+
global___DeleteSavedQueryRequest = DeleteSavedQueryRequest
|
|
1772
|
+
|
|
1773
|
+
@typing.final
|
|
1774
|
+
class DeleteSavedQueryResponse(google.protobuf.message.Message):
|
|
1775
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1776
|
+
|
|
1777
|
+
def __init__(self) -> None:
|
|
1778
|
+
...
|
|
1779
|
+
global___DeleteSavedQueryResponse = DeleteSavedQueryResponse
|
|
1780
|
+
|
|
1781
|
+
@typing.final
|
|
1782
|
+
class GetSavedQueryRequest(google.protobuf.message.Message):
|
|
1783
|
+
"""GetSavedQuery retrieves a saved query by id."""
|
|
1784
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1785
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1786
|
+
id: builtins.str
|
|
1787
|
+
|
|
1788
|
+
def __init__(self, *, id: builtins.str=...) -> None:
|
|
1789
|
+
...
|
|
1790
|
+
|
|
1791
|
+
def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
|
|
1792
|
+
...
|
|
1793
|
+
global___GetSavedQueryRequest = GetSavedQueryRequest
|
|
1794
|
+
|
|
1795
|
+
@typing.final
|
|
1796
|
+
class GetSavedQueryResponse(google.protobuf.message.Message):
|
|
1797
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1798
|
+
SAVED_QUERY_FIELD_NUMBER: builtins.int
|
|
1799
|
+
|
|
1800
|
+
@property
|
|
1801
|
+
def saved_query(self) -> global___Query:
|
|
1802
|
+
...
|
|
1803
|
+
|
|
1804
|
+
def __init__(self, *, saved_query: global___Query | None=...) -> None:
|
|
1805
|
+
...
|
|
1806
|
+
|
|
1807
|
+
def HasField(self, field_name: typing.Literal['saved_query', b'saved_query']) -> builtins.bool:
|
|
1808
|
+
...
|
|
1809
|
+
|
|
1810
|
+
def ClearField(self, field_name: typing.Literal['saved_query', b'saved_query']) -> None:
|
|
1811
|
+
...
|
|
1812
|
+
global___GetSavedQueryResponse = GetSavedQueryResponse
|
|
1813
|
+
|
|
1814
|
+
@typing.final
|
|
1815
|
+
class UpdateSavedQueryRequest(google.protobuf.message.Message):
|
|
1816
|
+
"""UpdateSavedQuery updates the saved query with the given id."""
|
|
1817
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1818
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1819
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1820
|
+
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
1821
|
+
id: builtins.str
|
|
1822
|
+
name: builtins.str
|
|
1823
|
+
|
|
1824
|
+
@property
|
|
1825
|
+
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1826
|
+
...
|
|
1827
|
+
|
|
1828
|
+
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
|
|
1829
|
+
...
|
|
1830
|
+
|
|
1831
|
+
def ClearField(self, field_name: typing.Literal['id', b'id', 'mql_binary', b'mql_binary', 'name', b'name']) -> None:
|
|
1832
|
+
...
|
|
1833
|
+
global___UpdateSavedQueryRequest = UpdateSavedQueryRequest
|
|
1834
|
+
|
|
1835
|
+
@typing.final
|
|
1836
|
+
class UpdateSavedQueryResponse(google.protobuf.message.Message):
|
|
1837
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1838
|
+
|
|
1839
|
+
def __init__(self) -> None:
|
|
1840
|
+
...
|
|
1841
|
+
global___UpdateSavedQueryResponse = UpdateSavedQueryResponse
|
|
1842
|
+
|
|
1843
|
+
@typing.final
|
|
1844
|
+
class ListSavedQueriesRequest(google.protobuf.message.Message):
|
|
1845
|
+
"""ListSavedQueries lists saved queries for a given organization."""
|
|
1846
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1847
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1848
|
+
LIMIT_FIELD_NUMBER: builtins.int
|
|
1849
|
+
organization_id: builtins.str
|
|
1850
|
+
limit: builtins.int
|
|
1851
|
+
|
|
1852
|
+
def __init__(self, *, organization_id: builtins.str=..., limit: builtins.int=...) -> None:
|
|
1853
|
+
...
|
|
1854
|
+
|
|
1855
|
+
def ClearField(self, field_name: typing.Literal['limit', b'limit', 'organization_id', b'organization_id']) -> None:
|
|
1856
|
+
...
|
|
1857
|
+
global___ListSavedQueriesRequest = ListSavedQueriesRequest
|
|
1858
|
+
|
|
1859
|
+
@typing.final
|
|
1860
|
+
class ListSavedQueriesResponse(google.protobuf.message.Message):
|
|
1861
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1862
|
+
QUERIES_FIELD_NUMBER: builtins.int
|
|
1863
|
+
|
|
1864
|
+
@property
|
|
1865
|
+
def queries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Query]:
|
|
1866
|
+
...
|
|
1867
|
+
|
|
1868
|
+
def __init__(self, *, queries: collections.abc.Iterable[global___Query] | None=...) -> None:
|
|
1869
|
+
...
|
|
1870
|
+
|
|
1871
|
+
def ClearField(self, field_name: typing.Literal['queries', b'queries']) -> None:
|
|
1872
|
+
...
|
|
1873
|
+
global___ListSavedQueriesResponse = ListSavedQueriesResponse
|
|
1874
|
+
|
|
1875
|
+
@typing.final
|
|
1876
|
+
class CreateBinaryDataSignedURLRequest(google.protobuf.message.Message):
|
|
1877
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1878
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
1879
|
+
EXPIRATION_MINUTES_FIELD_NUMBER: builtins.int
|
|
1880
|
+
binary_data_id: builtins.str
|
|
1881
|
+
'The binary data ID of the file to create a signed URL for.'
|
|
1882
|
+
expiration_minutes: builtins.int
|
|
1883
|
+
'Expiration time in minutes. Defaults to 15 minutes if not specified.\n Maximum allowed is 10080 minutes (7 days).\n '
|
|
1884
|
+
|
|
1885
|
+
def __init__(self, *, binary_data_id: builtins.str=..., expiration_minutes: builtins.int | None=...) -> None:
|
|
1886
|
+
...
|
|
1887
|
+
|
|
1888
|
+
def HasField(self, field_name: typing.Literal['_expiration_minutes', b'_expiration_minutes', 'expiration_minutes', b'expiration_minutes']) -> builtins.bool:
|
|
1889
|
+
...
|
|
1890
|
+
|
|
1891
|
+
def ClearField(self, field_name: typing.Literal['_expiration_minutes', b'_expiration_minutes', 'binary_data_id', b'binary_data_id', 'expiration_minutes', b'expiration_minutes']) -> None:
|
|
1892
|
+
...
|
|
1893
|
+
|
|
1894
|
+
def WhichOneof(self, oneof_group: typing.Literal['_expiration_minutes', b'_expiration_minutes']) -> typing.Literal['expiration_minutes'] | None:
|
|
1895
|
+
...
|
|
1896
|
+
global___CreateBinaryDataSignedURLRequest = CreateBinaryDataSignedURLRequest
|
|
1897
|
+
|
|
1898
|
+
@typing.final
|
|
1899
|
+
class CreateBinaryDataSignedURLResponse(google.protobuf.message.Message):
|
|
1900
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1901
|
+
SIGNED_URL_FIELD_NUMBER: builtins.int
|
|
1902
|
+
EXPIRES_AT_FIELD_NUMBER: builtins.int
|
|
1903
|
+
signed_url: builtins.str
|
|
1904
|
+
'The signed URL for the binary data file.'
|
|
1905
|
+
|
|
1906
|
+
@property
|
|
1907
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
1908
|
+
"""Expiration time of the signed URL token."""
|
|
1909
|
+
|
|
1910
|
+
def __init__(self, *, signed_url: builtins.str=..., expires_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
|
|
1911
|
+
...
|
|
1912
|
+
|
|
1913
|
+
def HasField(self, field_name: typing.Literal['expires_at', b'expires_at']) -> builtins.bool:
|
|
1914
|
+
...
|
|
1915
|
+
|
|
1916
|
+
def ClearField(self, field_name: typing.Literal['expires_at', b'expires_at', 'signed_url', b'signed_url']) -> None:
|
|
1917
|
+
...
|
|
1918
|
+
global___CreateBinaryDataSignedURLResponse = CreateBinaryDataSignedURLResponse
|