Skip to content

Commit a587b46

Browse files
Automated Protos Update (#832)
Co-authored-by: viambot <[email protected]>
1 parent 372dca2 commit a587b46

File tree

8 files changed

+654
-534
lines changed

8 files changed

+654
-534
lines changed

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

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

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

Lines changed: 79 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -852,19 +852,21 @@ class BillingAddress(google.protobuf.message.Message):
852852
CITY_FIELD_NUMBER: builtins.int
853853
STATE_FIELD_NUMBER: builtins.int
854854
ZIPCODE_FIELD_NUMBER: builtins.int
855+
COUNTRY_FIELD_NUMBER: builtins.int
855856
address_line_1: builtins.str
856857
address_line_2: builtins.str
857858
city: builtins.str
858859
state: builtins.str
859860
zipcode: builtins.str
861+
country: builtins.str
860862

861-
def __init__(self, *, address_line_1: builtins.str=..., address_line_2: builtins.str | None=..., city: builtins.str=..., state: builtins.str=..., zipcode: builtins.str=...) -> None:
863+
def __init__(self, *, address_line_1: builtins.str=..., address_line_2: builtins.str | None=..., city: builtins.str=..., state: builtins.str=..., zipcode: builtins.str=..., country: builtins.str=...) -> None:
862864
...
863865

864866
def HasField(self, field_name: typing.Literal['_address_line_2', b'_address_line_2', 'address_line_2', b'address_line_2']) -> builtins.bool:
865867
...
866868

867-
def ClearField(self, field_name: typing.Literal['_address_line_2', b'_address_line_2', 'address_line_1', b'address_line_1', 'address_line_2', b'address_line_2', 'city', b'city', 'state', b'state', 'zipcode', b'zipcode']) -> None:
869+
def ClearField(self, field_name: typing.Literal['_address_line_2', b'_address_line_2', 'address_line_1', b'address_line_1', 'address_line_2', b'address_line_2', 'city', b'city', 'country', b'country', 'state', b'state', 'zipcode', b'zipcode']) -> None:
868870
...
869871

870872
def WhichOneof(self, oneof_group: typing.Literal['_address_line_2', b'_address_line_2']) -> typing.Literal['address_line_2'] | None:
@@ -2015,6 +2017,7 @@ class Fragment(google.protobuf.message.Message):
20152017
ONLY_USED_BY_OWNER_FIELD_NUMBER: builtins.int
20162018
VISIBILITY_FIELD_NUMBER: builtins.int
20172019
LAST_UPDATED_FIELD_NUMBER: builtins.int
2020+
REVISION_FIELD_NUMBER: builtins.int
20182021
id: builtins.str
20192022
name: builtins.str
20202023
organization_owner: builtins.str
@@ -2028,6 +2031,7 @@ class Fragment(google.protobuf.message.Message):
20282031
'whether the organization(s) using this fragment is the same as the fragment org'
20292032
visibility: global___FragmentVisibility.ValueType
20302033
'the visibility of a fragment; public, private or unlisted'
2034+
revision: builtins.str
20312035

20322036
@property
20332037
def fragment(self) -> google.protobuf.struct_pb2.Struct:
@@ -2041,13 +2045,13 @@ class Fragment(google.protobuf.message.Message):
20412045
def last_updated(self) -> google.protobuf.timestamp_pb2.Timestamp:
20422046
"""latest timestamp when fragment was updated"""
20432047

2044-
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., fragment: google.protobuf.struct_pb2.Struct | None=..., organization_owner: builtins.str=..., public: builtins.bool=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., organization_name: builtins.str=..., robot_part_count: builtins.int=..., organization_count: builtins.int=..., only_used_by_owner: builtins.bool=..., visibility: global___FragmentVisibility.ValueType=..., last_updated: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
2048+
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., fragment: google.protobuf.struct_pb2.Struct | None=..., organization_owner: builtins.str=..., public: builtins.bool=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., organization_name: builtins.str=..., robot_part_count: builtins.int=..., organization_count: builtins.int=..., only_used_by_owner: builtins.bool=..., visibility: global___FragmentVisibility.ValueType=..., last_updated: google.protobuf.timestamp_pb2.Timestamp | None=..., revision: builtins.str=...) -> None:
20452049
...
20462050

