Skip to content

Commit

Permalink
Automated Protos Update (viamrobotics#596)
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 May 2, 2024
1 parent 76c258d commit 97ddc1d
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 262 deletions.
28 changes: 0 additions & 28 deletions src/viam/gen/app/agent/v1/agent_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,8 @@
import grpclib.server
import google.protobuf.duration_pb2
import google.protobuf.struct_pb2
from .... import tagger
from .... import app

class AgentAppServiceBase(abc.ABC):

@abc.abstractmethod
async def GetAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse]') -> None:
pass

@abc.abstractmethod
async def UpdateAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse]') -> None:
pass

def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
return {'/viam.app.agent.v1.AgentAppService/GetAgentConfig': grpclib.const.Handler(self.GetAgentConfig, grpclib.const.Cardinality.UNARY_UNARY, app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse), '/viam.app.agent.v1.AgentAppService/UpdateAgentConfig': grpclib.const.Handler(self.UpdateAgentConfig, grpclib.const.Cardinality.UNARY_UNARY, app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse)}

class UnimplementedAgentAppServiceBase(AgentAppServiceBase):

async def GetAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse]') -> None:
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)

async def UpdateAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse]') -> None:
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)

class AgentAppServiceStub:

def __init__(self, channel: grpclib.client.Channel) -> None:
self.GetAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/GetAgentConfig', app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse)
self.UpdateAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/UpdateAgentConfig', app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse)

class AgentDeviceServiceBase(abc.ABC):

