Skip to content

Commit

Permalink
Automated Protos Update (#801)
Browse files Browse the repository at this point in the history
Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Dec 16, 2024
1 parent a82b979 commit 14c9c82
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 95 deletions.
10 changes: 9 additions & 1 deletion src/viam/gen/app/v1/app_grpc.py

Large diffs are not rendered by default.

186 changes: 95 additions & 91 deletions src/viam/gen/app/v1/app_pb2.py

Large diffs are not rendered by default.

73 changes: 71 additions & 2 deletions src/viam/gen/app/v1/app_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3675,13 +3675,28 @@ class OrgDetails(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ORG_ID_FIELD_NUMBER: builtins.int
ORG_NAME_FIELD_NUMBER: builtins.int
ORG_CID_FIELD_NUMBER: builtins.int
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
org_id: builtins.str
org_name: builtins.str
org_cid: builtins.str
public_namespace: builtins.str

def __init__(self, *, org_id: builtins.str=..., org_name: builtins.str=..., org_cid: builtins.str | None=..., public_namespace: builtins.str | None=...) -> None:
...

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:
...

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:
...

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

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

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

@typing.final
class SearchOrganizationsRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ORG_ID_FIELD_NUMBER: builtins.int
ORG_NAME_FIELD_NUMBER: builtins.int
CID_FIELD_NUMBER: builtins.int
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
org_id: builtins.str
org_name: builtins.str
cid: builtins.str
public_namespace: builtins.str

def __init__(self, *, org_id: builtins.str | None=..., org_name: builtins.str | None=..., cid: builtins.str | None=..., public_namespace: builtins.str | None=...) -> None:
...

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:
...

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:
...

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

@typing.overload
def WhichOneof(self, oneof_group: typing.Literal['_org_id', b'_org_id']) -> typing.Literal['org_id'] | None:
...

@typing.overload
def WhichOneof(self, oneof_group: typing.Literal['_org_name', b'_org_name']) -> typing.Literal['org_name'] | None:
...

@typing.overload
def WhichOneof(self, oneof_group: typing.Literal['_public_namespace', b'_public_namespace']) -> typing.Literal['public_namespace'] | None:
...
global___SearchOrganizationsRequest = SearchOrganizationsRequest

@typing.final
class SearchOrganizationsResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ORGANIZATIONS_FIELD_NUMBER: builtins.int

@property
def organizations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OrgDetails]:
...

def __init__(self, *, organizations: collections.abc.Iterable[global___OrgDetails] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['organizations', b'organizations']) -> None:
...
global___SearchOrganizationsResponse = SearchOrganizationsResponse

@typing.final
class CreateKeyRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
Expand Down
4 changes: 4 additions & 0 deletions src/viam/proto/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@
RotateKeyRequest,
RotateKeyResponse,
RoverRentalRobot,
SearchOrganizationsRequest,
SearchOrganizationsResponse,
SharedSecret,
ShareLocationRequest,
ShareLocationResponse,
Expand Down Expand Up @@ -421,6 +423,8 @@
"RotateKeyRequest",
"RotateKeyResponse",
"RoverRentalRobot",
"SearchOrganizationsRequest",
"SearchOrganizationsResponse",
"ShareLocationRequest",
"ShareLocationResponse",
"SharedSecret",
Expand Down
2 changes: 1 addition & 1 deletion src/viam/version_metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.36.0"

API_VERSION = "v0.1.373"
API_VERSION = "v0.1.374"
SDK_VERSION = __version__

0 comments on commit 14c9c82

Please sign in to comment.