Skip to content

Commit

Permalink
Automated Protos Update (#780)
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 Nov 6, 2024
1 parent 1f8974a commit 36bc4d0
Show file tree
Hide file tree
Showing 8 changed files with 363 additions and 354 deletions.
406 changes: 203 additions & 203 deletions src/viam/gen/app/v1/app_pb2.py

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions src/viam/gen/app/v1/app_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1986,30 +1986,30 @@ class FragmentError(google.protobuf.message.Message):
global___FragmentError = FragmentError

@typing.final
class FragmentTree(google.protobuf.message.Message):
class ResolvedFragment(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ROOT_FRAGMENT_ID_FIELD_NUMBER: builtins.int
FRAGMENT_MERGE_ORDER_FIELD_NUMBER: builtins.int
FRAGMENT_ID_FIELD_NUMBER: builtins.int
RESOLVED_CONFIG_FIELD_NUMBER: builtins.int
ERROR_FIELD_NUMBER: builtins.int
root_fragment_id: builtins.str
fragment_id: builtins.str

@property
def fragment_merge_order(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
def resolved_config(self) -> google.protobuf.struct_pb2.Struct:
...

@property
def error(self) -> global___FragmentError:
...

def __init__(self, *, root_fragment_id: builtins.str=..., fragment_merge_order: collections.abc.Iterable[builtins.str] | None=..., error: global___FragmentError | None=...) -> None:
def __init__(self, *, fragment_id: builtins.str=..., resolved_config: google.protobuf.struct_pb2.Struct | None=..., error: global___FragmentError | None=...) -> None:
...

def HasField(self, field_name: typing.Literal['error', b'error']) -> builtins.bool:
def HasField(self, field_name: typing.Literal['error', b'error', 'resolved_config', b'resolved_config']) -> builtins.bool:
...

def ClearField(self, field_name: typing.Literal['error', b'error', 'fragment_merge_order', b'fragment_merge_order', 'root_fragment_id', b'root_fragment_id']) -> None:
def ClearField(self, field_name: typing.Literal['error', b'error', 'fragment_id', b'fragment_id', 'resolved_config', b'resolved_config']) -> None:
...
global___FragmentTree = FragmentTree
global___ResolvedFragment = ResolvedFragment

@typing.final
class ListFragmentsRequest(google.protobuf.message.Message):
Expand Down Expand Up @@ -2285,20 +2285,20 @@ global___ListMachineFragmentsRequest = ListMachineFragmentsRequest
class ListMachineFragmentsResponse(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
FRAGMENTS_FIELD_NUMBER: builtins.int
FRAGMENT_TREES_FIELD_NUMBER: builtins.int
RESOLVED_FRAGMENTS_FIELD_NUMBER: builtins.int

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

@property
def fragment_trees(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentTree]:
def resolved_fragments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResolvedFragment]:
...

def __init__(self, *, fragments: collections.abc.Iterable[global___Fragment] | None=..., fragment_trees: collections.abc.Iterable[global___FragmentTree] | None=...) -> None:
def __init__(self, *, fragments: collections.abc.Iterable[global___Fragment] | None=..., resolved_fragments: collections.abc.Iterable[global___ResolvedFragment] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['fragment_trees', b'fragment_trees', 'fragments', b'fragments']) -> None:
def ClearField(self, field_name: typing.Literal['fragments', b'fragments', 'resolved_fragments', b'resolved_fragments']) -> None:
...
global___ListMachineFragmentsResponse = ListMachineFragmentsResponse

Expand Down
148 changes: 74 additions & 74 deletions src/viam/gen/app/v1/robot_pb2.py

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/viam/gen/app/v1/robot_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,14 @@ class ProcessConfig(google.protobuf.message.Message):
STOP_SIGNAL_FIELD_NUMBER: builtins.int
STOP_TIMEOUT_FIELD_NUMBER: builtins.int
ENV_FIELD_NUMBER: builtins.int
USERNAME_FIELD_NUMBER: builtins.int
id: builtins.str
name: builtins.str
cwd: builtins.str
one_shot: builtins.bool
log: builtins.bool
stop_signal: builtins.int
username: builtins.str

@property
def args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
Expand All @@ -353,13 +355,13 @@ class ProcessConfig(google.protobuf.message.Message):
def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
"""additional environment variables passed to the process"""

def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=...) -> None:
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., args: collections.abc.Iterable[builtins.str] | None=..., cwd: builtins.str=..., one_shot: builtins.bool=..., log: builtins.bool=..., stop_signal: builtins.int=..., stop_timeout: google.protobuf.duration_pb2.Duration | None=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., username: builtins.str=...) -> None:
...

def HasField(self, field_name: typing.Literal['stop_timeout', b'stop_timeout']) -> builtins.bool:
...

def ClearField(self, field_name: typing.Literal['args', b'args', 'cwd', b'cwd', 'env', b'env', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout']) -> None:
def ClearField(self, field_name: typing.Literal['args', b'args', 'cwd', b'cwd', 'env', b'env', 'id', b'id', 'log', b'log', 'name', b'name', 'one_shot', b'one_shot', 'stop_signal', b'stop_signal', 'stop_timeout', b'stop_timeout', 'username', b'username']) -> None:
...
global___ProcessConfig = ProcessConfig

Expand Down
Loading

0 comments on commit 36bc4d0

Please sign in to comment.