Skip to content

Commit 3448fa8

Browse files
authored
Automated Protos Update (#902)
1 parent 3f7b5f9 commit 3448fa8

File tree

5 files changed

+445
-426
lines changed

5 files changed

+445
-426
lines changed

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

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

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

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,20 +1993,28 @@ class UpdateRobotPartRequest(google.protobuf.message.Message):
19931993
ID_FIELD_NUMBER: builtins.int
19941994
NAME_FIELD_NUMBER: builtins.int
19951995
ROBOT_CONFIG_FIELD_NUMBER: builtins.int
1996+
LAST_KNOWN_UPDATE_FIELD_NUMBER: builtins.int
19961997
id: builtins.str
19971998
name: builtins.str
19981999

19992000
@property
20002001
def robot_config(self) -> google.protobuf.struct_pb2.Struct:
20012002
...
20022003

2003-
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., robot_config: google.protobuf.struct_pb2.Struct | None=...) -> None:
2004+
@property
2005+
def last_known_update(self) -> google.protobuf.timestamp_pb2.Timestamp:
2006+
...
2007+
2008+
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., robot_config: google.protobuf.struct_pb2.Struct | None=..., last_known_update: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
20042009
...
20052010

2006-
def HasField(self, field_name: typing.Literal['robot_config', b'robot_config']) -> builtins.bool:
2011+
def HasField(self, field_name: typing.Literal['_last_known_update', b'_last_known_update', 'last_known_update', b'last_known_update', 'robot_config', b'robot_config']) -> builtins.bool:
20072012
...
20082013

2009-
def ClearField(self, field_name: typing.Literal['id', b'id', 'name', b'name', 'robot_config', b'robot_config']) -> None:
2014+
def ClearField(self, field_name: typing.Literal['_last_known_update', b'_last_known_update', 'id', b'id', 'last_known_update', b'last_known_update', 'name', b'name', 'robot_config', b'robot_config']) -> None:
2015+
...
2016+
2017+
def WhichOneof(self, oneof_group: typing.Literal['_last_known_update', b'_last_known_update']) -> typing.Literal['last_known_update'] | None:
20102018
...
20112019
global___UpdateRobotPartRequest = UpdateRobotPartRequest
20122020

@@ -2548,6 +2556,7 @@ class UpdateFragmentRequest(google.protobuf.message.Message):
25482556
CONFIG_FIELD_NUMBER: builtins.int
25492557
PUBLIC_FIELD_NUMBER: builtins.int
25502558
VISIBILITY_FIELD_NUMBER: builtins.int
2559+
LAST_KNOWN_UPDATE_FIELD_NUMBER: builtins.int
25512560
id: builtins.str
25522561
name: builtins.str
25532562
public: builtins.bool
@@ -2557,13 +2566,21 @@ class UpdateFragmentRequest(google.protobuf.message.Message):
25572566
def config(self) -> google.protobuf.struct_pb2.Struct:
25582567
...
25592568

2560-
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., config: google.protobuf.struct_pb2.Struct | None=..., public: builtins.bool | None=..., visibility: global___FragmentVisibility.ValueType | None=...) -> None:
2569+
@property
2570+
def last_known_update(self) -> google.protobuf.timestamp_pb2.Timestamp:
25612571
...
25622572

2563-
def HasField(self, field_name: typing.Literal['_public', b'_public', '_visibility', b'_visibility', 'config', b'config', 'public', b'public', 'visibility', b'visibility']) -> builtins.bool:
2573+
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., config: google.protobuf.struct_pb2.Struct | None=..., public: builtins.bool | None=..., visibility: global___FragmentVisibility.ValueType | None=..., last_known_update: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
25642574
...
25652575

2566-
def ClearField(self, field_name: typing.Literal['_public', b'_public', '_visibility', b'_visibility', 'config', b'config', 'id', b'id', 'name', b'name', 'public', b'public', 'visibility', b'visibility']) -> None:
2576+
def HasField(self, field_name: typing.Literal['_last_known_update', b'_last_known_update', '_public', b'_public', '_visibility', b'_visibility', 'config', b'config', 'last_known_update', b'last_known_update', 'public', b'public', 'visibility', b'visibility']) -> builtins.bool:
2577+
...
2578+
2579+
def ClearField(self, field_name: typing.Literal['_last_known_update', b'_last_known_update', '_public', b'_public', '_visibility', b'_visibility', 'config', b'config', 'id', b'id', 'last_known_update', b'last_known_update', 'name', b'name', 'public', b'public', 'visibility', b'visibility']) -> None:
2580+
...
2581+
2582+
@typing.overload
2583+
def WhichOneof(self, oneof_group: typing.Literal['_last_known_update', b'_last_known_update']) -> typing.Literal['last_known_update'] | None:
25672584
...
25682585

25692586
@typing.overload

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

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

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,12 @@ class NetworkConfig(google.protobuf.message.Message):
423423
TLS_KEY_FILE_FIELD_NUMBER: builtins.int
424424
SESSIONS_FIELD_NUMBER: builtins.int
425425
TRAFFIC_TUNNEL_ENDPOINTS_FIELD_NUMBER: builtins.int
426+
NO_TLS_FIELD_NUMBER: builtins.int
426427
fqdn: builtins.str
427428
bind_address: builtins.str
428429
tls_cert_file: builtins.str
429430
tls_key_file: builtins.str
431+
no_tls: builtins.bool
430432

431433
@property
432434
def sessions(self) -> global___SessionsConfig:
@@ -436,13 +438,13 @@ class NetworkConfig(google.protobuf.message.Message):
436438
def traffic_tunnel_endpoints(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TrafficTunnelEndpoint]:
437439
...
438440

439-
def __init__(self, *, fqdn: builtins.str=..., bind_address: builtins.str=..., tls_cert_file: builtins.str=..., tls_key_file: builtins.str=..., sessions: global___SessionsConfig | None=..., traffic_tunnel_endpoints: collections.abc.Iterable[global___TrafficTunnelEndpoint] | None=...) -> None:
441+
def __init__(self, *, fqdn: builtins.str=..., bind_address: builtins.str=..., tls_cert_file: builtins.str=..., tls_key_file: builtins.str=..., sessions: global___SessionsConfig | None=..., traffic_tunnel_endpoints: collections.abc.Iterable[global___TrafficTunnelEndpoint] | None=..., no_tls: builtins.bool=...) -> None:
440442
...
441443

442444
def HasField(self, field_name: typing.Literal['sessions', b'sessions']) -> builtins.bool:
443445
...
444446

445-
def ClearField(self, field_name: typing.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'sessions', b'sessions', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file', 'traffic_tunnel_endpoints', b'traffic_tunnel_endpoints']) -> None:
447+
def ClearField(self, field_name: typing.Literal['bind_address', b'bind_address', 'fqdn', b'fqdn', 'no_tls', b'no_tls', 'sessions', b'sessions', 'tls_cert_file', b'tls_cert_file', 'tls_key_file', b'tls_key_file', 'traffic_tunnel_endpoints', b'traffic_tunnel_endpoints']) -> None:
446448
...
447449
global___NetworkConfig = NetworkConfig
448450

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.44.1"
22

3-
API_VERSION = "v0.1.428"
3+
API_VERSION = "v0.1.430"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)