viam.gen.provisioning.v1.provisioning_pb2

@generated by mypy-protobuf. Do not edit manually! isort:skip_file

Attributes

DESCRIPTOR

global___GetSmartMachineStatusRequest

global___GetSmartMachineStatusResponse

global___SetNetworkCredentialsRequest

global___SetNetworkCredentialsResponse

global___SetSmartMachineCredentialsRequest

global___SetSmartMachineCredentialsResponse

global___GetNetworkListRequest

global___GetNetworkListResponse

global___ProvisioningInfo

global___NetworkInfo

global___CloudConfig

Classes

GetSmartMachineStatusRequest

Abstract base class for protocol messages.

GetSmartMachineStatusResponse

Abstract base class for protocol messages.

SetNetworkCredentialsRequest

Abstract base class for protocol messages.

SetNetworkCredentialsResponse

Abstract base class for protocol messages.

SetSmartMachineCredentialsRequest

Abstract base class for protocol messages.

SetSmartMachineCredentialsResponse

Abstract base class for protocol messages.

GetNetworkListRequest

Abstract base class for protocol messages.

GetNetworkListResponse

Abstract base class for protocol messages.

ProvisioningInfo

Abstract base class for protocol messages.

NetworkInfo

Abstract base class for protocol messages.

CloudConfig

minimal CloudConfig to create /etc/viam.json

Module Contents

viam.gen.provisioning.v1.provisioning_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class viam.gen.provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

viam.gen.provisioning.v1.provisioning_pb2.global___GetSmartMachineStatusRequest
class viam.gen.provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse(*, provisioning_info: global___ProvisioningInfo | None = ..., has_smart_machine_credentials: bool = ..., is_online: bool = ..., latest_connection_attempt: global___NetworkInfo | None = ..., errors: collections.abc.Iterable[str] | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

has_smart_machine_credentials: bool
is_online: bool
property provisioning_info: global___ProvisioningInfo
property latest_connection_attempt: global___NetworkInfo
property errors: google.protobuf.internal.containers.RepeatedScalarFieldContainer[str]
HasField(field_name: Literal['latest_connection_attempt', b'latest_connection_attempt', 'provisioning_info', b'provisioning_info']) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

viam.gen.provisioning.v1.provisioning_pb2.global___GetSmartMachineStatusResponse
class viam.gen.provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest(*, type: str = ..., ssid: str = ..., psk: str = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

type: str
ssid: str
psk: str
viam.gen.provisioning.v1.provisioning_pb2.global___SetNetworkCredentialsRequest
class viam.gen.provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

viam.gen.provisioning.v1.provisioning_pb2.global___SetNetworkCredentialsResponse
class viam.gen.provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest(*, cloud: global___CloudConfig | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

property cloud: global___CloudConfig
HasField(field_name: Literal['cloud', b'cloud']) bool

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

viam.gen.provisioning.v1.provisioning_pb2.global___SetSmartMachineCredentialsRequest
class viam.gen.provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

viam.gen.provisioning.v1.provisioning_pb2.global___SetSmartMachineCredentialsResponse
class viam.gen.provisioning.v1.provisioning_pb2.GetNetworkListRequest

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

viam.gen.provisioning.v1.provisioning_pb2.global___GetNetworkListRequest
class viam.gen.provisioning.v1.provisioning_pb2.GetNetworkListResponse(*, networks: collections.abc.Iterable[global___NetworkInfo] | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

property networks: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NetworkInfo]
viam.gen.provisioning.v1.provisioning_pb2.global___GetNetworkListResponse
class viam.gen.provisioning.v1.provisioning_pb2.ProvisioningInfo(*, fragment_id: str = ..., model: str = ..., manufacturer: str = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

fragment_id: str
model: str
manufacturer: str
viam.gen.provisioning.v1.provisioning_pb2.global___ProvisioningInfo
class viam.gen.provisioning.v1.provisioning_pb2.NetworkInfo(*, type: str = ..., ssid: str = ..., security: str = ..., signal: int = ..., connected: bool = ..., last_error: str = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

type: str
ssid: str
security: str
signal: int
connected: bool
last_error: str
viam.gen.provisioning.v1.provisioning_pb2.global___NetworkInfo
class viam.gen.provisioning.v1.provisioning_pb2.CloudConfig(*, id: str = ..., secret: str = ..., app_address: str = ...)

Bases: google.protobuf.message.Message

minimal CloudConfig to create /etc/viam.json

id: str

SmartMachine part id

secret: str

SmartMachine part secret

app_address: str
viam.gen.provisioning.v1.provisioning_pb2.global___CloudConfig