20472051
def HasField(self, field_name: typing.Literal['created_on', b'created_on', 'fragment', b'fragment', 'last_updated', b'last_updated']) -> builtins.bool:
20482052
...
20492053

2050-
def ClearField(self, field_name: typing.Literal['created_on', b'created_on', 'fragment', b'fragment', 'id', b'id', 'last_updated', b'last_updated', 'name', b'name', 'only_used_by_owner', b'only_used_by_owner', 'organization_count', b'organization_count', 'organization_name', b'organization_name', 'organization_owner', b'organization_owner', 'public', b'public', 'robot_part_count', b'robot_part_count', 'visibility', b'visibility']) -> None:
2054+
def ClearField(self, field_name: typing.Literal['created_on', b'created_on', 'fragment', b'fragment', 'id', b'id', 'last_updated', b'last_updated', 'name', b'name', 'only_used_by_owner', b'only_used_by_owner', 'organization_count', b'organization_count', 'organization_name', b'organization_name', 'organization_owner', b'organization_owner', 'public', b'public', 'revision', b'revision', 'robot_part_count', b'robot_part_count', 'visibility', b'visibility']) -> None:
20512055
...
20522056
global___Fragment = Fragment
20532057

@@ -2089,6 +2093,42 @@ class FragmentHistoryEntry(google.protobuf.message.Message):
20892093
...
20902094
global___FragmentHistoryEntry = FragmentHistoryEntry
20912095

