:py:mod:`viam.gen.provisioning.v1.provisioning_pb2` =================================================== .. py:module:: viam.gen.provisioning.v1.provisioning_pb2 .. autoapi-nested-parse:: @generated by mypy-protobuf. Do not edit manually! isort:skip_file Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: viam.gen.provisioning.v1.provisioning_pb2.GetSmartMachineStatusRequest viam.gen.provisioning.v1.provisioning_pb2.GetSmartMachineStatusResponse viam.gen.provisioning.v1.provisioning_pb2.SetNetworkCredentialsRequest viam.gen.provisioning.v1.provisioning_pb2.SetNetworkCredentialsResponse viam.gen.provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsRequest viam.gen.provisioning.v1.provisioning_pb2.SetSmartMachineCredentialsResponse viam.gen.provisioning.v1.provisioning_pb2.GetNetworkListRequest viam.gen.provisioning.v1.provisioning_pb2.GetNetworkListResponse viam.gen.provisioning.v1.provisioning_pb2.ProvisioningInfo viam.gen.provisioning.v1.provisioning_pb2.NetworkInfo viam.gen.provisioning.v1.provisioning_pb2.CloudConfig Attributes ~~~~~~~~~~ .. autoapisummary:: viam.gen.provisioning.v1.provisioning_pb2.DESCRIPTOR viam.gen.provisioning.v1.provisioning_pb2.global___GetSmartMachineStatusRequest viam.gen.provisioning.v1.provisioning_pb2.global___GetSmartMachineStatusResponse viam.gen.provisioning.v1.provisioning_pb2.global___SetNetworkCredentialsRequest viam.gen.provisioning.v1.provisioning_pb2.global___SetNetworkCredentialsResponse viam.gen.provisioning.v1.provisioning_pb2.global___SetSmartMachineCredentialsRequest viam.gen.provisioning.v1.provisioning_pb2.global___SetSmartMachineCredentialsResponse viam.gen.provisioning.v1.provisioning_pb2.global___GetNetworkListRequest viam.gen.provisioning.v1.provisioning_pb2.global___GetNetworkListResponse viam.gen.provisioning.v1.provisioning_pb2.global___ProvisioningInfo viam.gen.provisioning.v1.provisioning_pb2.global___NetworkInfo viam.gen.provisioning.v1.provisioning_pb2.global___CloudConfig .. py:data:: DESCRIPTOR :type: google.protobuf.descriptor.FileDescriptor .. py:class:: GetSmartMachineStatusRequest Bases: :py:obj:`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. .. py:data:: global___GetSmartMachineStatusRequest .. py:class:: 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: :py:obj:`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. .. py:property:: provisioning_info :type: global___ProvisioningInfo .. py:property:: latest_connection_attempt :type: global___NetworkInfo .. py:property:: errors :type: google.protobuf.internal.containers.RepeatedScalarFieldContainer[str] .. py:attribute:: has_smart_machine_credentials :type: bool .. py:attribute:: is_online :type: bool .. py:method:: 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, :exc:`ValueError` will be raised. :param field_name: The name of the field to check for presence. :type field_name: str :returns: Whether a value has been set for the named field. :rtype: bool :raises ValueError: if the `field_name` is not a member of this message. .. py:data:: global___GetSmartMachineStatusResponse .. py:class:: SetNetworkCredentialsRequest(*, type: str = ..., ssid: str = ..., psk: str = ...) Bases: :py:obj:`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. .. py:attribute:: type :type: str .. py:attribute:: ssid :type: str .. py:attribute:: psk :type: str .. py:data:: global___SetNetworkCredentialsRequest .. py:class:: SetNetworkCredentialsResponse Bases: :py:obj:`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. .. py:data:: global___SetNetworkCredentialsResponse .. py:class:: SetSmartMachineCredentialsRequest(*, cloud: global___CloudConfig | None = ...) Bases: :py:obj:`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. .. py:property:: cloud :type: global___CloudConfig .. py:method:: 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, :exc:`ValueError` will be raised. :param field_name: The name of the field to check for presence. :type field_name: str :returns: Whether a value has been set for the named field. :rtype: bool :raises ValueError: if the `field_name` is not a member of this message. .. py:data:: global___SetSmartMachineCredentialsRequest .. py:class:: SetSmartMachineCredentialsResponse Bases: :py:obj:`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. .. py:data:: global___SetSmartMachineCredentialsResponse .. py:class:: GetNetworkListRequest Bases: :py:obj:`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. .. py:data:: global___GetNetworkListRequest .. py:class:: GetNetworkListResponse(*, networks: collections.abc.Iterable[global___NetworkInfo] | None = ...) Bases: :py:obj:`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. .. py:property:: networks :type: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NetworkInfo] .. py:data:: global___GetNetworkListResponse .. py:class:: ProvisioningInfo(*, fragment_id: str = ..., model: str = ..., manufacturer: str = ...) Bases: :py:obj:`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. .. py:attribute:: fragment_id :type: str .. py:attribute:: model :type: str .. py:attribute:: manufacturer :type: str .. py:data:: global___ProvisioningInfo .. py:class:: NetworkInfo(*, type: str = ..., ssid: str = ..., security: str = ..., signal: int = ..., connected: bool = ..., last_error: str = ...) Bases: :py:obj:`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. .. py:attribute:: type :type: str .. py:attribute:: ssid :type: str .. py:attribute:: security :type: str .. py:attribute:: signal :type: int .. py:attribute:: connected :type: bool .. py:attribute:: last_error :type: str .. py:data:: global___NetworkInfo .. py:class:: CloudConfig(*, id: str = ..., secret: str = ..., app_address: str = ...) Bases: :py:obj:`google.protobuf.message.Message` minimal CloudConfig to create /etc/viam.json .. py:attribute:: id :type: str SmartMachine part id .. py:attribute:: secret :type: str SmartMachine part secret .. py:attribute:: app_address :type: str .. py:data:: global___CloudConfig