Skip to content

Commit b2d2d8d

Browse files
viambotgithub-actions[bot]
authored andcommitted
[WORKFLOW] Updating protos from viamrobotics/api, commit: a51bbf3b79898aef43c705cb9f4577f00476c308
1 parent 9db7558 commit b2d2d8d

File tree

4 files changed

+630
-549
lines changed

4 files changed

+630
-549
lines changed

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

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

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

Lines changed: 72 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,22 @@ class GetOrganizationNamespaceAvailabilityResponse(google.protobuf.message.Messa
610610
...
611611
global___GetOrganizationNamespaceAvailabilityResponse = GetOrganizationNamespaceAvailabilityResponse
612612

613+
@typing.final
614+
class FragmentImportList(google.protobuf.message.Message):
615+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
616+
IMPORTS_FIELD_NUMBER: builtins.int
617+
618+
@property
619+
def imports(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentImport]:
620+
...
621+
622+
def __init__(self, *, imports: collections.abc.Iterable[global___FragmentImport] | None=...) -> None:
623+
...
624+
625+
def ClearField(self, field_name: typing.Literal['imports', b'imports']) -> None:
626+
...
627+
global___FragmentImportList = FragmentImportList
628+
613629
@typing.final
614630
class UpdateOrganizationRequest(google.protobuf.message.Message):
615631
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -618,26 +634,35 @@ class UpdateOrganizationRequest(google.protobuf.message.Message):
618634
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
619635
REGION_FIELD_NUMBER: builtins.int
620636
CID_FIELD_NUMBER: builtins.int
637+
FRAGMENT_IMPORTS_FIELD_NUMBER: builtins.int
621638
organization_id: builtins.str
622639
name: builtins.str
623640
public_namespace: builtins.str
624641
region: builtins.str
625642
'The new GCS region to associate the org with.'
626643
cid: builtins.str
627644

628-
def __init__(self, *, organization_id: builtins.str=..., name: builtins.str | None=..., public_namespace: builtins.str | None=..., region: builtins.str | None=..., cid: builtins.str | None=...) -> None:
645+
@property
646+
def fragment_imports(self) -> global___FragmentImportList:
647+
...
648+
649+
def __init__(self, *, organization_id: builtins.str=..., name: builtins.str | None=..., public_namespace: builtins.str | None=..., region: builtins.str | None=..., cid: builtins.str | None=..., fragment_imports: global___FragmentImportList | None=...) -> None:
629650
...
630651

631-
def HasField(self, field_name: typing.Literal['_cid', b'_cid', '_name', b'_name', '_public_namespace', b'_public_namespace', '_region', b'_region', 'cid', b'cid', 'name', b'name', 'public_namespace', b'public_namespace', 'region', b'region']) -> builtins.bool:
652+
def HasField(self, field_name: typing.Literal['_cid', b'_cid', '_fragment_imports', b'_fragment_imports', '_name', b'_name', '_public_namespace', b'_public_namespace', '_region', b'_region', 'cid', b'cid', 'fragment_imports', b'fragment_imports', 'name', b'name', 'public_namespace', b'public_namespace', 'region', b'region']) -> builtins.bool:
632653
...
633654

634-
def ClearField(self, field_name: typing.Literal['_cid', b'_cid', '_name', b'_name', '_public_namespace', b'_public_namespace', '_region', b'_region', 'cid', b'cid', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace', 'region', b'region']) -> None:
655+
def ClearField(self, field_name: typing.Literal['_cid', b'_cid', '_fragment_imports', b'_fragment_imports', '_name', b'_name', '_public_namespace', b'_public_namespace', '_region', b'_region', 'cid', b'cid', 'fragment_imports', b'fragment_imports', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace', 'region', b'region']) -> None:
635656
...
636657

637658
@typing.overload
638659
def WhichOneof(self, oneof_group: typing.Literal['_cid', b'_cid']) -> typing.Literal['cid'] | None:
639660
...
640661

662+
@typing.overload
663+
def WhichOneof(self, oneof_group: typing.Literal['_fragment_imports', b'_fragment_imports']) -> typing.Literal['fragment_imports'] | None:
664+
...
665+
641666
@typing.overload
642667
def WhichOneof(self, oneof_group: typing.Literal['_name', b'_name']) -> typing.Literal['name'] | None:
643668
...
@@ -2513,6 +2538,50 @@ class FragmentUsage(google.protobuf.message.Message):
25132538
...
25142539
global___FragmentUsage = FragmentUsage
25152540

2541+
@typing.final
2542+
class FragmentImport(google.protobuf.message.Message):
2543+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2544+
2545+
@typing.final
2546+
class VariablesEntry(google.protobuf.message.Message):
2547+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2548+
KEY_FIELD_NUMBER: builtins.int
2549+
VALUE_FIELD_NUMBER: builtins.int
2550+
key: builtins.str
2551+
value: builtins.str
2552+
2553+
def __init__(self, *, key: builtins.str=..., value: builtins.str=...) -> None:
2554+
...
2555+
2556+
def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
2557+
...
2558+
FRAGMENT_ID_FIELD_NUMBER: builtins.int
2559+
VERSION_FIELD_NUMBER: builtins.int
2560+
PREFIX_FIELD_NUMBER: builtins.int
2561+
VARIABLES_FIELD_NUMBER: builtins.int
2562+
fragment_id: builtins.str
2563+
version: builtins.str
2564+
'revision or tag'
2565+
prefix: builtins.str
2566+
'namespace prefix'
2567+
2568+
@property
2569+
def variables(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
2570+
"""key-value pairs for fragment variables"""
2571+
2572+
def __init__(self, *, fragment_id: builtins.str=..., version: builtins.str=..., prefix: builtins.str | None=..., variables: collections.abc.Mapping[builtins.str, builtins.str] | None=...) -> None:
2573+
...
2574+
2575+
def HasField(self, field_name: typing.Literal['_prefix', b'_prefix', 'prefix', b'prefix']) -> builtins.bool:
2576+
...
2577+
2578+
def ClearField(self, field_name: typing.Literal['_prefix', b'_prefix', 'fragment_id', b'fragment_id', 'prefix', b'prefix', 'variables', b'variables', 'version', b'version']) -> None:
2579+
...
2580+
2581+
def WhichOneof(self, oneof_group: typing.Literal['_prefix', b'_prefix']) -> typing.Literal['prefix'] | None:
2582+
...
2583+
global___FragmentImport = FragmentImport
2584+
25162585
@typing.final
25172586
class ResolvedFragment(google.protobuf.message.Message):
25182587
DESCRIPTOR: google.protobuf.descriptor.Descriptor

src/viam/proto/app/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
FragmentError,
8787
FragmentErrorType,
8888
FragmentHistoryEntry,
89+
FragmentImport,
90+
FragmentImportList,
8991
FragmentRevision,
9092
FragmentSummary,
9193
FragmentTag,
@@ -374,6 +376,8 @@
374376
"FragmentError",
375377
"FragmentErrorType",
376378
"FragmentHistoryEntry",
379+
"FragmentImport",
380+
"FragmentImportList",
377381
"FragmentRevision",
378382
"FragmentSummary",
379383
"FragmentTag",

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

3-
API_VERSION = "v0.1.503"
3+
API_VERSION = "v0.1.504"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)