Skip to content

Commit 97ddc1d

Browse files
Automated Protos Update (#596)
Co-authored-by: viambot <[email protected]>
1 parent 76c258d commit 97ddc1d

File tree

6 files changed

+51
-262
lines changed

6 files changed

+51
-262
lines changed

src/viam/gen/app/agent/v1/agent_grpc.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,8 @@
77
import grpclib.server
88
import google.protobuf.duration_pb2
99
import google.protobuf.struct_pb2
10-
from .... import tagger
1110
from .... import app
1211

13-
class AgentAppServiceBase(abc.ABC):
14-
15-
@abc.abstractmethod
16-
async def GetAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse]') -> None:
17-
pass
18-
19-
@abc.abstractmethod
20-
async def UpdateAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse]') -> None:
21-
pass
22-
23-
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
24-
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)}
25-
26-
class UnimplementedAgentAppServiceBase(AgentAppServiceBase):
27-
28-
async def GetAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse]') -> None:
29-
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
30-
31-
async def UpdateAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse]') -> None:
32-
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
33-
34-
class AgentAppServiceStub:
35-
36-
def __init__(self, channel: grpclib.client.Channel) -> None:
37-
self.GetAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/GetAgentConfig', app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse)
38-
self.UpdateAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/UpdateAgentConfig', app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse)
39-
4012
class AgentDeviceServiceBase(abc.ABC):
4113

4214
@abc.abstractmethod

src/viam/gen/app/agent/v1/agent_pb2.py