@abc.abstractmethod
Expand Down
69 changes: 19 additions & 50 deletions src/viam/gen/app/agent/v1/agent_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,62 +6,31 @@
_sym_db = _symbol_database.Default()
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from ....tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18app/agent/v1/agent.proto\x12\x11viam.app.agent.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16tagger/v1/tagger.proto"\'\n\x15GetAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x16GetAgentConfigResponse\x12D\n\x0cagent_config\x18\x01 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"p\n\x18UpdateAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12D\n\x0cagent_config\x18\x02 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"a\n\x19UpdateAgentConfigResponse\x12D\n\x0cagent_config\x18\x01 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"\x9b\x02\n\x0eAppAgentConfig\x12\x9c\x01\n\x11subsystem_configs\x18\x01 \x03(\x0b27.viam.app.agent.v1.AppAgentConfig.SubsystemConfigsEntryB6\x9a\x84\x9e\x031bson:"subsystem_configs" json:"subsystem_configs"R\x10subsystemConfigs\x1aj\n\x15SubsystemConfigsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b2%.viam.app.agent.v1.AppSubsystemConfigR\x05value:\x028\x01"\xc3\x03\n\x12AppSubsystemConfig\x12[\n\x0frelease_channel\x18\x01 \x01(\tB2\x9a\x84\x9e\x03-bson:"release_channel" json:"release_channel"R\x0ereleaseChannel\x12K\n\x0bpin_version\x18\x02 \x01(\tB*\x9a\x84\x9e\x03%bson:"pin_version" json:"pin_version"R\npinVersion\x12;\n\x07pin_url\x18\x03 \x01(\tB"\x9a\x84\x9e\x03\x1dbson:"pin_url" json:"pin_url"R\x06pinUrl\x12c\n\x11disable_subsystem\x18\x04 \x01(\x08B6\x9a\x84\x9e\x031bson:"disable_subsystem" json:"disable_subsystem"R\x10disableSubsystem\x12a\n\nattributes\x18\x05 \x01(\x0b2\x17.google.protobuf.StructB(\x9a\x84\x9e\x03#bson:"attributes" json:"attributes"R\nattributes"\x9d\x02\n\x18DeviceAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x128\n\thost_info\x18\x02 \x01(\x0b2\x1b.viam.app.agent.v1.HostInfoR\x08hostInfo\x12q\n\x12subsystem_versions\x18\x03 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigRequest.SubsystemVersionsEntryR\x11subsystemVersions\x1aD\n\x16SubsystemVersionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xbd\x02\n\x19DeviceAgentConfigResponse\x12o\n\x11subsystem_configs\x18\x01 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigResponse.SubsystemConfigsEntryR\x10subsystemConfigs\x12@\n\x0echeck_interval\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationR\rcheckInterval\x1am\n\x15SubsystemConfigsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12>\n\x05value\x18\x02 \x01(\x0b2(.viam.app.agent.v1.DeviceSubsystemConfigR\x05value:\x028\x01"\xd8\x01\n\x15DeviceSubsystemConfig\x12G\n\x0bupdate_info\x18\x01 \x01(\x0b2&.viam.app.agent.v1.SubsystemUpdateInfoR\nupdateInfo\x12\x18\n\x07disable\x18\x02 \x01(\x08R\x07disable\x12#\n\rforce_restart\x18\x03 \x01(\x08R\x0cforceRestart\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"R\n\x08HostInfo\x12\x1a\n\x08platform\x18\x01 \x01(\tR\x08platform\x12\x16\n\x06distro\x18\x02 \x01(\tR\x06distro\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags"\xaf\x01\n\x13SubsystemUpdateInfo\x12\x1a\n\x08filename\x18\x01 \x01(\tR\x08filename\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x16\n\x06sha256\x18\x04 \x01(\x0cR\x06sha256\x128\n\x06format\x18\x05 \x01(\x0e2 .viam.app.agent.v1.PackageFormatR\x06format*\x9f\x01\n\rPackageFormat\x12\x1e\n\x1aPACKAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x16\n\x12PACKAGE_FORMAT_RAW\x10\x01\x12\x15\n\x11PACKAGE_FORMAT_XZ\x10\x02\x12\x1d\n\x19PACKAGE_FORMAT_EXECUTABLE\x10\x03\x12 \n\x1cPACKAGE_FORMAT_XZ_EXECUTABLE\x10\x042\xe8\x01\n\x0fAgentAppService\x12e\n\x0eGetAgentConfig\x12(.viam.app.agent.v1.GetAgentConfigRequest\x1a).viam.app.agent.v1.GetAgentConfigResponse\x12n\n\x11UpdateAgentConfig\x12+.viam.app.agent.v1.UpdateAgentConfigRequest\x1a,.viam.app.agent.v1.UpdateAgentConfigResponse2\x84\x01\n\x12AgentDeviceService\x12n\n\x11DeviceAgentConfig\x12+.viam.app.agent.v1.DeviceAgentConfigRequest\x1a,.viam.app.agent.v1.DeviceAgentConfigResponseB\x1eZ\x1cgo.viam.com/api/app/agent/v1b\x06proto3')
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18app/agent/v1/agent.proto\x12\x11viam.app.agent.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto"\x9d\x02\n\x18DeviceAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x128\n\thost_info\x18\x02 \x01(\x0b2\x1b.viam.app.agent.v1.HostInfoR\x08hostInfo\x12q\n\x12subsystem_versions\x18\x03 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigRequest.SubsystemVersionsEntryR\x11subsystemVersions\x1aD\n\x16SubsystemVersionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xbd\x02\n\x19DeviceAgentConfigResponse\x12o\n\x11subsystem_configs\x18\x01 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigResponse.SubsystemConfigsEntryR\x10subsystemConfigs\x12@\n\x0echeck_interval\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationR\rcheckInterval\x1am\n\x15SubsystemConfigsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12>\n\x05value\x18\x02 \x01(\x0b2(.viam.app.agent.v1.DeviceSubsystemConfigR\x05value:\x028\x01"\xd8\x01\n\x15DeviceSubsystemConfig\x12G\n\x0bupdate_info\x18\x01 \x01(\x0b2&.viam.app.agent.v1.SubsystemUpdateInfoR\nupdateInfo\x12\x18\n\x07disable\x18\x02 \x01(\x08R\x07disable\x12#\n\rforce_restart\x18\x03 \x01(\x08R\x0cforceRestart\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"R\n\x08HostInfo\x12\x1a\n\x08platform\x18\x01 \x01(\tR\x08platform\x12\x16\n\x06distro\x18\x02 \x01(\tR\x06distro\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags"\xaf\x01\n\x13SubsystemUpdateInfo\x12\x1a\n\x08filename\x18\x01 \x01(\tR\x08filename\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x16\n\x06sha256\x18\x04 \x01(\x0cR\x06sha256\x128\n\x06format\x18\x05 \x01(\x0e2 .viam.app.agent.v1.PackageFormatR\x06format*\x9f\x01\n\rPackageFormat\x12\x1e\n\x1aPACKAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x16\n\x12PACKAGE_FORMAT_RAW\x10\x01\x12\x15\n\x11PACKAGE_FORMAT_XZ\x10\x02\x12\x1d\n\x19PACKAGE_FORMAT_EXECUTABLE\x10\x03\x12 \n\x1cPACKAGE_FORMAT_XZ_EXECUTABLE\x10\x042\x84\x01\n\x12AgentDeviceService\x12n\n\x11DeviceAgentConfig\x12+.viam.app.agent.v1.DeviceAgentConfigRequest\x1a,.viam.app.agent.v1.DeviceAgentConfigResponseB\x1eZ\x1cgo.viam.com/api/app/agent/v1b\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.agent.v1.agent_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z\x1cgo.viam.com/api/app/agent/v1'
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._options = None
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01'
_APPAGENTCONFIG.fields_by_name['subsystem_configs']._options = None
_APPAGENTCONFIG.fields_by_name['subsystem_configs']._serialized_options = b'\x9a\x84\x9e\x031bson:"subsystem_configs" json:"subsystem_configs"'
_APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._options = None
_APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._serialized_options = b'\x9a\x84\x9e\x03-bson:"release_channel" json:"release_channel"'
_APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._options = None
_APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._serialized_options = b'\x9a\x84\x9e\x03%bson:"pin_version" json:"pin_version"'
_APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._options = None
_APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._serialized_options = b'\x9a\x84\x9e\x03\x1dbson:"pin_url" json:"pin_url"'
_APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._options = None
_APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._serialized_options = b'\x9a\x84\x9e\x031bson:"disable_subsystem" json:"disable_subsystem"'
_APPSUBSYSTEMCONFIG.fields_by_name['attributes']._options = None
_APPSUBSYSTEMCONFIG.fields_by_name['attributes']._serialized_options = b'\x9a\x84\x9e\x03#bson:"attributes" json:"attributes"'
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._options = None
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_options = b'8\x01'
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._options = None
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01'
_PACKAGEFORMAT._serialized_start = 2313
_PACKAGEFORMAT._serialized_end = 2472
_GETAGENTCONFIGREQUEST._serialized_start = 133
_GETAGENTCONFIGREQUEST._serialized_end = 172
_GETAGENTCONFIGRESPONSE._serialized_start = 174
_GETAGENTCONFIGRESPONSE._serialized_end = 268
_UPDATEAGENTCONFIGREQUEST._serialized_start = 270
_UPDATEAGENTCONFIGREQUEST._serialized_end = 382
_UPDATEAGENTCONFIGRESPONSE._serialized_start = 384
_UPDATEAGENTCONFIGRESPONSE._serialized_end = 481
_APPAGENTCONFIG._serialized_start = 484
_APPAGENTCONFIG._serialized_end = 767
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_start = 661
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_end = 767
_APPSUBSYSTEMCONFIG._serialized_start = 770
_APPSUBSYSTEMCONFIG._serialized_end = 1221
_DEVICEAGENTCONFIGREQUEST._serialized_start = 1224
_DEVICEAGENTCONFIGREQUEST._serialized_end = 1509
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_start = 1441
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_end = 1509
_DEVICEAGENTCONFIGRESPONSE._serialized_start = 1512
_DEVICEAGENTCONFIGRESPONSE._serialized_end = 1829
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_start = 1720
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_end = 1829
_DEVICESUBSYSTEMCONFIG._serialized_start = 1832
_DEVICESUBSYSTEMCONFIG._serialized_end = 2048
_HOSTINFO._serialized_start = 2050
_HOSTINFO._serialized_end = 2132
_SUBSYSTEMUPDATEINFO._serialized_start = 2135
_SUBSYSTEMUPDATEINFO._serialized_end = 2310
_AGENTAPPSERVICE._serialized_start = 2475
_AGENTAPPSERVICE._serialized_end = 2707
_AGENTDEVICESERVICE._serialized_start = 2710
_AGENTDEVICESERVICE._serialized_end = 2842
_PACKAGEFORMAT._serialized_start = 1199
_PACKAGEFORMAT._serialized_end = 1358
_DEVICEAGENTCONFIGREQUEST._serialized_start = 110
_DEVICEAGENTCONFIGREQUEST._serialized_end = 395
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_start = 327
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_end = 395
_DEVICEAGENTCONFIGRESPONSE._serialized_start = 398
_DEVICEAGENTCONFIGRESPONSE._serialized_end = 715
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_start = 606
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_end = 715
_DEVICESUBSYSTEMCONFIG._serialized_start = 718
_DEVICESUBSYSTEMCONFIG._serialized_end = 934
_HOSTINFO._serialized_start = 936
_HOSTINFO._serialized_end = 1018
_SUBSYSTEMUPDATEINFO._serialized_start = 1021
_SUBSYSTEMUPDATEINFO._serialized_end = 1196
_AGENTDEVICESERVICE._serialized_start = 1361
_AGENTDEVICESERVICE._serialized_end = 1493
136 changes: 0 additions & 136 deletions src/viam/gen/app/agent/v1/agent_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -49,142 +49,6 @@ PACKAGE_FORMAT_XZ_EXECUTABLE: PackageFormat.ValueType
'decompress and set executable'
global___PackageFormat = PackageFormat

@typing.final
class GetAgentConfigRequest(google.protobuf.message.Message):
"""App side"""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ID_FIELD_NUMBER: builtins.int
id: builtins.str

def __init__(self, *, id: builtins.str=...) -> None:
...

def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
...
global___GetAgentConfigRequest = GetAgentConfigRequest

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

@property
def agent_config(self) -> global___AppAgentConfig:
...

def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None:
...

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

def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> None:
...
global___GetAgentConfigResponse = GetAgentConfigResponse

@typing.final
class UpdateAgentConfigRequest(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
ID_FIELD_NUMBER: builtins.int
AGENT_CONFIG_FIELD_NUMBER: builtins.int
id: builtins.str

@property
def agent_config(self) -> global___AppAgentConfig:
...

def __init__(self, *, id: builtins.str=..., agent_config: global___AppAgentConfig | None=...) -> None:
...

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

def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config', 'id', b'id']) -> None:
...
global___UpdateAgentConfigRequest = UpdateAgentConfigRequest

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

@property
def agent_config(self) -> global___AppAgentConfig:
...

def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None:
...

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

def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> None:
...
global___UpdateAgentConfigResponse = UpdateAgentConfigResponse

@typing.final
class AppAgentConfig(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

@typing.final
class SubsystemConfigsEntry(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
KEY_FIELD_NUMBER: builtins.int
VALUE_FIELD_NUMBER: builtins.int
key: builtins.str

@property
def value(self) -> global___AppSubsystemConfig:
...

def __init__(self, *, key: builtins.str=..., value: global___AppSubsystemConfig | None=...) -> None:
...

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

def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
...
SUBSYSTEM_CONFIGS_FIELD_NUMBER: builtins.int

@property
def subsystem_configs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___AppSubsystemConfig]:
...

def __init__(self, *, subsystem_configs: collections.abc.Mapping[builtins.str, global___AppSubsystemConfig] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['subsystem_configs', b'subsystem_configs']) -> None:
...
global___AppAgentConfig = AppAgentConfig

@typing.final
class AppSubsystemConfig(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
PIN_VERSION_FIELD_NUMBER: builtins.int
PIN_URL_FIELD_NUMBER: builtins.int
DISABLE_SUBSYSTEM_FIELD_NUMBER: builtins.int
ATTRIBUTES_FIELD_NUMBER: builtins.int
release_channel: builtins.str
pin_version: builtins.str
pin_url: builtins.str
disable_subsystem: builtins.bool

@property
def attributes(self) -> google.protobuf.struct_pb2.Struct:
...

def __init__(self, *, release_channel: builtins.str=..., pin_version: builtins.str=..., pin_url: builtins.str=..., disable_subsystem: builtins.bool=..., attributes: google.protobuf.struct_pb2.Struct | None=...) -> None:
...

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

def ClearField(self, field_name: typing.Literal['attributes', b'attributes', 'disable_subsystem', b'disable_subsystem', 'pin_url', b'pin_url', 'pin_version', b'pin_version', 'release_channel', b'release_channel']) -> None:
...
global___AppSubsystemConfig = AppSubsystemConfig

@typing.final
class DeviceAgentConfigRequest(google.protobuf.message.Message):
"""Device side"""
Expand Down
Loading

0 comments on commit 97ddc1d

Please sign in to comment.