Skip to content

Commit 02566d6

Browse files
Automated Protos Update (#770)
Co-authored-by: viambot <[email protected]>
1 parent 645e10e commit 02566d6

File tree

7 files changed

+223
-200
lines changed

7 files changed

+223
-200
lines changed

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

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

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,15 +371,20 @@ class TabularDataBySQLResponse(google.protobuf.message.Message):
371371
"""TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL."""
372372
DESCRIPTOR: google.protobuf.descriptor.Descriptor
373373
DATA_FIELD_NUMBER: builtins.int
374+
RAW_DATA_FIELD_NUMBER: builtins.int
374375

375376
@property
376377
def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
377378
...
378379

379-
def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
380+
@property
381+
def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
382+
...
383+
384+
def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=..., raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
380385
...
381386

382-
def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
387+
def ClearField(self, field_name: typing.Literal['data', b'data', 'raw_data', b'raw_data']) -> None:
383388
...
384389
global___TabularDataBySQLResponse = TabularDataBySQLResponse
385390

@@ -410,15 +415,20 @@ class TabularDataByMQLResponse(google.protobuf.message.Message):
410415
"""TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL."""
411416
DESCRIPTOR: google.protobuf.descriptor.Descriptor
412417
DATA_FIELD_NUMBER: builtins.int
418+
RAW_DATA_FIELD_NUMBER: builtins.int
413419

414420
@property
415421
def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
416422
...
417423

418-
def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
424+
@property
425+
def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
426+
...
427+
428+
def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=..., raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
419429
...
420430

421-
def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
431+
def ClearField(self, field_name: typing.Literal['data', b'data', 'raw_data', b'raw_data']) -> None:
422432
...
423433
global___TabularDataByMQLResponse = TabularDataByMQLResponse
424434

src/viam/gen/app/v1/app_pb2.py

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

src/viam/gen/app/v1/app_pb2.pyi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,17 +3009,25 @@ class ModuleFileInfo(google.protobuf.message.Message):
30093009
MODULE_ID_FIELD_NUMBER: builtins.int
30103010
VERSION_FIELD_NUMBER: builtins.int
30113011
PLATFORM_FIELD_NUMBER: builtins.int
3012+
PLATFORM_TAGS_FIELD_NUMBER: builtins.int
30123013
module_id: builtins.str
30133014
"The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)"
30143015
version: builtins.str
30153016
'The semver string that represents the new major/minor/patch version of the module'
30163017
platform: builtins.str
30173018
'The platform that the file is built to run on'
30183019

3019-
def __init__(self, *, module_id: builtins.str=..., version: builtins.str=..., platform: builtins.str=...) -> None:
3020+
@property
3021+
def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
3022+
"""Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
3023+
platform tags. The platform is checked against `platform` above, and the tags are checked against
3024+
this list.
3025+
"""
3026+
3027+
def __init__(self, *, module_id: builtins.str=..., version: builtins.str=..., platform: builtins.str=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
30203028
...
30213029

3022-
def ClearField(self, field_name: typing.Literal['module_id', b'module_id', 'platform', b'platform', 'version', b'version']) -> None:
3030+
def ClearField(self, field_name: typing.Literal['module_id', b'module_id', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
30233031
...
30243032
global___ModuleFileInfo = ModuleFileInfo
30253033

src/viam/gen/app/v1/robot_pb2.py

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

src/viam/gen/app/v1/robot_pb2.pyi

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@ class AgentInfo(google.protobuf.message.Message):
885885
VERSION_FIELD_NUMBER: builtins.int
886886
GIT_REVISION_FIELD_NUMBER: builtins.int
887887
PLATFORM_FIELD_NUMBER: builtins.int
888+
PLATFORM_TAGS_FIELD_NUMBER: builtins.int
888889
host: builtins.str
889890
os: builtins.str
890891
'Will soon be deprecated, use platform instead'
@@ -898,13 +899,17 @@ class AgentInfo(google.protobuf.message.Message):
898899
def ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
899900
"""list of all ipv4 ips."""
900901

901-
def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=...) -> None:
902+
@property
903+
def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
904+
"""Optional tags to further constrain which artifact is returned for modules."""
905+
906+
def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
902907
...
903908

904909
def HasField(self, field_name: typing.Literal['_platform', b'_platform', 'platform', b'platform']) -> builtins.bool:
905910
...
906911

907-
def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'version', b'version']) -> None:
912+
def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
908913
...
909914

910915
def WhichOneof(self, oneof_group: typing.Literal['_platform', b'_platform']) -> typing.Literal['platform'] | None:

src/viam/version_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__version__ = "0.31.1"
22

3-
API_VERSION = "v0.1.348"
3+
API_VERSION = "v0.1.350"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)