Package viam.app.v1
Interface AppOuterClass.UpdateModuleMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
AppOuterClass.UpdateModuleMetadata,AppOuterClass.UpdateModuleMetadata.Builder
- Enclosing class:
AppOuterClass
public static interface AppOuterClass.UpdateModuleMetadataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetApps(int index) A list of applications associated with the moduleintA list of applications associated with the moduleA list of applications associated with the moduleThe executable to run to start the module programcom.google.protobuf.ByteStringThe executable to run to start the module programThe language the module is written inintThe language the module is written ingetModels(int index) A list of models that are available in the moduleintA list of models that are available in the moduleA list of models that are available in the moduleDetermines where the source code of module is managed, either externally or hosted by viam.intDetermines where the source code of module is managed, either externally or hosted by viam.booleanThe language the module is written inbooleanDetermines where the source code of module is managed, either externally or hosted by viam.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getModelsList
List<AppOuterClass.Model> 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"]; -
getEntrypoint
String getEntrypoint()The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];- Returns:
- The entrypoint.
-
getEntrypointBytes
com.google.protobuf.ByteString getEntrypointBytes()The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];- Returns:
- The bytes for entrypoint.
-
getAppsList
List<AppOuterClass.App> getAppsList()A list of applications associated with the module
repeated .viam.app.v1.App apps = 3 [json_name = "apps"]; -
getApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 3 [json_name = "apps"]; -
getAppsCount
int getAppsCount()A list of applications associated with the module
repeated .viam.app.v1.App apps = 3 [json_name = "apps"]; -
hasSourceType
boolean hasSourceType()Determines where the source code of module is managed, either externally or hosted by viam.
optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"];- Returns:
- Whether the sourceType field is set.
-
getSourceTypeValue
int getSourceTypeValue()Determines where the source code of module is managed, either externally or hosted by viam.
optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"];- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
AppOuterClass.ModuleSourceType getSourceType()Determines where the source code of module is managed, either externally or hosted by viam.
optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"];- Returns:
- The sourceType.
-
hasLanguage
boolean hasLanguage()The language the module is written in
optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"];- Returns:
- Whether the language field is set.
-
getLanguageValue
int getLanguageValue()The language the module is written in
optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"];- Returns:
- The enum numeric value on the wire for language.
-
getLanguage
AppOuterClass.ModuleLanguage getLanguage()The language the module is written in
optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"];- Returns:
- The language.
-