Skip to content

Commit 14c9c82

Browse files
Automated Protos Update (#801)
Co-authored-by: viambot <viambot@users.noreply.github.com>
1 parent a82b979 commit 14c9c82

File tree

5 files changed

+180
-95
lines changed

5 files changed

+180
-95
lines changed

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

+9-1
Large diffs are not rendered by default.

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

+95-91
Large diffs are not rendered by default.

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

+71-2
Original file line numberDiff line numberDiff line change
@@ -3675,13 +3675,28 @@ class OrgDetails(google.protobuf.message.Message):
36753675
DESCRIPTOR: google.protobuf.descriptor.Descriptor
36763676
ORG_ID_FIELD_NUMBER: builtins.int
36773677
ORG_NAME_FIELD_NUMBER: builtins.int
3678+
ORG_CID_FIELD_NUMBER: builtins.int
3679+
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
36783680
org_id: builtins.str
36793681
org_name: builtins.str
3682+
org_cid: builtins.str
3683+
public_namespace: builtins.str
3684+
3685+
def __init__(self, *, org_id: builtins.str=..., org_name: builtins.str=..., org_cid: builtins.str | None=..., public_namespace: builtins.str | None=...) -> None:
3686+
...
3687+
3688+
def HasField(self, field_name: typing.Literal['_org_cid', b'_org_cid', '_public_namespace', b'_public_namespace', 'org_cid', b'org_cid', 'public_namespace', b'public_namespace']) -> builtins.bool:
3689+
...
3690+
3691+
def ClearField(self, field_name: typing.Literal['_org_cid', b'_org_cid', '_public_namespace', b'_public_namespace', 'org_cid', b'org_cid', 'org_id', b'org_id', 'org_name', b'org_name', 'public_namespace', b'public_namespace']) -> None:
3692+
...
36803693

3681-
def __init__(self, *, org_id: builtins.str=..., org_name: builtins.str=...) -> None:
3694+
@typing.overload
3695+
def WhichOneof(self, oneof_group: typing.Literal['_org_cid', b'_org_cid']) -> typing.Literal['org_cid'] | None:
36823696
...
36833697

3684-
def ClearField(self, field_name: typing.Literal['org_id', b'org_id', 'org_name', b'org_name']) -> None:
3698+
@typing.overload
3699+
def WhichOneof(self, oneof_group: typing.Literal['_public_namespace', b'_public_namespace']) -> typing.Literal['public_namespace'] | None:
36853700
...
36863701
global___OrgDetails = OrgDetails
36873702

@@ -3701,6 +3716,60 @@ class ListOrganizationsByUserResponse(google.protobuf.message.Message):
37013716
...
37023717
global___ListOrganizationsByUserResponse = ListOrganizationsByUserResponse
37033718

3719+
@typing.final
3720+
class SearchOrganizationsRequest(google.protobuf.message.Message):
3721+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
3722+
ORG_ID_FIELD_NUMBER: builtins.int
3723+
ORG_NAME_FIELD_NUMBER: builtins.int
3724+
CID_FIELD_NUMBER: builtins.int
3725+
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
3726+
org_id: builtins.str
3727+
org_name: builtins.str
3728+
cid: builtins.str
3729+
public_namespace: builtins.str
3730+
3731+
def __init__(self, *, org_id: builtins.str | None=..., org_name: builtins.str | None=..., cid: builtins.str | None=..., public_namespace: builtins.str | None=...) -> None:
3732+
...
3733+
3734+
def HasField(self, field_name: typing.Literal['_cid', b'_cid', '_org_id', b'_org_id', '_org_name', b'_org_name', '_public_namespace', b'_public_namespace', 'cid', b'cid', 'org_id', b'org_id', 'org_name', b'org_name', 'public_namespace', b'public_namespace']) -> builtins.bool:
3735+
...
3736+
3737+
def ClearField(self, field_name: typing.Literal['_cid', b'_cid', '_org_id', b'_org_id', '_org_name', b'_org_name', '_public_namespace', b'_public_namespace', 'cid', b'cid', 'org_id', b'org_id', 'org_name', b'org_name', 'public_namespace', b'public_namespace']) -> None:
3738+
...
3739+
3740+
@typing.overload
3741+
def WhichOneof(self, oneof_group: typing.Literal['_cid', b'_cid']) -> typing.Literal['cid'] | None:
3742+
...
3743+
3744+
@typing.overload
3745+
def WhichOneof(self, oneof_group: typing.Literal['_org_id', b'_org_id']) -> typing.Literal['org_id'] | None:
3746+
...
3747+
3748+
@typing.overload
3749+
def WhichOneof(self, oneof_group: typing.Literal['_org_name', b'_org_name']) -> typing.Literal['org_name'] | None:
3750+
...
3751+
3752+
@typing.overload
3753+
def WhichOneof(self, oneof_group: typing.Literal['_public_namespace', b'_public_namespace']) -> typing.Literal['public_namespace'] | None:
3754+
...
3755+
global___SearchOrganizationsRequest = SearchOrganizationsRequest
3756+
3757+
@typing.final
3758+
class SearchOrganizationsResponse(google.protobuf.message.Message):
3759+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
3760+
ORGANIZATIONS_FIELD_NUMBER: builtins.int
3761+
3762+
@property
3763+
def organizations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OrgDetails]:
3764+
...
3765+
3766+
def __init__(self, *, organizations: collections.abc.Iterable[global___OrgDetails] | None=...) -> None:
3767+
...
3768+
3769+
def ClearField(self, field_name: typing.Literal['organizations', b'organizations']) -> None:
3770+
...
3771+
global___SearchOrganizationsResponse = SearchOrganizationsResponse
3772+
37043773
@typing.final
37053774
class CreateKeyRequest(google.protobuf.message.Message):
37063775
DESCRIPTOR: google.protobuf.descriptor.Descriptor

src/viam/proto/app/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@
192192
RotateKeyRequest,
193193
RotateKeyResponse,
194194
RoverRentalRobot,
195+
SearchOrganizationsRequest,
196+
SearchOrganizationsResponse,
195197
SharedSecret,
196198
ShareLocationRequest,
197199
ShareLocationResponse,
@@ -421,6 +423,8 @@
421423
"RotateKeyRequest",
422424
"RotateKeyResponse",
423425
"RoverRentalRobot",
426+
"SearchOrganizationsRequest",
427+
"SearchOrganizationsResponse",
424428
"ShareLocationRequest",
425429
"ShareLocationResponse",
426430
"SharedSecret",

src/viam/version_metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__version__ = "0.36.0"
22

3-
API_VERSION = "v0.1.373"
3+
API_VERSION = "v0.1.374"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)