2096+
@typing.final
2097+
class FragmentRevision(google.protobuf.message.Message):
2098+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2099+
REVISION_FIELD_NUMBER: builtins.int
2100+
CREATED_AT_FIELD_NUMBER: builtins.int
2101+
revision: builtins.str
2102+
2103+
@property
2104+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
2105+
...
2106+
2107+
def __init__(self, *, revision: builtins.str=..., created_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None:
2108+
...
2109+
2110+
def HasField(self, field_name: typing.Literal['created_at', b'created_at']) -> builtins.bool:
2111+
...
2112+
2113+
def ClearField(self, field_name: typing.Literal['created_at', b'created_at', 'revision', b'revision']) -> None:
2114+
...
2115+
global___FragmentRevision = FragmentRevision
2116+
2117+
@typing.final
2118+
class FragmentTag(google.protobuf.message.Message):
2119+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2120+
TAG_FIELD_NUMBER: builtins.int
2121+
REVISION_FIELD_NUMBER: builtins.int
2122+
tag: builtins.str
2123+
revision: builtins.str
2124+
2125+
def __init__(self, *, tag: builtins.str=..., revision: builtins.str=...) -> None:
2126+
...
2127+
2128+
def ClearField(self, field_name: typing.Literal['revision', b'revision', 'tag', b'tag']) -> None:
2129+
...
2130+
global___FragmentTag = FragmentTag
2131+
20922132
@typing.final
20932133
class FragmentError(google.protobuf.message.Message):
20942134
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -2108,20 +2148,30 @@ global___FragmentError = FragmentError
21082148

21092149
@typing.final
21102150
class FragmentUsage(google.protobuf.message.Message):
2151+
"""Cached fragment usage statistics"""
21112152
DESCRIPTOR: google.protobuf.descriptor.Descriptor
21122153
FRAGMENT_ID_FIELD_NUMBER: builtins.int
21132154
ORGANIZATIONS_FIELD_NUMBER: builtins.int
21142155
MACHINES_FIELD_NUMBER: builtins.int
21152156
MACHINES_IN_CURRENT_ORG_FIELD_NUMBER: builtins.int
2157+
VERSION_FIELD_NUMBER: builtins.int
21162158
fragment_id: builtins.str
21172159
organizations: builtins.int
21182160
machines: builtins.int
21192161
machines_in_current_org: builtins.int
2162+
version: builtins.str
2163+
'revision or tag'
21202164

2121-
def __init__(self, *, fragment_id: builtins.str=..., organizations: builtins.int=..., machines: builtins.int=..., machines_in_current_org: builtins.int=...) -> None:
2165+
def __init__(self, *, fragment_id: builtins.str=..., organizations: builtins.int=..., machines: builtins.int=..., machines_in_current_org: builtins.int=..., version: builtins.str | None=...) -> None:
21222166
...
21232167

2124-
def ClearField(self, field_name: typing.Literal['fragment_id', b'fragment_id', 'machines', b'machines', 'machines_in_current_org', b'machines_in_current_org', 'organizations', b'organizations']) -> None:
2168+
def HasField(self, field_name: typing.Literal['_version', b'_version', 'version', b'version']) -> builtins.bool:
2169+
...
2170+
2171+
def ClearField(self, field_name: typing.Literal['_version', b'_version', 'fragment_id', b'fragment_id', 'machines', b'machines', 'machines_in_current_org', b'machines_in_current_org', 'organizations', b'organizations', 'version', b'version']) -> None:
2172+
...
2173+
2174+
def WhichOneof(self, oneof_group: typing.Literal['_version', b'_version']) -> typing.Literal['version'] | None:
21252175
...
21262176
global___FragmentUsage = FragmentUsage
21272177

@@ -2197,13 +2247,22 @@ class GetFragmentRequest(google.protobuf.message.Message):
21972247
DESCRIPTOR: google.protobuf.descriptor.Descriptor
21982248
ID_FIELD_NUMBER: builtins.int
21992249
CURRENT_ORGANIZATION_ID_FIELD_NUMBER: builtins.int
2250+
VERSION_FIELD_NUMBER: builtins.int
22002251
id: builtins.str
22012252
current_organization_id: builtins.str
2253+
version: builtins.str
2254+
'revision or tag'
2255+
2256+
def __init__(self, *, id: builtins.str=..., current_organization_id: builtins.str=..., version: builtins.str | None=...) -> None:
2257+
...
22022258

2203-
def __init__(self, *, id: builtins.str=..., current_organization_id: builtins.str=...) -> None:
2259+
def HasField(self, field_name: typing.Literal['_version', b'_version', 'version', b'version']) -> builtins.bool:
22042260
...
22052261

2206-
def ClearField(self, field_name: typing.Literal['current_organization_id', b'current_organization_id', 'id', b'id']) -> None:
2262+
def ClearField(self, field_name: typing.Literal['_version', b'_version', 'current_organization_id', b'current_organization_id', 'id', b'id', 'version', b'version']) -> None:
2263+
...
2264+
2265+
def WhichOneof(self, oneof_group: typing.Literal['_version', b'_version']) -> typing.Literal['version'] | None:
22072266
...
22082267
global___GetFragmentRequest = GetFragmentRequest
22092268

@@ -2212,6 +2271,8 @@ class GetFragmentResponse(google.protobuf.message.Message):
22122271
DESCRIPTOR: google.protobuf.descriptor.Descriptor
22132272
FRAGMENT_FIELD_NUMBER: builtins.int
22142273
FRAGMENT_USAGE_FIELD_NUMBER: builtins.int
2274+
REVISIONS_FIELD_NUMBER: builtins.int
2275+
TAGS_FIELD_NUMBER: builtins.int
22152276

22162277
@property
22172278
def fragment(self) -> global___Fragment:
@@ -2221,13 +2282,21 @@ class GetFragmentResponse(google.protobuf.message.Message):
22212282
def fragment_usage(self) -> global___FragmentUsage:
22222283
...
22232284

2224-
def __init__(self, *, fragment: global___Fragment | None=..., fragment_usage: global___FragmentUsage | None=...) -> None:
2285+
@property
2286+
def revisions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentRevision]:
2287+
...
2288+
2289+
@property
2290+
def tags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentTag]:
2291+
...
2292+
2293+
def __init__(self, *, fragment: global___Fragment | None=..., fragment_usage: global___FragmentUsage | None=..., revisions: collections.abc.Iterable[global___FragmentRevision] | None=..., tags: collections.abc.Iterable[global___FragmentTag] | None=...) -> None:
22252294
...
22262295

22272296
def HasField(self, field_name: typing.Literal['fragment', b'fragment', 'fragment_usage', b'fragment_usage']) -> builtins.bool:
22282297
...
22292298

2230-
def ClearField(self, field_name: typing.Literal['fragment', b'fragment', 'fragment_usage', b'fragment_usage']) -> None:
2299+
def ClearField(self, field_name: typing.Literal['fragment', b'fragment', 'fragment_usage', b'fragment_usage', 'revisions', b'revisions', 'tags', b'tags']) -> None:
22312300
...
22322301
global___GetFragmentResponse = GetFragmentResponse
22332302

0 commit comments

Comments
 (0)