Package viam.app.v1

Interface App.ModuleMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
App.ModuleMetadata, App.ModuleMetadata.Builder
Enclosing class:
App

public static interface App.ModuleMetadataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The executable to run to start the module program
    com.google.protobuf.ByteString
    The executable to run to start the module program
    The path to a setup script that is run before a newly downloaded module starts.
    com.google.protobuf.ByteString
    The path to a setup script that is run before a newly downloaded module starts.
    getModels(int index)
    A list of models that are available in the module
    int
    A list of models that are available in the module
    A list of models that are available in the module
    getVersions(int index)
    A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
    int
    A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
    A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
    boolean
    The path to a setup script that is run before a newly downloaded module starts.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getModelsList

      List<App.Model> getModelsList()
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 1 [json_name = "models"];
    • getModels

      App.Model getModels(int index)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 1 [json_name = "models"];
    • getModelsCount

      int getModelsCount()
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 1 [json_name = "models"];
    • getVersionsList

      List<App.ModuleVersion> getVersionsList()
       A list of versions of the module that are available
       When this is returned from the backend, the versions are sorted in ascending order by the semver version
       
      repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
    • getVersions

      App.ModuleVersion getVersions(int index)
       A list of versions of the module that are available
       When this is returned from the backend, the versions are sorted in ascending order by the semver version
       
      repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
    • getVersionsCount

      int getVersionsCount()
       A list of versions of the module that are available
       When this is returned from the backend, the versions are sorted in ascending order by the semver version
       
      repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
    • getEntrypoint

      String getEntrypoint()
       The executable to run to start the module program
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Returns:
      The entrypoint.
    • getEntrypointBytes

      com.google.protobuf.ByteString getEntrypointBytes()
       The executable to run to start the module program
       
      string entrypoint = 3 [json_name = "entrypoint"];
      Returns:
      The bytes for entrypoint.
    • hasFirstRun

      boolean hasFirstRun()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 4 [json_name = "firstRun"];
      Returns:
      Whether the firstRun field is set.
    • getFirstRun

      String getFirstRun()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 4 [json_name = "firstRun"];
      Returns:
      The firstRun.
    • getFirstRunBytes

      com.google.protobuf.ByteString getFirstRunBytes()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 4 [json_name = "firstRun"];
      Returns:
      The bytes for firstRun.