Skip to content

Commit 718c881

Browse files
Automated Protos Update (#856)
Co-authored-by: viambot <viambot@users.noreply.github.com>
1 parent 9c661a3 commit 718c881

File tree

63 files changed

+956
-805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+956
-805
lines changed

src/viam/gen/app/agent/v1/agent_pb2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from google.protobuf import runtime_version as _runtime_version
55
from google.protobuf import symbol_database as _symbol_database
66
from google.protobuf.internal import builder as _builder
7-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/agent/v1/agent.proto')
7+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/agent/v1/agent.proto')
88
_sym_db = _symbol_database.Default()
99
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
1010
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2

src/viam/gen/app/cloudslam/v1/cloud_slam_pb2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from google.protobuf import runtime_version as _runtime_version
55
from google.protobuf import symbol_database as _symbol_database
66
from google.protobuf.internal import builder as _builder
7-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/cloudslam/v1/cloud_slam.proto')
7+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/cloudslam/v1/cloud_slam.proto')
88
_sym_db = _symbol_database.Default()
99
from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
1010
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2

src/viam/gen/app/data/v1/data_pb2.py

Lines changed: 83 additions & 83 deletions
Large diffs are not rendered by default.

src/viam/gen/app/data/v1/data_pb2.pyi

Lines changed: 58 additions & 20 deletions
Large diffs are not rendered by default.

src/viam/gen/app/dataset/v1/dataset_pb2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from google.protobuf import runtime_version as _runtime_version
55
from google.protobuf import symbol_database as _symbol_database
66
from google.protobuf.internal import builder as _builder
7-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/dataset/v1/dataset.proto')
7+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/dataset/v1/dataset.proto')
88
_sym_db = _symbol_database.Default()
99
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
1010
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1capp/dataset/v1/dataset.proto\x12\x13viam.app.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x95\x01\n\x07Dataset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12=\n\x0ctime_created\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0btimeCreated"S\n\x14CreateDatasetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\'\n\x15CreateDatasetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"&\n\x14DeleteDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x17\n\x15DeleteDatasetResponse":\n\x14RenameDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"\x17\n\x15RenameDatasetResponse"N\n#ListDatasetsByOrganizationIDRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"`\n$ListDatasetsByOrganizationIDResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\x08datasets",\n\x18ListDatasetsByIDsRequest\x12\x10\n\x03ids\x18\x01 \x03(\tR\x03ids"U\n\x19ListDatasetsByIDsResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\x08datasets2\xd2\x04\n\x0eDatasetService\x12f\n\rCreateDataset\x12).viam.app.dataset.v1.CreateDatasetRequest\x1a*.viam.app.dataset.v1.CreateDatasetResponse\x12f\n\rDeleteDataset\x12).viam.app.dataset.v1.DeleteDatasetRequest\x1a*.viam.app.dataset.v1.DeleteDatasetResponse\x12f\n\rRenameDataset\x12).viam.app.dataset.v1.RenameDatasetRequest\x1a*.viam.app.dataset.v1.RenameDatasetResponse\x12\x93\x01\n\x1cListDatasetsByOrganizationID\x128.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest\x1a9.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse\x12r\n\x11ListDatasetsByIDs\x12-.viam.app.dataset.v1.ListDatasetsByIDsRequest\x1a..viam.app.dataset.v1.ListDatasetsByIDsResponseB Z\x1ego.viam.com/api/app/dataset/v1b\x06proto3')

src/viam/gen/app/datasync/v1/data_sync_pb2.py

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.

src/viam/gen/app/datasync/v1/data_sync_pb2.pyi

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,14 @@ class DataCaptureUploadResponse(google.protobuf.message.Message):
8888
"""DataCaptureUploadResponse returns the file id of the uploaded contents and metadata for tabular data."""
8989
DESCRIPTOR: google.protobuf.descriptor.Descriptor
9090
FILE_ID_FIELD_NUMBER: builtins.int
91+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
9192
file_id: builtins.str
93+
binary_data_id: builtins.str
9294

93-
def __init__(self, *, file_id: builtins.str=...) -> None:
95+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
9496
...
9597

96-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
98+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
9799
...
98100
global___DataCaptureUploadResponse = DataCaptureUploadResponse
99101

@@ -132,12 +134,14 @@ class FileUploadResponse(google.protobuf.message.Message):
132134
"""FileUploadResponse returns the file id of the uploaded contents and metadata for binary (image + file) data."""
133135
DESCRIPTOR: google.protobuf.descriptor.Descriptor
134136
FILE_ID_FIELD_NUMBER: builtins.int
137+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
135138
file_id: builtins.str
139+
binary_data_id: builtins.str
136140

137-
def __init__(self, *, file_id: builtins.str=...) -> None:
141+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
138142
...
139143

140-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
144+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
141145
...
142146
global___FileUploadResponse = FileUploadResponse
143147

@@ -173,12 +177,14 @@ class StreamingDataCaptureUploadResponse(google.protobuf.message.Message):
173177
"""StreamingDataCaptureUploadResponse returns the file id of the uploaded contents and metadata for streaming binary (image + file) data."""
174178
DESCRIPTOR: google.protobuf.descriptor.Descriptor
175179
FILE_ID_FIELD_NUMBER: builtins.int
180+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
176181
file_id: builtins.str
182+
binary_data_id: builtins.str
177183

178-
def __init__(self, *, file_id: builtins.str=...) -> None:
184+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
179185
...
180186

181-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
187+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
182188
...
183189
global___StreamingDataCaptureUploadResponse = StreamingDataCaptureUploadResponse
184190

src/viam/gen/app/mlinference/v1/ml_inference_pb2.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
from google.protobuf import runtime_version as _runtime_version
55
from google.protobuf import symbol_database as _symbol_database
66
from google.protobuf.internal import builder as _builder
7-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/mlinference/v1/ml_inference.proto')
7+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/mlinference/v1/ml_inference.proto')
88
_sym_db = _symbol_database.Default()
99
from ....app.data.v1 import data_pb2 as app_dot_data_dot_v1_dot_data__pb2
1010
from ....service.mlmodel.v1 import mlmodel_pb2 as service_dot_mlmodel_dot_v1_dot_mlmodel__pb2
11-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%app/mlinference/v1/ml_inference.proto\x12\x17viam.app.mlinference.v1\x1a\x16app/data/v1/data.proto\x1a service/mlmodel/v1/mlmodel.proto"\xd5\x01\n\x13GetInferenceRequest\x12(\n\x10registry_item_id\x18\x01 \x01(\tR\x0eregistryItemId\x122\n\x15registry_item_version\x18\x02 \x01(\tR\x13registryItemVersion\x127\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId"\xa4\x01\n\x14GetInferenceResponse\x12K\n\x0eoutput_tensors\x18\x01 \x01(\x0b2$.viam.service.mlmodel.v1.FlatTensorsR\routputTensors\x12?\n\x0bannotations\x18\x02 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations2\x81\x01\n\x12MLInferenceService\x12k\n\x0cGetInference\x12,.viam.app.mlinference.v1.GetInferenceRequest\x1a-.viam.app.mlinference.v1.GetInferenceResponseB$Z"go.viam.com/api/app/mlinference/v1b\x06proto3')
11+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%app/mlinference/v1/ml_inference.proto\x12\x17viam.app.mlinference.v1\x1a\x16app/data/v1/data.proto\x1a service/mlmodel/v1/mlmodel.proto"\xfb\x01\n\x13GetInferenceRequest\x12(\n\x10registry_item_id\x18\x01 \x01(\tR\x0eregistryItemId\x122\n\x15registry_item_version\x18\x02 \x01(\tR\x13registryItemVersion\x127\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\x12$\n\x0ebinary_data_id\x18\x05 \x01(\tR\x0cbinaryDataId\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId"\xa4\x01\n\x14GetInferenceResponse\x12K\n\x0eoutput_tensors\x18\x01 \x01(\x0b2$.viam.service.mlmodel.v1.FlatTensorsR\routputTensors\x12?\n\x0bannotations\x18\x02 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations2\x81\x01\n\x12MLInferenceService\x12k\n\x0cGetInference\x12,.viam.app.mlinference.v1.GetInferenceRequest\x1a-.viam.app.mlinference.v1.GetInferenceResponseB$Z"go.viam.com/api/app/mlinference/v1b\x06proto3')
1212
_globals = globals()
1313
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
1414
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.mlinference.v1.ml_inference_pb2', _globals)
1515
if not _descriptor._USE_C_DESCRIPTORS:
1616
_globals['DESCRIPTOR']._loaded_options = None
1717
_globals['DESCRIPTOR']._serialized_options = b'Z"go.viam.com/api/app/mlinference/v1'
1818
_globals['_GETINFERENCEREQUEST']._serialized_start = 125
19-
_globals['_GETINFERENCEREQUEST']._serialized_end = 338
20-
_globals['_GETINFERENCERESPONSE']._serialized_start = 341
21-
_globals['_GETINFERENCERESPONSE']._serialized_end = 505
22-
_globals['_MLINFERENCESERVICE']._serialized_start = 508
23-
_globals['_MLINFERENCESERVICE']._serialized_end = 637
19+
_globals['_GETINFERENCEREQUEST']._serialized_end = 376
20+
_globals['_GETINFERENCERESPONSE']._serialized_start = 379
21+
_globals['_GETINFERENCERESPONSE']._serialized_end = 543
22+
_globals['_MLINFERENCESERVICE']._serialized_start = 546
23+
_globals['_MLINFERENCESERVICE']._serialized_end = 675

src/viam/gen/app/mlinference/v1/ml_inference_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,25 @@ class GetInferenceRequest(google.protobuf.message.Message):
1616
REGISTRY_ITEM_ID_FIELD_NUMBER: builtins.int
1717
REGISTRY_ITEM_VERSION_FIELD_NUMBER: builtins.int
1818
BINARY_ID_FIELD_NUMBER: builtins.int
19+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
1920
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
2021
registry_item_id: builtins.str
2122
'The model framework and model type are inferred from the ML model registry item;\n For valid model types (classification, detections) we will return the formatted\n labels or annotations from the associated inference outputs.\n '
2223
registry_item_version: builtins.str
24+
binary_data_id: builtins.str
2325
organization_id: builtins.str
2426

2527
@property
2628
def binary_id(self) -> app.data.v1.data_pb2.BinaryID:
2729
...
2830

29-
def __init__(self, *, registry_item_id: builtins.str=..., registry_item_version: builtins.str=..., binary_id: app.data.v1.data_pb2.BinaryID | None=..., organization_id: builtins.str=...) -> None:
31+
def __init__(self, *, registry_item_id: builtins.str=..., registry_item_version: builtins.str=..., binary_id: app.data.v1.data_pb2.BinaryID | None=..., binary_data_id: builtins.str=..., organization_id: builtins.str=...) -> None:
3032
...
3133

3234
def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
3335
...
3436

35-
def ClearField(self, field_name: typing.Literal['binary_id', b'binary_id', 'organization_id', b'organization_id', 'registry_item_id', b'registry_item_id', 'registry_item_version', b'registry_item_version']) -> None:
37+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'organization_id', b'organization_id', 'registry_item_id', b'registry_item_id', 'registry_item_version', b'registry_item_version']) -> None:
3638
...
3739
global___GetInferenceRequest = GetInferenceRequest
3840

src/viam/gen/app/mltraining/v1/ml_training_pb2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from google.protobuf import runtime_version as _runtime_version
55
from google.protobuf import symbol_database as _symbol_database
66
from google.protobuf.internal import builder as _builder
7-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 1, '', 'app/mltraining/v1/ml_training.proto')
7+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/mltraining/v1/ml_training.proto')
88
_sym_db = _symbol_database.Default()
99
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
1010
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2

0 commit comments

Comments
 (0)