Lines changed: 19 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,62 +6,31 @@
66
_sym_db = _symbol_database.Default()
77
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
88
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
9-
from ....tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2
10-
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')
9+
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')
1110
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
1211
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.agent.v1.agent_pb2', globals())
1312
if _descriptor._USE_C_DESCRIPTORS == False:
1413
DESCRIPTOR._options = None
1514
DESCRIPTOR._serialized_options = b'Z\x1cgo.viam.com/api/app/agent/v1'
16-
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._options = None
17-
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01'
18-
_APPAGENTCONFIG.fields_by_name['subsystem_configs']._options = None
19-
_APPAGENTCONFIG.fields_by_name['subsystem_configs']._serialized_options = b'\x9a\x84\x9e\x031bson:"subsystem_configs" json:"subsystem_configs"'
20-
_APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._options = None
21-
_APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._serialized_options = b'\x9a\x84\x9e\x03-bson:"release_channel" json:"release_channel"'
22-
_APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._options = None
23-
_APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._serialized_options = b'\x9a\x84\x9e\x03%bson:"pin_version" json:"pin_version"'
24-
_APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._options = None
25-
_APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._serialized_options = b'\x9a\x84\x9e\x03\x1dbson:"pin_url" json:"pin_url"'
26-
_APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._options = None
27-
_APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._serialized_options = b'\x9a\x84\x9e\x031bson:"disable_subsystem" json:"disable_subsystem"'
28-
_APPSUBSYSTEMCONFIG.fields_by_name['attributes']._options = None
29-
_APPSUBSYSTEMCONFIG.fields_by_name['attributes']._serialized_options = b'\x9a\x84\x9e\x03#bson:"attributes" json:"attributes"'
3015
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._options = None
3116
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_options = b'8\x01'
3217
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._options = None
3318
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01'
34-
_PACKAGEFORMAT._serialized_start = 2313
35-
_PACKAGEFORMAT._serialized_end = 2472
36-
_GETAGENTCONFIGREQUEST._serialized_start = 133
37-
_GETAGENTCONFIGREQUEST._serialized_end = 172
38-
_GETAGENTCONFIGRESPONSE._serialized_start = 174
39-
_GETAGENTCONFIGRESPONSE._serialized_end = 268
40-
_UPDATEAGENTCONFIGREQUEST._serialized_start = 270
41-
_UPDATEAGENTCONFIGREQUEST._serialized_end = 382
42-
_UPDATEAGENTCONFIGRESPONSE._serialized_start = 384
43-
_UPDATEAGENTCONFIGRESPONSE._serialized_end = 481
44-
_APPAGENTCONFIG._serialized_start = 484
45-
_APPAGENTCONFIG._serialized_end = 767
46-
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_start = 661
47-
_APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_end = 767
48-
_APPSUBSYSTEMCONFIG._serialized_start = 770
49-
_APPSUBSYSTEMCONFIG._serialized_end = 1221
50-
_DEVICEAGENTCONFIGREQUEST._serialized_start = 1224
51-
_DEVICEAGENTCONFIGREQUEST._serialized_end = 1509
52-
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_start = 1441
53-
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_end = 1509
54-
_DEVICEAGENTCONFIGRESPONSE._serialized_start = 1512
55-
_DEVICEAGENTCONFIGRESPONSE._serialized_end = 1829
56-
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_start = 1720
57-
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_end = 1829
58-
_DEVICESUBSYSTEMCONFIG._serialized_start = 1832
59-
_DEVICESUBSYSTEMCONFIG._serialized_end = 2048
60-
_HOSTINFO._serialized_start = 2050
61-
_HOSTINFO._serialized_end = 2132
62-
_SUBSYSTEMUPDATEINFO._serialized_start = 2135
63-
_SUBSYSTEMUPDATEINFO._serialized_end = 2310
64-
_AGENTAPPSERVICE._serialized_start = 2475
65-
_AGENTAPPSERVICE._serialized_end = 2707
66-
_AGENTDEVICESERVICE._serialized_start = 2710
67-
_AGENTDEVICESERVICE._serialized_end = 2842
19+
_PACKAGEFORMAT._serialized_start = 1199
20+
_PACKAGEFORMAT._serialized_end = 1358
21+
_DEVICEAGENTCONFIGREQUEST._serialized_start = 110
22+
_DEVICEAGENTCONFIGREQUEST._serialized_end = 395
23+
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_start = 327
24+
_DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_end = 395
25+
_DEVICEAGENTCONFIGRESPONSE._serialized_start = 398
26+
_DEVICEAGENTCONFIGRESPONSE._serialized_end = 715
27+
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_start = 606
28+
_DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_end = 715
29+
_DEVICESUBSYSTEMCONFIG._serialized_start = 718
30+
_DEVICESUBSYSTEMCONFIG._serialized_end = 934
31+
_HOSTINFO._serialized_start = 936
32+
_HOSTINFO._serialized_end = 1018
33+
_SUBSYSTEMUPDATEINFO._serialized_start = 1021
34+
_SUBSYSTEMUPDATEINFO._serialized_end = 1196
35+
_AGENTDEVICESERVICE._serialized_start = 1361
36+
_AGENTDEVICESERVICE._serialized_end = 1493

src/viam/gen/app/agent/v1/agent_pb2.pyi

Lines changed: 0 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -49,142 +49,6 @@ PACKAGE_FORMAT_XZ_EXECUTABLE: PackageFormat.ValueType
4949
'decompress and set executable'
5050
global___PackageFormat = PackageFormat
5151

