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 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

      AppOuterClass.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"];
    • 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

      AppOuterClass.App getApps(int index)
       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

       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

       The language the module is written in
       
      optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"];
      Returns:
      The language.