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.
Potentially problematic release.
This version of viam-sdk might be problematic. Click here for more details.
- 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
|
@@ -198,14 +198,19 @@ global___ValidateConfigRequest = ValidateConfigRequest
|
|
|
198
198
|
class ValidateConfigResponse(google.protobuf.message.Message):
|
|
199
199
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
200
200
|
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
201
|
+
OPTIONAL_DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
201
202
|
|
|
202
203
|
@property
|
|
203
204
|
def dependencies(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
204
205
|
...
|
|
205
206
|
|
|
206
|
-
|
|
207
|
+
@property
|
|
208
|
+
def optional_dependencies(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
209
|
+
...
|
|
210
|
+
|
|
211
|
+
def __init__(self, *, dependencies: collections.abc.Iterable[builtins.str] | None=..., optional_dependencies: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
207
212
|
...
|
|
208
213
|
|
|
209
|
-
def ClearField(self, field_name: typing.Literal['dependencies', b'dependencies']) -> None:
|
|
214
|
+
def ClearField(self, field_name: typing.Literal['dependencies', b'dependencies', 'optional_dependencies', b'optional_dependencies']) -> None:
|
|
210
215
|
...
|
|
211
216
|
global___ValidateConfigResponse = ValidateConfigResponse
|
|
@@ -1,29 +1,32 @@
|
|
|
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, '', 'proto/rpc/examples/echo/v1/echo.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
8
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%proto/rpc/examples/echo/v1/echo.proto\x12\x1aproto.rpc.examples.echo.v1\x1a\x1cgoogle/api/annotations.proto"\'\n\x0bEchoRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"(\n\x0cEchoResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"/\n\x13EchoMultipleRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"0\n\x14EchoMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"+\n\x0fEchoBiDiRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message",\n\x10EchoBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xf4\x02\n\x0bEchoService\x12\x80\x01\n\x04Echo\x12\'.proto.rpc.examples.echo.v1.EchoRequest\x1a(.proto.rpc.examples.echo.v1.EchoResponse"%\x82\xd3\xe4\x93\x02\x1f
|
|
9
|
-
|
|
10
|
-
_builder.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
DESCRIPTOR.
|
|
14
|
-
|
|
15
|
-
_ECHOSERVICE.methods_by_name['Echo'].
|
|
16
|
-
|
|
17
|
-
_ECHOREQUEST.
|
|
18
|
-
|
|
19
|
-
_ECHORESPONSE.
|
|
20
|
-
|
|
21
|
-
_ECHOMULTIPLEREQUEST.
|
|
22
|
-
|
|
23
|
-
_ECHOMULTIPLERESPONSE.
|
|
24
|
-
|
|
25
|
-
_ECHOBIDIREQUEST.
|
|
26
|
-
|
|
27
|
-
_ECHOBIDIRESPONSE.
|
|
28
|
-
|
|
29
|
-
_ECHOSERVICE.
|
|
10
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%proto/rpc/examples/echo/v1/echo.proto\x12\x1aproto.rpc.examples.echo.v1\x1a\x1cgoogle/api/annotations.proto"\'\n\x0bEchoRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"(\n\x0cEchoResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"/\n\x13EchoMultipleRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"0\n\x14EchoMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"+\n\x0fEchoBiDiRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message",\n\x10EchoBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xf4\x02\n\x0bEchoService\x12\x80\x01\n\x04Echo\x12\'.proto.rpc.examples.echo.v1.EchoRequest\x1a(.proto.rpc.examples.echo.v1.EchoResponse"%\x82\xd3\xe4\x93\x02\x1f"\x1a/rpc/examples/echo/v1/echo:\x01*\x12u\n\x0cEchoMultiple\x12/.proto.rpc.examples.echo.v1.EchoMultipleRequest\x1a0.proto.rpc.examples.echo.v1.EchoMultipleResponse"\x000\x01\x12k\n\x08EchoBiDi\x12+.proto.rpc.examples.echo.v1.EchoBiDiRequest\x1a,.proto.rpc.examples.echo.v1.EchoBiDiResponse"\x00(\x010\x01B.Z,go.viam.com/utils/proto/rpc/examples/echo/v1b\x06proto3')
|
|
11
|
+
_globals = globals()
|
|
12
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
13
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.examples.echo.v1.echo_pb2', _globals)
|
|
14
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
15
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
16
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z,go.viam.com/utils/proto/rpc/examples/echo/v1'
|
|
17
|
+
_globals['_ECHOSERVICE'].methods_by_name['Echo']._loaded_options = None
|
|
18
|
+
_globals['_ECHOSERVICE'].methods_by_name['Echo']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1f"\x1a/rpc/examples/echo/v1/echo:\x01*'
|
|
19
|
+
_globals['_ECHOREQUEST']._serialized_start = 99
|
|
20
|
+
_globals['_ECHOREQUEST']._serialized_end = 138
|
|
21
|
+
_globals['_ECHORESPONSE']._serialized_start = 140
|
|
22
|
+
_globals['_ECHORESPONSE']._serialized_end = 180
|
|
23
|
+
_globals['_ECHOMULTIPLEREQUEST']._serialized_start = 182
|
|
24
|
+
_globals['_ECHOMULTIPLEREQUEST']._serialized_end = 229
|
|
25
|
+
_globals['_ECHOMULTIPLERESPONSE']._serialized_start = 231
|
|
26
|
+
_globals['_ECHOMULTIPLERESPONSE']._serialized_end = 279
|
|
27
|
+
_globals['_ECHOBIDIREQUEST']._serialized_start = 281
|
|
28
|
+
_globals['_ECHOBIDIREQUEST']._serialized_end = 324
|
|
29
|
+
_globals['_ECHOBIDIRESPONSE']._serialized_start = 326
|
|
30
|
+
_globals['_ECHOBIDIRESPONSE']._serialized_end = 370
|
|
31
|
+
_globals['_ECHOSERVICE']._serialized_start = 373
|
|
32
|
+
_globals['_ECHOSERVICE']._serialized_end = 745
|
|
@@ -1,26 +1,29 @@
|
|
|
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, '', 'proto/rpc/examples/echoresource/v1/echoresource.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5proto/rpc/examples/echoresource/v1/echoresource.proto\x12"proto.rpc.examples.echoresource.v1"C\n\x13EchoResourceRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"0\n\x14EchoResourceResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"K\n\x1bEchoResourceMultipleRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"8\n\x1cEchoResourceMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"G\n\x17EchoResourceBiDiRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"4\n\x18EchoResourceBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xd1\x03\n\x13EchoResourceService\x12\x83\x01\n\x0cEchoResource\x127.proto.rpc.examples.echoresource.v1.EchoResourceRequest\x1a8.proto.rpc.examples.echoresource.v1.EchoResourceResponse"\x00\x12\x9d\x01\n\x14EchoResourceMultiple\x12?.proto.rpc.examples.echoresource.v1.EchoResourceMultipleRequest\x1a@.proto.rpc.examples.echoresource.v1.EchoResourceMultipleResponse"\x000\x01\x12\x93\x01\n\x10EchoResourceBiDi\x12;.proto.rpc.examples.echoresource.v1.EchoResourceBiDiRequest\x1a<.proto.rpc.examples.echoresource.v1.EchoResourceBiDiResponse"\x00(\x010\x01B6Z4go.viam.com/utils/proto/rpc/examples/echoresource/v1b\x06proto3')
|
|
8
|
-
|
|
9
|
-
_builder.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
DESCRIPTOR.
|
|
13
|
-
|
|
14
|
-
_ECHORESOURCEREQUEST.
|
|
15
|
-
|
|
16
|
-
_ECHORESOURCERESPONSE.
|
|
17
|
-
|
|
18
|
-
_ECHORESOURCEMULTIPLEREQUEST.
|
|
19
|
-
|
|
20
|
-
_ECHORESOURCEMULTIPLERESPONSE.
|
|
21
|
-
|
|
22
|
-
_ECHORESOURCEBIDIREQUEST.
|
|
23
|
-
|
|
24
|
-
_ECHORESOURCEBIDIRESPONSE.
|
|
25
|
-
|
|
26
|
-
_ECHORESOURCESERVICE.
|
|
10
|
+
_globals = globals()
|
|
11
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
12
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.examples.echoresource.v1.echoresource_pb2', _globals)
|
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
15
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z4go.viam.com/utils/proto/rpc/examples/echoresource/v1'
|
|
16
|
+
_globals['_ECHORESOURCEREQUEST']._serialized_start = 93
|
|
17
|
+
_globals['_ECHORESOURCEREQUEST']._serialized_end = 160
|
|
18
|
+
_globals['_ECHORESOURCERESPONSE']._serialized_start = 162
|
|
19
|
+
_globals['_ECHORESOURCERESPONSE']._serialized_end = 210
|
|
20
|
+
_globals['_ECHORESOURCEMULTIPLEREQUEST']._serialized_start = 212
|
|
21
|
+
_globals['_ECHORESOURCEMULTIPLEREQUEST']._serialized_end = 287
|
|
22
|
+
_globals['_ECHORESOURCEMULTIPLERESPONSE']._serialized_start = 289
|
|
23
|
+
_globals['_ECHORESOURCEMULTIPLERESPONSE']._serialized_end = 345
|
|
24
|
+
_globals['_ECHORESOURCEBIDIREQUEST']._serialized_start = 347
|
|
25
|
+
_globals['_ECHORESOURCEBIDIREQUEST']._serialized_end = 418
|
|
26
|
+
_globals['_ECHORESOURCEBIDIRESPONSE']._serialized_start = 420
|
|
27
|
+
_globals['_ECHORESOURCEBIDIRESPONSE']._serialized_end = 472
|
|
28
|
+
_globals['_ECHORESOURCESERVICE']._serialized_start = 475
|
|
29
|
+
_globals['_ECHORESOURCESERVICE']._serialized_end = 940
|
|
@@ -1,31 +1,34 @@
|
|
|
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, '', 'proto/rpc/v1/auth.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
8
10
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17proto/rpc/v1/auth.proto\x12\x0cproto.rpc.v1\x1a\x1cgoogle/api/annotations.proto";\n\x0bCredentials\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"j\n\x13AuthenticateRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity\x12;\n\x0bcredentials\x18\x02 \x01(\x0b2\x19.proto.rpc.v1.CredentialsR\x0bcredentials"9\n\x14AuthenticateResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken"/\n\x15AuthenticateToRequest\x12\x16\n\x06entity\x18\x01 \x01(\tR\x06entity";\n\x16AuthenticateToResponse\x12!\n\x0caccess_token\x18\x01 \x01(\tR\x0baccessToken2\x82\x01\n\x0bAuthService\x12s\n\x0cAuthenticate\x12!.proto.rpc.v1.AuthenticateRequest\x1a".proto.rpc.v1.AuthenticateResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x14/rpc/v1/authenticate2\x93\x01\n\x13ExternalAuthService\x12|\n\x0eAuthenticateTo\x12#.proto.rpc.v1.AuthenticateToRequest\x1a$.proto.rpc.v1.AuthenticateToResponse"\x1f\x82\xd3\xe4\x93\x02\x19"\x17/rpc/v1/authenticate_toB Z\x1ego.viam.com/utils/proto/rpc/v1b\x06proto3')
|
|
9
|
-
|
|
10
|
-
_builder.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
DESCRIPTOR.
|
|
14
|
-
|
|
15
|
-
_AUTHSERVICE.methods_by_name['Authenticate'].
|
|
16
|
-
|
|
17
|
-
_EXTERNALAUTHSERVICE.methods_by_name['AuthenticateTo'].
|
|
18
|
-
|
|
19
|
-
_CREDENTIALS.
|
|
20
|
-
|
|
21
|
-
_AUTHENTICATEREQUEST.
|
|
22
|
-
|
|
23
|
-
_AUTHENTICATERESPONSE.
|
|
24
|
-
|
|
25
|
-
_AUTHENTICATETOREQUEST.
|
|
26
|
-
|
|
27
|
-
_AUTHENTICATETORESPONSE.
|
|
28
|
-
|
|
29
|
-
_AUTHSERVICE.
|
|
30
|
-
|
|
31
|
-
_EXTERNALAUTHSERVICE.
|
|
11
|
+
_globals = globals()
|
|
12
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
13
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.v1.auth_pb2', _globals)
|
|
14
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
15
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
16
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z\x1ego.viam.com/utils/proto/rpc/v1'
|
|
17
|
+
_globals['_AUTHSERVICE'].methods_by_name['Authenticate']._loaded_options = None
|
|
18
|
+
_globals['_AUTHSERVICE'].methods_by_name['Authenticate']._serialized_options = b'\x82\xd3\xe4\x93\x02\x16"\x14/rpc/v1/authenticate'
|
|
19
|
+
_globals['_EXTERNALAUTHSERVICE'].methods_by_name['AuthenticateTo']._loaded_options = None
|
|
20
|
+
_globals['_EXTERNALAUTHSERVICE'].methods_by_name['AuthenticateTo']._serialized_options = b'\x82\xd3\xe4\x93\x02\x19"\x17/rpc/v1/authenticate_to'
|
|
21
|
+
_globals['_CREDENTIALS']._serialized_start = 71
|
|
22
|
+
_globals['_CREDENTIALS']._serialized_end = 130
|
|
23
|
+
_globals['_AUTHENTICATEREQUEST']._serialized_start = 132
|
|
24
|
+
_globals['_AUTHENTICATEREQUEST']._serialized_end = 238
|
|
25
|
+
_globals['_AUTHENTICATERESPONSE']._serialized_start = 240
|
|
26
|
+
_globals['_AUTHENTICATERESPONSE']._serialized_end = 297
|
|
27
|
+
_globals['_AUTHENTICATETOREQUEST']._serialized_start = 299
|
|
28
|
+
_globals['_AUTHENTICATETOREQUEST']._serialized_end = 346
|
|
29
|
+
_globals['_AUTHENTICATETORESPONSE']._serialized_start = 348
|
|
30
|
+
_globals['_AUTHENTICATETORESPONSE']._serialized_end = 407
|
|
31
|
+
_globals['_AUTHSERVICE']._serialized_start = 410
|
|
32
|
+
_globals['_AUTHSERVICE']._serialized_end = 540
|
|
33
|
+
_globals['_EXTERNALAUTHSERVICE']._serialized_start = 543
|
|
34
|
+
_globals['_EXTERNALAUTHSERVICE']._serialized_end = 690
|
|
@@ -1,40 +1,43 @@
|
|
|
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, '', 'proto/rpc/webrtc/v1/grpc.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
8
10
|
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
|
9
11
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eproto/rpc/webrtc/v1/grpc.proto\x12\x13proto.rpc.webrtc.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x17google/rpc/status.proto"5\n\rPacketMessage\x12\x12\n\x04data\x18\x01 \x01(\x0cR\x04data\x12\x10\n\x03eom\x18\x02 \x01(\x08R\x03eom"\x18\n\x06Stream\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id"\xe9\x01\n\x07Request\x123\n\x06stream\x18\x01 \x01(\x0b2\x1b.proto.rpc.webrtc.v1.StreamR\x06stream\x12?\n\x07headers\x18\x02 \x01(\x0b2#.proto.rpc.webrtc.v1.RequestHeadersH\x00R\x07headers\x12?\n\x07message\x18\x03 \x01(\x0b2#.proto.rpc.webrtc.v1.RequestMessageH\x00R\x07message\x12\x1f\n\nrst_stream\x18\x04 \x01(\x08H\x00R\trstStreamB\x06\n\x04type"\x98\x01\n\x0eRequestHeaders\x12\x16\n\x06method\x18\x01 \x01(\tR\x06method\x129\n\x08metadata\x18\x02 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata\x123\n\x07timeout\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x07timeout"\x8e\x01\n\x0eRequestMessage\x12\x1f\n\x0bhas_message\x18\x01 \x01(\x08R\nhasMessage\x12I\n\x0epacket_message\x18\x02 \x01(\x0b2".proto.rpc.webrtc.v1.PacketMessageR\rpacketMessage\x12\x10\n\x03eos\x18\x03 \x01(\x08R\x03eos"\x90\x02\n\x08Response\x123\n\x06stream\x18\x01 \x01(\x0b2\x1b.proto.rpc.webrtc.v1.StreamR\x06stream\x12@\n\x07headers\x18\x02 \x01(\x0b2$.proto.rpc.webrtc.v1.ResponseHeadersH\x00R\x07headers\x12@\n\x07message\x18\x03 \x01(\x0b2$.proto.rpc.webrtc.v1.ResponseMessageH\x00R\x07message\x12C\n\x08trailers\x18\x04 \x01(\x0b2%.proto.rpc.webrtc.v1.ResponseTrailersH\x00R\x08trailersB\x06\n\x04type"L\n\x0fResponseHeaders\x129\n\x08metadata\x18\x01 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata"\\\n\x0fResponseMessage\x12I\n\x0epacket_message\x18\x01 \x01(\x0b2".proto.rpc.webrtc.v1.PacketMessageR\rpacketMessage"y\n\x10ResponseTrailers\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status\x129\n\x08metadata\x18\x02 \x01(\x0b2\x1d.proto.rpc.webrtc.v1.MetadataR\x08metadata"!\n\x07Strings\x12\x16\n\x06values\x18\x01 \x03(\tR\x06values"\x96\x01\n\x08Metadata\x125\n\x02md\x18\x01 \x03(\x0b2%.proto.rpc.webrtc.v1.Metadata.MdEntryR\x02md\x1aS\n\x07MdEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x122\n\x05value\x18\x02 \x01(\x0b2\x1c.proto.rpc.webrtc.v1.StringsR\x05value:\x028\x01B\'Z%go.viam.com/utils/proto/rpc/webrtc/v1b\x06proto3')
|
|
10
|
-
|
|
11
|
-
_builder.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
DESCRIPTOR.
|
|
15
|
-
|
|
16
|
-
_METADATA_MDENTRY.
|
|
17
|
-
|
|
18
|
-
_PACKETMESSAGE.
|
|
19
|
-
|
|
20
|
-
_STREAM.
|
|
21
|
-
|
|
22
|
-
_REQUEST.
|
|
23
|
-
|
|
24
|
-
_REQUESTHEADERS.
|
|
25
|
-
|
|
26
|
-
_REQUESTMESSAGE.
|
|
27
|
-
|
|
28
|
-
_RESPONSE.
|
|
29
|
-
|
|
30
|
-
_RESPONSEHEADERS.
|
|
31
|
-
|
|
32
|
-
_RESPONSEMESSAGE.
|
|
33
|
-
|
|
34
|
-
_RESPONSETRAILERS.
|
|
35
|
-
|
|
36
|
-
_STRINGS.
|
|
37
|
-
|
|
38
|
-
_METADATA.
|
|
39
|
-
|
|
40
|
-
_METADATA_MDENTRY.
|
|
12
|
+
_globals = globals()
|
|
13
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
14
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.webrtc.v1.grpc_pb2', _globals)
|
|
15
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
16
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
17
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z%go.viam.com/utils/proto/rpc/webrtc/v1'
|
|
18
|
+
_globals['_METADATA_MDENTRY']._loaded_options = None
|
|
19
|
+
_globals['_METADATA_MDENTRY']._serialized_options = b'8\x01'
|
|
20
|
+
_globals['_PACKETMESSAGE']._serialized_start = 112
|
|
21
|
+
_globals['_PACKETMESSAGE']._serialized_end = 165
|
|
22
|
+
_globals['_STREAM']._serialized_start = 167
|
|
23
|
+
_globals['_STREAM']._serialized_end = 191
|
|
24
|
+
_globals['_REQUEST']._serialized_start = 194
|
|
25
|
+
_globals['_REQUEST']._serialized_end = 427
|
|
26
|
+
_globals['_REQUESTHEADERS']._serialized_start = 430
|
|
27
|
+
_globals['_REQUESTHEADERS']._serialized_end = 582
|
|
28
|
+
_globals['_REQUESTMESSAGE']._serialized_start = 585
|
|
29
|
+
_globals['_REQUESTMESSAGE']._serialized_end = 727
|
|
30
|
+
_globals['_RESPONSE']._serialized_start = 730
|
|
31
|
+
_globals['_RESPONSE']._serialized_end = 1002
|
|
32
|
+
_globals['_RESPONSEHEADERS']._serialized_start = 1004
|
|
33
|
+
_globals['_RESPONSEHEADERS']._serialized_end = 1080
|
|
34
|
+
_globals['_RESPONSEMESSAGE']._serialized_start = 1082
|
|
35
|
+
_globals['_RESPONSEMESSAGE']._serialized_end = 1174
|
|
36
|
+
_globals['_RESPONSETRAILERS']._serialized_start = 1176
|
|
37
|
+
_globals['_RESPONSETRAILERS']._serialized_end = 1297
|
|
38
|
+
_globals['_STRINGS']._serialized_start = 1299
|
|
39
|
+
_globals['_STRINGS']._serialized_end = 1332
|
|
40
|
+
_globals['_METADATA']._serialized_start = 1335
|
|
41
|
+
_globals['_METADATA']._serialized_end = 1485
|
|
42
|
+
_globals['_METADATA_MDENTRY']._serialized_start = 1402
|
|
43
|
+
_globals['_METADATA_MDENTRY']._serialized_end = 1485
|
|
@@ -1,65 +1,70 @@
|
|
|
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, '', 'proto/rpc/webrtc/v1/signaling.proto')
|
|
6
8
|
_sym_db = _symbol_database.Default()
|
|
7
9
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
8
10
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
9
11
|
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
|
10
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#proto/rpc/webrtc/v1/signaling.proto\x12\x13proto.rpc.webrtc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto"\xdf\x01\n\x0cICECandidate\x12\x1c\n\tcandidate\x18\x01 \x01(\tR\tcandidate\x12\x1c\n\x07sdp_mid\x18\x02 \x01(\tH\x00R\x06sdpMid\x88\x01\x01\x12+\n\x0fsdpm_line_index\x18\x03 \x01(\rH\x01R\rsdpmLineIndex\x88\x01\x01\x120\n\x11username_fragment\x18\x04 \x01(\tH\x02R\x10usernameFragment\x88\x01\x01B\n\n\x08_sdp_midB\x12\n\x10_sdpm_line_indexB\x14\n\x12_username_fragment"H\n\x0bCallRequest\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle")\n\x15CallResponseInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp"Z\n\x17CallResponseUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\xb5\x01\n\x0cCallResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12@\n\x04init\x18\x02 \x01(\x0b2*.proto.rpc.webrtc.v1.CallResponseInitStageH\x00R\x04init\x12F\n\x06update\x18\x03 \x01(\x0b2,.proto.rpc.webrtc.v1.CallResponseUpdateStageH\x00R\x06updateB\x07\n\x05stage"\xb6\x01\n\x11CallUpdateRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12A\n\tcandidate\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateH\x00R\tcandidate\x12\x14\n\x04done\x18\x03 \x01(\x08H\x00R\x04done\x12*\n\x05error\x18\x04 \x01(\x0b2\x12.google.rpc.StatusH\x00R\x05errorB\x08\n\x06update"\x14\n\x12CallUpdateResponse"[\n\tICEServer\x12\x12\n\x04urls\x18\x01 \x03(\tR\x04urls\x12\x1a\n\x08username\x18\x02 \x01(\tR\x08username\x12\x1e\n\ncredential\x18\x03 \x01(\tR\ncredential"\x8d\x01\n\x0cWebRTCConfig\x12T\n\x16additional_ice_servers\x18\x01 \x03(\x0b2\x1e.proto.rpc.webrtc.v1.ICEServerR\x14additionalIceServers\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle"\xc0\x01\n\x16AnswerRequestInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12J\n\x0foptional_config\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.WebRTCConfigR\x0eoptionalConfig\x12;\n\x08deadline\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\x08deadline\x88\x01\x01B\x0b\n\t_deadline"[\n\x18AnswerRequestUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\x18\n\x16AnswerRequestDoneStage"E\n\x17AnswerRequestErrorStage\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status"\
|
|
11
|
-
|
|
12
|
-
_builder.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
DESCRIPTOR.
|
|
16
|
-
|
|
17
|
-
_SIGNALINGSERVICE.methods_by_name['Call'].
|
|
18
|
-
_SIGNALINGSERVICE.methods_by_name['
|
|
19
|
-
_SIGNALINGSERVICE.methods_by_name['CallUpdate'].
|
|
20
|
-
_SIGNALINGSERVICE.methods_by_name['
|
|
21
|
-
_SIGNALINGSERVICE.methods_by_name['OptionalWebRTCConfig'].
|
|
22
|
-
|
|
23
|
-
_ICECANDIDATE.
|
|
24
|
-
|
|
25
|
-
_CALLREQUEST.
|
|
26
|
-
|
|
27
|
-
_CALLRESPONSEINITSTAGE.
|
|
28
|
-
|
|
29
|
-
_CALLRESPONSEUPDATESTAGE.
|
|
30
|
-
|
|
31
|
-
_CALLRESPONSE.
|
|
32
|
-
|
|
33
|
-
_CALLUPDATEREQUEST.
|
|
34
|
-
|
|
35
|
-
_CALLUPDATERESPONSE.
|
|
36
|
-
|
|
37
|
-
_ICESERVER.
|
|
38
|
-
|
|
39
|
-
_WEBRTCCONFIG.
|
|
40
|
-
|
|
41
|
-
_ANSWERREQUESTINITSTAGE.
|
|
42
|
-
|
|
43
|
-
_ANSWERREQUESTUPDATESTAGE.
|
|
44
|
-
|
|
45
|
-
_ANSWERREQUESTDONESTAGE.
|
|
46
|
-
|
|
47
|
-
_ANSWERREQUESTERRORSTAGE.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#proto/rpc/webrtc/v1/signaling.proto\x12\x13proto.rpc.webrtc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto"\xdf\x01\n\x0cICECandidate\x12\x1c\n\tcandidate\x18\x01 \x01(\tR\tcandidate\x12\x1c\n\x07sdp_mid\x18\x02 \x01(\tH\x00R\x06sdpMid\x88\x01\x01\x12+\n\x0fsdpm_line_index\x18\x03 \x01(\rH\x01R\rsdpmLineIndex\x88\x01\x01\x120\n\x11username_fragment\x18\x04 \x01(\tH\x02R\x10usernameFragment\x88\x01\x01B\n\n\x08_sdp_midB\x12\n\x10_sdpm_line_indexB\x14\n\x12_username_fragment"H\n\x0bCallRequest\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle")\n\x15CallResponseInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp"Z\n\x17CallResponseUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\xb5\x01\n\x0cCallResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12@\n\x04init\x18\x02 \x01(\x0b2*.proto.rpc.webrtc.v1.CallResponseInitStageH\x00R\x04init\x12F\n\x06update\x18\x03 \x01(\x0b2,.proto.rpc.webrtc.v1.CallResponseUpdateStageH\x00R\x06updateB\x07\n\x05stage"\xb6\x01\n\x11CallUpdateRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12A\n\tcandidate\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateH\x00R\tcandidate\x12\x14\n\x04done\x18\x03 \x01(\x08H\x00R\x04done\x12*\n\x05error\x18\x04 \x01(\x0b2\x12.google.rpc.StatusH\x00R\x05errorB\x08\n\x06update"\x14\n\x12CallUpdateResponse"[\n\tICEServer\x12\x12\n\x04urls\x18\x01 \x03(\tR\x04urls\x12\x1a\n\x08username\x18\x02 \x01(\tR\x08username\x12\x1e\n\ncredential\x18\x03 \x01(\tR\ncredential"\x8d\x01\n\x0cWebRTCConfig\x12T\n\x16additional_ice_servers\x18\x01 \x03(\x0b2\x1e.proto.rpc.webrtc.v1.ICEServerR\x14additionalIceServers\x12\'\n\x0fdisable_trickle\x18\x02 \x01(\x08R\x0edisableTrickle"\xc0\x01\n\x16AnswerRequestInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp\x12J\n\x0foptional_config\x18\x02 \x01(\x0b2!.proto.rpc.webrtc.v1.WebRTCConfigR\x0eoptionalConfig\x12;\n\x08deadline\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\x08deadline\x88\x01\x01B\x0b\n\t_deadline"[\n\x18AnswerRequestUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\x18\n\x16AnswerRequestDoneStage"E\n\x17AnswerRequestErrorStage\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status"\x1d\n\x1bAnswerRequestHeartbeatStage"\x93\x03\n\rAnswerRequest\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12A\n\x04init\x18\x02 \x01(\x0b2+.proto.rpc.webrtc.v1.AnswerRequestInitStageH\x00R\x04init\x12G\n\x06update\x18\x03 \x01(\x0b2-.proto.rpc.webrtc.v1.AnswerRequestUpdateStageH\x00R\x06update\x12A\n\x04done\x18\x04 \x01(\x0b2+.proto.rpc.webrtc.v1.AnswerRequestDoneStageH\x00R\x04done\x12D\n\x05error\x18\x05 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerRequestErrorStageH\x00R\x05error\x12P\n\theartbeat\x18\x06 \x01(\x0b20.proto.rpc.webrtc.v1.AnswerRequestHeartbeatStageH\x00R\theartbeatB\x07\n\x05stage"+\n\x17AnswerResponseInitStage\x12\x10\n\x03sdp\x18\x01 \x01(\tR\x03sdp"\\\n\x19AnswerResponseUpdateStage\x12?\n\tcandidate\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.ICECandidateR\tcandidate"\x19\n\x17AnswerResponseDoneStage"F\n\x18AnswerResponseErrorStage\x12*\n\x06status\x18\x01 \x01(\x0b2\x12.google.rpc.StatusR\x06status"\xc6\x02\n\x0eAnswerResponse\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12B\n\x04init\x18\x02 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerResponseInitStageH\x00R\x04init\x12H\n\x06update\x18\x03 \x01(\x0b2..proto.rpc.webrtc.v1.AnswerResponseUpdateStageH\x00R\x06update\x12B\n\x04done\x18\x04 \x01(\x0b2,.proto.rpc.webrtc.v1.AnswerResponseDoneStageH\x00R\x04done\x12E\n\x05error\x18\x05 \x01(\x0b2-.proto.rpc.webrtc.v1.AnswerResponseErrorStageH\x00R\x05errorB\x07\n\x05stage"\x1d\n\x1bOptionalWebRTCConfigRequest"Y\n\x1cOptionalWebRTCConfigResponse\x129\n\x06config\x18\x01 \x01(\x0b2!.proto.rpc.webrtc.v1.WebRTCConfigR\x06config2\x86\x04\n\x10SignalingService\x12j\n\x04Call\x12 .proto.rpc.webrtc.v1.CallRequest\x1a!.proto.rpc.webrtc.v1.CallResponse"\x1b\x82\xd3\xe4\x93\x02\x15"\x13/rpc/webrtc/v1/call0\x01\x12\x81\x01\n\nCallUpdate\x12&.proto.rpc.webrtc.v1.CallUpdateRequest\x1a\'.proto.rpc.webrtc.v1.CallUpdateResponse""\x82\xd3\xe4\x93\x02\x1c\x1a\x1a/rpc/webrtc/v1/call_update\x12U\n\x06Answer\x12#.proto.rpc.webrtc.v1.AnswerResponse\x1a".proto.rpc.webrtc.v1.AnswerRequest(\x010\x01\x12\xaa\x01\n\x14OptionalWebRTCConfig\x120.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest\x1a1.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse"-\x82\xd3\xe4\x93\x02\'\x12%/rpc/webrtc/v1/optional_webrtc_configB\'Z%go.viam.com/utils/proto/rpc/webrtc/v1b\x06proto3')
|
|
13
|
+
_globals = globals()
|
|
14
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.webrtc.v1.signaling_pb2', _globals)
|
|
16
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
17
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
18
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z%go.viam.com/utils/proto/rpc/webrtc/v1'
|
|
19
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['Call']._loaded_options = None
|
|
20
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['Call']._serialized_options = b'\x82\xd3\xe4\x93\x02\x15"\x13/rpc/webrtc/v1/call'
|
|
21
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['CallUpdate']._loaded_options = None
|
|
22
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['CallUpdate']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1c\x1a\x1a/rpc/webrtc/v1/call_update'
|
|
23
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['OptionalWebRTCConfig']._loaded_options = None
|
|
24
|
+
_globals['_SIGNALINGSERVICE'].methods_by_name['OptionalWebRTCConfig']._serialized_options = b"\x82\xd3\xe4\x93\x02'\x12%/rpc/webrtc/v1/optional_webrtc_config"
|
|
25
|
+
_globals['_ICECANDIDATE']._serialized_start = 149
|
|
26
|
+
_globals['_ICECANDIDATE']._serialized_end = 372
|
|
27
|
+
_globals['_CALLREQUEST']._serialized_start = 374
|
|
28
|
+
_globals['_CALLREQUEST']._serialized_end = 446
|
|
29
|
+
_globals['_CALLRESPONSEINITSTAGE']._serialized_start = 448
|
|
30
|
+
_globals['_CALLRESPONSEINITSTAGE']._serialized_end = 489
|
|
31
|
+
_globals['_CALLRESPONSEUPDATESTAGE']._serialized_start = 491
|
|
32
|
+
_globals['_CALLRESPONSEUPDATESTAGE']._serialized_end = 581
|
|
33
|
+
_globals['_CALLRESPONSE']._serialized_start = 584
|
|
34
|
+
_globals['_CALLRESPONSE']._serialized_end = 765
|
|
35
|
+
_globals['_CALLUPDATEREQUEST']._serialized_start = 768
|
|
36
|
+
_globals['_CALLUPDATEREQUEST']._serialized_end = 950
|
|
37
|
+
_globals['_CALLUPDATERESPONSE']._serialized_start = 952
|
|
38
|
+
_globals['_CALLUPDATERESPONSE']._serialized_end = 972
|
|
39
|
+
_globals['_ICESERVER']._serialized_start = 974
|
|
40
|
+
_globals['_ICESERVER']._serialized_end = 1065
|
|
41
|
+
_globals['_WEBRTCCONFIG']._serialized_start = 1068
|
|
42
|
+
_globals['_WEBRTCCONFIG']._serialized_end = 1209
|
|
43
|
+
_globals['_ANSWERREQUESTINITSTAGE']._serialized_start = 1212
|
|
44
|
+
_globals['_ANSWERREQUESTINITSTAGE']._serialized_end = 1404
|
|
45
|
+
_globals['_ANSWERREQUESTUPDATESTAGE']._serialized_start = 1406
|
|
46
|
+
_globals['_ANSWERREQUESTUPDATESTAGE']._serialized_end = 1497
|
|
47
|
+
_globals['_ANSWERREQUESTDONESTAGE']._serialized_start = 1499
|
|
48
|
+
_globals['_ANSWERREQUESTDONESTAGE']._serialized_end = 1523
|
|
49
|
+
_globals['_ANSWERREQUESTERRORSTAGE']._serialized_start = 1525
|
|
50
|
+
_globals['_ANSWERREQUESTERRORSTAGE']._serialized_end = 1594
|
|
51
|
+
_globals['_ANSWERREQUESTHEARTBEATSTAGE']._serialized_start = 1596
|
|
52
|
+
_globals['_ANSWERREQUESTHEARTBEATSTAGE']._serialized_end = 1625
|
|
53
|
+
_globals['_ANSWERREQUEST']._serialized_start = 1628
|
|
54
|
+
_globals['_ANSWERREQUEST']._serialized_end = 2031
|
|
55
|
+
_globals['_ANSWERRESPONSEINITSTAGE']._serialized_start = 2033
|
|
56
|
+
_globals['_ANSWERRESPONSEINITSTAGE']._serialized_end = 2076
|
|
57
|
+
_globals['_ANSWERRESPONSEUPDATESTAGE']._serialized_start = 2078
|
|
58
|
+
_globals['_ANSWERRESPONSEUPDATESTAGE']._serialized_end = 2170
|
|
59
|
+
_globals['_ANSWERRESPONSEDONESTAGE']._serialized_start = 2172
|
|
60
|
+
_globals['_ANSWERRESPONSEDONESTAGE']._serialized_end = 2197
|
|
61
|
+
_globals['_ANSWERRESPONSEERRORSTAGE']._serialized_start = 2199
|
|
62
|
+
_globals['_ANSWERRESPONSEERRORSTAGE']._serialized_end = 2269
|
|
63
|
+
_globals['_ANSWERRESPONSE']._serialized_start = 2272
|
|
64
|
+
_globals['_ANSWERRESPONSE']._serialized_end = 2598
|
|
65
|
+
_globals['_OPTIONALWEBRTCCONFIGREQUEST']._serialized_start = 2600
|
|
66
|
+
_globals['_OPTIONALWEBRTCCONFIGREQUEST']._serialized_end = 2629
|
|
67
|
+
_globals['_OPTIONALWEBRTCCONFIGRESPONSE']._serialized_start = 2631
|
|
68
|
+
_globals['_OPTIONALWEBRTCCONFIGRESPONSE']._serialized_end = 2720
|
|
69
|
+
_globals['_SIGNALINGSERVICE']._serialized_start = 2723
|
|
70
|
+
_globals['_SIGNALINGSERVICE']._serialized_end = 3241
|
|
@@ -299,6 +299,15 @@ class AnswerRequestErrorStage(google.protobuf.message.Message):
|
|
|
299
299
|
...
|
|
300
300
|
global___AnswerRequestErrorStage = AnswerRequestErrorStage
|
|
301
301
|
|
|
302
|
+
@typing.final
|
|
303
|
+
class AnswerRequestHeartbeatStage(google.protobuf.message.Message):
|
|
304
|
+
"""AnswerRequestHeartbeatStage is sent periodically to verify liveness of answerer."""
|
|
305
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
306
|
+
|
|
307
|
+
def __init__(self) -> None:
|
|
308
|
+
...
|
|
309
|
+
global___AnswerRequestHeartbeatStage = AnswerRequestHeartbeatStage
|
|
310
|
+
|
|
302
311
|
@typing.final
|
|
303
312
|
class AnswerRequest(google.protobuf.message.Message):
|
|
304
313
|
"""AnswerRequest is the SDP offer that the controlling side is making via the answering
|
|
@@ -310,6 +319,7 @@ class AnswerRequest(google.protobuf.message.Message):
|
|
|
310
319
|
UPDATE_FIELD_NUMBER: builtins.int
|
|
311
320
|
DONE_FIELD_NUMBER: builtins.int
|
|
312
321
|
ERROR_FIELD_NUMBER: builtins.int
|
|
322
|
+
HEARTBEAT_FIELD_NUMBER: builtins.int
|
|
313
323
|
uuid: builtins.str
|
|
314
324
|
|
|
315
325
|
@property
|
|
@@ -328,16 +338,20 @@ class AnswerRequest(google.protobuf.message.Message):
|
|
|
328
338
|
def error(self) -> global___AnswerRequestErrorStage:
|
|
329
339
|
"""error is sent any time before done"""
|
|
330
340
|
|
|
331
|
-
|
|
341
|
+
@property
|
|
342
|
+
def heartbeat(self) -> global___AnswerRequestHeartbeatStage:
|
|
343
|
+
"""heartbeat is sent periodically to verify liveness of answerer"""
|
|
344
|
+
|
|
345
|
+
def __init__(self, *, uuid: builtins.str=..., init: global___AnswerRequestInitStage | None=..., update: global___AnswerRequestUpdateStage | None=..., done: global___AnswerRequestDoneStage | None=..., error: global___AnswerRequestErrorStage | None=..., heartbeat: global___AnswerRequestHeartbeatStage | None=...) -> None:
|
|
332
346
|
...
|
|
333
347
|
|
|
334
|
-
def HasField(self, field_name: typing.Literal['done', b'done', 'error', b'error', 'init', b'init', 'stage', b'stage', 'update', b'update']) -> builtins.bool:
|
|
348
|
+
def HasField(self, field_name: typing.Literal['done', b'done', 'error', b'error', 'heartbeat', b'heartbeat', 'init', b'init', 'stage', b'stage', 'update', b'update']) -> builtins.bool:
|
|
335
349
|
...
|
|
336
350
|
|
|
337
|
-
def ClearField(self, field_name: typing.Literal['done', b'done', 'error', b'error', 'init', b'init', 'stage', b'stage', 'update', b'update', 'uuid', b'uuid']) -> None:
|
|
351
|
+
def ClearField(self, field_name: typing.Literal['done', b'done', 'error', b'error', 'heartbeat', b'heartbeat', 'init', b'init', 'stage', b'stage', 'update', b'update', 'uuid', b'uuid']) -> None:
|
|
338
352
|
...
|
|
339
353
|
|
|
340
|
-
def WhichOneof(self, oneof_group: typing.Literal['stage', b'stage']) -> typing.Literal['init', 'update', 'done', 'error'] | None:
|
|
354
|
+
def WhichOneof(self, oneof_group: typing.Literal['stage', b'stage']) -> typing.Literal['init', 'update', 'done', 'error', 'heartbeat'] | None:
|
|
341
355
|
...
|
|
342
356
|
global___AnswerRequest = AnswerRequest
|
|
343
357
|
|
|
@@ -25,8 +25,12 @@ class ProvisioningServiceBase(abc.ABC):
|
|
|
25
25
|
async def GetNetworkList(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse]') -> None:
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
|
+
@abc.abstractmethod
|
|
29
|
+
async def ExitProvisioning(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse]') -> None:
|
|
30
|
+
pass
|
|
31
|
+
|
|
28
32
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
29
|
-
return {'/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus': grpclib.const.Handler(self.GetSmartMachineStatus, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse), '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials': grpclib.const.Handler(self.SetNetworkCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials': grpclib.const.Handler(self.SetSmartMachineCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/GetNetworkList': grpclib.const.Handler(self.GetNetworkList, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)}
|
|
33
|
+
return {'/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus': grpclib.const.Handler(self.GetSmartMachineStatus, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse), '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials': grpclib.const.Handler(self.SetNetworkCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials': grpclib.const.Handler(self.SetSmartMachineCredentials, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse), '/viam.provisioning.v1.ProvisioningService/GetNetworkList': grpclib.const.Handler(self.GetNetworkList, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse), '/viam.provisioning.v1.ProvisioningService/ExitProvisioning': grpclib.const.Handler(self.ExitProvisioning, grpclib.const.Cardinality.UNARY_UNARY, provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse)}
|
|
30
34
|
|
|
31
35
|
class UnimplementedProvisioningServiceBase(ProvisioningServiceBase):
|
|
32
36
|
|
|
@@ -42,10 +46,14 @@ class UnimplementedProvisioningServiceBase(ProvisioningServiceBase):
|
|
|
42
46
|
async def GetNetworkList(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse]') -> None:
|
|
43
47
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
44
48
|
|
|
49
|
+
async def ExitProvisioning(self, stream: 'grpclib.server.Stream[provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse]') -> None:
|
|
50
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
51
|
+
|
|
45
52
|
class ProvisioningServiceStub:
|
|
46
53
|
|
|
47
54
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
48
55
|
self.GetSmartMachineStatus = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus', provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest, provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse)
|
|
49
56
|
self.SetNetworkCredentials = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials', provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest, provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse)
|
|
50
57
|
self.SetSmartMachineCredentials = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials', provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest, provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse)
|
|
51
|
-
self.GetNetworkList = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetNetworkList', provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)
|
|
58
|
+
self.GetNetworkList = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/GetNetworkList', provisioning.v1.provisioning_pb2.GetNetworkListRequest, provisioning.v1.provisioning_pb2.GetNetworkListResponse)
|
|
59
|
+
self.ExitProvisioning = grpclib.client.UnaryUnaryMethod(channel, '/viam.provisioning.v1.ProvisioningService/ExitProvisioning', provisioning.v1.provisioning_pb2.ExitProvisioningRequest, provisioning.v1.provisioning_pb2.ExitProvisioningResponse)
|