52-
@typing.final
53-
class GetAgentConfigRequest(google.protobuf.message.Message):
54-
"""App side"""
55-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
56-
ID_FIELD_NUMBER: builtins.int
57-
id: builtins.str
58-
59-
def __init__(self, *, id: builtins.str=...) -> None:
60-
...
61-
62-
def ClearField(self, field_name: typing.Literal['id', b'id']) -> None:
63-
...
64-
global___GetAgentConfigRequest = GetAgentConfigRequest
65-
66-
@typing.final
67-
class GetAgentConfigResponse(google.protobuf.message.Message):
68-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
69-
AGENT_CONFIG_FIELD_NUMBER: builtins.int
70-
71-
@property
72-
def agent_config(self) -> global___AppAgentConfig:
73-
...
74-
75-
def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None:
76-
...
77-
78-
def HasField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> builtins.bool:
79-
...
80-
81-
def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> None:
82-
...
83-
global___GetAgentConfigResponse = GetAgentConfigResponse
84-
85-
@typing.final
86-
class UpdateAgentConfigRequest(google.protobuf.message.Message):
87-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
88-
ID_FIELD_NUMBER: builtins.int
89-
AGENT_CONFIG_FIELD_NUMBER: builtins.int
90-
id: builtins.str
91-
92-
@property
93-
def agent_config(self) -> global___AppAgentConfig:
94-
...
95-
96-
def __init__(self, *, id: builtins.str=..., agent_config: global___AppAgentConfig | None=...) -> None:
97-
...
98-
99-
def HasField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> builtins.bool:
100-
...
101-
102-
def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config', 'id', b'id']) -> None:
103-
...
104-
global___UpdateAgentConfigRequest = UpdateAgentConfigRequest
105-
106-
@typing.final
107-
class UpdateAgentConfigResponse(google.protobuf.message.Message):
108-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
109-
AGENT_CONFIG_FIELD_NUMBER: builtins.int
110-
111-
@property
112-
def agent_config(self) -> global___AppAgentConfig:
113-
...
114-
115-
def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None:
116-
...
117-
118-
def HasField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> builtins.bool:
119-
...
120-
121-
def ClearField(self, field_name: typing.Literal['agent_config', b'agent_config']) -> None:
122-
...
123-
global___UpdateAgentConfigResponse = UpdateAgentConfigResponse
124-
125-
@typing.final
126-
class AppAgentConfig(google.protobuf.message.Message):
127-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
128-
129-
@typing.final
130-
class SubsystemConfigsEntry(google.protobuf.message.Message):
131-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
132-
KEY_FIELD_NUMBER: builtins.int
133-
VALUE_FIELD_NUMBER: builtins.int
134-
key: builtins.str
135-
136-
@property
137-
def value(self) -> global___AppSubsystemConfig:
138-
...
139-
140-
def __init__(self, *, key: builtins.str=..., value: global___AppSubsystemConfig | None=...) -> None:
141-
...
142-
143-
def HasField(self, field_name: typing.Literal['value', b'value']) -> builtins.bool:
144-
...
145-
146-
def ClearField(self, field_name: typing.Literal['key', b'key', 'value', b'value']) -> None:
147-
...
148-
SUBSYSTEM_CONFIGS_FIELD_NUMBER: builtins.int
149-
150-
@property
151-
def subsystem_configs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___AppSubsystemConfig]:
152-
...
153-
154-
def __init__(self, *, subsystem_configs: collections.abc.Mapping[builtins.str, global___AppSubsystemConfig] | None=...) -> None:
155-
...
156-
157-
def ClearField(self, field_name: typing.Literal['subsystem_configs', b'subsystem_configs']) -> None:
158-
...
159-
global___AppAgentConfig = AppAgentConfig
160-
161-
@typing.final
162-
class AppSubsystemConfig(google.protobuf.message.Message):
163-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
164-
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
165-
PIN_VERSION_FIELD_NUMBER: builtins.int
166-
PIN_URL_FIELD_NUMBER: builtins.int
167-
DISABLE_SUBSYSTEM_FIELD_NUMBER: builtins.int
168-
ATTRIBUTES_FIELD_NUMBER: builtins.int
169-
release_channel: builtins.str
170-
pin_version: builtins.str
171-
pin_url: builtins.str
172-
disable_subsystem: builtins.bool
173-
174-
@property
175-
def attributes(self) -> google.protobuf.struct_pb2.Struct:
176-
...
177-
178-
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:
179-
...
180-
181-
def HasField(self, field_name: typing.Literal['attributes', b'attributes']) -> builtins.bool:
182-
...
183-
184-
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:
185-
...
186-
global___AppSubsystemConfig = AppSubsystemConfig
187-
18852
@typing.final
18953
class DeviceAgentConfigRequest(google.protobuf.message.Message):
19054
"""Device side"""

0 commit comments

Comments
 (0)