viam-sdk 0.25.2__py3-none-linux_armv7l.whl → 0.62.0__py3-none-linux_armv7l.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.
- viam/app/_logs.py +3 -6
- viam/app/app_client.py +606 -262
- viam/app/billing_client.py +60 -18
- viam/app/data_client.py +1086 -315
- viam/app/ml_training_client.py +51 -48
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +105 -11
- viam/components/arm/__init__.py +1 -25
- viam/components/arm/arm.py +21 -22
- viam/components/arm/client.py +27 -30
- viam/components/arm/service.py +3 -3
- 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_input/__init__.py +1 -1
- viam/components/audio_input/audio_input.py +4 -3
- viam/components/audio_input/client.py +19 -8
- viam/components/audio_input/service.py +10 -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/__init__.py +2 -10
- viam/components/base/base.py +20 -20
- viam/components/base/client.py +27 -30
- viam/components/board/__init__.py +2 -25
- viam/components/board/board.py +39 -77
- viam/components/board/client.py +39 -73
- 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/__init__.py +1 -1
- viam/components/camera/camera.py +31 -22
- viam/components/camera/client.py +30 -20
- viam/components/camera/service.py +14 -12
- viam/components/component_base.py +10 -7
- viam/components/encoder/__init__.py +1 -1
- viam/components/encoder/client.py +15 -16
- viam/components/encoder/encoder.py +9 -9
- viam/components/gantry/__init__.py +1 -13
- viam/components/gantry/client.py +41 -28
- viam/components/gantry/gantry.py +48 -17
- viam/components/gantry/service.py +21 -5
- viam/components/generic/__init__.py +1 -1
- viam/components/generic/client.py +11 -7
- viam/components/generic/generic.py +3 -3
- viam/components/gripper/__init__.py +3 -12
- viam/components/gripper/client.py +43 -20
- viam/components/gripper/gripper.py +87 -12
- viam/components/gripper/service.py +32 -3
- viam/components/input/__init__.py +1 -14
- viam/components/input/client.py +22 -23
- viam/components/input/input.py +18 -12
- viam/components/motor/__init__.py +1 -21
- viam/components/motor/client.py +36 -42
- viam/components/motor/motor.py +24 -24
- viam/components/movement_sensor/__init__.py +1 -1
- viam/components/movement_sensor/client.py +33 -40
- viam/components/movement_sensor/movement_sensor.py +12 -12
- viam/components/pose_tracker/__init__.py +1 -1
- viam/components/pose_tracker/client.py +9 -8
- viam/components/pose_tracker/pose_tracker.py +2 -2
- viam/components/power_sensor/__init__.py +1 -1
- viam/components/power_sensor/client.py +15 -18
- viam/components/power_sensor/power_sensor.py +12 -12
- viam/components/sensor/__init__.py +1 -1
- viam/components/sensor/client.py +9 -8
- viam/components/sensor/sensor.py +5 -5
- viam/components/servo/__init__.py +1 -13
- viam/components/servo/client.py +18 -18
- viam/components/servo/servo.py +12 -12
- 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 +95 -0
- viam/gen/app/agent/v1/agent_pb2.py +40 -29
- viam/gen/app/agent/v1/agent_pb2.pyi +73 -11
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +45 -42
- viam/gen/app/data/v1/data_grpc.py +98 -2
- viam/gen/app/data/v1/data_pb2.py +238 -119
- viam/gen/app/data/v1/data_pb2.pyi +804 -34
- 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 +38 -31
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_grpc.py +1 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +61 -51
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +52 -12
- viam/gen/app/mlinference/__init__.py +0 -0
- viam/gen/app/mlinference/v1/__init__.py +0 -0
- viam/gen/app/mlinference/v1/ml_inference_grpc.py +28 -0
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +23 -0
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +63 -0
- viam/gen/app/mltraining/v1/ml_training_grpc.py +18 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +134 -101
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +193 -7
- viam/gen/app/packages/v1/packages_pb2.py +43 -40
- viam/gen/app/v1/app_grpc.py +290 -2
- viam/gen/app/v1/app_pb2.py +670 -453
- viam/gen/app/v1/app_pb2.pyi +3133 -947
- viam/gen/app/v1/billing_grpc.py +34 -2
- viam/gen/app/v1/billing_pb2.py +94 -35
- viam/gen/app/v1/billing_pb2.pyi +314 -61
- viam/gen/app/v1/end_user_pb2.py +50 -29
- viam/gen/app/v1/robot_pb2.py +120 -111
- viam/gen/app/v1/robot_pb2.pyi +137 -15
- viam/gen/common/v1/common_pb2.py +86 -66
- viam/gen/common/v1/common_pb2.pyi +184 -8
- viam/gen/component/arm/v1/arm_grpc.py +18 -2
- viam/gen/component/arm/v1/arm_pb2.py +68 -55
- viam/gen/component/arm/v1/arm_pb2.pyi +73 -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 +35 -32
- 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 +57 -54
- viam/gen/component/board/v1/board_pb2.py +93 -90
- viam/gen/component/button/__init__.py +0 -0
- viam/gen/component/button/v1/__init__.py +0 -0
- viam/gen/component/button/v1/button_grpc.py +38 -0
- viam/gen/component/button/v1/button_pb2.py +28 -0
- viam/gen/component/button/v1/button_pb2.pyi +39 -0
- viam/gen/component/camera/v1/camera_pb2.py +58 -55
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -7
- viam/gen/component/encoder/v1/encoder_pb2.py +35 -32
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +56 -51
- viam/gen/component/generic/v1/generic_pb2.py +15 -12
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +48 -37
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +45 -42
- viam/gen/component/motor/v1/motor_pb2.py +77 -74
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +69 -66
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +25 -22
- viam/gen/component/powersensor/v1/powersensor_pb2.py +33 -30
- viam/gen/component/sensor/v1/sensor_pb2.py +17 -14
- viam/gen/component/servo/v1/servo_pb2.py +41 -38
- viam/gen/component/switch/__init__.py +0 -0
- viam/gen/component/switch/v1/__init__.py +0 -0
- viam/gen/component/switch/v1/switch_grpc.py +54 -0
- viam/gen/component/switch/v1/switch_pb2.py +40 -0
- viam/gen/component/switch/v1/switch_pb2.pyi +116 -0
- viam/gen/component/testecho/v1/testecho_pb2.py +29 -26
- viam/gen/module/v1/module_pb2.py +36 -33
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +26 -23
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +23 -20
- viam/gen/proto/rpc/v1/auth_pb2.py +27 -24
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +35 -32
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +62 -57
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.pyi +18 -4
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +38 -31
- viam/gen/provisioning/v1/provisioning_pb2.pyi +20 -2
- viam/gen/robot/v1/robot_grpc.py +61 -29
- viam/gen/robot/v1/robot_pb2.py +186 -155
- viam/gen/robot/v1/robot_pb2.pyi +278 -59
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +27 -17
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/__init__.py +0 -0
- viam/gen/service/discovery/v1/__init__.py +0 -0
- viam/gen/service/discovery/v1/discovery_grpc.py +39 -0
- viam/gen/service/discovery/v1/discovery_pb2.py +29 -0
- viam/gen/service/discovery/v1/discovery_pb2.pyi +51 -0
- viam/gen/service/generic/v1/generic_pb2.py +13 -10
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +75 -72
- viam/gen/service/motion/v1/motion_pb2.py +118 -85
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +75 -72
- viam/gen/service/sensors/v1/sensors_pb2.py +59 -56
- viam/gen/service/shell/v1/shell_pb2.py +35 -32
- viam/gen/service/slam/v1/slam_pb2.py +43 -40
- 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 +60 -57
- 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_grpc.py +17 -1
- viam/gen/stream/v1/stream_pb2.py +34 -21
- viam/gen/stream/v1/stream_pb2.pyi +79 -1
- viam/gen/tagger/v1/tagger_pb2.py +9 -8
- viam/logging.py +77 -18
- viam/media/audio.py +28 -0
- viam/media/utils/pil/__init__.py +7 -3
- viam/media/video.py +80 -17
- viam/module/module.py +111 -38
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/module/types.py +2 -4
- viam/proto/app/__init__.py +199 -0
- viam/proto/app/agent/__init__.py +5 -2
- viam/proto/app/billing.py +31 -4
- viam/proto/app/cloudslam/__init__.py +1 -0
- viam/proto/app/data/__init__.py +63 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +5 -0
- viam/proto/app/datasync/__init__.py +3 -0
- viam/proto/app/end_user.py +1 -0
- viam/proto/app/mlinference/__init__.py +15 -0
- viam/proto/app/mltraining/__init__.py +13 -0
- viam/proto/app/packages/__init__.py +1 -0
- viam/proto/app/robot.py +7 -0
- viam/proto/common/__init__.py +15 -0
- viam/proto/component/arm/__init__.py +7 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioinput/__init__.py +1 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/base/__init__.py +1 -0
- viam/proto/component/board/__init__.py +1 -0
- viam/proto/component/button/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +1 -0
- viam/proto/component/encoder/__init__.py +1 -0
- viam/proto/component/gantry/__init__.py +1 -0
- viam/proto/component/generic/__init__.py +1 -0
- viam/proto/component/gripper/__init__.py +5 -0
- viam/proto/component/inputcontroller/__init__.py +1 -0
- viam/proto/component/motor/__init__.py +1 -0
- viam/proto/component/movementsensor/__init__.py +1 -0
- viam/proto/component/posetracker/__init__.py +1 -0
- viam/proto/component/powersensor/__init__.py +1 -0
- viam/proto/component/sensor/__init__.py +1 -0
- viam/proto/component/servo/__init__.py +1 -0
- viam/proto/component/switch/__init__.py +26 -0
- viam/proto/component/testecho/__init__.py +1 -0
- viam/proto/module/__init__.py +1 -0
- viam/proto/provisioning/__init__.py +5 -0
- viam/proto/robot/__init__.py +29 -8
- viam/proto/rpc/auth.py +1 -0
- viam/proto/rpc/examples/echo/__init__.py +1 -0
- viam/proto/rpc/examples/echoresource/__init__.py +1 -0
- viam/proto/rpc/webrtc/grpc.py +1 -0
- viam/proto/rpc/webrtc/signaling.py +3 -0
- viam/proto/service/datamanager/__init__.py +9 -1
- viam/proto/service/discovery/__init__.py +15 -0
- viam/proto/service/generic/__init__.py +1 -0
- viam/proto/service/mlmodel/__init__.py +1 -0
- viam/proto/service/motion/__init__.py +3 -0
- viam/proto/service/navigation/__init__.py +1 -0
- viam/proto/service/sensors/__init__.py +1 -0
- viam/proto/service/shell/__init__.py +1 -0
- viam/proto/service/slam/__init__.py +1 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/vision/__init__.py +1 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/proto/stream/__init__.py +11 -0
- viam/py.typed +0 -0
- viam/resource/base.py +12 -8
- viam/resource/easy_resource.py +24 -13
- viam/resource/manager.py +6 -5
- viam/resource/registry.py +39 -51
- viam/resource/rpc_client_base.py +33 -1
- viam/resource/types.py +13 -14
- viam/robot/client.py +190 -122
- viam/robot/service.py +2 -50
- viam/rpc/dial.py +54 -4
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +25 -11
- viam/rpc/types.py +2 -4
- viam/services/discovery/__init__.py +12 -0
- viam/services/discovery/client.py +55 -0
- viam/services/discovery/discovery.py +52 -0
- viam/services/discovery/service.py +43 -0
- viam/services/generic/__init__.py +1 -1
- viam/services/generic/client.py +8 -5
- viam/services/generic/generic.py +2 -2
- viam/services/mlmodel/__init__.py +1 -1
- viam/services/mlmodel/client.py +17 -7
- viam/services/mlmodel/mlmodel.py +23 -12
- viam/services/mlmodel/service.py +5 -2
- viam/services/mlmodel/utils.py +11 -1
- viam/services/motion/__init__.py +2 -2
- viam/services/motion/client.py +32 -32
- viam/services/motion/motion.py +66 -62
- viam/services/navigation/__init__.py +1 -1
- viam/services/navigation/client.py +30 -20
- viam/services/navigation/navigation.py +23 -23
- viam/services/service_base.py +13 -9
- viam/services/service_client_base.py +3 -3
- viam/services/slam/__init__.py +1 -1
- viam/services/slam/client.py +15 -10
- viam/services/slam/slam.py +11 -11
- viam/services/vision/__init__.py +1 -1
- viam/services/vision/client.py +31 -24
- viam/services/vision/service.py +8 -8
- viam/services/vision/vision.py +36 -53
- 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/streams.py +3 -6
- viam/utils.py +44 -14
- viam/version_metadata.py +4 -0
- {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/METADATA +27 -28
- viam_sdk-0.62.0.dist-info/RECORD +514 -0
- {viam_sdk-0.25.2.dist-info → viam_sdk-0.62.0.dist-info}/WHEEL +1 -1
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_grpc.py +0 -27
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.py +0 -18
- viam/gen/proto/rpc/examples/fileupload/v1/fileupload_pb2.pyi +0 -45
- viam/proto/rpc/examples/fileupload/__init__.py +0 -18
- viam/services/sensors/__init__.py +0 -5
- viam/services/sensors/client.py +0 -65
- viam_sdk-0.25.2.dist-info/LICENSE +0 -202
- viam_sdk-0.25.2.dist-info/RECORD +0 -442
- /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/__init__.py +0 -0
- /viam/gen/{proto/rpc/examples/fileupload → app/datapipelines}/v1/__init__.py +0 -0
- /LICENSE → /viam_sdk-0.62.0.dist-info/licenses/LICENSE +0 -0
viam/gen/app/v1/robot_pb2.pyi
CHANGED
|
@@ -58,6 +58,9 @@ class RobotConfig(google.protobuf.message.Message):
|
|
|
58
58
|
ENABLE_WEB_PROFILE_FIELD_NUMBER: builtins.int
|
|
59
59
|
LOG_FIELD_NUMBER: builtins.int
|
|
60
60
|
REVISION_FIELD_NUMBER: builtins.int
|
|
61
|
+
MAINTENANCE_FIELD_NUMBER: builtins.int
|
|
62
|
+
DISABLE_LOG_DEDUPLICATION_FIELD_NUMBER: builtins.int
|
|
63
|
+
JOBS_FIELD_NUMBER: builtins.int
|
|
61
64
|
debug: builtins.bool
|
|
62
65
|
'Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart'
|
|
63
66
|
disable_partial_start: builtins.bool
|
|
@@ -65,6 +68,8 @@ class RobotConfig(google.protobuf.message.Message):
|
|
|
65
68
|
'Turns on pprof http server on localhost. By default false.'
|
|
66
69
|
revision: builtins.str
|
|
67
70
|
'Attributes a particular revision to the config.'
|
|
71
|
+
disable_log_deduplication: builtins.bool
|
|
72
|
+
"Disables the robot's log deduplication (identical, noisy logs will still\n be output individually instead of aggregated.)\n "
|
|
68
73
|
|
|
69
74
|
@property
|
|
70
75
|
def cloud(self) -> global___CloudConfig:
|
|
@@ -110,13 +115,21 @@ class RobotConfig(google.protobuf.message.Message):
|
|
|
110
115
|
def log(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogPatternConfig]:
|
|
111
116
|
...
|
|
112
117
|
|
|
113
|
-
|
|
118
|
+
@property
|
|
119
|
+
def maintenance(self) -> global___MaintenanceConfig:
|
|
120
|
+
...
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def jobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___JobConfig]:
|
|
114
124
|
...
|
|
115
125
|
|
|
116
|
-
def
|
|
126
|
+
def __init__(self, *, cloud: global___CloudConfig | None=..., remotes: collections.abc.Iterable[global___RemoteConfig] | None=..., components: collections.abc.Iterable[global___ComponentConfig] | None=..., processes: collections.abc.Iterable[global___ProcessConfig] | None=..., services: collections.abc.Iterable[global___ServiceConfig] | None=..., network: global___NetworkConfig | None=..., auth: global___AuthConfig | None=..., debug: builtins.bool | None=..., modules: collections.abc.Iterable[global___ModuleConfig] | None=..., disable_partial_start: builtins.bool | None=..., packages: collections.abc.Iterable[global___PackageConfig] | None=..., overwrite_fragment_status: collections.abc.Iterable[global___AppValidationStatus] | None=..., enable_web_profile: builtins.bool=..., log: collections.abc.Iterable[global___LogPatternConfig] | None=..., revision: builtins.str=..., maintenance: global___MaintenanceConfig | None=..., disable_log_deduplication: builtins.bool=..., jobs: collections.abc.Iterable[global___JobConfig] | None=...) -> None:
|
|
117
127
|
...
|
|
118
128
|
|
|
119
|
-
def
|
|
129
|
+
def HasField(self, field_name: typing.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_maintenance', b'_maintenance', '_network', b'_network', 'auth', b'auth', 'cloud', b'cloud', 'debug', b'debug', 'disable_partial_start', b'disable_partial_start', 'maintenance', b'maintenance', 'network', b'network']) -> builtins.bool:
|
|
130
|
+
...
|
|
131
|
+
|
|
132
|
+
def ClearField(self, field_name: typing.Literal['_auth', b'_auth', '_debug', b'_debug', '_disable_partial_start', b'_disable_partial_start', '_maintenance', b'_maintenance', '_network', b'_network', 'auth', b'auth', 'cloud', b'cloud', 'components', b'components', 'debug', b'debug', 'disable_log_deduplication', b'disable_log_deduplication', 'disable_partial_start', b'disable_partial_start', 'enable_web_profile', b'enable_web_profile', 'jobs', b'jobs', 'log', b'log', 'maintenance', b'maintenance', 'modules', b'modules', 'network', b'network', 'overwrite_fragment_status', b'overwrite_fragment_status', 'packages', b'packages', 'processes', b'processes', 'remotes', b'remotes', 'revision', b'revision', 'services', b'services']) -> None:
|
|
120
133
|
...
|
|
121
134
|
|
|
122
135
|
@typing.overload
|
|
@@ -131,6 +144,10 @@ class RobotConfig(google.protobuf.message.Message):
|
|
|
131
144
|
def WhichOneof(self, oneof_group: typing.Literal['_disable_partial_start', b'_disable_partial_start']) -> typing.Literal['disable_partial_start'] | None:
|
|
132
145
|
...
|
|
133
146
|
|
|
147
|
+
@typing.overload
|
|
148
|
+
def WhichOneof(self, oneof_group: typing.Literal['_maintenance', b'_maintenance']) -> typing.Literal['maintenance'] | None:
|
|
149
|
+
...
|
|
150
|
+
|
|
134
151
|
@typing.overload
|
|
135
152
|
def WhichOneof(self, oneof_group: typing.Literal['_network', b'_network']) -> typing.Literal['network'] | None:
|
|
136
153
|
...
|
|
@@ -154,6 +171,44 @@ class LogPatternConfig(google.protobuf.message.Message):
|
|
|
154
171
|
...
|
|
155
172
|
global___LogPatternConfig = LogPatternConfig
|
|
156
173
|
|
|
174
|
+
@typing.final
|
|
175
|
+
class JobConfig(google.protobuf.message.Message):
|
|
176
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
177
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
178
|
+
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
179
|
+
RESOURCE_FIELD_NUMBER: builtins.int
|
|
180
|
+
METHOD_FIELD_NUMBER: builtins.int
|
|
181
|
+
COMMAND_FIELD_NUMBER: builtins.int
|
|
182
|
+
LOG_CONFIGURATION_FIELD_NUMBER: builtins.int
|
|
183
|
+
name: builtins.str
|
|
184
|
+
'unique name of the job.'
|
|
185
|
+
schedule: builtins.str
|
|
186
|
+
'a unix-cron string or a Golang-parsable duration string,\n specifies the interval at which the job is run.\n '
|
|
187
|
+
resource: builtins.str
|
|
188
|
+
'the resource associated with this job.'
|
|
189
|
+
method: builtins.str
|
|
190
|
+
"the gRPC request of this job's resource."
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def command(self) -> google.protobuf.struct_pb2.Struct:
|
|
194
|
+
"""in case method is "DoCommand", specifies the
|
|
195
|
+
command argument of the gRPC request.
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
def log_configuration(self) -> global___LogConfiguration:
|
|
200
|
+
"""configuration for this job's logger."""
|
|
201
|
+
|
|
202
|
+
def __init__(self, *, name: builtins.str=..., schedule: builtins.str=..., resource: builtins.str=..., method: builtins.str=..., command: google.protobuf.struct_pb2.Struct | None=..., log_configuration: global___LogConfiguration | None=...) -> None:
|
|
203
|
+
...
|
|
204
|
+
|
|
205
|
+
def HasField(self, field_name: typing.Literal['command', b'command', 'log_configuration', b'log_configuration']) -> builtins.bool:
|
|
206
|
+
...
|
|
207
|
+
|
|
208
|
+
def ClearField(self, field_name: typing.Literal['command', b'command', 'log_configuration', b'log_configuration', 'method', b'method', 'name', b'name', 'resource', b'resource', 'schedule', b'schedule']) -> None:
|
|
209
|
+
...
|
|
210
|
+
global___JobConfig = JobConfig
|
|
211
|
+
|
|
157
212
|
@typing.final
|
|
158
213
|
class LocationSecret(google.protobuf.message.Message):
|
|
159
214
|
"""Valid location secret that can be used for authentication to the robot."""
|
|
@@ -325,12 +380,14 @@ class ProcessConfig(google.protobuf.message.Message):
|
|
|
325
380
|
STOP_SIGNAL_FIELD_NUMBER: builtins.int
|
|
326
381
|
STOP_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
327
382
|
ENV_FIELD_NUMBER: builtins.int
|
|
383
|
+
USERNAME_FIELD_NUMBER: builtins.int
|
|
328
384
|
id: builtins.str
|
|
329
385
|
name: builtins.str
|
|
330
386
|
cwd: builtins.str
|
|
331
387
|
one_shot: builtins.bool
|
|
332
388
|
log: builtins.bool
|
|
333
389
|
stop_signal: builtins.int
|
|
390
|
+
username: builtins.str
|
|
334
391
|
|
|
335
392
|
@property
|
|
336
393
|
def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
@@ -344,13 +401,13 @@ class ProcessConfig(google.protobuf.message.Message):
|
|
|
344
401
|
def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
345
402
|
"""additional environment variables passed to the process"""
|
|
346
403
|
|
|
347
|
-
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=...) -> None:
|
|
404
|
+
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., username: builtins.str=...) -> None:
|
|
348
405
|
...
|
|
349
406
|
|
|
350
407
|
def HasField(self, field_name: typing.Literal['stop_timeout', b'stop_timeout']) -> builtins.bool:
|
|
351
408
|
...
|
|
352
409
|
|
|
353
|
-
def ClearField(self, field_name: typing.Literal['args', b'args', 'cwd', b'cwd', 'env', b'env', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout']) -> None:
|
|
410
|
+
def ClearField(self, field_name: typing.Literal['args', b'args', 'cwd', b'cwd', 'env', b'env', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout', 'username', b'username']) -> None:
|
|
354
411
|
...
|
|
355
412
|
global___ProcessConfig = ProcessConfig
|
|
356
413
|
|
|
@@ -408,22 +465,29 @@ class NetworkConfig(google.protobuf.message.Message):
|
|
|
408
465
|
TLS_CERT_FILE_FIELD_NUMBER: builtins.int
|
|
409
466
|
TLS_KEY_FILE_FIELD_NUMBER: builtins.int
|
|
410
467
|
SESSIONS_FIELD_NUMBER: builtins.int
|
|
468
|
+
TRAFFIC_TUNNEL_ENDPOINTS_FIELD_NUMBER: builtins.int
|
|
469
|
+
NO_TLS_FIELD_NUMBER: builtins.int
|
|
411
470
|
fqdn: builtins.str
|
|
412
471
|
bind_address: builtins.str
|
|
413
472
|
tls_cert_file: builtins.str
|
|
414
473
|
tls_key_file: builtins.str
|
|
474
|
+
no_tls: builtins.bool
|
|
415
475
|
|
|
416
476
|
@property
|
|
417
477
|
def sessions(self) -> global___SessionsConfig:
|
|
418
478
|
...
|
|
419
479
|
|
|
420
|
-
|
|
480
|
+
@property
|
|
481
|
+
def traffic_tunnel_endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TrafficTunnelEndpoint]:
|
|
482
|
+
...
|
|
483
|
+
|
|
484
|
+
def __init__(self, *, fqdn: builtins.str=..., bind_address: builtins.str=..., tls_cert_file: builtins.str=..., tls_key_file: builtins.str=..., sessions: global___SessionsConfig | None=..., traffic_tunnel_endpoints: collections.abc.Iterable[global___TrafficTunnelEndpoint] | None=..., no_tls: builtins.bool=...) -> None:
|
|
421
485
|
...
|
|
422
486
|
|
|
423
487
|
def HasField(self, field_name: typing.Literal['sessions', b'sessions']) -> builtins.bool:
|
|
424
488
|
...
|
|
425
489
|
|
|
426
|
-
def ClearField(self, field_name: typing.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'sessions', b'sessions', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file']) -> None:
|
|
490
|
+
def ClearField(self, field_name: typing.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'no_tls', b'no_tls', 'sessions', b'sessions', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file', 'traffic_tunnel_endpoints', b'traffic_tunnel_endpoints']) -> None:
|
|
427
491
|
...
|
|
428
492
|
global___NetworkConfig = NetworkConfig
|
|
429
493
|
|
|
@@ -446,6 +510,27 @@ class SessionsConfig(google.protobuf.message.Message):
|
|
|
446
510
|
...
|
|
447
511
|
global___SessionsConfig = SessionsConfig
|
|
448
512
|
|
|
513
|
+
@typing.final
|
|
514
|
+
class TrafficTunnelEndpoint(google.protobuf.message.Message):
|
|
515
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
516
|
+
PORT_FIELD_NUMBER: builtins.int
|
|
517
|
+
CONNECTION_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
518
|
+
port: builtins.int
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
def connection_timeout(self) -> google.protobuf.duration_pb2.Duration:
|
|
522
|
+
...
|
|
523
|
+
|
|
524
|
+
def __init__(self, *, port: builtins.int=..., connection_timeout: google.protobuf.duration_pb2.Duration | None=...) -> None:
|
|
525
|
+
...
|
|
526
|
+
|
|
527
|
+
def HasField(self, field_name: typing.Literal['connection_timeout', b'connection_timeout']) -> builtins.bool:
|
|
528
|
+
...
|
|
529
|
+
|
|
530
|
+
def ClearField(self, field_name: typing.Literal['connection_timeout', b'connection_timeout', 'port', b'port']) -> None:
|
|
531
|
+
...
|
|
532
|
+
global___TrafficTunnelEndpoint = TrafficTunnelEndpoint
|
|
533
|
+
|
|
449
534
|
@typing.final
|
|
450
535
|
class AuthConfig(google.protobuf.message.Message):
|
|
451
536
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -788,12 +873,15 @@ class RemoteConfig(google.protobuf.message.Message):
|
|
|
788
873
|
RECONNECT_INTERVAL_FIELD_NUMBER: builtins.int
|
|
789
874
|
SERVICE_CONFIGS_FIELD_NUMBER: builtins.int
|
|
790
875
|
SECRET_FIELD_NUMBER: builtins.int
|
|
876
|
+
PREFIX_FIELD_NUMBER: builtins.int
|
|
791
877
|
name: builtins.str
|
|
792
878
|
address: builtins.str
|
|
793
879
|
managed_by: builtins.str
|
|
794
880
|
insecure: builtins.bool
|
|
795
881
|
secret: builtins.str
|
|
796
882
|
'Secret is a helper for a robot location secret.'
|
|
883
|
+
prefix: builtins.str
|
|
884
|
+
'A string with which to prefix all resource names fetched from this remote.'
|
|
797
885
|
|
|
798
886
|
@property
|
|
799
887
|
def frame(self) -> global___Frame:
|
|
@@ -815,13 +903,13 @@ class RemoteConfig(google.protobuf.message.Message):
|
|
|
815
903
|
def service_configs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResourceLevelServiceConfig]:
|
|
816
904
|
...
|
|
817
905
|
|
|
818
|
-
def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=...) -> None:
|
|
906
|
+
def __init__(self, *, name: builtins.str=..., address: builtins.str=..., frame: global___Frame | None=..., auth: global___RemoteAuth | None=..., managed_by: builtins.str=..., insecure: builtins.bool=..., connection_check_interval: google.protobuf.duration_pb2.Duration | None=..., reconnect_interval: google.protobuf.duration_pb2.Duration | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., secret: builtins.str=..., prefix: builtins.str=...) -> None:
|
|
819
907
|
...
|
|
820
908
|
|
|
821
909
|
def HasField(self, field_name: typing.Literal['auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'reconnect_interval', b'reconnect_interval']) -> builtins.bool:
|
|
822
910
|
...
|
|
823
911
|
|
|
824
|
-
def ClearField(self, field_name: typing.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
|
|
912
|
+
def ClearField(self, field_name: typing.Literal['address', b'address', 'auth', b'auth', 'connection_check_interval', b'connection_check_interval', 'frame', b'frame', 'insecure', b'insecure', 'managed_by', b'managed_by', 'name', b'name', 'prefix', b'prefix', 'reconnect_interval', b'reconnect_interval', 'secret', b'secret', 'service_configs', b'service_configs']) -> None:
|
|
825
913
|
...
|
|
826
914
|
global___RemoteConfig = RemoteConfig
|
|
827
915
|
|
|
@@ -876,6 +964,7 @@ class AgentInfo(google.protobuf.message.Message):
|
|
|
876
964
|
VERSION_FIELD_NUMBER: builtins.int
|
|
877
965
|
GIT_REVISION_FIELD_NUMBER: builtins.int
|
|
878
966
|
PLATFORM_FIELD_NUMBER: builtins.int
|
|
967
|
+
PLATFORM_TAGS_FIELD_NUMBER: builtins.int
|
|
879
968
|
host: builtins.str
|
|
880
969
|
os: builtins.str
|
|
881
970
|
'Will soon be deprecated, use platform instead'
|
|
@@ -889,13 +978,17 @@ class AgentInfo(google.protobuf.message.Message):
|
|
|
889
978
|
def ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
890
979
|
"""list of all ipv4 ips."""
|
|
891
980
|
|
|
892
|
-
|
|
981
|
+
@property
|
|
982
|
+
def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
983
|
+
"""Optional tags to further constrain which artifact is returned for modules."""
|
|
984
|
+
|
|
985
|
+
def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
893
986
|
...
|
|
894
987
|
|
|
895
988
|
def HasField(self, field_name: typing.Literal['_platform', b'_platform', 'platform', b'platform']) -> builtins.bool:
|
|
896
989
|
...
|
|
897
990
|
|
|
898
|
-
def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'version', b'version']) -> None:
|
|
991
|
+
def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
|
|
899
992
|
...
|
|
900
993
|
|
|
901
994
|
def WhichOneof(self, oneof_group: typing.Literal['_platform', b'_platform']) -> typing.Literal['platform'] | None:
|
|
@@ -1068,6 +1161,8 @@ class ModuleConfig(google.protobuf.message.Message):
|
|
|
1068
1161
|
MODULE_ID_FIELD_NUMBER: builtins.int
|
|
1069
1162
|
ENV_FIELD_NUMBER: builtins.int
|
|
1070
1163
|
STATUS_FIELD_NUMBER: builtins.int
|
|
1164
|
+
FIRST_RUN_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
1165
|
+
TCP_MODE_FIELD_NUMBER: builtins.int
|
|
1071
1166
|
name: builtins.str
|
|
1072
1167
|
path: builtins.str
|
|
1073
1168
|
'path to the executable'
|
|
@@ -1077,6 +1172,8 @@ class ModuleConfig(google.protobuf.message.Message):
|
|
|
1077
1172
|
'type of the module ("local" or "registry")'
|
|
1078
1173
|
module_id: builtins.str
|
|
1079
1174
|
'the id of the module if it is a registry module'
|
|
1175
|
+
tcp_mode: builtins.bool
|
|
1176
|
+
'whether we are starting a module in TCP mode'
|
|
1080
1177
|
|
|
1081
1178
|
@property
|
|
1082
1179
|
def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
@@ -1086,13 +1183,17 @@ class ModuleConfig(google.protobuf.message.Message):
|
|
|
1086
1183
|
def status(self) -> global___AppValidationStatus:
|
|
1087
1184
|
"""info about the validity of the module"""
|
|
1088
1185
|
|
|
1089
|
-
|
|
1186
|
+
@property
|
|
1187
|
+
def first_run_timeout(self) -> google.protobuf.duration_pb2.Duration:
|
|
1188
|
+
"""timeout for first_run script"""
|
|
1189
|
+
|
|
1190
|
+
def __init__(self, *, name: builtins.str=..., path: builtins.str=..., log_level: builtins.str=..., type: builtins.str=..., module_id: builtins.str=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., status: global___AppValidationStatus | None=..., first_run_timeout: google.protobuf.duration_pb2.Duration | None=..., tcp_mode: builtins.bool=...) -> None:
|
|
1090
1191
|
...
|
|
1091
1192
|
|
|
1092
|
-
def HasField(self, field_name: typing.Literal['status', b'status']) -> builtins.bool:
|
|
1193
|
+
def HasField(self, field_name: typing.Literal['first_run_timeout', b'first_run_timeout', 'status', b'status']) -> builtins.bool:
|
|
1093
1194
|
...
|
|
1094
1195
|
|
|
1095
|
-
def ClearField(self, field_name: typing.Literal['env', b'env', 'log_level', b'log_level', 'module_id', b'module_id', 'name', b'name', 'path', b'path', 'status', b'status', 'type', b'type']) -> None:
|
|
1196
|
+
def ClearField(self, field_name: typing.Literal['env', b'env', 'first_run_timeout', b'first_run_timeout', 'log_level', b'log_level', 'module_id', b'module_id', 'name', b'name', 'path', b'path', 'status', b'status', 'tcp_mode', b'tcp_mode', 'type', b'type']) -> None:
|
|
1096
1197
|
...
|
|
1097
1198
|
global___ModuleConfig = ModuleConfig
|
|
1098
1199
|
|
|
@@ -1126,4 +1227,25 @@ class PackageConfig(google.protobuf.message.Message):
|
|
|
1126
1227
|
|
|
1127
1228
|
def ClearField(self, field_name: typing.Literal['name', b'name', 'package', b'package', 'status', b'status', 'type', b'type', 'version', b'version']) -> None:
|
|
1128
1229
|
...
|
|
1129
|
-
global___PackageConfig = PackageConfig
|
|
1230
|
+
global___PackageConfig = PackageConfig
|
|
1231
|
+
|
|
1232
|
+
@typing.final
|
|
1233
|
+
class MaintenanceConfig(google.protobuf.message.Message):
|
|
1234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1235
|
+
SENSOR_NAME_FIELD_NUMBER: builtins.int
|
|
1236
|
+
MAINTENANCE_ALLOWED_KEY_FIELD_NUMBER: builtins.int
|
|
1237
|
+
maintenance_allowed_key: builtins.str
|
|
1238
|
+
|
|
1239
|
+
@property
|
|
1240
|
+
def sensor_name(self) -> common.v1.common_pb2.ResourceName:
|
|
1241
|
+
...
|
|
1242
|
+
|
|
1243
|
+
def __init__(self, *, sensor_name: common.v1.common_pb2.ResourceName | None=..., maintenance_allowed_key: builtins.str=...) -> None:
|
|
1244
|
+
...
|
|
1245
|
+
|
|
1246
|
+
def HasField(self, field_name: typing.Literal['sensor_name', b'sensor_name']) -> builtins.bool:
|
|
1247
|
+
...
|
|
1248
|
+
|
|
1249
|
+
def ClearField(self, field_name: typing.Literal['maintenance_allowed_key', b'maintenance_allowed_key', 'sensor_name', b'sensor_name']) -> None:
|
|
1250
|
+
...
|
|
1251
|
+
global___MaintenanceConfig = MaintenanceConfig
|
viam/gen/common/v1/common_pb2.py
CHANGED
|
@@ -1,74 +1,94 @@
|
|
|
1
1
|
"""Generated protocol buffer code."""
|
|
2
|
-
from google.protobuf.internal import builder as _builder
|
|
3
2
|
from google.protobuf import descriptor as _descriptor
|
|
4
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
|
+
from google.protobuf.internal import builder as _builder
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'common/v1/common.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
8
10
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
9
11
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
10
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16common/v1/common.proto\x12\x0eviam.common.v1\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"n\n\x0cResourceName\x12\x1c\n\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x18\n\x07subtype\x18\x03 \x01(\tR\x07subtype\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name"y\n\x04Pose\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z\x12\x0f\n\x03o_x\x18\x04 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x05 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x06 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x07 \x01(\x01R\x05theta"V\n\x0bOrientation\x12\x0f\n\x03o_x\x18\x01 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x02 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x03 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x04 \x01(\x01R\x05theta"`\n\x0bPoseInFrame\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x12(\n\x04pose\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"3\n\x07Vector3\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"%\n\x06Sphere\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm"C\n\x07Capsule\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm\x12\x1b\n\tlength_mm\x18\x02 \x01(\x01R\x08lengthMm"D\n\x10RectangularPrism\x120\n\x07dims_mm\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x06dimsMm"\
|
|
11
|
-
|
|
12
|
-
_builder.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
DESCRIPTOR.
|
|
16
|
-
DESCRIPTOR._serialized_options = b'\n\x12com.viam.common.v1Z\x19go.viam.com/api/common/v1'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16common/v1/common.proto\x12\x0eviam.common.v1\x1a google/protobuf/descriptor.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"n\n\x0cResourceName\x12\x1c\n\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x18\n\x07subtype\x18\x03 \x01(\tR\x07subtype\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name"y\n\x04Pose\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z\x12\x0f\n\x03o_x\x18\x04 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x05 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x06 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x07 \x01(\x01R\x05theta"V\n\x0bOrientation\x12\x0f\n\x03o_x\x18\x01 \x01(\x01R\x02oX\x12\x0f\n\x03o_y\x18\x02 \x01(\x01R\x02oY\x12\x0f\n\x03o_z\x18\x03 \x01(\x01R\x02oZ\x12\x14\n\x05theta\x18\x04 \x01(\x01R\x05theta"`\n\x0bPoseInFrame\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x12(\n\x04pose\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"3\n\x07Vector3\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"%\n\x06Sphere\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm"C\n\x07Capsule\x12\x1b\n\tradius_mm\x18\x01 \x01(\x01R\x08radiusMm\x12\x1b\n\tlength_mm\x18\x02 \x01(\x01R\x08lengthMm"D\n\x10RectangularPrism\x120\n\x07dims_mm\x18\x01 \x01(\x0b2\x17.viam.common.v1.Vector3R\x06dimsMm"=\n\x04Mesh\x12!\n\x0ccontent_type\x18\x01 \x01(\tR\x0bcontentType\x12\x12\n\x04mesh\x18\x02 \x01(\x0cR\x04mesh"-\n\nPointCloud\x12\x1f\n\x0bpoint_cloud\x18\x01 \x01(\x0cR\npointCloud"\xe6\x02\n\x08Geometry\x12,\n\x06center\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x06center\x120\n\x06sphere\x18\x02 \x01(\x0b2\x16.viam.common.v1.SphereH\x00R\x06sphere\x124\n\x03box\x18\x03 \x01(\x0b2 .viam.common.v1.RectangularPrismH\x00R\x03box\x123\n\x07capsule\x18\x05 \x01(\x0b2\x17.viam.common.v1.CapsuleH\x00R\x07capsule\x12*\n\x04mesh\x18\x06 \x01(\x0b2\x14.viam.common.v1.MeshH\x00R\x04mesh\x12<\n\npointcloud\x18\x07 \x01(\x0b2\x1a.viam.common.v1.PointCloudH\x00R\npointcloud\x12\x14\n\x05label\x18\x04 \x01(\tR\x05labelB\x0f\n\rgeometry_type"v\n\x11GeometriesInFrame\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x128\n\ngeometries\x18\x02 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"v\n\x10PointCloudObject\x12\x1f\n\x0bpoint_cloud\x18\x01 \x01(\x0cR\npointCloud\x12A\n\ngeometries\x18\x02 \x01(\x0b2!.viam.common.v1.GeometriesInFrameR\ngeometries"D\n\x08GeoPoint\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude"}\n\x0bGeoGeometry\x124\n\x08location\x18\x01 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x08location\x128\n\ngeometries\x18\x02 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"\xbd\x02\n\tTransform\x12\'\n\x0freference_frame\x18\x01 \x01(\tR\x0ereferenceFrame\x12P\n\x16pose_in_observer_frame\x18\x02 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x13poseInObserverFrame\x12F\n\x0fphysical_object\x18\x03 \x01(\x0b2\x18.viam.common.v1.GeometryH\x00R\x0ephysicalObject\x88\x01\x01\x12\x12\n\x04uuid\x18\x04 \x01(\x0cR\x04uuid\x128\n\x08metadata\x18\x05 \x01(\x0b2\x17.google.protobuf.StructH\x01R\x08metadata\x88\x01\x01B\x12\n\x10_physical_objectB\x0b\n\t_metadata"\x88\x01\n\nWorldState\x12?\n\tobstacles\x18\x01 \x03(\x0b2!.viam.common.v1.GeometriesInFrameR\tobstacles\x129\n\ntransforms\x18\x03 \x03(\x0b2\x19.viam.common.v1.TransformR\ntransforms"-\n\x0eActuatorStatus\x12\x1b\n\tis_moving\x18\x01 \x01(\x08R\x08isMoving"d\n\x10ResponseMetadata\x12@\n\x0bcaptured_at\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\ncapturedAt\x88\x01\x01B\x0e\n\x0c_captured_at"Y\n\x10DoCommandRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x121\n\x07command\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x07command"D\n\x11DoCommandResponse\x12/\n\x06result\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x06result"Y\n\x14GetKinematicsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"~\n\x15GetKinematicsResponse\x12<\n\x06format\x18\x01 \x01(\x0e2$.viam.common.v1.KinematicsFileFormatR\x06format\x12\'\n\x0fkinematics_data\x18\x02 \x01(\x0cR\x0ekinematicsData"Y\n\x14GetGeometriesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"Q\n\x15GetGeometriesResponse\x128\n\ngeometries\x18\x01 \x03(\x0b2\x18.viam.common.v1.GeometryR\ngeometries"W\n\x12Get3DModelsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xaf\x01\n\x13Get3DModelsResponse\x12G\n\x06models\x18\x01 \x03(\x0b2/.viam.common.v1.Get3DModelsResponse.ModelsEntryR\x06models\x1aO\n\x0bModelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.viam.common.v1.MeshR\x05value:\x028\x01"W\n\x12GetReadingsRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\xb9\x01\n\x13GetReadingsResponse\x12M\n\x08readings\x18\x01 \x03(\x0b21.viam.common.v1.GetReadingsResponse.ReadingsEntryR\x08readings\x1aS\n\rReadingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b2\x16.google.protobuf.ValueR\x05value:\x028\x01"\x97\x02\n\x08LogEntry\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level\x12.\n\x04time\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x1f\n\x0blogger_name\x18\x04 \x01(\tR\nloggerName\x12\x18\n\x07message\x18\x05 \x01(\tR\x07message\x12/\n\x06caller\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x06caller\x12\x14\n\x05stack\x18\x07 \x01(\tR\x05stack\x12/\n\x06fields\x18\x08 \x03(\x0b2\x17.google.protobuf.StructR\x06fields"j\n\tAudioInfo\x12\x14\n\x05codec\x18\x01 \x01(\tR\x05codec\x12$\n\x0esample_rate_hz\x18\x02 \x01(\x05R\x0csampleRateHz\x12!\n\x0cnum_channels\x18\x03 \x01(\x05R\x0bnumChannels"Y\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x8b\x01\n\x15GetPropertiesResponse\x12)\n\x10supported_codecs\x18\x01 \x03(\tR\x0fsupportedCodecs\x12$\n\x0esample_rate_hz\x18\x02 \x01(\x05R\x0csampleRateHz\x12!\n\x0cnum_channels\x18\x03 \x01(\x05R\x0bnumChannels*\x7f\n\x14KinematicsFileFormat\x12&\n"KINEMATICS_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x1e\n\x1aKINEMATICS_FILE_FORMAT_SVA\x10\x01\x12\x1f\n\x1bKINEMATICS_FILE_FORMAT_URDF\x10\x02:a\n\x1asafety_heartbeat_monitored\x12\x1e.google.protobuf.MethodOptions\x18\xa4\x92\x05 \x01(\x08R\x18safetyHeartbeatMonitored\x88\x01\x01B/\n\x12com.viam.common.v1Z\x19go.viam.com/api/common/v1b\x06proto3')
|
|
13
|
+
_globals = globals()
|
|
14
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.v1.common_pb2', _globals)
|
|
16
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
17
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
18
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\x12com.viam.common.v1Z\x19go.viam.com/api/common/v1'
|
|
19
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._loaded_options = None
|
|
20
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_options = b'8\x01'
|
|
21
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._loaded_options = None
|
|
22
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_options = b'8\x01'
|
|
23
|
+
_globals['_KINEMATICSFILEFORMAT']._serialized_start = 4028
|
|
24
|
+
_globals['_KINEMATICSFILEFORMAT']._serialized_end = 4155
|
|
25
|
+
_globals['_RESOURCENAME']._serialized_start = 139
|
|
26
|
+
_globals['_RESOURCENAME']._serialized_end = 249
|
|
27
|
+
_globals['_POSE']._serialized_start = 251
|
|
28
|
+
_globals['_POSE']._serialized_end = 372
|
|
29
|
+
_globals['_ORIENTATION']._serialized_start = 374
|
|
30
|
+
_globals['_ORIENTATION']._serialized_end = 460
|
|
31
|
+
_globals['_POSEINFRAME']._serialized_start = 462
|
|
32
|
+
_globals['_POSEINFRAME']._serialized_end = 558
|
|
33
|
+
_globals['_VECTOR3']._serialized_start = 560
|
|
34
|
+
_globals['_VECTOR3']._serialized_end = 611
|
|
35
|
+
_globals['_SPHERE']._serialized_start = 613
|
|
36
|
+
_globals['_SPHERE']._serialized_end = 650
|
|
37
|
+
_globals['_CAPSULE']._serialized_start = 652
|
|
38
|
+
_globals['_CAPSULE']._serialized_end = 719
|
|
39
|
+
_globals['_RECTANGULARPRISM']._serialized_start = 721
|
|
40
|
+
_globals['_RECTANGULARPRISM']._serialized_end = 789
|
|
41
|
+
_globals['_MESH']._serialized_start = 791
|
|
42
|
+
_globals['_MESH']._serialized_end = 852
|
|
43
|
+
_globals['_POINTCLOUD']._serialized_start = 854
|
|
44
|
+
_globals['_POINTCLOUD']._serialized_end = 899
|
|
45
|
+
_globals['_GEOMETRY']._serialized_start = 902
|
|
46
|
+
_globals['_GEOMETRY']._serialized_end = 1260
|
|
47
|
+
_globals['_GEOMETRIESINFRAME']._serialized_start = 1262
|
|
48
|
+
_globals['_GEOMETRIESINFRAME']._serialized_end = 1380
|
|
49
|
+
_globals['_POINTCLOUDOBJECT']._serialized_start = 1382
|
|
50
|
+
_globals['_POINTCLOUDOBJECT']._serialized_end = 1500
|
|
51
|
+
_globals['_GEOPOINT']._serialized_start = 1502
|
|
52
|
+
_globals['_GEOPOINT']._serialized_end = 1570
|
|
53
|
+
_globals['_GEOGEOMETRY']._serialized_start = 1572
|
|
54
|
+
_globals['_GEOGEOMETRY']._serialized_end = 1697
|
|
55
|
+
_globals['_TRANSFORM']._serialized_start = 1700
|
|
56
|
+
_globals['_TRANSFORM']._serialized_end = 2017
|
|
57
|
+
_globals['_WORLDSTATE']._serialized_start = 2020
|
|
58
|
+
_globals['_WORLDSTATE']._serialized_end = 2156
|
|
59
|
+
_globals['_ACTUATORSTATUS']._serialized_start = 2158
|
|
60
|
+
_globals['_ACTUATORSTATUS']._serialized_end = 2203
|
|
61
|
+
_globals['_RESPONSEMETADATA']._serialized_start = 2205
|
|
62
|
+
_globals['_RESPONSEMETADATA']._serialized_end = 2305
|
|
63
|
+
_globals['_DOCOMMANDREQUEST']._serialized_start = 2307
|
|
64
|
+
_globals['_DOCOMMANDREQUEST']._serialized_end = 2396
|
|
65
|
+
_globals['_DOCOMMANDRESPONSE']._serialized_start = 2398
|
|
66
|
+
_globals['_DOCOMMANDRESPONSE']._serialized_end = 2466
|
|
67
|
+
_globals['_GETKINEMATICSREQUEST']._serialized_start = 2468
|
|
68
|
+
_globals['_GETKINEMATICSREQUEST']._serialized_end = 2557
|
|
69
|
+
_globals['_GETKINEMATICSRESPONSE']._serialized_start = 2559
|
|
70
|
+
_globals['_GETKINEMATICSRESPONSE']._serialized_end = 2685
|
|
71
|
+
_globals['_GETGEOMETRIESREQUEST']._serialized_start = 2687
|
|
72
|
+
_globals['_GETGEOMETRIESREQUEST']._serialized_end = 2776
|
|
73
|
+
_globals['_GETGEOMETRIESRESPONSE']._serialized_start = 2778
|
|
74
|
+
_globals['_GETGEOMETRIESRESPONSE']._serialized_end = 2859
|
|
75
|
+
_globals['_GET3DMODELSREQUEST']._serialized_start = 2861
|
|
76
|
+
_globals['_GET3DMODELSREQUEST']._serialized_end = 2948
|
|
77
|
+
_globals['_GET3DMODELSRESPONSE']._serialized_start = 2951
|
|
78
|
+
_globals['_GET3DMODELSRESPONSE']._serialized_end = 3126
|
|
79
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_start = 3047
|
|
80
|
+
_globals['_GET3DMODELSRESPONSE_MODELSENTRY']._serialized_end = 3126
|
|
81
|
+
_globals['_GETREADINGSREQUEST']._serialized_start = 3128
|
|
82
|
+
_globals['_GETREADINGSREQUEST']._serialized_end = 3215
|
|
83
|
+
_globals['_GETREADINGSRESPONSE']._serialized_start = 3218
|
|
84
|
+
_globals['_GETREADINGSRESPONSE']._serialized_end = 3403
|
|
85
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_start = 3320
|
|
86
|
+
_globals['_GETREADINGSRESPONSE_READINGSENTRY']._serialized_end = 3403
|
|
87
|
+
_globals['_LOGENTRY']._serialized_start = 3406
|
|
88
|
+
_globals['_LOGENTRY']._serialized_end = 3685
|
|
89
|
+
_globals['_AUDIOINFO']._serialized_start = 3687
|
|
90
|
+
_globals['_AUDIOINFO']._serialized_end = 3793
|
|
91
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_start = 3795
|
|
92
|
+
_globals['_GETPROPERTIESREQUEST']._serialized_end = 3884
|
|
93
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_start = 3887
|
|
94
|
+
_globals['_GETPROPERTIESRESPONSE']._serialized_end = 4026
|