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 TypeMethodDescriptionThe executable to run to start the module programcom.google.protobuf.ByteString
The executable to run to start the module programThe 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 moduleint
A list of models that are available in the moduleA list of models that are available in the modulegetVersions
(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 versionint
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 versionA 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 versionboolean
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
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
getModels
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
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.
-