boulder-opal-scale-up-sdk 1.0.4__py3-none-any.whl → 1.0.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {boulder_opal_scale_up_sdk-1.0.4.dist-info → boulder_opal_scale_up_sdk-1.0.6.dist-info}/METADATA +1 -1
- boulder_opal_scale_up_sdk-1.0.6.dist-info/RECORD +79 -0
- boulderopalscaleupsdk/agent/worker.py +36 -4
- boulderopalscaleupsdk/common/dtypes.py +41 -2
- boulderopalscaleupsdk/{stubs/__init__.py → constants.py} +3 -0
- boulderopalscaleupsdk/device/controller/qblox.py +94 -26
- boulderopalscaleupsdk/device/controller/quantum_machines.py +86 -17
- boulderopalscaleupsdk/device/device.py +5 -1
- boulderopalscaleupsdk/device/processor/common.py +3 -3
- boulderopalscaleupsdk/device/processor/superconducting_processor.py +23 -3
- boulderopalscaleupsdk/errors.py +21 -0
- boulderopalscaleupsdk/experiments/__init__.py +16 -2
- boulderopalscaleupsdk/experiments/chi01_scan.py +9 -7
- boulderopalscaleupsdk/experiments/cz_spectroscopy_by_bias.py +84 -0
- boulderopalscaleupsdk/experiments/drag_leakage_calibration.py +66 -0
- boulderopalscaleupsdk/experiments/fine_amplitude_calibration.py +54 -0
- boulderopalscaleupsdk/experiments/power_rabi.py +10 -7
- boulderopalscaleupsdk/experiments/power_rabi_ef.py +10 -9
- boulderopalscaleupsdk/experiments/ramsey.py +9 -7
- boulderopalscaleupsdk/experiments/ramsey_ef.py +62 -0
- boulderopalscaleupsdk/experiments/{readout_classifier_calibration.py → readout_classifier.py} +16 -6
- boulderopalscaleupsdk/experiments/readout_optimization.py +57 -0
- boulderopalscaleupsdk/experiments/resonator_spectroscopy.py +9 -7
- boulderopalscaleupsdk/experiments/resonator_spectroscopy_by_bias.py +12 -11
- boulderopalscaleupsdk/experiments/resonator_spectroscopy_by_power.py +10 -9
- boulderopalscaleupsdk/experiments/t1.py +8 -6
- boulderopalscaleupsdk/experiments/t2.py +12 -10
- boulderopalscaleupsdk/experiments/t2_echo.py +12 -10
- boulderopalscaleupsdk/experiments/transmon_anharmonicity.py +13 -12
- boulderopalscaleupsdk/experiments/transmon_spectroscopy.py +10 -8
- boulderopalscaleupsdk/experiments/voltage_bias_fine_tune.py +58 -0
- boulderopalscaleupsdk/experiments/zz_ramsey.py +59 -0
- boulderopalscaleupsdk/grpc_interceptors/error.py +318 -0
- boulderopalscaleupsdk/plotting/dtypes.py +10 -8
- boulderopalscaleupsdk/protobuf/v1/agent_pb2.py +9 -3
- boulderopalscaleupsdk/protobuf/v1/agent_pb2.pyi +14 -0
- boulderopalscaleupsdk/protobuf/v1/agent_pb2_grpc.py +34 -0
- boulderopalscaleupsdk/protobuf/v1/device_pb2.py +57 -49
- boulderopalscaleupsdk/protobuf/v1/device_pb2.pyi +67 -41
- boulderopalscaleupsdk/protobuf/v1/device_pb2_grpc.py +100 -66
- boulderopalscaleupsdk/protobuf/v1/job_pb2.py +47 -0
- boulderopalscaleupsdk/protobuf/v1/job_pb2.pyi +54 -0
- boulderopalscaleupsdk/protobuf/v1/job_pb2_grpc.py +138 -0
- boulderopalscaleupsdk/routines/__init__.py +10 -1
- boulderopalscaleupsdk/routines/one_qubit_calibration.py +36 -0
- boulderopalscaleupsdk/routines/resonator_mapping.py +1 -1
- boulderopalscaleupsdk/routines/transmon_coherence.py +34 -0
- boulderopalscaleupsdk/routines/transmon_discovery.py +5 -9
- boulderopalscaleupsdk/routines/transmon_retuning.py +13 -3
- boulderopalscaleupsdk/third_party/quantum_machines/__init__.py +1 -1
- boulderopalscaleupsdk/third_party/quantum_machines/config.py +51 -48
- boulder_opal_scale_up_sdk-1.0.4.dist-info/RECORD +0 -67
- boulderopalscaleupsdk/stubs/dtypes.py +0 -47
- boulderopalscaleupsdk/stubs/maps.py +0 -18
- {boulder_opal_scale_up_sdk-1.0.4.dist-info → boulder_opal_scale_up_sdk-1.0.6.dist-info}/LICENSE +0 -0
- {boulder_opal_scale_up_sdk-1.0.4.dist-info → boulder_opal_scale_up_sdk-1.0.6.dist-info}/WHEEL +0 -0
@@ -16,7 +16,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
16
16
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
17
17
|
|
18
18
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.boulderopalscaleupsdk/protobuf/v1/device.proto\x12!boulderopalscaleupsdk.protobuf.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.boulderopalscaleupsdk/protobuf/v1/device.proto\x12!boulderopalscaleupsdk.protobuf.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"b\n\x12SetSnapshotRequest\x12\x1f\n\x0b\x64\x65vice_name\x18\x01 \x01(\tR\ndeviceName\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x04\x64\x61ta\"P\n\x13SetSnapshotResponse\x12\x1f\n\x0b\x64\x65vice_name\x18\x01 \x01(\tR\ndeviceName\x12\x18\n\x07version\x18\x02 \x01(\x05R\x07version\"O\n\x12GetSnapshotRequest\x12\x1f\n\x0b\x64\x65vice_name\x18\x01 \x01(\tR\ndeviceName\x12\x18\n\x07version\x18\x02 \x01(\x05R\x07version\"B\n\x13GetSnapshotResponse\x12+\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x04\x64\x61ta\"\x85\x01\n\rCreateRequest\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12\x1f\n\x0b\x64\x65vice_name\x18\x02 \x01(\tR\ndeviceName\x12\x38\n\x0b\x64\x65vice_data\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\ndeviceData\"$\n\x0e\x43reateResponse\x12\x12\n\x04\x64one\x18\x01 \x01(\x08R\x04\x64one\"]\n\x0b\x43opyRequest\x12(\n\x10\x66rom_device_name\x18\x01 \x01(\tR\x0e\x66romDeviceName\x12$\n\x0eto_device_name\x18\x02 \x01(\tR\x0ctoDeviceName\"\"\n\x0c\x43opyResponse\x12\x12\n\x04\x64one\x18\x01 \x01(\x08R\x04\x64one\"L\n\x0eGetDataRequest\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12\x1f\n\x0b\x64\x65vice_name\x18\x02 \x01(\tR\ndeviceName\"\xc6\x01\n\x0fGetDataResponse\x12>\n\x0eprocessor_data\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\rprocessorData\x12@\n\x0f\x63ontroller_data\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x0e\x63ontrollerData\x12\x31\n\x07\x64\x65\x66\x63\x61ls\x18\x04 \x03(\x0b\x32\x17.google.protobuf.StructR\x07\x64\x65\x66\x63\x61ls\"\x8b\x01\n\rUpdateRequest\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12\x1f\n\x0b\x64\x65vice_name\x18\x02 \x01(\tR\ndeviceName\x12>\n\x0eprocessor_data\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\rprocessorData\"\x92\x01\n\x0eUpdateResponse\x12>\n\x0eprocessor_data\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\rprocessorData\x12@\n\x0f\x63ontroller_data\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x0e\x63ontrollerData\"K\n\rDeleteRequest\x12\x19\n\x08\x61pp_name\x18\x01 \x01(\tR\x07\x61ppName\x12\x1f\n\x0b\x64\x65vice_name\x18\x02 \x01(\tR\ndeviceName\"$\n\x0e\x44\x65leteResponse\x12\x12\n\x04\x64one\x18\x01 \x01(\x08R\x04\x64one\"5\n\x12GetMetadataRequest\x12\x1f\n\x0b\x64\x65vice_name\x18\x01 \x01(\tR\ndeviceName\"J\n\x13GetMetadataResponse\x12\x33\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\"\x1e\n\x1cGetAllDevicesMetadataRequest\"V\n\x1dGetAllDevicesMetadataResponse\x12\x35\n\tmetadatas\x18\x01 \x03(\x0b\x32\x17.google.protobuf.StructR\tmetadatas\"\x90\x01\n\x0bMaskRequest\x12\x44\n\x04mode\x18\x01 \x01(\x0e\x32\x30.boulderopalscaleupsdk.protobuf.v1.SelectionModeR\x04mode\x12\x1f\n\x0b\x64\x65vice_name\x18\x02 \x01(\tR\ndeviceName\x12\x1a\n\x08\x65lements\x18\x03 \x03(\tR\x08\x65lements\"\"\n\x0cMaskResponse\x12\x12\n\x04\x64one\x18\x01 \x01(\x08R\x04\x64one\"L\n\rUnmaskRequest\x12\x1f\n\x0b\x64\x65vice_name\x18\x01 \x01(\tR\ndeviceName\x12\x1a\n\x08\x65lements\x18\x02 \x03(\tR\x08\x65lements\"$\n\x0eUnmaskResponse\x12\x12\n\x04\x64one\x18\x01 \x01(\x08R\x04\x64one*a\n\rSelectionMode\x12\x1e\n\x1aSELECTION_MODE_UNSPECIFIED\x10\x00\x12\x18\n\x14SELECTION_MODE_ITEMS\x10\x01\x12\x16\n\x12SELECTION_MODE_ALL\x10\x02\x32\xb8\r\n\x14\x44\x65viceManagerService\x12\x8b\x01\n\x06\x43reate\x12\x30.boulderopalscaleupsdk.protobuf.v1.CreateRequest\x1a\x31.boulderopalscaleupsdk.protobuf.v1.CreateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/device/create:\x01*\x12\x83\x01\n\x04\x43opy\x12..boulderopalscaleupsdk.protobuf.v1.CopyRequest\x1a/.boulderopalscaleupsdk.protobuf.v1.CopyResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/v1/device/copy:\x01*\x12\x97\x01\n\x07GetData\x12\x31.boulderopalscaleupsdk.protobuf.v1.GetDataRequest\x1a\x32.boulderopalscaleupsdk.protobuf.v1.GetDataResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/device/get_device_data:\x01*\x12\x8b\x01\n\x06Update\x12\x30.boulderopalscaleupsdk.protobuf.v1.UpdateRequest\x1a\x31.boulderopalscaleupsdk.protobuf.v1.UpdateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/device/update:\x01*\x12\x83\x01\n\x04Mask\x12..boulderopalscaleupsdk.protobuf.v1.MaskRequest\x1a/.boulderopalscaleupsdk.protobuf.v1.MaskResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/v1/device/mask:\x01*\x12\x8b\x01\n\x06Unmask\x12\x30.boulderopalscaleupsdk.protobuf.v1.UnmaskRequest\x1a\x31.boulderopalscaleupsdk.protobuf.v1.UnmaskResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/device/unmask:\x01*\x12\x8b\x01\n\x06\x44\x65lete\x12\x30.boulderopalscaleupsdk.protobuf.v1.DeleteRequest\x1a\x31.boulderopalscaleupsdk.protobuf.v1.DeleteResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/device/delete:\x01*\x12\xa7\x01\n\x0bGetMetadata\x12\x35.boulderopalscaleupsdk.protobuf.v1.GetMetadataRequest\x1a\x36.boulderopalscaleupsdk.protobuf.v1.GetMetadataResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/device/get_device_metadata:\x01*\x12\xd1\x01\n\x15GetAllDevicesMetadata\x12?.boulderopalscaleupsdk.protobuf.v1.GetAllDevicesMetadataRequest\x1a@.boulderopalscaleupsdk.protobuf.v1.GetAllDevicesMetadataResponse\"5\x82\xd3\xe4\x93\x02/\"*/v1/device/get_all_devices_metadata_by_org:\x01*\x12\xa0\x01\n\x0bGetSnapshot\x12\x35.boulderopalscaleupsdk.protobuf.v1.GetSnapshotRequest\x1a\x36.boulderopalscaleupsdk.protobuf.v1.GetSnapshotResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/v1/device/get_snapshot:\x01*\x12\xa0\x01\n\x0bSetSnapshot\x12\x35.boulderopalscaleupsdk.protobuf.v1.SetSnapshotRequest\x1a\x36.boulderopalscaleupsdk.protobuf.v1.SetSnapshotResponse\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/v1/device/set_snapshot:\x01*B\xaa\x02\n%com.boulderopalscaleupsdk.protobuf.v1B\x0b\x44\x65viceProtoP\x01ZNgithub.com/qctrl/boulder-opal-scale-up/proto/boulderopalscaleupsdk/protobuf/v1\xa2\x02\x03\x42PX\xaa\x02!Boulderopalscaleupsdk.Protobuf.V1\xca\x02!Boulderopalscaleupsdk\\Protobuf\\V1\xe2\x02-Boulderopalscaleupsdk\\Protobuf\\V1\\GPBMetadata\xea\x02#Boulderopalscaleupsdk::Protobuf::V1b\x06proto3')
|
20
20
|
|
21
21
|
_globals = globals()
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -32,58 +32,66 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
32
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetData']._serialized_options = b'\202\323\344\223\002\037\"\032/v1/device/get_device_data:\001*'
|
33
33
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Update']._loaded_options = None
|
34
34
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Update']._serialized_options = b'\202\323\344\223\002\026\"\021/v1/device/update:\001*'
|
35
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Mask']._loaded_options = None
|
36
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Mask']._serialized_options = b'\202\323\344\223\002\024\"\017/v1/device/mask:\001*'
|
37
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Unmask']._loaded_options = None
|
38
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Unmask']._serialized_options = b'\202\323\344\223\002\026\"\021/v1/device/unmask:\001*'
|
35
39
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Delete']._loaded_options = None
|
36
40
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002\026\"\021/v1/device/delete:\001*'
|
37
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['ListJobs']._loaded_options = None
|
38
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['ListJobs']._serialized_options = b'\202\323\344\223\002\031\"\024/v1/device/list_jobs:\001*'
|
39
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetJob']._loaded_options = None
|
40
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetJob']._serialized_options = b'\202\323\344\223\002\027\"\022/v1/device/get_job:\001*'
|
41
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetJobSummary']._loaded_options = None
|
42
|
-
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetJobSummary']._serialized_options = b'\202\323\344\223\002\037\"\032/v1/device/get_job_summary:\001*'
|
43
41
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetMetadata']._loaded_options = None
|
44
42
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetMetadata']._serialized_options = b'\202\323\344\223\002#\"\036/v1/device/get_device_metadata:\001*'
|
45
43
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetAllDevicesMetadata']._loaded_options = None
|
46
44
|
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetAllDevicesMetadata']._serialized_options = b'\202\323\344\223\002/\"*/v1/device/get_all_devices_metadata_by_org:\001*'
|
47
|
-
_globals['
|
48
|
-
_globals['
|
49
|
-
_globals['
|
50
|
-
_globals['
|
51
|
-
_globals['
|
52
|
-
_globals['
|
53
|
-
_globals['
|
54
|
-
_globals['
|
55
|
-
_globals['
|
56
|
-
_globals['
|
57
|
-
_globals['
|
58
|
-
_globals['
|
59
|
-
_globals['
|
60
|
-
_globals['
|
61
|
-
_globals['
|
62
|
-
_globals['
|
63
|
-
_globals['
|
64
|
-
_globals['
|
65
|
-
_globals['
|
66
|
-
_globals['
|
67
|
-
_globals['
|
68
|
-
_globals['
|
69
|
-
_globals['
|
70
|
-
_globals['
|
71
|
-
_globals['
|
72
|
-
_globals['
|
73
|
-
_globals['
|
74
|
-
_globals['
|
75
|
-
_globals['
|
76
|
-
_globals['
|
77
|
-
_globals['
|
78
|
-
_globals['
|
79
|
-
_globals['
|
80
|
-
_globals['
|
81
|
-
_globals['
|
82
|
-
_globals['
|
83
|
-
_globals['
|
84
|
-
_globals['
|
85
|
-
_globals['
|
86
|
-
_globals['
|
87
|
-
_globals['
|
88
|
-
_globals['
|
45
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetSnapshot']._loaded_options = None
|
46
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['GetSnapshot']._serialized_options = b'\202\323\344\223\002\034\"\027/v1/device/get_snapshot:\001*'
|
47
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['SetSnapshot']._loaded_options = None
|
48
|
+
_globals['_DEVICEMANAGERSERVICE'].methods_by_name['SetSnapshot']._serialized_options = b'\202\323\344\223\002\034\"\027/v1/device/set_snapshot:\001*'
|
49
|
+
_globals['_SELECTIONMODE']._serialized_start=2016
|
50
|
+
_globals['_SELECTIONMODE']._serialized_end=2113
|
51
|
+
_globals['_SETSNAPSHOTREQUEST']._serialized_start=145
|
52
|
+
_globals['_SETSNAPSHOTREQUEST']._serialized_end=243
|
53
|
+
_globals['_SETSNAPSHOTRESPONSE']._serialized_start=245
|
54
|
+
_globals['_SETSNAPSHOTRESPONSE']._serialized_end=325
|
55
|
+
_globals['_GETSNAPSHOTREQUEST']._serialized_start=327
|
56
|
+
_globals['_GETSNAPSHOTREQUEST']._serialized_end=406
|
57
|
+
_globals['_GETSNAPSHOTRESPONSE']._serialized_start=408
|
58
|
+
_globals['_GETSNAPSHOTRESPONSE']._serialized_end=474
|
59
|
+
_globals['_CREATEREQUEST']._serialized_start=477
|
60
|
+
_globals['_CREATEREQUEST']._serialized_end=610
|
61
|
+
_globals['_CREATERESPONSE']._serialized_start=612
|
62
|
+
_globals['_CREATERESPONSE']._serialized_end=648
|
63
|
+
_globals['_COPYREQUEST']._serialized_start=650
|
64
|
+
_globals['_COPYREQUEST']._serialized_end=743
|
65
|
+
_globals['_COPYRESPONSE']._serialized_start=745
|
66
|
+
_globals['_COPYRESPONSE']._serialized_end=779
|
67
|
+
_globals['_GETDATAREQUEST']._serialized_start=781
|
68
|
+
_globals['_GETDATAREQUEST']._serialized_end=857
|
69
|
+
_globals['_GETDATARESPONSE']._serialized_start=860
|
70
|
+
_globals['_GETDATARESPONSE']._serialized_end=1058
|
71
|
+
_globals['_UPDATEREQUEST']._serialized_start=1061
|
72
|
+
_globals['_UPDATEREQUEST']._serialized_end=1200
|
73
|
+
_globals['_UPDATERESPONSE']._serialized_start=1203
|
74
|
+
_globals['_UPDATERESPONSE']._serialized_end=1349
|
75
|
+
_globals['_DELETEREQUEST']._serialized_start=1351
|
76
|
+
_globals['_DELETEREQUEST']._serialized_end=1426
|
77
|
+
_globals['_DELETERESPONSE']._serialized_start=1428
|
78
|
+
_globals['_DELETERESPONSE']._serialized_end=1464
|
79
|
+
_globals['_GETMETADATAREQUEST']._serialized_start=1466
|
80
|
+
_globals['_GETMETADATAREQUEST']._serialized_end=1519
|
81
|
+
_globals['_GETMETADATARESPONSE']._serialized_start=1521
|
82
|
+
_globals['_GETMETADATARESPONSE']._serialized_end=1595
|
83
|
+
_globals['_GETALLDEVICESMETADATAREQUEST']._serialized_start=1597
|
84
|
+
_globals['_GETALLDEVICESMETADATAREQUEST']._serialized_end=1627
|
85
|
+
_globals['_GETALLDEVICESMETADATARESPONSE']._serialized_start=1629
|
86
|
+
_globals['_GETALLDEVICESMETADATARESPONSE']._serialized_end=1715
|
87
|
+
_globals['_MASKREQUEST']._serialized_start=1718
|
88
|
+
_globals['_MASKREQUEST']._serialized_end=1862
|
89
|
+
_globals['_MASKRESPONSE']._serialized_start=1864
|
90
|
+
_globals['_MASKRESPONSE']._serialized_end=1898
|
91
|
+
_globals['_UNMASKREQUEST']._serialized_start=1900
|
92
|
+
_globals['_UNMASKREQUEST']._serialized_end=1976
|
93
|
+
_globals['_UNMASKRESPONSE']._serialized_start=1978
|
94
|
+
_globals['_UNMASKRESPONSE']._serialized_end=2014
|
95
|
+
_globals['_DEVICEMANAGERSERVICE']._serialized_start=2116
|
96
|
+
_globals['_DEVICEMANAGERSERVICE']._serialized_end=3836
|
89
97
|
# @@protoc_insertion_point(module_scope)
|
@@ -1,55 +1,51 @@
|
|
1
1
|
from google.api import annotations_pb2 as _annotations_pb2
|
2
2
|
from google.protobuf import struct_pb2 as _struct_pb2
|
3
3
|
from google.protobuf.internal import containers as _containers
|
4
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
4
5
|
from google.protobuf import descriptor as _descriptor
|
5
6
|
from google.protobuf import message as _message
|
6
7
|
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
7
8
|
|
8
9
|
DESCRIPTOR: _descriptor.FileDescriptor
|
9
10
|
|
10
|
-
class
|
11
|
-
__slots__ = (
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
11
|
+
class SelectionMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
12
|
+
__slots__ = ()
|
13
|
+
SELECTION_MODE_UNSPECIFIED: _ClassVar[SelectionMode]
|
14
|
+
SELECTION_MODE_ITEMS: _ClassVar[SelectionMode]
|
15
|
+
SELECTION_MODE_ALL: _ClassVar[SelectionMode]
|
16
|
+
SELECTION_MODE_UNSPECIFIED: SelectionMode
|
17
|
+
SELECTION_MODE_ITEMS: SelectionMode
|
18
|
+
SELECTION_MODE_ALL: SelectionMode
|
19
|
+
|
20
|
+
class SetSnapshotRequest(_message.Message):
|
21
|
+
__slots__ = ("device_name", "data")
|
22
|
+
DEVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
23
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
24
|
+
device_name: str
|
25
|
+
data: _struct_pb2.Struct
|
26
|
+
def __init__(self, device_name: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
27
|
+
|
28
|
+
class SetSnapshotResponse(_message.Message):
|
29
|
+
__slots__ = ("device_name", "version")
|
30
|
+
DEVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
31
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
32
|
+
device_name: str
|
33
|
+
version: int
|
34
|
+
def __init__(self, device_name: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
|
35
|
+
|
36
|
+
class GetSnapshotRequest(_message.Message):
|
37
|
+
__slots__ = ("device_name", "version")
|
36
38
|
DEVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
37
|
-
|
38
|
-
PAGE_FIELD_NUMBER: _ClassVar[int]
|
39
|
-
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
40
|
-
SORT_ORDER_FIELD_NUMBER: _ClassVar[int]
|
39
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
41
40
|
device_name: str
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
JOBS_FIELD_NUMBER: _ClassVar[int]
|
51
|
-
jobs: _containers.RepeatedCompositeFieldContainer[_struct_pb2.Struct]
|
52
|
-
def __init__(self, jobs: _Optional[_Iterable[_Union[_struct_pb2.Struct, _Mapping]]] = ...) -> None: ...
|
41
|
+
version: int
|
42
|
+
def __init__(self, device_name: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
|
43
|
+
|
44
|
+
class GetSnapshotResponse(_message.Message):
|
45
|
+
__slots__ = ("data",)
|
46
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
47
|
+
data: _struct_pb2.Struct
|
48
|
+
def __init__(self, data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
53
49
|
|
54
50
|
class CreateRequest(_message.Message):
|
55
51
|
__slots__ = ("app_name", "device_name", "device_data")
|
@@ -152,3 +148,33 @@ class GetAllDevicesMetadataResponse(_message.Message):
|
|
152
148
|
METADATAS_FIELD_NUMBER: _ClassVar[int]
|
153
149
|
metadatas: _containers.RepeatedCompositeFieldContainer[_struct_pb2.Struct]
|
154
150
|
def __init__(self, metadatas: _Optional[_Iterable[_Union[_struct_pb2.Struct, _Mapping]]] = ...) -> None: ...
|
151
|
+
|
152
|
+
class MaskRequest(_message.Message):
|
153
|
+
__slots__ = ("mode", "device_name", "elements")
|
154
|
+
MODE_FIELD_NUMBER: _ClassVar[int]
|
155
|
+
DEVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
156
|
+
ELEMENTS_FIELD_NUMBER: _ClassVar[int]
|
157
|
+
mode: SelectionMode
|
158
|
+
device_name: str
|
159
|
+
elements: _containers.RepeatedScalarFieldContainer[str]
|
160
|
+
def __init__(self, mode: _Optional[_Union[SelectionMode, str]] = ..., device_name: _Optional[str] = ..., elements: _Optional[_Iterable[str]] = ...) -> None: ...
|
161
|
+
|
162
|
+
class MaskResponse(_message.Message):
|
163
|
+
__slots__ = ("done",)
|
164
|
+
DONE_FIELD_NUMBER: _ClassVar[int]
|
165
|
+
done: bool
|
166
|
+
def __init__(self, done: bool = ...) -> None: ...
|
167
|
+
|
168
|
+
class UnmaskRequest(_message.Message):
|
169
|
+
__slots__ = ("device_name", "elements")
|
170
|
+
DEVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
171
|
+
ELEMENTS_FIELD_NUMBER: _ClassVar[int]
|
172
|
+
device_name: str
|
173
|
+
elements: _containers.RepeatedScalarFieldContainer[str]
|
174
|
+
def __init__(self, device_name: _Optional[str] = ..., elements: _Optional[_Iterable[str]] = ...) -> None: ...
|
175
|
+
|
176
|
+
class UnmaskResponse(_message.Message):
|
177
|
+
__slots__ = ("done",)
|
178
|
+
DONE_FIELD_NUMBER: _ClassVar[int]
|
179
|
+
done: bool
|
180
|
+
def __init__(self, done: bool = ...) -> None: ...
|
@@ -35,26 +35,21 @@ class DeviceManagerServiceStub(object):
|
|
35
35
|
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UpdateRequest.SerializeToString,
|
36
36
|
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UpdateResponse.FromString,
|
37
37
|
)
|
38
|
+
self.Mask = channel.unary_unary(
|
39
|
+
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Mask',
|
40
|
+
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskRequest.SerializeToString,
|
41
|
+
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskResponse.FromString,
|
42
|
+
)
|
43
|
+
self.Unmask = channel.unary_unary(
|
44
|
+
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Unmask',
|
45
|
+
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskRequest.SerializeToString,
|
46
|
+
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskResponse.FromString,
|
47
|
+
)
|
38
48
|
self.Delete = channel.unary_unary(
|
39
49
|
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Delete',
|
40
50
|
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteRequest.SerializeToString,
|
41
51
|
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteResponse.FromString,
|
42
52
|
)
|
43
|
-
self.ListJobs = channel.unary_unary(
|
44
|
-
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/ListJobs',
|
45
|
-
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.ListJobsRequest.SerializeToString,
|
46
|
-
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.ListJobsResponse.FromString,
|
47
|
-
)
|
48
|
-
self.GetJob = channel.unary_unary(
|
49
|
-
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetJob',
|
50
|
-
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobRequest.SerializeToString,
|
51
|
-
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobResponse.FromString,
|
52
|
-
)
|
53
|
-
self.GetJobSummary = channel.unary_unary(
|
54
|
-
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetJobSummary',
|
55
|
-
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobSummaryRequest.SerializeToString,
|
56
|
-
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobSummaryResponse.FromString,
|
57
|
-
)
|
58
53
|
self.GetMetadata = channel.unary_unary(
|
59
54
|
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetMetadata',
|
60
55
|
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetMetadataRequest.SerializeToString,
|
@@ -65,6 +60,16 @@ class DeviceManagerServiceStub(object):
|
|
65
60
|
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataRequest.SerializeToString,
|
66
61
|
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataResponse.FromString,
|
67
62
|
)
|
63
|
+
self.GetSnapshot = channel.unary_unary(
|
64
|
+
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetSnapshot',
|
65
|
+
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotRequest.SerializeToString,
|
66
|
+
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotResponse.FromString,
|
67
|
+
)
|
68
|
+
self.SetSnapshot = channel.unary_unary(
|
69
|
+
'/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/SetSnapshot',
|
70
|
+
request_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotRequest.SerializeToString,
|
71
|
+
response_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotResponse.FromString,
|
72
|
+
)
|
68
73
|
|
69
74
|
|
70
75
|
class DeviceManagerServiceServicer(object):
|
@@ -99,43 +104,50 @@ class DeviceManagerServiceServicer(object):
|
|
99
104
|
context.set_details('Method not implemented!')
|
100
105
|
raise NotImplementedError('Method not implemented!')
|
101
106
|
|
102
|
-
def
|
103
|
-
"""
|
107
|
+
def Mask(self, request, context):
|
108
|
+
"""Mask elements on device.
|
104
109
|
"""
|
105
110
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
106
111
|
context.set_details('Method not implemented!')
|
107
112
|
raise NotImplementedError('Method not implemented!')
|
108
113
|
|
109
|
-
def
|
110
|
-
"""
|
114
|
+
def Unmask(self, request, context):
|
115
|
+
"""Unmask elements on device.
|
111
116
|
"""
|
112
117
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
113
118
|
context.set_details('Method not implemented!')
|
114
119
|
raise NotImplementedError('Method not implemented!')
|
115
120
|
|
116
|
-
def
|
117
|
-
"""
|
121
|
+
def Delete(self, request, context):
|
122
|
+
"""Delete the device and controller states.
|
118
123
|
"""
|
119
124
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
120
125
|
context.set_details('Method not implemented!')
|
121
126
|
raise NotImplementedError('Method not implemented!')
|
122
127
|
|
123
|
-
def
|
124
|
-
"""Fetch the
|
128
|
+
def GetMetadata(self, request, context):
|
129
|
+
"""Fetch the metadata for the given device.
|
125
130
|
"""
|
126
131
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
127
132
|
context.set_details('Method not implemented!')
|
128
133
|
raise NotImplementedError('Method not implemented!')
|
129
134
|
|
130
|
-
def
|
131
|
-
"""Fetch
|
135
|
+
def GetAllDevicesMetadata(self, request, context):
|
136
|
+
"""Fetch information about all devices in this session.
|
132
137
|
"""
|
133
138
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
134
139
|
context.set_details('Method not implemented!')
|
135
140
|
raise NotImplementedError('Method not implemented!')
|
136
141
|
|
137
|
-
def
|
138
|
-
"""
|
142
|
+
def GetSnapshot(self, request, context):
|
143
|
+
"""Get a snapshot of a device
|
144
|
+
"""
|
145
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
146
|
+
context.set_details('Method not implemented!')
|
147
|
+
raise NotImplementedError('Method not implemented!')
|
148
|
+
|
149
|
+
def SetSnapshot(self, request, context):
|
150
|
+
"""Set a device state using a snapshot
|
139
151
|
"""
|
140
152
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
141
153
|
context.set_details('Method not implemented!')
|
@@ -164,26 +176,21 @@ def add_DeviceManagerServiceServicer_to_server(servicer, server):
|
|
164
176
|
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UpdateRequest.FromString,
|
165
177
|
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UpdateResponse.SerializeToString,
|
166
178
|
),
|
179
|
+
'Mask': grpc.unary_unary_rpc_method_handler(
|
180
|
+
servicer.Mask,
|
181
|
+
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskRequest.FromString,
|
182
|
+
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskResponse.SerializeToString,
|
183
|
+
),
|
184
|
+
'Unmask': grpc.unary_unary_rpc_method_handler(
|
185
|
+
servicer.Unmask,
|
186
|
+
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskRequest.FromString,
|
187
|
+
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskResponse.SerializeToString,
|
188
|
+
),
|
167
189
|
'Delete': grpc.unary_unary_rpc_method_handler(
|
168
190
|
servicer.Delete,
|
169
191
|
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteRequest.FromString,
|
170
192
|
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteResponse.SerializeToString,
|
171
193
|
),
|
172
|
-
'ListJobs': grpc.unary_unary_rpc_method_handler(
|
173
|
-
servicer.ListJobs,
|
174
|
-
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.ListJobsRequest.FromString,
|
175
|
-
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.ListJobsResponse.SerializeToString,
|
176
|
-
),
|
177
|
-
'GetJob': grpc.unary_unary_rpc_method_handler(
|
178
|
-
servicer.GetJob,
|
179
|
-
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobRequest.FromString,
|
180
|
-
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobResponse.SerializeToString,
|
181
|
-
),
|
182
|
-
'GetJobSummary': grpc.unary_unary_rpc_method_handler(
|
183
|
-
servicer.GetJobSummary,
|
184
|
-
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobSummaryRequest.FromString,
|
185
|
-
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetJobSummaryResponse.SerializeToString,
|
186
|
-
),
|
187
194
|
'GetMetadata': grpc.unary_unary_rpc_method_handler(
|
188
195
|
servicer.GetMetadata,
|
189
196
|
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetMetadataRequest.FromString,
|
@@ -194,6 +201,16 @@ def add_DeviceManagerServiceServicer_to_server(servicer, server):
|
|
194
201
|
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataRequest.FromString,
|
195
202
|
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataResponse.SerializeToString,
|
196
203
|
),
|
204
|
+
'GetSnapshot': grpc.unary_unary_rpc_method_handler(
|
205
|
+
servicer.GetSnapshot,
|
206
|
+
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotRequest.FromString,
|
207
|
+
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotResponse.SerializeToString,
|
208
|
+
),
|
209
|
+
'SetSnapshot': grpc.unary_unary_rpc_method_handler(
|
210
|
+
servicer.SetSnapshot,
|
211
|
+
request_deserializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotRequest.FromString,
|
212
|
+
response_serializer=boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotResponse.SerializeToString,
|
213
|
+
),
|
197
214
|
}
|
198
215
|
generic_handler = grpc.method_handlers_generic_handler(
|
199
216
|
'boulderopalscaleupsdk.protobuf.v1.DeviceManagerService', rpc_method_handlers)
|
@@ -274,7 +291,7 @@ class DeviceManagerService(object):
|
|
274
291
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
275
292
|
|
276
293
|
@staticmethod
|
277
|
-
def
|
294
|
+
def Mask(request,
|
278
295
|
target,
|
279
296
|
options=(),
|
280
297
|
channel_credentials=None,
|
@@ -284,14 +301,14 @@ class DeviceManagerService(object):
|
|
284
301
|
wait_for_ready=None,
|
285
302
|
timeout=None,
|
286
303
|
metadata=None):
|
287
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
288
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
289
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
304
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Mask',
|
305
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskRequest.SerializeToString,
|
306
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.MaskResponse.FromString,
|
290
307
|
options, channel_credentials,
|
291
308
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
292
309
|
|
293
310
|
@staticmethod
|
294
|
-
def
|
311
|
+
def Unmask(request,
|
295
312
|
target,
|
296
313
|
options=(),
|
297
314
|
channel_credentials=None,
|
@@ -301,14 +318,14 @@ class DeviceManagerService(object):
|
|
301
318
|
wait_for_ready=None,
|
302
319
|
timeout=None,
|
303
320
|
metadata=None):
|
304
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
305
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
306
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
321
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Unmask',
|
322
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskRequest.SerializeToString,
|
323
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.UnmaskResponse.FromString,
|
307
324
|
options, channel_credentials,
|
308
325
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
309
326
|
|
310
327
|
@staticmethod
|
311
|
-
def
|
328
|
+
def Delete(request,
|
312
329
|
target,
|
313
330
|
options=(),
|
314
331
|
channel_credentials=None,
|
@@ -318,14 +335,14 @@ class DeviceManagerService(object):
|
|
318
335
|
wait_for_ready=None,
|
319
336
|
timeout=None,
|
320
337
|
metadata=None):
|
321
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
322
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
323
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
338
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/Delete',
|
339
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteRequest.SerializeToString,
|
340
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.DeleteResponse.FromString,
|
324
341
|
options, channel_credentials,
|
325
342
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
326
343
|
|
327
344
|
@staticmethod
|
328
|
-
def
|
345
|
+
def GetMetadata(request,
|
329
346
|
target,
|
330
347
|
options=(),
|
331
348
|
channel_credentials=None,
|
@@ -335,14 +352,14 @@ class DeviceManagerService(object):
|
|
335
352
|
wait_for_ready=None,
|
336
353
|
timeout=None,
|
337
354
|
metadata=None):
|
338
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
339
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
340
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
355
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetMetadata',
|
356
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetMetadataRequest.SerializeToString,
|
357
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetMetadataResponse.FromString,
|
341
358
|
options, channel_credentials,
|
342
359
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
343
360
|
|
344
361
|
@staticmethod
|
345
|
-
def
|
362
|
+
def GetAllDevicesMetadata(request,
|
346
363
|
target,
|
347
364
|
options=(),
|
348
365
|
channel_credentials=None,
|
@@ -352,14 +369,14 @@ class DeviceManagerService(object):
|
|
352
369
|
wait_for_ready=None,
|
353
370
|
timeout=None,
|
354
371
|
metadata=None):
|
355
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
356
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
357
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
372
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetAllDevicesMetadata',
|
373
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataRequest.SerializeToString,
|
374
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetAllDevicesMetadataResponse.FromString,
|
358
375
|
options, channel_credentials,
|
359
376
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
360
377
|
|
361
378
|
@staticmethod
|
362
|
-
def
|
379
|
+
def GetSnapshot(request,
|
363
380
|
target,
|
364
381
|
options=(),
|
365
382
|
channel_credentials=None,
|
@@ -369,8 +386,25 @@ class DeviceManagerService(object):
|
|
369
386
|
wait_for_ready=None,
|
370
387
|
timeout=None,
|
371
388
|
metadata=None):
|
372
|
-
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/
|
373
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
374
|
-
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.
|
389
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/GetSnapshot',
|
390
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotRequest.SerializeToString,
|
391
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.GetSnapshotResponse.FromString,
|
392
|
+
options, channel_credentials,
|
393
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
394
|
+
|
395
|
+
@staticmethod
|
396
|
+
def SetSnapshot(request,
|
397
|
+
target,
|
398
|
+
options=(),
|
399
|
+
channel_credentials=None,
|
400
|
+
call_credentials=None,
|
401
|
+
insecure=False,
|
402
|
+
compression=None,
|
403
|
+
wait_for_ready=None,
|
404
|
+
timeout=None,
|
405
|
+
metadata=None):
|
406
|
+
return grpc.experimental.unary_unary(request, target, '/boulderopalscaleupsdk.protobuf.v1.DeviceManagerService/SetSnapshot',
|
407
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotRequest.SerializeToString,
|
408
|
+
boulderopalscaleupsdk_dot_protobuf_dot_v1_dot_device__pb2.SetSnapshotResponse.FromString,
|
375
409
|
options, channel_credentials,
|
376
410
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|